@LabelIndex 296067
@StringIndex 39541
class 0 blacksmith_duning : blacksmith {
handler:
	EventHandler TALK_SELECTED(talker) {
		if( _from_choice == 0 ) {
			if( gg::HaveMemo(talker,216) == 1 && gg::OwnItemCount(talker,3122) >= 1 && gg::OwnItemCount(talker,3125) >= 1 && gg::OwnItemCount(talker,3126) >= 1 && gg::OwnItemCount(talker,3127) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 0;
				myself::AddChoice(0,"Trial of the Guildsman (In Progress)");
			}
			if( gg::HaveMemo(talker,216) == 1 && gg::OwnItemCount(talker,3122) >= 1 && gg::OwnItemCount(talker,3125) >= 1 && gg::OwnItemCount(talker,3127) >= 1 && gg::OwnItemCount(talker,3126) == 0 && gg::OwnItemCount(talker,3128) < 30 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 1;
				myself::AddChoice(1,"Trial of the Guildsman (In Progress)");
			}
			if( gg::HaveMemo(talker,216) == 1 && gg::OwnItemCount(talker,3122) >= 1 && gg::OwnItemCount(talker,3125) >= 1 && gg::OwnItemCount(talker,3128) >= 30 && gg::OwnItemCount(talker,3127) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 2;
				myself::AddChoice(2,"Trial of the Guildsman (In Progress)");
			}
			if( gg::HaveMemo(talker,216) == 1 && gg::OwnItemCount(talker,3122) >= 1 && gg::OwnItemCount(talker,3125) == 0 && gg::OwnItemCount(talker,3127) == 0 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 3;
				myself::AddChoice(3,"Trial of the Guildsman (In Progress)");
			}
			if( gg::HaveMemo(talker,336) == 1 && ( gg::OwnItemCount(talker,3814) == 1 || gg::OwnItemCount(talker,3813) == 1 ) ) {
				_choiceN = ( _choiceN + 1 );
				_code = 4;
				myself::AddChoice(4,"Coins of Magic (In Progress)");
			}
			if( gg::HaveMemo(talker,336) == 1 && gg::OwnItemCount(talker,3815) == 1 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 5;
				myself::AddChoice(5,"Coins of Magic (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,216) == 1 && gg::OwnItemCount(talker,3122) >= 1 && gg::OwnItemCount(talker,3125) >= 1 && gg::OwnItemCount(talker,3126) >= 1 && gg::OwnItemCount(talker,3127) == 0 ) ) {
						myself::SetCurrentQuestID(216);
						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,"blacksmith_duning_q0216_01.htm");
					}
					break;
				}
				case 1: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,216) == 1 && gg::OwnItemCount(talker,3122) >= 1 && gg::OwnItemCount(talker,3125) >= 1 && gg::OwnItemCount(talker,3127) >= 1 && gg::OwnItemCount(talker,3126) == 0 && gg::OwnItemCount(talker,3128) < 30 ) ) {
						myself::SetCurrentQuestID(216);
						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,"blacksmith_duning_q0216_03.htm");
					}
					break;
				}
				case 2: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,216) == 1 && gg::OwnItemCount(talker,3122) >= 1 && gg::OwnItemCount(talker,3125) >= 1 && gg::OwnItemCount(talker,3128) >= 30 && gg::OwnItemCount(talker,3127) == 0 ) ) {
						myself::SetCurrentQuestID(216);
						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,"blacksmith_duning_q0216_04.htm");
					}
					break;
				}
				case 3: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,216) == 1 && gg::OwnItemCount(talker,3122) >= 1 && gg::OwnItemCount(talker,3125) == 0 && gg::OwnItemCount(talker,3127) == 0 ) ) {
						myself::SetCurrentQuestID(216);
						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,"blacksmith_duning_q0216_05.htm");
					}
					break;
				}
				case 4: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,336) == 1 && ( gg::OwnItemCount(talker,3814) == 1 || gg::OwnItemCount(talker,3813) == 1 ) ) ) {
						myself::SetCurrentQuestID(336);
						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;
						}
						talker.weight_point = 0;
						talker.param1 = 0;
						talker.param2 = 0;
						talker.param3 = 0;
						talker.flag = 0;
						myself::ShowPage(talker,"blacksmith_duning_q0336_01.htm");
					}
					break;
				}
				case 5: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,336) == 1 && gg::OwnItemCount(talker,3815) == 1 ) ) {
						myself::SetCurrentQuestID(336);
						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,"blacksmith_duning_q0336_54.htm");
					}
					break;
				}
			}
			return;
		}
		super;
	}

	EventHandler MENU_SELECTED(ask,i0,i1,i2,i3,i4,i5,reply,talker) {
		if( ask == 216 ) {
			myself::SetCurrentQuestID(216);
			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 == 216 ) {
			if( reply == 1 ) {
				if( gg::OwnItemCount(talker,3126) >= 1 ) {
					if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
						talker.quest_last_reward_time = myself::GetCurrentTick();
						myself::ShowPage(talker,"blacksmith_duning_q0216_02.htm");
						myself::DeleteItem1(talker,3126,1);
						myself::GiveItem1(talker,3127,1);
					}
				}
			}
		}
		if( ask == 336 ) {
			myself::SetCurrentQuestID(336);
			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;
			}
		}
		i0 = 0;
		i1 = 0;
		i2 = 0;
		i3 = 0;
		i4 = 0;
		i5 = 0;
		if( ask == 336 ) {
			if( reply == 1 ) {
				myself::ShowPage(talker,"blacksmith_duning_q0336_02.htm");
				talker.param2 = 11;
			} else if( reply == 2 ) {
				myself::ShowPage(talker,"blacksmith_duning_q0336_03.htm");
				talker.param2 = 21;
			} else if( reply == 3 ) {
				myself::ShowPage(talker,"blacksmith_duning_q0336_04.htm");
				talker.param2 = 31;
			} else if( reply == 4 ) {
				myself::ShowPage(talker,"blacksmith_duning_q0336_05.htm");
				talker.param2 = 42;
			} else if( reply == 5 ) {
				myself::ShowPage(talker,"blacksmith_duning_q0336_06.htm");
			} else if( reply == 6 ) {
				if( talker.param2 == 42 ) {
					if( gg::OwnItemCount(talker,3485) >= 3 && gg::OwnItemCount(talker,3483) >= 3 ) {
						talker.flag = 1;
						myself::DeleteItem1(talker,3485,3);
						myself::DeleteItem1(talker,3483,3);
						myself::ShowPage(talker,"blacksmith_duning_q0336_11.htm");
						talker.weight_point = 1;
						talker.param1 = ( gg::Rand(3) + 1 );
						talker.param1 = ( talker.param1 + ( ( gg::Rand(3) + 1 ) * 4 ) );
						talker.param1 = ( talker.param1 + ( ( gg::Rand(3) + 1 ) * 16 ) );
					} else {
						myself::ShowPage(talker,"blacksmith_duning_q0336_10.htm");
					}
				} else if( talker.param2 == 31 ) {
					if( gg::OwnItemCount(talker,3494) >= ( 3 * 1 ) ) {
						talker.flag = 1;
						myself::DeleteItem1(talker,3494,( 3 * 1 ));
						myself::ShowPage(talker,"blacksmith_duning_q0336_11.htm");
						talker.weight_point = 1;
						talker.param1 = ( gg::Rand(3) + 1 );
						talker.param1 = ( talker.param1 + ( ( gg::Rand(3) + 1 ) * 4 ) );
						talker.param1 = ( talker.param1 + ( ( gg::Rand(3) + 1 ) * 16 ) );
					} else {
						myself::ShowPage(talker,"blacksmith_duning_q0336_10.htm");
					}
				} else if( talker.param2 == 21 ) {
					if( gg::OwnItemCount(talker,3475) >= ( 3 * 1 ) ) {
						talker.flag = 1;
						myself::DeleteItem1(talker,3475,( 3 * 1 ));
						myself::ShowPage(talker,"blacksmith_duning_q0336_11.htm");
						talker.weight_point = 1;
						talker.param1 = ( gg::Rand(3) + 1 );
						talker.param1 = ( talker.param1 + ( ( gg::Rand(3) + 1 ) * 4 ) );
						talker.param1 = ( talker.param1 + ( ( gg::Rand(3) + 1 ) * 16 ) );
					} else {
						myself::ShowPage(talker,"blacksmith_duning_q0336_10.htm");
					}
				} else if( talker.param2 == 11 ) {
					if( gg::OwnItemCount(talker,3485) >= ( 3 * 1 ) ) {
						talker.flag = 1;
						myself::DeleteItem1(talker,3485,( 3 * 1 ));
						myself::ShowPage(talker,"blacksmith_duning_q0336_11.htm");
						talker.weight_point = 1;
						talker.param1 = ( gg::Rand(3) + 1 );
						talker.param1 = ( talker.param1 + ( ( gg::Rand(3) + 1 ) * 4 ) );
						talker.param1 = ( talker.param1 + ( ( gg::Rand(3) + 1 ) * 16 ) );
					} else {
						myself::ShowPage(talker,"blacksmith_duning_q0336_10.htm");
					}
				}
			} else if( reply == 7 ) {
				if( talker.param2 == 42 ) {
					if( gg::OwnItemCount(talker,3485) >= 7 && gg::OwnItemCount(talker,3483) >= 7 ) {
						talker.flag = 1;
						myself::DeleteItem1(talker,3485,7);
						myself::DeleteItem1(talker,3483,7);
						myself::ShowPage(talker,"blacksmith_duning_q0336_11.htm");
						talker.weight_point = 2;
						talker.param1 = ( gg::Rand(3) + 1 );
						talker.param1 = ( talker.param1 + ( ( gg::Rand(3) + 1 ) * 4 ) );
						talker.param1 = ( talker.param1 + ( ( gg::Rand(3) + 1 ) * 16 ) );
					} else {
						myself::ShowPage(talker,"blacksmith_duning_q0336_10.htm");
					}
				} else if( talker.param2 == 31 ) {
					if( gg::OwnItemCount(talker,3494) >= ( 7 * 1 ) ) {
						talker.flag = 1;
						myself::DeleteItem1(talker,3494,( 7 * 1 ));
						myself::ShowPage(talker,"blacksmith_duning_q0336_11.htm");
						talker.weight_point = 2;
						talker.param1 = ( gg::Rand(3) + 1 );
						talker.param1 = ( talker.param1 + ( ( gg::Rand(3) + 1 ) * 4 ) );
						talker.param1 = ( talker.param1 + ( ( gg::Rand(3) + 1 ) * 16 ) );
					} else {
						myself::ShowPage(talker,"blacksmith_duning_q0336_10.htm");
					}
				} else if( talker.param2 == 21 ) {
					if( gg::OwnItemCount(talker,3475) >= ( 7 * 1 ) ) {
						talker.flag = 1;
						myself::DeleteItem1(talker,3475,( 7 * 1 ));
						myself::ShowPage(talker,"blacksmith_duning_q0336_11.htm");
						talker.weight_point = 2;
						talker.param1 = ( gg::Rand(3) + 1 );
						talker.param1 = ( talker.param1 + ( ( gg::Rand(3) + 1 ) * 4 ) );
						talker.param1 = ( talker.param1 + ( ( gg::Rand(3) + 1 ) * 16 ) );
					} else {
						myself::ShowPage(talker,"blacksmith_duning_q0336_10.htm");
					}
				} else if( talker.param2 == 11 ) {
					if( gg::OwnItemCount(talker,3485) >= ( 7 * 1 ) ) {
						talker.flag = 1;
						myself::DeleteItem1(talker,3485,( 7 * 1 ));
						myself::ShowPage(talker,"blacksmith_duning_q0336_11.htm");
						talker.weight_point = 2;
						talker.param1 = ( gg::Rand(3) + 1 );
						talker.param1 = ( talker.param1 + ( ( gg::Rand(3) + 1 ) * 4 ) );
						talker.param1 = ( talker.param1 + ( ( gg::Rand(3) + 1 ) * 16 ) );
					} else {
						myself::ShowPage(talker,"blacksmith_duning_q0336_10.htm");
					}
				}
			} else if( reply == 8 ) {
				if( talker.param2 == 42 ) {
					if( gg::OwnItemCount(talker,3485) >= 9 && gg::OwnItemCount(talker,3483) >= 9 ) {
						talker.flag = 1;
						myself::DeleteItem1(talker,3485,9);
						myself::DeleteItem1(talker,3483,9);
						myself::ShowPage(talker,"blacksmith_duning_q0336_11.htm");
						talker.weight_point = 3;
						talker.param1 = ( gg::Rand(3) + 1 );
						talker.param1 = ( talker.param1 + ( ( gg::Rand(3) + 1 ) * 4 ) );
						talker.param1 = ( talker.param1 + ( ( gg::Rand(3) + 1 ) * 16 ) );
					} else {
						myself::ShowPage(talker,"blacksmith_duning_q0336_10.htm");
					}
				} else if( talker.param2 == 31 ) {
					if( gg::OwnItemCount(talker,3494) >= ( 9 * 1 ) ) {
						talker.flag = 1;
						myself::DeleteItem1(talker,3494,( 9 * 1 ));
						myself::ShowPage(talker,"blacksmith_duning_q0336_11.htm");
						talker.weight_point = 3;
						talker.param1 = ( gg::Rand(3) + 1 );
						talker.param1 = ( talker.param1 + ( ( gg::Rand(3) + 1 ) * 4 ) );
						talker.param1 = ( talker.param1 + ( ( gg::Rand(3) + 1 ) * 16 ) );
					} else {
						myself::ShowPage(talker,"blacksmith_duning_q0336_10.htm");
					}
				} else if( talker.param2 == 21 ) {
					if( gg::OwnItemCount(talker,3475) >= ( 9 * 1 ) ) {
						talker.flag = 1;
						myself::DeleteItem1(talker,3475,( 9 * 1 ));
						myself::ShowPage(talker,"blacksmith_duning_q0336_11.htm");
						talker.weight_point = 3;
						talker.param1 = ( gg::Rand(3) + 1 );
						talker.param1 = ( talker.param1 + ( ( gg::Rand(3) + 1 ) * 4 ) );
						talker.param1 = ( talker.param1 + ( ( gg::Rand(3) + 1 ) * 16 ) );
					} else {
						myself::ShowPage(talker,"blacksmith_duning_q0336_10.htm");
					}
				} else if( talker.param2 == 11 ) {
					if( gg::OwnItemCount(talker,3485) >= ( 9 * 1 ) ) {
						talker.flag = 1;
						myself::DeleteItem1(talker,3485,( 9 * 1 ));
						myself::ShowPage(talker,"blacksmith_duning_q0336_11.htm");
						talker.weight_point = 3;
						talker.param1 = ( gg::Rand(3) + 1 );
						talker.param1 = ( talker.param1 + ( ( gg::Rand(3) + 1 ) * 4 ) );
						talker.param1 = ( talker.param1 + ( ( gg::Rand(3) + 1 ) * 16 ) );
					} else {
						myself::ShowPage(talker,"blacksmith_duning_q0336_10.htm");
					}
				}
			} else if( reply == 9 ) {
				myself::ShowPage(talker,"blacksmith_duning_q0336_53.htm");
			} else if( reply == 10 ) {
				if( talker.param2 == 42 ) {
					if( gg::OwnItemCount(talker,3483) >= ( 5 * 2 ) && gg::OwnItemCount(talker,3485) >= ( 5 * 2 ) ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_07.htm");
						myself::DeleteItem1(talker,3483,( 5 * 2 ));
						myself::DeleteItem1(talker,3485,( 5 * 2 ));
						if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
							talker.quest_last_reward_time = myself::GetCurrentTick();
							myself::GiveItem1(talker,3488,1);
							myself::SoundEffect(talker,"ItemSound.quest_middle");
						}
					} else {
						myself::ShowPage(talker,"blacksmith_duning_q0336_10.htm");
					}
				} else if( talker.param2 == 31 ) {
					if( gg::OwnItemCount(talker,3494) >= ( 5 * 1 ) && gg::OwnItemCount(talker,3491) >= ( 5 * 1 ) ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_07.htm");
						myself::DeleteItem1(talker,3494,( 5 * 1 ));
						myself::DeleteItem1(talker,3491,( 5 * 1 ));
						if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
							talker.quest_last_reward_time = myself::GetCurrentTick();
							myself::GiveItem1(talker,3495,1);
							myself::SoundEffect(talker,"ItemSound.quest_middle");
						}
					} else {
						myself::ShowPage(talker,"blacksmith_duning_q0336_10.htm");
					}
				} else if( talker.param2 == 21 ) {
					if( gg::OwnItemCount(talker,3475) >= ( 5 * 1 ) && gg::OwnItemCount(talker,3473) >= ( 5 * 1 ) ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_07.htm");
						myself::DeleteItem1(talker,3475,( 5 * 1 ));
						myself::DeleteItem1(talker,3473,( 5 * 1 ));
						if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
							talker.quest_last_reward_time = myself::GetCurrentTick();
							myself::GiveItem1(talker,3476,1);
							myself::SoundEffect(talker,"ItemSound.quest_middle");
						}
					} else {
						myself::ShowPage(talker,"blacksmith_duning_q0336_10.htm");
					}
				} else if( talker.param2 == 11 ) {
					if( gg::OwnItemCount(talker,3485) >= ( 5 * 1 ) && gg::OwnItemCount(talker,3483) >= ( 5 * 1 ) ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_07.htm");
						myself::DeleteItem1(talker,3485,( 5 * 1 ));
						myself::DeleteItem1(talker,3483,( 5 * 1 ));
						if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
							talker.quest_last_reward_time = myself::GetCurrentTick();
							myself::GiveItem1(talker,3484,1);
							myself::SoundEffect(talker,"ItemSound.quest_middle");
						}
					} else {
						myself::ShowPage(talker,"blacksmith_duning_q0336_10.htm");
					}
				}
			} else if( reply == 11 ) {
				if( talker.param2 == 42 ) {
					if( gg::OwnItemCount(talker,3483) >= ( ( 5 * 5 ) * 2 ) && gg::OwnItemCount(talker,3485) >= ( ( 5 * 5 ) * 2 ) ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_07.htm");
						myself::DeleteItem1(talker,3483,( ( 5 * 5 ) * 2 ));
						myself::DeleteItem1(talker,3485,( ( 5 * 5 ) * 2 ));
						if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
							talker.quest_last_reward_time = myself::GetCurrentTick();
							myself::GiveItem1(talker,3488,5);
							myself::SoundEffect(talker,"ItemSound.quest_middle");
						}
					} else {
						myself::ShowPage(talker,"blacksmith_duning_q0336_10.htm");
					}
				} else if( talker.param2 == 31 ) {
					if( gg::OwnItemCount(talker,3494) >= ( ( 5 * 5 ) * 1 ) && gg::OwnItemCount(talker,3491) >= ( ( 5 * 5 ) * 1 ) ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_07.htm");
						myself::DeleteItem1(talker,3494,( ( 5 * 5 ) * 1 ));
						myself::DeleteItem1(talker,3491,( ( 5 * 5 ) * 1 ));
						if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
							talker.quest_last_reward_time = myself::GetCurrentTick();
							myself::GiveItem1(talker,3495,5);
							myself::SoundEffect(talker,"ItemSound.quest_middle");
						}
					} else {
						myself::ShowPage(talker,"blacksmith_duning_q0336_10.htm");
					}
				} else if( talker.param2 == 21 ) {
					if( gg::OwnItemCount(talker,3475) >= ( ( 5 * 5 ) * 1 ) && gg::OwnItemCount(talker,3473) >= ( ( 5 * 5 ) * 1 ) ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_07.htm");
						myself::DeleteItem1(talker,3475,( ( 5 * 5 ) * 1 ));
						myself::DeleteItem1(talker,3473,( ( 5 * 5 ) * 1 ));
						if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
							talker.quest_last_reward_time = myself::GetCurrentTick();
							myself::GiveItem1(talker,3476,5);
							myself::SoundEffect(talker,"ItemSound.quest_middle");
						}
					} else {
						myself::ShowPage(talker,"blacksmith_duning_q0336_10.htm");
					}
				} else if( talker.param2 == 11 ) {
					if( gg::OwnItemCount(talker,3485) >= ( ( 5 * 5 ) * 1 ) && gg::OwnItemCount(talker,3483) >= ( ( 5 * 5 ) * 1 ) ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_07.htm");
						myself::DeleteItem1(talker,3485,( ( 5 * 5 ) * 1 ));
						myself::DeleteItem1(talker,3483,( ( 5 * 5 ) * 1 ));
						if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
							talker.quest_last_reward_time = myself::GetCurrentTick();
							myself::GiveItem1(talker,3484,5);
							myself::SoundEffect(talker,"ItemSound.quest_middle");
						}
					} else {
						myself::ShowPage(talker,"blacksmith_duning_q0336_10.htm");
					}
				}
			} else if( reply == 12 ) {
				if( talker.param2 == 42 ) {
					if( gg::OwnItemCount(talker,3483) >= ( ( 5 * 10 ) * 2 ) && gg::OwnItemCount(talker,3485) >= ( ( 5 * 10 ) * 2 ) ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_07.htm");
						myself::DeleteItem1(talker,3483,( ( 5 * 10 ) * 2 ));
						myself::DeleteItem1(talker,3485,( ( 5 * 10 ) * 2 ));
						if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
							talker.quest_last_reward_time = myself::GetCurrentTick();
							myself::GiveItem1(talker,3488,10);
							myself::SoundEffect(talker,"ItemSound.quest_middle");
						}
					} else {
						myself::ShowPage(talker,"blacksmith_duning_q0336_10.htm");
					}
				} else if( talker.param2 == 31 ) {
					if( gg::OwnItemCount(talker,3494) >= ( ( 5 * 10 ) * 1 ) && gg::OwnItemCount(talker,3491) >= ( ( 5 * 10 ) * 1 ) ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_07.htm");
						myself::DeleteItem1(talker,3494,( ( 5 * 10 ) * 1 ));
						myself::DeleteItem1(talker,3491,( ( 5 * 10 ) * 1 ));
						if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
							talker.quest_last_reward_time = myself::GetCurrentTick();
							myself::GiveItem1(talker,3495,10);
							myself::SoundEffect(talker,"ItemSound.quest_middle");
						}
					} else {
						myself::ShowPage(talker,"blacksmith_duning_q0336_10.htm");
					}
				} else if( talker.param2 == 21 ) {
					if( gg::OwnItemCount(talker,3475) >= ( ( 5 * 10 ) * 1 ) && gg::OwnItemCount(talker,3473) >= ( ( 5 * 10 ) * 1 ) ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_07.htm");
						myself::DeleteItem1(talker,3475,( ( 5 * 10 ) * 1 ));
						myself::DeleteItem1(talker,3473,( ( 5 * 10 ) * 1 ));
						if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
							talker.quest_last_reward_time = myself::GetCurrentTick();
							myself::GiveItem1(talker,3476,10);
							myself::SoundEffect(talker,"ItemSound.quest_middle");
						}
					} else {
						myself::ShowPage(talker,"blacksmith_duning_q0336_10.htm");
					}
				} else if( talker.param2 == 11 ) {
					if( gg::OwnItemCount(talker,3485) >= ( ( 5 * 10 ) * 1 ) && gg::OwnItemCount(talker,3483) >= ( ( 5 * 10 ) * 1 ) ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_07.htm");
						myself::DeleteItem1(talker,3485,( ( 5 * 10 ) * 1 ));
						myself::DeleteItem1(talker,3483,( ( 5 * 10 ) * 1 ));
						if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
							talker.quest_last_reward_time = myself::GetCurrentTick();
							myself::GiveItem1(talker,3484,10);
							myself::SoundEffect(talker,"ItemSound.quest_middle");
						}
					} else {
						myself::ShowPage(talker,"blacksmith_duning_q0336_10.htm");
					}
				}
			} else if( reply == 13 && talker.flag == 1 ) {
				talker.flag = 0;
				myself::ShowPage(talker,"blacksmith_duning_q0336_14.htm");
				talker.flag = ( talker.flag + ( ( 4 * 4 ) * 1 ) );
			} else if( reply == 14 && talker.flag == 1 ) {
				talker.flag = 0;
				myself::ShowPage(talker,"blacksmith_duning_q0336_15.htm");
				talker.flag = ( talker.flag + ( ( 4 * 4 ) * 2 ) );
			} else if( reply == 15 && talker.flag == 1 ) {
				talker.flag = 0;
				myself::ShowPage(talker,"blacksmith_duning_q0336_16.htm");
				talker.flag = ( talker.flag + ( ( 4 * 4 ) * 3 ) );
			} else if( reply == 16 ) {
				myself::ShowPage(talker,"blacksmith_duning_q0336_17.htm");
				talker.flag = ( talker.flag + ( ( 4 * 1 ) * 1 ) );
			} else if( reply == 17 ) {
				myself::ShowPage(talker,"blacksmith_duning_q0336_18.htm");
				talker.flag = ( talker.flag + ( ( 4 * 1 ) * 2 ) );
			} else if( reply == 18 ) {
				myself::ShowPage(talker,"blacksmith_duning_q0336_19.htm");
				talker.flag = ( talker.flag + ( ( 4 * 1 ) * 3 ) );
			} else if( reply == 19 ) {
				talker.param3 = 0;
				talker.flag = ( talker.flag + ( 1 * 1 ) );
				if( talker.param1 == talker.flag && talker.weight_point >= 0 ) {
					if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
						talker.quest_last_reward_time = myself::GetCurrentTick();
						talker.weight_point = 0;
						myself::ShowPage(talker,"blacksmith_duning_q0336_20.htm");
						if( talker.param2 == 42 ) {
							myself::GiveItem1(talker,3488,1);
						} else if( talker.param2 == 31 ) {
							myself::GiveItem1(talker,3495,1);
						} else if( talker.param2 == 21 ) {
							myself::GiveItem1(talker,3476,1);
						} else if( talker.param2 == 11 ) {
							myself::GiveItem1(talker,3484,1);
						}
						talker.param1 = 0;
					}
				} else if( talker.weight_point == 0 ) {
					if( talker.param1 == 21 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_23.htm");
					} else if( talker.param1 == 25 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_24.htm");
					} else if( talker.param1 == 37 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_25.htm");
					} else if( talker.param1 == 41 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_26.htm");
					} else if( talker.param1 == 61 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_27.htm");
					} else if( talker.param1 == 29 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_28.htm");
					} else if( talker.param1 == 45 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_29.htm");
					} else if( talker.param1 == 53 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_30.htm");
					} else if( talker.param1 == 57 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_31.htm");
					} else if( talker.param1 == 22 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_32.htm");
					} else if( talker.param1 == 26 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_33.htm");
					} else if( talker.param1 == 38 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_34.htm");
					} else if( talker.param1 == 42 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_35.htm");
					} else if( talker.param1 == 62 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_36.htm");
					} else if( talker.param1 == 30 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_37.htm");
					} else if( talker.param1 == 46 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_38.htm");
					} else if( talker.param1 == 54 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_39.htm");
					} else if( talker.param1 == 58 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_40.htm");
					} else if( talker.param1 == 23 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_41.htm");
					} else if( talker.param1 == 27 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_42.htm");
					} else if( talker.param1 == 39 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_43.htm");
					} else if( talker.param1 == 43 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_44.htm");
					} else if( talker.param1 == 63 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_45.htm");
					} else if( talker.param1 == 31 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_46.htm");
					} else if( talker.param1 == 47 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_47.htm");
					} else if( talker.param1 == 55 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_48.htm");
					} else if( talker.param1 == 59 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_49.htm");
					}
					talker.param1 = 0;
				} else {
					i0 = ( talker.param1 % 4 );
					i1 = ( talker.param1 / 4 );
					i2 = ( i1 / 4 );
					i1 = ( i1 % 4 );
					talker.flag = ( talker.flag * 1 );
					i3 = ( talker.flag % 4 );
					i4 = ( talker.flag / 4 );
					i5 = ( i4 / 4 );
					i4 = ( i4 % 4 );
					if( i0 == i3 ) {
						talker.param3 = ( talker.param3 + 1 );
					}
					if( i1 == i4 ) {
						talker.param3 = ( talker.param3 + 1 );
					}
					if( i2 == i5 ) {
						talker.param3 = ( talker.param3 + 1 );
					}
					if( talker.param3 == 1 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_50.htm");
					} else if( talker.param3 == 2 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_51.htm");
					} else if( talker.param3 == 0 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_52.htm");
					}
					talker.flag = 1;
					talker.weight_point = ( talker.weight_point - 1 );
				}
			} else if( reply == 20 ) {
				talker.param3 = 0;
				talker.flag = ( talker.flag + ( 1 * 2 ) );
				if( talker.param1 == talker.flag && talker.weight_point >= 0 ) {
					if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
						talker.quest_last_reward_time = myself::GetCurrentTick();
						talker.weight_point = 0;
						myself::ShowPage(talker,"blacksmith_duning_q0336_20.htm");
						if( talker.param2 == 42 ) {
							myself::GiveItem1(talker,3488,1);
						} else if( talker.param2 == 31 ) {
							myself::GiveItem1(talker,3495,1);
						} else if( talker.param2 == 21 ) {
							myself::GiveItem1(talker,3476,1);
						} else if( talker.param2 == 11 ) {
							myself::GiveItem1(talker,3484,1);
						}
						talker.param1 = 0;
					}
				} else if( talker.weight_point == 0 ) {
					if( talker.param1 == 21 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_23.htm");
					} else if( talker.param1 == 25 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_24.htm");
					} else if( talker.param1 == 37 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_25.htm");
					} else if( talker.param1 == 41 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_26.htm");
					} else if( talker.param1 == 61 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_27.htm");
					} else if( talker.param1 == 29 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_28.htm");
					} else if( talker.param1 == 45 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_29.htm");
					} else if( talker.param1 == 53 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_30.htm");
					} else if( talker.param1 == 57 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_31.htm");
					} else if( talker.param1 == 22 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_32.htm");
					} else if( talker.param1 == 26 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_33.htm");
					} else if( talker.param1 == 38 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_34.htm");
					} else if( talker.param1 == 42 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_35.htm");
					} else if( talker.param1 == 62 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_36.htm");
					} else if( talker.param1 == 30 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_37.htm");
					} else if( talker.param1 == 46 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_38.htm");
					} else if( talker.param1 == 54 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_39.htm");
					} else if( talker.param1 == 58 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_40.htm");
					} else if( talker.param1 == 23 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_41.htm");
					} else if( talker.param1 == 27 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_42.htm");
					} else if( talker.param1 == 39 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_43.htm");
					} else if( talker.param1 == 43 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_44.htm");
					} else if( talker.param1 == 63 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_45.htm");
					} else if( talker.param1 == 31 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_46.htm");
					} else if( talker.param1 == 47 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_47.htm");
					} else if( talker.param1 == 55 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_48.htm");
					} else if( talker.param1 == 59 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_49.htm");
					}
					talker.param1 = 0;
				} else {
					i0 = ( talker.param1 % 4 );
					i1 = ( talker.param1 / 4 );
					i2 = ( i1 / 4 );
					i1 = ( i1 % 4 );
					talker.flag = ( talker.flag * 1 );
					i3 = ( talker.flag % 4 );
					i4 = ( talker.flag / 4 );
					i5 = ( i4 / 4 );
					i4 = ( i4 % 4 );
					if( i0 == i3 ) {
						talker.param3 = ( talker.param3 + 1 );
					}
					if( i1 == i4 ) {
						talker.param3 = ( talker.param3 + 1 );
					}
					if( i2 == i5 ) {
						talker.param3 = ( talker.param3 + 1 );
					}
					if( talker.param3 == 1 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_50.htm");
					} else if( talker.param3 == 2 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_51.htm");
					} else if( talker.param3 == 0 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_52.htm");
					}
					talker.flag = 1;
					talker.weight_point = ( talker.weight_point - 1 );
				}
			} else if( reply == 21 ) {
				talker.param3 = 0;
				talker.flag = ( talker.flag + ( 1 * 3 ) );
				if( talker.param1 == talker.flag && talker.weight_point >= 0 ) {
					if( ( myself::GetCurrentTick() - talker.quest_last_reward_time ) > 1 ) {
						talker.quest_last_reward_time = myself::GetCurrentTick();
						talker.weight_point = 0;
						myself::ShowPage(talker,"blacksmith_duning_q0336_20.htm");
						if( talker.param2 == 42 ) {
							myself::GiveItem1(talker,3488,1);
						} else if( talker.param2 == 31 ) {
							myself::GiveItem1(talker,3495,1);
						} else if( talker.param2 == 21 ) {
							myself::GiveItem1(talker,3476,1);
						} else if( talker.param2 == 11 ) {
							myself::GiveItem1(talker,3484,1);
						}
						talker.param1 = 0;
					}
				} else if( talker.weight_point == 0 ) {
					if( talker.param1 == 21 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_23.htm");
					} else if( talker.param1 == 25 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_24.htm");
					} else if( talker.param1 == 37 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_25.htm");
					} else if( talker.param1 == 41 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_26.htm");
					} else if( talker.param1 == 61 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_27.htm");
					} else if( talker.param1 == 29 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_28.htm");
					} else if( talker.param1 == 45 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_29.htm");
					} else if( talker.param1 == 53 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_30.htm");
					} else if( talker.param1 == 57 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_31.htm");
					} else if( talker.param1 == 22 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_32.htm");
					} else if( talker.param1 == 26 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_33.htm");
					} else if( talker.param1 == 38 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_34.htm");
					} else if( talker.param1 == 42 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_35.htm");
					} else if( talker.param1 == 62 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_36.htm");
					} else if( talker.param1 == 30 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_37.htm");
					} else if( talker.param1 == 46 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_38.htm");
					} else if( talker.param1 == 54 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_39.htm");
					} else if( talker.param1 == 58 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_40.htm");
					} else if( talker.param1 == 23 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_41.htm");
					} else if( talker.param1 == 27 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_42.htm");
					} else if( talker.param1 == 39 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_43.htm");
					} else if( talker.param1 == 43 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_44.htm");
					} else if( talker.param1 == 63 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_45.htm");
					} else if( talker.param1 == 31 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_46.htm");
					} else if( talker.param1 == 47 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_47.htm");
					} else if( talker.param1 == 55 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_48.htm");
					} else if( talker.param1 == 59 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_49.htm");
					}
					talker.param1 = 0;
				} else {
					i0 = ( talker.param1 % 4 );
					i1 = ( talker.param1 / 4 );
					i2 = ( i1 / 4 );
					i1 = ( i1 % 4 );
					talker.flag = ( talker.flag * 1 );
					i3 = ( talker.flag % 4 );
					i4 = ( talker.flag / 4 );
					i5 = ( i4 / 4 );
					i4 = ( i4 % 4 );
					if( i0 == i3 ) {
						talker.param3 = ( talker.param3 + 1 );
					}
					if( i1 == i4 ) {
						talker.param3 = ( talker.param3 + 1 );
					}
					if( i2 == i5 ) {
						talker.param3 = ( talker.param3 + 1 );
					}
					if( talker.param3 == 1 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_50.htm");
					} else if( talker.param3 == 2 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_51.htm");
					} else if( talker.param3 == 0 ) {
						myself::ShowPage(talker,"blacksmith_duning_q0336_52.htm");
					}
					talker.flag = 1;
					talker.weight_point = ( talker.weight_point - 1 );
				}
			} else if( reply == 22 ) {
				myself::ShowPage(talker,"blacksmith_duning_q0336_01.htm");
			}
		}
		super;
	}

}
