@LabelIndex 416828
@StringIndex 62968
class 0 c_pailaka_bold_ranger : ai_castle_pailaka_ranger_npc {
handler:
	EventHandler TALKED(fhtml0,talker) {
		if( _from_choice == 0 ) {
			if( gg::HaveMemo(talker,727) == 1 && gg::GetMemoState(talker,727) == 2 ) {
				_choiceN = ( _choiceN + 1 );
				_code = 0;
				myself::AddChoice(0,"Hope within the Darkness (in progress)");
			}
			if( _choiceN > 1 ) {
				myself::ShowChoicePage(talker,0);
				return;
			}
		}
		if( _from_choice || _choiceN == 1 ) {
			switch(_code) {
				case 0: {
					if( _from_choice == 0 || ( gg::HaveMemo(talker,727) == 1 && gg::GetMemoState(talker,727) == 2 ) ) {
						myself::SetCurrentQuestID(727);
						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.i_quest0 == 2 ) {
							myself::SetMemoState(talker,727,3);
						}
					}
					break;
				}
			}
			return;
		}
		super;
	}

}
