//===== rAthena Script =======================================
//= Illusion
//===== Description: =========================================
//= [Walkthrough Conversion]
//--- NPC quests for Episode 17.1
//===== Changelog: ===========================================
//= 1.0 Initial release [crazyarashi]
//= 1.1 Optimizations and cleanup [Everade]
//= 1.2 iRO conversion for Innocent Menace [Capuche, Everade]
//============================================================

prt_cas_q,29,28,0	script	#EP_171_START	HIDDEN_WARP_NPC,2,2,{
	end;

OnTouch:
	if (terra_gloria_main == 25)
		cloakoffnpc "Nihil M. Heine#171_prtq",getcharid(0);
	end;
}

prt_cas_q,21,39,3	script	Nihil M. Heine#171_prtq	4_EP16_NIHIL,{
	if (terra_gloria_main == 25) {
		cutin "ep16_nihi_miseria_heine02",2;
		mes "[Nihil]";
		mes "I came here because I wanted to express my gratitude.";
		mes "Thanks to you, things have gotten better...";
		next;
		cutin "ep16_nihi_miseria_heine04",2;
		mes "[Nihil]";
		mes "However, not everything is going as expected.";
		mes "I think I may have to take Peter's place instead.";
		next;
		select("What does that mean?");
		cutin "ep16_nihi_miseria_heine01",2;
		mes "[Nihil]";
		mes "It appears I'm next in line to the throne.";
		mes "This is not what I wanted.";
		next;
		cutin "ep16_nihi_miseria_heine04",2;
		mes "[Nihil]";
		mes "Everyone else has a better right to the throne, they're natural and qualified for it.";
		mes "This is quite strange and unfamiliar to me.";
		next;
		mes "[Nihil]";
		mes "I've been in some discussions with the Schwarz's government, so I'll be busy for a while...";
		next;
		cutin "ep16_nihi_miseria_heine01",2;
		mes "[Nihil]";
		mes "It seems to me they like this arrangement.";
		mes "I believe the relationship between our two countries will be maintained in the future thanks to our efforts.";
		next;
		mes "[Nihil]";
		mes "If you still plan on attacking other enterprise facilities, you may want to rest first.";
		mes "For the time being, you will need strength.";
		next;
		cutin "ep16_nihi_miseria_heine02",2;
		mes "[Nihil]";
		mes "I hope you'll keep on going.";
		mes "Thank you again for all the help.";
		mes "I have to go now.";
		terra_gloria_main = 26;
		close2;
		cutin "",255;
		cloakonnpc strnpcinfo(0),getcharid(0);
	}
	end;

OnInit:
	cloakonnpc();
	end;
}

//= Einbech
einbech,215,79,0	script	#171_EINB_EV	HIDDEN_WARP_NPC,3,3,{
	end;

OnTouch:
	if (terra_gloria_main == 26 && isbegin_quest(7850) == 0)
		cloakoffnpc "Rebellion Crew#171_einb",getcharid(0);
	end;
}

einbech,219,80,3	script	Rebellion Crew#171_einb	4_M_REBELLION2,{
	if (terra_gloria_main == 26 && isbegin_quest(7850) == 0) {	// note: talking to this npc is not a prerequisite to the main quest
		mes "[Rebellion Crew]";
		mes "Hold on!";
		mes "We have recently expanded the field of operations.";
		mes "Due to this expansion, we've been able to set up a new base in Einbroch.";
		next;
		mes "[Rebellion Crew]";
		mes "Let me revel to you the new bases location.";
		mes "not far from the Einbroch railway station... there's a small bar called <NAVI>[Cat on Bullet]<INFO>einbroch,302,329,0,101,0</INFO></NAVI>, the next operation will be carried out there.";
		next;
		mes "[Rebellion Crew]";
		mes "I've delivered the information!";
		setquest 7850;
		close;
	}
	mes "[Rebellion Crew]";
	mes "It's a small bar next to the train station of Einbroch.";
	mes "<NAVI>[Cat on Bullet]<INFO>einbroch,302,329,0,101,0</INFO></NAVI>. Don't you think it's a cute name for a pub?";
	close;

OnInit:
	cloakonnpc();
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"terra_gloria_main == 26 && isbegin_quest(7850) == 0");
	end;
}

rebel_in,68,41,4	script	Rebellion Crew#171_rebelin		CLEAR_NPC,{
	if (isbegin_quest(11601) == 1) {
		mes "[Rebellion Crew]";
		mes "Oh! Welcome back!";
		mes "How are you doing lately?";
		next;
		select("We found an entry.");
		mes "[Rebellion Crew]";
		mes "I see... There was an entrance...";
		mes "Sorry for the trouble.";
		mes "I'm heading back to Cat on Bullet and I'll be resting a bit.";
		next;
		select("About Dien.");
		mes "[Rebellion Crew]";
		mes "Dien is having a cup of tea on the second floor, in her room.";
		completequest 11601;
		setquest 11602;
		close;
	}
	if (isbegin_quest(11602) == 1) {
		mes "[Rebellion Crew]";
		mes "Dien is having a cup of tea on the second floor, in her room.";
		close;
	}
	mes "[Rebellion Crew]";
	mes "What? I'm busy right now!";
	close;

OnInit:
	setunitdata getnpcid(0),UNPC_CLASS,JOB_REBELLION;
	setunitdata getnpcid(0),UNPC_SEX,SEX_FEMALE;
	setunitdata getnpcid(0),UNPC_HAIRSTYLE,17;
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(11601) == 1");
	end;
}

rebel_in,161,91,0	script	Ornament Box#171_rebelin	HIDDEN_NPC,{
	if (isbegin_quest(11602) == 1) {
		mes "- It contains an envelope. -";
		next;
		switch (select("Take a look.:Just take it.:Leave it.")) {
		case 1:
			cutin "ep171_trio_memory",1;
			mes "- It's an old picture with people you've met before. -";
			close3;

		case 2:
			mes "- I took the picture with me, let's give it back to Dien. -";
			completequest 11602;
			setquest 11603;
			getitem 25665,1;
			close;

		case 3:
			mes "- Carefully closed the box again. -";
			close;
		}
	}
	if (isbegin_quest(11603) == 1) {
		mes "- I took the picture with me, let's give it back to Dien. -";
		close;
	}
	mes "- It's locked. -";
	close;

OnInit:
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(11602) == 1");
	end;
}

//= Einbroch
einbroch,51,197,0	script	#171_EINBR_EV	HIDDEN_WARP_NPC,5,5,{
	end;

OnTouch:
	if (isbegin_quest(17003) == 1) {
		cloakoffnpc "Kaya Tos#171_einbr",getcharid(0);
		cloakoffnpc "Aas#171_einbr",getcharid(0);
	}
	end;
}

einbroch,42,208,3	script	Lazy#171_einbr	4_M_LAZY,{
	if (isbegin_quest(7850) < 2) {
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "Hooray, finally some air, huh.";
		mes "Let's go to Yuno. Huh?";
		close3;
	}
	if (isbegin_quest(17003) == 1) {
		cloakoffnpc "Kaya Tos#171_einbr",getcharid(0);
		cloakoffnpc "Aas#171_einbr",getcharid(0);
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Here, come. Here it is, Come over here.";
		next;
		select("Where are we going?");
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "That's what I'm trying to define adventurer. How can I set a destination when we have a VIP with us?";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Where do we go? The VIP will decide. I will follow wherever you choose.";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "Don't you have to go the headquarters to investigate?";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "I don't have to go to the headquarters to investigates~";
		mes "Let's first look at the situation and the background information we have.";
		mes "Then we'll look at the circumstances surrounding it.";
		next;
		mes "[Lazy]";
		mes "Do you know how to investigate, set yourself a concrete goal with a detailed plan? I know a thing or two~";
		next;
		mes "[Lazy]";
		mes "Ahahaha! Courtesy, courtesy! Let's be polite to our VIP!";
		npctalk "What Daisy is saying... It's true, but strangely unpleasant.","Kaya Tos#171_einbr",bc_self;
		unittalk getcharid(3),strcharinfo(0) + " : I know right?",bc_self;
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "How about we start with something a little less difficult, how about we start this investigation differently? How about we let the VIP choose.";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "Well, what am I supposed to choose?";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Pick on of the names on the list randomly. If I select one, you'd say I manipulated the results later otherwise.";
		npctalk "I'm the embodiment of disbelief~","",bc_self;
		next;
		cutin "ep171_kaya03",0;
		mes "[Kaya]";
		mes ".....";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "Why are you looking at me like that? Don't you believe my heart?";
		npctalk "Do you like my heart? I'm afraid I cant. My heart already has a owner.","",bc_self;
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "Here, I choose that one. What are we going to do next?";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Let me see... ^0000CDPatrick Kaufmann^000000.";
		mes "Well... that name is long, let's call him ^0000CDPat^000000 instead.";
		next;
		select("Don't change his name!");
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "Oh? Is it not economical? What's wrong, we'll save time using the name.";
		mes "Also this will be a codename we can use among ourselves when refer to this scientist.";
		next;
		mes "[Lazy]";
		mes "I've been an agent for a long time, I know these things. There's an official way to handle these, but I can't tell you that information.";
		unittalk getcharid(3),strcharinfo(0) + " : I'm not surprised anymore.",bc_self;
		npctalk "Oh... It's possible.","Kaya Tos#171_einbr",bc_self;
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Now, can we all go together and find Pat? Lighthalzen is to the east. It is often said to be a ^0000CDslum^000000. Of course, our VIP knows all about this already, right?";
		mes "You'd have read this in your paperwork.";
		npctalk "As you can see, no misunderstanding, only the truth~","",bc_self;
		next;
		cutin "ep171_kaya03",0;
		mes "[Kaya]";
		mes "What's your plan?";
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "Since he was a child, he would pick things up and fix them, and then resell. It's a talent that's been lost nowadays.";
		next;
		mes "[Lazy]";
		mes "At the age 21, he received a special award for low-income families. It caused a lot of envy from the people around him.";
		npctalk "Family pride~ huh, isn't that great.","",bc_self;
		next;
		mes "[Lazy]";
		mes "He was moved to another Rekenber facility after 5 months, and then there is no record after that.";
		mes "That's all the information about Pat.";
		npctalk "This is as far as I've investigated.","",bc_self;
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Our VIP has chosen a very suitable candidate for our investigation. I applaud you. It was a good idea.";
		mes "It's not a common person on the list.";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "Are we only going to investigate him? What about the others?";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "How do you want to investigate so many people with only so few of us?";
		mes "We focus on one person, don't you know how it works?";
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "After all, they all disappeared in a similar fashion. So once we figure out what happened to one of them, we'll know what happened to the rest too.";
		next;
		select("What am I going to do here?");
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Good morning~ From now on VIP's, the journey of Pat from his work to Rekenber to the present is for us to figure out~ with Lazy and his team~";
		npctalk "Woah~ I usually get applauded here.","",bc_self;
		next;
		cutin "ep171_kaya03",0;
		mes "[Kaya]";
		mes "So what? When you do your investigations, do you think it's a game?";
		npctalk "Vice President, it's not too late to go back now.","Aas#171_einbr",bc_self;
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "Do I seem like a joke to you VIP?";
		mes "I'm quite serious, don't you believe me VIP?";
		next;
		mes "[Lazy]";
		mes "We'll follow Pat's work schedule. We can follow his traces and understand a bit more about what happened as to why he's missing.";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "You've never taken a good look at the Lighthalzen village. I'm from a big city and I know a few places I can recommend to start with.";
		next;
		cutin "ep171_as01",1;
		mes "[Aas]";
		mes "When you say Lighthalzen is a village, what do you mean?";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "Guard, are you tired? Compared to Yuno, Lighthalzen is a small village.";
		mes "Yuno is a really nice place. I often say this. Yuno is the city of Sages. Well, I would say it differently.";
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "The jewel of Rune-Midgard, the heart of the country, is Yuno. Everyone should visit at least once.";
		mes "If anyone would ask me about the future of Rune-Midgard, I'd bet my life it would be the brilliant city of Yuno.";
		unittalk getcharid(3),strcharinfo(0) + " : Lazy, I need you to be more modest.",bc_self;
		npctalk "Aaaah. I love Yuno. *Laughs*","",bc_self;
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Anyway, there's nothing as good as traveling around here and there.";
		mes "It's also very good to deceive others. Why would suspect a tourist? Right?";
		npctalk "The VIP will take his special itinerary, we'll be waiting for you there.","",bc_self;
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "Should we really do that? Go to the headquarters and investigate?";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "There are some things you can't learn from paperwork. Can a VIP explain what the yellow color is someone who doesn't know yellow?";
		next;
		mes "[Lazy]";
		mes "Wouldn't it be quicker to just show the person yellow flowers and explain it?";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "There are many things I don't know outside my papers. That's partly why I came along with you.";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "That's right. Do you feel bad? It's the truth though. Only mouth to mouth reveal true facts.";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "I understand. If we don't go over there, there will be only controversy with our reports.";
		npctalk "Vice President? Are you serious?","Aas#171_einbr",bc_self;
		npctalk "Doesn't it make sense to you? If I don't understand something, I have to see it.","",bc_self;
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "That's the purpose of this tour. Now let's go, we don't have much time.";
		mes "Let's head over there with a non-fair First Class seat, it will be more comfortable.";
		next;
		select("First Class? Last time we traveled...");
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "Hey!! I'm on official duty now! I'm also going to take First Class.";
		mes "Does the adventurer not have a First Class fake pass?";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "Nobody has the money to pay First Class except the VIP. He can just bring us along.";
		next;
		cutin "ep171_kaya03",0;
		mes "[Kaya]";
		mes "Hmm!";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Thank you! Courtesy, courtesy! Now, let's all go to <NAVI>[Lighthalzen]<INFO>lighthalzen,259,215,0,101,0</INFO></NAVI>?";
		completequest 17003;
		setquest 17004;
		close2;
		cutin "",255;
		warp "lighthalzen",246,76;
		end;
	}
	if (isbegin_quest(17004) == 1) {
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Now, let's all go to <NAVI>[Lighthalzen]<INFO>lighthalzen,259,215,0,101,0</INFO></NAVI>.";
		close2;
		cutin "",255;
		warp "lighthalzen",246,76;
		end;
	}
	cutin "16lei_01",2;
	mes "[Lazy]";
	mes "Aren't you supposed to be working right now?";
	close3;

OnInit:
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(17003) == 1");
	end;
}

einbroch,41,204,7	script	Kaya Tos#171_einbr	4_EP17_KAYA,{
	cutin "ep171_kaya01",2;
	mes "[Kaya]";
	mes "Shouldn't we listen to what Daisy have to say?";
	close3;

OnInit:
	cloakonnpc();
	end;
}

einbroch,39,205,7	script	Aas#171_einbr	4_EP17_AS,{
	cutin "ep171_as02",2;
	mes "[Aas]";
	mes "Do you know where Daisy is trying to bring us? Can we trust you?";
	close3;

OnInit:
	cloakonnpc();
	end;
}

//= Einbroch Field
ein_fild01,91,133,0	script	#171_EV_EINF01	HIDDEN_WARP_NPC,5,5,{
	end;

OnTouch:
	if (isbegin_quest(17013) == 1)
		cloakoffnpc "Kaya Tos#171_einf",getcharid(0);
	end;
}

ein_fild01,103,137,0	duplicate(#171_EV_EINF01)	#171_EV_EINF02	HIDDEN_WARP_NPC,5,5
ein_fild01,107,149,0	duplicate(#171_EV_EINF01)	#171_EV_EINF03	HIDDEN_WARP_NPC,5,5

ein_fild01,95,146,5	script	Kaya Tos#171_einf	4_EP17_KAYA,{
	if (isbegin_quest(17013) == 1) {
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "Here we are, Sector 01 - Section 95-146 in the Einbroch Mountains.";
		mes "This is the new laboratory.";
		next;
		select("There's nothing here.");
		cutin "ep171_kaya02",0;
		mes "[Kaya]";
		mes "I thought it was here. Lazy must be wondering ^0000FFwhat this means.^000000 I only saw the world from sitting at my desk. I believed my view was true.";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "Everything I've heard and saw... I feel as if there was an invisible person manipulating everything. This is not a scenario I thought could be possible.";
		next;
		cutin "ep171_kaya02",0;
		mes "[Kaya]";
		mes "Even if everything looks fine on the surface, there are so many lies within. I've been deceived.";
		next;
		mes "["+ strcharinfo(0) + "]";
		mes "If you don't investigate with suspicious, you won't see any problems on the surface.";
		next;
		cloakoffnpc "Aas#171_einf",getcharid(0);
		cloakoffnpc "Lazy#171_einf",getcharid(0);
		mes "[Aas]";
		mes "But that's so... not trusting...";
		npctalk "But that's so... not trusting...","Aas#171_einf",bc_self;
		npctalk "But it's very useful, isn't it?","Lazy#171_einf",bc_self;
		next;
		mes "[Aas]";
		mes "Yes... that's true.";
		npctalk "Yes... that's true.","Aas#171_einf",bc_self;
		npctalk "If you want, I can teach you more tricks. It's very useful in the real world.","Lazy#171_einf",bc_self;
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "Hey, you're there already. How is it? What have you found out with your own two eyes?";
		npctalk "Oh... are there more techniques? I'm glad to hear it.","Aas#171_einf",bc_self;
		next;
		cutin "ep171_kaya02",0;
		mes "[Kaya]";
		mes "I realized that papers are easy tools to deceive someone who's only sitting at a desk and doing their own thing.";
		next;
		cutin "ep171_as01",1;
		mes "[Aas]";
		mes "There is no lab here. There was nothing on our end either.";
		mes "Absolutely nothing.";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "If everything on that document is false, then we can't find any more information.";
		next;
		cutin "ep171_as01",1;
		mes "[Aas]";
		mes "What do we do now?";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Well. We have to keep looking for the location of this new laboratory. When we find it, we'll have to research it from the inside.";
		npctalk "Who else has better ideas?","Lazy#171_einf",bc_self;
		next;
		select("You don't have anything else Lazy?");
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "Dear adventurer, have you forgotten who's been helping you now? The Rebellion has been roaming these areas.";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "The laboratory that I discovered a while, and the waste site. I'm sure it's only a matter of time before it's revealed. It must be nearby.";
		next;
		select("How do you know?");
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "It requires a large workforce and a lot of materials to build a research facility. Even after its construction, materials should still be constantly coming in.";
		mes "Wouldn't it be too hard for such supplies to pass through the borders?";
		next;
		mes "[Kaya]";
		mes "So the laboratory is probably still in Schwarzwald. The materials can't be transported in the open,";
		mes "so we have to look for a secret location, I guess it's going to be in one of those locations.";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Did you hear that? That's smart.";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "As of now, Rekenber will now ^0000FFdedicate itself to cooperate with the investigation.^000000 Please tell me everything you need. We'll support you anyway we can.";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Alright, I'm glad to hear it, and I will gladly accept your cooperation.";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "I would like to personally apologize to Daisy. I'm sorry I didn't believe you. Thank you for coming to us.";
		next;
		mes "[Kaya]";
		mes "Daisy, if you need anything, please come and visit me at anytime.";
		mes "You'll always be welcome.";
		npctalk "Hmm... I don't have any objection with that.","Lazy#171_einf",bc_self;
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "In the future, please call me Lazy. Let's go with me for another adventurer one day. Come to Yuno every now and then.";
		npctalk "I always hide in Yuno's restaurants~","Lazy#171_einf",bc_self;
		next;
		mes "[Lazy]";
		mes "But that's for another day. Let's focus on the mission at hand.";
		next;
		select("Should I investigate further?");
		mes "[Lazy]";
		mes "Why not? What more can you do here, Hmm. I'm a little hungry. My legs hurt too. I need to get back to work. I'll have to deal with the VIP as well.";
		next;
		mes "[Lazy]";
		mes "As such, I'm going to report the investigation regarding Pat's journey.";
		mes "Everyone, let's go back to <NAVI>[Cat on Bullet]<INFO>pub_cat,93,105,0,000,0</INFO></NAVI>~";
		getexp 600000,600000;
		completequest 17013;
		setquest 17014;
		getitem 25723,20;
		close3;
	}
	cutin "ep171_kaya01",0;
	mes "[Kaya]";
	mes "Did you go to <NAVI>[Cat on Bullet]<INFO>pub_cat,93,105,0,000,0</INFO></NAVI> yet?";
	mes "Let's hurry. There's still a lot to do.";
	close3;

OnInit:
	cloakonnpc();
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(17013) == 1");
	end;
}

ein_fild01,94,145,5	script	Aas#171_einf	4_EP17_AS,{
	cutin "ep171_as03",2;
	mes "[Aas]";
	mes "Let's go back to <NAVI>[Cat on Bullet]<INFO>pub_cat,93,105,0,000,0</INFO></NAVI>.";
	mes "I think we should hurry.";
	close3;

OnInit:
	cloakonnpc();
	end;
}

ein_fild01,97,144,1	script	Lazy#171_einf	4_M_LAZY,{
	cutin "16lei_03",2;
	mes "[Lazy]";
	mes "Let's go to <NAVI>[Cat on Bullet]<INFO>pub_cat,93,105,0,000,0</INFO></NAVI>.";
	mes "I'm already hungry.";
	close3;

OnInit:
	cloakonnpc();
	end;
}

ein_fild03,278,269,4	script	Rebellion Crew#171_einf	CLEAR_NPC,{
	if (isbegin_quest(7865) == 1) {
		mes "[Rebellion Crew]";
		mes "Hehe?...";
		mes "I can't believe this area is disguised as an abandoned mine.";
		mes "Such a clumsy tricks~ He~ Boring~";
		next;
		select("Please talk.");
		mes "[Rebellion Crew]";
		mes "Shh!";
		mes "Not so loud!!";
		mes "If we get caught, we're done for!!";
		emotion ET_HUK;
		next;
		mes "[Rebellion Crew]";
		mes "Oh... I thought you were a rebellion member too.";
		next;
		mes "[Rebellion Crew]";
		mes "Do you see the ^FF0000mine entrance^000000 blocked by wire mesh?";
		mes "I think it's the entrance to their main base.";
		next;
		mes "[Rebellion Crew]";
		mes "I tried to get in a while ago, but it was blocked by wire mesh. I could see suspicious movements from the outside.";
		next;
		mes "[Rebellion Crew]";
		mes "If you go in by force, you will get chased down by dogs. You should ^FF0000scout nearby^000000 and wait for more support.";
		next;
		mes "[Rebellion Crew]";
		mes "I've never seen anyone go onside...";
		mes "I don't really know what's going to happen, so why don't you go have a look around?";
		navigateto("ein_fild03",347,219);
		completequest 7865;
		setquest 11596;
		close;
	}
	if (isbegin_quest(7865) == 2 && isbegin_quest(11599) == 0) {
		mes "[Rebellion Crew]";
		mes "I've never seen anyone go onside...";
		mes "I don't really know what's going to happen, so why don't you go have a look around?";
		close;
	}
	if (isbegin_quest(11599) == 1) {
		mes "[Rebellion Crew]";
		mes "Hmmm.";
		mes "There are no signs of people around...";
		next;
		select("I'm going inside.");
		mes "[Rebellion Crew]";
		mes "I'm not joking, it's dangerous.";
		mes "You're just going in to look right?";
		mes "Tell me again when you're ^FF0000ready to go inside.^000000";
		completequest 11599;
		setquest 11600;
		getexp 100000,100000;
		close;
	}
	if (isbegin_quest(11600) == 1) {
		mes "[Rebellion Crew]";
		mes "Are you all set?";
		next;
		.@md_name$ = "Sealed OS";
		.@party_id = getcharid(1);
		.@party_name$ = getpartyname(.@party_id);
		switch (select("Open the gate.:Go inside.:Quit.")) {
		case 1:
			if (!.@party_id) {
				mes "[Rebellion Crew]";
				mes "It's dangerous to go alone.";
				mes "Wouldn't it be nice to go in with a ^FF0000party^000000?";
				close;
			}
			if (!is_party_leader()) {
				mes "[Rebellion Crew]";
				mes "That's weird~";
				mes "Wait a minute.";
				mes "Maybe the ^FF0000party leader^000000 hasn't opened the gate yet?";
				close;
			}
			if (instance_create(.@md_name$) == -3)
				dispbottom "The reservation of the instance '" + .@md_name$ + "' has failed due to an active instance.";
			mes "[Rebellion Crew]";
			mes "Please wait a minute.";
			close;
		case 2:
			if (instance_enter(.@md_name$) == IE_OK)
				mapannounce "ein_fild03", strcharinfo(0) + " of the party, "+ .@party_name$ +", is entering the " + .@md_name$ + ".", bc_map, "0x00FF99";
			else {
				mes "[Rebellion Crew]";
				mes "That's weird~";
				mes "Wait a minute.";
				mes "I don't think the gate is open, right?";
			}
		case 3:
		}
		close;
	}
	if (isbegin_quest(11601) == 1) {
		mes "[Rebellion Crew]";
		mes "What?!";
		mes "Have you forgotten the road to Clana Nemieri?";
		next;
		mes "[Rebellion Crew]";
		mes "What happened to you?";
		navigateto("rebel_in",68,41);
		close;
	}
	if (isbegin_quest(11602) == 1) {
		mes "[Rebellion Crew]";
		mes "What?!";
		mes "Dien's room?";
		mes "It's on the second floor of Clana Nemieri.";
		close;
	}
	mes "[Rebellion Crew]";
	mes "Huh...";
	mes "It used to be great...";
	mes "It was great...";
	close;

OnInit:
	setunitdata getnpcid(0),UNPC_CLASS,JOB_REBELLION;
	setunitdata getnpcid(0),UNPC_SEX,SEX_MALE;
	setunitdata getnpcid(0),UNPC_HAIRSTYLE,17;
	setunitdata getnpcid(0),UNPC_HEADBOTTOM,0;
	setunitdata getnpcid(0),UNPC_HEADMIDDLE,1561;
	setunitdata getnpcid(0),UNPC_HEADTOP,1406;
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(7865) == 1");
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(11599) == 1");
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(11600) == 1");
	end;
}

ein_fild03,347,219,0	script	#171_EINF03_EV_0	HIDDEN_WARP_NPC,3,3,{
	end;

OnTouch:
	.@id = atoi(replacestr(strnpcinfo(2),"171_EINF03_EV_",""));
	.@qid = 11596 + .@id;
	if (isbegin_quest(.@qid) == 1) {
		mes "- Nothing special here. -";
		if (.@qid == 11598) {
			mes "- Let's go back to the Rebellion. -";
		} else {
			mes "- Let's look somewhere else. -";
		}
		completequest .@qid;
		setquest .@qid + 1;
		switch (.@id) {
			case 0: navigateto("ein_fild03",268,207); break;
			case 1: navigateto("ein_fild03",218,266); break;
			case 2: navigateto("ein_fild03",278,269); break;
		}
	}
	end;

OnInit:
	.@id = atoi(replacestr(strnpcinfo(2),"171_EINF03_EV_",""));
	.@qid = 11596 + .@id;
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(" + .@qid + ") == 1");
	end;
}

ein_fild03,268,207,0	duplicate(#171_EINF03_EV_0)	#171_EINF03_EV_1	HIDDEN_WARP_NPC,3,3
ein_fild03,218,266,0	duplicate(#171_EINF03_EV_0)	#171_EINF03_EV_2	HIDDEN_WARP_NPC,3,3

//= Lighthalzen
lighthalzen,56,270,3	script	Republic Guard#171_light	4_M_EIN_SOLDIER,{
	if (isbegin_quest(7861) == 0) {
		npctalk "It is prohibited to go further, please step back.","",bc_self;
		end;
	}
	if (isbegin_quest(7861) == 1) {
		mes "[Republic Guard]";
		mes "I've been contacted by Tes.";
		mes "Don't worry I belong to the Secret Wing.";
		mes "Aas and Est went to look around this area.";
		next;
		cloakoffnpc "Commander Est#171_light",getcharid(0);
		cloakoffnpc "Aas#171_light",getcharid(0);
		cloakoffnpc "Emily#171_light",getcharid(0);
		npctalk "Est : Now we can enter.","Commander Est#171_light",bc_self;
		mes "[Republic Guard]";
		mes "Oh, there they are.";
		next;
		cutin "ep162_est01",2;
		mes "[Est]";
		mes "You've arrived at a good time.";
		mes "I was just about to enter.";
		mes "I've already used all the guys I brought along, so I needed some back up.";
		next;
		mes "[Est]";
		mes "It looks like there aren't enough to go inside...";
		next;
		cutin "ep171_as01",0;
		mes "[Aas]";
		mes "That was the plan. I told our soldiers to not harm anyone, and to keep a lookout. They won't fight carelessly.";
		next;
		mes "[Aas]";
		mes "I need to know more about the current situation.";
		mes "So first things first, this operation is meant to gather more information, and then we'll launch a full attack later...";
		next;
		cutin "ep162_est01",2;
		mes "[Est]";
		mes "Hehe. Right. So me and Aas will go first.";
		mes "The rest will be waiting, and they'll come in and when we give the signal.";
		next;
		npctalk "Emily : Yes captain, don't worry!","Emily#171_light",bc_self;
		mes "[Est]";
		mes "It's more important to block out all the exits so that nobody escapes.";
		mes "Everyone else, you know what to do right?";
		next;
		mes "[Est]";
		mes "I'll go using another route, I'll leave it up to Aas and the adventurer.";
		mes "Let's meet inside.";
		next;
		cutin "ep171_as01",0;
		mes "[Aas]";
		mes "Yes I understand.";
		mes "Well then, I'll tell Oscar to open the door. We have to do this!";
		completequest 7861;
		setquest 7862;
		cloakonnpc "Commander Est#171_light",getcharid(0);
		cloakonnpc "Emily#171_light",getcharid(0);
		close3;
	}
	if (isbegin_quest(7862) == 1) {
		mes "[Republic Guard]";
		mes "The entrance is secured by Oscar who is standing up ahead the front gate.";
		mes "Me and the Rebellions will stay outside. Aas will be inside.";
		mes "Good luck!";
	}
	close;

OnInit:
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(7861) == 1");
	end;
}

lighthalzen,58,268,3	script	Aas#171_light	4_EP17_AS,{
	cutin "ep171_as01",0;
	mes "[Aas]";
	mes "We have to open the main gate.";
	mes "Let's open the door with Oscar.";
	close3;

OnInit:
	cloakonnpc();
	end;
}

lighthalzen,54,267,5	duplicate(dummy_cloaked_npc)	Commander Est#171_light	4_F_ESTLOVELOY
lighthalzen,55,265,1	duplicate(dummy_cloaked_npc)	Emily#171_light	4_F_ANYA

lighthalzen,55,278,3	script	Rekenber Guard Oscar#171_light	4_M_LGTGUARD,{
	if (isbegin_quest(7862) == 0) {
		npctalk "Rekenber Guard : This place is restricted.","",bc_self;
		end;
	}
	if (isbegin_quest(7862) == 1) {
		mes "[Oscar]";
		mes "The entrance for the lab has double locks.";
		mes "It's closed from the inside.";
		mes "It will be difficult to get it.";
		next;
		mes "[Oscar]";
		mes "I'm not too sure about the locks on the inside, so I don't know yet.";
		mes "Let's secure 'Regenschirm' and find out.";
		mes "Are you ready?";
		next;
		.@md_name$ = "Regenschirm";
		.@party_id = getcharid(1);
		.@party_name$ = getpartyname(.@party_id);
		if (!.@party_id) {
			mes "^4D4DFFThis place is a memorial dungeon.";
			mes "Please form a party and try again.^000000";
			mes "To create a party with the following command ^4D4DFF'/organize PARTY NAME'.^000000";
			close;
		}
		if (select("Create '" + .@md_name$ + "'","Enter '" + .@md_name$ + "'") == 1) {
			if (!is_party_leader()) {
				mes "[Oscar]";
				mes "The route hasn't been secured yet. Why don't you ask your party leader to prepare the route?";
				close;
			}
			mes "[Oscar]";
			mes "If you're ready, please enter.";
			mes "The locks on the inside will be handled by Aas.";
			if (instance_create(.@md_name$) == -3)
				dispbottom "The reservation of the instance '" + .@md_name$ + "' has failed due to an active instance.";
		} else {
			if (instance_enter(.@md_name$) == IE_OK) {
				mes "[Oscar]";
				mes "They already secured the route.";
				mes "Let's quietly move inside.";
				close2;
				mapannounce "lighthalzen", strcharinfo(0) + " of the party, "+ .@party_name$ +", is entering the " + .@md_name$ + ".", bc_map, "0x00FF99";
			} else {
				mes "[Oscar]";
				mes "There was a movement detected on the route that we've secured.";
				mes "Let's wait a bit.";
			}
		}
		close;
	}
	if (isbegin_quest(7862) == 2) {
		mes "[Oscar]";
		mes "You have a message from Tes back at the Cat on Bullet.";
		mes "Please return back soon.";
	}
	close;

OnInit:
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(7862) == 1");
	end;
}

lighthalzen,259,215,3	script	Lazy#171_lhz	4_M_LAZY,{
	if (isbegin_quest(7850) < 2) {
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "The Rekenber roads are wide and gleaming~ everyone knows about the Schwarzwald Republic~";
		close3;
	}
	if (isbegin_quest(17004) == 1) {
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Please gather around~ Let's check the number of people! Kaya Tos! Kaya Tos?";
		next;
		cloakoffnpc "Kaya Tos#171_lhz",getcharid(0);
		cloakoffnpc "Aas#171_lhz",getcharid(0);
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes ".....";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Oh, there you are! Gather around!";
		mes "There we're all together now!";
		npctalk "The adventurer is my secretary, that's my guard.","",bc_self;
		unittalk getcharid(3),strcharinfo(0) + " : I'm what?",bc_self;
		next;
		cutin "ep171_kaya03",0;
		mes "[Kaya]";
		mes "The investigation is looking good, but could you stop this ridiculous behavior.";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "I thought the VIP said there were only two conditions? Besides, everyone has already heard me.";
		npctalk "Should I do everything to please you?","",bc_self;
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "We're now officially travelers from the Schwarzwald Republic. It would be hard to look around while hiding everywhere we went to anyway.";
		next;
		mes "[Lazy]";
		mes "Traveling here is truly awesome~ I can feel this excitement. How do you think historians will write this day?";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "Kaya, relax. Leave your problems behind and just pretend you're on a holiday. You'll get a clearer perspective.";
		next;
		mes "[Lazy]";
		mes "First, try to look around on this trip. See how you feel about it.";
		mes "What should you do if you feel something? You should act upon it.";
		next;
		mes "[Lazy]";
		mes "A small report~ It's not just to admire and do nothing, right?";
		mes "Surely... there's a reason why you're traveling with us.";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "By the way, did the VIP feel uncomfortable with non-fair use of the First Class? The start is uncomfortable, but the rest of the journey will be smooth.";
		next;
		mes "[Lazy]";
		mes "When I went by train, that felt like more First Class. Was it a good experience?";
		npctalk "The meals were delicious. And there was no sickness.","",bc_self;
		unittalk getcharid(3),strcharinfo(0) + " : I was feeling sick the whole time!",bc_self;
		next;
		mes "[Lazy]";
		mes "The VIP is getting familiar with us, it will give him some inspiration. Ahahaha.";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "We should hurry up.";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "The VIP wants to be economical. I understand. Let me explain our plan as economically as possible.";
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "Here at Lighthalzen, the downtown and the slums coexist with one another. Both sides has structures that make it hard to easily cross the railway from the side to the other.";
		next;
		mes "[Lazy]";
		mes "Normally, we'd all be issued a pass to go around freely, but we don't have time for now this is the best I've managed to prepare.";
		npctalk "Also it's easier than getting into my house.","",bc_self;
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "What is that?";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Oh, don't worry it's kind of a free pass for our agents. Of course, you don't need to know more.";
		unittalk getcharid(3),strcharinfo(0) + " : I'm just glad we don't have to go through a small hole.",bc_self;
		next;
		mes "[Lazy]";
		mes "Now we should go to the <NAVI>[slums]<INFO>lighthalzen,336,266,0,101,0</INFO></NAVI> next.";
		completequest 17004;
		setquest 17005;
		close2;
		cutin "",255;
		warp "lighthalzen",316,227;
		cloakonnpc "Kaya Tos#171_lhz",getcharid(0);
		cloakonnpc "Aas#171_lhz",getcharid(0);
		cloakoffnpc "Kaya Tos#171_lhz2",getcharid(0);
		cloakoffnpc "Aas#171_lhz2",getcharid(0);
		end;
	}
	if (isbegin_quest(17005) == 1) {
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "I've found where to go next. Let's go over to the<NAVI>[slums]<INFO>lighthalzen,336,266,0,101,0</INFO></NAVI> next.";
		close3;
	}
	cutin "16lei_01",2;
	mes "[Lazy]";
	mes "Let's go to the headquarters. The Rekenber roads are wide and gleaming~ everyone knows about the Schwarzwald Republic~";
	npctalk "The Rekenber roads are wide and gleaming~ everyone knows about the Schwarzwald Republic~","",bc_self;
	close3;

OnInit:
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(17004) == 1");
	end;
}

lighthalzen,316,227,0	script	#EP171_EVT_LHZ	HIDDEN_WARP_NPC,5,5,{
	end;

OnTouch:
	if (isbegin_quest(17005) == 1) {
		cloakoffnpc "Kaya Tos#171_lhz2",getcharid(0);
		cloakoffnpc "Aas#171_lhz2",getcharid(0);
	}
	end;
}

lighthalzen,336,266,3	script	Lazy#171_lhz2	4_M_LAZY,{
	if (isbegin_quest(17005) == 1) {
		cloakoffnpc "Kaya Tos#171_lhz2",getcharid(0);
		cloakoffnpc "Aas#171_lhz2",getcharid(0);
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "This is Pat's home. This is where Pat first got into contact with Rekenber and met a staff member.";
		sleep2 2000;
		specialeffect EF_DA_SPACE,AREA,"Pat#171_lhz";
		specialeffect EF_DA_SPACE,AREA,"Recruiter#171_lhz";
		cloakoffnpc "Pat#171_lhz",getcharid(0);
		cloakoffnpc "Recruiter#171_lhz",getcharid(0);
		sleep2 2000;
		npctalk "Here, the job application...","Recruiter#171_lhz",bc_self;
		sleep2 2000;
		npctalk "Can I really apply for this job...?","Pat#171_lhz",bc_self;
		sleep2 2000;
		npctalk "Anyone can do it.","Recruiter#171_lhz",bc_self;
		sleep2 2000;
		npctalk "Are you sure?","Pat#171_lhz",bc_self;
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "Pat probably worked hard to get a chance out of poverty and live a better life. He wanted to start anew.";
		sleep2 2000;
		npctalk "Thank you so much!","Pat#171_lhz",bc_self;
		sleep2 2000;
		cloakonnpc "Recruiter#171_lhz",getcharid(0);
		sleep2 500;
		cloakonnpc "Pat#171_lhz",getcharid(0);
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Heyo! There you are. Mom, Dad, how are you?";
		next;
		cloakoffnpc "Pat's Mother#171_lhz",getcharid(0);
		cloakoffnpc "Pat's Father#171_lhz",getcharid(0);
		cutin "",255;
		mes "[Mother]";
		mes "Who...?";
		next;
		mes "[Father]";
		mes "Oh, he's the one who's been searching for Patrick a while ago.";
		unittalk getcharid(3),strcharinfo(0) + " : Did you come here before?",bc_self;
		npctalk "Was it only here?","",bc_self;
		next;
		mes "[Mother]";
		mes "Aah, that's you! Did you meet... with Pat?";
		next;
		mes "[Father]";
		mes "Why'd you think they lose someone who was doing well in the Enterprise?";
		next;
		mes "[Mother]";
		mes "No, something is definitely not right! He's not the type of person that would ^0000FFjust stop contacting us.^000000";
		next;
		mes "[Father]";
		mes "If you're not too busy, perhaps you could keep looking! I'm doing everything to send the paychecks all the way!";
		next;
		mes "[Mother]";
		mes "Eh? Of course that's important!";
		mes "It's how we're able to provide for Pat. But it's strange we haven't heard back from him yet.";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Heeey~ Mom, don't fight with Dad.";
		npctalk "Who's fighting?","Pat's Father#171_lhz",bc_self;
		next;
		mes "[Lazy]";
		mes "I came here with a very high ^0000FFimportant^000000 member of your son's company. What did I tell you the other day? He's came to see the welfare of the families who have hired special talent.";
		unittalk getcharid(3),strcharinfo(0) + " : Have you already investigated this lead?",bc_self;
		npctalk "It's one of the many ways to approach people, so watch and learn. I've got of plenty of tricks in my bag.","",bc_self;
		next;
		cutin "",255;
		mes "[Father]";
		mes "Hello~ Is this him?";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Yes, that's him. You can ask him questions as much as you'd like. He came here for this sole reason.";
		npctalk "You can use any words you want, you don't have to hesitate.","",bc_self;
		sleep2 2000;
		unittalk getcharid(3),strcharinfo(0) + " : I guess I'm the one who will have to handle this.",bc_self;
		sleep2 2000;
		npctalk "You notice things quickly.","",bc_self;
		next;
		cutin "",255;
		mes "[Father]";
		mes "Hello~ I don't really know where to begin... Thank you for taking in my son, my family isn't worried having enough food to survive anymore. Thank you, thank you.";
		next;
		mes "[Father]";
		mes "You may think my son isn't worthy but he's very good at fixing things.";
		next;
		mes "[Father]";
		mes "Thanks to the employment, I have a job and can feed my family now. I take pride in it.";
		next;
		mes "[Mother]";
		mes "But, we don't even know if he's alive or not.";
		next;
		mes "[Father]";
		mes "I wonder whether or not I should go to the company and ask for him directly, I'm busy at work and I can't contact him.";
		next;
		mes "[Father]";
		mes "I don't want to get in trouble with the company, I told my son to follow orders and not complain.";
		next;
		mes "[Father]";
		mes "If there's a problem on how things are going, please let us know. From his childhood, he's always been listening closely and he can fix anything.";
		next;
		mes "[Mother]";
		mes "Please honey! You're not asking the important questions. Is there any regulation prohibiting my son from contacting us? I haven't contacted since the day my child was hired, I can't even contact him myself...";
		npctalk "He's probably on vacation! Thank you for getting me a job!","Pat's Father#171_lhz",bc_self;
		sleep2 2000;
		npctalk "There's no way, they'd have never given him a day off?","Pat's Mother#171_lhz",bc_self;
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "There are no regulations to restrict personal contact. We also pay holidays based on the government's recommendation... Your son says he's on vacation.";
		next;
		cutin "",255;
		mes "[Father]";
		mes "So you mean to say Patrick wouldn't even come visit us?";
		next;
		mes "[Mother]";
		mes "Maybe he doesn't like us anymore... ^0000FFOn my first vacation^000000, I just came back to my family and talked to them.";
		next;
		mes "[Father]";
		mes "Oh, I can do that when I'm at work!";
		mes "What the hell are you doing with the Enterprise people! How come it's gone this far!";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Gosh! Mom, Dad! Thank you! So you can't even contact him, aren't you curious what's happening with him? I'm sure you are.";
		next;
		mes "[Lazy]";
		mes "We'll meet with your son, keep going with our investigation and then contact you. You can both trust me and wait. You believe me right?";
		next;
		cutin "",255;
		mes "[Mother]";
		mes "Oh my~ I can't believe it. Thank you so much. I'm afraid it will be hard for us to contact you...";
		next;
		mes "[Father]";
		mes "Aaah~ how to contact you! No matter what! Please contact us again, even if we're busy!";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Okay. Then we'll get going!";
		next;
		cutin "",255;
		mes "[Father]";
		mes "Take care!";
		cloakonnpc "Pat's Mother#171_lhz",getcharid(0);
		cloakonnpc "Pat's Father#171_lhz",getcharid(0);
		sleep2 1800;
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "Did you hear all of that? As stated in the documents, they never even got a call after he joined the Enterprise. Well, I don't like seeing them like that, but I have to keep my first tourist promise.";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "I'm sure the employees don't come visit their home during their vacations. Isn't it a ^0000FFprivacy matter^000000 that is none of our business?";
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "And you think it's like that for everyone in these documents? No way? Pat is a family person, do you really think he wouldn't come back home when he's on vacation because of personal problems? Do you really believe that?";
		npctalk "You don't really believe that. Surely.","",bc_self;
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "How about you, guard?";
		next;
		cutin "ep171_as01",1;
		mes "[Aas]";
		mes "Are you asking me?";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Yes, you. Your guard doesn't look like someone who enjoys sitting in a hotel, so how about you? Don't you meet with the people you know during your vacations?";
		next;
		cutin "ep171_as01",1;
		mes "[Aas]";
		mes "Yes, I often meet with my family during my vacations, sometimes even my friends.";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "See? I knew it. Who wouldn't do that? Okay sure. Maybe one guy out of ten.";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "The company doesn't investigate private matters. It's private for a reason. Ask yourself if you'd want someone else to look into your private matters.";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Aah~ Do you want to meet with them for a few more minutes~ Will the VIP come here again?";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "I think I heard as much as I need to here. We'll find the rest of the information in the headquarters.";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "The people who made these documents don't know anything about Pat. It's not just one or two persons on this list. Should you really listen to one person?";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "Aren't you tired of walking this path narrow, steep path?";
		npctalk "Ahahaha. The VIP has never heard anything heavier than a gold spoon.","",bc_self;
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Are you tired already? There are people like this everyday. As your people suffer, more people suffer, so much that you can't even recognize pain.";
		next;
		cutin "ep171_kaya03",0;
		mes "[Kaya]";
		mes "Are you giving me orders?";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Hello~ I'm just a tourist guide, how can I give you orders. The judgment is done by the VIP's intellect, reasoning and conscience~";
		next;
		mes "[Lazy]";
		mes "Alright! We're going to follow up with Pat, so the tour's next location will be at the <NAVI>[Headquarters]<INFO>lighthalzen,107,165,0,101,0</INFO></NAVI>.";
		completequest 17005;
		setquest 17006;
		close2;
		cutin "",255;
		warp "lighthalzen",251,215;
		end;
	}
	if (isbegin_quest(17006) == 1) {
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Alright! We're going to follow up with Pat, so the tour's next place will be at the <NAVI>[Headquarters]<INFO>lighthalzen,107,165,0,101,0</INFO></NAVI>.";
		close2;
		cutin "",255;
		warp "lighthalzen",251,215;
		end;
	}
	cutin "16lei_01",2;
	mes "[Lazy]";
	mes "The Rekenber roads are wide and gleaming~ everyone knows about the Schwarzwald Republic~";
	close3;

OnInit:
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(17005) == 1");
	end;
}

lighthalzen,108,163,3	script	Lazy#171_lhz3	4_M_LAZY,{
	if (isbegin_quest(17006) == 1) {
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Adventurer! You're here! Who else would it be?";
		next;
		cloakoffnpc "Kaya Tos#171_lhz3",getcharid(0);
		cloakoffnpc "Aas#171_lhz3",getcharid(0);
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "You're finally here. Am I too fast for you? Or do you think perhaps it's because the VIP's shoes are not suited for long distances?";
		unittalk getcharid(3),strcharinfo(0) + " : Why are we here?!",bc_self;
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "We're finally here at Rekenber.";
		next;
		specialeffect EF_DA_SPACE,AREA,"Pat#171_lhz2";
		cloakoffnpc "Pat#171_lhz2",getcharid(0);
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "When Pat stood in front of the building, he was probably relieved.";
		mes "The job in the slums wasn't that much different than the one at Rekenber.";
		npctalk "Really... Rekenber... I... I'm here now...!","Pat#171_lhz2",bc_self;
		next;
		cutin "",255;
		mes "[Protester]";
		mes "Rekenber, ^0000FFexplain!^000000";
		next;
		cloakonnpc "Pat#171_lhz2",getcharid(0);
		cloakoffnpc "Protester#171_lhz",getcharid(0);
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "Explanation?";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Ah! Well done. I wanted to introduce her to you. She's the fiance of ^0000FFanother missing person^000000 on the list.";
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "Her fiance was hired by the Rekenber, and then she wasn't able to contact him anymore. Of course, she tried to contact the company and asked what was going on, but what did they tell her?";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Hey Eva! Hello! Come over here, over here!";
		next;
		cutin "",255;
		mes "[Protester]";
		mes "Daisy? Hi. Do you have more information on what happened?";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Oh, that? I don't know yet, but I came here with the Vice President to find out.";
		next;
		cutin "",255;
		mes "[Protester]";
		mes "The Vice... President? This person?";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "Yeah, that's right. You have something to tell him? Go ahead!";
		mes "This will be good, I don't regret getting out of bed today!";
		npctalk "This guy, what is he thinking?","Aas#171_lhz3",bc_self;
		unittalk getcharid(3),strcharinfo(0) + " : I... I feel this is my fault.",bc_self;
		next;
		cutin "",255;
		mes "[Eva]";
		mes "What happened to Marcus? Give me my Marcus back! It's been 2 years since I haven't heard from Marcus!";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "You're looking for Marcus? Mar...cus... Holzman. He's from the East of Lighthalzen...";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Oh, what a coincidence. He's also from the Lighthalzen slums!";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "Maybe he doesn't want to contact you anymore?";
		next;
		cutin "",255;
		mes "[Eva]";
		mes "Marcus would never do that to me! My Marcus... Marcus...";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "No matter what the truth is, I don't know a third person with the same issue as yours.";
		next;
		cutin "",255;
		mes "[Eva]";
		mes "Even if Marcus's thoughts about me had changed, he's not the only one!";
		mes "Most of the people from the slums that are hired by the Rekenber ^0000FFcannot be reached anymore.^000000";
		next;
		mes "[Eva]";
		mes "Do you really think everyone would change their minds like that? To their family? Their friends? Even lovers? It's a bigger issue!";
		mes "What the hell did Rekenber do with their employees?!";
		npctalk "Look. It's the same as I said.","",bc_self;
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "I would like to know more details about this. Let's go back. If we make a disturbance here, they'll call the police.";
		npctalk "Vice President, I'd prefer if you went inside.","",bc_self;
		next;
		cutin "",255;
		mes "[Eva]";
		mes "What? Do you want to throw me out?";
		mes "Am I a problem to you? Do you think I'll give up easily? I will keep coming until I find Marcus!";
		npctalk "I will remember your face!! Don't think you'll be safe forever! Be careful at night!","Protester#171_lhz",bc_self;
		next;
		cloakonnpc "Protester#171_lhz",getcharid(0);
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "She said he saw the VIP...";
		next;
		cutin "ep171_kaya03",0;
		mes "[Kaya]";
		mes "What are you trying to say?";
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "You're a VIP. You're so beautiful, I'm very impressed. Tsk. Tsk. Tsk.";
		npctalk "I am touched right now, I got tears in my eyes.","",bc_self;
		next;
		mes "[Lazy]";
		mes "Listen carefully. As I said before, joining Rekenber is the envy of most people in the slums. If you can't imagine how excited it is for them, then maybe you can't think.";
		npctalk "With that smart head of yours.","",bc_self;
		next;
		mes "[Lazy]";
		mes "For such people, Rekenber has been giving out special gifts as part of social welfare, don't you know about it. Rekenber is tricking people.";
		next;
		cutin "ep171_kaya03",0;
		mes "[Kaya]";
		mes "Are you disrespecting the company's welfare business? I get the same treatment as those who have been specially selected.";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "That's not what I'm saying VIP. The secretary here knows too. Do you really not know? Are you pretending?";
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "Have you seen Rekenber's criteria for their special offer?";
		mes "People who have healthy body and no families. Among them, why would they only pick the poorest?";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "What do you think this means? Why only people with good health~ or no money~ then they disappear only to get paychecks to their house~";
		npctalk "Ohh~ I'm really curious~","",bc_self;
		next;
		cutin "ep171_as01",0;
		mes "[Aas]";
		mes "But there's a single missing person around me.";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Woah, is that really surprising?";
		mes "You're a guard? Your guard is from the borders of Rune-Midgard, right?";
		next;
		cutin "ep171_as01",0;
		mes "[Aas]";
		mes "How did you know that?";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "It's easy to recognize a person from their personality and their tone of voice. It's easy for anyone to know, but I can see it just by looking at your face.";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "Speaking of personalities, I'm like a guard myself and our spirits can't be broken. You can't break me like a wheel, I'll fight back.";
		next;
		cutin "ep171_as02",0;
		mes "[Aas]";
		mes "I would rather use force than make compromises.";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Hah! That's it, that's the spirit. The type that day to day! You would have never allowed your friends to have gone missing just like that. Your personality is what saved our guard, for now anyway.";
		next;
		mes "[Lazy]";
		mes "Anyway do you have a special unit in your guard? I know the answer already.";
		next;
		cutin "ep171_as01",0;
		mes "[Aas]";
		mes "Yes... we do.";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "I knew it. The VIP says you all get the same treatment. But he won't give security to the people of the slums.";
		mes "The people in your team are the kind of people who don't go missing.";
		next;
		mes "[Lazy]";
		mes "Simply because it's more troublesome to make a guard disappear. It makes more noises.";
		next;
		mes "[Lazy]";
		mes "With the money and the welfare paychecks, isn't it easier to just make someone disappear from a vulnerable family and then make their voices unheard?";
		npctalk "Woah~ I told you~ It's scary~","",bc_self;
		next;
		cutin "ep171_kaya03",0;
		mes "[Kaya]";
		mes "Do you even know what you're insinuating now? It's all speculations!";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Do you really know what I'm thinking?";
		next;
		cutin "ep171_kaya03",0;
		mes "[Kaya]";
		mes "Come in and check it out yourself!";
		mes "Let's see why they never made contact. I don't know what they did during their vacations, but we can see where they are now.";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "Hah, this guy, he's still all about privacy. Are statistics and odds not part of the economy? Why do all of these people go and never contact their house again?";
		next;
		select("Why are they giving their salaries?");
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Our adventurer asked a good question. They are almost all from the slums. In Rekenber, they offer you accommodations, with meals and lodging, you hardly have to spend any money at all.";
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "If the adventurer is from a poor family, and you have to support it, would you spare money for your meals?";
		next;
		select("I would send everything.");
		cutin "ep171_kaya03",0;
		mes "[Kaya]";
		mes "These accommodations for the low-income classes is Rekenber's contribution to society. We do our best!";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Ahah! Was I not polite enough? Our VIP is getting angry~ But the adventurer and I have gone to many places before, we know these things.";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "It's an illegal laboratory. You know what an illegal laboratory is?";
		mes "It would be used for illegal experiments with human life? Used like a lab rats?";
		next;
		cutin "ep171_as02",1;
		mes "[Aas]";
		mes "Aren't you imagining too much now.";
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "Our guard here and the VIP are not imaginative? I know you don't see to look at what's in front of you, but look at the reality of the situation here.";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "Do you know what your colleagues ate and what they were doing before the day was over?";
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "Did the VIP know about the disappearance of his employees until I pushed to investigate about it?";
		next;
		cutin "ep171_kaya03",0;
		mes "[Kaya]";
		mes "I still cannot conclude that they're missing.";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "Alright, I see. Let's call it a problem, not a missing person. Do you feel better then? If it makes it easier for you, I'll call it that. Do you even want to solve this problem in a positive light?";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "Of course.";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Perfect, I had hoped you'd say that. I'm glad to see you're not angry anymore. So open your mind~ don't get angry~ breath slowly~ exhale~";
		next;
		mes "[Lazy]";
		mes "If you're right, then let's check it out at the <NAVI>[Headquarters]<INFO>lhz_in01,107,137,0,101,0</INFO></NAVI>.";
		completequest 17006;
		setquest 17007;
		close2;
		cutin "",255;
		cloakonnpc "Kaya Tos#171_lhz3",getcharid(0);
		cloakonnpc "Aas#171_lhz3",getcharid(0);
		end;
	}
	if (isbegin_quest(17007) == 1) {
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Come on, get inside the <NAVI>[Headquarters]<INFO>lhz_in01,107,137,0,101,0</INFO></NAVI>!";
		close3;
	}
	cutin "16lei_01",2;
	mes "[Lazy]";
	mes "The Rekenber roads are wide and gleaming~ everyone knows about the Schwarzwald Republic~";
	close3;

OnInit:
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(17006) == 1");
	end;
}

lhz_in01,107,137,5	script	Staff#171_lhzin	4_F_01,{
	if (isbegin_quest(17007) == 1) {
		mes "[Staff]";
		mes "Hello, how may I help you?";
		next;
		cloakoffnpc "Kaya Tos#171_lhzin",getcharid(0);
		cloakoffnpc "Aas#171_lhzin",getcharid(0);
		cloakoffnpc "Lazy#171_lhzin",getcharid(0);
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "We've finally enter the Rekenber's headquarters. I wonder if Pat was relieved when he first passed through this door. Where did he go next?";
		sleep2 1500;
		specialeffect EF_DA_SPACE,AREA,"Pat#171_lhzin";
		cloakoffnpc "Pat#171_lhzin",getcharid(0);
		cutin "",255;
		sleep2 1000;
		npctalk "I... I... I...","Pat#171_lhzin",bc_self;
		sleep2 2000;
		npctalk "Hi, what can I do for you?","",bc_self;
		sleep2 2000;
		npctalk "I will work here... I'm new... where should I go...","Pat#171_lhzin",bc_self;
		sleep2 2000;
		npctalk "What is your name?","",bc_self;
		sleep2 2000;
		npctalk "My name is Patrick Kaufmann.","Pat#171_lhzin",bc_self;
		sleep2 2000;
		npctalk "Patrick... Kaufmann. Yes, you are confirmed.","",bc_self;
		sleep2 2000;
		npctalk "I'm really hired, right?","Pat#171_lhzin",bc_self;
		sleep2 2000;
		npctalk "Of course. You're on the list of new employees. You can go ahead on the 2nd floor, in the OT and listen to the training.","Staff#rek",bc_self;
		sleep2 2000;
		npctalk "Thank you, Thank you!","Pat#171_lhzin",bc_self;
		sleep2 2000;
		cloakonnpc "Pat#171_lhzin",getcharid(0);
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "Do all employees go through OT?";
		mes "I thought they would assign them to their department directly.";
		next;
		cutin "",255;
		mes "[Staff]";
		mes "Ah yes, you're right. For the special talented people, they must go through OT first and then they are assigned to their own respective department.";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "Why is that?";
		next;
		cutin "",255;
		mes "[Staff]";
		mes "It's a system based on their ^0000FFplace of origin^000000. There are many people who are not familiar with the corporate culture. After many trials and errors, the new employees are now required to go through OT.";
		npctalk "The exact same treatment, huh?","Lazy#171_lhzin",bc_self;
		unittalk getcharid(3),strcharinfo(0) + " : Shush! Lower your voice!",bc_self;
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Let's go the <NAVI>[Conference Room]<INFO>lhz_in01,162,257,0,101,0</INFO></NAVI> where Pat started his life at Rekenber.";
		completequest 17007;
		setquest 17008;
		close2;
		cutin "",255;
		cloakonnpc "Kaya Tos#171_lhzin",getcharid(0);
		cloakonnpc "Aas#171_lhzin",getcharid(0);
		cloakonnpc "Lazy#171_lhzin",getcharid(0);
		end;
	}
	if (isbegin_quest(17008) == 1) {
		mes "[Staff]";
		mes "I think the others went to the <NAVI>[Conference Room]<INFO>lhz_in01,162,257,0,000,0</INFO></NAVI>, where the meetings are held. Shouldn't you be going?";
		close;
	}
	mes "[Staff]";
	mes "Do you need an assistance with something?";
	close;

OnInit:
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(17007) == 1");
	end;
}

lhz_in01,163,258,5	script	Staff#171_lhzin2	4_M_EINMAN,{
	if (isbegin_quest(17008) == 1) {
		setpcblock PCBLOCK_ALL, true;
		specialeffect EF_DA_SPACE,AREA,"Staff#171_lhzin3";
		cloakoffnpc "Staff#171_lhzin3",getcharid(0);
		npctalk "With this, we will have completed the pre-training for the employees.","Staff#171_lhzin3",bc_self;
		sleep2 2000;
		npctalk "If you're new around here, you can get directions from the person in charge of the assignemnts.","Staff#171_lhzin3",bc_self;
		sleep2 2000;
		npctalk "Facility maintenance department, come with me!","",bc_self;
		sleep2 2000;
		cloakonnpc "Staff#171_lhzin3",getcharid(0);
		specialeffect EF_DA_SPACE,AREA,"Pat#171_lhzin2";
		cloakoffnpc "Pat#171_lhzin2",getcharid(0);
		sleep2 2000;
		npctalk "That's me!","Pat#171_lhzin2",bc_self;
		sleep2 2000;
		npctalk "What am I supposed to do now?","Pat#171_lhzin2",bc_self;
		sleep2 2000;
		npctalk "I looked at your resume and I saw a lot potential. Please remember. You have to be fast and accurate. You don't worry too much about the details.","",bc_self;
		sleep2 2000;
		npctalk "I'm very confident!","Pat#171_lhzin2",bc_self;
		sleep2 2000;
		npctalk "I like your response, we need more people like you!","",bc_self;
		sleep2 2000;
		cloakonnpc "Pat#171_lhzin2",getcharid(0);
		cloakoffnpc "Lazy#171_lhzin2",getcharid(0);
		cloakoffnpc "Kaya Tos#171_lhzin2",getcharid(0);
		cloakoffnpc "Aas#171_lhzin2",getcharid(0);
		setpcblock PCBLOCK_ALL, false;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Let's ask this guy for information.";
		next;
		mes "[Lazy]";
		mes "Do you know Kaufmann? Patrick Kaufmann.";
		next;
		cutin "",255;
		mes "[Staff]";
		mes "Who are you?";
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "The Vice President is looking for Kaufmann.";
		next;
		cutin "",255;
		mes "[Staff]";
		mes "I see, what is the purpose. And... who are you again?";
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "Are you the secretary of the Vice President?";
		next;
		cutin "",255;
		mes "[Staff]";
		mes "What are you talking about? Did your secretary get hit on the head? You sound like an outsider?";
		npctalk "Are you... playing with me?","",bc_self;
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "I'm looking for Patrick Kaufmann.";
		next;
		cutin "",255;
		mes "[Staff]";
		mes "You, who are you... ? I've seen that face before... are you...?";
		npctalk "Think, come on, think.","",bc_self;
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "He is your Vice President.";
		next;
		cutin "",255;
		mes "[Staff]";
		mes "Aaah! Yes, right, right!!! ...Vice President? Oh, hello!";
		npctalk "Is this guy really the Vice President?","",bc_self;
		npctalk "I already told you that! I'm not lying.","Lazy#171_lhzin2",bc_self;
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "Do you know anything about Patrick Kaufmann?";
		next;
		cutin "",255;
		mes "[Staff]";
		mes "Patrick Kaufmann... I know him. He's a good friend of mine. He has rough hands but his work is fast and accurate.";
		mes "I tried to keep him around longer, but they took him to the lab.";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "The laboratory? Was it Regenschirm?";
		next;
		cutin "",255;
		mes "[Staff]";
		mes "Yes, there. The newcomers must be in the company for ^0000FFat least a whole year^000000 before they can be sent to another department or a new workplace, unless they are given a ^0000FFspecial request.^000000";
		next;
		mes "[Staff]";
		mes "But why would I send newcomers in the first place? I ignored the requests even though it came from above. But even so, some of the newcomers here were sent elsewhere anyway.";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "Why?";
		next;
		cutin "",255;
		mes "[Staff]";
		mes "Well you see... I need more people for repairs. There's always something broken, so I always need more manpower. But recently,";
		mes "There's been ^0000FFa  lot more workforce requested.^000000";
		npctalk "It's kind of a problem to always send away the best workers everyday.","",bc_self;
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Do you know why so many people were drafted?";
		npctalk "Do you know why so many people were drafted?","Lazy#171_lhzin2,",bc_self;
		next;
		cutin "",255;
		mes "[Staff]";
		mes "I don't know for sure. Many people in our department get injured while working, and our newcomers are all very strong.";
		mes "They only take those who are ^0000FFvery good at their job.^000000";
		npctalk "They're like ghosts, they take them away as soon as they arrive.","",bc_self;
		next;
		mes "[Staff]";
		mes "But if you are pressured from above, you have to abide and give them the workforce, right?";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "Which laboratory were they sent to?";
		next;
		cutin "",255;
		mes "[Staff]";
		mes "The annex one. Oh, do you want to go? I haven't been there in a while, it's quite hard to get inside. If you don't mind, could you send people back here?";
		mes "Anyway, please be careful, it is a dangerous place.";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Ooh.. You cannot be transferred at least until a whole year, unless you are given ^0000FFan unusual request.^000000";
		mes "But Pat didn't get neither one of these reasons. Is it really a laboratory?";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "Did you know this VIP? was there anything about this in your documents? Why did the lab only take healthy and you people?";
		npctalk "Ooooh~ What is the reason~ I'm so curious~","Lazy#171_lhzin2",bc_self;
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "I need to know why they broke the contract rules.";
		next;
		cutin "ep171_as01",1;
		mes "[Aas]";
		mes "I was in charge of Regenschirm, but I've never seen Patrick Kaufmann.";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Yeah? You're getting curious too now, aren't you! Is that right?";
		next;
		cutin "ep171_as01",1;
		mes "[Aas]";
		mes "I will guide you, follow me. Let's go to <NAVI>[Regenschirm]<INFO>rgsr_in,157,84,0,101,0</INFO></NAVI>.";
		completequest 17008;
		setquest 17009;
		close2;
		cutin "",255;
		cloakonnpc "Lazy#171_lhzin2",getcharid(0);
		cloakonnpc "Kaya Tos#171_lhzin2",getcharid(0);
		cloakonnpc "Aas#171_lhzin2",getcharid(0);
		end;
	}
	if (isbegin_quest(17009) == 1) {
		mes "[Staff]";
		mes "They are waiting for you at the <NAVI>[laboratory]<INFO>rgsr_in,157,84,0,000,0</INFO></NAVI>, shouldn't you go as well?";
		close;
	}
	mes "[Staff]";
	mes "There doesn't seem to be any room left.";
	close;

OnInit:
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(17008) == 1");
	end;
}

lhz_in01,80,210,5	script	Secretary#171_lhzin	4_M_RUSMAN1,{
	if (isbegin_quest(17011) == 1) {
		mes "[Secretary]";
		mes "Hey, where are you going!";
		next;
		select("Are you talking to us?");
		cloakoffnpc "Lazy#171_lhzin3",getcharid(0);
		cloakoffnpc "Kaya Tos#171_lhzin3",getcharid(0);
		cloakoffnpc "Aas#171_lhzin3",getcharid(0);
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Adventurer, let's go quickly? Let's go together.";
		npctalk "Don't forget we have a senior here, so you have to worry about your behavior.","Lazy#171_lhzin3",bc_self;
		next;
		cutin "",255;
		mes "[Secretary]";
		mes "You came all the way to the office, what's going in? You left me alone in here and then just disappeared.";
		mes "Why are you sneaking in?";
		unittalk getcharid(3),strcharinfo(0) + " : Oh, you're not talking to me.",bc_self;
		npctalk "Who would talk to an adventurer like you in here?","Lazy#171_lhzin3",bc_self;
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "Do you know who's the gentlemen next to me?";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "Yes, he is my secretary.";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Ah! Nice to meet you. My name is Daisy. I'm an old friend of the Vice President.";
		next;
		cutin "",255;
		mes "[Gray]";
		mes "Hello there. I'm called Gray Earl.";
		mes "I'm usually not in these places, we should continue this meeting in the Vice President's office.";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "You don't have to. Here will be just fine. What are you doing in this place anyway? Were you waiting for someone?";
		next;
		cutin "",255;
		mes "[Gray]";
		mes "Yes, I noticed something odd about the Vice President's absence, so I went out to see what was going on.";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "If you keep waiting outside like that, don't you think it looks even more suspicious?";
		next;
		cutin "",255;
		mes "[Gray]";
		mes "So you were hiding on purpose. Can you tell what this was all about?";
		mes "Why all the secrecy?";
		npctalk "The deal was to hide.","Lazy#171_lhzin3",bc_self;
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "That was our plan. I'm cooperating with these people.";
		next;
		cutin "",255;
		mes "[Gray]";
		mes "Cooperating.. with them..?!";
		mes "I didn't think we'd be friends with these people again.";
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "Why? Can't we be friends? You! You'll have to explain yourself!";
		next;
		cutin "",255;
		mes "[Gray]";
		mes "You don't seem that old.";
		npctalk "Oh, you look younger than me? Ahahaha! I think I'm really starting to like this guy?","Lazy#171_lhzin3",bc_self;
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "You don't need to know more about this. The less you know, the better. When we finish the investigation, we'll let you know.";
		next;
		cutin "",255;
		mes "[Gray]";
		mes "Yes, sir.";
		unittalk getcharid(3),strcharinfo(0) + " : Are you sure keeping secrets is a good idea?",bc_self;
		sleep2 2000;
		npctalk "Shush~ You're new at this. Give me some time to work this out.","Lazy#171_lhzin3",bc_self;
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "So, do you know who's in charge of moving the workforce from one department to another? Is it someone you trust?";
		next;
		cutin "",255;
		mes "[Gray]";
		mes "Do you want the employee transfer logs? They are kept in the document storage room.";
		next;
		mes "[Gray]";
		mes "If you want to uncover secrets, it would wiser to straight to the document storage room and search for the documents yourself than going through the Human Resource department.";
		npctalk "Eh.. I really like this person! He's one out of the that has a head on his shoulder!","Lazy#171_lhzin3",bc_self;
		sleep2 2000;
		unittalk getcharid(3),strcharinfo(0) + " : That must be why he's the secretary of the Vice President.",bc_self;
		next;
		mes "[Gray]";
		mes "Let me tell you where you can find these trustworthy documents.";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "I know already.";
		next;
		cutin "",255;
		mes "[Gray]";
		mes "Alright, then please be careful.";
		mes "There are many eyes around here. You know what I mean, right?";
		npctalk "Perfect to the end.","Lazy#171_lhzin3",bc_self;
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "Let's go the <NAVI>[Document Storage Room]<INFO>lhz_in01,32,264,0,101,0</INFO></NAVI>.";
		completequest 17011;
		setquest 17012;
		close2;
		cutin "",255;
		cloakonnpc "Lazy#171_lhzin3",getcharid(0);
		cloakonnpc "Kaya Tos#171_lhzin3",getcharid(0);
		cloakonnpc "Aas#171_lhzin3",getcharid(0);
		end;
	}
	if (isbegin_quest(17012)) {
		mes "[Gray]";
		mes "Go to the <NAVI>[Document Storage Room]<INFO>lhz_in01,32,264,0,000,0</INFO></NAVI>, go quickly before someone notice you.";
		close;
	}
	mes "[Gray]";
	mes "Don't you have something else to do.";
	close;

OnInit:
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(17011) == 1");
	end;
}

lhz_in01,32,264,5	script	Staff#171_lhzin4	4_M_HUMAN_02,{
	if (isbegin_quest(17012) == 1) {
		mes "[Staff]";
		mes "Hello, this is the document storage room.";
		next;
		cloakoffnpc "Lazy#171_lhzin4",getcharid(0);
		cloakoffnpc "Kaya Tos#171_lhzin4",getcharid(0);
		cloakoffnpc "Aas#171_lhzin4",getcharid(0);
		mes "[Staff]";
		mes "Ah! I see. You're looking for Patrick Kaufmann's transfer logs?";
		npctalk "It feels good to smell the books here. My dream was to be a librarian. I should do that from now on.";
		unittalk getcharid(3),strcharinfo(0) + " : I don't that would fit you...",bc_self;
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "Yes, that's why we're here. Have you found what we're looking for?";
		next;
		cutin "",255;
		mes "[Staff]";
		mes "Patrick Kaufmann. Transfer Code 12-4332.";
		next;
		mes "[Staff]";
		mes "He was working as part of the facility maintenance department and then transferred to a new facility.";
		mes "It says the director, McDonald, came here directly and gave a list of people to transfer.";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "Do you still have that list?";
		next;
		cutin "",255;
		mes "[Staff]";
		mes "Oh, that? Wait a minute...";
		next;
		mes "[Staff]";
		mes "Oh, there it is. I found it.";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "Daisy, can you compare the list please.";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "Hmm.. there are many overlap with the names from both lists. I expected as such... but I'm confused.";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "Does Kaufmann still work at McDonald's laboratory?";
		next;
		cutin "",255;
		mes "[Staff]";
		mes "Well... the fact is, some of the facility maintenance employees work outside of the labs.";
		mes "Patrick was from the same department, so maybe it was the same for him.";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "I've been told we are not allowed to transfer people until at least a whole year, but what is the reason why Kaufmann was transferred?";
		next;
		cutin "",255;
		mes "[Staff]";
		mes "Well... there's reason to do that here. Once a request is received from the lab, we approve it. It's a top priority.";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "So where is Kaufmann right now?";
		next;
		cutin "",255;
		mes "[Staff]";
		mes "As I told you before, I work around the clock... there are many laboratories here and there, I'm not sure which ones are still operational or not.";
		next;
		mes "[Staff]";
		mes "We don't keep track of all the trips and movements inside the headquarters. I hear a lot, though.";
		mes "The detailed records can be found inside the lab he is in, or another lab perhaps.";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "How was his vacations? Did he rest well?";
		npctalk "I would have so much trouble to work here that I would never rest.","Lazy#171_lhzin4",bc_self;
		next;
		cutin "",255;
		mes "[Staff]";
		mes "On vacation... he has already used all of his days. Well... he drove out at the end of the year.";
		npctalk "Oh~ he wasn't able to rest, until the end of the year. Rekenber is quite a place~","Lazy#171_lhzin4",bc_self;
		npctalk "Absolutely not!","Aas#171_lhzin4",bc_self;
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "And where did he go during his vacations? I already know the answer, but there is someone here who doesn't believe me.";
		npctalk "Tell me what he did~","Lazy#171_lhzin4",bc_self;
		next;
		cutin "",255;
		mes "[Staff]";
		mes "We do not control how and where the employees spend their private time.";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "Just one more check. Marcus Holzman is on the list. Where is he working now?";
		next;
		cutin "",255;
		mes "[Staff]";
		mes "Let's see, Marcus Holzman? Wait...";
		progressbar_npc "00FF00",1;
		next;
		mes "[Staff]";
		mes "Well, Holzman went to Sinclair's laboratory.";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "Did he use all of his vacations as well?";
		next;
		cutin "",255;
		mes "[Staff]";
		mes "Yes... He drove out at the end of the year and use all of his vacations days...";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "Where is the laboratory?";
		next;
		cutin "",255;
		mes "[Staff]";
		mes "Let's see... the lab is on the outside of Einbroch's outer zone.";
		mes "McDonald lab is located at ^0000FFSector 01 - Section 95-146 in the Einbroch Mountains^000000 and Sinclair's lab is located at Zone 11 - Sector 45-156 in the Einbroch Mountains.";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "And there it goes. Of course. I also know the answer, but I'll ask you anyway, are Patrick and Marcus still working at Rekenber?";
		next;
		cutin "",255;
		mes "[Staff]";
		mes "Of course. They are being paid for work. If you leave, you wouldn't get paid anymore, right?";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "Of course, that's common sense~";
		npctalk ".....","Kaya Tos#171_lhzin4",bc_self;
		npctalk "Are we really going back to this?","Aas#171_lhzin4",bc_self;
		unittalk getcharid(3),strcharinfo(0) + " : Don't worry, he will tire himself out after a while.",bc_self;
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Now let's head to these new laboratories. There's probably a lot more we can find out over there.";
		next;
		select("How are we doing this?");
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "We can all go together. We came here for this reason.";
		next;
		cutin "ep171_as01",0;
		mes "[Aas]";
		mes "How about we save some time and share information afterwards? Let's split and meet again at a specific location.";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "That's a good idea. Then me and you will go to Sinclair's laboratory together.";
		mes "The adventurer will go to McDonald's laboratory with the VIP. When we finish the investigation, we'll meet you back over at McDonald's lab.";
		next;
		cutin "ep171_as02",0;
		mes "[Aas]";
		mes "Why? Why am I going with you? Isn't it better for me to go back with the Vice President?";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "Have you forgotten? The Vice PResident wants to do this operation as unbiased as possible.";
		mes "Would you believe the findings of me and the adventurer?";
		npctalk "I'm the image of distrust~","Lazy#171_lhzin4",bc_self;
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "Do you want to give the Vice President a reason to be suspicious? We can't allow that?";
		npctalk "It shouldn't be hard with the guard.","Lazy#171_lhzin4",bc_self;
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "I'm fine with Daisy's idea. It makes the most sense.";
		next;
		cutin "ep171_as02",0;
		mes "[Aas]";
		mes "Vice President! The reason I'm here is to protect you!";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "I won't say it twice.";
		npctalk "Alright...","Aas#171_lhzin4",bc_self;
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Let's go now. You're heading for the <NAVI>[McDonald Laboratory]<INFO>ein_fild01,95,146,0,000,0</INFO></NAVI>, wait for us when you're done.";
		completequest 17012;
		setquest 17013;
		next;
		cutin "",255;
		mes "[Staff]";
		mes "Please have a look. If you need anything, let me know!";
		close2;
		cloakonnpc "Lazy#171_lhzin4",getcharid(0);
		cloakonnpc "Kaya Tos#171_lhzin4",getcharid(0);
		cloakonnpc "Aas#171_lhzin4",getcharid(0);
		end;
	}
	if (isbegin_quest(17013) == 1) {
		mes "[Staff]";
		mes "<NAVI>[McDonald Laboratory]<INFO>ein_fild01,95,146,0,000,0</INFO></NAVI> is located in Einbroch, at the outer zone. Please be careful, it is a dangerous area.";
		close;
	}
	mes "[Staff]";
	mes "If you have a document or a book to find, please go see the staff member at the reception.";
	close;

OnInit:
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(17012) == 1");
	end;
}

rgsr_in,161,85,3	script	Laboratory Staff#171_rgsrin	4_LGTSCIENCE,{
	if (isbegin_quest(17009) == 1) {
		mes "[Staff]";
		mes "This place is restricted from outsiders, please leave.";
		next;
		cloakoffnpc "Lazy#171_rgsrin",getcharid(0);
		cloakoffnpc "Kaya Tos#171_rgsrin",getcharid(0);
		cloakoffnpc "Aas#171_rgsrin",getcharid(0);
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Hello. Okay, you're busy so that you don't know when someone died? So what happened? Don't you think its a big deal?";
		next;
		cutin "",255;
		mes "[Staff]";
		mes "Everyone, please come out.";
		next;
		cutin "ep171_as01",0;
		mes "[Aas]";
		mes "Hello, Med. I've been looking forward to meeting you again.";
		next;
		cutin "",255;
		mes "[Med]";
		mes "Aas? Oh my, is it really you Aas? Are you okay? What are you doing here? Are you go to question someone who's betrayed us and changed sides?";
		npctalk "I don't give up easily.","Lazy#171_rgsrin",bc_self;
		unittalk getcharid(3),strcharinfo(0) + " : You're a natural.",bc_self;
		next;
		mes "[Med]";
		mes "Are you going to arrest these traitors, cruelly torture them, and make them reveal all their sins?";
		mes "This is like a spy novel!";
		npctalk "Oooh! Someone else here has a lot of imagination.","Lazy#171_rgsrin",bc_self;
		next;
		cutin "ep171_as01",0;
		mes "[Aas]";
		mes "I didn't come for that. Have you seen a facility maintenance employee by the name of Patrick Kaufmann? Where is he now?";
		next;
		cutin "",255;
		mes "[Med]";
		mes "Pa... who? Patrick Kaufmann? Who is that? I don't know... oh! have you asked <NAVI>[Sammy]<INFO>rgsr_in,12,46,0,000,0</INFO></NAVI>?";
		mes "Sammy would know more. He manages the workforce here. You should go meet him.";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "Thank you for your help. Keep on rebuilding this lab.";
		next;
		cutin "",255;
		mes "[Med]";
		mes "And would you like to tell me who you are?";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "These people don't even know the face of the Vice President they work for.";
		next;
		cutin "",255;
		mes "[Med]";
		mes "Ah!! That's you, I'm so sorry! I'll do my best!";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "We should go <NAVI>[here]<INFO>rgsr_in,12,46,0,000,0</INFO></NAVI> now~";
		completequest 17009;
		setquest 17010;
		close2;
		cutin "",255;
		cloakonnpc "Lazy#171_rgsrin",getcharid(0);
		cloakonnpc "Kaya Tos#171_rgsrin",getcharid(0);
		cloakonnpc "Aas#171_rgsrin",getcharid(0);
		end;
	}
	if (isbegin_quest(17010) == 1) {
		mes "[Med]";
		mes "If you want more information, you should ask <NAVI>[Sammy]<INFO>rgsr_in,12,46,0,101,0</INFO></NAVI> at the entrance.";
		close;
	}
	mes "[Staff]";
	mes "This place is restricted from outsiders, please leave.";
	close;

OnInit:
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(17009) == 1");
	end;
}

rgsr_in,12,46,7	script	Staff#171_rgsrin	4_M_04,{
	if (isbegin_quest(17010) == 1) {
		mes "[Staff]";
		mes "What are you doing here? You can't be here unless you have an appointment.";
		next;
		cloakoffnpc "Lazy#171_rgsrin2",getcharid(0);
		cloakoffnpc "Kaya Tos#171_rgsrin2",getcharid(0);
		cloakoffnpc "Aas#171_rgsrin2",getcharid(0);
		cutin "ep171_as01",0;
		mes "[Aas]";
		mes "Hey, Sammy. Could I ask you a few questions?";
		next;
		cutin "",255;
		mes "[Sammy]";
		mes "Aas? What are you doing here...?";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Good afternoon. We want to ask you a few questions.";
		next;
		cutin "",255;
		mes "[Sammy]";
		mes "What do you want to ask me?";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "This is the Vice President, here with us.";
		next;
		cutin "",255;
		mes "[Sammy]";
		mes "Vice President?";
		next;
		cutin "ep171_as01",0;
		mes "[Aas]";
		mes "Yes, this is the Vice President, Kaya Tos.";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "Nice to meet you, I'm Kaya Tos.";
		next;
		cutin "",255;
		mes "[Sammy]";
		mes "Oh my, Vice President. What are you doing in such a place... oh, what do you want to know?";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Oh wow, look at the attitude change. All we had to do was say the magic words : Vice President.";
		mes "That was too easy.";
		unittalk getcharid(3),strcharinfo(0) + " : It does look a little to easy.",bc_self;
		next;
		mes "[Lazy]";
		mes "I should probably use it more often from now on?";
		unittalk getcharid(3),strcharinfo(0) + " : Then you'll be caught Lazy.",bc_self;
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "I'd like to know where Patrick Kaufmann is. He is a facility maintenance employee who was sent here.";
		next;
		cutin "",255;
		mes "[Sammy]";
		mes "Pa... Patrick Kaufmann... Patrick... Well... Ah! I remember!";
		sleep2 1000;
		specialeffect EF_DA_SPACE,AREA,"Pat#171_rgsrin";
		specialeffect EF_DA_SPACE,AREA,"Laboratory Staff#171_rgsrin2";
		cloakoffnpc "Pat#171_rgsrin",getcharid(0);
		cloakoffnpc "Laboratory Staff#171_rgsrin2",getcharid(0);
		sleep2 1500;
		npctalk "You'll be joining a new laboratory next week. Don't get too lonely when you move away.","",bc_self;
		sleep2 2000;
		npctalk "Why? I like it here.","Pat#171_rgsrin",bc_self;
		sleep2 2000;
		npctalk "Are you sick... or have any illness in particular","Laboratory Staff#171_rgsrin2",bc_self;
		sleep2 2000;
		npctalk "No, my body is strong.","Pat#171_rgsrin",bc_self;
		sleep2 2000;
		cloakonnpc "Pat#171_rgsrin",getcharid(0);
		cloakonnpc "Laboratory Staff#171_rgsrin2",getcharid(0);
		next;
		mes "[Sammy]";
		mes "... and then he was sent to another laboratory.";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "You aren't supposed to relocate new employees for at least a whole year, why are you constantly asking for more workforce?";
		next;
		cutin "",255;
		mes "[Sammy]";
		mes "Yeah...? Why are we being sent so many? I have ^0000FFnever asked or more manpower in the building^000000. When new people arrive here, I assume they're simply a transfer.";
		next;
		cutin "",255;
		mes "[Sammy]";
		mes "So when Pat came here, I thought he was also a transfer. Especially at the time, because of the new research facility, the maintenance and logistic department teams...";
		mes "^0000FFwere transferring people a lot.^000000";
		npctalk "That's why I didn't know about it.","Aas#171_rgsrin2",bc_self;
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "Where is the location of the transfer laboratory?";
		next;
		cutin "",255;
		mes "[Sammy]";
		mes "I don't know the exact location.";
		mes "It's somewhere at the ^0000FFEinbroch's outer zone.^000000 I've heard many new facilities involve dangerous experiments that can't be done in the city, so workforce is sent outside.";
		next;
		mes "[Sammy]";
		mes "But... maybe... was there another reason for the transfers? What...";
		mes "What happened to the people?";
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "A new laboratory... I couldn't investigate it. It's a new laboratory that needs a lot of people, but I wasn't able to find it. What do you think? Can you smell us getting closer?";
		unittalk getcharid(3),strcharinfo(0) + " : It's very surprising.",bc_self;
		npctalk "Right? It's also rude.","Lazy#171_rgsrin2",bc_self;
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "This is certainly not in the papers I've received. There were only mentions of departures and few transfers. All the details were missing.";
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "They wrote it like that on purpose,";
		mes "someone with enough suspicious would have figured out the truth.";
		next;
		mes "[Lazy]";
		mes "Perhaps someone didn't want you to learn the truth and deliberately removed those details. Otherwise it would have been shown in the original documents.";
		npctalk "They are so organized.","Lazy#171_rgsrin2",bc_self;
		next;
		cutin "ep171_kaya02",0;
		mes "[Kaya]";
		mes "A new facility... I must find out where it is. There might be more things we don't know about.";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "You keep going on and on and on. If someone dies, I have to confirm it with my own eyes.";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "Let's get more information from the <NAVI>[Office]<INFO>lhz_in01,80,210,0,000,0</INFO></NAVI>.";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Are you going to the Human Resources?";
		mes "I've already been there.";
		next;
		cutin "ep171_as01",1;
		mes "[Aas]";
		mes "How deeply did you investigate the Enterprise?";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "Oh no~ you still think I'm a liar.";
		mes "Where else will you find someone as trustworthy as I am?";
		next;
		select("What did you just say?");
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "One of the employee here said that one of my very distant relative passed away and left a big legacy.";
		mes "I wasn't able to reach him, and then I came here looking for what was left for me.";
		next;
		select("You believed him?");
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "Why not? Does the adventurer have any relatives? I don't know...";
		mes "Romance and thrills, hehe. We've always waited for this dream to happen.";
		unittalk getcharid(3),strcharinfo(0) + " : Why look at people with such eyes.",bc_self;
		next;
		cutin "ep171_as01",1;
		mes "[Aas]";
		mes "Oh...";
		unittalk getcharid(3),strcharinfo(0) + " : Your eyes are glowing!",bc_self;
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Does your guard know some romance?";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "There's no time for this, let's go.";
		completequest 17010;
		setquest 17011;
		close2;
		cutin "",255;
		cloakonnpc "Lazy#171_rgsrin2",getcharid(0);
		cloakonnpc "Kaya Tos#171_rgsrin2",getcharid(0);
		cloakonnpc "Aas#171_rgsrin2",getcharid(0);
		end;
	}
	if (isbegin_quest(17011) == 1) {
		mes "[Sammy]";
		mes "I didn't mean to cover up anything, it's just what I heard. Did everyone else went to the <NAVI>[Office]<INFO>lhz_in01,80,210,0,000,0</INFO></NAVI>?";
		close;
	}
	mes "[Staff]";
	mes "What are you doing here? You can't be here unless you have an appointment.";
	close;

OnInit:
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(17010) == 1");
	end;
}

lighthalzen,256,215,5	duplicate(dummy_cloaked_npc)	Kaya Tos#171_lhz	4_EP17_KAYA
lighthalzen,255,216,5	duplicate(dummy_cloaked_npc)	Aas#171_lhz	4_EP17_AS

lighthalzen,336,264,5	script	Kaya Tos#171_lhz2	4_EP17_KAYA,{
	cutin "ep171_kaya01",2;
	mes "[Kaya]";
	mes "Do you know why we're here?";
	mes "Daisy, what are you thinking?";
	close3;
}

lighthalzen,335,261,1	script	Aas#171_lhz2	4_EP17_AS,{
	cutin "ep171_as01",2;
	mes "[Aas]";
	mes "This place is inappropriate for the Vice President. It's hard to guard. People can easily flock together.";
	close3;
}

lighthalzen,331,262,5	duplicate(dummy_cloaked_npc)	Pat#171_lhz	4_M_REPAIR
lighthalzen,332,260,1	duplicate(dummy_cloaked_npc)	Recruiter#171_lhz	4_F_HUWOMAN
lighthalzen,331,263,7	duplicate(dummy_cloaked_npc)	Pat's Father#171_lhz	4_M_MIDDLE1
lighthalzen,333,264,7	duplicate(dummy_cloaked_npc)	Pat's Mother#171_lhz	4_F_EINWOMAN
lighthalzen,104,163,5	duplicate(dummy_cloaked_npc)	Kaya Tos#171_lhz3	4_EP17_KAYA
lighthalzen,103,165,5	duplicate(dummy_cloaked_npc)	Aas#171_lhz3	4_EP17_AS
lighthalzen,106,162,1	duplicate(dummy_cloaked_npc)	Pat#171_lhz2	4_M_REPAIR
lighthalzen,106,162,5	duplicate(dummy_cloaked_npc)	Protester#171_lhz	4_F_ZONDAGIRL
lhz_in01,105,134,7	duplicate(dummy_cloaked_npc)	Lazy#171_lhzin	4_M_LAZY
lhz_in01,108,135,1	duplicate(dummy_cloaked_npc)	Pat#171_lhzin	4_M_REPAIR
lhz_in01,109,134,1	duplicate(dummy_cloaked_npc)	Kaya Tos#171_lhzin	4_EP17_KAYA
lhz_in01,109,136,3	duplicate(dummy_cloaked_npc)	Aas#171_lhzin	4_EP17_AS
lhz_in01,161,255,7	duplicate(dummy_cloaked_npc)	Lazy#171_lhzin2	4_M_LAZY
lhz_in01,168,257,5	duplicate(dummy_cloaked_npc)	Staff#171_lhzin3	4_F_CHNDOCTOR
lhz_in01,162,255,1	duplicate(dummy_cloaked_npc)	Pat#171_lhzin2	4_M_REPAIR
lhz_in01,164,255,1	duplicate(dummy_cloaked_npc)	Kaya Tos#171_lhzin2	4_EP17_KAYA
lhz_in01,164,256,3	duplicate(dummy_cloaked_npc)	Aas#171_lhzin2	4_EP17_AS
lhz_in01,82,209,3	duplicate(dummy_cloaked_npc)	Lazy#171_lhzin3	4_M_LAZY
lhz_in01,81,208,1	duplicate(dummy_cloaked_npc)	Kaya Tos#171_lhzin3	4_EP17_KAYA
lhz_in01,82,207,1	duplicate(dummy_cloaked_npc)	Aas#171_lhzin3	4_EP17_AS
lhz_in01,33,263,3	duplicate(dummy_cloaked_npc)	Lazy#171_lhzin4	4_M_LAZY
lhz_in01,33,262,1	duplicate(dummy_cloaked_npc)	Kaya Tos#171_lhzin4	4_EP17_KAYA
lhz_in01,34,262,3	duplicate(dummy_cloaked_npc)	Aas#171_lhzin4	4_EP17_AS

rgsr_in,157,84,5	duplicate(dummy_cloaked_npc)	Lazy#171_rgsrin	4_M_LAZY
rgsr_in,158,87,5	duplicate(dummy_cloaked_npc)	Kaya Tos#171_rgsrin	4_EP17_KAYA
rgsr_in,157,88,5	duplicate(dummy_cloaked_npc)	Aas#171_rgsrin	4_EP17_AS
rgsr_in,16,49,3	duplicate(dummy_cloaked_npc)	Lazy#171_rgsrin2	4_M_LAZY
rgsr_in,17,48,3	duplicate(dummy_cloaked_npc)	Kaya Tos#171_rgsrin2	4_EP17_KAYA
rgsr_in,18,47,3	duplicate(dummy_cloaked_npc)	Aas#171_rgsrin2	4_EP17_AS
rgsr_in,15,46,1	duplicate(dummy_cloaked_npc)	Pat#171_rgsrin	4_M_REPAIR
rgsr_in,13,49,5	duplicate(dummy_cloaked_npc)	Laboratory Staff#171_rgsrin2	4_M_SCIENCE

//= PUBCAT MAP
pub_cat,93,105,3	script	Philofontes#171_cat	4_M_PHILOFONTES,{
	if (terra_gloria_main < 26) {
		mes "[Tes]";
		mes "Who knew that there was such a place.";
		mes "It's more amazing than you think.";
		close;
	}
	if (terra_gloria_main == 26 && isbegin_quest(7850) < 2) {
		cutin "ep16_tes01",1;
		npctalk "That's it.","",bc_self;
		mes "[Tes]";
		mes "I've been waiting for you.";
		mes "This place is a bit chaotic, but the Rebellions rather like it here.";
		next;
		mes "[Tes]";
		mes "This place will be used as a base while you carry out your other duties.";
		next;
		mes "[Tes]";
		mes "Anyhow, I've analyzed all the information gathered from the last operation.";
		mes "It turns out there are more facilities with secret laboratories.";
		next;
		mes "[Tes]";
		mes "We already expected as much when we started our research.";
		mes "It's not just speculation this time, the evidence is clear now.";
		next;
		mes "[Tes]";
		mes "Elena Volkova is organizing an recon team for investigating the suspected areas.";
		mes "I think it would greatly help if you joined her team too..";
		next;
		cloakoffnpc "Elena Volkova#171_cat",getcharid(0);
		cutin "162elena_02",2;
		mes "[Elena Volkova]";
		mes "Hey~ Tes!";
		mes "We sent a recon team to investigate the areas you spoke about.";
		next;
		select("Where is it?");
		cutin "162elena_01",2;
		mes "[Elena Volkova]";
		mes "Oh you're the adventurer? Did Tes call you?";
		mes "It really help if someone as strong as you joined us.";
		next;
		mes "[Elena Volkova]";
		mes "Are you really sure about this place?";
		mes "Lucky said it's just an abandoned smelting plant after a mine close.";
		next;
		cutin "ep16_tes01",1;
		mes "[Tes]";
		mes "I know it doesn't look like much,";
		mes "but thanks to the previous data collected by the Werner Institute...";
		mes "We found an entry to the ^4D4DFFAbandoned Waste of Rudus^000000.";
		next;
		mes "[Tes]";
		mes "We figured out a path or a location to get inside, so I'd like you to investigate it further.";
		next;
		cutin "162elena_01",2;
		mes "[Elena Volkova]";
		mes "Anyway, so this area with all the experiments?";
		mes "Then I'll go to the field.";
		mes "The adventurer should come after me.";
		next;
		cutin "ep16_tes01",1;
		mes "[Tes]";
		mes "Then I'll inform the adventurer of your location separately.";
		next;
		cutin "162elena_01",2;
		mes "[Elena Volkova]";
		mes "Leave it to me.";
		next;
		cloakonnpc "Elena Volkova#171_cat",getcharid(0);
		cutin "ep16_tes01",1;
		mes "[Tes]";
		mes "Why not join us and see the situation for yourself?";
		mes "The location is Einbroch North-East field. The code name for the operating system is Rudus.";
		next;
		mes "[Tes]";
		mes "I'll call this location <NAVI>[Rudus]<INFO>ein_fild05,158,284,0,101,0</INFO></NAVI> from now on.";
		mes "I would be grateful if you joined.";
		if (isbegin_quest(7850) == 0)
			setquest 7850;
		completequest 7850;
		setquest 7851;
		next;
		mes "[Tes]";
		mes "In the meantime, I will try and learn more about Lighthalzen.";
		mes "You should received enough information to start investigating now.";
		close3;
	}
	if (isbegin_quest(7859) == 0) {
		cutin "ep16_tes01",1;
		mes "[Tes]";
		mes "<NAVI>[Rudus]<INFO>ein_fild05,158,284,0,101,0</INFO></NAVI> is at Einbroch North-East field.";
		mes "If you join the recon team, it will definitely help.";
		close3;
	}
	if (isbegin_quest(7859) == 1) {
		cutin "ep16_tes01",1;
		mes "[Tes]";
		mes "You went there?";
		mes "Hmm, so you've found in the barrier in the closed mine, and there are monsters behind it?";
		next;
		mes "[Tes]";
		mes "I don't think it's a research facility, even by looking at the other member's report.";
		mes "It seems to be a place to cover up unsuccessful experiments.";
		next;
		cutin "ep16_tes03",1;
		mes "[Tes]";
		mes "For some reason, there's been no accident on the outside. Tsk.";
		mes "For the time being, I think I'm going to split from the rebellions.";
		next;
		mes "[Tes]";
		mes "Unfortunately, Rudus didn't bring out great results. Volkova has been quite helpful.";
		next;
		cutin "ep16_tes01",1;
		mes "[Tes]";
		mes "I'll have to go to the backdoor now room now.";
		mes "It seems I've picked up bad customers, but with the adventurer's help it shouldn't be a problem.";
		completequest 7859;
		setquest 7860;
		cloakoffnpc "Philofontes#171_cat2",getcharid(0);
		cloakoffnpc "Middle-Aged Man#171_cat",getcharid(0);
		cloakoffnpc "Rekenber Senior Guard#171_cat",getcharid(0);
		cloakoffnpc "Commander Est#171_cat",getcharid(0);
		close3;
	}
	if (isbegin_quest(7860) == 1) {
		cutin "ep16_tes01",1;
		mes "[Tes]";
		mes "It's that room over there. It's a place where only rebellions leaders can go in or out.";
		mes "All the captains are inside.";
		close3;
	}
	if (isbegin_quest(7861) == 1) {
		cutin "ep16_tes01",1;
		mes "[Tes]";
		mes "It's the building at the top left of our Headquarters, in <NAVI>[Lighthalzen]<INFO>lighthalzen,56,270,0,101,0</INFO></NAVI>.";
		mes "There will be Rekenber guards sent by Aas and troop dispatched by the republic.";
		next;
		mes "[Tes]";
		mes "Est will also be there, you'll find the location easily.";
		mes "I hope this mission goes well.";
		close3;
	}
	if (isbegin_quest(7862) == 2 && isbegin_quest(7864) == 0) {
		cutin "ep16_tes01",2;
		mes "[Tes]";
		mes "You're back.";
		mes "Est came back first and I wasn't sure something had happened to you.";
		next;
		mes "[Tes]";
		mes "The information I got from Est was incredible.";
		mes "And it seems Lazy has something to tell you.";
		next;
		mes "[Tes]";
		mes "Kaya should be there too.";
		mes "I have to analyze the data everyone is giving me, it's piling up.";
		mes "You have enough to do already.";
		setquest 7864;
		getitem 25669,25;
		getexp 800000,800000;
		cloakoffnpc "Lazy#171_cat",getcharid(0);
		cloakoffnpc "Kaya Tos#171_cat",getcharid(0);
		cloakoffnpc "Aas#171_cat",getcharid(0);
		close3;
	}
	if (isbegin_quest(7863) == 1) {
		cutin "ep16_tes01",2;
		mes "[Tes]";
		mes "Is it related to the laboratory's security.";
		mes  "Aas told me you had something to deliver.";
		next;
		mes "[Tes]";
		mes "I think it's a conscious decision from Schlein to have left these documents.";
		mes "Tsk, that Schlein.";
		next;
		mes "[Tes]";
		mes "I understand.";
		mes "I will analyze this along with the other materials.";
		getexp 200000,200000;
		completequest 7863;
		close3;
	}
	if (isbegin_quest(7864) == 1) {
		cutin "ep16_tes01",2;
		mes "[Tes]";
		mes "Lazy seems to be up to something.";
		mes "He's somewhere here in the pub, go and find him.";
		cloakoffnpc "Lazy#171_cat",getcharid(0);
		cloakoffnpc "Kaya Tos#171_cat",getcharid(0);
		cloakoffnpc "Aas#171_cat",getcharid(0);
		close3;
	}
	if (isbegin_quest(17014) == 1) {
		cutin "ep16_tes01",1;
		mes "[Tes]";
		mes "I thought you were investigating with Lazy, it looks like you didn't get great results.";
		next;
		mes "[Tes]";
		mes "I finished analyzing the information you gathered from Regenschirm earlier, there were traces of supplies and research data.";
		next;
		mes "[Tes]";
		mes "So far, I believe it was a trick from the Enterprise, from those who sit back at the company.";
		mes "Huh...";
		cloakoffnpc "Kaya#171_cat3",getcharid(0);
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "I agree with your assessment.";
		mes "The more I learn about the truth, the less I understand what's going on.";
		npctalk "Oh, what happened?","",bc_self;
		next;
		mes "[Kaya]";
		mes "What I've seen so far was only the tip of the iceberg.";
		mes "My eyes are now wide opened.";
		npctalk "I'm sorry to interrupt so suddenly.","Kaya#pub_cat_dummy",bc_self;
		next;
		cutin "ep16_tes02",1;
		mes "[Tes]";
		mes "It seems it was from the group that pretended to be part of the security personnel and then attacked the laboratory.";
		mes "What could their motives be?";
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "Tsk, I think I know who's behind all of this.";
		mes "There have only been a few people who have ran unreasonable experiments at the laboratory.";
		next;
		mes "[Kaya]";
		mes "We had fired them because of their unethical experiments, I'm guessing it's them.";
		next;
		cutin "ep16_tes01",1;
		mes "[Tes]";
		mes "Hmm... That part of the investigation still needs more clarity.";
		mes "I'm going to try and find more information about the new laboratories.";
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "I will leave this part to you.";
		mes "I'm going back to my laboratory and do some research.";
		next;
		mes "[Kaya]";
		mes "Please excuse me.";
		next;
		cloakonnpc "Kaya#171_cat3",getcharid(0);
		cutin "ep16_tes01",1;
		mes "[Tes]";
		mes "... then I'll keep you informed about the next operation.";
		next;
		mes "[Tes]";
		mes "There is another closed mine at Einbroch, in the North-West region.";
		mes "There are many abandoned mines in the area...";
		next;
		cutin "ep16_tes03",1;
		mes "[Tes]";
		mes "I should have looked at them more, but I don't have enough resources...";
		next;
		cutin "ep16_tes01",1;
		mes "[Tes]";
		mes "Anyway, this time around, the elders of the Rebellion are going to participate in the operation.";
		mes "They are very strong supporters.";
		next;
		mes "[Tes]";
		mes "Meet with a <NAVI>[Rebellion Crew]<INFO>ein_fild03,278,269,0,101,0</INFO></NAVI> member at the North-West region of Einbroch.";
		completequest 17014;
		setquest 7865;
		close3;
	}
	if (isbegin_quest(7865) == 1) {
		mes "[Tes]";
		mes "Meet with a <NAVI>[Rebellion Crew]<INFO>ein_fild03,278,269,0,101,0</INFO></NAVI> member at the North-West region of Einbroch.";
		close;
	}
	cutin "ep16_tes01",2;
	mes "[Tes]";
	mes "I'm a bit tired. There are tons of documents to analyze.";
	close3;

OnInit:
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"terra_gloria_main == 26");
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(7859) == 1");
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(7862) == 2 && isbegin_quest(7864) == 0");
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(7863) == 1");
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(17014) == 1");
	end;
}

lighthalzen,43,271,5	script	Rekenber Guard#171_light_1	4_M_LGTGUARD,{ end; }
lighthalzen,46,271,5	script	Rekenber Guard#171_light_2	4_M_LGTGUARD,{ end; }

//= Pub Back Area
pub_cat,150,105,0	script	#EP171_EVT_CAT00	HIDDEN_WARP_NPC,1,1,{
	end;

OnTouch:
	if (isbegin_quest(7860) == 1) {
		cloakoffnpc "Philofontes#171_cat2",getcharid(0);
		cloakoffnpc "Middle-Aged Man#171_cat",getcharid(0);
		cloakoffnpc "Rekenber Senior Guard#171_cat",getcharid(0);
		cloakoffnpc "Commander Est#171_cat",getcharid(0);
		npctalk "I will cooperate this one time only, okay?","Commander Est#171_cat",bc_self;
		end;
	}
	if (isbegin_quest(7860) == 2 && isbegin_quest(7861) == 0) {
		cloakoffnpc "Philofontes#171_cat2",getcharid(0);
		cloakoffnpc "Middle-Aged Man#171_cat",getcharid(0);
		end;
	}
	if (isbegin_quest(7860) == 2 && isbegin_quest(7861) == 1)
		cloakoffnpc "Middle-Aged Man#171_cat",getcharid(0);
	end;
}

pub_cat,160,102,5	script	Philofontes#171_cat2	4_M_PHILOFONTES,{
	if (isbegin_quest(7860) == 1) {
		cutin "ep162_est01",2;
		mes "[Est]";
		mes "It's your operation. Do you have no support available?";
		mes "How the hell you become a government without an army?";
		next;
		cutin "ep16_tes01",0;
		mes "[Tes]";
		mes "I can't say anything about that.";
		mes "I don't have the authority to create and grow my own army.";
		next;
		cutin "ep162_est03",2;
		mes "[Est]";
		mes "I know. I can't ask that to a general soldier.";
		mes "You don't have the power to change that.";
		next;
		select("Why are you all here?!");
		cutin "ep162_est02",2;
		mes "[Est]";
		mes "Right? Isn't it weird for you too?";
		mes "It's really strange for us as well, are you aware of what's going on adventurer?";
		next;
		cutin "ep162_est03",2;
		mes "[Est]";
		mes "It's impressive how they've managed to make this meeting inside the pub will all of us, and now a Rebellion unit is helping out the Enterprise.";
		next;
		cutin "ep162_est02",2;
		mes "[Est]";
		mes "Isn't it truly wonderful and amazing? I've seen many things, but I never thought that this day would come.";
		mes "But why are you here?";
		next;
		cutin "ep171_kaya01",0;
		mes "[Middle-Aged Man]";
		mes "Sigh.. I don't know why we're so hostile with each other.";
		mes "Still, there are only few organizations that contribute to the people...";
		next;
		cutin "ep162_est02",2;
		mes "[Est]";
		mes "Do you really believe so?";
		mes "Don't you know why we're called the Rebellion in the first place?";
		mes "You're only thinking about what you want.";
		next;
		cutin "ep162_est01",2;
		mes "[Est]";
		mes "Yeah. That's a corporation. How many companies do you have now?";
		mes "Your president always look down on us.";
		next;
		cutin "ep16_tes03",0;
		mes "[Tes]";
		mes "That's not it, Est.";
		mes "You do know there's a reason for that, right?";
		next;
		cutin "ep162_est03",2;
		mes "[Est]";
		mes "I've already decided to send a support unit.";
		mes "Even so, is that really going to be enough?";
		npctalk ".....","Middle-Aged Man#171_cat",bc_self;
		npctalk "....hick...","Rekenber Senior Guard#171_cat",bc_self;
		next;
		select("So what's going on?");
		mes "[Est]";
		mes "I'm a little too excited. I'll shut up. Tes, explain it please.";
		next;
		cutin "ep16_tes01",0;
		mes "[Tes]";
		mes "To put it simply, our affiliated Enterprise research institute, Regenschirm, is occupied by a large group of enemies.";
		mes "A special unit under Est's command will be dispatched for the recapture.";
		next;
		mes "[Tes]";
		mes "So that's why Est was so nervous.";
		next;
		select("Why aren't the Enterprise guards helping?");
		mes "[Tes]";
		mes "Well you see...";
		npctalk "That's all my fault!","Rekenber Senior Guard#171_cat",bc_self;
		next;
		cutin "ep171_as01",1;
		mes "[Aas]";
		mes "It all started because of the traitor within the guards.";
		mes "Oh, sorry, I'm senior Rekenber security officer, Aas.";
		next;
		mes "[Aas]";
		mes "The traitor is the chief security officer, Schlein, who has substantial support within the guard forces.";
		next;
		mes "[Aas]";
		mes "It's these guards, let by Schlein,";
		mes "Who currently occupies the Regenschirm.";
		mes "Most of the armed forced join with Schlein, and they started calling themselves Heart Hunters.";
		next;
		cutin "ep171_as02",1;
		mes "[Aas]";
		mes "Yes. It was the Heart Hunters.";
		mes "On the day of the incident, at midnight, the guards changed uniform for something unusual.";
		unittalk getcharid(3),strcharinfo(0)+ " : Heart Hunter?!",bc_self;
		next;
		mes "[Aas]";
		mes "In the daytime, our team is in charge of patrols and security. At nighttime, the security guards of Schlein take over.";
		next;
		mes "[Aas]";
		mes "The shifts scheduled for that day came in wearing new uniforms, it was a mistake for me to believe it was an experimental outfit.";
		next;
		cutin "ep171_as01",1;
		mes "[Aas]";
		mes "They seized the daytime crew in an instant.";
		mes "With their deception, they took all over the security guards simultaneously.";
		next;
		mes "[Aas]";
		mes "I tried to send an emergency request to get a response team, but they are extraordinarily strong...";
		mes "Only more guards ended up being sacrificed and we didn't have any success.";
		next;
		cutin "ep171_as02",1;
		mes "[Aas]";
		mes "And the one responsible for this was Schlein, showing up in a new uniform.";
		mes "He asked me if I wanted to become stronger. If I accepted his offer, I would become a Heart Hunter too.";
		next;
		mes "[Aas]";
		mes "I refused and left, only to watch more guards suffering.";
		mes "Most of my crew suffered huge casualties, as I just stood by in shame...";
		next;
		cutin "ep171_as01",1;
		mes "[Aas]";
		mes "The guards wearing the new uniform, who followed Schlein, may not have all been Heart Hunters.";
		mes "Schlein only gathers the strongest people after all.";
		next;
		select("I've met Heart Hunters too...");
		cutin "ep162_est01",2;
		mes "[Est]";
		mes "Did you see any more Heart Hunters?";
		mes "Weren't those guards we fought in the battlefield some time ago?";
		next;
		mes "[Est]";
		mes "If our opponents are Heart Hunters, that's interesting.";
		mes "I should be able to handle them quickly.";
		mes "I'll go first.";
		next;
		mes "[Est]";
		mes "There, what do you say Aas?";
		next;
		cutin "ep171_as02",1;
		mes "[Aas]";
		mes "Yes? Yes! How can I help you with that?";
		next;
		cutin "ep162_est02",2;
		mes "[Est]";
		mes "Couldn't you just have said that?";
		mes "Are you afraid of these guards?";
		mes "Don't you think we should go now, after you tell us the way?";
		mes "Come on? Like the first operation we did.";
		next;
		cutin "ep171_as01",1;
		mes "[Aas]";
		mes "Yes. I see. You're right.";
		mes "I should go and explain the situation in more details...";
		npctalk "So Vice President....","Rekenber Senior Guard#171_cat",bc_self;
		next;
		cutin "ep171_kaya02",0;
		mes "[Middle-Aged Man]";
		mes "Don't worry about me.";
		mes "Is it safe for me to stay here?";
		mes "I have something I must do. You do what you have to do on your end.";
		next;
		cutin "ep171_as01",1;
		mes "[Aas]";
		mes "Roger. Then I will discuss strategies with Est.";
		next;
		cutin "ep162_est03",2;
		mes "[Est]";
		mes "Tes, watch out your back. Haha, you'll be alright.";
		next;
		cutin "ep171_kaya01",0;
		mes "[Middle-Aged Man]";
		mes "It all went so fast.";
		mes "I wish we could talk more in-depth about this operation.";
		completequest 7860;
		cloakonnpc "Rekenber Senior Guard#171_cat",getcharid(0);
		cloakonnpc "Commander Est#171_cat",getcharid(0);
		close3;
	}
	npctalk "I think Kaya has something else to say.","",bc_self;
	end;

OnInit:
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(7860) == 1");
	cloakonnpc();
	end;
}

pub_cat,163,102,3	script	Middle-Aged Man#171_cat	4_EP17_KAYA,{
	if (isbegin_quest(7860) == 1) {
		cutin "ep171_kaya01",0;
		mes "[Middle-Aged Man]";
		mes "I don't think I should be starting this conversation, so why do not you speak with Tes instead?";
		close3;
	}
	if (isbegin_quest(7860) == 2 && isbegin_quest(7861) == 0) {
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "Now I can formally introduce myself.";
		mes "My name is Kaya. I work with the Rekenber Division.";
		next;
		mes "[Kaya]";
		mes "There aren't a lot of security personal remaining in the Enterprise, because most of them betrayed Rekenber.";
		next;
		mes "[Kaya]";
		mes "So now, the rest of us are doing our best to shutdown Regenschirm...";
		mes "I've sent help requests here and there, but I haven't gotten a good replies yet.";
		next;
		cutin "ep16_tes01",1;
		mes "[Tes]";
		mes "An unusually large number of companies have contacted the Rekenber directly for support.";
		next;
		mes "[Tes]";
		mes  "But as a general soldier in the Schwartz Republic, it was too difficult to handle it ourselves and eventually we took advantage of the Rebellion and the adventurer's strength.";
		next;
		cutin "ep171_kaya02",2;
		mes "[Kaya]";
		mes "I can understand why Est was so angry.";
		mes "There are many people who are blind to the corrupt management and others who work on their own accord.";
		next;
		mes "[Kaya]";
		mes "I've came here to purge the evil from the Enterprise.";
		mes "However, I hadn't realize these rotten people were so deeply connected in politics.";
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "The citizen's safety is threatened,";
		mes "they don't know what the enterprise is thinking. Neither can they officially seek and request help.";
		next;
		cutin "ep16_tes03",1;
		mes "[Tes]";
		mes "Sigh, wait.";
		mes "You're not wrong, of course, but there are separate reasons for this.";
		mes "It look like your sister has made some kind of deal with the president.";
		next;
		cutin "ep171_kaya03",2;
		mes "[Kaya]";
		mes "No, it wouldn't have been necessary to make such a deal if the right people were governing in the first place!";
		next;
		cutin "ep16_tes03",1;
		mes "[Tes]";
		mes "Don't you think if the Enterprise had managed its properly to begin with, we wouldn't be in this situation right now?";
		next;
		cutin "ep171_kaya02",2;
		mes "[Kaya]";
		mes ".....";
		mes "I'm sorry, I got worked up.";
		mes "With our plan in action, I believe we have a better future ahead of us.";
		next;
		cutin "ep16_tes01",1;
		mes "[Tes]";
		mes "I agree, we have to act quickly though.";
		mes "So " + strcharinfo(0) + ",";
		mes "If possible, could you join Est and do some planning?";
		next;
		mes "[Tes]";
		mes "As said they were called 'Heart Hunters'.";
		mes "Maybe there is a connection with the previous incident. There maybe additional information we can send to Rune-Midgard.";
		next;
		mes "[Tes]";
		mes "Kaya and I will stay here to process and relay the incoming information.";
		mes "I will leave the battle side of things to you and Est.";
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "Please take care.";
		setquest 7861;
		next;
		cutin "ep16_tes01",1;
		mes "[Tes]";
		mes "I'll see you outside.";
		close2;
		cutin "",255;
		cloakonnpc "Philofontes#171_cat2",getcharid(0);
		end;
	}
	cutin "ep171_kaya01",0;
	mes "[Kaya]";
	mes "I'm sorry I can't help you anymore.";
	mes "I think it may turn into a messy fight.";
	close3;

OnInit:
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(7860) == 2 && isbegin_quest(7861) == 0");
	cloakonnpc();
	end;
}

pub_cat,165,103,3	script	Rekenber Senior Guard#171_cat	4_EP17_AS,{
	cutin "ep171_as02",1;
	mes "[Aas]";
	mes "Oh, hello there! My name is Aas from the Rekenber Security.";
	mes "I'm currently here as Kaya Tos's bodyguard";
	close3;

OnInit:
	cloakonnpc();
	end;
}

pub_cat,166,100,3	script	Commander Est#171_cat	4_F_ESTLOVELOY,{
	cutin "ep162_est03",2;
	mes "[Est]";
	mes "Why should we help them?";
	mes "Can you explain why we have to cooperate with them?";
	close3;

OnInit:
	cloakonnpc();
	end;
}

//= Pub Right Area
pub_cat,107,65,5	script	#EP171_EVT_CAT01	HIDDEN_WARP_NPC,5,5,{
	end;

OnTouch:
	if (isbegin_quest(7864) == 1) {
		cloakoffnpc "Lazy#171_cat",getcharid(0);
		cloakoffnpc "Kaya Tos#171_cat",getcharid(0);
		cloakoffnpc "Aas#171_cat",getcharid(0);
		end;
	}
	if (isbegin_quest(17003) == 0) {
		cloakoffnpc "Lazy#171_cat2",getcharid(0);
		cloakoffnpc "Kaya Tos#171_cat",getcharid(0);
		cloakoffnpc "Aas#171_cat",getcharid(0);
		end;
	}
	if (isbegin_quest(17003) == 1)
		cloakoffnpc "Lazy#171_cat2",getcharid(0);
	end;
}

pub_cat,106,69,7	script	Lazy#171_cat	4_M_LAZY,{
	if (isbegin_quest(7864) == 1) {
		cutin "16lei_03",0;
		mes "[Lazy]";
		mes "Look, that's all nice and good to have ^0000CDfacts^000000. But this is not even something you can use as a firepower.";
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "I've said it a few times already.";
		mes "This is it, those are all the ^0000CDfacts.^000000";
		next;
		cutin "16lei_02",0;
		mes "[Lazy]";
		mes "Truth be told, it doesn't sound convincing. If I look at the front page of your report, it does not at all align with my investigation results.";
		npctalk "If what you've written is true, then it's also true that the sky is red.","",bc_self;
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "If that's the case, then we should review the investigation methods and the credibility of the source.";
		next;
		cutin "16lei_03",0;
		mes "[Lazy]";
		mes "Oh sure, I have a lunch menu survey from the people in the neighborhood... is that what you want to use as facts?";
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "That's not what I said at all...";
		next;
		cutin "16lei_02",0;
		mes "[Lazy]";
		mes "What, you don't believe me? Yeah? Is that it? You don't think it's a reliable source of information?";
		next;
		cutin "ep171_kaya03",2;
		mes "[Kaya]";
		mes "Isn't it common sense that ^0000CDpeople inside the Enterprise know more?^000000";
		mes "Not only would we have access to more data, but the quality would be much higher than what's available to an outsider.";
		next;
		cutin "16lei_02",0;
		mes "[Lazy]";
		mes "Don't you think the Vice President would only share with us ^0000CDwhat he want us to know?^000000";
		mes "Am I supposed to suspend all critical thinking and unquestioningly believe you?";
		next;
		mes "[Lazy]";
		mes "Won't that mean you can just report to the President and hide a plan from us? Yeah? Right?";
		npctalk "No big crowds right?","",bc_self;
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "I never said that.";
		next;
		select("Lazy, what's wrong?");
		cutin "16lei_01",0;
		mes "[Lazy]";
		mes "Adventurer? Adventurer!! Hey, I haven't died yet!! Never been better!!";
		mes "Listen to me.";
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "Lazy? Is your name Lazy? Didn't you introduce yourself as Daisy?";
		next;
		cutin "16lei_02",0;
		mes "[Lazy]";
		mes "Oh, that? Don't worry about it, it's the name I use to distract people. There, now you know me. Oh by the way... never mind, you don't need to know that.";
		next;
		select("If it's Daisy... are you a flower?");
		mes "[Lazy]";
		mes "Look, although it may be true in my case, it doesn't mean it applies to me.";
		mes "Don't take it too personal. Who in the world only has one name?";
		unittalk getcharid(3),strcharinfo(0)+ " : Everyone else has one name?",bc_self;
		npctalk "Really?!","",bc_self;
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "If you don't have anything else to say, then please explain why your name is different.";
		next;
		cutin "16lei_03",0;
		mes "[Lazy]";
		mes "I was born to talk about it, but who are you talking about?";
		mes "I have so many things to talk about. I can talk about them all day long.";
		next;
		mes "[Lazy]";
		mes "Now, as you know, this conversation is business meeting, aren't the Vice President's underlings standing right behind you?";
		npctalk "Who else is getting paid by Rekenber here? The adventurer?","",bc_self;
		npctalk "Are you talking about me?","Aas#171_cat",bc_self;
		next;
		mes "[Lazy]";
		mes "It's already known to our neighbors that Rekenber was performing illegal experiments. Maybe the people on this list could have also been involved.";
		next;
		cutin "16lei_02",0;
		mes "[Lazy]";
		mes "Don't you want to clear their suspicions? Get their cooperation to know what's in your backyard?";
		mes "If it were up to me, I'd have done that already. When else would we get such an opportunity?";
		next;
		cutin "16lei_03",0;
		mes "[Lazy]";
		mes "What more are you hiding in your backyard? Are you not here for asking our help? If there's anything hidden over there,";
		mes "wouldn't the Vice President be in trouble?";
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "Requesting help and analyzing paperwork are separate matters.";
		next;
		cutin "16lei_03",0;
		mes "[Lazy]";
		mes "Is it a separate matter because you said so? When did you decide that?";
		next;
		mes "[Lazy]";
		mes "Now this has turned into a matter of trust, not merely a question about people missing!";
		npctalk "Do you still take me for a daisy?!","",bc_self;
		next;
		mes "[Lazy]";
		mes "Until we deal with these documents, how do you expect us to trust you?";
		mes "Why would you assume so? Nobody here believe you?";
		next;
		cutin "16lei_02",0;
		mes "[Lazy]";
		mes "So here's the real question! How can we really cooperate with you if we don't have trust between us?";
		npctalk "The correct answer is we can't! I don't think that's possible.","",bc_self;
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "These are the official documents from the Rekenber investigation.";
		mes "Whether you believe it or not, Daisy, I don't know how else to clear your doubts.";
		next;
		cutin "16lei_02",0;
		mes "[Lazy]";
		mes "So you searched into the Enterprise very thoroughly and your information is ^0000CD100% reliable.^000000";
		mes "So we have to believe it unconditionally. Isn't that strange? Do you have no evidence?";
		npctalk "I didn't know Rekenber was a such a religious group.","",bc_self;
		next;
		cutin "16lei_03",0;
		mes "[Lazy]";
		mes "I mean, if this document is credible at anyway, then you're calling me a liar, Vice President!";
		next;
		cutin "16lei_01",0;
		mes "[Lazy]";
		mes "Oh... this is sudden. Should I seek the cooperation of the Vice President after I've been called a liar?";
		npctalk "The question is, is it reliable?","",bc_self;
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "I never called you a liar...";
		next;
		cutin "16lei_02",0;
		mes "[Lazy]";
		mes "No that's not it. You're requesting our cooperation, and asking us to trust you completely without any real evidence. How can we believe you?";
		next;
		cutin "16lei_03",0;
		mes "[Lazy]";
		mes "Now, even if you actively cooperate with me, it's hard for me to like trust this arrangement.";
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "You're repeating yourself now. I assure you, you can trust the documents.";
		next;
		cutin "16lei_02",0;
		mes "[Lazy]";
		mes "Why would I believe in you if you don't believe in me? I'm a compassionate person, patient and very humane.";
		mes "Are your eyes so shut that you can't see what's in front of you?";
		next;
		cutin "ep171_as02",2;
		mes "[Aas]";
		mes "Now you're going too far!";
		next;
		cutin "16lei_02",0;
		mes "[Lazy]";
		mes "Don't worry, it's alright. You know it's all true.";
		next;
		cutin "ep171_as02",2;
		mes "[Aas]";
		mes "Why, what's the matter with you?";
		next;
		cutin "16lei_02",0;
		mes "[Lazy]";
		mes "Vice President, do you think that's right?";
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "........";
		next;
		cutin "16lei_02",0;
		mes "[Lazy]";
		mes "No? Well that's alright with me.";
		mes "I'm fine.";
		mes "I'm not blind. Even in my position, I've noticed the the Enterprise is hiding something from us!";
		next;
		cutin "16lei_03",0;
		mes "[Lazy]";
		mes "Anyway, Vice President, I know how people like you are, I'll give my report and I'll do things my own way.";
		npctalk "Have a good day!","",bc_self;
		next;
		mes "["+ strcharinfo(0) + "]";
		mes "Eh? Lazy? Where are you going!";
		cloakonnpc strnpcinfo(0),getcharid(0);
		sleep2 1000;
		cloakoffnpc "Lazy#171_cat2",getcharid(0);
		completequest 7864;
		setquest 17000;
		close3;
	}
	end;

OnInit:
	cloakonnpc();
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(7864) == 1");
	end;
}

pub_cat,105,58,3	script	Lazy#171_cat2	4_M_LAZY,{
	if (isbegin_quest(17000) == 1) {
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "Ah, this is frustrating!";
		mes "Adventurer! Listen to me! Listen to me and you'll be the judge of who's right. You know what these guys have been saying?";
		unittalk getcharid(3),strcharinfo(0)+ " : It's a disgrace.",bc_self;
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Now, look at this ^0000CDpile of documents^000000 over here. You don't have to read it too carefully. Just look at the cover.";
		next;
		select("Rekenber... missing list..?");
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "Yeah. It's a list of ^0000CDmissing people^000000 who used to work at Rekenber. I've investigated everything as much as I could.";
		unittalk getcharid(3),strcharinfo(0)+ " : What did you find?",bc_self;
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "Even though I'm acquainted with the information, it's impossible to go deeper inside the Enterprise.";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "If I wanted to do this, I was cautioned to proceed legally to avoid causing more frictions.";
		next;
		mes "[Lazy]";
		mes "I believe the president has a relationship with the government and its businesses. So they have think carefully about this matters.";
		npctalk "That's not my style.","",bc_self;
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "So when I met Kaya, I asked him to cooperate with me. You can help us in the yard, right?";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "Because he's a Rekenber official, it should be easy for him to find this information right?";
		next;
		select("Right.");
		mes "[Lazy]";
		mes "But, well, I need you to check this out and cooperate with the investigation. You know how I get when I get thrown paper from the head office.";
		npctalk "I'm do disappointed. What if the adventurer gets on a battle?","",bc_self;
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "The employees on the list are assigned to another work station and they're in constant rotation.";
		mes "Payments are also confirmed to be monthly basis.";
		next;
		mes "[Lazy]";
		mes "It's just common sense, why would a company go out their way to pay a salary to an unemployed person?";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "I'm telling you it's common sense~";
		mes "I can say common sense in front of people who have studied hard~";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "Wait, did I misunderstand the meaning of common sense?";
		mes "Did I change the definition without knowing about it?";
		unittalk getcharid(3),strcharinfo(0)+ " : Wouldn't you?",bc_self;
		npctalk "Isn't that what it means?","",bc_self;
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "So either you're lying here, or I'm the one lying. Adventurer, am I the one lying?";
		unittalk getcharid(3),strcharinfo(0)+ " : Um...",bc_self;
		npctalk "What are you worried about? I'm a very reliable person, why are you looking at me like that!","",bc_self;
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "To sum it all up, we've lost many contacts to Rekenber's employees. Nobody really knows what happened to them.";
		next;
		mes "[Lazy]";
		mes "But they have such a long history?";
		mes "The government just now realized about this issue. There's definitely a connection between that and the missing people. That's why I decided to investigate further.";
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "Who else would do the job if not me? That's why I have to investigate.";
		mes "I have to do it in very legitimate way, Because I told him I would do it without causing friction.";
		next;
		select("Are your results any different?");
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "If you spend a long time as an adventurer, you can add 1 and 1 together. I see the scheme.";
		mes "Yes, it's real.";
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "Yes, that's it. I'd like you to check again to figure out this mystery one and for all.";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "That's why ^0000CDI don't do desk jobs^000000.";
		mes "When I look at papers, I don't know how the world outside is doing.";
		mes "I prefer going outside on the field and learn with my own eyes.";
		npctalk "Being an adventurer really suits me more.","",bc_self;
		next;
		select("Do you want to go along with the investigation?");
		mes "[Lazy]";
		mes "Do you think these guys who won't listen will go? Will you accompany me to search for the truth?";
		unittalk getcharid(3),strcharinfo(0)+ " : I'll check the documents from the Vice President and your finding as well.",bc_self;
		npctalk "Do adventurers have bold ideas?","",bc_self;
		next;
		select("I'll be back as soon as possible.");
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "No, no, Adventurer. You don't have to do such a thing. You just need to report the situation to me and do it the way I told you.";
		npctalk "I can sense their hate, but I can't hear them.","",bc_self;
		next;
		select("Let me speak with them");
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "Yeah, well, if you want to talk, come to me anytime, but don't be too hard on yourself~ the energy and time of the adventurer is important.";
		npctalk "If you go, don't give up alright?","",bc_self;
		completequest 17000;
		setquest 17001;
		close3;
	}
	if (isbegin_quest(17001) == 1) {
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "I really like it here. Don't forget about the adventure, there's nothing to worry about.";
		close3;
	}
	if (isbegin_quest(17002) == 1) {
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "What did he say? No, right?";
		mes "See I told you. Persuading him is a waste of time. If you don't cooperate with me, there's no way I can report back to the President.";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "His stiffness is stronger than bamboo. He's so rigid that his knees wouldn't bend.";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "If you don't cooperate with him and do it my way from now on,";
		mes "The President will give you permission.";
		npctalk "My specialty is to go big!","",bc_self;
		next;
		mes "[Lazy]";
		mes "If you asked the enterprise to cooperate with us, but what are you going to do if they refused?";
		npctalk "I feel better already. Amazing~","",bc_self;
		next;
		cloakonnpc "Kaya Tos#171_cat",getcharid(0);
		cloakoffnpc "Kaya#171_cat2",getcharid(0);
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "Hmm. Excuse me.";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Have you thought about it?";
		npctalk "Have you thought about it?","",bc_self;
		next;
		cloakonnpc "Aas#171_cat",getcharid(0);
		cloakoffnpc "Aas#171_cat2",getcharid(0);
		cutin "ep171_as02",1;
		mes "[Aas]";
		mes "Please think it over, Vice President!";
		npctalk "Please think it over, Vice President!","Aas#171_cat2",bc_self;
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "This is a waste of time, no matter how I look at it. Even if you told me a hundred times, it's not economical for me to go. But I accept your proposal anyway.";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Economical? Of course it's economical. I also like being economical. So, I can do this economically on my own terms? Yeah?";
		mes "Dear Vice President?";
		npctalk "That settles it, we'll answer to the Vice President. I knew it!","",bc_self;
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "Listen to me. I asked the government for help. I do agree that for us to trust each other, we must fully cooperate with one another.";
		next;
		cutin "ep171_kaya02",0;
		mes "[Kaya]";
		mes "If the only way to achieve that is by reviewing the people on the list, I will accept the condition.";
		mes "^0000CDI will accompany you and actively cooperate.^000000";
		next;
		cutin "ep171_as02",1;
		mes "[Aas]";
		mes "Please reconsider, Vice President.";
		mes "You do not have to do that. I should go instead of you, no?";
		next;
		cutin "ep171_kaya02",0;
		mes "[Kaya]";
		mes "There is a limit to what you can do. This is my responsibility and mine alone.";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "Do you even know how to travel and cooperate?";
		unittalk getcharid(3),strcharinfo(0) + " : Please! What's wrong? Let him come with us!",bc_self;
		npctalk "No, no. I admire your efforts adventurer.","",bc_self;
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Good. Let's forget about the past altercation and focus on the future. Thank you Vice President.";
		npctalk "Will you keep an open mind?","",bc_self;
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "While the rest are analyzing what they've brought from the lab, the Vice President and I will go deal with the list.";
		next;
		cutin "ep171_kaya02",0;
		mes "[Kaya]";
		mes "Before we go on, there are two ^0000CDtwo conditions^000000 for this joint investigation.";
		mes "First, please have at least ^0000CDa minimum amount of courtesy.^000000";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "Oh, aren't you a ^0000CDVIP^000000?";
		mes "Okay, thank you very much, VIP.";
		next;
		cutin "ep171_kaya03",0;
		mes "[Kaya]";
		mes "Is it a hobby of yours to provoke other people?";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "If you don't like being called a VIP, then which title do you prefer?";
		unittalk getcharid(3),strcharinfo(0) + " : Pff, what the hell is wrong with you?",bc_self;
		npctalk "Why, what am I doing?","",bc_self;
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "... and second, I want a ^0000CDreliable person^000000 in your party.";
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "Why?";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "I will need a witness in the future.";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "Oh I see, so you don't believe me?";
		npctalk "Oh no~ Mother~ I'm being punished~","",bc_self;
		next;
		cutin "ep171_as02",1;
		mes "[Aas]";
		mes "If that's the requirement, I'll go!";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "You're already a witness on our side. You can't be a witness.";
		next;
		select("Then I'll go.");
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Eh? Why the adventurer? If you're coming along, then you'll get to do all the fun parts...!";
		npctalk "It'll be great!","",bc_self;
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "If me, " + strcharinfo(0) + " and Daisy are going, it will be a fair investigation.";
		mes "Will both of our determinations combined, nothing can stop us.";
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "Wait, but what about your guard?";
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "I do not need a guard. I came here by myself the first time around. I will be just fine this time too.";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "Very thoughtful. But you need to have a guard. It shouldn't be needed, but in case something goes wrong.";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Even though I'm a very talented person, I have to prioritize my own safety first.";
		mes "Look, I can take care of myself, and If I have to, I can tag along with the adventurer, but what about a VIP?";
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "If you get hurt it will only cause a scandal. It would be bad! You know what I mean, right?";
		mes "Plus we might not be able to get back right away, so it might get complicated.";
		npctalk "The job is important, but protecting the VIP is also important.","",bc_self;
		next;
		cutin "ep171_as01",1;
		mes "[Aas]";
		mes "Yes, I'm definitely going!";
		npctalk "I just want to make sure you're safe!","Aas#171_cat2",bc_self;
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "Well then I'll bring Aas with me...";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Also, it's really economical. Quick decision making, I like it.";
		mes "So let's start with ^0000CDEinbroch^000000 at the <NAVI>[Airport]<INFO>einbroch,42,208,0,101,0</INFO></NAVI>.";
		completequest 17002;
		setquest 17003;
		getexp 300000,300000;
		close3;
	}
	if (isbegin_quest(17003) == 1) {
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "What are you doing here?.";
		mes "Let's go to the <NAVI>[Einbroch Airport]<INFO>einbroch,42,208,0,101,0</INFO></NAVI>.";
		close3;
	}
	end;

OnInit:
	cloakonnpc();
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(17000) == 1");
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(17002) == 1");
	end;
}

pub_cat,109,71,3	script	Kaya Tos#171_cat	4_EP17_KAYA,{
	if (isbegin_quest(17001) == 1) {
		mes "["+ strcharinfo(0) + "]";
		mes "Hello. I'm back is everything fine?";
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "Of course I can spare some time for someone who helped get back the laboratory. I really appreciate it.";
		mes "But why have you come to see me?";
		next;
		cutin "",255;
		mes "- You explain to Kaya, about what you and Lazy discussed. -";
		next;
		cutin "ep171_kaya03",2;
		mes "[Kaya]";
		mes "I understand what you mean, But Daisy's logic ^0000CDis too much^000000. I cannot doubt the ^0000CDcredibility of official documents,^000000 that's not just possible.";
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "I have no intention of debating this further with you, so I'll talk to the person in charge.";
		next;
		cloakonnpc "Lazy#171_cat2",getcharid(0);
		cloakoffnpc "Lazy#171_cat",getcharid(0);
		cutin "16lei_02",0;
		mes "[Lazy]";
		mes "Who's the responsible one?";
		mes "The person in front of me?";
		npctalk "Where are you looking at? There's no one there.","Lazy#171_cat",bc_self;
		next;
		cutin "16lei_01",0;
		mes "[Lazy]";
		mes "The president gave me his full authority on this matter.";
		next;
		cutin "ep171_kaya03",2;
		mes "[Kaya]";
		mes "And who are you exactly?";
		next;
		cutin "16lei_02",0;
		mes "[Lazy]";
		mes "I already told you before, didn't I? Does the Vice President have a bad memory?";
		next;
		cutin "ep171_kaya03",2;
		mes "[Kaya]";
		mes "Why would I believe a man who gave me a fake name?";
		next;
		cutin "16lei_03",0;
		mes "[Lazy]";
		mes "A name is just a name. If I was called Shit, would I become Shit when talking to the Vice President?";
		next;
		select("Is it your hobby to eavesdrop?");
		mes "[Lazy]";
		mes "Why? Isn't this where I should be?";
		mes "Is it bad to listen? Don't bother with them it's not worth your time.";
		unittalk getcharid(3),strcharinfo(0)+ " : Just let me handle it!",bc_self;
		next;
		cutin "",255;
		cloakonnpc "Lazy#171_cat",getcharid(0);
		cloakoffnpc "Lazy#171_cat2",getcharid(0);
		mes "["+ strcharinfo(0) + "]";
		mes "As Lazy was saying... Even if you called Lazy by Shit, Lazy would still be Lazy.";
		next;
		mes "["+ strcharinfo(0) + "]";
		mes "Even if there is someone introduced Lazy as Shit, would you always view him as Shit for the rest of his life?";
		next;
		mes "["+ strcharinfo(0) + "]";
		mes "Now here's what really matters. If you do not tell the truth about what really happened, you'll not be able to get their cooperation.";
		next;
		mes "["+ strcharinfo(0) + "]";
		mes "Vice President, this is all about the Enterprise. Wouldn't it be nice to clear these doubts at once and for all, and show a better image of the Enterprise?";
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "I understand what you're saying, but you're wrong. We are telling you the truth and you're assuming we are lying.";
		next;
		cutin "",255;
		mes "["+ strcharinfo(0) + "]";
		mes "I don't know everything that Lazy knows, but he seems to have better grasp at the situation than you do, Vice President.";
		next;
		mes "["+ strcharinfo(0) + "]";
		mes "Lazy isn't the type of person that would spend time investigating these matter for no reason.";
		unittalk getcharid(3),strcharinfo(0)+ " : If you want to build trust in the Enterprise, please reconsider.",bc_self;
		next;
		mes "["+ strcharinfo(0) + "]";
		mes "Lazy says he cannot believe the results the Vice President has provided, but do you not believe the results Reiji provided either, correct?";
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "We'd rather trust our results than those of Daisy.";
		next;
		cutin "",255;
		mes "["+ strcharinfo(0) + "]";
		mes "How about this then? Why don't you two, who don't trust each other, see it for yourselves, together?";
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "Investigate, together?";
		next;
		cutin "",255;
		mes "["+ strcharinfo(0) + "]";
		mes "As Lazy said, he doesn't trust your findings.";
		mes "If you can't believe in each other results, why don't you guys start from the beginning?";
		next;
		mes "["+ strcharinfo(0) + "]";
		mes "If you both investigate the differences between the reports, you'll know for sure which is accurate. A compromise must be done here.";
		next;
		cutin "ep171_kaya02",2;
		mes "[Kaya]";
		mes "That's valid argument. But do I need to go too? I would prefer talking to you.";
		next;
		cloakoffnpc "Lazy#171_cat",getcharid(0);
		cloakonnpc "Lazy#171_cat2",getcharid(0);
		cutin "16lei_02",0;
		mes "[Lazy]";
		mes "Can you believe what I've investigated so far? You still can't believe my findings, because you're assuming your documents are correct.";
		next;
		cutin "16lei_03",0;
		mes "[Lazy]";
		mes "Yeah, no. I didn't think so.";
		npctalk "The truth is overwhelming.","Lazy#171_cat",bc_self;
		next;
		select("Do you mind?");
		mes "[Lazy]";
		mes "I can't help it. We're wasting our time with them, why bother? What's wrong? Do you have nothing to say?";
		next;
		select("Please wait a moment, Lazy");
		mes "[Lazy]";
		mes "I don't have much time to wait for this silliness.";
		next;
		cloakonnpc "Lazy#171_cat",getcharid(0);
		cloakoffnpc "Lazy#171_cat2",getcharid(0);
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "The results will be the same no matter how many times we check them. We have a lot of other work to do.";
		next;
		cutin "",255;
		mes "["+ strcharinfo(0) + "]";
		mes "Vice President, you believe all the people in the Enterprise, right? But what will happen now?";
		mes "With the current situation, nobody will believe your findings.";
		next;
		mes "["+ strcharinfo(0) + "]";
		mes "If Lazy was wrong after the joint investigation, then you'd simply have wasted a bit of your time, but for the Vice President, it's a huge issue.";
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "... Please give me a few minutes to consider my options.";
		completequest 17001;
		setquest 17002;
		close3;
	}
	if (isbegin_quest(17002) == 1) {
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "Daisy's opinion is hard to accept, but the logic behind it... is correct. I think I'll give it a try.";
		close3;
	}
	cutin "ep171_kaya01",2;
	mes "[Kaya]";
	mes "Didn't you come here to find Daisy?";
	close3;

OnInit:
	cloakonnpc();
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(17001) == 1");
	end;
}

//= RUDUS MAP
sp_rudus,184,360,5	script	Elena Volkova#171_rudus	4_F_ELENA,{
	if (isbegin_quest(7851) == 1) {
		cutin "162elena_01",2;
		mes "[Elena Volkova]";
		mes "Oh, this place is so peaceful.";
		mes "You look pale.";
		mes "...";
		mes "It's a joke, I think I need more time to properly investigate this area.";
		next;
		select("Is there any problem?");
		mes "[Elena Volkova]";
		mes "They said barriers were built because the factory closed.";
		mes "Something doesn't feel right here though.";
		next;
		mes "[Elena Volkova]";
		mes "Anyway, I should go beyond the barrier to get satisfying information for Tes?";
		mes "My crew is working on securing the doorway first. If you open it, go check out the other side.";
		next;
		mes "[Elena Volkova]";
		mes "You remember Lucky? I brought him along, so go ahead and ask him about the progress.";
		erasequest 7851;
		setquest 7852;
		close3;
	}
	if (isbegin_quest(7852) == 1) {
		cutin "162elena_01",2;
		mes "[Elena Volkova]";
		mes "I need to find out what's beyond the barrier.";
		mes "If there's nothing special, I'll just leave. But if there is something there at all, Should I use my full strength?";
		mes "Of course, I like the latter.";
		close3;
	}
	if (isbegin_quest(7858) == 0) {
		npctalk "Elena : Ehehehe. Whatever in this place is, I hope it'll be a challenge.","",bc_self;
		end;
	}
	if (isbegin_quest(7858) < 2) {
		if (checkquest(7858,HUNTING) != 2) {
			cutin "162elena_01",2;
			mes "[Elena Volkova]";
			mes "Have you investigated beyond the barrier?";
			mes "If something suspicious comes up, Leave it to me!";
			close3;
		}
		cutin "162elena_01",2;
		mes "[Elena Volkova]";
		mes "Now, it's finally Elena Volkova's time to shine!";
		mes "Adventurer, return to Cat on Bullet and tell Tes what happened here.";
		next;
		mes "[Elena Volkova]";
		mes "There is no difference whether you report it or someone else does.";
		mes "This place is just a dump.";
		completequest 7858;
		setquest 7859;
		getitem 25723,15;
		getexp 800000,800000;
		close;
	}
	if (isbegin_quest(7859) == 1) {
		cutin "162elena_01",2;
		mes "[Elena Volkova]";
		mes "The USU will manage somehow, go ahead and report back to Tes about the situation.";
		mes "In the meantime, I have to help out my team.";
		close3;
	}
	cutin "162elena_01",2;
	mes "[Elena Volkova]";
	mes "This area is nothing but a disposal facility.";
	mes "It's where they throw away their failed experiments.";
	next;
	cutin "162elena_02",2;
	mes "[Elena Volkova]";
	mes "It would be great if those guys went outside the barrier.";
	mes "I haven't trained today!";
	close3;

OnInit:
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(7851) == 1");
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"checkquest(7858,HUNTING) == 2");
	end;
}

sp_rudus,193,284,0	script	Rookie#171_rudus	4_M_ROOKIE,{
	if (isbegin_quest(7852) == 1) {
		cutin "16loo_01",2;
		mes "[Rookie]";
		mes "Are you an adventurer?";
		mes "Did Tes send you? If you want more information, you'll have to find it yourself.";
		next;
		mes "[Rookie]";
		mes "Would you look at this place?";
		mes "It's a triple-edged door. I'm having a hard time opening it up.";
		next;
		mes "[Rookie]";
		mes "Of course, if you use magic like Teleport or Fly Wings, you can get past it.";
		mes "We have a lot of people with us though... *laughs*";
		mes "Wouldn't you prefer to go in directly with your own two legs?";
		next;
		mes "[Rookie]";
		mes "Other rebellion members are already looking for an entry point. If you don't mind, can you check on them?";
		mes "Maybe you'll find something out.";
		erasequest 7852;
		setquest 7853;
		next;
		mes "[Rookie]";
		mes "The abandoned mine is beyond this barrier. Be careful.";
		close3;
	}
	if (isbegin_quest(7853) == 1) {
		cutin "16loo_01",2;
		mes "[Rookie]";
		mes "Other rebellion members are already looking for an entry point. If you don't mind, look for them adventurer.";
		mes "Maybe you'll find something out.";
		next;
		mes "[Rookie]";
		mes "The abandoned mine is beyond this barrier. Be careful.";
		close3;
	}
	if (isbegin_quest(7857) == 1) {
		cutin "16loo_03",2;
		mes "[Rookie]";
		mes "Hey... So you found a watchtower and Small Hole?";
		mes "A Small Hole so small, that a human couldn't have pass it? Ahaha...";
		mes "That's too bad.";
		next;
		cutin "16loo_01",2;
		mes "[Rookie]";
		mes "If I could use that Small Hole, my efforts would be in vain wouldn't they?";
		mes "Don't be disappointed!";
		mes "I finally unlocked this door.";
		next;
		mes "[Rookie]";
		mes "This button right here opens the door, but the moment you release it, the door closes.";
		mes "Does that mean there's no way for a single person to cross on the other side?";
		next;
		mes "[Rookie]";
		mes "Even if you come with 2 people...";
		mes "This is awkward.";
		mes "It seems to have been made with the intention of 'throwing in'.";
		next;
		select("Throwing in?");
		mes "[Rookie]";
		mes "There is a place like this with similar devices.";
		mes "A prison. A jail. It's for prisoners... What is this place?!";
		mes "What is it? Are we in a criminal camp?";
		next;
		mes "[Rookie]";
		mes "No that's not it. If it was such a facility, Tes wouldn't have known about it.";
		mes "Well, for now, you should just go in.";
		next;
		select("I hear suspicious sounds...");
		mes "[Rookie]";
		mes "Well? Aaah! I heard that. These are strange screams? So the other members went in.";
		mes "I'll stay here to manage the switch while you go on the other side.";
		next;
		mes "[Rookie]";
		mes "Are you going to join the others too?";
		mes "If you find the sources of the noises, see monsters, or anything else out of ordinary, please let me know!";
		completequest 7857;
		setquest 7858;
		next;
		cutin "16loo_02",2;
		mes "[Rookie]";
		mes "When you want to come out, do 'tock-tock-tock' on the other side and knock on the iron door three times.";
		mes "I'll open the door from my end.";
		mes "Of course you can also use magic to get out... Ahaha.";
		close3;
	}
	if (isbegin_quest(7858) < 2) {
		if (checkquest(7858,HUNTING) != 2) {
			cutin "16loo_01",2;
			mes "[Rookie]";
			mes "Other rebellion members have already entered.";
			mes "We can't just leave them alone.";
			mes "Be careful.";
			close3;
		}
		mes "[Rookie]";
		mes "Woah... what happened in there?";
		mes "You look exhausted...";
		next;
		select("The monsters came out.");
		mes "[Rookie]";
		mes "The monsters!?";
		mes "Let's report to Elena! Then, return to Cat on Bullet and report back to Tes!";
		next;
		mes "[Rookie]";
		mes "Do you think the monsters can get out from the small gap?";
		mes "I'll stay here and return with Elena in a bit!";
		close3;
	}
	cutin "16loo_01",2;
	mes "[Rookie]";
	mes "It's nice to suddenly have so much work to do... But I won't be able to to do everything on own...";
	close3;

OnInit:
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(7852) == 1");
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(7857) == 1");
	end;
}

sp_rudus,304,266,3	script	Rebellion Crew#171_rudus01	4_M_REBELLION3,{
	if (isbegin_quest(7853) == 1 && isbegin_quest(7854) == 0) {
		mes "[Rebellion Crew]";
		mes "Well? Are you involved with the operation?";
		mes "Even though I live in Einbroch,";
		mes "This is the first time I've seen it.";
		next;
		select("What's wrong?");
		mes "[Rebellion Crew]";
		mes "Look over here, is it not strange?";
		mes "It's a railway to carry minerals, but they've built a barrier on top.";
		mes "It doesn't even have a door.";
		next;
		mes "[Rebellion Crew]";
		mes "At first I thought this wall was meant to separate the smelting factory and the mine...";
		mes "But I don't think it is?";
		next;
		select("Was the barrier created afterwards?");
		mes "[Rebellion Crew]";
		mes "For sure.";
		mes "But why do you need a barrier to an already closed mine and factory?";
		mes "And this type of structure is what's used in prisons.";
		next;
		mes "[Rebellion Crew]";
		mes "I don't know the purpose of this wall, but it was not built while the factory was still running.";
		next;
		mes "[Rebellion Crew]";
		mes "I'll have a closer look and join you later.";
		mes "Please tell Lucky.";
		setquest 7854;
		if (isbegin_quest(7854) == 1 && isbegin_quest(7855) == 1 && isbegin_quest(7856) == 1) {
			erasequest 7854;
			erasequest 7855;
			erasequest 7856;
			completequest 7853;
			setquest 7857;
		}
		close;
	}
	if (isbegin_quest(7853) == 1) {
		mes "[Rebellion Crew]";
		mes "I have to look a bit more.";
		close;
	}
	npctalk "Uh... I'm going crazy with all these strange noises.","",bc_self;
	end;

OnInit:
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(7853) == 1 && isbegin_quest(7854) == 0");
	end;
}

sp_rudus,122,286,3	script	Rebellion Crew#171_rudus02	4_M_REBELLION3,{
	if (isbegin_quest(7853) == 1 && isbegin_quest(7855) == 0) {
		mes "[Rebellion Crew]";
		mes "Well? What is the adventurer doing here?";
		mes "Are you part of the operation too?";
		next;
		mes "[Rebellion Crew]";
		mes "Oh! I'll let you know what I found here.";
		mes "Do you see this big column?";
		mes "I went on top of it, the watchtower!";
		next;
		mes "[Rebellion Crew]";
		mes "It looks better than the barrier.";
		mes "I don't know why there's a watchtower in smelting facility, but it's definitely a watchtower!";
		mes "This is the discovery of the century. Ahaha!";
		next;
		mes "[Rebellion Crew]";
		mes "When I was looking up there, I think I saw something move.";
		mes "I'm going to make sure of what I saw by going back up!";
		setquest 7855;
		if (isbegin_quest(7854) == 1 && isbegin_quest(7855) == 1 && isbegin_quest(7856) == 1) {
			erasequest 7854;
			erasequest 7855;
			erasequest 7856;
			completequest 7853;
			setquest 7857;
		}
		close;
	}
	if (isbegin_quest(7853) == 1) {
		mes "[Rebellion Crew]";
		mes "I will learn everything I can about the watchtower! You can report back to Lucky!";
		close;
	}
	npctalk "I'm going to have to take over this watchtower too...!","",bc_self;
	end;

OnInit:
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(7853) == 1 && isbegin_quest(7855) == 0");
	end;
}

sp_rudus,27,300,0	script	Small Hole#171_rudus	4_ENERGY_BLUE,{
	if (isbegin_quest(7853) == 1 && isbegin_quest(7856) == 0) {
		mes "There is a small enough hole just barely enough for a child to go through.";
		mes "It seems like an animal has dug this hole and made a little cave.";
		mes "Let's have another look around.";
		setquest 7856;
		if (isbegin_quest(7854) == 1 && isbegin_quest(7855) == 1 && isbegin_quest(7856) == 1) {
			erasequest 7854;
			erasequest 7855;
			erasequest 7856;
			completequest 7853;
			setquest 7857;
		}
		close;
	}
	if (isbegin_quest(7853) == 1) {
		unittalk getcharid(3),strcharinfo(0) + " : I should go and take another look around.";
		end;
	}
	unittalk getcharid(3),strcharinfo(0) + " : This hole is too small to be useful.",bc_self;
	end;

OnInit:
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(7853) == 1 && isbegin_quest(7856) == 0");
	end;
}

//= SP OS
sp_os,252,359,5	script	Dien#171_spos	4_F_DIENE,{
	if (isbegin_quest(11603) == 1) {
		cutin "ep162_dn01",2;
		mes "[Dien]";
		mes "Oh!";
		mes "Are you back already?";
		mes "Did you find it?";
		next;
		select("Hand over the picture");
		cutin "ep171_trio_memory",1;
		mes "[Dien]";
		mes "Thank you.";
		mes "You may think it's not worth much, but it means a lot to me...";
		if (countitem(25665)) delitem 25665,1;
		next;
		cutin "ep162_dn01",2;
		mes "[Dien]";
		mes "What's with that expression...?";
		next;
		cutin "ep162_rds03",2;
		mes "[Ridsh]";
		mes "I've never seen that in the room.";
		next;
		cutin "ep162_dn01",2;
		mes "[Dien]";
		mes "Ahah...";
		mes "It's a souvenir of us when we were children.";
		mes "Was it always like that?";
		next;
		cutin "ep162_rds03",2;
		mes "[Ridsh]";
		mes "Were we really so loud?";
		mes "Anyway, we've opened the door, let's go.";
		mes "I think people are coming.";
		completequest 11603;
		getexp 200000,100000;
		close2;
		cutin "",255;
		warp "sp_cor",163,60;
		end;
	}
	mes "[Dien]";
	mes "It's been a while since I have been this excited.";
	close;

OnInit:
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(11603) == 1");
	end;
}

sp_rudus,130,200,4	script	Morning#171_rudus	4_EP17_MORNING,{
	if (isbegin_quest(5856) == 0) {
		cutin "ep171_morning03",2;
		sleep2 2000;
		cutin "",255;
		unittalk getcharid(3),strcharinfo(0) + " : The child is laughing with a bright smile that doesn't match this place.",bc_self;
		end;
	}
	switch (checkquest(5861,PLAYTIME)) {
	case -1:
		break;
	case 0:
	case 1:
		cutin "ep171_morning03",2;
		unittalk getcharid(3),strcharinfo(0) + " : Morning is smiling today.",bc_self;
		select("Chat with Morning.");
		cutin "ep171_morning03",1;
		switch (rand(1,5)) {
		case 1:
			unittalk getcharid(3),strcharinfo(0) + " : Morning, what do you eat for breakfast?",bc_self;
			sleep2 2000;
			npctalk "Morning : I think about the story you told me. I'm sorry to hear that.","",bc_self;
			break;
		case 2:
			unittalk getcharid(3),strcharinfo(0) + " : Morning, have you been to other floors inside Rudus?",bc_self;
			sleep2 2000;
			npctalk "Morning : The adventurer said the other floors were scary. Mushroom...","",bc_self;
			break;
		case 3:
			unittalk getcharid(3),strcharinfo(0) + " : Morning, why are you called morning?",bc_self;
			sleep2 2000;
			npctalk "Morning : Morning? It's morning here.","",bc_self;
			break;
		case 4:
			unittalk getcharid(3),strcharinfo(0) + " : Morning, kurururu!",bc_self;
			sleep2 2000;
			npctalk "Morning : .......?","",bc_self;
			emotion ET_QUESTION;
			break;
		case 5:
			unittalk getcharid(3),strcharinfo(0) + " : Morning, why do you stay in Rudus?",bc_self;
			sleep2 2000;
			npctalk "Morning : Everyone is quiet, except you adventurer.","",bc_self;
			emotion ET_OHNO;
			}
		sleep2 2000;
		unittalk getcharid(3),strcharinfo(0) + " : It sounded like you're having a conversation with someone?",bc_self;
		cutin "",255;
		end;
	case 2:
		erasequest 5861;
	}
	for (.@i = 0; .@i < getarraysize(.quest_data$); .@i++) {
		explode(.@temp$,.quest_data$[.@i],":");
		if (checkquest(atoi(.@temp$[0])) > 0) {
			if (countitem(atoi(.@temp$[1])) < 10) {
				.@UF = 1;
				break;
			} else {
				setpcblock PCBLOCK_ALL,true;
				unittalk getcharid(3),strcharinfo(0) + " : Ah, Morning! Would you mind?",bc_self;
				sleep2 2000;
				cutin "ep171_morning03",2;
				npctalk "Woah! I will enjoy this food. Thank you adventurer.","",bc_self;
				sleep2 2000;
				npctalk "First...","",bc_self;
				sleep2 2000;
				npctalk "This is what's left. I'll give it to you adventurer.","",bc_self;
				setquest 5861;
				erasequest atoi(.@temp$[0]);
				delitem atoi(.@temp$[1]),10;
				getitem 25669,5; //= Unknown Part
				getitem 25723,1; //= Cor Core
				getexp 750000,750000;
				setpcblock PCBLOCK_ALL,false;
				cutin "",255;
				end;
			}
		}
		continue;
	}
	cutin "ep171_morning01",2;
	setpcblock PCBLOCK_ALL,true;
	unittalk getcharid(3),strcharinfo(0) + " : This kid seems to be Morning.",bc_self;
	switch (prompt("Find a meal for Morning.:Chat with Morning.")) {
	case 255:
		setpcblock PCBLOCK_ALL,false;
		end;
	case 1:
		if (.@UF) {
			npctalk "Is the adventurer back already?","",bc_self;
			cutin "",255;
			setpcblock PCBLOCK_ALL,false;
			end;
		}
		unittalk getcharid(3),strcharinfo(0) + " : Ah, Morning! Would you mind? What do you want to eat today?",bc_self;
		.@index = rand(getarraysize(.quest_data$));
		explode(.@temp$,.quest_data$[.@index],":");
		sleep2 2000;
		npctalk .@temp$[2] +"! Morning wants " + getitemname(atoi(.@temp$[1])) + " for breakfast.","",bc_self;
		sleep2 2000;
		unittalk getcharid(3),strcharinfo(0) + " : Right! Is this what Morning wants?!",bc_self;
		emotion ET_HUK,getcharid(3);
		sleep2 2000;
		unittalk getcharid(3),strcharinfo(0) + " : You want " + getitemname(atoi(.@temp$[1])) + "? Would 10 be enough?",bc_self;
		emotion ET_STARE,getcharid(3);
		sleep2 2000;
		switch (prompt("I'll bring it.:Something urgent happened.")) {
		case 255:
			setpcblock PCBLOCK_ALL,false;
			end;
		case 1:
			cutin "ep171_morning02",2;
			if (isbegin_quest(atoi(.@temp$[0])) > 0)
				erasequest atoi(.@temp$[0]);
			setquest atoi(.@temp$[0]);
			npctalk "Wow~ Everyone! " + ((Sex == 1)?"Papa!":"Mama!"),"",bc_self;
			unittalk getcharid(3),strcharinfo(0) + " : Morning, wait a little and I'll be back.",bc_self;
			setpcblock PCBLOCK_ALL,false;
			cutin "",255;
			end;
		case 2:
			cutin "",255;
			setpcblock PCBLOCK_ALL,false;
			end;
		}
	case 2:
		cutin "ep171_morning02",2;
		unittalk getcharid(3),strcharinfo(0) + " : Does morning have a hungry appetite?",bc_self;
		sleep2 2000;
		cutin "",255;
		unittalk getcharid(3),strcharinfo(0) + " : It doesn't seem he's willing to communicate.",bc_self;
		setpcblock PCBLOCK_ALL,false;
	}
	end;

OnInit:
	setarray .quest_data$,"5862:909:Jellopies","5863:902:Roots","5864:940:Legs","5865:705:Clovers","5866:916:Feathers","5867:1016:Tails","5868:937:Canines","5869:942:Tails","5870:913:Tooth","5871:948:Footskins";
	questinfo(QTYPE_DAILYQUEST,QMARK_YELLOW,"isbegin_quest(5856) == 2 && checkquest(5861,PLAYTIME) == -1");
	questinfo(QTYPE_DAILYQUEST,QMARK_YELLOW,"isbegin_quest(5856) == 2 && checkquest(5861,PLAYTIME) == 2");
	end;
}

sp_rudus,124,195,0	script	#morning_garbage_pile	4_ENERGY_WHITE,{
	if (isbegin_quest(5856) == 0 && isbegin_quest(7850) == 2) {
		mes "";
		mes "A lot of garbage is piled up around this rock. It seems to have been there for a while too. Let's dig the ground.";
		next;
		if (select("Dig.:Quit.") == 2) close;
		mes "";
		mes "I searched the ground and found a note someone buried.";
		setquest 5856;
		completequest 5856;
		close;
	}
	mes "";
	mes "A lot of garbage is piled up around this rock. It seems to have been there for a while too. Let's dig the ground.";
	next;
	if (select("Dig.:Quit.") == 2) close;
	mes "";
	mes "Someone seems to have already dug this place.";
	close;

OnInit:
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(7850) == 2 && isbegin_quest(5856) == 0");
	end;
}

//= Cor OS
function	script	171_worker_talk	{
	.@type = getarg(0);
	.@npc$ = getarg(1);
	switch (.@type) {
		case 1: .@talk$ = "Wow! We weren't lucky this morning!"; break;
		case 2: .@talk$ = "Who's being so loud?"; break;
		case 3: .@talk$ = "It looks like it's these guys."; break;
		case 4: .@talk$ = "What a mess!"; break;
		case 5: .@talk$ = "You didn't? Then please get out!"; break;
		case 6: .@talk$ = "Why are messing with someone else's home?"; break;
		case 7: .@talk$ = "Are you planning to bring more?"; break;
		case 8: .@talk$ = "I can't get in here anymore!"; break;
		case 9: .@talk$ = "I can see your eyes!"; break;
		case 10: .@talk$ = "No, please leave. You can't do this."; break;
		case 11: .@talk$ = "No... did you guys kill everyone?"; break;
		case 12: .@talk$ = "We don't know who you are."; break;
		case 13: .@talk$ = "Stay still everyone, let me see what they want."; break;
		case 14: .@talk$ = "I don't see that?"; break;
		case 15: .@talk$ = "Yeah, that's right. I haven't been able to go anywhere."; break;
		case 16: .@talk$ = "No, that's not what we do!"; break;
		case 17: .@talk$ = "Are we doing chores too now?"; break;
		case 18: .@talk$ = "Well that's just awesome!"; break;
		case 19: .@talk$ = "Who do you think you are?"; break;
		case 20: .@talk$ = "Yeah, just look at you guys."; break;
		case 21: .@talk$ = "My neighbor always used to play with a gun, it was scary!"; break;
		case 22: .@talk$ = "You'd like that? Wouldn't you?"; break;
		case 23: .@talk$ = "Why should we put up with that?"; break;
		case 24: .@talk$ = "It's okay. There is no need to make a fuss!"; break;
		case 25: .@talk$ = "I'm just doing my work! What are you planning to do?"; break;
		case 26: .@talk$ = "What are they saying now?"; break;
		case 27: .@talk$ = "Yeah. What are they talking about?"; break;
		case 28: .@talk$ = "How did we know there were researchers?"; break;
		case 29: .@talk$ = "Wait, where have you been?"; break;
		case 30: .@talk$ = "They will come when the rice is cooked."; break;
		case 31: .@talk$ = "Is anyone allowed to leave? I heard you!"; break;
		case 32: .@talk$ = "What, are we rubbish to you? Is that it?"; break;
		case 33: .@talk$ = "Yeah! without us, the lab can't function!"; break;
		case 34: .@talk$ = "We won't listen to you anymore! Get out!"; break;
		case 35: .@talk$ = "Come on! Get out!"; break;
		case 36: .@talk$ = "Your existence itself is a threat to us!"; break;
		case 37: .@talk$ = "Come on, I'll fight you at the end of the day!"; break;
		case 38: .@talk$ = "Do you think you can just stay here?"; break;
		case 39: .@talk$ = "Just come and try! Do it!!"; break;
		case 40: .@talk$ = "Who's that?"; break;
		case 41: .@talk$ = "Are you on the meeting square, who is this now?"; break;
		case 42: .@talk$ = "Wait, I think I just heard something? Vice President?"; break;
		case 43: .@talk$ = "We have nothing else to say!"; break;
		case 44: .@talk$ = "If that's the Vice President, then I'm the Vice President too!"; break;
		case 45: .@talk$ = "No, what? For Real?"; break;
		case 46: .@talk$ = "Well, me neither."; break;
		case 47: .@talk$ = "What are you doing here?"; break;
		case 48: .@talk$ = "Yeah, why are you here?"; break;
		case 49: .@talk$ = "What are you trying to say now?"; break;
		case 50: .@talk$ = "That's right, why?"; break;
		case 51: .@talk$ = "I don't know..."; break;
		case 52: .@talk$ = "Do we just suddenly introduce ourselves?"; break;
		case 53: .@talk$ = "Oh, I don't think that's it."; break;
		case 54: .@talk$ = "They were doing that with sunlight right?"; break;
		case 55: .@talk$ = "Right. I saw it."; break;
		case 56: .@talk$ = "Eh, did you do something illegal?"; break;
		case 57: .@talk$ = "So you think we've done illegal experiments?"; break;
		case 58: .@talk$ = "it's you guys who're doing something illegal!"; break;
		case 59: .@talk$ = "I thought you were the Vice President."; break;
		case 60: .@talk$ = "Is he a fraud?"; break;
		case 61: .@talk$ = "Why would you say that to your own workers?"; break;
		case 62: .@talk$ = "Like I told you, he looks like an impostor."; break;
		case 63: .@talk$ = "That's definitely strange, isn't it?"; break;
		case 64: .@talk$ = "That's right! Why aren't there a dozen bureaucrats with him?"; break;
		case 65: .@talk$ = "I don't think he is."; break;
		case 66: .@talk$ = "That's true."; break;
		case 67: .@talk$ = "Someone else might look better?"; break;
		case 68: .@talk$ = "Do we look like an idiots to you? Are you planning to use us?"; break;
		case 69: .@talk$ = "Take your time."; break;
		case 70: .@talk$ = "Oh, look at that! Now the president is here~"; break;
		case 71: .@talk$ = "He's not the president, he's from the office of the president."; break;
		case 72: .@talk$ = "What? Is what I'm hearing true?"; break;
		case 73: .@talk$ = "That's right, I heard that too."; break;
		case 74: .@talk$ = "Why are we branded as criminals, we're hard workers!"; break;
		case 75: .@talk$ = "Yeah! Can't you see our hardworking hands?"; break;
		case 76: .@talk$ = "We have to deal with these sinners as well!"; break;
		case 77: .@talk$ = "I know, I wouldn't want to be here either."; break;
		case 78: .@talk$ = "We're those who work!"; break;
		case 79: .@talk$ = "I've been moving things all day long"; break;
		case 80: .@talk$ = "Doesn't it seem quiet?"; break;
		case 81: .@talk$ = "So just go back."; break;
		case 82: .@talk$ = "Use force, as in kill us?"; break;
		case 83: .@talk$ = "We've been handling ourselves just fine from the start!"; break;
		case 84: .@talk$ = "Are you listening to yourselves?"; break;
		case 85: .@talk$ = "Hey, don't move!"; break;
		case 86: .@talk$ = "Well, now it's a big deal."; break;
		case 87: .@talk$ = "The senior researcher is here."; break;
		case 88: .@talk$ = "Did our researcher always had such a personality?"; break;
		case 89: .@talk$ = "Well, I never had a word with her, did you?"; break;
		case 90: .@talk$ = "What's the matter?"; break;
		case 91: .@talk$ = "Oh!!! What is all this!"; break;
		case 92: .@talk$ = "Please, you're not alone!"; break;
		case 93: .@talk$ = "Aaaaah!! Researcher!! It's us! We're here too!"; break;
		case 94: .@talk$ = "El, Elyumina! Wait a second!"; break;
		case 95: .@talk$ = "The researcher is crazy!"; break;
		case 96: .@talk$ = "She is!!"; break;
		case 97: .@talk$ = "Hey!! Are you okay?!"; break;
		case 98: .@talk$ = "What is that sound!!"; break;
		case 99: .@talk$ = "Aaah!!"; break;
		case 100: .@talk$ = "No! Please!!"; break;
		case 101: .@talk$ = "The researcher is nuts!!!"; break;
		case 102: .@talk$ = "Huh, we're coming too!"; break;
		case 103: .@talk$ = "Hey, come quickly!!"; break;
		case 104: .@talk$ = "Spare me!!"; break;
		case 105: .@talk$ = "Good job!"; break;
		case 106: .@talk$ = "You're doing great, rebellions!"; break;
		case 107: .@talk$ = "Now!"; break;
		case 108: .@talk$ = "Oh, did you hear that? You should fire now!"; break;
		case 109: .@talk$ = "Are they gone?"; break;
		case 110: .@talk$ = "Huh... uh.."; break;
		case 111: .@talk$ = "Hey, are you okay?"; break;
		case 112: .@talk$ = "Ah... argh!! I'm... going to die!!"; break;
		case 113: .@talk$ = "I don't think so..."; break;
		case 114: .@talk$ = "We'll help you!"; break;
	}
	npctalk .@talk$,.@npc$,bc_self;
	return;
}

sp_cor,162,60,0	script	#171_EV_COR_0	HIDDEN_WARP_NPC,5,5,{
	end;

OnTouch:
	if (isbegin_quest(17015) == 1 || isbegin_quest(17016) == 1) {
		cloakoffnpc "Worker#171_rvs_2",getcharid(0);
		cloakoffnpc "Worker#171_rvs_4",getcharid(0);
		cloakoffnpc "Worker#171_rvs_5",getcharid(0);
		cloakoffnpc "Worker#171_rvs_1",getcharid(0);
		cloakoffnpc "Tes#171_rvs_1",getcharid(0);
		cloakoffnpc "Kaya#171_rvs_1",getcharid(0);
		cloakoffnpc "Aas#171_rvs_1",getcharid(0);
		cloakoffnpc "Magenta#171_rvs_1",getcharid(0);
		cloakoffnpc "Denny#171_rvs_1",getcharid(0);
		cloakoffnpc "Tommy#171_rvs_1",getcharid(0);
		cloakoffnpc "Goni#171_rvs_1",getcharid(0);
	}
	end;
}

sp_cor,160,84,0	duplicate(#171_EV_COR_0)	#171_EV_COR_1	HIDDEN_WARP_NPC,5,5

sp_cor,168,81,7	script	Advance Squad#171_rvs_1	4_F_REBELLION3,{
	if (isbegin_quest(11603) != 2) {
		mes "[Advance Squad]";
		mes "It's dangerous for you to be in a place like this. Even for experienced people. Please come back next time.";
		close;
	}
	if (isbegin_quest(11603) == 2 && isbegin_quest(17015) == 0) {
		.@old$ = "Worker#171_rvs_3";
		.@poor$ = "Worker#171_rvs_2";
		.@moc$ = "Worker#171_rvs_4";
		.@cook$ = "Worker#171_rvs_5";
		.@man$ = "Worker#171_rvs_1";
		mes "[Worker]";
		mes "Show me the way out!";
		171_worker_talk(1,.@old$);
		next;
		cloakoffnpc "Worker#171_rvs_2",getcharid(0);
		cloakoffnpc "Worker#171_rvs_4",getcharid(0);
		mes "[Worker]";
		mes "So these gunmen think they can just come here and suddenly start a commotion!";
		171_worker_talk(2,.@poor$);
		171_worker_talk(3,.@moc$);
		171_worker_talk(4,.@old$);
		next;
		mes "[Advance Squad]";
		mes "Gentlemen, please don't do this. We didn't come here to harm you.";
		next;
		cloakoffnpc "Worker#171_rvs_5",getcharid(0);
		cloakoffnpc "Worker#171_rvs_1",getcharid(0);
		mes "[Worker]";
		mes "Of course not. We're just getting attacked by you, rebellions.";
		171_worker_talk(5,.@man$);
		171_worker_talk(6,.@poor$);
		171_worker_talk(7,.@moc$);
		171_worker_talk(8,.@cook$);
		171_worker_talk(9,.@old$);
		next;
		mes "[Advance Squad]";
		mes "Being emotional doesn't help resolve problems.";
		next;
		mes "[Worker]";
		mes "Are you threatening us now?";
		171_worker_talk(10,.@man$);
		next;
		select("What's going in?");
		mes "[Advance Squad]";
		mes "Aah! You're alive! Adventurer! Is anyone with you?";
		171_worker_talk(11,.@poor$);
		next;
		select("I'm the first to arrive...");
		mes "[Advance Squad]";
		mes "I sent a person to pick the person in charge. We are the Advance Squad who was sent here to search and recon this place, but as you can see...";
		next;
		select("Who are these people?");
		mes "[Worker]";
		mes "Is this the person responsible for all of this?";
		171_worker_talk(12,.@cook$);
		171_worker_talk(13,.@man$);
		171_worker_talk(14,.@old$);
		next;
		mes "[Worker]";
		mes "I don't think so? That person looks dumb.";
		171_worker_talk(15,.@cook$);
		next;
		mes "[Advance Squad]";
		mes "They are the ^0000CDpeople who's working here^000000.";
		mes "As you can see, we didn't harm them...";
		next;
		mes "[Advance Squad]";
		mes "We really don't know what to do.";
		mes "There are ^0000FFthe lab workers^000000";
		mes "who does chores around here, and when we tried to enter they stopped us.";
		next;
		mes "[Worker]";
		mes "What are you saying does chores?";
		171_worker_talk(16,.@moc$);
		171_worker_talk(17,.@man$);
		next;
		mes "[Worker]";
		mes "Why do you guys judge the work of others? You aren't in charge, are you?";
		171_worker_talk(18,.@old$);
		171_worker_talk(19,.@poor$);
		next;
		mes "[Worker]";
		mes "I think you're just ignorant people who don't know anything.";
		171_worker_talk(20,.@moc$);
		next;
		mes "[Worker]";
		mes "Come on, they're all gunmen!";
		171_worker_talk(21,.@old$);
		next;
		mes "[Advance Squad]";
		mes "That's not it! We want to protect the civilians and make things right!";
		next;
		mes "[Worker]";
		mes "If we refuse to comply, what's gonna happen? Are you going to shoot us?";
		171_worker_talk(22,.@moc$);
		sleep2 1500;
		171_worker_talk(23,.@poor$);
		next;
		select("Why are you blocking the road?");
		mes "[Worker]";
		mes "Why not? If someone came into your home, would you just let them in?";
		mes "These people are out of their minds and are making a mess.";
		171_worker_talk(24,.@man$);
		next;
		mes "[Worker]";
		mes "See! Why are you sticking your nose into other people's business?";
		mes "That's it! Get out! Get out now!";
		171_worker_talk(25,.@cook$);
		next;
		mes "[Advance Squad]";
		mes "Perhaps you don't know, but this ^0000FFlab was doing illegal experiments.^000000";
		mes "We have came to arrest the people responsible in cooperation with the Government and Rekenber.";
		next;
		mes "[Worker]";
		mes "What? What do you mean illegal experiments? Can you tell us where these illegal experiments were done?";
		171_worker_talk(26,.@poor$);
		next;
		mes "[Advance Squad]";
		mes "I know it's hard to believe, I'm having a hard time to believe it myself, but this is the place that was used to run illegal experiments.";
		171_worker_talk(27,.@moc$);
		next;
		select("Who owns this mansion?");
		select("I don't see any researchers here.");
		mes "[Advance Squad]";
		mes "Perhaps they ^0000FFescaped to the mansion.^000000";
		171_worker_talk(28,.@old$);
		171_worker_talk(29,.@moc$);
		171_worker_talk(30,.@cook$);
		next;
		mes "[Advance Squad]";
		mes "These people look like the manual workforce, they are not researchers.";
		next;
		mes "[Advance Squad]";
		mes "The people and the materials that are left behind in the rush of escaping are likely the good people left.";
		next;
		mes "[Worker]";
		mes "What are you saying about us?";
		171_worker_talk(31,.@cook$);
		next;
		mes "[Worker]";
		mes "What? Are we just garbage you can just throw away?";
		171_worker_talk(32,.@old$);
		next;
		mes "[Worker]";
		mes "How many researcher are like us!";
		mes "They can't keep this place running without us!";
		171_worker_talk(33,.@moc$);
		next;
		mes "[Worker]";
		mes "Get out now! This is Rekenber's laboratory! You're trespassing on private property!";
		171_worker_talk(34,.@man$);
		next;
		mes "[Advance Squad]";
		mes "What? What are we supposed to do now. We can't use force against unarmed civilians.";
		171_worker_talk(35,.@poor$);
		next;
		select("I would never hurt you guys.");
		mes "[Worker]";
		mes "Why should we stand back? You're the invaders!";
		171_worker_talk(36,.@cook$);
		171_worker_talk(37,.@man$);
		next;
		mes "[Worker]";
		mes "I don't want anybody to get hurt, you will hurt us with your weapons!";
		171_worker_talk(38,.@old$);
		next;
		mes "[Advance Squad]";
		mes "Should we charge in?";
		171_worker_talk(39,.@moc$);
		next;
		cloakoffnpc "Tes#171_rvs_1",getcharid(0);
		cloakoffnpc "Kaya#171_rvs_1",getcharid(0);
		cloakoffnpc "Aas#171_rvs_1",getcharid(0);
		cloakoffnpc "Magenta#171_rvs_1",getcharid(0);
		cloakoffnpc "Denny#171_rvs_1",getcharid(0);
		cloakoffnpc "Tommy#171_rvs_1",getcharid(0);
		cloakoffnpc "Goni#171_rvs_1",getcharid(0);
		cutin "ep16_tes01",2;
		mes "[Tes]";
		mes "Why would you charge in without orders?";
		171_worker_talk(40,.@poor$);
		171_worker_talk(41,.@cook$);
		next;
		select("Vice President! Tes!");
		cutin "",255;
		mes "[Worker]";
		mes "Why do you keep coming? Get out! Get out!";
		171_worker_talk(42,.@moc$);
		next;
		mes "[Advance Squad]";
		mes "These are employees who help the laboratory run, but they do not believe when I tell them they've been conducting illegal experiments.";
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "Alright. Let me talk to them.";
		next;
		cutin "",255;
		mes "[Worker]";
		mes "Who are you now?!";
		171_worker_talk(43,.@old$);
		setquest 17015;
		close;
	}
	if (isbegin_quest(17015) == 1) {
		mes "[Advance Squad]";
		mes "The Vice President wants to talk to them.";
		close;
	}
	if (isbegin_quest(17016) == 1) {
		mes "[Advance Squad]";
		mes "Head to the safe location, hurry!";
		close;
	}
	mes "[Advanced Team]";
	mes "Adventurer, it's dangerous here. Proceed to the safe location.";
	close;

OnInit:
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(11603) == 2 && isbegin_quest(17015) == 0");
	end;
}

sp_cor,165,79,1	script	Kaya#171_rvs_1	4_EP17_KAYA,{
	if (isbegin_quest(17015) == 1) {
		.@old$ = "Worker#171_rvs_3";
		.@poor$ = "Worker#171_rvs_2";
		.@moc$ = "Worker#171_rvs_4";
		.@cook$ = "Worker#171_rvs_5";
		.@man$ = "Worker#171_rvs_1";
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "Hello everyone, I'm Kaya Tos, Rekenber's Vice President.";
		next;
		cutin "",255;
		mes "[Worker]";
		mes "Vice President? The Vice President?";
		mes "Isn't that another one of your lies?";
		171_worker_talk(44,.@moc$);
		next;
		mes "[Worker]";
		mes "Huh? I know him! That is indeed Kaya, The Vice President.";
		mes "When I was at the headquarters, I saw him a few times.";
		171_worker_talk(45,.@old$);
		next;
		mes "[Worker]";
		mes "Oh, really? I didn't know because I had never seen your face before.";
		171_worker_talk(46,.@cook$);
		171_worker_talk(47,.@poor$);
		next;
		mes "[Worker]";
		mes "Why is the Vice President here?";
		171_worker_talk(48,.@man$);
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "Were you all hired by the Rekenber institute to work on constructing and maintenance in this new lab?";
		next;
		cutin "",255;
		mes "[Worker]";
		mes "That's correct.";
		171_worker_talk(49,.@old$);
		next;
		mes "[Worker]";
		mes "Yes, I've been hired by Rekenber.";
		171_worker_talk(50,.@cook$);
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "What did the person wearing blue clothes over here do here?";
		next;
		cutin "",255;
		mes "[Worker]";
		mes "Me? Well... I'm responsible for making and delivering foods to the people working here.";
		171_worker_talk(51,.@cook$);
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "And what about the person next to you?";
		next;
		mes "[Worker]";
		mes "I carry waste materials and laboratory equipment.";
		171_worker_talk(52,.@poor$);
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "If you know what this place is studying, please raise your hand.";
		next;
		cutin "",255;
		mes "[Worker]";
		mes "Well... renewable energy?";
		171_worker_talk(53,.@poor$);
		next;
		mes "[Worker]";
		mes "Oh I know! Wasn't it agricultural research?";
		171_worker_talk(54,.@moc$);
		next;
		mes "[Worker]";
		mes "It looks like livestock study.";
		mes "Sometimes strange beasts roam by.";
		171_worker_talk(55,.@man$);
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "While you do your own work, you don't know what this place is really for. in fact, I'm glad it's like that.";
		next;
		mes "[Kaya]";
		mes "This facility is doing illegal experiments that are strictly forbidden by the government and Rekenber.";
		next;
		cutin "",255;
		mes "[Worker]";
		mes "You mean, our researchers...? No way.";
		171_worker_talk(56,.@poor$);
		next;
		mes "[Worker]";
		mes "Those people were doing experiments outside of the law?";
		171_worker_talk(57,.@moc$);
		next;
		mes "[Worker]";
		mes "What illegal experiments?";
		171_worker_talk(58,.@cook$);
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "That, I don't know in details yet.";
		next;
		cutin "",255;
		mes "[Worker]";
		mes "Can't you tell us more about what they've been doing?";
		171_worker_talk(59,.@old$);
		171_worker_talk(60,.@man$);
		next;
		mes "[Worker]";
		mes "You guys are supposed to be the good guys, then why do you call us the bad guys?";
		171_worker_talk(61,.@cook$);
		next;
		mes "[Worker]";
		mes "Exactly! That means these people have done bad things? Are the high members of Rekenber just going to come in and take the results of our scientists' research?";
		171_worker_talk(62,.@man$);
		next;
		mes "[Worker]";
		mes "Right? Otherwise, the Vice President wouldn't have brought the Rebellions, but the guards instead.";
		171_worker_talk(63,.@moc$);
		next;
		mes "[Worker]";
		mes "Are they really from the Enterprise? Why did the Vice President come here without the operatives?";
		171_worker_talk(64,.@poor$);
		next;
		mes "[Worker]";
		mes "Are you acting alone?";
		171_worker_talk(65,.@old$);
		next;
		mes "[Worker]";
		mes "He does look like the Vice President though.";
		171_worker_talk(66,.@cook$);
		171_worker_talk(67,.@man$);
		next;
		cutin "ep171_as01",0;
		mes "[Aas]";
		mes "This is a big problem. They don't believe us at all.";
		next;
		cutin "",255;
		mes "[Advance Squad]";
		mes "I mean, how do you think the researchers have brainwashed these people over the years?";
		171_worker_talk(68,.@cook$);
		next;
		cutin "ep16_tes01",2;
		mes "[Tes]";
		mes "I'll talk to them, let me try.";
		171_worker_talk(69,.@old$);
		next;
		mes "[Tes]";
		mes "Hello everyone. My name is Tes, I'm fron the office of the President of Schwarzwald.";
		171_worker_talk(70,.@poor$);
		171_worker_talk(71,.@moc$);
		next;
		mes "[Tes]";
		mes "Some time ago, the Rekenber's laboratories have been under investigation because of their illegal experiments.";
		mes "We've been cooperating with the Vice President over here.";
		npctalk "Okay, well there's nothing here, so go back!",.@man$,bc_self;
		next;
		mes "[Tes]";
		mes "The Regenschirm lab, back at Rekenber, was involved with similar experiments and it caused a turmoil.";
		mes "If you refuse to cooperate, you will be charged with illegal acts and  your refusal to cooperate.";
		171_worker_talk(72,.@poor$);
		next;
		cutin "",255;
		mes "[Worker]";
		mes "Are you threatening us now?";
		171_worker_talk(73,.@man$);
		next;
		mes "[Worker]";
		mes "No way! have we done anything wrong?";
		171_worker_talk(74,.@old$);
		next;
		mes "[Worker]";
		mes "This is our only job!";
		171_worker_talk(75,.@cook$);
		next;
		mes "[Worker]";
		mes "What gives you the right to just come here and charge us? We've been living her quietly for years. Did we sin?";
		171_worker_talk(76,.@moc$);
		next;
		cutin "ep16_tes02",2;
		mes "[Tes]";
		mes "Look around you. Even though you're having a hard time here, can you see any researcher trying to explain themselves?";
		next;
		cutin "",255;
		mes "[Worker]";
		mes "Oh, they're just busy!";
		171_worker_talk(77,.@old$);
		next;
		mes "[Worker]";
		mes "They aren't as free as you are, they have work to do!";
		171_worker_talk(78,.@poor$);
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "There are no words to convince them.";
		171_worker_talk(79,.@moc$);
		next;
		cutin "ep16_tes01",2;
		mes "[Tes]";
		mes "Hmmm... I won't be able to conclude this easily, let's take a moment to discuss.";
		171_worker_talk(80,.@cook$);
		completequest 17015;
		setquest 17016;
		close3;
	}
	if (isbegin_quest(17016) == 1) {
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "No matter how much I tried to persuade them, they didn't listen. It's not easy to change someone's mind. I should discuss it with Tes.";
		close3;
	}
	end;

OnInit:
	cloakonnpc();
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(17015) == 1");
	end;
}

sp_cor,166,81,7	script	Tes#171_rvs_1	4_M_PHILOFONTES,{
	if (isbegin_quest(17015) == 1) {
		cutin "ep16_tes01",2;
		mes "[Tes]";
		mes "The Vice President, Kaya Tos, is going to persuade them. Let's listen to him.";
		close3;
	}
	if (isbegin_quest(17016) == 1) {
		.@old$ = "Worker#171_rvs_3";
		.@poor$ = "Worker#171_rvs_2";
		.@moc$ = "Worker#171_rvs_4";
		.@cook$ = "Worker#171_rvs_5";
		.@man$ = "Worker#171_rvs_1";
		cutin "ep16_tes01",2;
		mes "[Tes]";
		mes "I can't get through to them just with words.";
		171_worker_talk(81,.@moc$);
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "You cannot use force against innocent people.";
		171_worker_talk(82,.@old$);
		next;
		cutin "ep16_tes02",2;
		mes "[Tes]";
		mes "Even so, we might have to. We split in two teams, one of them keeps them from pursuing, and the rest enter and keep investigating.";
		171_worker_talk(83,.@poor$);
		171_worker_talk(84,.@moc$);
		next;
		cutin "ep171_kaya01",0;
		mes "[Kaya]";
		mes "That sounds like a good idea.";
		171_worker_talk(85,.@old$);
		next;
		cloakoffnpc "Elyumina#171_rvs",getcharid(0);
		cloakoffnpc "Fool 1#171_rvs_1",getcharid(0);
		cloakoffnpc "Fool 2#171_rvs_2",getcharid(0);
		specialeffect EF_TELEPORTATION2,AREA,"Elyumina#171_rvs";
		specialeffect EF_TELEPORTATION2,AREA,"Fool 1#171_rvs_1";
		specialeffect EF_TELEPORTATION2,AREA,"Fool 2#171_rvs_2";
		cutin "ep171_elyumina02",2;
		mes "[????]";
		mes "Don't move!";
		next;
		mes "[????]";
		mes "Everything here is mine! I won't let you harm my friends! I'm not messing around!";
		next;
		cutin "",255;
		mes "[Worker]";
		mes "Huh, senior researcher?";
		171_worker_talk(86,.@cook$);
		next;
		mes "[Worker]";
		mes "Elyumina?";
		171_worker_talk(87,.@old$);
		next;
		cutin "ep171_elyumina02",2;
		mes "[Elyumina]";
		mes "Who gave you permission to approach my staff? You see them? Just try putting one hand on them, and I'll blow you up.";
		171_worker_talk(88,.@moc$);
		next;
		cutin "ep171_elyumina04",2;
		mes "[Elyumina]";
		mes "No matter how stupid you are, it's always better to have your hands on your wrists, right?";
		171_worker_talk(89,.@man$);
		next;
		cutin "ep171_as02",0;
		mes "[Aas]";
		mes "Everyone get back! It's dangerous!";
		171_worker_talk(90,.@poor$);
		next;
		cutin "ep171_elyumina03",2;
		mes "[Elyumina]";
		mes "You all look like skeletons, why aren't you hiding? You will all disappear!";
		next;
		specialeffect EF_TETRA_FIRE,AREA,"Elyumina#171_rvs";
		specialeffect EF_RAIN_PARTICLE2,AREA,.@poor$;
		cutin "",255;
		mes "[Worker]";
		mes "Aaaaah!! Researcher! It's us! We're here too!";
		171_worker_talk(91,.@man$);
		171_worker_talk(92,.@poor$);
		171_worker_talk(93,.@old$);
		171_worker_talk(94,.@moc$);
		171_worker_talk(95,.@cook$);
		next;
		cutin "ep171_elyumina02",2;
		mes "[Elyumina]";
		mes "You know what! If you have soybeans and rice, which one do you choose?";
		mes "If you're in a hurry, you'll just mix them up!";
		specialeffect EF_DESPERADO,AREA,"Fool 2#171_rvs_2";
		specialeffect EF_IGN_STR,AREA,"Worker#171_rvs_2";
		specialeffect EF_MAGMA_FLOW,AREA,"Worker#171_rvs_2";
		cloakonnpc "Worker#171_rvs_2",getcharid(0);
		cloakoffnpc "Worker#171_rvs_9",getcharid(0);
		171_worker_talk(96,.@moc$);
		171_worker_talk(97,.@old$);
		next;
		specialeffect EF_DESPERADO,AREA,"Fool 1#171_rvs_1";
		specialeffect EF_BAKU,AREA,"Worker#171_rvs_4";
		specialeffect EF_MAGMA_FLOW,AREA,"Worker#171_rvs_4";
		cloakonnpc "Worker#171_rvs_4",getcharid(0);
		cloakoffnpc "Worker#171_rvs_10",getcharid(0);
		cutin "",255;
		mes "[Worker]";
		mes "Why are you doing this?!!";
		171_worker_talk(98,.@man$);
		171_worker_talk(99,.@moc$);
		171_worker_talk(100,.@cook$);
		next;
		specialeffect EF_DESPERADO,AREA,"Fool 1#171_rvs_1";
		specialeffect EF_DESPERADO,AREA,"Fool 2#171_rvs_2";
		cutin "ep171_as02",0;
		mes "[Aas]";
		mes "Move behind me! Now!";
		171_worker_talk(101,.@old$);
		cloakonnpc "Aas#171_rvs_1",getcharid(0);
		cloakoffnpc "Aas#171_rvs_2",getcharid(0);
		sleep2 1000;
		171_worker_talk(102,.@man$);
		171_worker_talk(103,.@cook$);
		171_worker_talk(104,.@old$);
		cloakonnpc "Kaya#171_rvs_1",getcharid(0);
		cloakoffnpc "Kaya#171_rvs_2",getcharid(0);
		cloakonnpc strnpcinfo(0),getcharid(0);
		cloakoffnpc "Tes#171_rvs_2",getcharid(0);
		cloakonnpc "Worker#171_rvs_3",getcharid(0);
		cloakonnpc "Worker#171_rvs_5",getcharid(0);
		cloakonnpc "Worker#171_rvs_1",getcharid(0);
		cloakoffnpc "Worker#171_rvs_6",getcharid(0);
		cloakoffnpc "Worker#171_rvs_7",getcharid(0);
		cloakoffnpc "Worker#171_rvs_8",getcharid(0);
		.@old$ = "Worker#171_rvs_6";
		.@cook$ = "Worker#171_rvs_7";
		.@man$ = "Worker#171_rvs_8";
		next;
		cutin "",255;
		mes "[Advance Squad]";
		mes "Everyone, formation!";
		specialeffect EF_DESPERADO,AREA,"Fool 1#171_rvs_1";
		specialeffect EF_DESPERADO,AREA,"Fool 2#171_rvs_2";
		cloakonnpc "Denny#171_rvs_1",getcharid(0);
		cloakonnpc "Magenta#171_rvs_1",getcharid(0);
		cloakonnpc "Tommy#171_rvs_1",getcharid(0);
		cloakonnpc "Goni#171_rvs_1",getcharid(0);
		cloakoffnpc "Denny#171_rvs_2",getcharid(0);
		cloakoffnpc "Magenta#171_rvs_2",getcharid(0);
		cloakoffnpc "Tommy#171_rvs_2",getcharid(0);
		cloakoffnpc "Goni#171_rvs_2",getcharid(0);
		next;
		specialeffect EF_RAPIDSHOWER,AREA,"Advance Squad#171_rvs_1";
		specialeffect EF_RAPIDSHOWER,AREA,"Tommy#171_rvs_2";
		specialeffect EF_SUI_EXPLOSION,AREA,"Elyumina#171_rvs";
		cutin "ep171_elyumina02",2;
		mes "[Elyumina]";
		mes "Argh...";
		171_worker_talk(105,.@cook$);
		171_worker_talk(106,.@man$);
		next;
		specialeffect EF_RAPIDSHOWER,AREA,"Goni#171_rvs_2";
		specialeffect EF_RAPIDSHOWER,AREA,"Denny#171_rvs_2";
		specialeffect EF_RAPIDSHOWER,AREA,"Magenta#171_rvs_2";
		specialeffect EF_RAPIDSHOWER,AREA,"Tommy#171_rvs_2";
		specialeffect EF_RAPIDSHOWER,AREA,"Advance Squad#171_rvs_1";
		specialeffect EF_RAPIDSHOWER,AREA,"Advance Squad#171_rvs_2";
		mes "[Elyumina]";
		mes "What, what? Come on? Why is our attack.. not working...?";
		171_worker_talk(107,.@cook$);
		171_worker_talk(108,.@old$);
		next;
		cutin "",255;
		specialeffect EF_DESPERADO,AREA,"Fool 1#171_rvs_1";
		specialeffect EF_DESPERADO,AREA,"Fool 2#171_rvs_2";
		mes "[Fool 1]";
		mes "Dodge it!";
		next;
		specialeffect EF_RAPIDSHOWER,AREA,"Goni#171_rvs_2";
		specialeffect EF_RAPIDSHOWER,AREA,"Denny#171_rvs_2";
		specialeffect EF_RAPIDSHOWER,AREA,"Tommy#171_rvs_2";
		specialeffect EF_HITDARK,AREA,"Fool 1#171_rvs_1";
		cutin "ep171_elyumina02",2;
		mes "[Elyumina]";
		mes "Why? Why are they not budging? What about this?";
		next;
		specialeffect EF_DESPERADO,AREA,"Fool 2#171_rvs_2";
		cutin "",255;
		mes "[Fool 2]";
		mes "Oh, I've been hit! We should escape!";
		next;
		cutin "ep171_elyumina02",2;
		mes "[Elyumina]";
		mes "Why are they doing so well? Did we pick the wrong test subjects?";
		next;
		specialeffect EF_RAPIDSHOWER,AREA,"Advance Squad#171_rvs_1";
		specialeffect EF_RAPIDSHOWER,AREA,"Advance Squad#171_rvs_2";
		specialeffect EF_RAPIDSHOWER,AREA,"Magenta#171_rvs_2";
		specialeffect EF_SUI_EXPLOSION,AREA,"Elyumina#171_rvs";
		cutin "",255;
		mes "[Fool 1]";
		mes "These people are professionals!";
		next;
		cutin "ep171_elyumina02",2;
		mes "[Elyumina]";
		mes "You are professionals too!";
		next;
		specialeffect EF_DESPERADO,AREA,"Fool 2#171_rvs_2";
		cutin "",255;
		mes "[Fool 2]";
		mes "I'm also a high-end pro who gets money!! We don't have time to decide who's superior! Hurry up!";
		next;
		specialeffect EF_RAPIDSHOWER,AREA,"Goni#171_rvs_2";
		specialeffect EF_RAPIDSHOWER,AREA,"Denny#171_rvs_2";
		specialeffect EF_RAPIDSHOWER,AREA,"Tommy#171_rvs_2";
		specialeffect EF_HITDARK,AREA,"Fool 1#171_rvs_1";
		cutin "ep171_elyumina02",2;
		mes "[Elyumina]";
		mes "No! Let me go! Now! I can't believe we can't avoid that kind of weapon! Let me go! Let me go!!";
		next;
		specialeffect EF_TELEPORTATION2,AREA,"Elyumina#171_rvs";
		specialeffect EF_TELEPORTATION2,AREA,"Fool 1#171_rvs_1";
		specialeffect EF_TELEPORTATION2,AREA,"Fool 2#171_rvs_2";
		cloakonnpc "Elyumina#171_rvs",getcharid(0);
		cloakonnpc "Fool 1#171_rvs_1",getcharid(0);
		cloakonnpc "Fool 2#171_rvs_2",getcharid(0);
		cutin "ep171_as02",0;
		mes "[Aas]";
		mes "Is everyone alright?";
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "I'm okay, but the others...";
		171_worker_talk(109,.@man$);
		next;
		cutin "",255;
		mes "[Worker]";
		mes "Huh.. uh...";
		171_worker_talk(110,.@moc$);
		171_worker_talk(111,.@old$);
		next;
		mes "[Worker]";
		mes "Ah.. argh!! I'm... gonna die!!";
		171_worker_talk(112,.@poor$);
		171_worker_talk(113,.@cook$);
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "I'll move the people to a safe location.";
		next;
		cutin "ep16_tes01",2;
		mes "[Tes]";
		mes "Let the rest of the people here look at where they went.";
		171_worker_talk(113,.@man$);
		next;
		mes "[Tes]";
		mes "Some should stay here to watch out in case they come back, the rest of us will head to the <NAVI>[safe place]<INFO>sp_cor,122,141,0,101,0</INFO></NAVI>!";
		completequest 17016;
		setquest 17017;
		close2;
		cutin "",255;
		cloakonnpc "Denny#171_rvs_2",getcharid(0);
		cloakonnpc "Magenta#171_rvs_2",getcharid(0);
		cloakonnpc "Tommy#171_rvs_2",getcharid(0);
		cloakonnpc "Goni#171_rvs_2",getcharid(0);
		cloakonnpc "Kaya#171_rvs_2",getcharid(0);
		cloakonnpc "Tes#171_rvs_2",getcharid(0);
		cloakonnpc "Aas#171_rvs_2",getcharid(0);
		cloakonnpc "Worker#171_rvs_6",getcharid(0);
		cloakonnpc "Worker#171_rvs_7",getcharid(0);
		cloakonnpc "Worker#171_rvs_8",getcharid(0);
		cloakonnpc "Worker#171_rvs_10",getcharid(0);
		cloakonnpc "Worker#171_rvs_9",getcharid(0);
		navigateto("sp_cor",122,141);
	}
	end;

OnInit:
	cloakonnpc();
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(17016) == 1");
	end;
}

sp_cor,167,79,1	script	Advance Squad#171_rvs_2	4_F_REBELLION2,{
	if (isbegin_quest(11603) != 2) {
		mes "[Advance Squad]";
		mes "This place is incredibly nice looking, it's hard to believe they do experiments here. Even I would want to live in a place like this.";
		close;
	}
	if (isbegin_quest(11603) == 2 && isbegin_quest(17015) == 0) {
		mes "[Advance Squad]";
		mes "The problem is. We can't use force on them. What should we do?";
		close;
	}
	if (isbegin_quest(17015) == 1) {
		mes "[Advance Squad]";
		mes "Didn't you say the Vice President of Rekenber was going to convince them? What do you want to talk to me about?";
		close;
	}
	if (isbegin_quest(17016) == 1) {
		mes "[Advance Squad]";
		mes "I don't think this is going to work. What do you think Tes will say? The fight is still going on.";
		close;
	}
	mes "[Advance Squad]";
	mes "It's dangerous here. Move over to the safe area!";
	close;
}

sp_cor,164,77,1	script	Aas#171_rvs_1	4_EP17_AS,{
	cutin "ep171_as01",2;
	mes "[Aas]";
	if (isbegin_quest(17015) == 1)
		mes "The Vice President is going to convince them.";
	else
		mes "Didn't Tes tell you to take action? If you aren't prepared, you should do that now.";
	close3;

OnInit:
	cloakonnpc();
	end;
}

sp_cor,162,73,7	script	Denny#171_rvs_1	4_M_REBELLION3,{
	mes "[Denny]";
	if (isbegin_quest(17015) == 1)
		mes "I'm so curious what the inside looks like~";
	else
		mes "Wait, something's not right?";
	close;

OnInit:
	cloakonnpc();
	end;
}

sp_cor,165,74,1	script	Magenta#171_rvs_1	4_M_GUNSLINGER2,{
	mes "[Magenta]";
	if (isbegin_quest(17015) == 1)
		mes "These people aren't armed? What are they playing at?";
	else
		mes "I don't feel so well. We should get ready.";
	close;

OnInit:
	cloakonnpc();
	end;
}

sp_cor,163,62,3	script	Tommy#171_rvs_1	4_M_GUNSLINGER2,{
	mes "[Tommy]";
	if (isbegin_quest(17015) == 1)
		mes "It's nice here and quiet. If only I could get a day off...";
	else
		mes "What is this big mansion in front of us? I've never seen anything like this before.";
	close;

OnInit:
	cloakonnpc();
	end;
}

sp_cor,168,75,7	script	Goni#171_rvs_1	4_M_GONY,{
	mes "[Goni]";
	mes "......";
	close;

OnInit:
	cloakonnpc();
	end;
}

sp_cor,161,80,5	script	Worker#171_rvs_1	4_M_03,{
	mes "[Worker]";
	mes "Who said it? Who's going to kick our butts?!";
	close;

OnInit:
	cloakonnpc();
	end;
}

sp_cor,167,85,5	script	Worker#171_rvs_2	4_M_LGTPOOR,{
	mes "[Worker]";
	mes "I came out to see what was that commotion, what is happening?!";
	close;

OnInit:
	cloakonnpc();
	end;
}

sp_cor,170,84,3	script	Worker#171_rvs_3	4_M_05,{
	mes "[Worker]";
	if (isbegin_quest(11603) == 2 && isbegin_quest(17015) == 0)
		mes "Are you seeing this? Show yourselves! Come on out!";
	else
		mes "I don't know why I keep standing here. If they asked something, I just decline. They're stamina monsters.";
	close;
}

sp_cor,164,82,5	script	Worker#171_rvs_4	4_M_DSTMAN,{
	mes "[Worker]";
	mes "Today is supposed to be day off, but what is this! Are you responsible for it commotion?";
	close;

OnInit:
	cloakonnpc();
	end;
}

sp_cor,172,80,1	script	Worker#171_rvs_5	4_M_CHNCOOK,{
	mes "[Worker]";
	mes "I'll have a warm drink when this is over!!";
	close;

OnInit:
	cloakonnpc();
	end;
}

sp_cor,159,66,3	duplicate(dummy_cloaked_npc)	Worker#171_rvs_6	4_M_05
sp_cor,163,73,5	duplicate(dummy_cloaked_npc)	Worker#171_rvs_7	4_M_CHNCOOK
sp_cor,162,72,5	duplicate(dummy_cloaked_npc)	Worker#171_rvs_8	4_M_03
sp_cor,167,85,1	duplicate(dummy_cloaked_npc)	Worker#171_rvs_9	4_M_DIEMAN
sp_cor,164,82,5	duplicate(dummy_cloaked_npc)	Worker#171_rvs_10	4_M_DSTMANDEAD
sp_cor,165,86,5	duplicate(dummy_cloaked_npc)	Elyumina#171_rvs	4_EP17_ELYUMINA
sp_cor,163,87,5	duplicate(dummy_cloaked_npc)	Fool 1#171_rvs_1	3454
sp_cor,166,88,5	duplicate(dummy_cloaked_npc)	Fool 2#171_rvs_2	3454
sp_cor,159,68,7	duplicate(dummy_cloaked_npc)	Tes#171_rvs_2	4_M_PHILOFONTES
sp_cor,160,70,7	duplicate(dummy_cloaked_npc)	Kaya#171_rvs_2	4_EP17_KAYA
sp_cor,163,75,7	duplicate(dummy_cloaked_npc)	Aas#171_rvs_2	4_EP17_AS
sp_cor,165,82,0	duplicate(dummy_cloaked_npc)	Goni#171_rvs_2	4_M_GONY
sp_cor,162,83,0	duplicate(dummy_cloaked_npc)	Denny#171_rvs_2	4_M_REBELLION3
sp_cor,162,80,7	duplicate(dummy_cloaked_npc)	Magenta#171_rvs_2	4_M_GUNSLINGER2
sp_cor,171,84,1	duplicate(dummy_cloaked_npc)	Tommy#171_rvs_2	4_M_GUNSLINGER2

//= Cor Main Area
sp_cor,122,141,5	script	Tes#171_cor_0	4_M_PHILOFONTES,{
	if (isbegin_quest(17017) == 0) {
		cutin "ep16_tes01",0;
		mes "[Tes]";
		mes "This may be hard for you, but please investigate the entrance first.";
		close3;
	}
	if (isbegin_quest(17017) == 1) {
		cloakonnpc "Aas#171_cor",getcharid(0);
		cloakonnpc "Kaya Tos#171_cor",getcharid(0);
		cutin "ep16_tes01",0;
		mes "[Tes]";
		mes "Is everyone alright?";
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "No, really, just a little bit, I'm late am I? What is this all about, is it drugs?";
		mes "Was I really this late? What is all of this, why is everyone wounded?";
		npctalk "It's a mess, it's a total mess. You can't live without me.","Lazy#sp_cor",bc_self;
		next;
		cutin "ep16_tes01",0;
		mes "[Tes]";
		mes "Can't you tell from what you can see? Help with the work if you are free, there's no time to explain.";
		npctalk "If you arrived a little sooner, you'd have a hole on your tongue. You are quite lucky","",bc_self;
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "Hey, I was worried about all of this!";
		next;
		cutin "",255;
		mes "[Worker]";
		mes "I can't... the chief researcher attacked us.";
		npctalk "Why did they do this...","Worker#171_rvs_11",bc_self;
		next;
		mes "[Worker]";
		mes "I was the one who made all this stuff and never once questioned it...";
		next;
		mes "[Worker]";
		mes "Why us...";
		npctalk "With such a person around... I'm scared now...","Worker#171_rvs_13",bc_self;
		next;
		mes "[Worker]";
		mes "Hey, don't say that.";
		npctalk "What are you talking about?","Worker#171_rvs_12",bc_self;
		next;
		mes "[Worker]";
		mes "Do you still trust the researchers? Is that what you're saying?";
		npctalk "Really?","Worker#171_rvs_11",bc_self;
		next;
		mes "[Worker]";
		mes "No that's not it, I just can't believe it. Ugh, I'm so tired...";
		next;
		cloakoffnpc "Aas#171_cor2",getcharid(0);
		cloakoffnpc "Kaya Tos#171_cor2",getcharid(0);
		cutin "ep171_as02",0;
		mes "[Aas]";
		mes "Please stay here, I will check the surroundings.";
		npctalk "Please stay here, I will check the surroundings.","Aas#171_cor2",bc_self;
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "Take a look at the condition of the injured.";
		npctalk "Take a at the condition of the injured.","Kaya Tos#171_cor2",bc_self;
		cloakonnpc "Aas#171_cor2",getcharid(0);
		cloakoffnpc "Aas#171_cor",getcharid(0);
		sleep2 1000;
		next;
		cutin "ep171_as02",0;
		mes "[Aas]";
		mes "Alright, please stay here.";
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "Do you know who she was?";
		next;
		cutin "",255;
		mes "[Worker]";
		mes "Yes, she's one of the senior researchers, her name is ^0000CDElyumina.^000000";
		npctalk "There is a nice song in the yard.","Worker#171_rvs_11",bc_self;
		next;
		cutin "ep16_tes01",2;
		mes "[Tes]";
		mes "It was stupid thing to come and attack directly. What are they studying?";
		unittalk getcharid(3),strcharinfo(0) + " : I'd rather say the combatants on both sides were wrong.";
		next;
		cutin "",255;
		mes "[Worker]";
		mes "That's because I'm the only mechanic in the lab. I don't care about anything other than my own machines...";
		next;
		mes "[Worker]";
		mes "Now that I think about it, her eyes were not normal. She looks like a crazy person.";
		npctalk "Yeah. She used to laugh strangely before.","Worker#171_rvs_13",bc_self;
		next;
		mes "[Worker]";
		mes "Have you ever seen her room? I was frightened when I saw it the first time. She closed the door quickly, but I saw it.";
		npctalk "I've seen some signs too.","Worker#171_rvs_12",bc_self;
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "Are you saying you've witnessed an illegal experiment?";
		next;
		cutin "",255;
		mes "[Worker]";
		mes "Yeah, maybe it was. These machines moved strangely. Huh...";
		npctalk "Why are you only saying this now?","Worker#171_rvs_14",bc_self;
		next;
		cutin "ep16_tes02",2;
		mes "[Tes]";
		mes "Do you trust what we've been saying now?";
		next;
		cutin "",255;
		mes "[Worker]";
		mes "Yes, I believe you! I absolutely believe you now!";
		npctalk "We all believe you!","Worker#171_rvs_11",bc_self;
		next;
		mes "[Worker]";
		mes "If it's not the vice president, who else would we trust!";
		npctalk "I agree!","Worker#171_rvs_13",bc_self;
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Good. We can continue with our investigation now. Vice President, please give me the documents.";
		npctalk "What investigation?","Worker#171_rvs_12",bc_self;
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "What documents?";
		next;
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "The list of missing people. I need to double check with who we have here.";
		npctalk "I hope they would come out one after another.","Lazy#sp_cor",bc_self;
		next;
		cutin "16lei_02",2;
		mes "[Lazy]";
		mes "Here, stand in line please. Make three rows. Please tell me your full name when your turn comes.";
		npctalk "Let me go first. I feel like I'm going to die soon.","Worker#171_rvs_14",bc_self;
		next;
		cloakonnpc "Aas#171_cor",getcharid(0);
		cloakoffnpc "Aas#171_cor2",getcharid(0);
		sleep2 1000;
		cutin "ep171_as01",0;
		mes "[Aas]";
		mes "Vice President, a moment... I have something to report";
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "What's the matter?";
		next;
		cutin "ep171_as01",0;
		mes "[Aas]";
		mes "It's not something I can tell you here, so please come over <NAVI>[here]<INFO>sp_cor,135,147,0,101,0</INFO></NAVI>.";
		sleep2 1000;
		cloakonnpc "Aas#171_cor2",getcharid(0);
		cloakoffnpc "Aas#171_cor",getcharid(0);
		completequest 17017;
		setquest 17018;
		close3;
	}
	if (isbegin_quest(17018) == 1) {
		cutin "ep16_tes01",2;
		mes "[Tes]";
		mes "Didn't you see <NAVI>[Aas]<INFO>sp_cor,135,147,0,101,0</INFO></NAVI> going with the Vice President? I'm worried about the wounded people.";
		close3;
	}
	cutin "ep16_tes01",2;
	mes "[Tes]";
	mes "It will take some time to finish the investigation and gather all the data here.";
	close3;

OnInit:
	questinfo QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(17017) == 1";
	end;
}

sp_cor,137,146,3	script	Kaya Tos#171_cor	4_EP17_KAYA,{
	if (isbegin_quest(11603) != 2) {
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "This place is very dangerous. Come back when you're strong enough to protect your own body.";
		close3;
	}
	if (isbegin_quest(17018) == 0) {
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "I hope we can find all the missing people here. I really do.";
		close3;
	}
	if (isbegin_quest(17018) == 1) {
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "It looks like <NAVI>[Aas]<INFO>sp_cor,135,147,0,101,0</INFO></NAVI> is concerned about the injured. Let's go see what she wants to talk about.";
		close3;
	}
	if (isbegin_quest(17020) == 0) {
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "Adventurer. Could I speak with you for a moment please?";
		next;
		select("What's the matter?");
		mes "[Kaya]";
		mes "You and others previously attacked a lab that's been conducting illegal experiments.";
		mes "What do you think about this one?";
		next;
		select("I think this lab is the same.:I don't know");
		mes "[Kaya]";
		mes "I think this lab has also been doing illegal experiments. So... could I ask you a favor?";
		next;
		mes "[Kaya]";
		mes "I think this is the laboratory where the ^0000FFmissing people were sent to.^000000 Besides the people in this area, there might be other that we can't see right now.";
		next;
		select("....");
		mes "[Kaya]";
		mes "I would like you to ^0000FFcontinue investigating Patrick Kaufmann's case.^000000";
		mes "If he worked here, the others might people here know something about him.";
		next;
		cutin "ep171_kaya02",2;
		mes "[Kaya]";
		mes "Maybe... this is the last chance we'll have to find Patrick after all.";
		next;
		if (select("I'll look into it.:I have something else to do right now.") == 2) {
			cutin "ep171_kaya01",2;
			mes "[Kaya]";
			mes "It's okay, you don't have to look right now. There are other urgent matters to take care of.";
			next;
			mes "[Kaya]";
			mes "But please think of Kaufmann when you can.";
			close3;
		}
		mes "[Kaya]";
		mes "Thank you. I'm sorry to have had to ask you this so suddenly.";
		setquest 17020;
		close3;
	}
	if (isbegin_quest(17032) == 0) {
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "I would like you to continue investigating Patrick Kaufmann.";
		mes "Maybe if he worked here, the others might know something about it.";
		close3;
	}
	if (isbegin_quest(17032) == 1) {
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "Oh, welcome back adventurer. Come. Kaufmann, did you find him?";
		next;
		select("I have... this bracelet.");
		mes "[Kaya]";
		mes "Those are...? What is that?";
		delitem 25666,1;
		next;
		select("This is an identification bracelet.");
		mes "[Kaya]";
		mes "This is Kaufmann's...? Were there other people there?";
		next;
		cutin "",255;
		mes "- I told Kaya the story about the researcher you met at Rudus and about the experiments. -";
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "Why didn't the researcher come back with you?";
		next;
		select("She didn't want to come back...");
		mes "[Kaya]";
		mes "I see...";
		next;
		mes "[Kaya]";
		mes "Alright. Later, I will send a specialist to look for a body or remains. Again, Your services must be properly rewarded.";
		next;
		mes "[Kaya]";
		mes "If you have the time, I hope you will give these experiments a proper rest. There is no one other than you... the adventurer, to see them through.";
		next;
		cutin "ep171_kaya02",2;
		mes "[Kaya]";
		mes "I'm sorry to keep asking these hard task for you. If you can bring me their bracelets, I will reward you.";
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "I will go back to the headquarters with the list of missing people. I'll use the bracelets as evidence and send the necessary compensation to their families.";
		next;
		mes "[Kaya]";
		mes "All future work will be handled through ^0000FFAas over here^000000. I will hand the bracelets to Aas.";
		next;
		mes "[Kaya]";
		mes "Thank you for everything you have done so far.";
		completequest 17032;
		getexp 600000,600000;
		getitem 25723,20;
		close3;
	}
	cutin "ep171_kaya01",2;
	mes "[Kaya]";
	mes "I would like you to continue investigating Patrick Kaufmann.";
	mes "Maybe if he worked here, the others might know something about it.";
	close3;

OnInit:
	questinfo QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(17019) > 0 && isbegin_quest(17020) == 0";
	questinfo QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(17032) == 1";
	end;
}

sp_cor,125,140,5	script	Kaya Tos#171_cor2	4_EP17_KAYA,{
	if (isbegin_quest(17018) == 1) {
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "It looks like <NAVI>[Aas]<INFO>sp_cor,135,147,0,101,0</INFO></NAVI> is concerned about the wounded people. Let's hear what she wants to talk about.";
		close3;
	}
	end;

OnInit:
	cloakonnpc();
	end;
}

//= Identification Bracelet Daily
sp_cor,135,147,3	script	Aas#171_cor	4_EP17_AS,{
	if (isbegin_quest(11603) != 2) {
		cutin "ep171_as01",0;
		mes "[Aas]";
		mes "We don't know when there will be an enemy attack. Come back when you can protect yourself.";
		close3;
	}
	if (isbegin_quest(17018) == 0) {
		cutin "ep171_as02",2;
		mes "[Ashley]";
		mes "I honestly had no idea this place was hidden here. How the hell did they manage to avoid the surrounding people's attention?";
		close3;
	}
	if (isbegin_quest(17018) == 1) {
		cutin "ep171_as01",0;
		mes "[Aas]";
		mes "This way.";
		next;
		cloakonnpc "Kaya Tos#171_cor2",getcharid(0);
		sleep2 200;
		cloakoffnpc "Kaya Tos#171_cor",getcharid(0);
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "What's the status of the wounded people?";
		next;
		cutin "ep171_as01",0;
		mes "[Aas]";
		mes "They're being looked at seriously, but we're also getting some paperwork done about them.";
		npctalk "Paperwork?","Kaya Tos#171_cor",bc_self;
		next;
		mes "[Aas]";
		mes "As we started treating them, we've found some ^0000FFserious health issues^000000 in addition to their injuries.";
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "Tell me more.";
		next;
		cutin "ep171_as01",0;
		mes "[Aas]";
		mes "It seems they were ^0000FFpoisoned^000000 while moving waste materials and their clothes were contaminated by various dangerous substances used in the lab because they didn't have safety equipment.";
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "She didn't even follow basic safety rules. How many have been poisoned?";
		next;
		cutin "ep171_as01",0;
		mes "[Aas]";
		mes "Yes, only the people resting over there...";
		next;
		cutin "",255;
		mes "[Worker]";
		mes "Am I... dead?";
		npctalk "I haven't eaten too much!","Worker#171_rvs_12",bc_self;
		next;
		cutin "ep171_as02",0;
		mes "[Aas]";
		mes "Oh! The reporting site wasn't looking too good!";
		next;
		cutin "",255;
		mes "[Worker]";
		mes "But, when I die... what about my family... my family...";
		npctalk "I don't want to die. Please, bring me some hope.","Worker#171_rvs_14",bc_self;
		next;
		cutin "ep171_as03",0;
		mes "[Aas]";
		mes "Don't worry, you won't die.";
		next;
		cutin "",255;
		mes "[Worker]";
		mes "Didn't you say we were about to die?";
		next;
		cutin "ep171_as03",0;
		mes "[Aas]";
		mes "I said your bodies weren't healthy, but who said anything about dying?";
		next;
		cutin "",255;
		mes "[Worker]";
		mes "Can I rest? Shouldn't I get back to work? If I don't work, my family will starve.";
		npctalk "If you can't work, you can't live.","Worker#171_rvs_11",bc_self;
		next;
		mes "[Worker]";
		mes "Hey, what about me!";
		next;
		mes "[Worker]";
		mes "I'm sick too! If I sleep, it will be cured in a day!";
		npctalk "Oh please! Stop talking!","Worker#171_rvs_14",bc_self;
		next;
		cutin "ep171_as01",0;
		mes "[Aas]";
		mes "Oh. About that. You need professional treatment and care.";
		next;
		cutin "",255;
		mes "[Worker]";
		mes "No, it's not okay. I have to... I need to work.";
		npctalk "I'm hurt!","Worker#171_rvs_12",bc_self;
		next;
		cutin "ep171_as01",0;
		mes "[Aas]";
		mes "Then you'll really die. I don't think you want to die yet, right?";
		mes "If you keep working, you will. You need to rest and be treated by professionals.";
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "I can't keep working as the Vice President while the Enterprise is in this state.";
		next;
		cutin "",255;
		mes "[Worker]";
		mes "Are you going to just get rid of us? If it's not you, it'll be someone else!";
		npctalk "I'm sorry, we can't win!","Worker#171_rvs_11",bc_self;
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "I'll be taking care of this disaster instead. I will do everything to ensure your full recovery.";
		npctalk "I'm sure it was an accident.","Worker#171_rvs_13",bc_self;
		next;
		cutin "",255;
		mes "[Worker]";
		mes "I'm glad to hear not all of you are bad people.";
		npctalk "But what about the rest of the workforce?","Worker#171_rvs_14",bc_self;
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "If you are unhealthy, you should focus on getting better first.";
		next;
		cutin "",255;
		mes "[Worker]";
		mes "My Angela... I'll finally be able to see my Angela again....";
		next;
		mes "[Worker]";
		mes "But, well... what about us? We're in a relationship...";
		npctalk "What about me, I'm too old!","Worker#171_rvs_11",bc_self;
		next;
		mes "[Worker]";
		mes "Still, I want to keep working. We can write anywhere right? If we had a seat back at our headquarters...";
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "I do not know if there are jobs available back at headquarters.";
		mes "I'll check up on that once.";
		next;
		cutin "",255;
		mes "[Worker]";
		mes "Isn't there ^0000FFa lot of work^000000 to do here too? There's still waste materials... right? But I don't think the gunmen will stay here for more than a day or two.";
		next;
		mes "[Worker]";
		mes "You know, we need people to chop trees, cook, clean, and who will wash our clothes? I don't think it's possible.";
		npctalk "I want some delicious rice.","Worker#171_rvs_12",bc_self;
		next;
		mes "[Worker]";
		mes "What? Are we even strong enough to eat food?";
		next;
		mes "[Worker]";
		mes "No way... we know where to catch the fishes... where the good mushrooms are... where the best spots for the bathroom are... you guy don't know any of that.";
		npctalk "We're all going to die here.","Worker#171_rvs_13",bc_self;
		next;
		mes "[Worker]";
		mes "She's right! Nobody else knows this place as much as we do.";
		npctalk "I know where my delicious raspberries are...","Worker#171_rvs_11",bc_self;
		next;
		cutin "ep171_as01",0;
		mes "[Aas]";
		mes "I understand what they're saying.";
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "Hmm... well, I guess we need to keep people here who knows this place. Alright, I've decided.";
		mes "Anyone who's in good enough shape and wishes to remain can stay here and they will still be hired.";
		next;
		cutin "",255;
		mes "[Worker]";
		mes "Oh my... thank you....";
		next;
		mes "[Worker]";
		mes "Thank you! Thank you!";
		npctalk "He's the Vice President. he has good connections.","Worker#171_rvs_11",bc_self;
		npctalk "Thank you.","Worker#171_rvs_13",bc_self;
		npctalk "We can't thank you enough.","Worker#171_rvs_12",bc_self;
		npctalk "Thank you! Thank you!","Worker#171_rvs_14",bc_self;
		next;
		select("These people are victims too...");
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "As Lazy was saying, I think Rekenber has used these people because of their desperation.";
		next;
		cloakoffnpc "Search Team#171_cor",getcharid(0);
		cutin "",255;
		mes "[Search Team]";
		mes "We need support from the adventurer!";
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "What is it? Are the wounded people okay?";
		next;
		cutin "",255;
		mes "[Search Team]";
		mes "We were tracking the attacker, some of us got injured and now we ^0000FFneed backup.^000000";
		next;
		cutin "ep171_kaya01",2;
		mes "[Kaya]";
		mes "Attacker?";
		next;
		cutin "",255;
		mes "[Search Team]";
		mes "There were some traps set up, and some of us were injured because of it.";
		next;
		mes "[Search Team]";
		mes "The Advanced Team has difficulty searching everything on its own,";
		mes "the adventurer's help would be appreciated! Please join the Search Team on the <NAVI>[left]<INFO>sp_cor,108,130,0,101,0</INFO></NAVI>!";
		getexp 300000,300000;
		completequest 17018;
		setquest 17019;
		close2;
		cloakonnpc "Search Team#171_cor",getcharid(0);
		end;
	}
	if (isbegin_quest(17032) < 2) {
		cutin "ep171_as02",2;
		mes "[Aas]";
		mes "I honestly had no idea this place was hidden here. How the hell did they manage to avoid the surrounding people's attention?";
		close3;
	}
	if (isbegin_quest(17033) == 0) {
		cutin "ep171_as01",2;
		mes "[Aas]";
		mes "Hello. Do you need anything?";
		next;
		select("I'm going back to Rudus.:Is there anything I can help with?");
		mes "[Aas]";
		mes "There is nothing else to ask of you adventurer.";
		next;
		mes "[Aas]";
		mes "If you have time, how about you go back to Rudus and find more Identification Bracelets?";
		setquest 17033;
		completequest 17033;
		close3;
	}
	switch (checkquest(17035,PLAYTIME)) {
	case -1:
		break;
	case 0:
	case 1:
		cutin "ep171_as03",2;
		mes "[Aas]";
		mes "Hello you're back already adventurer? What's the matter? Do you need anything?";
		next;
		select("I'm going to Rudus.");
		mes "[Aas]";
		mes "Already? You've been there for a while today, right? I know it's not easy,You should take a break.";
		next;
		mes "[Aas]";
		mes "I need some time to sort out the bracelets that you've brought earlier.";
		next;
		mes "[Aas]";
		mes "I'll see you again at dawn.";
		close3;
	case 2:
		erasequest 17035;
	}
	switch (checkquest(17034,HUNTING)) {
	case -1:
		cutin "ep171_as03",2;
		mes "[Aas]";
		mes "Hello, are you going to Rudus?";
		next;
		if (select("Yes. I'll be going.:I can't go today.") == 2) {
			cutin "ep171_as03",2;
			mes "[Aas]";
			mes "It's alright, you need to take breaks as well, adventurer.";
			close3;
		}
		mes "[Aas]";
		mes "It won't be easy, but please put to rest 20 ^0000FFDolors specimens^000000 and collect 10 ^0000FFIdentification Bracelets^000000 from them.";
		next;
		cutin "ep171_as01",2;
		mes "[Aas]";
		mes "Please be careful. I know you will do well.";
		setquest 17034;
		close3;
	case 1:
		cutin "ep171_as01",2;
		mes "[Aas]";
		mes "Have you finished the work in Rudus?";
		next;
		mes "[Aas]";
		mes "Oh..., I thought the Vice President told you to put them to rest?";
		close3;
	case 2:
		if (countitem(25666) < 10) {
			cutin "ep171_as01",2;
			mes "[Aas]";
			mes "Have you finished the work in Rudus?";
			next;
			mes "[Aas]";
			mes "Oh... huh, I thought the Vice President told you to put them to rest?";
			close3;
		}
		cutin "ep171_as01",2;
		mes "[Aas]";
		mes "Have you finished the work in Rudus?";
		next;
		cutin "ep171_as02",2;
		mes "[Aas]";
		mes "You brought ^0000FF10 identification bracelet^000000... Alright, I received them.";
		next;
		cutin "ep171_as01",2;
		mes "[Aas]";
		mes "I will see you again at dawn.";
		mes "You must be pretty tired.";
		delitem 25666,10;
		getexp 200000,200000;
		getitem 25723,1;
		getitem 25669,5;
		erasequest 17034;
		setquest 17035;
		close3;
	}
	end;

OnInit:
	questinfo QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(17018) == 1";
	questinfo QTYPE_QUEST,QMARK_YELLOW,"checkquest(17034,HUNTING) == 2 && countitem(25666) >= 10";
	questinfo QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(17032) == 2 && isbegin_quest(17033) == 0";
	questinfo QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(17032) == 2 && isbegin_quest(17033) == 0";
	questinfo QTYPE_DAILYQUEST,QMARK_YELLOW,"isbegin_quest(17033) == 2 && checkquest(17035,PLAYTIME) == -1 && checkquest(17034,HUNTING) == -1";
	questinfo QTYPE_DAILYQUEST,QMARK_YELLOW,"isbegin_quest(17033) == 2 && checkquest(17035,PLAYTIME) == 2 && checkquest(17034,HUNTING) == -1";
	end;
}

sp_cor,124,139,1	script	Lazy#171_cor	4_M_LAZY,{
	if (isbegin_quest(17018) == 1) {
		cutin "16lei_03",2;
		mes "[Lazy]";
		mes "The <NAVI>[guard]<INFO>sp_cor,135,147,0,101,0</INFO></NAVI> seems to have something to say to the VIP. Is it a problem with the wounded people?";
		close3;
	}
	cutin "16lei_03",2;
	mes "[Lazy]";
	mes "Do you think this is where they are? I have to find the missing people.";
	close3;
}

sp_cor,120,140,5	script	Rookie#171_cor	4_M_ROOKIE,{
	cutin "16loo_01",2;
	mes "[Rookie]";
	mes "I really can't believe they did illegal experiments on this place. Why does it look so nice?";
	close3;
}

sp_cor,121,138,7	script	Goni#171_cor	4_M_GONY,{
	cutin "16go_01",0;
	mes "[  ]";
	mes "......";
	close3;
}

sp_cor,127,141,3	duplicate(dummy_cloaked_npc)	Aas#171_cor2	4_EP17_AS
sp_cor,134,144,7	duplicate(dummy_cloaked_npc)	Search Team#171_cor	4_M_REBELLION

//============================================================
// Innocent Menace
//============================================================
// 1st Story progression
// Continued from previous - Elena Volkova
sp_cor,110,130,3	script	Elena Volkova#rm171_0	4_F_ELENA,{
	switch (isbegin_quest(17019)) {
	case 0:
		cutin "162elena_01",2;
		mes "[Elena Volkova]";
		mes "" + strcharinfo(0) + ".";
		mes "We're still searching, so don't go too deep. We don't know what might be lurking in there.";
		close3;
	case 1:
		cutin "162elena_01",2;
		mes "[Elena Volkova]";
		if (isbegin_quest(16353) == 0) {
			emotion 4;
			mes "You came, Adventurer. You know why I wanted to see you, right?";
			mes "It's because of that angry researcher who ran away. As you can see, we haven't found him. He's as slippery as an eel.";
			next;
			specialeffect2 EF_TETRA_GROUND;
			mes "[Elena Volkova]";
			mes "Ack, what was that?";
			next;
			cutin "",255;
			cloakoffnpcself( "Rebellion#rm171_0" );
			mes "[Rebellion]";
			mes "Captain, there was another explosion near the facilities!";
			mes "That researcher named ^0000CDElyumina^000000 must have done it. We'll go after him right away!";
			next;
			cutin "162elena_01",2;
			cloakonnpcself( "Rebellion#rm171_0" );
			emotion 6;
			mes "[Elena Volkova]";
			mes "So, he knows he can't take us head-on. He's using guerrilla tactics.";
			mes "Let's go. " + strcharinfo(0) + ", follow me <NAVI>[this way]<INFO>sp_cor,180,169,0,101,0</INFO></NAVI>.";
			completequest 17019;
			setquest 16353;
		} else {
			mes "I hate untrained animals.";
			mes "They must be kept on tight leashes to train them properly. Don't you agree?";
		}
		close2;
		if (isbegin_quest(16352) == 1)
			completequest 16352;
		cutin "",255;
		end;
	case 2:
		cutin "162elena_01",2;
		mes "[Elena Volkova]";
		if (isbegin_quest(16353) == 1) {
			mes "There was an explosion near the facilities. It was caused by that researcher at this lab, Elyumina.";
			mes "We must capture him without fail this time. Come <NAVI>[this way]<INFO>sp_cor,180,169,0,101,0</INFO></NAVI>.";
		} else {
			mes "I hate untrained animals.";
			mes "They must be kept on tight leashes to train them properly. Don't you agree?";
		}
		close2;
		if (isbegin_quest(16352) == 1)
			completequest 16352;
		cutin "",255;
		end;
	}
	end;

OnInit:
	cloakonnpc();
	questinfo (QTYPE_QUEST, QMARK_YELLOW, " isbegin_quest(17019) == 1 && isbegin_quest(16352) == 1 && isbegin_quest(16353) == 0 ");
	end;
}

// Enter Story MD - Elena Volkova
sp_cor,180,169,3	script	Elena Volkova#rm171_1	4_F_ELENA,{
	switch (isbegin_quest(16353)) {
	case 0:
		cutin "162elena_01",2;
		mes "[Elena Volkova]";
		mes "Mm? Adventurer, don't act on your own. I know I can trust you, but the others don't.";
		next;
		mes "[Elena Volkova]";
		mes "Some of the researchers or their devices can remain. Stay with the others in the areas we've cleared.";
		next;
		emotion 18;
		cutin "162elena_02",2;
		mes "[Elena Volkova]";
		mes "What about me? Why am I here alone? Are you worried about me? Ho ho ho!";
		close3;
	case 1:
		cutin "162elena_01",2;
		mes "[Elena Volkova]";
		mes "You're a bit late. Well, we didn't come exactly in time, either.";
		mes "We lost Elyumina. He may not be a good fighter, but he's really good at running. Drat!";
		next;
		emotion 6;
		mes "[Elena Volkova]";
		mes "We won't be able to search or restore this area unless we catch him first.";
		next;
		mes "[Elena Volkova]";
		mes "I talked to the other captains of the Rebellion, and have decided to evacuate everyone in this area and release our elite troops for his search.";
		next;
		mes "[Elena Volkova]";
		mes "The evacuation process has already begun, moving the civilians and the President's little soldiers out of the area.";
		next;
		mes "[Elena Volkova]";
		mes "The elite members of USU and the other Rebellion forces have been selected, and I'll be their commander. The rest of the Rebellion will keep all the entries to Cor blocked.";
		next;
		mes "[Elena Volkova]";
		mes "Our operation also includes you, Adventurer. I know how good you are, so I've recommended you to the others. You'll do this with us, won't you?";
		next;
		cutin "",255;
		select("Of course.");
		cutin "162elena_02",2;
		emotion 18;
		mes "[Elena Volkova]";
		mes "Alright!";
		mes "For this operation, we've only picked the soldiers who are strong enough to fend for themselves, such as me. Please come back in a ^0000Cdparty of 1^000000.";
		completequest 16353;
		setquest 16354;
		close3;
	case 2:
		break;
	}
	switch (isbegin_quest(16354)) {
	case 0:
		cutin "162elena_01",2;
		mes "[Elena Volkova]";
		mes "I hate untrained animals.";
		mes "They must be kept on tight leashes to train them properly.";
		close3;
	case 1:
		if (isbegin_quest(16376) == 2) {
			cutin "162elena_01",2;
			mes "[Elena Volkova]";
			mes "Hey, Adventurer. Why didn't you tell me you did what I asked? I almost asked you again.";
			mes "But no need to report to me now. My men already did on your behalf.";
			if (isbegin_quest(16355) == 1)
				completequest 16355;
			if (isbegin_quest(16356) == 1)
				completequest 16356;
			completequest 16354;
			setquest 16357;
			close3;
		}
		cloakoffnpcself( "Rebellion#rm171_1" );
		cloakoffnpcself( "Rebellion#rm171_2" );
		cloakoffnpcself( "Rebellion#rm171_3" );
		cloakoffnpcself( "Rebellion#rm171_4" );
		cloakoffnpcself( "Rebellion#rm171_5" );
		cloakoffnpcself( "Rebellion#rm171_6" );
		cutin "162elena_01",2;
		mes "[Elena Volkova]";
		mes "The area has been closed. The evacuation process is almost complete.";
		mes "We'll go in there soon. Soldiers, are you ready?";
		next;
		npctalk "Elena Volkova: He knows what happened here. Let's capture him alive.", "", bc_self;
		npctalk "We're ready!", "Rebellion#rm171_1", bc_self;
		npctalk "...", "Rebellion#rm171_2", bc_self;
		npctalk "We're ready!", "Rebellion#rm171_3", bc_self;
		npctalk "We're ready!", "Rebellion#rm171_4", bc_self;
		npctalk "We're ready!", "Rebellion#rm171_5", bc_self;
		npctalk "We're ready!", "Rebellion#rm171_6", bc_self;
		mes "[Elena Volkova]";
		mes "Alright, you're the elite of the elites in the Rebellion, especially picked to capture this researcher who's been attacking everyone in this area, friend and foe alike.";
		next;
		emotion 6;
		npctalk "Elena Volkova: What did you say, you disobedient fools?", "", bc_self;
		npctalk "Well, we're flattered, but...", "Rebellion#rm171_1", bc_self;
		npctalk "...", "Rebellion#rm171_2", bc_self;
		npctalk "You've picked us because you know you can walk all over us, didn't you?", "Rebellion#rm171_3", bc_self;
		npctalk "Finally, I've got my chance to shine!", "Rebellion#rm171_4", bc_self;
		npctalk "Finally, we can show the world what we can do!", "Rebellion#rm171_5", bc_self;
		npctalk "Stop embarrassing us.", "Rebellion#rm171_6", bc_self;
		cutin "162elena_02",2;
		mes "[Elena Volkova]";
		mes "As for you, Adventurer, please select Ready and wait for us.";
		mes "When MD is activated, select Enter. Our operation will begin as soon as you do.";
		next;
		mes "^ff0000Please note that you can't clear this dungeon if you try to tame monsters or perform any other irrelevant monster-related activities.^000000";
		next;
		if (getcharid(1) < 1) {
			cutin "162elena_01",2;
			mes "[Elena Volkova]";
			mes "I told you, you have to do this alone.";
			mes "Use the ^0000Cd/organize [party name]^000000 command and come back in a ^0000Cdparty of 1^000000.";
			close3;
		}
		if (is_party_leader() == false) {
			cutin "162elena_01",2;
			mes "[Elena Volkova]";
			mes "Wait, are you trying to take other adventurers with you?";
			mes "I trust you, but I don't know about your friends. Please come back in a ^0000Cdparty of 1^000000.";
			close3;
		}
		cutin "",255;
		switch (select("Ready", "Enter", "Cancel")) {
		case 1:
			if (instance_create("Cor Memorial") < 1) {
				cutin "162elena_01",2;
				mes "[Elena Volkova]";
				mes "There seems to be a problem. Your request has failed. Please try again later. If the problem persists, please contact the Operation Team.";
				close3;
			}
			cutin "162elena_01",2;
			mes "[Elena Volkova]";
			mes "Alright, if MD is activated, talk to me again and select ^0000CDEnter^000000. Our operation will begin as soon as you enter.";
			close3;
		case 2:
			if (is_party_leader() == false)	// additionnal check
				end;
			switch (instance_enter("Cor Memorial")) {
			case IE_OK:
				cloakonnpcself( "Rebellion#rm171_1" );
				cloakonnpcself( "Rebellion#rm171_2" );
				cloakonnpcself( "Rebellion#rm171_3" );
				cloakonnpcself( "Rebellion#rm171_4" );
				cloakonnpcself( "Rebellion#rm171_5" );
				cloakonnpcself( "Rebellion#rm171_6" );
				if (isbegin_quest(16355) > 0)
					erasequest 16355;
				if (isbegin_quest(16356) > 0)
					erasequest 16356;
				if (isbegin_quest(16376) == 0)
					setquest 16376;
				mapannounce "sp_cor", strcharinfo(0) + " in the " + getpartyname(getcharid(1)) + " party has launched the operation to capture Elyumina.", bc_map, 0x00FF99;
				break;
			case IE_NOMEMBER:
				cutin "162elena_01",2;
				mes "[Elena Volkova]";
				mes "Your party leader hasn't created the dungeon. Check with them.";
				close3;
			case IE_NOINSTANCE:
				cutin "162elena_01",2;
				mes "[Elena Volkova]";
				mes "The dungeon is not created yet. Check again.";
				close3;
			case IE_OTHER:
				cutin "162elena_01",2;
				mes "[Elena Volkova]";
				mes "What kind of error is this? Check it.";
				close3;
			}
			end;
		case 3:
			cutin "162elena_02",2;
			mes "[Elena Volkova]";
			mes "What is it? What, are you nervous? You look nervous.";
			close3;
		}
		end;
	case 2:
		break;
	}
	switch (isbegin_quest(16357)) {
	case 0:
		cutin "162elena_01",2;
		mes "[Elena Volkova]";
		mes "There seems to be a problem. If I unnecessarily repeat myself, you should contact the Operation Team.";
		close3;
	case 1:
		if (checkweight(1201,3) == 0) {
			mes "[Alert]";
			mes " - Your bag is full. Please check your weight and carrying item quantity, and then talk to me again. -";
			close3;
		}
		cutin "162elena_02",2;
		emotion 18;
		mes "[Elena Volkova]";
		mes "Good job, everyone! Ho ho! You guys, I knew I could trust you!";
		mes "Ah, Adventurer, you too. Good job!";
		next;
		cutin "162elena_01",2;
		mes "[Elena Volkova]";
		mes "Thanks to you, we've successfully captured Elyumina. Now that we don't have to worry about his random attacks, the President's little soldiers and the civilians can go back home.";
		next;
		mes "[Elena Volkova]";
		mes "Rookie and the President's soldiers called the Wings something are getting ready to interrogate him.";
		mes "They're clearing the place that you fought the last machine to use it as an interrogation room.";
		next;
		emotion 29;
		mes "[Elena Volkova]";
		mes "Since I'm the type who prefers force over talking to get the answer she wants, I probably won't have anything to do there,";
		mes "but maybe Goni and I can stand in the back, glaring daggers at him.";
		next;
		mes "[Elena Volkova]";
		mes "Why don't you come join us <NAVI>[there]<INFO>sp_cor,136,210,0,101,0</INFO></NAVI>?";
		mes "You can stand next to us and glare, or you can help Rookie interrogate.";
		completequest 16357;
		setquest 16358;
		getexp2 getbaseexp_ratio(10,110),0;
		getexp 0,300000;
		getexp 0,300000;
		getexp 0,250000;
		getitem 25668,1;	// EP17_1_EVT01
		getitem 25723,5;	// EP17_1_EVT39
		close3;
	case 2:
		break;
	}
	switch (isbegin_quest(16358)) {
	case 0:
		cutin "162elena_01",2;
		mes "[Elena Volkova]";
		mes "There seems to be a problem. If I unnecessarily repeat myself, you should contact the Operation Team.";
		close3;
	case 1:
		cutin "162elena_01",2;
		mes "[Elena Volkova]";
		mes "Rookie and the President's soldiers called the Wings something are getting ready to interrogate him.";
		mes "They're clearing the place that you fought the last machine to use it as an interrogation room.";
		next;
		emotion 29;
		mes "[Elena Volkova]";
		mes "Since I'm the type who prefers force over talking to get the answer she wants, I probably won't have anything to do there,";
		mes "but maybe Goni and I can stand in the back, glaring daggers at him.";
		next;
		mes "[Elena Volkova]";
		mes "Why don't you come join us <NAVI>[there]<INFO>sp_cor,136,210,0,101,0</INFO></NAVI>?";
		mes "You can stand next to us and glare, or you can help Rookie interrogate.";
		close3;
	case 2:
		cutin "162elena_01",2;
		mes "[Elena Volkova]";
		mes "Hey, are you busy?";
		mes "I'll be traveling often between here and the Rebellion base for a while.";
		next;
		mes "[Elena Volkova]";
		mes "Places like this are prone to accidents that the regular members of the Rebellion can't handle.";
		next;
		emotion 29;
		cutin "162elena_02",2;
		mes "[Elena Volkova]";
		mes "When you finally have some time, come to Clana Nemieri for another match with me.";
		mes "I don't hate destroying machines, but it's not as fun as fighting you.";
		close3;
	}
	end;

OnInit:
	questinfo (QTYPE_QUEST, QMARK_YELLOW, " isbegin_quest(16353) == 1 ");
	questinfo (QTYPE_QUEST, QMARK_YELLOW, " isbegin_quest(16354) == 1 ");
	questinfo (QTYPE_QUEST, QMARK_YELLOW, " isbegin_quest(16357) == 1 ");
	end;
}

// Interrogation - Rookie, Lazy, Elena, Goni, Tes, and Elyumina
sp_cor,136,210,7	script	Goni#rm171_1	4_M_GONY,{
	switch (isbegin_quest(16358)) {
	case 0:
		cutin "16go_01",0;
		mes "[Goni]";
		mes "...";
		next;
		npctalk "Ah, hello.", "", bc_self;
		mes "[Goni]";
		mes "*Nod*";
		close3;
	case 1:
		cutin "16go_01",0;
		mes "[Goni]";
		mes "...";
		next;
		cutin "16loo_01",2;
		cloakoffnpcself( "Rookie#rm171_1" );
		cloakoffnpcself( "Elena Volkova#rm171_2" );
		cloakoffnpcself( "Philopontes#rm171_1" );
		mes "[Rookie]";
		mes "Ah, you came early. I thought you'd come later after a break.";
		mes "Mr. Lazy, please bring out the prisoner.";
		next;
		cutin "16lei_01",2;
		cloakoffnpcself( "Lazy#rm171_1" );
		cloakoffnpcself( "Elyumina#rm171_1" );
		mes "[Lazy]";
		mes "Yes, sir. Here he is.";
		mes "It hasn't been that long since we met, and you're already bossing me around.";
		next;
		emotion 14, getnpcid(0,"Lazy#rm171_1");
		emotion 6, getnpcid(0,"Rookie#rm171_1");
		mes "[Lazy]";
		mes "I knew you had it in you, Lucky Rookie. I've got a good eye for people. I'm so amazing!";
		npctalk "Lazy: I can't wait to bring you to my side. Just the thought of it excites me!", "Lazy#rm171_1", bc_self;
		npctalk "Rookie: ... Stop saying things like that in front of other people.", "Rookie#rm171_1", bc_self;
		next;
		cutin "ep171_elyumina02",0;
		npctalk "Lazy: Oooh, so demanding! I like that about you, too.", "Lazy#rm171_1", bc_self;
		emotion 6, getnpcid(0,"Elyumina#rm171_1");
		mes "[Elyumina]";
		mes "Gah, you fools! Stop manhandling me! My body's precious! I'm more valuable than all of you muscleheads combined!";
		next;
		cutin "16lei_01",2;
		mes "[Lazy]";
		mes "Oops, sorry. Now, Rookie, good luck to you.";
		completequest 16358;
		setquest 16359;
		close3;
	case 2:
		if (isbegin_quest(16359) < 2) {
			cloakoffnpcself( "Rookie#rm171_1" );
			cloakoffnpcself( "Elena Volkova#rm171_2" );
			cloakoffnpcself( "Philopontes#rm171_1" );
			cloakoffnpcself( "Lazy#rm171_1" );
			cloakoffnpcself( "Elyumina#rm171_1" );
		}
		cutin "16go_01",0;
		mes "[Goni]";
		mes "...";
		next;
		mes "[Goni]";
		mes "...?";
		close3;
	}
	end;

OnInit:
	questinfo (QTYPE_QUEST, QMARK_YELLOW, " isbegin_quest(16358) == 1 ");
	end;
}

sp_cor,135,216,5	script	Rookie#rm171_1	4_M_ROOKIE,{
	switch (isbegin_quest(16359)) {
	case 0:
		cutin "16loo_01",2;
		mes "[Rookie]";
		mes "This shouldn't have happened.";
		mes "Please contact the Operation Team.";
		close3;
	case 1:
		cutin "16loo_01",2;
		mes "[Rookie]";
		mes "Err, then...";
		mes "(Am I really interrogating him?)";
		emotion 21, getnpcid(0,"Lazy#rm171_1");
		emotion 21, getnpcid(0,"Elena Volkova#rm171_2");
		npctalk "*Nod*", "Lazy#rm171_1", bc_self;
		npctalk "*Nod*", "Elena Volkova#rm171_2", bc_self;
		npctalk "Elyumina: Get off me! Ugh, I'm not going to run away! Where are my smart machines and stupid subordinates?", "Elyumina#rm171_1", bc_self;
		next;
		emotion 4, getnpcid(0,"Rookie#rm171_1");
		cutin "16loo_03",2;
		mes "[Rookie]";
		mes "... Hey, take it easy. You're in no position to demand anything.";
		mes "You've done some serious damage to us.";
		next;
		cutin "ep171_elyumina02",0;
		emotion 7, getnpcid(0,"Elyumina#rm171_1");
		mes "[Elyumina]";
		mes "Stuff it! What about the damage you've done on me?";
		mes "You invaded my lab and tried to steal my research results!";
		next;
		npctalk "Rookie: Steal? That's not nice.", "Rookie#rm171_1", bc_self;
		cutin "16loo_01",2;
		mes "[Rookie]";
		mes "If you mean your illegal experimentation results,";
		mes "didn't you know they might get you in trouble one day?";
		next;
		mes "[Rookie]";
		mes "Well, that doesn't matter. You care about your research, don't you?";
		mes "Cooperate with us, and we'll help you continue with it.";
		next;
		mes "[Rookie]";
		mes "Only the part that's legal, of course. But we'll make sure you can keep it. So, tell us everything you know about this place and your coworkers.";
		next;
		cutin "ep171_elyumina03",0;
		mes "[Elyumina]";
		mes "My coworkers? I don't care about those lunatics.";
		mes "They're not my coworkers. I only used them for my research.";
		next;
		cutin "16loo_01",2;
		mes "[Rookie]";
		mes "Come to think of it, your name wasn't on the employee list from the company.";
		mes "Who are you? What kind of research did you need them for?";
		next;
		cutin "ep171_elyumina01",0;
		mes "[Elyumina]";
		mes "Don't you know who I am? I'm Schwarzwald's--no, the continent's greatest machine learning researcher. I bet you all have seen my serviceroids.";
		next;
		cutin "16loo_03",2;
		mes "[Rookie]";
		mes "... Nope.";
		npctalk "Have you?", "Elena Volkova#rm171_2", bc_self;
		npctalk "Nope.", "Lazy#rm171_1", bc_self;
		next;
		cutin "ep171_elyumina01",0;
		mes "[Elyumina]";
		mes "Hmpf, you probably didn't even know they were serviceroids.";
		mes "I was so close to transplanting human minds into my machines.";
		next;
		cutin "ep171_elyumina04",0;
		mes "[Elyumina]";
		mes "I could have given you my beautiful machine bodies, so you could forever preserve the knowledge that you all have worked so hard to accumulate.";
		next;
		cutin "ep171_elyumina03",0;
		mes "[Elyumina]";
		mes "Do you get it? I was doing something greater than any one of you fools can imagine.";
		mes "My research is nothing compared to the childish works of Vor, Wer, whatever their names were.";
		npctalk "Who says I need a machine body?", "Elena Volkova#rm171_2", bc_self;
		npctalk "I don't need one, either.", "Lazy#rm171_1", bc_self;
		npctalk "Vor? ... I see.", "Rookie#rm171_1", bc_self;
		next;
		cutin "16loo_01",2;
		mes "[Rookie]";
		mes "Vor-who? Vorseff? Or Werner? Do you know them?";
		next;
		cutin "ep171_elyumina03",0;
		mes "[Elyumina]";
		mes "Well, I know both names, but they don't interest me. Both of them risked their lives for stupid things.";
		next;
		cutin "16loo_01",2;
		mes "[Rookie]";
		mes "Maybe it's time you should take more interest. We want you to talk.";
		mes "Listen up. You've got two choices.";
		next;
		npctalk "Elyumina: ...", "Elyumina#rm171_1", bc_self;
		cutin "16loo_02",2;
		mes "[Rookie]";
		mes "First, you could decide to be stubborn";
		mes "and not to tell us about your illegal research or your friends.";
		mes "You stay loyal to them in exchange for... The death sentence. In this case, you'll have no future.";
		next;
		cutin "16loo_01",2;
		mes "[Rookie]";
		mes "Or you could be more considerate of your future";
		mes "and provide us information about your coworkers who were only your business partners. In this case, you'll get to keep your research, though in a limited capacity.";
		next;
		cutin "16loo_03",2;
		mes "[Rookie]";
		mes "You'll have to pay for what you did, of course, but eventually, you'll be able to do what you want.";
		next;
		cutin "ep171_elyumina03",0;
		mes "[Elyumina]";
		mes "...";
		next;
		cutin "16loo_01",2;
		mes "[Rookie]";
		mes "We're offering you a plea bargain. We're making sacrifices by offering it to you because we really believe you're onto something great.";
		mes "I hope you'll make the right decision.";
		next;
		cutin "ep171_elyumina03",0;
		mes "[Elyumina]";
		mes "... I really don't know what the others did in their rooms.";
		mes "...Can I still keep the bargain?";
		next;
		cutin "16loo_02",2;
		mes "[Rookie]";
		mes "Mm... Sure, why not? If you cooperate with us as best as you can, then we can let the minor details slide.";
		mes "Now, let's get down to the business, shall we? Please send him here, Mr. Lazy.";
		npctalk "Lazy: Go do your best, Ms. Great Scientist.", "Lazy#rm171_1", bc_self;
		next;
		cloakonnpcself( "Elyumina#rm171_1" );
		cloakoffnpcself( "Elyumina#rm171_2" );
		cutin "16lei_01",2;
		npctalk "Rookie: ... So... Ah, I see...", "Rookie#rm171_1", bc_self;
		mes "[Lazy]";
		mes "...";
		next;
		mes "[Lazy]";
		mes "...";
		mes "Hey, Hot-blooded Captain over there.";
		next;
		cutin "162elena_01",2;
		npctalk "Elyumina: ... Yes, but anything else, I don't...", "Elyumina#rm171_2", bc_self;
		mes "[Elena Volkova]";
		mes "... Are you talking to me?";
		next;
		cutin "16lei_02",2;
		npctalk "Elyumina: ... So, that's why... And...", "Elyumina#rm171_2", bc_self;
		mes "[Lazy]";
		mes "Then, who else? You're the only captain here.";
		mes "I was just going to ask you to stop glaring, since he's cooperating now.";
		next;
		cutin "162elena_01",2;
		npctalk "Rookie: ... Okay, so, you were here...", "Rookie#rm171_1", bc_self;
		mes "[Elena Volkova]";
		mes "Ah... Mm, yes.";
		mes "Rookie did a great job. I didn't know he was so good at persuasion.";
		next;
		cutin "16lei_03",2;
		npctalk "Elyumina: ... Got it? You'd better keep your promise, or I won't...", "Elyumina#rm171_2", bc_self;
		mes "[Lazy]";
		mes "Of course not. You never gave him a chance.";
		mes "But now that you know, let him handle the rest.";
		next;
		npctalk "Rookie: Okay, good job! Don't worry. I'll take care of you.", "Rookie#rm171_1", bc_self;
		cutin "162elena_01",2;
		mes "[Elena]";
		mes "Hm...";
		next;
		cutin "16loo_01",2;
		mes "[Rookie]";
		mes "What were you guys talking about? He told me everything we need to know.";
		mes "His group was called ^0000CDIllusion^000000, consisting of ^0000Cdformer members of Regenschirm^000000.";
		next;
		cutin "16loo_03",2;
		mes "[Rookie]";
		mes "Elyumina doesn't seem to know a lot about his group, though.";
		mes "He had almost zero contact with the company. He received his funds from Illusion in exchange for his research results. That was why he wasn't on the list.";
		npctalk "Lazy: So, he was like a subcontractor of a subcontractor.", "Lazy#rm171_1", bc_self;
		npctalk "Elyumina: No! I was their research supporter!", "Elyumina#rm171_2", bc_self;
		next;
		cutin "16loo_01",2;
		mes "[Rookie]";
		mes "And beyond this lab site is ^0000CDBarmund's mansion^000000, which used to be hidden.";
		mes "Illusion was created after the mansion's discovery, to monopolize on the knowledge available inside the place.";
		next;
		mes "[Rookie]";
		mes "Elyumina doesn't know how the mansion looks like on the inside";
		mes "because she chose to stay behind the others who entered the mansion, to protect his research data.";
		next;
		cutin "16loo_02",2;
		npctalk "Rookie: But she said she knows how to get in there.", "Rookie#rm171_1", bc_self;
		mes "[Rookie]";
		mes "Through the <NAVI>[waterway]<INFO>sp_cor,255,285,0,101,0</INFO></NAVI> on the far right side of the fence.";
		mes "We need more information and also have to round up the researchers. Why don't we all go together? Captain? Adventurer?";
		completequest 16359;
		setquest 16360;
		close2;
		cloakonnpcself( "Rookie#rm171_1" );
		cloakonnpcself( "Elena Volkova#rm171_2" );
		cloakonnpcself( "Lazy#rm171_1" );
		cloakonnpcself( "Elyumina#rm171_2" );
		cloakonnpcself( "Philopontes#rm171_1" );
		cutin "",255;
		end;
	case 2:
		if (isbegin_quest(16360) < 2) {
			cutin "16loo_02",2;
			mes "[Rookie]";
			mes "Through the <NAVI>[waterway]<INFO>sp_cor,255,285,0,101,0</INFO></NAVI> on the far right side of the fence.";
			mes "We need more information and also have to round up the researchers. Why don't we all go together? Captain? Adventurer?";
			navigateto "sp_cor",254,279;
			close3;
		}
		cutin "16loo_02",2;
		mes "[Rookie]";
		mes "Adventurer, you'll be the first one to know I have news.";
		close3;
	}
	end;

OnInit:
	cloakonnpc();
	questinfo (QTYPE_QUEST, QMARK_YELLOW, " isbegin_quest(16359) == 1 ");
	end;
}

// In front of waterway - Rookie, Goni, and Elyumina
sp_cor,255,285,1	script	Rookie#rm171_2	4_M_ROOKIE,{
	switch (isbegin_quest(16360)) {
	case 0:
		cutin "16loo_01",2;
		mes "[Rookie]";
		mes "Erm, we're still investigating this side, Adventurer.";
		mes "We don't know what kind of danger lurks here. Please don't come any closer.";
		next;
		cutin "16loo_02",2;
		mes "[Rookie]";
		mes "The water in this waterway looks clean, but we want to send it for an analysis.";
		next;
		cutin "16loo_01",2;
		mes "[Rookie]";
		mes "This place is filled with so many unpleasant surprises that I'm constantly reminding myself to be wary of everything I see.";
		close3;
	case 1:
		if (checkweight(1201,3) == 0) {
			mes "[Alert]";
			mes " - Your bag is full. Please check your weight and carrying item quantity, and then talk to me again. -";
			close;
		}
		cloakoffnpcself( "Goni#rm171_2" );
		cloakoffnpcself( "Elyumina#rm171_3" );
		cloakoffnpcself( "Elena Volkova#rm171_3" );
		cutin "16loo_03",2;
		emotion 19;
		mes "[Rookie]";
		mes "Ah, man. I think this is, but I can't open it. Is it too rusty or what?";
		next;
		cutin "16go_01",0;
		mes "[Goni]";
		mes "...";
		next;
		cutin "16loo_02",2;
		mes "[Rookie]";
		mes "Ah, you want to try? Thank you, Goni.";
		next;
		cutin "16go_01",0;
		mes "[Goni]";
		mes "...";
		next;
		mes "[Goni]";
		mes "...";
		mes "... ...";
		next;
		mes "[Goni]";
		mes "...";
		mes "... ...";
		mes "... ... ...";
		next;
		emotion 29;
		cutin "16loo_01",2;
		mes "[Rookie]";
		mes "Goni, are you serious? Ooh, I see. Interesting...";
		next;
		cutin "ep171_elyumina03",0;
		emotion 23, getnpcid(0,"Elyumina#rm171_3");
		mes "[Elyumina]";
		mes "Why are you looking at me like that? I told you nothing but the truth. That really is the entrance.";
		mes "Why would I lie in a situation like that? I'm not that stupid, you know.";
		next;
		cutin "16loo_01",2;
		mes "[Rookie]";
		mes "Who says you are? We've found the entrance.";
		mes "But it's locked from the inside. Even Goni couldn't open it, and he's the strongest of us all. That's what I find interesting.";
		next;
		emotion 18;
		cutin "16loo_02",2;
		mes "[Rookie]";
		mes "I should have checked if you talked to the others before you talked to us. Now, it's too late.";
		mes "You're more loyal than I thought. Not stupid, either.";
		next;
		cutin "16loo_01",2;
		npctalk "Elyumina: ... Don't make fun of me! Arrgh!", "Elyumina#rm171_3", bc_self;
		mes "[Rookie]";
		mes "Adventurer, the Rebellion will keep this place surrounded and investigate the perimeter.";
		mes "Now that we know what that place is, we can't leave it alone.";
		next;
		cutin "16loo_03",2;
		mes "[Rookie]";
		mes "We have a long love-and-hate relationship with both the government and the company. Even if Illusion isn't related to either of them, we must retrieve Barmund's legacy from it.";
		next;
		cutin "16loo_01",2;
		mes "[Rookie]";
		mes "But for now, we can't get in because the gate is shut.";
		mes "I'll let you know if we come across more information. Until then, please get some rest.";
		next;
		cutin "162elena_01",2;
		mes "[Elena Volkova]";
		mes "Ah, right. Elyumina will also be kept here for a while.";
		mes "He knows Illusion better than we do. We can't afford to lose him.";
		next;
		cutin "162elena_01",2;
		mes "[Elena Volkova]";
		mes "While he's with us, we'll also see if he can modify the damaged weapons found here for us.";
		next;
		mes "[Elena Volkova]";
		mes "If you're interested in that, you can ask my smart <NAVI>[subordinates]<INFO>sp_cor,108,130,0,101,0</INFO></NAVI> for more details.";
		next;
		cutin "16loo_02",2;
		mes "[Rookie]";
		mes "There are still many things to do around here. If you're not busy, maybe you can stay and help us.";
		mes "Now, good luck, Adventurer! We'll contact you if we come across new information!";
		completequest 16360;
		getexp2 getbaseexp_ratio(15,110),0;
		getexp 0,400000;
		getexp 0,400000;
		getexp 0,400000;
		close2;
		cloakonnpcself( "Goni#rm171_2" );
		cloakonnpcself( "Elyumina#rm171_3" );
		cloakonnpcself( "Elena Volkova#rm171_3" );
		cutin "",255;
		end;
	case 2:
		break;
	}
	// Episode 17.2 - START - (Walkthrough Conversion)
	if (BaseLevel < 130) {
		mes "[Rookie]";
		mes "I'll get back to you when I get more info. So take a break for a while.";
		mes "Elyumina should also be in charge here for the time being.";
		next;
		cutin "16loo_01.bmp",2;
		mes "[Rookie]";
		mes "We'll keep an eye on it and suggest modifying the damaged weapons we can get here for our own use.";
		next;
		mes "[Rookie]";
		mes "If you're an adventurer, if you're interested, it's managed by Captain Volkova's <NAVI>[subordinates]<INFO>sp_cor,108,130,0,101,0</INFO></NAVI>, so go and ask.";
		next;
		cutin "16loo_02.bmp",2;
		mes "[Rookie]";
		mes "There's still quite a bit of work to do around here, so if you're free, feel free to help out.";
		mes "Then good luck, adventurer! I'll be in touch when I learn something new!";
		next;
		cutin "",255;
		mes "^4d4dffThese quests are available from level 130 or higher.^000000";
		close;
	}
	if (ep17_2_main == 0) {
		cutin "16loo_01",2;
		mes "[Rookie]";
		mes "You're welcome.";
		mes "I opened the entrance here last night.";
		mes "Elyumina said that somehow the device that was sealing it from the inside is broken.";
		next;
		mes "[Rookie]";
		mes "It must have been one of the devices of the Illusion and Heart Hunters to keep the entrance shut.";
		mes "I'm glad that we're able to open it and move inside.";
		next;
		mes "[Rookie]";
		mes "Some of the rebellions have already entered the mansion.";
		mes "Maybe the Illusions intended to open it... because the inside is full of experiments...";
		next;
		mes "[Rookie]";
		mes "but I'm sure the rebellions who entered the mansion, is fine.";
		mes "You can enter whenever you're ready, adventurer.";
		next;
		mes "[Rookie]";
		mes "Even though I opened it, I don't plan to leave the door open at all times.";
		mes "I was only waiting for you to come.";
		next;
		mes "[Rookie]";
		mes "... Hmm, for some reason, I feel like I'm always playing the role of a gatekeeper?";
		mes "Is it only for adventurers? You must be feeling bad, huh? Ha-ha-ha-ha";
		ep17_2_main = 1;
		setquest 18000;
		next;
		mes "[Rookie]";
		mes "I'll open the door anytime you need to need, adventurer. Just let me know.";
		close3;
	}
	if (ep17_2_main == 1) {
		cutin "16loo_01",2;
		mes "[Rookie]";
		mes "Shall we go?";
		mes "To the great mansion left by the great sages?";
		next;
		if (select( "Let's Go!", "Not now." ) == 2) {
			mes "[Rookie]";
			mes "Let me know whenever you are ready.";
			close3;
		}
		mes "[Rookie]";
		mes "I heard that the advance team already cleaned up the inside, but occasionally something is coming out this way... it's hard for me to see something sticking out this way from time to time.";
		mes "First, I'll tell you where to go.";
		next;
		mes "[Rookie]";
		mes "The gate you're about to enter... we're calling it the entrance, but it's actually the exit.";
		mes "It's a giant sewer. If you walk along the sewer, you'll find a huge sewage treatment plant inside.";
		next;
		mes "[Rookie]";
		mes "If you go past the sewage treatment plant, there is a one huge magic power plant inside.";
		mes "It seems that power plant supports the entire mansion.";
		next;
		mes "[Rookie]";
		mes "Through the power plant, you can get to the garden of mansion.";
		mes "The mansion's manager is staying near the garden. be sure to meet them first.";
		next;
		select("Manager?");
		mes "[Rookie]";
		mes "If you look around closely, you'll understand.";
		mes "They seem to be having a hard time because of the intruders.";
		next;
		mes "[Rookie]";
		mes "Many other volunteer adventurer have entered before us.";
		mes "The sewage plant is quite complicated and you could get lost.";
		next;
		mes "[Rookie]";
		mes "There might be a colleague that ^4D4DFFfell behind^000000, Please move together with them.";
		mes "Before you register as a guest in the mansion, prioritize everyone's safety first.";
		next;
		mes "[Rookie]";
		mes "Then, this way.";
		ep17_2_main = 2;
		erasequest 18000;
		setquest 18001;
		close2;
		cutin "",255;
		warp "ba_pw02",275,20;
		end;
	}
	if (ep17_2_main == 2) {
		mes "[Rookie]";
		mes "Go ahead and enter the mansion through this sewer.";
		mes "Most of the colleagues who went in first cleaned up already.";
		next;
		mes "[Rookie]";
		mes "There might be a colleague that ^4D4DFFfell behind^000000, Please move together with them.";
		mes "Before you register as a guest in the mansion, prioritize everyone's safety first.";
		close;
	}
	mes "[Rookie]";
	mes "The path we took with you adventurer is a fresh feeling for me.";
	mes "I feel really alive these days.";
	close;

OnInit:
	questinfo( QTYPE_QUEST, QMARK_YELLOW, "isbegin_quest(16360) == 1" );
	questinfo( QTYPE_QUEST, QMARK_YELLOW, "isbegin_quest(16360) == 2 && isbegin_quest(18000) == 0 && BaseLevel >= 130 && ep17_2_main == 0" );
	questinfo( QTYPE_QUEST, QMARK_YELLOW, "isbegin_quest(18000) == 1" );
	end;
}

//= Finding Patrick Kaufmann
sp_cor,132,144,3	script	Worker#171_rvs_11	4_F_05,{
	if (isbegin_quest(17020) == 1) {
		mes "[Worker]";
		mes "I'll have to split the workforce because I only have so few people remaining.";
		npctalk "I have to split the workforce.","",bc_self;
		next;
		mes "[Worker]";
		mes "We'll have to take turns.";
		npctalk "No, that's not very productive.","Worker#171_rvs_13",bc_self;
		next;
		select("Do you know Patrick Kaufmann?");
		mes "[Worker]";
		mes "Who?";
		npctalk "Pat, who?","Worker#171_rvs_12",bc_self;
		next;
		select("Patrick Kaufmann. Facility Maintenance Officer.");
		mes "[Worker]";
		mes "Patrick Kaufmann? Don't you mean Patrick Young?";
		npctalk "I don't think that's the right name.","Worker#171_rvs_14",bc_self;
		next;
		mes "[Worker]";
		mes "He's the logistic guy.";
		npctalk "Facility Maintenance Department....","Worker#171_rvs_13",bc_self;
		next;
		mes "[Worker]";
		mes "Where's the facility department here?";
		npctalk "Don't you know?","",bc_self;
		next;
		mes "[Worker]";
		mes "I knew before I came here!";
		npctalk "That's not possible.","Worker#171_rvs_14",bc_self;
		next;
		mes "[Worker]";
		mes "Patrick is in the Facility Maintenance Department? That I didn't know. Nobody here worked as their usual job. When I got here, I was assigned a different job.";
		next;
		select("Who decides what you guys do?");
		mes "[Worker]";
		mes "Who decides? It's the researchers.";
		mes "When we arrived here, we were set up in a line and then one after the other, we were interviewed. Then we were assigned a job.";
		npctalk "Was I given the job of taking care of the livestock so that we could survive?","",bc_self;
		next;
		mes "[Worker]";
		mes "When I think about it, his eyes were so beautiful.";
		npctalk "That's right.","Worker#171_rvs_13",bc_self;
		next;
		mes "[Worker]";
		mes "Anyway, if you're looking for someone in particular, you should ^0000FFask the researchers.^000000 Most of them already ran away, but a few stayed behind.";
		mes "The <NAVI>[researcher]<INFO>sp_cor,224,77,0,101,0</INFO></NAVI> right next to the crops. Do you see her?";
		completequest 17020;
		setquest 17021;
		close;
	}
	if (isbegin_quest(17021) == 1) {
		mes "[Worker]";
		mes "Anyway, if you're looking for someone in particular, you should ^0000FFask the researchers.^000000 Most of them already ran away, but a few stayed behind.";
		mes "The <NAVI>[researcher]<INFO>sp_cor,224,77,0,101,0</INFO></NAVI> right next to the crops. Do you see her?";
		close;
	}
	mes "[Worker]";
	mes "Now I can't think of anything else, I'm in a bad mood. I'll get back to work soon...";
	close;

OnInit:
	questinfo QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(17020) == 1";
	end;
}

sp_cor,224,77,3	script	Researcher#171_rvs_0	4_F_SCIENCE,{
	if (isbegin_quest(17021) == 1) {
		mes "[Researcher]";
		mes "Anyway, what about all of these...?";
		mes "It's too bad that they won't be used.";
		next;
		mes "[Researcher]";
		mes "You... you're the adventurer that came with the gunmen. Am I in trouble? I didn't know anything about these illegal experiments or the institute.";
		next;
		select("I'm looking for a person.");
		mes "[Researcher]";
		mes "Who? Patrick? I don't know him. I don't know many people, I'm only focused on the field work here.";
		npctalk "I can tell you the names of all the vegetables.","",bc_self;
		next;
		select("Why are the researchers doing the field work?");
		mes "[Researcher]";
		mes "Well... in short, it was to feed the study animals, I was growing super vegetables that would sustain the animals for life.";
		next;
		mes "[Researcher]";
		mes "Processing and refining the vegetables... with these... what were they trying to do?? Did they try solve the hunger problems?";
		mes "Actually, I don't know. Maybe you do.";
		next;
		mes "[Researcher]";
		mes "The chief researchers here know all the details. I honestly didn't know they would just leave like that. I thought they were like a family to me...";
		next;
		mes "[Researcher]";
		mes "The chief told me to pack my bags because there was a disturbance outside. I was hesitating because I had to take care of my crops, but then everyone had already left.";
		npctalk "I feel discarded.","",bc_self;
		next;
		mes "[Researcher]";
		mes "I understood the moment I heard the Vice President talking. I worked with pride, but I was only making consumables for my senior researcher in the end.";
		next;
		mes "[Researcher]";
		mes "After all, I was blinded by my own ego. I didn't realize anything of what was happening.";
		npctalk "I finally understood the true meaning...","",bc_self;
		next;
		mes "[Researcher]";
		mes "Anyway, I'm looking for a <NAVI>[person]<INFO>sp_cor,151,180,0,000,0</INFO></NAVI> to do my laundry. It's been a while and my feet are dirty.";
		completequest 17021;
		setquest 17022;
		getexp 300000,300000;
		close;
	}
	if (isbegin_quest(17022) == 1) {
		mes "[Researcher]";
		mes "Anyway, I'm looking for a <NAVI>[person]<INFO>sp_cor,151,180,0,101,0</INFO></NAVI> to do my laundry. It's been a while and my feet are dirty.";
		close;
	}
	mes "[Researcher]";
	mes "Anyway, how about all of these...?";
	mes "I'm afraid they will go to waste if I just leave.";
	close;

OnInit:
	questinfo QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(17021) == 1";
	end;
}

sp_cor,151,180,5	script	Worker#171_rvs_15	4_M_RUSMAN2,{
	if (isbegin_quest(17022) == 1) {
		mes "[Worker]";
		mes "Huh... I don't want to wash these things, uh... it seems like the inside is burnt.";
		next;
		mes "[Worker]";
		mes "Hey, don't come any closer. These are contaminated items. Look out.";
		next;
		select("I have something to ask you.");
		mes "[Worker]";
		mes "Oh, you saved us! My name is Marcus. What are you doing here?";
		npctalk "Nice to meet you, my name is Marcus.","",bc_self;
		next;
		select("Marcus Holzman from Lighthalzen?");
		mes "[Marcus]";
		mes "Do you know me? I don't know you....";
		next;
		select("Are you familiar with Eva?");
		mes "[Marcus]";
		mes "No, who are you, really? How do you know Eva Mueller? Did Eva send you? How is she doing? Oh my god! Eva! How is Eva doing?";
		npctalk "Aaah... Eva, my dear Eva....","",bc_self;
		next;
		mes "[Marcus]";
		mes "Eva, I want to see Eva again. Did she forget about me? I haven't been able to contact her for several years.";
		npctalk "Ah, ahah.. I'm really a terrible person...","",bc_self;
		next;
		select("She worries because she hasn't been contacted.");
		mes "[Marcus]";
		mes "I couldn't send letters. I couldn't contact the outside either, and I can't get out of here. These are the rules of this place.";
		next;
		select("Well, it says you're on vacation.");
		mes "[Marcus]";
		mes "Vacation? I've been working everyday since I've came here. What makes you say that?";
		npctalk "That's new to me.","",bc_self;
		next;
		select("I'm investigating missing people.");
		mes "[Marcus]";
		mes "I can't thank you enough.";
		next;
		select("I can forward your letters for you.");
		mes "[Marcus]";
		mes "Really... you'd do that for me.... if we had meet sooner, we'd have been long life friends. If you need help with anything, let me know.";
		next;
		select("Do you know Patrick Kaufmann?");
		mes "[Marcus]";
		mes "It's a familiar name... Patrick... Patrick... Are you talking about Pat who was cleaning the labs?";
		mes "Wasn't he the guy who came from Lighthalzen too?";
		next;
		select("Yes, that's him.");
		mes "[Marcus]";
		mes "That's right, that's right! The guy who looked tall and big. I wanted to be his friend because we came from the same place. I couldn't see him one day. Then I was moved.";
		next;
		mes "[Marcus]";
		mes "It was a Facility Maintenance Department, I told them things weren't supposed to work that way.";
		next;
		mes "[Marcus]";
		mes "I'm ^0000FFfamiliar with the people^000000 who work in the lab, I've seen him a few times as I passed by. Did he stop working there?";
		next;
		mes "[Marcus]";
		mes "Anyway, if you want to know more, check out the <NAVI>[incinerator]<INFO>sp_cor,70,263,0,101,0</INFO></NAVI>.";
		mes "They're working on collecting and sorting the scattered materials, so maybe they know something else about Pat.";
		next;
		mes "[Marcus]";
		mes "These laundries will be moved to the incinerator soon. Huh, not good. If you pass them once in the washing machine, they won't always be clean...";
		next;
		mes "[Marcus]";
		mes "Thank you. I have written many letters during my stay, so I'll sort them out. Thank you again!";
		completequest 17022;
		setquest 17023;
		close;
	}
	if (isbegin_quest(17023) == 1) {
		mes "[Marcus]";
		mes "Anyway, if you want to know more, check out the <NAVI>[incinerator]<INFO>sp_cor,70,263,0,101,0</INFO></NAVI>.";
		mes "They're working on collecting and sorting the scattered materials, so maybe they know something else about Pat.";
		close;
	}
	mes "[Marcus]";
	mes "Huh... I don't want to wash these things, uh... it seems like the inside is burnt.";
	close;

OnInit:
	questinfo QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(17022) == 1";
	end;
}

sp_cor,70,263,5	script	Worker#171_rvs_16	4_M_02,{
	if (isbegin_quest(17023) == 1) {
		mes "[Worker]";
		mes "Don't put food waste in there. It will smell.";
		npctalk "Be careful here.","",bc_self;
		next;
		mes "[Worker]";
		mes "Oh... did you come to pick up the materials? I have arranged it as best as I could, but I cannot classify it because I don't know what it is.";
		next;
		select("Can I have a look?");
		mes "[Worker]";
		mes "Of course. But do you really think there's something of value in there? They would have taken it before leaving.";
		next;
		select("Is all the garbage incinerated here?");
		mes "[Worker]";
		mes "Well, to be accurate, this is not an incinerator, it's just a temporary loading station that collects garbage before they are incinerated. The actual incinerator is farther away.";
		next;
		select("How do the researchers handle the garbage?");
		mes "[Worker]";
		mes "We collect the garbage from each room and then process it. Well, usually that's what we do for neat people. They don't say much.";
		npctalk "I can't understand how people who are so smart can be so dirty and messy.";
		next;
		mes "[Worker]";
		mes "How can they call themselves real people if they can't even throw their trash in proper places. Maybe there piles left behind in the mountains.";
		next;
		select("Do you also burn the contaminated materials?");
		mes "[Worker]";
		mes "That's not it. I only categorize large materials or technical equipment.";
		next;
		mes "[Worker]";
		mes "There are separate waste dumps that collect only contaminated materials that can't be burned. We're often in contact with one another.";
		next;
		select("Did you go there yourself?");
		mes "[Worker]";
		mes "No, I don't actually go there myself. There's a specialized department in charge of that. They use the rails with the wagons because the materials are toxic or too large.";
		next;
		mes "[Worker]";
		mes "Huh... you know... the garbage... is an important job...";
		npctalk "No that's not it. People should live with good thoughts.","",bc_self;
		next;
		select("Do you know Patrick Kaufmann?");
		next;
		mes "[Worker]";
		mes "Patrick Kaufmann...? No, but you mean Patrick Young, right?";
		next;
		select("No. But I'm heading to the waste area.");
		mes "[Worker]";
		mes "Oh, you're going to the <NAVI>[waste area]<INFO>sp_rudus,227,351,0,101,0</INFO></NAVI>? Huh, good luck. I think you'll need it.";
		completequest 17023;
		setquest 17024;
		close;
	}
	if (isbegin_quest(17024) == 1) {
		mes "[Worker]";
		mes "Oh, you're going to the <NAVI>[waste area]<INFO>sp_rudus,227,351,0,101,0</INFO></NAVI>? Huh, good luck. I think you'll need it.";
		close;
	}
	mes "[Worker]";
	mes "What should I do next? I guess I can't keep working here.";
	close;

OnInit:
	questinfo QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(17023) == 1";
	end;
}

sp_rudus,15,280,5	script	#171_EV_RUDUS	HIDDEN_WARP_NPC,3,3,{
	end;

OnTouch:
	if (isbegin_quest(17025) == 1)
		cloakoffnpc "Discarded Person#171_rudus",getcharid(0);
	end;
}

sp_rudus,227,351,0	script	Suspicious Evidence#171_rudus	4_ENERGY_BLACK,{
	if (isbegin_quest(17024) == 1) {
		mes "[" + strcharinfo(0) + "]";
		mes "How do you find anything in such a big place? There is no one to ask.";
		mes "Can you really look at the traces of abandoned projects...?";
		next;
		mes "......";
		next;
		mes "............";
		next;
		mes "....................";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "There's nothing here. I don't know what to look for...";
		next;
		mes "[Suspicious Voices]";
		mes "The ratio of mixture is 1:3... what are you doing?, it should be 1:4. Do you want the lab to explode?";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "What.... I can hear a <NAVI>[voice]<INFO>sp_rudus,15,280,0,101,0</INFO></NAVI>, where does it come from?";
		completequest 17024;
		setquest 17025;
		cloakoffnpc "Discarded Person#171_rudus",getcharid(0);
		close;
	}
	if (isbegin_quest(17025) == 1) {
		mes "[" + strcharinfo(0) + "]";
		mes "What.... I can hear a <NAVI>[voice]<INFO>sp_rudus,15,280,0,101,0</INFO></NAVI>, where does it come from?";
		cloakoffnpc "Discarded Person#171_rudus",getcharid(0);
		close;
	}
	mes "[" + strcharinfo(0) + "]";
	mes "There is nothing here.";
	close;

OnInit:
	questinfo QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(17024) == 1";
	end;
}

sp_rudus,15,280,5	script	Discarded Person#171_rudus	4_F_MUT1,{
	if (isbegin_quest(17025) == 1) {
		mes "[Discarded Person]";
		mes "A 1:2 ratio might better... No it's better not to experiment. I think you're right.";
		next;
		select("Oh, woah, hello?? It's ok I don't mind!");
		mes "[Discarded Person]";
		mes "Why are you surprised? I'm not dead yet.";
		unittalk getcharid(3),strcharinfo(0) + " : I'm sorry.",bc_self;
		next;
		mes "[Discarded Person]";
		mes "It's okay. I'd be surprised too if I saw myself. I try not to look in the mirrors.";
		npctalk "There are no mirrors here.","",bc_self;
		next;
		select("Why do you look like a researcher...?");
		mes "[Discarded Person]";
		mes "Why shouldn't a researcher be here?";
		mes "You want to know why a person who led experiments was thrown out in a dumpster and abandoned.";
		next;
		mes "[Discarded Person]";
		mes "My only goal is being successful, and I've done all sort of things.";
		mes "That's a proper ending for me don't you think?";
		next;
		mes "[Discarded Person]";
		mes "Research and experimentation are not always safe. I thought I would be okay, but I couldn't avoid it in the end.";
		npctalk "I thought I would be okay.","",bc_self;
		next;
		mes "[Discarded Person]";
		mes "The person who abandoned me here didn't think I'd still be alive.";
		mes "Because the lab was crushed, toxic substances sprung up all over the place.";
		next;
		mes "[Discarded Person]";
		mes "Eheh. So I'm just going to wait here and die like this. I wanted to surprise the would with my research, but I ended up living here instead.";
		next;
		select("Are there any other people here?");
		mes "[Discarded Person]";
		mes "Why are you looking for? A dead person? A living person? Or perhaps a half dead person?";
		next;
		mes "[Discarded Person]";
		mes "How many discarded people do you think you'll find here?";
		npctalk "Since when do you think this site was used as a waste disposal facility?","",bc_self;
		next;
		mes "[Discarded Person]";
		mes "If they had a ^0000FFcertain physical condition and a poor background^000000, sometimes just homeless, it was easier to experiment on them.";
		next;
		mes "[Discarded Person]";
		mes "Don't look at me like that. The poorer you are, the better off your family is, we would be fools to not take advantage of these people. At least that's what I thought back then.";
		next;
		mes "[Discarded Person]";
		mes "Where do you think all these missing people have gone to over the years?";
		next;
		mes "[Discarded Person]";
		mes "Many of the missing people of Schwarzwald would end up here. Are you going to investigate every single one of them? If you had enough time, it wouldn't be a bad thing.";
		next;
		mes "[Discarded Person]";
		mes "Or are you only looking for one person in particular?";
		next;
		select("I'm looking for Patrick Kaufmann.");
		mes "[Discarded Person]";
		mes "When did he come in?";
		next;
		select("I don't know that.");
		mes "[Discarded Person]";
		mes "Well.. I ^0000FFdon't have the information you seek.^000000 I was the last person to come here.";
		next;
		mes "[Discarded Person]";
		mes "I don't have much to do, but I've looked through this place and I haven't seen anyone by that that... you know what I mean?";
		next;
		mes "[Discarded Person]";
		mes "You should try and look for an ^0000FFIdentification Bracelet^000000 in the pile of garbage. DO you know what it is?";
		mes "The wrist band is a bracelet. The names of the specimens are written on it.";
		next;
		mes "[Discarded Person]";
		mes "If he did, there would be a bracelet somewhere on the floor. It might not even be there anymore...";
		next;
		mes "[Discarded Person]";
		mes "If you can't find him, you can probably just buy a bracelet at a market and have a proper burial instead.";
		next;
		select("....");
		mes "[Discarded Person]";
		mes "... why am I not going? I did everything I wanted to do here.";
		next;
		select("We're going out together.");
		mes "[Discarded Person]";
		mes "Leaving this place? Don't, I'm dying. It's the gruesome truth. I know my body well. It's what I studied.";
		next;
		mes "[Discarded Person]";
		mes "For now, my foot is like this, but the other leg will change soon.";
		mes "Then both of my arms... and at the end... can you still call me humans?";
		next;
		mes "[Discarded Person]";
		mes "Even if I received treatments, there's no chance I'd survive. I know this well. Wouldn't it be best for me to have a quiet life here without anyone?";
		next;
		mes "[Discarded Person]";
		mes "See, this is my family now. Why do I have to carry such a heavy load? It's a hundred times easier to give up hope than to be alive elsewhere isn't it?";
		next;
		mes "[Discarded Person]";
		mes "Do I sound weird when I say stuff like that? I think I'm losing it a little.";
		next;
		mes "[Discarded Person]";
		mes "Yes, sometimes I even dream of taking people out of their misery.";
		next;
		mes "[Discarded Person]";
		mes "It's not probably what their family would have wanted, but it's dangerous outside for them. You know what I mean?";
		next;
		mes "[Discarded Person]";
		mes "And... I don't think it's a coincidence.";
		npctalk "I don't believe in higher power, but maybe I'm starting to.","",bc_self;
		next;
		mes "[Discarded Person]";
		mes "If you come back here after a while and I'm completely turned into a monster, please kill me.";
		next;
		mes "[Discarded Person]";
		mes "I would have rather have my life cut off short than living just a second as a monster. Got it?";
		next;
		mes "[Discarded Person]";
		mes "Huh. Surprisingly, I told you a lot. I should rest.";
		getexp 300000,300000;
		completequest 17025;
		setquest 17026;
		close;
	}
	mes "[Discarded Person]";
	mes "You should try and look for an ^0000FFIdentification Bracelet^000000 in the pile of garbage. Do you know what it is?";
	mes "The wrist band is a bracelet. And that is where the names of the specimens are written.";
	close;

OnInit:
	questinfo QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(17025) == 1";
	cloakonnpc();
	end;
}

sp_rudus,55,137,3	script	Suspicious Evidence#171_rudus_0	4_ENERGY_BLACK,{
	.@id = atoi(replacestr(strnpcinfo(2),"171_rudus_",""));
	.@qid = 17027 + .@id;
	if (isbegin_quest(.@qid) == 0 && isbegin_quest(17026) == 1) {
		switch (.@id) {
		case 0:
		case 1:
			mes "[" + strcharinfo(0) + "]";
			mes "I looked through the garbage and found several identification bracelet. Let's look elsewhere.";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "I don't think there's anything here related to Kaufmann.";
			break;
		case 2:
			mes "[" + strcharinfo(0) + "]";
			mes "I looked through the pile, I found nothing but garbage.";
			break;
		case 3:
			mes "[" + strcharinfo(0) + "]";
			mes "I digged a bracelet buried in a pile of garbage. This seems to be an identification bracelet from the experiments. It says... Pat... Patrick... Kauf...man.";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "This is Patrick Kaufmann's bracelet... let's go back to <NAVI>[Kaya]<INFO>sp_cor,136,146,0,101,0</INFO></NAVI>.";
			completequest 17026;
			setquest 17032;
			getitem 25666,1;
			break;
		case 4:
			mes "[" + strcharinfo(0) + "]";
			mes "I looked through the pile, there was nothing there.";
			break;
		}
		setquest .@qid;
		completequest .@qid;
		close;
	}
	if (isbegin_quest(.@qid) == 2 && isbegin_quest(17026) == 1) {
		mes "["+strcharinfo(0)+"]";
		mes "I've already seen this place. Let's look elsewhere.";
		close;
	}
	mes "[" + strcharinfo(0) + "]";
	mes "This place seems like a dead end.";
	close;

OnInit:
	.@id = atoi(replacestr(strnpcinfo(2),"171_rudus_",""));
	.@qid = 17027 + .@id;
	questinfo QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(17026) == 1 && isbegin_quest(" + .@qid + ") == 0";
	end;
}

sp_rudus,236,46,3	duplicate(Suspicious Evidence#171_rudus_0)	Suspicious Evidence#171_rudus_1	4_ENERGY_BLACK
sp_rudus,332,235,3	duplicate(Suspicious Evidence#171_rudus_0)	Suspicious Evidence#171_rudus_2	4_ENERGY_BLACK
sp_rudus,364,134,3	duplicate(Suspicious Evidence#171_rudus_0)	Suspicious Evidence#171_rudus_3	4_ENERGY_BLACK
sp_rudus,221,165,3	duplicate(Suspicious Evidence#171_rudus_0)	Suspicious Evidence#171_rudus_4	4_ENERGY_BLACK

//= Cor Daily
sp_cor,162,56,0	script	#171_ocp_ev	HIDDEN_WARP_NPC,4,4,{
	end;

OnTouch:
	if (isbegin_quest(11603) == 2 && isbegin_quest(12452) != 2) {
		cloakoffnpc "Est#171_ocp",getcharid(0);
		npctalk "We have to act quickly to annihilate them. We don't have much time.","Est#171_ocp",bc_self;
	} else if (isbegin_quest(12452) == 2)
		cloakoffnpc "Operation Officer#171_ocp",getcharid(0);
	end;
}

sp_cor,163,56,4	script	Est#171_ocp	4_F_ESTLOVELOY,{
	if (isbegin_quest(12452) == 0) {
		cutin "ep162_est01",2;
		mes "[Est]";
		mes "Oh you're here. I heard that the recon team has taken control over the railroad transport route.";
		next;
		select("Ask about the next operation.");
		mes "[Est]";
		mes "We took control of the transport route, but they'll probably fight back in a few hours. Then, it would make the operation useless.";
		next;
		mes "[Est]";
		mes "We are planning to carry out an all-out battle on the surrounding area to prevent a counterattack. Of course the civilians won't be included...";
		next;
		select("Ask what you need to prepare.");
		mes "[Est]";
		mes "The briefing will be held after we enter the operational area. Make sure you bring the supplies you need.";
		next;
		mes "[Est]";
		mes "We've taken control of the route, they'll probably fight back in a few hours.";
		setquest 12452;
		close3;
	}
	if (isbegin_quest(12452) == 1) {
		mes "^FF0000Please note that, any abnormal monster handling inside the instance such as taming is not considered normal and may hinder the instance progress.^000000";
		next;
		mes "^FF0000In beginners mode, the player transform into a monster. Please not that existing transformation effect will disappear after entering and proceeding.^000000";
		next;
		cutin "ep162_est01",2;
		mes "[Est]";
		mes "Are you ready?";
		next;
		.@party_id = getcharid(1);
		if (!.@party_id) {
			mes "[Est]";
			mes "Are you alone? It's difficult if you're alone. Form a party, make a unit, and start.";
			close3;
		}
		cutin "",255;
		.@party_name$ = getpartyname(.@party_id);
		.@md_name$ = "OS Occupation";
		switch (select(is_party_leader() ? "Prepare for OS Occupation.":"","Enter","Quit")) {
		case 1:
			if (instance_create(.@md_name$) == -3)
				dispbottom "The reservation of the instance '" + .@md_name$ + "' has failed due to an active instance.";
			mes "[Est]";
			mes "Inspect your unit before we enter for the occupation.";
			break;
		case 2:
			if (instance_enter(.@md_name$) == IE_OK)
				mapannounce "sp_cor", strcharinfo(0) + " of the party, "+ .@party_name$ +", is entering the " + .@md_name$ + ".", bc_map, "0x00FF99";
			else
				mes "The preparation for the operation is not yet complete or your party is performing another operation.";
			break;
		case 3:
		}
		close;
	}
	end;

OnInit:
	cloakonnpc();
	end;
}

sp_cor,160,55,5	script	Operation Officer#171_ocp	4_M_ILYA,{
	mes "^FF0000Please note that, any abnormal monster handling inside the instance such as taming is not considered normal and may hinder the instance progress.^000000";
	next;
	switch (checkquest(12455,PLAYTIME)) {
	case -1:
		break;
	case 0:
	case 1:
		mes "[Operation Officer]";
		mes "It's not time for the operation yet, just rest for now.";
		close;
	case 2:
		erasequest 12455;
	}
	if (isbegin_quest(12454) == 2) erasequest 12454;
	if (isbegin_quest(12454) == 0) {
		mes "[Operation Officer]";
		mes "Even though we suppressed the enemy from the first annihilation operation, the mutants started crawling out again.";
		next;
		mes "[Operation Officer]";
		mes "It will be easier if we can destroy the source. But those on the top won't approve it, so we'll have to begin a secondary search.";
		setquest 12454;
	} else {
		mes "[Operation Officer]";
		mes "I hope the search will be completed safely.";
	}
	next;
	mes "[Operation Officer]";
	mes "Are you ready?";
	next;
	.@party_id = getcharid(1);
	if (!.@party_id) {
		mes "[Operation Officer]";
		mes "Are you alone? It's difficult if you're alone. Form a party, make a unit, and start.";
		close;
	}
	.@party_name$ = getpartyname(.@party_id);
	.@md_name$ = "2nd OS Search";
	switch (select(is_party_leader() ? "Prepare 2nd OS Search.":"","Enter","Quit")) {
	case 1:
		if (instance_create(.@md_name$) == -3)
			dispbottom "The reservation of the instance '" + .@md_name$ + "' has failed due to an active instance.";
		mes "[Operation Officer]";
		mes "Perform a last unit check before the search.";
		break;
	case 2:
		if (instance_enter(.@md_name$) == IE_OK) {
			setquest 12455;
			mapannounce "sp_cor", strcharinfo(0) + " of the party, "+ .@party_name$ +", is entering the " + .@md_name$ + ".", bc_map, "0x00FF99";
		} else
			mes "The preparation for the operation is not yet complete or your party is performing another operation.";
	case 3:
	}
	close;

OnInit:
	cloakonnpc();
	end;
}

//	Daily Quest NPC
sp_cor,113,130,3	script	Rebellion#rm171_8	4_M_REBELLION3,{
	if (isbegin_quest(16360) < 2) {
		mes "[Rebellion]";
		mes "Ah, Adventurer! Long time, no see! Didn't you miss me?";
		next;
		select( "Do you know me?", "No...");
		mes "[Rebellion]";
		mes "Ah, you're so cold, Adventurer. Don't be like that.";
		mes "I'm on watch duty here, to keep strangers away.";
		next;
		mes "[Rebellion]";
		mes "But since you're not a stranger, I'll let you pass.";
		mes "You've got weapons and armor that match your class, and you're wearing warm clothes. Pass!";
		close;
	}
	//--- Daily Quest Cooldown
	switch (checkquest(16362,PLAYTIME)) {
	case -1:
		break;
	case 0:
	case 1:
		mes "[Rebellion]";
		mes "Mina said you can come back later. It's too early for his lovely children to be up and about.";
		next;
		cloakoffnpcself( "Elyumina#rm171_4" );
		cutin "ep171_elyumina03",0;
		npctalk "Elyumina: S-stop calling me that ridiculous name!", "Elyumina#rm171_4", bc_self;
		mes "[Elyumina]";
		mes "... The security devices and traps that summon monsters are still in low power mode. Leave them alone, or they can get easily overheated.";
		next;
		cutin "",255;
		mes "[Rebellion]";
		mes "Please come back after dawn when Mina's children wake up and get ready for another energetic day!";
		next;
		cutin "ep171_elyumina02",0;
		mes "[Elyumina]";
		mes "They'll be fully charged after dawn, and ready to operate again. Come back, then.";
		npctalk "(This mercenary seems to know how to handle that troublemaker.)", "", bc_self;
		close3;
	case 2:
		erasequest 16362;
		break;
	}
	if (isbegin_quest(16361) < 2) {
		mes "[Rebellion]";
		mes "Oh, Adventurer! Long time, no see! Actually, I'd like to ask you something. It's about Mina.";
		npctalk "Mina?", "", bc_self;
		next;
		cutin "ep171_elyumina03",0;
		cloakoffnpcself( "Elyumina#rm171_4" );
		npctalk "Elyumina: S-stop calling me that!", "Elyumina#rm171_4", bc_self;
		npctalk "You?", "", bc_self;
		mes "[Elyumina]";
		mes "Just let me explain. When you came after me, my machines that used to protect me--";
		next;
		cutin "",255;
		mes "[Rebellion]";
		mes "No, we didn't catch Mina's machines. They've been in hiding, sleeping.";
		next;
		cutin "ep171_elyumina02",0;
		mes "[Elyumina]";
		mes "It's Elyumina's! Elyumina's machines! And traps! ... They go stealth in low power mode in case of emergency. And it's time that they show back up and start rampaging again.";
		next;
		cutin "",255;
		npctalk "... They're yours. Just turn them off.", "", bc_self;
		mes "[Rebellion]";
		mes "Well, the problem is, Mina--";
		next;
		cutin "ep171_elyumina02",0;
		mes "[Elyumina]";
		mes "It's Elyumina, and I can't do it! They're equipped with a high-tech machine learning module.";
		mes "Since that day, they used data about you, their most powerful enemy, and they've used it to grow rapidly.";
		next;
		cutin "ep171_elyumina03",0;
		npctalk "Rebellion: So, now they're refusing to listen to Mina, and--", "Rebellion#rm171_8", bc_self;
		mes "[Elyumina]";
		mes "I can't control them! ... This is completely unexpected.";
		mes "The only solution I can think of is to exhaust their batteries until they stop working.";
		next;
		mes "[Elyumina]";
		mes "And the only person who can do it is you. You beat the EL1_A17T. Of course, I'll go with you, but I'll only be there to collect new data from them.";
		next;
		cutin "",255;
		mes "[Rebellion]";
		mes "I'd love to go too, but Mina won't let me. I wonder if it's because he cares.";
		next;
		cutin "ep171_elyumina03",0;
		npctalk "Elyumina: No. NO!", "Elyumina#rm171_4", bc_self;
		mes "[Elyumina]";
		mes "Anyway, I don't think you can handle them by yourself.";
		mes "That hooligan who detained me that day also won't be enough. Come back in a party with other adventurers, will you?";
		next;
		cutin "",255;
		mes "[Rebellion]";
		mes "Then, we've at least got four, including me and Mina--";
		next;
		cutin "ep171_elyumina02",0;
		mes "[Elyumina]";
		mes "I'll give you more details when we're inside. Please, say yes!";
		mes "Please! Before he gives me a coronary!";
		setquest 16361;
		completequest 16361;
	} else {
		mes "[Rebellion]";
		mes "It's time Mina's children are up and about, Adventurer.";
		mes "Do you want to play with them and tuck them back into bed while everyone else waits for you to finish?";
		next;
		cloakoffnpcself( "Elyumina#rm171_4" );
		cutin "ep171_elyumina03",0;
		mes "[Elyumina]";
		mes "... Soon, my security devices and traps will come out of their low power mode and become mobile again.";
		next;
		cutin "ep171_elyumina02",0;
		mes "[Elyumina]";
		mes "Do you want to lock down Cor, exhaust them, and collect data again?";
		mes "Please say yes. Let me follow you. I can't wait to get away from this guy.";
	}
	next;
	cutin "",255;
	mes "[Rebellion]";
	mes "Mm, I'm sorry to hear that. Adventurer, if you'd like to join the operation, then as the leader of the party, please select Ready.";
	next;
	mes "[Rebellion]";
	mes "And after the Memorial dungeon is created and all your party members select Enter, you can select Enter to start the operation.";
	next;
	mes "^ff0000Please note that you can't clear this dungeon if you try to tame monsters or perform any other irrelevant monster-related activities.^000000";
	next;
	if (getcharid(1) < 1) {
		mes "[Rebellion]";
		mes "Mm? Mina doesn't think you can do this alone. Please come back in a party, Adventurer.";
		close;
	}
	if (is_party_leader())
		.@menu$ = "Ready";
	switch (select( .@menu$, "Enter", "Cancel" )) {
	case 1:
		if (instance_create("Cor Memorial") < 1) {
			mes "[Rebellion]";
			mes "There seems to be a problem. Your request has failed. Please try again later. If the problem persists, please contact the Operation Team.";
			close;
		}
		npctalk "Hah hah. He's so cute.", "Rebellion#rm171_8", bc_self;
		mes "[Rebellion]";
		mes "Alright, if MD is activated, talk to me again and select ^0000CDEnter^000000. Our operation will begin as soon as you enter.";
		close;
	case 2:
		switch (instance_enter("Cor Memorial")) {
		case IE_OK:
			if (isbegin_quest(16363) > 0)
				erasequest 16363;
			setquest 16362;
			mapannounce "sp_cor", strcharinfo(0) + " in the " + getpartyname(getcharid(1)) + " party has launched the operation to subdue EL1_A17T.", bc_map, 0x00FF99;
			end;
		case IE_NOMEMBER:
			mes "[Rebellion]";
			mes "The dungeon is not yet created. Let me check again.";
			close;
		case IE_NOINSTANCE:
			mes "[Rebellion]";
			mes "Your party leader hasn't created the dungeon. Let me check again.";
			close;
		case IE_OTHER:
			mes "[Rebellion]";
			mes "An unknown error has occurred. Let's check it again.";
			close;
		}
		end;
	case 3:
		cutin "ep171_elyumina02",0;
		mes "[Elyumina]";
		mes "What are you doing? Come on, let's go. Please? I don't want to stay even a moment longer with that jerk who keeps calling me by that terrible nickname.";
		close3;
	}
	end;

OnInit:
	questinfo (QTYPE_QUEST, QMARK_YELLOW, " isbegin_quest(16360) == 2 && isbegin_quest(16361) == 0 ");
	questinfo (QTYPE_QUEST, QMARK_YELLOW, " isbegin_quest(16360) == 2 && isbegin_quest(16361) == 2 && checkquest(16362,PLAYTIME) == -1 ");
	questinfo (QTYPE_QUEST, QMARK_YELLOW, " checkquest(16362,PLAYTIME) == 2 ");
	end;
}

sp_cor,155,94,3	script	Juslan#171_daily_merc	4_M_GUNSLINGER3,{
	if (isbegin_quest(11603) != 2) {
		mes "[Juslan]";
		mes "Hm? I think we need to clean up the Heart Hunters in the area.";
		mes "Aren't you participating in the next operation?";
		close3;
	}
	switch (checkquest(7868,PLAYTIME)) {
	case -1:
		break;
	case 0:
	case 1:
		mes "[Juslan]";
		mes "Woah, you worked hard today.";
		mes "Special forces are on the lookout already, but they haven't found a laboratory...";
		next;
		mes "[Juslan]";
		mes "How do the Heart Hunters come back so fast?";
		mes "I think we should fight again soon, but for now let's take a break.";
		close;
	case 2:
		mes "[Juslan]";
		mes "Huh~ Did you rest well?";
		mes "Let's prepare for a Heart Hunter hunt.";
		mes "When you're ready, let's go again.";
		erasequest 7868;
		close;
	}
	switch (checkquest(7867,HUNTING)) {
	case -1:
		break;
	case 1:
		mes "[Juslan]";
		mes "Please handle 15 ^0000FFHeart Hunter Bellares and  Heart Hunter Sanares.^000000";
		mes "I want to get battle information.";
		next;
		mes "[Juslan]";
		mes "You know the location, right?";
		mes "You can follow the track from there.";
		close;
	case 2:
		mes "[Juslan]";
		mes "These guys were stronger than expected.";
		mes "It seems like their equipment or abilities have increased in various ways.";
		next;
		mes "[Juslan]";
		mes "I wonder if those were strengthened through the experimentation in this lab?";
		mes "They've become so strong now, I don't trust these people...";
		next;
		mes "[Juslan]";
		mes "Thank you very much for today's work.";
		mes "Take a rest for now.";
		setquest 7868;
		erasequest 7867;
		getexp 200000,200000;
		getitem 25669,5;
		getitem 25723,1;
		close2;
		npctalk "I need a break...","",bc_self;
		end;
	}
	mes "[Juslan]";
	mes "The Heart Hunters Bellares and the Sanares are not like those we've met before.";
	mes "They are hard to deal with.";
	next;
	mes "[Juslan]";
	mes "Because of that, the Est special troops are hiding in the battlefield to advance further.";
	mes "We have to deal with those guys, sometimes it's hard.";
	next;
	if (select("Let's do it.:That sounds like trouble.") == 2) {
		mes "[Juslan]";
		mes "It will  be. Huh.";
		mes "The adventurer should take a break.";
		mes "Your body must be tired.";
		close;
	}
	mes "[Juslan]";
	mes "That's good to hear.";
	mes "Will you able to deal with Heart Hunter Bellares and Sanares properly?";
	mes "Please hunt down 15 of each Heart Hunters.";
	next;
	mes "[Juslan]";
	mes "I want to gather more combat data if possible.";
	mes "I would really appreciate it.";
	setquest 7867;
	close2;
	npctalk "I need a break...","",bc_self;
	end;

OnInit:
	questinfo QTYPE_DAILYQUEST,QMARK_YELLOW,"isbegin_quest(11603) == 2 && checkquest(7868,PLAYTIME) == -1 && checkquest(7867,HUNTING) == -1";
	questinfo QTYPE_DAILYQUEST,QMARK_YELLOW,"isbegin_quest(11603) == 2 && checkquest(7868,PLAYTIME) == 2 && checkquest(7867,HUNTING) == -1";
	questinfo QTYPE_QUEST,QMARK_YELLOW,"checkquest(7867,HUNTING) == 2";
	end;
}

sp_cor,246,97,3	script	Farmhand#rm171_1	1_M_03,{
	if (isbegin_quest(16360) < 2) {
		mes "[Farmhand]";
		mes "Sorry, I'm busy. I don't think you city people want to be here because it smells like fertilizer. Why don't you go over there and join the others where the researchers used to be?";
		close;
	}
	if (isbegin_quest(16364) == 0) {
		mes "[Farmhand]";
		mes "We're here to grow vegetables. This self-sufficient farm is our pride and joy.";
		next;
		mes "[Farmhand]";
		mes "But since this incident, many members in our staff have requested a transfer, leaving us short-staffed. Would you be so kind as to help us tend to our crops?";
		next;
		if (select( "Help.", "Do not help." ) == 2) {
			mes "[Farmhand]";
			mes "You big shots came here and ruined our peace.";
			next;
			mes "[Farmhand]";
			mes "Ban, forget it. What we had prob'bly wasn't real peace, anyway.";
			close3;
		}
		mes "[Farmhand]";
		mes "Thank you! We grow grapes, green beans, and pumpkins in our farm, and they each have different needs.";
		next;
		setarray .@r[0], rand(3), rand(3), rand(3);
		setarray .@string$[0],"catch aphids","spread fertilizer","pull weeds";
		setquest 16367+.@r[0];
		setquest 16370+.@r[1];
		setquest 16373+.@r[2];
		mes "[Farmhand]";
		mes "For the grapes, please " + .@string$[.@r[0]] + ". For the green beans, " + .@string$[.@r[1]] + ". And for the pumpkins, " + .@string$[.@r[2]] + ".";
		mes "Then, I'll be countin' on you.";
		setquest 16364;
		close3;
	}
	if (isbegin_quest(16364) == 1 || isbegin_quest(16366) == 1) {
		if ((isbegin_quest(16367) == 2 || isbegin_quest(16368) == 2 || isbegin_quest(16369) == 2) && (isbegin_quest(16370) == 2) || (isbegin_quest(16371) == 2 || isbegin_quest(16372) == 2) && (isbegin_quest(16373) == 2 || isbegin_quest(16374) == 2 || isbegin_quest(16375) == 2)) {
			if (checkweight(1201,3) == 0) {
				mes "[Alert]";
				mes " - Your bag is full. Please check your weight and carrying item quantity, and then talk to me again. -";
				close3;
			}
			mes "[Farmhand]";
			mes "You took care of them all. For an adventurer, you're pretty good at tendin' to gardens.";
			next;
			mes "[Farmhand]";
			mes "We don't have anythin' to give you, but maybe you could have these components that we've found around here. I saw the mercenaries collectin' them. Don't you need them, too?";
			next;
			mes "[Farmhand]";
			mes "Our crops need to be tended every day. Please come back and help us again.";
			for ( .@quest_id = 16367; .@quest_id <= 16375; .@quest_id++ )
				if (isbegin_quest(.@quest_id) == 2)
					erasequest .@quest_id;

			if (isbegin_quest(16364) == 1) {
				getexp2 getbaseexp_ratio(10,110),0;
				getexp 0,300000;
				getexp 0,300000;
				getexp 0,250000;
				getitem 25723,1;	// EP17_1_EVT39
				getitem 25669,5;	// EP17_1_EVT02
				completequest 16364;
			}
			if (isbegin_quest(16366) == 1) {
				getexp2 getbaseexp_ratio(3,110),0;
				getexp 0,100000;
				getexp 0,100000;
				getexp 0,100000;
				getitem 25723,1;	// EP17_1_EVT39
				getitem 25669,5;	// EP17_1_EVT02
				erasequest 16366;
			}
			setquest 16365;
			close;
		}
		setarray .@string$[0],"catch aphids","spread fertilizer","pull weeds","You took good care of them.";
		for ( .@i = 0; .@i < 3; .@i++ ) {
			.@base = 16367 + (.@i * 3);
			for ( .@r[.@i] = 0; .@r[.@i] < 3; .@r[.@i]++ ) {
				if (isbegin_quest(.@base+.@r[.@i]) == 1)
					break;
			}
		}
		mes "[Farmhand]";
		mes "Ah, you're not done yet.";
		next;
		mes "[Farmhand]";
		mes "For the grapes, you have to " + .@string$[.@r[0]] + ". For the green beans, " + .@string$[.@r[1]] + ". And for the pumpkins, " + .@string$[.@r[2]] + ".";
		next;
		mes "[Farmhand]";
		mes "Please make sure you do all these.";
		close;
	}
	switch (checkquest(16365,PLAYTIME)) {
	case -1:
		break;
	case 0:
	case 1:
		mes "[Farmhand]";
		mes "Our crops are good for now. Messin' with them too often ain't good for them. They may not look it, but they're pretty sensitive.";
		next;
		mes "[Farmhand]";
		mes "Please come back after dawn. Thank you.";
		close;
	case 2:
		erasequest 16365;
		break;
	}
	if (isbegin_quest(16364) == 2 && isbegin_quest(16366) == 0) {
		mes "[Farmhand]";
		mes "Enough time has passed for our crops to need tendin' again. Would you help us again?";
		next;
		mes "[Farmhand]";
		mes "Since you came along, I've been havin' more things to do, and there's only so much one man can do.";
		next;
		if (select( "Help.", "Do not help." ) == 2) {
			mes "[Farmhand]";
			mes "Ah, I understand. Thanks to you guys, I've got more things to do with fewer men to do them with, but I'm alright.";
			next;
			mes "[Farmhand]";
			mes "Well, forget it. You're prob'bly too busy yourself. But what do I know? I'm just a farmhand.";
			close3;
		}
		mes "[Farmhand]";
		mes "Thank you. We've got grapes, green beans, and pumpkins, and I believe I've told you they each have different needs.";
		next;
		setarray .@r[0], rand(3), rand(3), rand(3);
		setarray .@string$[0],"catch aphids","spread fertilizer","pull weeds";
		setquest 16367+.@r[0];
		setquest 16370+.@r[1];
		setquest 16373+.@r[2];
		mes "[Farmhand]";
		mes "For the grapes, please " + .@string$[.@r[0]] + ". For the green beans, " + .@string$[.@r[1]] + ". And for the pumpkins, " + .@string$[.@r[2]] + ". Since you know the drill, I won't say more.";
		setquest 16366;
		close3;
	}
	mes "[Farmhand]";
	mes "Sorry, I'm busy. I don't think you city people want to be here because it smells like fertilizer. Why don't you go over there and join the others where the researchers used to be?";
	close;

OnInit:
	questinfo (QTYPE_QUEST, QMARK_YELLOW, " isbegin_quest(16360) == 2 && isbegin_quest(16364) == 0 ");
	questinfo (QTYPE_QUEST, QMARK_YELLOW, " checkquest(16365,PLAYTIME) == 2 ");
	questinfo (QTYPE_QUEST, QMARK_YELLOW, " isbegin_quest(16364) == 2 && checkquest(16365,PLAYTIME) == -1 && isbegin_quest(16366) == 0 ");
	end;
}

sp_cor,160,135,5	script	Green Beans#rm171_2	4_ENERGY_YELLOW,{
	if (isbegin_quest(16364) != 1 && isbegin_quest(16366) != 1) {
		mes "[Green Beans]";
		mes "Small green beans are hanging from the healthy-looking beanstalks.";
		close;
	}
	if (isbegin_quest(16370) != 1 && isbegin_quest(16371) != 1 && isbegin_quest(16372) != 1) {
		mes "[Green Beans]";
		mes "Small green beans are hanging from the rejuvenated beanstalks.";
		close;
	}
	mes "[Green Beans]";
	mes "These green beans look a little bit lifeless.";
	next;
	switch (select( "Catch aphids.", "Spread fertilizer.", "Pull weeds." )) {
	case 1:
		mes "[Green Beans]";
		mes "I caught aphids on the green bean stalks.";
		.@quest_id = 16370;
		break;
	case 2:
		mes "[Green Beans]";
		mes "I spread fertilizer around the green beans.";
		.@quest_id = 16371;
		break;
	case 3:
		mes "[Green Beans]";
		mes "I pulled weeds around the green beans.";
		.@quest_id = 16372;
		break;
	}
	next;
	if (isbegin_quest(.@quest_id) != 1) {
		mes "[Green Beans]";
		mes "Why do they still look wilted?";
		close;
	}
	specialeffect EF_HEAL4;
	mes "[Green Beans]";
	mes "Oooh, I can tell the green beans are happy now!";
	completequest .@quest_id;
	if ((isbegin_quest(16367) == 2 || isbegin_quest(16368) == 2 || isbegin_quest(16369) == 2) && (isbegin_quest(16373) == 2 || isbegin_quest(16374) == 2 || isbegin_quest(16375) == 2)) {
		next;
		mes "[Green Beans]";
		mes "I've tended to all the crops. I should go back to the Farmhand.";
	}
	close;

OnInit:
	questinfo (QTYPE_QUEST, QMARK_YELLOW, " isbegin_quest(16364) == 1 && isbegin_quest(16370) == 1 ");
	questinfo (QTYPE_QUEST, QMARK_YELLOW, " isbegin_quest(16364) == 1 && isbegin_quest(16371) == 1 ");
	questinfo (QTYPE_QUEST, QMARK_YELLOW, " isbegin_quest(16364) == 1 && isbegin_quest(16372) == 1 ");
	questinfo (QTYPE_QUEST, QMARK_YELLOW, " isbegin_quest(16366) == 1 && isbegin_quest(16370) == 1 ");
	questinfo (QTYPE_QUEST, QMARK_YELLOW, " isbegin_quest(16366) == 1 && isbegin_quest(16371) == 1 ");
	questinfo (QTYPE_QUEST, QMARK_YELLOW, " isbegin_quest(16366) == 1 && isbegin_quest(16372) == 1 ");
	end;
}

sp_cor,240,87,5	script	Pumpkins#rm171_3	4_ENERGY_YELLOW,{
	if (isbegin_quest(16364) != 1 && isbegin_quest(16366) != 1) {
		mes "[Pumpkins]";
		mes "Small, fussy leaves have grown out of the healthy-looking pumpkin vines.";
		close;
	}
	if (isbegin_quest(16373) != 1 && isbegin_quest(16374) != 1 && isbegin_quest(16375) != 1) {
		mes "[Pumpkins]";
		mes "Small, fussy leaves have grown out of the rejuvenated pumpkin vines.";
		close;
	}
	mes "[Pumpkins]";
	mes "These pumpkin vines look a little bit lifeless.";
	next;
	switch (select("Catch aphids.", "Spread fertilizer.", "Pull weeds.")) {
	case 1:
		mes "[Pumpkins]";
		mes "I caught aphids on the pumpkin vines.";
		.@quest_id = 16373;
		break;
	case 2:
		mes "[Pumpkins]";
		mes "I spread fertilizer on the pumpkin vines.";
		.@quest_id = 16374;
		break;
	case 3:
		mes "[Pumpkins]";
		mes "I pulled weeds around the pumpkin vines.";
		.@quest_id = 16375;
		break;
	}
	next;
	if (isbegin_quest(.@quest_id) != 1) {
		mes "[Pumpkins]";
		mes "Why do they still look wilted?";
		close;
	}
	specialeffect EF_HEAL4;
	mes "[Pumpkins]";
	mes "Oooh, I can tell the pumpkins are happy now!";
	completequest .@quest_id;
	if ((isbegin_quest(16367) == 2 || isbegin_quest(16368) == 2 || isbegin_quest(16369) == 2) && (isbegin_quest(16370) == 2 || isbegin_quest(16371) == 2 || isbegin_quest(16372) == 2)) {
		next;
		mes "[Pumpkins]";
		mes "I've tended to all the crops. I should go back to the Farmhand.";
	}
	close;

OnInit:
	questinfo (QTYPE_QUEST, QMARK_YELLOW, " isbegin_quest(16364) == 1 && isbegin_quest(16373) == 1 ");
	questinfo (QTYPE_QUEST, QMARK_YELLOW, " isbegin_quest(16364) == 1 && isbegin_quest(16374) == 1 ");
	questinfo (QTYPE_QUEST, QMARK_YELLOW, " isbegin_quest(16364) == 1 && isbegin_quest(16375) == 1 ");
	questinfo (QTYPE_QUEST, QMARK_YELLOW, " isbegin_quest(16366) == 1 && isbegin_quest(16373) == 1 ");
	questinfo (QTYPE_QUEST, QMARK_YELLOW, " isbegin_quest(16366) == 1 && isbegin_quest(16374) == 1 ");
	questinfo (QTYPE_QUEST, QMARK_YELLOW, " isbegin_quest(16366) == 1 && isbegin_quest(16375) == 1 ");
	end;
}

sp_cor,249,85,5	script	Grapes#rm171_1	4_ENERGY_YELLOW,{
	if (isbegin_quest(16364) != 1 && isbegin_quest(16366) != 1) {
		mes "[Grapes]";
		mes "Clusters of small green grapes are hanging from the healthy-looking grapevines.";
		close;
	}
	if (isbegin_quest(16367) != 1 && isbegin_quest(16368) != 1 && isbegin_quest(16369) != 1) {
		mes "[Grapes]";
		mes "Clusters of small green grapes are hanging from the rejuvenated grapevines.";
		close;
	}
	mes "[Grapes]";
	mes "These grapes look a little bit lifeless.";
	next;
	switch (select("Catch aphids.", "Spread fertilizer.", "Pull weeds.")) {
	case 1:
		mes "[Grapes]";
		mes "I caught aphids on the grapevines.";
		.@quest_id = 16367;
		break;
	case 2:
		mes "[Grapes]";
		mes "I spread fertilizer around the grapes.";
		.@quest_id = 16368;
		break;
	case 3:
		mes "[Grapes]";
		mes "I pulled weeds around the grapes.";
		.@quest_id = 16369;
		break;
	}
	next;
	if (isbegin_quest(.@quest_id) != 1) {
		mes "[Grapes]";
		mes "Why do they still look wilted?";
		close;
	}
	specialeffect EF_HEAL4;
	mes "[Grapes]";
	mes "Oooh, I can tell the grapes are happy now!";
	completequest .@quest_id;
	if ((isbegin_quest(16370) == 2 || isbegin_quest(16371) == 2 || isbegin_quest(16372) == 2) && (isbegin_quest(16373) == 2 || isbegin_quest(16374) == 2 || isbegin_quest(16375) == 2)) {
		next;
		mes "[Grapes]";
		mes "I've tended to all the crops. I should go back to the Farmhand.";
	}
	close;

OnInit:
	questinfo (QTYPE_QUEST, QMARK_YELLOW, " isbegin_quest(16364) == 1 && isbegin_quest(16367) == 1 ");
	questinfo (QTYPE_QUEST, QMARK_YELLOW, " isbegin_quest(16364) == 1 && isbegin_quest(16368) == 1 ");
	questinfo (QTYPE_QUEST, QMARK_YELLOW, " isbegin_quest(16364) == 1 && isbegin_quest(16369) == 1 ");
	questinfo (QTYPE_QUEST, QMARK_YELLOW, " isbegin_quest(16366) == 1 && isbegin_quest(16367) == 1 ");
	questinfo (QTYPE_QUEST, QMARK_YELLOW, " isbegin_quest(16366) == 1 && isbegin_quest(16368) == 1 ");
	questinfo (QTYPE_QUEST, QMARK_YELLOW, " isbegin_quest(16366) == 1 && isbegin_quest(16369) == 1 ");
	end;
}

// Mood-setting NPC
// Initial Conversation
sp_cor,111,127,1	script	Rebellion#rm171_0	4_M_ILYA,{
	end;
OnInit:
	for (.@i = 0; .@i < 7; .@i++)
		cloakonnpc "Rebellion#rm171_" + .@i;
	end;
}

// Before entering MD
sp_cor,177,165,1	script	Rebellion#rm171_1	4_M_REBELLION3,{
	npctalk "Well, we're flattered, but... we are not that special... We're always the elite. Heh!", "", bc_self;
	end;
}

sp_cor,180,165,1	script	Rebellion#rm171_2	4_M_GONY,{
	npctalk "...", "", bc_self;
	end;
}

sp_cor,183,165,1	script	Rebellion#rm171_3	4_F_REBELLION3,{
	npctalk "You've picked us because you know you can walk all over us, didn't you? Because we're easy prey.", "", bc_self;
	end;
}

sp_cor,177,163,1	script	Rebellion#rm171_4	4_F_ANYA,{
	npctalk "Yay! Finally, I've got my chance to shine!", "", bc_self;
	end;
}

sp_cor,180,163,1	script	Rebellion#rm171_5	4_M_ILYA,{
	npctalk "Yes, we can finally show the world what we can do, sister!", "", bc_self;
	end;
}

sp_cor,183,163,1	script	Rebellion#rm171_6	4_F_REBELLION2,{
	npctalk "Stop embarrassing us. You're only saying that because you have an audience this time!", "", bc_self;
	end;
}

sp_cor,183,170,3	script	Rebellion#rm171_9	4_M_REBELLION3,{
	mes "[Rebellion]";
	mes "Do you need help? If you have business with the <NAVI>[Rebellion]<INFO>sp_cor,127,140,0,101,0</INFO></NAVI>, then head southwest.";
	mes "In the southeast, there's the <NAVI>[plantation]<INFO>sp_cor,243,84,0,101,0</INFO></NAVI> that we believe to exist for food supply and research purposes.";
	next;
	mes "[Rebellion]";
	mes "The <NAVI>[tents]<INFO>sp_cor,159,220,0,101,0</INFO></NAVI> in the northwest are dangerous. Please stay away from them. The same goes for the <NAVI>[waterway]<INFO>sp_cor,236,275,0,101,0</INFO></NAVI> in the northeast.";
	close;
}

// Elyumina Interrogation
sp_cor,141,215,3	script	Elena Volkova#rm171_2	4_F_ELENA,{
	cutin "162elena_01",2;
	mes "[Elena Volkova]";
	mes "(I'm too busy glaring right now!)";
	close3;

OnInit:
	cloakonnpc();
	cloakonnpc "Lazy#rm171_1";
	cloakonnpc "Elyumina#rm171_1";
	cloakonnpc "Philopontes#rm171_1";
	end;
}

sp_cor,141,211,1	script	Lazy#rm171_1	4_M_LAZY,{
	cutin "16lei_01",2;
	mes "[Lazy]";
	mes "Finally, it's time for Lucky Rookie to shine. Ooh, can't wait!";
	close3;
}

sp_cor,140,213,3	script	Elyumina#rm171_1	4_EP17_ELYUMINA,{
	cutin "ep171_elyumina03",0;
	mes "[Elyumina]";
	mes "...";
	next;
	cutin "ep171_elyumina02",0;
	mes "[Elyumina]";
	mes "Stop talking to me!";
	close3;
}

sp_cor,136,217,3	duplicate(dummy_cloaked_npc)	Elyumina#rm171_2	4_EP17_ELYUMINA

sp_cor,138,220,3	script	Philopontes#rm171_1	4_M_PHILOFONTES,{
	cutin "ep16_tes01",1;
	mes "[Tes]";
	mes "Since this is an important interrogation, there should be as many government agents present as the others, to prevent miscommunication later.";
	npctalk "Lazy: Philopon Woman, you're so thorough.", "Lazy#rm171_1", bc_self;
	close3;
}

sp_cor,130,222,1	script	Rebellion#rm171_10	4_F_REBELLION2,{
	npctalk "We don't know how dangerous these things are, just yet. Adventurer, please don't get too close.", "", bc_self;
	end;
}

sp_cor,152,224,1	script	Rebellion#rm171_11	4_F_ANYA,{
	npctalk "I've been taking inventory, but there are many things that I can't really identify. But I really want to do this on my own.", "", bc_self;
	end;
}

sp_cor,154,223,1	script	Rebellion#rm171_12	4_M_REBELLION3,{
	npctalk "I'm here in case she has questions, but she's as stubborn as a mule.", "", bc_self;
	end;
}

// In front of the waterway
sp_cor,254,284,7	duplicate(dummy_cloaked_npc)	Goni#rm171_2	4_M_GONY
sp_cor,259,278,1	duplicate(dummy_cloaked_npc)	Elyumina#rm171_3	4_EP17_ELYUMINA
sp_cor,260,276,3	duplicate(dummy_cloaked_npc)	Elena Volkova#rm171_3	4_F_ELENA

sp_cor,260,280,3	script	Rebellion#rm171_13	4_F_ANYA,{
	npctalk "I'm here to watch, and all's clear.", "", bc_self;
	end;
}

sp_cor,235,292,7	script	Rebellion#rm171_14	4_M_REBELLION2,{
	mes "[Rebellion]";
	mes "I wonder how valuable these things are. How much do they cost? I want to touch and smell them. They smell and feel like valuables, I bet!";
	close;
}

sp_cor,232,289,5	script	Rebellion#rm171_15	4_F_REBELLION2,{
	mes "[Rebellion]";
	mes "They're probably only valuable to scientists and researchers. You'd better not touch them. You could lose your hands.";
	close;
}

//= < Other NPC >
pub_cat,95,103,3	duplicate(dummy_cloaked_npc)	Elena Volkova#171_cat	4_F_ELENA

pub_cat,102,62,5	script	Kaya#171_cat2	4_EP17_KAYA,{
	cutin "ep171_kaya01",0;
	mes "[Kaya]";
	mes "I decided to go along with the adventurer's suggestion and conduct a new investigation. But I wonder if I made the right choice.";
	close3;

OnInit:
	cloakonnpc();
	end;
}

pub_cat,95,103,3	duplicate(dummy_cloaked_npc)	Kaya#171_cat3	4_EP17_KAYA

pub_cat,112,72,3	script	Aas#171_cat	4_EP17_AS,{
	cutin "ep171_as01",1;
	mes "[Aas]";
	mes "Daisy, I don't like his eyes and his manner of speech. Are all government people like this?";
	close3;

OnInit:
	cloakonnpc();
	end;
}

pub_cat,104,63,3	script	Aas#171_cat2	4_EP17_AS,{
	cutin "ep171_as02",1;
	mes "[Aas]";
	mes "I don't know what the Vice President is thinking... But I'm going with him, even if I don't have to.";
	close3;

OnInit:
	cloakonnpc();
	end;
}

sp_cor,106,103,3	script	#171_rvs_44	8_DOPPEL,1,1,{
OnTouch:
	setpcblock PCBLOCK_ALL, true;
	npctalk "c.a....a...","",bc_self;
	sleep2 1000;
	cloakoffnpc strnpcinfo(0),getcharid(0);
	sleep2 500;
	setpcblock PCBLOCK_ALL, false;
	end;
}

sp_cor,218,134,3	script	Dog#171_rvs_45	4_DOG01,{
	emotion ET_BIGTHROB;
	npctalk "Meow~!","",bc_self;
	end;
}

sp_cor,133,142,3	script	Worker#171_rvs_12	4_M_SITDOWN,{
	mes "[Worker]";
	mes "I can't stand now, I was soaked in blood earlier. I would have followed them but I couldn't stand.";
	close;
}

sp_cor,130,143,5	script	Worker#171_rvs_13	1_M_INNKEEPER,{
	mes "[Worker]";
	mes "Hey, what the hell is this commotion all about?";
	close;
}

sp_cor,129,140,3	script	Worker#171_rvs_14	1_M_ORIENT01,{
	mes "[Worker]";
	mes "For whom and for what have I been working for... they have so much resources...";
	close;
}

sp_cor,69,194,1	script	Worker#171_rvs_17	4_F_CHNWOMAN,{
	setpcblock PCBLOCK_ALL, true;
	npctalk "But, what is this building really for?","",bc_self;
	sleep2 1500;
	npctalk "I don't know.","Worker#171_rvs_16",bc_self;
	sleep2 1500;
	npctalk "Are we... going to be okay...?","",bc_self;
	setpcblock PCBLOCK_ALL, false;
	end;
}

sp_cor,62,258,3	script	Worker#171_rvs_18	1_F_GYPSY,{
	npctalk "I've been working here for the whole year, but I still don't exactly know what I'm doing.","",bc_self;
	end;
}

sp_cor,138,265,5	script	Worker#171_rvs_19	4_F_SHABBY,{
	npctalk "There were trains on this track and I had to control them. Now the gunmen came and asked me how it works.","",bc_self;
	end;
}

sp_cor,169,282,3	script	Worker#171_rvs_20	4_M_DWARF,{
	npctalk "How long should I chop wood? Can't I just chop them off?","",bc_self;
	end;
}

sp_cor,184,279,5	script	Worker#171_rvs_21	4_M_05,{
	npctalk "Huh.. I can breathe now. How old do I look? Don't call me grandpa just because you're younger than you imagine how old I am.","",bc_self;
	end;
}

sp_cor,209,280,1	script	Worker#171_rvs_22	4_F_TWMIDWOMAN,{
	npctalk "What's this mansion? That's what I don't know. It's been here since we arrived.","",bc_self;
	end;
}

sp_cor,45,135,5	script	Worker#171_rvs_23	2_M_OLDBLSMITH,{
	npctalk "I kept chopping down the trees... What are they going to do with all of this now?","",bc_self;
	end;
}

sp_cor,136,180,3	script	Worker#171_rvs_24	1_M_JOBGUIDER,{
	setpcblock PCBLOCK_ALL,true;
	emotion ET_CRY;
	npctalk "I think... Our Coco... Where has he been...","",bc_self;
	sleep2 1500;
	npctalk "Don't cry. He'll be back soon. He's smart, Annie.","Worker#171_rvs_25",bc_self;
	setpcblock PCBLOCK_ALL,false;
	end;
}

sp_cor,138,180,3	script	Worker#171_rvs_25	1_F_02,{
	npctalk "My dog ran away from the camp and he hasn't came back. I have to go look for him.","",bc_self;
	end;
}

sp_cor,172,187,1	script	Worker#171_rvs_26	4_F_HUGRANMA,{
	npctalk "I'm glad you didn't have anything to do with me.","",bc_self;
	end;
}

sp_cor,173,189,3	script	Worker#171_rvs_27	4_M_RUSBALD,{
	npctalk "I can't find the bathroom! I can't hold it in anymore... perhaps the trees over there could do...","",bc_self;
	end;
}

sp_cor,234,113,3	script	Worker#171_rvs_28	4_COOK,{
	npctalk "Wait? How many more do we need?","",bc_self;
	end;
}

sp_cor,117,268,1	script	Scout#171_rvs_29	4_F_GUNSLINGER2,{
	npctalk "What are you doing here?","",bc_self;
	sleep2 1500;
	npctalk "Don't get too close.","Scout#cor_01",bc_self;
	end;
}

sp_cor,119,266,1	script	Scout#171_rvs_30	4_M_REBELLION2,{
	npctalk "There is no danger here, but you shouldn't get too close.","",bc_self;
	end;
}

sp_cor,153,260,3	script	Scout#171_rvs_31	4_F_REBELLION3,{
	npctalk "I tracked a load that carries freight. It was nice effort. But where is the train?","",bc_self;
	end;
}

sp_cor,166,139,3	script	Scout#171_rvs_32	4_M_GUNSLINGER3,{
	npctalk "It's a pod lot? I'd love to eat been noodles~ But we can't eat them yet. I wish we could...","",bc_self;
	end;
}

sp_cor,170,189,5	script	Scout#171_rvs_33	4_M_REBELLION3,{
	setpcblock PCBLOCK_ALL,true;
	npctalk "Really? Then I don't know anything.","",bc_self;
	sleep2 1500;
	npctalk "Well, they'll only really work in their labs, so they barely had time to eat.","Worker#171_rvs_26",bc_self;
	sleep2 1500;
	npctalk "They must have been really scared.","",bc_self;
	sleep2 1500;
	npctalk "I didn't know that! Hah...","Worker#171_rvs_27",bc_self;
	setpcblock PCBLOCK_ALL,false;
	end;
}

sp_cor,137,149,7	script	Sentinel#171_rvs_34	4_F_REBELLION3,{
	mes "[Sentinel]";
	mes "You can rest assured, there are eyes everywhere here. I'm being careful.";
	close;
}

sp_cor,136,128,5	script	Sentinel#171_rvs_35	4_M_REBELLION,{
	mes "[Sentinel]";
	mes "It's safe here. Even if it's a big place, they won't attack randomly.";
	close;
}

sp_cor,117,132,3	script	Sentinel#171_rvs_36	4_M_GUNSLINGER2,{
	mes "[Sentinel]";
	mes "If we're going to have a raid next time, we'll have to be thorough.";
	close;
}

sp_cor,118,148,7	script	Sentinel#171_rvs_37	4_F_REBELLION2,{
	mes "[Sentinel]";
	mes "There's nothing that stands out in this location!";
	close;
}

sp_cor,232,289,5	script	Rebellion#171_rvs_38	4_F_REBELLION2,{
	mes "[Rebellion]";
	mes "Scientists, researchers, everyone here just pretends things are fine.";
	mes "Arthur, don't touch these or your hands will melt.";
	close;
}

sp_cor,235,292,7	script	Rebellion#171_rvs_39	4_M_REBELLION2,{
	mes "[Rebellion]";
	mes "Are these expensive? I want to see them closer! I want to smell it!";
	mes "The feeling of something valuable!";
	close;
}

// duplicated ?
// sp_cor,260,280,3	script	Rebellion#171_rvs_40	4_F_ANYA,{
	// npctalk "We're on high alert! Keep a lookout!","",bc_self;
	// end;
// }

sp_cor,63,144,3	script	Worker#171_rvs_44	1_M_SIGNMONK,{
	mes "[Worker]";
	mes "I can't go now, but when I'm old enough, I'll go and work. I don't have time to play.";
	close;
}

sp_cor,69,192,1	script	Worker#171_rvs_45	4_M_ROGUE,{
	npctalk "Huh, I'm really tired from all of this. If it weren't for the money, I wouldn't be doing this.","",bc_self;
	end;
}

pub_cat,73,75,3	script	Bartender#171_pub_1	1_F_PUBGIRL,{
	npctalk "Would you like to place an order?","",bc_self;
	end;
}

pub_cat,64,82,5	script	Bartender#171_pub_2	4_M_CASMAN1,{
	npctalk "How are you feeling today? I can recommend you a drink depending of your mood.","",bc_self;
	end;
}

pub_cat,62,82,5	script	Bartender#171_pub_3	4_M_MANAGER,{
	npctalk "Don't worry about telling me anything you're thinking about, I'll keep it a secret.","",bc_self;
	end;
}

pub_cat,28,71,5	script	Bartender#171_pub_4	1_M_PUBMASTER,{
	npctalk "This place is reserved for those who want to have a quiet talk.","",bc_self;
	end;
}

pub_cat,56,58,3	script	Guest#171_pub_1	4_TOWER_04,{
	npctalk "I drank too much today... Why not come and join us?","",bc_self;
	end;
}

pub_cat,55,60,5	script	Guest#171_pub_2	4_TOWER_02,{
	setpcblock PCBLOCK_ALL,true;
	npctalk "What would you write on this travel log? That the boss is nice but drunk?","",bc_self;
	sleep2 2000;
	npctalk "Oh, that's wrong. I'd write the boss passed out and gave drinking gifts. Uh... does that sound strange too?","Guest#171_pub_1",bc_self;
	setpcblock PCBLOCK_ALL,false;
	end;
}

pub_cat,75,58,3	script	Guest#171_pub_3	4_TOWER_02,{
	npctalk "Even if she's a little noisy sometimes, I understand. I joked with the factory manager today and got fired.","",bc_self;
	end;
}

pub_cat,75,58,3	script	Guest#171_pub_4	4_M_ALCHE_A,{
	setpcblock PCBLOCK_ALL,true;
	npctalk "Hah ah!! Why did I say that?! Because of my mouth!! My mom is always nice! To me!!","",bc_self;
	sleep2 2000;
	npctalk "It's okay. I didn't screw up. Even though I got fired, I'm good with my hands.","Guest#171_pub_3",bc_self;
	setpcblock PCBLOCK_ALL,false;
	end;
}

pub_cat,64,66,1	script	Guest#171_pub_5	4_F_MONK,{
	npctalk "Huh, it's so hard to match with a young guy.","",bc_self;
	end;
}

pub_cat,63,69,5	script	Guest#171_pub_6	4_M_ROGUE,{
	setpcblock PCBLOCK_ALL,true;
	npctalk "I'm the God of Wind!! Hya!!","",bc_self;
	specialeffect EF_CASTSPIN2;
	sleep2 2000;
	npctalk "Go spin again!","Guest#171_pub_5",bc_self;
	setpcblock PCBLOCK_ALL,false;
	end;
}

pub_cat,53,69,5	script	Guest#171_pub_7	4_M_RACHMAN1,{
	npctalk "When should I try to sell this stuffs?","",bc_self;
	end;
}

pub_cat,55,69,5	script	Guest#171_pub_8	4_M_REPAIR,{
	setpcblock PCBLOCK_ALL,true;
	npctalk "Goodnight, I'll be fine wherever I go.","",bc_self;
	sleep2 2000;
	npctalk "I'm sorry. You know how I feel about this but. I'm glad for you though.","Guest#171_pub_7",bc_self;
	sleep2 2000;
	npctalk "I will miss you.","Guest#171_pub_9",bc_self;
	setpcblock PCBLOCK_ALL,false;
	end;
}

pub_cat,57,67,3	script	Guest#171_pub_9	4_F_CAPEGIRL,{
	npctalk "I moved to this city, but I'm in a bad mood because my friends are leaving.","",bc_self;
	end;
}

pub_cat,70,71,7	script	Guest#171_pub_10	4_M_EINMAN,{
	npctalk "The Vice President is about to fly!","",bc_self;
	end;
}

pub_cat,70,72,7	script	Guest#171_pub_11	4_M_EINMAN2,{
	npctalk "Oh Vice President!! Please accept my greetings.","",bc_self;
	end;
}

pub_cat,64,79,1	script	Guest#171_pub_12	4_F_EINWOMAN,{
	setpcblock PCBLOCK_ALL,true;
	npctalk "I'm going to drink all the alcohol here today!","",bc_self;
	sleep2 2000;
	npctalk "Okay! Challenge accepted.","Guest#171_pub_13",bc_self;
	setpcblock PCBLOCK_ALL,false;
	end;
}

pub_cat,62,79,7	script	Guest#171_pub_13	4_F_JOB_BLACKSMITH,{
	npctalk "Hey, have you seen my cart today?","",bc_self;
	end;
}

pub_cat,39,95,1	script	Guest#171_pub_14	4_M_SIT_NOVICE,{
	npctalk "I earned a good amount of money today!","",bc_self;
	end;
}

pub_cat,41,98,3	script	Guest#171_pub_15	4_M_DEWGIRL,{
	npctalk "I have to go now.","",bc_self;
	sleep2 2000;
	npctalk "Already? Why don't you stay a little bit longer? I just ordered a stew, what do you say?","Guest#171_pub_14",bc_self;
	sleep2 2000;
	npctalk "I'll have some soup, but I can't stay anymore.","",bc_self;
	end;
}

pub_cat,45,96,1	script	Guest#171_pub_16	4_F_04,{
	npctalk "Shouldn't you awake by now? Hey, wake up!","",bc_self;
	sleep2 2000;
	npctalk "Huh!!! Waaaaa!!","Guest#171_pub_17",bc_self;
	sleep2 2000;
	npctalk "Everytime. If you only drink alcohol, you'll become a dog. Tsk tsk.","Guest#171_pub_18",bc_self;
	end;
}

pub_cat,47,95,3	script	Guest#171_pub_17	4_M_LYINGDOG,{
	npctalk "Huh!! Huwah!","",bc_self;
	end;
}

pub_cat,45,99,5	script	Guest#171_pub_18	4_M_LGTMAN,{
	npctalk "I won't go near you anymore. You're acting very weird!","",bc_self;
	sleep2 2000;
	npctalk "I'm going to stay here until the day ends, what's this? Everyone is already asleep?","",bc_self;
	end;
}

pub_cat,47,100,5	script	Guest#171_pub_19	4_M_LIEMAN,{
	npctalk "Ugh, I don't feel good.","",bc_self;
	end;
}

pub_cat,51,29,1	script	Tired Guest#171_pub	4_M_REPAIR,{
	npctalk "I just want to drink two glasses. But if I drink two, I'll want to order a third one.","",bc_self;
	end;
}

pub_cat,52,32,5	script	Bartender#171_pub_5	1_ETC_01,{
	npctalk "This place is for busy guests to have a light drink. Enjoy yourself.","",bc_self;
	end;
}

pub_cat,55,33,3	script	Sales Manager#171_pub	4_CAT_SAILOR4,{
	emotion ET_MONEY;
	end;
}

pub_cat,61,46,5	script	Employee#171_pub	4_M_HUMAN_01,{
	npctalk "Welcome! Sit at your convenience!","",bc_self;
	end;
}

pub_cat,74,73,3	script	Vice President#171_pub	4_CAT,{
	emotion ET_SCRATCH;
	end;
}

pub_cat,67,73,3	script	Bullet President#171_pub	4_CAT_REST,{
	emotion ET_SLEEPY;
	end;
}

pub_cat,84,66,3	script	Wilde#171_pub	1_M_SIGNROGUE,2,2,{
	if (isbegin_quest(7864) == 0) {
		mes "[Wilde]";
		mes "What? Is this your first time here?";
		mes "The drinks come from over there.";
		next;
		mes "[Wilde]";
		mes "This place is for adults only.";
		close;
	}
	if (isbegin_quest(7864) == 1) {
	OnTalk:
		mes "[Wilde]";
		mes "Hey! What's going on here?";
		npctalk "Hey! What's going on here?","",bc_self;
		next;
		mes "[Wilde]";
		mes "What? Are you the guy they're waiting for? You see the room behind me? Go ahead and go in.";
		close;
	}
	if (isbegin_quest(17001) != 2) {
	OnTalk2:
		mes "[Wilde]";
		mes "Are you going in? It's pretty loud so I'll go in later.";
		close;
	}
	mes "[Wilde]";
	mes "Wait nobody is back there now, are you waiting for someone?";
	close;

OnTouch:
	if (isbegin_quest(7864) == 1)
		goto OnTalk;
	if (isbegin_quest(17000) == 1 || isbegin_quest(17001) == 1)
		goto OnTalk2;
	if (isbegin_quest(17001) == 2)
		npctalk "Hello!","",bc_self;
	end;

OnInit:
	questinfo(QTYPE_QUEST,QMARK_YELLOW,"isbegin_quest(7864) == 1");
	end;
}

//= < Warp NPC >
pub_cat,104,106,3	script	Retired Rebellion#backroom_ent	4_M_SEAMAN,{
	if (isbegin_quest(7859) < 2) {
		npctalk "Retired Rebellion: Go to another place. This place is not for you.","",bc_self;
		end;
	}
	mes "[Retired Rebellion]";
	mes "Are you going to the backroom?";
	next;
	if (select("Yes.:Not yet.") == 2) {
		mes "[Retired Rebellion]";
		mes "Take your time.";
		close;
	}
	warp "pub_cat",150,105;
	end;
}

ein_fild05,156,288,1	script	Rebellion Crew#171_rudus_ent	4_M_REBELLION2,{
	if (isbegin_quest(7850) < 2) {
		mes "[Rebellion Crew]";
		mes "I'm sorry, but you're not allowed to go inside.";
		mes "It's dangerous at the moment because the mine is closed.";
		close;
	}
	mes "[Rebellion Crew]";
	mes "Hello adventurer!";
	mes "This way, I'll let you in the mines.";
	close2;
	warp "sp_rudus",200,377;
	end;
}

sp_rudus,197,282,0	script	Firmly Closed Gate#171_in	4_ENERGY_BLUE,{
	if (isbegin_quest(7857) < 2) {
		mes "[Rookie]";
		mes "Aaaah... I haven't finished yet.";
		mes "It's more secure than I thought.";
		close;
	}
	if (select("Jump over the barrier.:Go back.") == 1)
		warp "sp_rudus",197,267;
	end;
}

sp_rudus,197,272,0	script	Firmly Closed Gate#171_out	4_ENERGY_BLUE,{
	if (select("Jump the barrier.:Go back.") == 1)
		warp "sp_rudus",197,288;
	end;
}

ein_fild03,288,270,0	script	ein05_to_spcor	WARPNPC,2,2,{
	if (isbegin_quest(11602) < 2) {
		mes "- You're not allowed to enter this area. -";
		close;
	}
	warp "sp_os",188,63;
	end;
}

lighthalzen,53,279,0	script	lhz_to_rekenber	WARPNPC,1,1,{
	end;

OnTouch:
	if (isbegin_quest(7862) < 2) {
		npctalk "Rekenber Guard : This place is restricted from outsider.","Rekenber Guard Oscar#171_light",bc_self;
		end;
	}
	warp "rgsr_in",127,38;
	end;
}

sp_os,260,363,0	script	sp_os_to_sp_cor	WARPNPC,1,1,{
	end;

OnTouch:
	if (isbegin_quest(11603) < 2) {
		mes "- You can't enter yet. -";
		close;
	}
	warp "sp_cor",163,60;
	end;
}
