@LabelIndex 399901
@StringIndex 59840
class 0 engineer_recon : npc_airship_engineer {
handler:
	EventHandler TALK_SELECTED(fhtml0,quest_id,talker) {
		if( _from_choice == 0 ) {
			if( gg::HaveMemo(talker,699) == 0 && talker.level >= 75 && myself::GetOneTimeQuestFlag(talker,10273) == 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 0;
				myself::AddChoice(0,"Guardian of Safety");
			}
			if( gg::HaveMemo(talker,699) == 0 && ( talker.level < 75 || myself::GetOneTimeQuestFlag(talker,10273) == 0 ) ) {
				_choiceN = ( _choiceN + 1 );
				_code = 1;
				myself::AddChoice(1,"Guardian of Safety");
			}
			if( gg::HaveMemo(talker,699) == 1 && gg::GetMemoState(talker,699) == 1 && gg::OwnItemCount(talker,13871) < 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 2;
				myself::AddChoice(2,"Guardian of Safety (in progress)");
			}
			if( gg::HaveMemo(talker,699) == 1 && gg::GetMemoState(talker,699) == 1 && gg::OwnItemCount(talker,13871) >= 1 && gg::OwnItemCount(talker,13871) < 10 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 3;
				myself::AddChoice(3,"Guardian of Safety (in progress)");
			}
			if( gg::HaveMemo(talker,699) == 1 && gg::GetMemoState(talker,699) == 1 && gg::OwnItemCount(talker,13871) >= 10 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 4;
				myself::AddChoice(4,"Guardian of Safety (in progress)");
			}
			if( gg::HaveMemo(talker,702) == 1 && gg::GetMemoState(talker,702) == 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 5;
				myself::AddChoice(5,"A Trap for Revenge (in progress)");
			}
			if( gg::HaveMemo(talker,702) == 1 && gg::GetMemoState(talker,702) == 2 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 6;
				myself::AddChoice(6,"A Trap for Revenge (in progress)");
			}
			if( gg::HaveMemo(talker,10272) == 1 && gg::GetMemoState(talker,10272) == 24 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 7;
				myself::AddChoice(7,"Light Fragment (in progress)");
			}
			if( gg::HaveMemo(talker,10272) == 1 && gg::GetMemoState(talker,10272) == 25 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 8;
				myself::AddChoice(8,"Light Fragment (in progress)");
			}
			if( gg::HaveMemo(talker,10272) == 1 && gg::GetMemoState(talker,10272) == 26 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 9;
				myself::AddChoice(9,"Light Fragment (in progress)");
			}
			if( gg::HaveMemo(talker,10273) == 0 && talker.level >= 75 && myself::GetOneTimeQuestFlag(talker,10273) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 10;
				myself::AddChoice(10,"Good Day to Fly");
			}
			if( gg::HaveMemo(talker,10273) == 0 && talker.level < 75 && myself::GetOneTimeQuestFlag(talker,10273) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 11;
				myself::AddChoice(11,"Good Day to Fly");
			}
			if( myself::GetOneTimeQuestFlag(talker,10273) == 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 12;
				myself::AddChoice(12,"Good Day to Fly (complete)");
			}
			if( gg::HaveMemo(talker,10273) == 1 && gg::GetMemoState(talker,10273) == 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 13;
				myself::AddChoice(13,"Good Day to Fly (in progress)");
			}
			if( gg::HaveMemo(talker,10273) == 1 && gg::GetMemoState(talker,10273) == 2 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 14;
				myself::AddChoice(14,"Good Day to Fly (in progress)");
			}
			if( gg::HaveMemo(talker,10273) == 1 && gg::GetMemoState(talker,10273) == 3 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 15;
				myself::AddChoice(15,"Good Day to Fly (in progress)");
			}
			if( gg::HaveMemo(talker,10274) == 0 && talker.level >= 75 && myself::GetOneTimeQuestFlag(talker,10274) == 0 && myself::GetOneTimeQuestFlag(talker,10273) == 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 16;
				myself::AddChoice(16,"Collecting in the Air");
			}
			if( gg::HaveMemo(talker,10274) == 0 && myself::GetOneTimeQuestFlag(talker,10274) == 0 && ( talker.level < 75 || myself::GetOneTimeQuestFlag(talker,10273) == 0 ) ) {
				_choiceN = ( _choiceN + 1 );
				_code = 17;
				myself::AddChoice(17,"Collecting in the Air");
			}
			if( myself::GetOneTimeQuestFlag(talker,10274) == 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 18;
				myself::AddChoice(18,"Collecting in the Air (complete)");
			}
			if( gg::HaveMemo(talker,10274) == 1 && gg::GetMemoState(talker,10274) == 1 && ( ( gg::OwnItemCount(talker,13858) + gg::OwnItemCount(talker,13859) ) + gg::OwnItemCount(talker,13860) ) < 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 19;
				myself::AddChoice(19,"Collecting in the Air (in progress)");
			}
			if( gg::HaveMemo(talker,10274) == 1 && gg::GetMemoState(talker,10274) == 1 && ( ( gg::OwnItemCount(talker,13858) + gg::OwnItemCount(talker,13859) ) + gg::OwnItemCount(talker,13860) ) >= 1 && ( ( gg::OwnItemCount(talker,13858) + gg::OwnItemCount(talker,13859) ) + gg::OwnItemCount(talker,13860) ) < 8 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 20;
				myself::AddChoice(20,"Collecting in the Air (in progress)");
			}
			if( gg::HaveMemo(talker,10274) == 1 && gg::GetMemoState(talker,10274) == 1 && ( ( gg::OwnItemCount(talker,13858) + gg::OwnItemCount(talker,13859) ) + gg::OwnItemCount(talker,13860) ) >= 8 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 21;
				myself::AddChoice(21,"Collecting in the Air (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,699) == 0 && talker.level >= 75 && myself::GetOneTimeQuestFlag(talker,10273) == 1 ) ) {
						myself::SetCurrentQuestID(699);
						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::ShowQuestPage(talker,"engineer_recon_q0699_01.htm",699);
						} else {
							myself::ShowPage(talker,"fullquest.htm");
						}
					}
					break;
				}
				case 1: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,699) == 0 && ( talker.level < 75 || myself::GetOneTimeQuestFlag(talker,10273) == 0 ) ) ) {
						myself::SetCurrentQuestID(699);
						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,"engineer_recon_q0699_02.htm",699);
					}
					break;
				}
				case 2: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,699) == 1 && gg::GetMemoState(talker,699) == 1 && gg::OwnItemCount(talker,13871) < 1 ) ) {
						myself::SetCurrentQuestID(699);
						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,"engineer_recon_q0699_05.htm");
					}
					break;
				}
				case 3: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,699) == 1 && gg::GetMemoState(talker,699) == 1 && gg::OwnItemCount(talker,13871) >= 1 && gg::OwnItemCount(talker,13871) < 10 ) ) {
						myself::SetCurrentQuestID(699);
						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::GiveItem1(talker,57,( gg::OwnItemCount(talker,13871) * 1500 ));
						myself::DeleteItem1(talker,13871,gg::OwnItemCount(talker,13871));
						myself::ShowPage(talker,"engineer_recon_q0699_06.htm");
						gg::AddLog(3,talker,699);
					}
					break;
				}
				case 4: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,699) == 1 && gg::GetMemoState(talker,699) == 1 && gg::OwnItemCount(talker,13871) >= 10 ) ) {
						myself::SetCurrentQuestID(699);
						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::GiveItem1(talker,57,( ( gg::OwnItemCount(talker,13871) * 1500 ) + 8335 ));
						myself::DeleteItem1(talker,13871,gg::OwnItemCount(talker,13871));
						myself::ShowPage(talker,"engineer_recon_q0699_07.htm");
						gg::AddLog(3,talker,699);
					}
					break;
				}
				case 5: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,702) == 1 && gg::GetMemoState(talker,702) == 1 ) ) {
						myself::SetCurrentQuestID(702);
						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,"engineer_recon_q0702_01.htm");
					}
					break;
				}
				case 6: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,702) == 1 && gg::GetMemoState(talker,702) == 2 ) ) {
						myself::SetCurrentQuestID(702);
						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,"engineer_recon_q0702_02.htm");
					}
					break;
				}
				case 7: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,10272) == 1 && gg::GetMemoState(talker,10272) == 24 ) ) {
						myself::SetCurrentQuestID(10272);
						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,"engineer_recon_q10272_01.htm");
					}
					break;
				}
				case 8: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,10272) == 1 && gg::GetMemoState(talker,10272) == 25 ) ) {
						myself::SetCurrentQuestID(10272);
						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::GiveItem1(talker,13855,1);
						myself::SetMemoState(talker,10272,26);
						myself::ShowPage(talker,"engineer_recon_q10272_05.htm");
						myself::SetFlagJournal(talker,10272,8);
						myself::ShowQuestMark(talker,10272);
						myself::SoundEffect(talker,"ItemSound.quest_middle");
					}
					break;
				}
				case 9: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,10272) == 1 && gg::GetMemoState(talker,10272) == 26 ) ) {
						myself::SetCurrentQuestID(10272);
						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,"engineer_recon_q10272_06.htm");
					}
					break;
				}
				case 10: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,10273) == 0 && talker.level >= 75 && myself::GetOneTimeQuestFlag(talker,10273) == 0 ) ) {
						myself::SetCurrentQuestID(10273);
						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::ShowQuestPage(talker,"engineer_recon_q10273_01.htm",10273);
						} else {
							myself::ShowPage(talker,"fullquest.htm");
						}
					}
					break;
				}
				case 11: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,10273) == 0 && talker.level < 75 && myself::GetOneTimeQuestFlag(talker,10273) == 0 ) ) {
						myself::SetCurrentQuestID(10273);
						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,"engineer_recon_q10273_02.htm",10273);
					}
					break;
				}
				case 12: {
					if( _from_choice == 0 || myself::GetOneTimeQuestFlag(talker,10273) == 1 ) {
						myself::SetCurrentQuestID(10273);
						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,"engineer_recon_q10273_03.htm");
					}
					break;
				}
				case 13: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,10273) == 1 && gg::GetMemoState(talker,10273) == 1 ) ) {
						myself::SetCurrentQuestID(10273);
						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,"engineer_recon_q10273_08.htm");
					}
					break;
				}
				case 14: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,10273) == 1 && gg::GetMemoState(talker,10273) == 2 ) ) {
						myself::SetCurrentQuestID(10273);
						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,"engineer_recon_q10273_11.htm");
					}
					break;
				}
				case 15: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,10273) == 1 && gg::GetMemoState(talker,10273) == 3 ) ) {
						myself::SetCurrentQuestID(10273);
						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::GetMemoStateEx(talker,10273,1) == 1 ) {
							myself::GiveItem1(talker,13553,1);
						} else if( gg::GetMemoStateEx(talker,10273,1) == 2 ) {
							myself::GiveItem1(talker,13554,1);
						}
						myself::GiveItem1(talker,13857,1);
						myself::IncrementParam(talker,0,25160);
						myself::IncrementParam(talker,1,2525);
						myself::DeleteItem1(talker,13856,gg::OwnItemCount(talker,13856));
						myself::RemoveMemo(talker,10273);
						myself::SoundEffect(talker,"ItemSound.quest_finish");
						myself::ShowPage(talker,"engineer_recon_q10273_12.htm");
						gg::AddLog(2,talker,10273);
						gg::AddLog(3,talker,10273);
						myself::SetOneTimeQuestFlag(talker,10273,1);
					}
					break;
				}
				case 16: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,10274) == 0 && talker.level >= 75 && myself::GetOneTimeQuestFlag(talker,10274) == 0 && myself::GetOneTimeQuestFlag(talker,10273) == 1 ) ) {
						myself::SetCurrentQuestID(10274);
						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::ShowQuestPage(talker,"engineer_recon_q10274_01.htm",10274);
						} else {
							myself::ShowPage(talker,"fullquest.htm");
						}
					}
					break;
				}
				case 17: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,10274) == 0 && myself::GetOneTimeQuestFlag(talker,10274) == 0 && ( talker.level < 75 || myself::GetOneTimeQuestFlag(talker,10273) == 0 ) ) ) {
						myself::SetCurrentQuestID(10274);
						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,"engineer_recon_q10274_02.htm",10274);
					}
					break;
				}
				case 18: {
					if( _from_choice == 0 || myself::GetOneTimeQuestFlag(talker,10274) == 1 ) {
						myself::SetCurrentQuestID(10274);
						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,"engineer_recon_q10274_03.htm",10274);
					}
					break;
				}
				case 19: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,10274) == 1 && gg::GetMemoState(talker,10274) == 1 && ( ( gg::OwnItemCount(talker,13858) + gg::OwnItemCount(talker,13859) ) + gg::OwnItemCount(talker,13860) ) < 1 ) ) {
						myself::SetCurrentQuestID(10274);
						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,"engineer_recon_q10274_06.htm");
					}
					break;
				}
				case 20: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,10274) == 1 && gg::GetMemoState(talker,10274) == 1 && ( ( gg::OwnItemCount(talker,13858) + gg::OwnItemCount(talker,13859) ) + gg::OwnItemCount(talker,13860) ) >= 1 && ( ( gg::OwnItemCount(talker,13858) + gg::OwnItemCount(talker,13859) ) + gg::OwnItemCount(talker,13860) ) < 8 ) ) {
						myself::SetCurrentQuestID(10274);
						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,"engineer_recon_q10274_07.htm");
					}
					break;
				}
				case 21: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,10274) == 1 && gg::GetMemoState(talker,10274) == 1 && ( ( gg::OwnItemCount(talker,13858) + gg::OwnItemCount(talker,13859) ) + gg::OwnItemCount(talker,13860) ) >= 8 ) ) {
						myself::SetCurrentQuestID(10274);
						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::GiveItem1(talker,13728,1);
						myself::IncrementParam(talker,0,25160);
						myself::IncrementParam(talker,1,2525);
						myself::DeleteItem1(talker,13858,gg::OwnItemCount(talker,13858));
						myself::DeleteItem1(talker,13859,gg::OwnItemCount(talker,13859));
						myself::DeleteItem1(talker,13860,gg::OwnItemCount(talker,13860));
						myself::SetOneTimeQuestFlag(talker,10274,1);
						myself::RemoveMemo(talker,10274);
						myself::SoundEffect(talker,"ItemSound.quest_finish");
						gg::AddLog(2,talker,10274);
						gg::AddLog(3,talker,10274);
						myself::ShowPage(talker,"engineer_recon_q10274_08.htm");
					}
					break;
				}
			}
			return;
		}
		super;
	}

	EventHandler QUEST_ACCEPTED(quest_id,talker) {
		if( quest_id == 699 ) {
			myself::SetCurrentQuestID(699);
			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,699) == 0 && talker.level >= 75 && myself::GetOneTimeQuestFlag(talker,10273) == 1 ) {
					myself::SetMemo(talker,699);
					myself::SetMemoState(talker,699,1);
					myself::ShowQuestPage(talker,"engineer_recon_q0699_04.htm",699);
					myself::SetFlagJournal(talker,699,1);
					myself::ShowQuestMark(talker,699);
					myself::SoundEffect(talker,"ItemSound.quest_accept");
					gg::AddLog(1,talker,699);
				}
			}
			return;
		}
		if( quest_id == 10273 ) {
			myself::SetCurrentQuestID(10273);
			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,10273) == 0 && talker.level >= 75 && myself::GetOneTimeQuestFlag(talker,10273) == 0 ) {
					myself::SetMemo(talker,10273);
					myself::SetMemoState(talker,10273,1);
					myself::ShowQuestPage(talker,"engineer_recon_q10273_07.htm",10273);
					myself::SetFlagJournal(talker,10273,1);
					myself::ShowQuestMark(talker,10273);
					myself::SoundEffect(talker,"ItemSound.quest_middle");
					gg::AddLog(1,talker,10273);
				}
			}
			return;
		}
		if( quest_id == 10274 ) {
			myself::SetCurrentQuestID(10274);
			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,10274) == 0 && talker.level >= 75 && myself::GetOneTimeQuestFlag(talker,10274) == 0 && myself::GetOneTimeQuestFlag(talker,10273) == 1 ) {
					myself::SetMemo(talker,10274);
					myself::GiveItem1(talker,13844,8);
					myself::SetMemoState(talker,10274,1);
					myself::ShowQuestPage(talker,"engineer_recon_q10274_05.htm",10274);
					myself::SetFlagJournal(talker,10274,1);
					myself::ShowQuestMark(talker,10274);
					myself::SoundEffect(talker,"ItemSound.quest_middle");
					gg::AddLog(1,talker,10274);
				}
			}
			return;
		}
		super;
	}

	EventHandler MENU_SELECTED(ask,c0,fhtml0,quest_id,reply,talker) {
		if( ask == 699 ) {
			myself::SetCurrentQuestID(699);
			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 == 699 ) {
			if( reply == 1 ) {
				if( gg::HaveMemo(talker,699) == 0 && talker.level >= 75 && myself::GetOneTimeQuestFlag(talker,10273) == 1 ) {
					myself::FHTML_SetFileName(fhtml0,"engineer_recon_q0699_03.htm");
					myself::FHTML_SetInt(fhtml0,"quest_id",699);
					myself::ShowQuestFHTML(talker,fhtml0,699);
				}
			}
			if( reply == 2 ) {
				if( gg::HaveMemo(talker,699) == 1 && gg::GetMemoState(talker,699) == 1 ) {
					myself::ShowPage(talker,"engineer_recon_q0699_08.htm");
				}
			}
			if( reply == 3 ) {
				if( gg::HaveMemo(talker,699) == 1 && gg::GetMemoState(talker,699) == 1 ) {
					myself::RemoveMemo(talker,699);
					myself::SoundEffect(talker,"ItemSound.quest_finish");
					myself::ShowPage(talker,"engineer_recon_q0699_09.htm");
					gg::AddLog(2,talker,699);
				}
			}
		}
		if( ask == 702 ) {
			myself::SetCurrentQuestID(702);
			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 == 702 ) {
			if( reply == 1 ) {
				if( gg::HaveMemo(talker,702) == 1 && gg::GetMemoState(talker,702) == 2 && gg::OwnItemCount(talker,13878) < 1 && gg::OwnItemCount(talker,14009) < 100 ) {
					myself::ShowPage(talker,"engineer_recon_q0702_03.htm");
				} else if( gg::HaveMemo(talker,702) == 1 && gg::GetMemoState(talker,702) == 2 && gg::OwnItemCount(talker,13878) >= 1 && gg::OwnItemCount(talker,14009) < 100 ) {
					myself::ShowPage(talker,"engineer_recon_q0702_04.htm");
				} else if( gg::HaveMemo(talker,702) == 1 && gg::GetMemoState(talker,702) == 2 && gg::OwnItemCount(talker,13878) < 1 && gg::OwnItemCount(talker,14009) >= 100 ) {
					myself::ShowPage(talker,"engineer_recon_q0702_05.htm");
				} else if( gg::HaveMemo(talker,702) == 1 && gg::GetMemoState(talker,702) == 2 && gg::OwnItemCount(talker,13878) >= 1 && gg::OwnItemCount(talker,14009) >= 100 ) {
					myself::GiveItem1(talker,13879,1);
					myself::DeleteItem1(talker,13878,1);
					myself::DeleteItem1(talker,14009,100);
					myself::ShowPage(talker,"engineer_recon_q0702_06.htm");
				}
			}
		}
		if( ask == 10272 ) {
			myself::SetCurrentQuestID(10272);
			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 == 10272 ) {
			if( reply == 1 ) {
				if( gg::HaveMemo(talker,10272) == 1 && gg::GetMemoState(talker,10272) == 24 ) {
					myself::ShowPage(talker,"engineer_recon_q10272_02.htm");
				}
			}
			if( reply == 2 ) {
				if( gg::HaveMemo(talker,10272) == 1 && gg::GetMemoState(talker,10272) == 24 && gg::OwnItemCount(talker,13854) >= 100 ) {
					myself::DeleteItem1(talker,13854,100);
					myself::SetMemoState(talker,10272,25);
					myself::ShowPage(talker,"engineer_recon_q10272_03.htm");
				} else if( gg::HaveMemo(talker,10272) == 1 && gg::GetMemoState(talker,10272) == 24 && gg::OwnItemCount(talker,13854) < 100 ) {
					myself::ShowPage(talker,"engineer_recon_q10272_04.htm");
				}
			}
		}
		if( ask == 10273 ) {
			myself::SetCurrentQuestID(10273);
			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 == 10273 ) {
			if( reply == 1 ) {
				if( gg::HaveMemo(talker,10273) == 0 && talker.level >= 75 && myself::GetOneTimeQuestFlag(talker,10273) == 0 ) {
					myself::ShowQuestPage(talker,"engineer_recon_q10273_04.htm",10273);
				}
			}
			if( reply == 2 ) {
				if( gg::HaveMemo(talker,10273) == 0 && talker.level >= 75 && myself::GetOneTimeQuestFlag(talker,10273) == 0 ) {
					myself::FHTML_SetFileName(fhtml0,"engineer_recon_q10273_05.htm");
					myself::FHTML_SetInt(fhtml0,"quest_id",10273);
					myself::ShowQuestFHTML(talker,fhtml0,10273);
				}
			}
			if( reply == 3 ) {
				if( gg::HaveMemo(talker,10273) == 1 && gg::GetMemoState(talker,10273) == 1 ) {
					myself::ShowPage(talker,"engineer_recon_q10273_07.htm");
				}
			}
			if( reply == 4 ) {
				c0 = myself::GetSummon(talker);
				if( c0 ) {
					myself::ShowPage(talker,"engineer_recon_q10273_09c.htm");
				} else {
					myself::SetMemoState(talker,10273,2);
					myself::SetMemoStateEx(talker,10273,1,1);
					myself::CastBuffForQuestReward(talker,392036353);
					myself::ShowPage(talker,"engineer_recon_q10273_09a.htm");
				}
			}
			if( reply == 5 ) {
				if( gg::HaveMemo(talker,10273) == 1 && gg::GetMemoState(talker,10273) == 1 ) {
					c0 = myself::GetSummon(talker);
					if( c0 ) {
						myself::ShowPage(talker,"engineer_recon_q10273_09c.htm");
					} else {
						myself::SetMemoState(talker,10273,2);
						myself::SetMemoStateEx(talker,10273,1,2);
						myself::CastBuffForQuestReward(talker,392101889);
						myself::ShowPage(talker,"engineer_recon_q10273_09b.htm");
					}
				}
			}
			if( reply == 6 ) {
				if( gg::HaveMemo(talker,10273) == 1 && gg::GetMemoState(talker,10273) == 1 ) {
					myself::ShowPage(talker,"engineer_recon_q10273_10.htm");
				}
			}
			if( reply == 7 ) {
				if( gg::HaveMemo(talker,10273) == 1 && gg::GetMemoState(talker,10273) == 2 ) {
					c0 = myself::GetSummon(talker);
					if( c0 ) {
						myself::ShowPage(talker,"engineer_recon_q10273_09c.htm");
					} else if( gg::GetMemoStateEx(talker,10273,1) == 1 ) {
						myself::CastBuffForQuestReward(talker,392036353);
					} else if( gg::GetMemoStateEx(talker,10273,1) == 2 ) {
						myself::CastBuffForQuestReward(talker,392101889);
					}
					myself::ShowPage(talker,"engineer_recon_q10273_11a.htm");
				}
			}
			if( reply == 8 ) {
				if( gg::HaveMemo(talker,10273) == 1 && gg::GetMemoState(talker,10273) == 2 ) {
					myself::ShowPage(talker,"engineer_recon_q10273_11b.htm");
				}
			}
		}
		if( ask == 10274 ) {
			myself::SetCurrentQuestID(10274);
			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 == 10274 ) {
			if( reply == 1 ) {
				if( gg::HaveMemo(talker,10274) == 0 && talker.level >= 75 && myself::GetOneTimeQuestFlag(talker,10274) == 0 && myself::GetOneTimeQuestFlag(talker,10273) == 1 ) {
					myself::FHTML_SetFileName(fhtml0,"engineer_recon_q10274_04.htm");
					myself::FHTML_SetInt(fhtml0,"quest_id",10274);
					myself::ShowQuestFHTML(talker,fhtml0,10274);
				}
			}
		}
		super;
	}

}
