@LabelIndex 385394
@StringIndex 56871
class 0 dead_leopard : citizen {
handler:
	EventHandler TALK_SELECTED(fhtml0,talker) {
		if( _from_choice == 0 ) {
			if( gg::HaveMemo(talker,416) == 1 && gg::GetMemoState(talker,416) < 104 && gg::GetMemoState(talker,416) >= 102 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 0;
				myself::AddChoice(0,"Path of the Orc Shaman (In Progress)");
			}
			if( gg::HaveMemo(talker,416) == 1 && gg::GetMemoState(talker,416) == 105 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 1;
				myself::AddChoice(1,"Path of the Orc Shaman (In Progress)");
			}
			if( gg::HaveMemo(talker,416) == 1 && gg::GetMemoState(talker,416) == 104 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 2;
				myself::AddChoice(2,"Path of the Orc Shaman (In Progress)");
			}
			if( gg::HaveMemo(talker,416) == 1 && gg::GetMemoState(talker,416) == 106 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 3;
				myself::AddChoice(3,"Path of the Orc Shaman (In Progress)");
			}
			if( gg::HaveMemo(talker,416) == 1 && gg::GetMemoState(talker,416) == 107 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 4;
				myself::AddChoice(4,"Path of the Orc Shaman (In Progress)");
			}
			if( gg::HaveMemo(talker,416) == 1 && gg::GetMemoState(talker,416) == 108 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 5;
				myself::AddChoice(5,"Path of the Orc Shaman (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,416) == 1 && gg::GetMemoState(talker,416) < 104 && gg::GetMemoState(talker,416) >= 102 ) ) {
						myself::SetCurrentQuestID(416);
						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,"dead_leopard_q0416_01a.htm");
					}
					break;
				}
				case 1: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,416) == 1 && gg::GetMemoState(talker,416) == 105 ) ) {
						myself::SetCurrentQuestID(416);
						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,"dead_leopard_q0416_01b.htm");
					}
					break;
				}
				case 2: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,416) == 1 && gg::GetMemoState(talker,416) == 104 ) ) {
						myself::SetCurrentQuestID(416);
						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,"dead_leopard_q0416_01.htm");
						myself::SetMemoState(talker,416,105);
						myself::SetFlagJournal(talker,416,16);
						myself::ShowQuestMark(talker,416);
						myself::SoundEffect(talker,"ItemSound.quest_middle");
					}
					break;
				}
				case 3: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,416) == 1 && gg::GetMemoState(talker,416) == 106 ) ) {
						myself::SetCurrentQuestID(416);
						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,"dead_leopard_q0416_02.htm");
					}
					break;
				}
				case 4: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,416) == 1 && gg::GetMemoState(talker,416) == 107 ) ) {
						myself::SetCurrentQuestID(416);
						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,"dead_leopard_q0416_05.htm");
					}
					break;
				}
				case 5: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,416) == 1 && gg::GetMemoState(talker,416) == 108 ) ) {
						myself::SetCurrentQuestID(416);
						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,"dead_leopard_q0416_06.htm");
						myself::SetMemoState(talker,416,109);
						myself::SetFlagJournal(talker,416,20);
						myself::ShowQuestMark(talker,416);
						myself::SoundEffect(talker,"ItemSound.quest_middle");
					}
					break;
				}
			}
			return;
		}
		super;
	}

	EventHandler MENU_SELECTED(ask,reply,talker) {
		if( ask == 416 ) {
			myself::SetCurrentQuestID(416);
			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 == 416 ) {
			if( reply == 1 && gg::HaveMemo(talker,416) == 1 && gg::GetMemoState(talker,416) == 106 ) {
				myself::SetMemoState(talker,416,107);
				myself::ShowPage(talker,"dead_leopard_q0416_04.htm");
				myself::SetFlagJournal(talker,416,18);
				myself::ShowQuestMark(talker,416);
				myself::SoundEffect(talker,"ItemSound.quest_middle");
			}
		}
		super;
	}

}
