@LabelIndex 386028
@StringIndex 57003
class 0 marquez : citizen {
handler:
	EventHandler TALK_SELECTED(fhtml0,talker) {
		if( _from_choice == 0 ) {
			if( gg::HaveMemo(talker,124) == 0 && talker.level >= 75 && myself::GetOneTimeQuestFlag(talker,124) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 0;
				myself::AddChoice(0,"Meeting the Elroki");
			}
			if( gg::HaveMemo(talker,124) == 0 && talker.level < 75 && myself::GetOneTimeQuestFlag(talker,124) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 1;
				myself::AddChoice(1,"Meeting the Elroki");
			}
			if( gg::HaveMemo(talker,124) == 0 && myself::GetOneTimeQuestFlag(talker,124) == 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 2;
				myself::AddChoice(2,"Meeting the Elroki (Done)");
			}
			if( gg::HaveMemo(talker,124) == 1 && gg::GetMemoState(talker,124) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 3;
				myself::AddChoice(3,"Meeting the Elroki (In Progress)");
			}
			if( gg::HaveMemo(talker,124) == 1 && gg::GetMemoState(talker,124) == 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 4;
				myself::AddChoice(4,"Meeting the Elroki (In Progress)");
			}
			if( gg::HaveMemo(talker,124) == 1 && gg::GetMemoState(talker,124) >= 2 && gg::GetMemoState(talker,124) <= 5 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 5;
				myself::AddChoice(5,"Meeting the Elroki (In Progress)");
			}
			if( gg::HaveMemo(talker,110) == 1 && gg::GetMemoState(talker,110) == 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 6;
				myself::AddChoice(6,"To the Primeval Isle (In Progress)");
			}
			if( gg::HaveMemo(talker,111) == 0 && myself::GetOneTimeQuestFlag(talker,111) == 0 && talker.level >= 75 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 7;
				myself::AddChoice(7,"Elrokian Hunters");
			}
			if( gg::HaveMemo(talker,111) == 0 && myself::GetOneTimeQuestFlag(talker,111) == 0 && talker.level < 75 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 8;
				myself::AddChoice(8,"Elrokian Hunters");
			}
			if( gg::HaveMemo(talker,111) == 0 && myself::GetOneTimeQuestFlag(talker,111) != 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 9;
				myself::AddChoice(9,"Elrokian Hunter's Proof (Done)");
			}
			if( gg::HaveMemo(talker,111) == 1 && gg::GetMemoState(talker,111) == 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 10;
				myself::AddChoice(10,"Elrokian Hunter's Proof (In Progress)");
			}
			if( gg::HaveMemo(talker,111) == 1 && gg::GetMemoState(talker,111) == 2 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 11;
				myself::AddChoice(11,"Elrokian Hunter's Proof (In Progress)");
			}
			if( gg::HaveMemo(talker,111) == 1 && gg::GetMemoState(talker,111) == 3 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 12;
				myself::AddChoice(12,"Elrokian Hunter's Proof (In Progress)");
			}
			if( gg::HaveMemo(talker,111) == 1 && gg::GetMemoState(talker,111) == 4 && gg::OwnItemCount(talker,8768) < 50 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 13;
				myself::AddChoice(13,"Elrokian Hunter's Proof (In Progress)");
			}
			if( gg::HaveMemo(talker,111) == 1 && gg::GetMemoState(talker,111) == 4 && gg::OwnItemCount(talker,8768) >= 50 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 14;
				myself::AddChoice(14,"Elrokian Hunter's Proof (In Progress)");
			}
			if( gg::HaveMemo(talker,111) == 1 && gg::GetMemoState(talker,111) == 5 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 15;
				myself::AddChoice(15,"Elrokian Hunter's Proof (In Progress)");
			}
			if( gg::HaveMemo(talker,111) == 1 && gg::GetMemoState(talker,111) == 6 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 16;
				myself::AddChoice(16,"Elrokian Hunter's Proof (In Progress)");
			}
			if( gg::HaveMemo(talker,111) == 1 && gg::GetMemoState(talker,111) >= 7 && gg::GetMemoState(talker,111) <= 8 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 17;
				myself::AddChoice(17,"Elrokian Hunter's Proof (In Progress)");
			}
			if( gg::HaveMemo(talker,111) == 1 && gg::GetMemoState(talker,111) == 9 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 18;
				myself::AddChoice(18,"Elrokian Hunter's Proof (In Progress)");
			}
			if( gg::HaveMemo(talker,111) == 1 && gg::GetMemoState(talker,111) >= 10 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 19;
				myself::AddChoice(19,"Elrokian Hunter's Proof (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,124) == 0 && talker.level >= 75 && myself::GetOneTimeQuestFlag(talker,124) == 0 ) ) {
						myself::SetCurrentQuestID(124);
						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,"marquez_q0124_01.htm",124);
						} else {
							myself::ShowPage(talker,"fullquest.htm");
						}
					}
					break;
				}
				case 1: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,124) == 0 && talker.level < 75 && myself::GetOneTimeQuestFlag(talker,124) == 0 ) ) {
						myself::SetCurrentQuestID(124);
						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,"marquez_q0124_02.htm",124);
					}
					break;
				}
				case 2: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,124) == 0 && myself::GetOneTimeQuestFlag(talker,124) == 1 ) ) {
						myself::SetCurrentQuestID(124);
						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,124) == 1 && gg::GetMemoState(talker,124) == 0 ) ) {
						myself::SetCurrentQuestID(124);
						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,124,0);
						myself::ShowPage(talker,"marquez_q0124_05.htm");
					}
					break;
				}
				case 4: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,124) == 1 && gg::GetMemoState(talker,124) == 1 ) ) {
						myself::SetCurrentQuestID(124);
						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,"marquez_q0124_07.htm");
					}
					break;
				}
				case 5: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,124) == 1 && gg::GetMemoState(talker,124) >= 2 && gg::GetMemoState(talker,124) <= 5 ) ) {
						myself::SetCurrentQuestID(124);
						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,"marquez_q0124_08.htm");
					}
					break;
				}
				case 6: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,110) == 1 && gg::GetMemoState(talker,110) == 1 ) ) {
						myself::SetCurrentQuestID(110);
						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,"marquez_q0110_01.htm");
					}
					break;
				}
				case 7: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,111) == 0 && myself::GetOneTimeQuestFlag(talker,111) == 0 && talker.level >= 75 ) ) {
						myself::SetCurrentQuestID(111);
						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,"marquez_q0111_01.htm",111);
						} else {
							myself::ShowPage(talker,"fullquest.htm");
						}
					}
					break;
				}
				case 8: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,111) == 0 && myself::GetOneTimeQuestFlag(talker,111) == 0 && talker.level < 75 ) ) {
						myself::SetCurrentQuestID(111);
						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,"marquez_q0111_02.htm",111);
					}
					break;
				}
				case 9: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,111) == 0 && myself::GetOneTimeQuestFlag(talker,111) != 0 ) ) {
						myself::SetCurrentQuestID(111);
						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 10: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,111) == 1 && gg::GetMemoState(talker,111) == 1 ) ) {
						myself::SetCurrentQuestID(111);
						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,"marquez_q0111_06.htm");
					}
					break;
				}
				case 11: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,111) == 1 && gg::GetMemoState(talker,111) == 2 ) ) {
						myself::SetCurrentQuestID(111);
						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,"marquez_q0111_06a.htm");
					}
					break;
				}
				case 12: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,111) == 1 && gg::GetMemoState(talker,111) == 3 ) ) {
						myself::SetCurrentQuestID(111);
						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,"marquez_q0111_07.htm");
					}
					break;
				}
				case 13: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,111) == 1 && gg::GetMemoState(talker,111) == 4 && gg::OwnItemCount(talker,8768) < 50 ) ) {
						myself::SetCurrentQuestID(111);
						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,"marquez_q0111_14.htm");
					}
					break;
				}
				case 14: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,111) == 1 && gg::GetMemoState(talker,111) == 4 && gg::OwnItemCount(talker,8768) >= 50 ) ) {
						myself::SetCurrentQuestID(111);
						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::DeleteItem1(talker,8768,gg::OwnItemCount(talker,8768));
							myself::SetMemoState(talker,111,5);
							myself::ShowPage(talker,"marquez_q0111_15.htm");
						}
					}
					break;
				}
				case 15: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,111) == 1 && gg::GetMemoState(talker,111) == 5 ) ) {
						myself::SetCurrentQuestID(111);
						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,"marquez_q0111_15a.htm");
					}
					break;
				}
				case 16: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,111) == 1 && gg::GetMemoState(talker,111) == 6 ) ) {
						myself::SetCurrentQuestID(111);
						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,"marquez_q0111_24.htm");
					}
					break;
				}
				case 17: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,111) == 1 && gg::GetMemoState(talker,111) >= 7 && gg::GetMemoState(talker,111) <= 8 ) ) {
						myself::SetCurrentQuestID(111);
						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,"marquez_q0111_25.htm");
					}
					break;
				}
				case 18: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,111) == 1 && gg::GetMemoState(talker,111) == 9 ) ) {
						myself::SetCurrentQuestID(111);
						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,"marquez_q0111_26.htm");
					}
					break;
				}
				case 19: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,111) == 1 && gg::GetMemoState(talker,111) >= 10 ) ) {
						myself::SetCurrentQuestID(111);
						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,"marquez_q0111_27.htm");
					}
					break;
				}
			}
			return;
		}
		super;
	}

	EventHandler QUEST_ACCEPTED(quest_id,talker) {
		if( quest_id == 124 ) {
			myself::SetCurrentQuestID(124);
			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,124) == 0 && talker.level >= 75 && myself::GetOneTimeQuestFlag(talker,124) == 0 ) {
				if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
					talker.quest_last_reward_time = myself::GetCurrentTick();
					myself::SetMemo(talker,124);
					myself::SetMemoState(talker,124,0);
					myself::ShowQuestMark(talker,124);
					myself::SoundEffect(talker,"ItemSound.quest_accept");
					myself::ShowQuestPage(talker,"marquez_q0124_04.htm",124);
					gg::AddLog(1,talker,124);
				}
			}
			return;
		}
		if( quest_id == 111 ) {
			myself::SetCurrentQuestID(111);
			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,111) == 0 && myself::GetOneTimeQuestFlag(talker,111) == 0 && talker.level >= 75 && myself::GetMemoCount(talker) < 26 ) {
				if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
					talker.quest_last_reward_time = myself::GetCurrentTick();
					myself::SetMemo(talker,111);
					myself::SetMemoState(talker,111,1);
					myself::ShowQuestMark(talker,111);
					myself::SoundEffect(talker,"ItemSound.quest_accept");
					myself::ShowQuestPage(talker,"marquez_q0111_05.htm",111);
					gg::AddLog(1,talker,111);
				}
			}
			return;
		}
		super;
	}

	EventHandler MENU_SELECTED(ask,fhtml0,reply,talker) {
		if( ask == 124 ) {
			myself::SetCurrentQuestID(124);
			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 == 124 ) {
			if( reply == 1 ) {
				myself::FHTML_SetFileName(fhtml0,"marquez_q0124_03.htm");
				myself::FHTML_SetInt(fhtml0,"quest_id",124);
				myself::ShowQuestFHTML(talker,fhtml0,124);
			}
			if( reply == 2 ) {
				if( gg::HaveMemo(talker,124) == 1 && gg::GetMemoState(talker,124) == 0 ) {
					myself::SetMemoState(talker,124,1);
					myself::ShowPage(talker,"marquez_q0124_06.htm");
					myself::SetFlagJournal(talker,124,2);
					myself::ShowQuestMark(talker,124);
					myself::SoundEffect(talker,"ItemSound.quest_middle");
				}
			}
		}
		if( ask == 110 ) {
			myself::SetCurrentQuestID(110);
			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 == 110 ) {
			if( reply == 3 ) {
				if( gg::GetMemoState(talker,110) == 1 ) {
					myself::ShowPage(talker,"marquez_q0110_03.htm");
				}
			}
			if( reply == 4 ) {
				myself::ShowPage(talker,"marquez_q0110_04.htm");
			}
			if( reply == 5 ) {
				if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
					talker.quest_last_reward_time = myself::GetCurrentTick();
					if( gg::HaveMemo(talker,110) == 1 && gg::GetMemoState(talker,110) == 1 && myself::GetOneTimeQuestFlag(talker,110) == 0 ) {
						myself::GiveItem1(talker,57,191678);
						myself::IncrementParam(talker,0,251602);
						myself::IncrementParam(talker,1,25245);
						myself::DeleteItem1(talker,8777,gg::OwnItemCount(talker,8777));
						myself::RemoveMemo(talker,110);
						myself::SetOneTimeQuestFlag(talker,110,1);
						myself::SoundEffect(talker,"ItemSound.quest_finish");
						myself::ShowPage(talker,"marquez_q0110_05.htm");
						myself::SetOneTimeQuestFlag(talker,110,1);
						gg::AddLog(2,talker,110);
					}
				}
			}
			if( reply == 6 ) {
				if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
					talker.quest_last_reward_time = myself::GetCurrentTick();
					if( gg::HaveMemo(talker,110) == 1 && gg::GetMemoState(talker,110) == 1 && myself::GetOneTimeQuestFlag(talker,110) == 0 ) {
						myself::GiveItem1(talker,57,191678);
						myself::IncrementParam(talker,0,251602);
						myself::IncrementParam(talker,1,25245);
						myself::DeleteItem1(talker,8777,gg::OwnItemCount(talker,8777));
						myself::RemoveMemo(talker,110);
						myself::SoundEffect(talker,"ItemSound.quest_finish");
						myself::ShowPage(talker,"marquez_q0110_06.htm");
						myself::SetOneTimeQuestFlag(talker,110,1);
						gg::AddLog(2,talker,110);
					}
				}
			}
		}
		if( ask == 111 ) {
			myself::SetCurrentQuestID(111);
			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 == 111 ) {
			if( reply == 101 ) {
				myself::FHTML_SetFileName(fhtml0,"marquez_q0111_03.htm");
				myself::FHTML_SetInt(fhtml0,"quest_id",111);
				myself::ShowQuestFHTML(talker,fhtml0,111);
			}
			if( reply == 102 ) {
				myself::ShowPage(talker,"marquez_q0111_04.htm");
			}
			if( reply == 103 ) {
				myself::ShowPage(talker,"marquez_q0111_08.htm");
			}
			if( reply == 104 ) {
				myself::ShowPage(talker,"marquez_q0111_09.htm");
			}
			if( reply == 105 ) {
				myself::ShowPage(talker,"marquez_q0111_10.htm");
			}
			if( reply == 106 ) {
				myself::ShowPage(talker,"marquez_q0111_11.htm");
			}
			if( reply == 107 ) {
				myself::ShowPage(talker,"marquez_q0111_12.htm");
			}
			if( reply == 108 ) {
				if( gg::GetMemoState(talker,111) == 3 ) {
					myself::SetMemoState(talker,111,4);
					myself::SetFlagJournal(talker,111,4);
					myself::ShowQuestMark(talker,111);
					myself::ShowPage(talker,"marquez_q0111_13.htm");
					myself::SoundEffect(talker,"ItemSound.quest_middle");
				}
			}
			if( reply == 109 ) {
				myself::ShowPage(talker,"marquez_q0111_16.htm");
			}
			if( reply == 110 ) {
				myself::ShowPage(talker,"marquez_q0111_17.htm");
			}
			if( reply == 111 ) {
				myself::ShowPage(talker,"marquez_q0111_18.htm");
			}
			if( reply == 112 ) {
				myself::ShowPage(talker,"marquez_q0111_19.htm");
			}
			if( reply == 113 ) {
				myself::ShowPage(talker,"marquez_q0111_20.htm");
			}
			if( reply == 114 ) {
				myself::ShowPage(talker,"marquez_q0111_21.htm");
			}
			if( reply == 115 ) {
				myself::ShowPage(talker,"marquez_q0111_22.htm");
			}
			if( reply == 116 ) {
				if( gg::GetMemoState(talker,111) == 5 ) {
					myself::SetFlagJournal(talker,111,6);
					myself::ShowQuestMark(talker,111);
					myself::SoundEffect(talker,"ItemSound.quest_middle");
					myself::GiveItem1(talker,8769,1);
					myself::SetMemoState(talker,111,6);
					myself::ShowPage(talker,"marquez_q0111_23.htm");
				}
			}
		}
		super;
	}

}
