//===== rAthena Script =======================================
//= Terra Gloria
//===== Description: =========================================
//= [Walkthrough Conversion]
//--- NPCs quests for Episode 16.2
//===== Changelogs: ==========================================
//= 1.0 First version. [Capuche]
//============================================================

prt_cas_q,29,28,0	script	#ep162_evt_npc_con	HIDDEN_WARP_NPC,2,2,{
	end;
OnTouch:
	if (ep16_royal < 17)	// pre-req : access to room of consciousness (first time)
		end;
	if (terra_gloria_main == 0) {
		cloakoffnpc "Nihil M. Heine#ep162_01", getcharid(0);
		cloakoffnpc "Skia Nerius#ep162_02", getcharid(0);
	}
	else if (terra_gloria_main == 1 || terra_gloria_main == 2) {
		cloakoffnpc "Nihil M. Heine#ep162_01", getcharid(0);
		cloakoffnpc "Skia Nerius#ep162_02", getcharid(0);
		cloakoffnpc "Spica Nerius#ep162_01", getcharid(0);
	}
	else if (terra_gloria_main == 6) {	// first back from Lighthalzen
		cloakoffnpc "Nihil M. Heine#ep162_01", getcharid(0);
		cloakoffnpc "Spica Nerius#ep162_01", getcharid(0);
	}
	else if (terra_gloria_main == 23)
		cloakoffnpc "Skia Nerius#ep162_01", getcharid(0);
	end;
}

prt_cas_q,18,37,5	duplicate(dummy_cloaked_npc)	Skia Nerius#ep162_02	4_EP16_SPICA
prt_cas_q,23,33,2	duplicate(dummy_cloaked_npc)	Crux#ep162_03	4_EP16_CRUX
prt_cas_q,23,32,3	duplicate(dummy_cloaked_npc)	Kronecker G. Heine#ep162	4_EP16_GRANZ

prt_cas_q,21,39,3	script	Nihil M. Heine#ep162_01	4_EP16_NIHIL,{
	if (ep16_royal < 17)	// pre-req : access to room of consciousness (first time)
		end;
	if (terra_gloria_main == 0) {
		cutin "ep16_nihi_miseria_heine02.bmp",2;
		mes "[Nihil]";
		mes "Now I can see you.";
		mes "I've been waiting for a good while.";
		next;
		mes "[Nihil]";
		mes "There is something important.";
		mes "Actually, there is much to be said by the esteemed daughter of Nerius.";
		next;
		cutin "ep16_skia_shadow04.bmp",0;
		mes "[Skia]";
		mes "Yes, right. Spica is now investigating several things.";
		mes "That's why I look like this again.";
		unittalk getcharid(3), "" + strcharinfo(0) + " : Oh, you are not Spica ...", bc_self;
		npctalk "Haha", "Skia Nerius#ep162_02", bc_self;
		next;
		mes "[Skia]";
		mes "Actually, there is another task that Spica gave Crux during the banquet.";
		mes "And Crux seems to have done it very well.";
		unittalk getcharid(3), "" + strcharinfo(0) + " : Task?", bc_self;
		next;
		cutin "ep16_nihi_miseria_heine02.bmp",2;
		mes "[Nihil]";
		mes "I heard about recently.";
		mes "Spica told Crux to investigate the maid who gave me a glass with a drug during the banquet the other day.";
		next;
		cutin "ep16_skia_shadow01.bmp",0;
		mes "[Skia]";
		mes "Spica is so sharp in those things.";
		mes "After all, she put me in this position as her substitute and is doing what she has to do.";
		next;
		mes "[Skia]";
		mes "She told us to wait for her. She said she would bring us some good news.";
		mes "Since there are eyes everywhere, she told me to go to the Hero's Room.";
		next;
		cutin "ep16_nihi_miseria_heine01.bmp",2;
		mes "[Nihil]";
		mes "That's why we had to come here unwillingly without talking to you in advance.";
		mes "Sorry for your inconvenience. Please wait for a while.";
		close2;
		setpcblock PCBLOCK_NPC, true;
		cutin "",255;
		unittalk getcharid(3), "" + strcharinfo(0) + " : .....", bc_self;
		sleep2 1500;
		npctalk "....", "Skia Nerius#ep162_02", bc_self;
		sleep2 1000;
		unittalk getcharid(3), "" + strcharinfo(0) + " : ... Until when?", bc_self;
		sleep2 2000;
		npctalk "She has arrived.", "Nihil M. Heine#ep162_01", bc_self;
		npctalk "Thank you for coming.", "Spica Nerius#ep162_01", bc_self;
		cloakoffnpc "Spica Nerius#ep162_01", getcharid(0);
		terra_gloria_main = 1;
		sleep2 2000;
		setpcblock PCBLOCK_NPC, false;
		npctalk "Please allow me to get right down to business.", "Spica Nerius#ep162_01", bc_self;
		end;
	}
	if (terra_gloria_main == 1) {
		cutin "ep16_nihi_miseria_heine01.bmp",2;
		mes "[Nihil]";
		mes "Maybe we should listen to her first.";
		close3;
	}
	if (terra_gloria_main == 2) {
		mes "[Nihil]";
		mes "As I told you before, you are the freest person among us.";
		mes "So I am requesting you.";
		cutin "ep16_nihi_miseria_heine01.bmp",2;
		next;
		mes "[Nihil]";
		mes "^4d4dffBruno^000000.. His destination must be ^4d4dffLighthalzen^000000.";
		mes "Although it's my guess, I'm quite sure of it.";
		next;
		mes "[Nihil]";
		mes "He doesn't go to the Schwaltzvalt area even though he has an airship.";
		mes "... He knows that he can be tracked.";
		cutin "ep16_nihi_miseria_heine04.bmp",2;
		next;
		mes "[Nihil]";
		mes "So you have to ^4d4dffmeet Crux^000000 at ^4d4dffLighthalzen Airport^000000. Then you have to narrow the range based upon the points that Crux has already investigated.";
		cutin "ep16_nihi_miseria_heine01.bmp",2;
		next;
		mes "[Nihil]";
		mes "Not many of us can move freely. So we are asking you to take this task.";
		next;
		mes "[Nihil]";
		mes "Skia is coming with you. She will be very helpful.";
		mes "The Nerius family has great skill with swords.";
		cutin "ep16_nihi_miseria_heine01.bmp",2;
		next;
		mes "[Nihil]";
		mes "I am counting on you.";
		mes "You go separately and ^4d4dffmeet Crux and Skia at Lighthalzen Airport^000000.";
		setquest 7731;// Secret Action
		terra_gloria_main = 3;
		next;
	}
	if (terra_gloria_main == 3) {
		mes "[Nihil]";
		mes "I look forward to hearing good news from you.";
		cutin "ep16_nihi_miseria_heine02.bmp",2;
		next;
		cutin "ep16_skia_shadow04.bmp",0;
		mes "[Skia]";
		mes "See you at ^4d4dffLighthalzen Airport^000000, hero!";
		next;
		cutin "ep16_spica_nerius01.bmp",1;
		mes "[Spica]";
		mes "Now, please excuse me.";
		close2;
		cutin "",255;
		cloakonnpc "Nihil M. Heine#ep162_01", getcharid(0);
		cloakonnpc "Spica Nerius#ep162_01", getcharid(0);
		cloakonnpc "Skia Nerius#ep162_02", getcharid(0);
		end;
	}
	if (terra_gloria_main == 6) {
		mes "[Nihil]";
		mes "Welcome. We have been talking about it already.";
		mes "We are sorry about it.";
		cutin "ep16_nihi_miseria_heine01.bmp",2;
		next;
		select("We don't need so much formality between us ...");
		mes "[Nihil]";
		mes "Can we talk freely?";
		mes "Thanks.";
		mes "It's my pleasure.";
		cutin "ep16_nihi_miseria_heine02.bmp",2;
		next;
		cutin "ep16_spica_nerius01.bmp",1;
		mes "[Spica]";
		mes "This is what I like about you.";
		mes "Being able share confidences without sticking to formality is important.";
		next;
		mes "[Spica]";
		mes "By the way, let's talk about Bruno. How long do we have to proceed confidentially?";
		cutin "ep16_spica_nerius05.bmp",1;
		next;
		mes "[Nihil]";
		mes "I'm sure the daughter of the Nerius family knows more about it than I do.";
		mes "We must make a definite plan to resolve the situation.";
		cutin "ep16_nihi_miseria_heine01.bmp",2;
		next;
		mes "[Nihil]";
		mes "Everyone here knows that an Enterprise is behind him.";
		mes "But he is outwardly innocent.";
		next;
		mes "[Nihil]";
		mes "That's why we are being swayed by him.";
		mes "In my opinion, we'd better make a plan to track the whereabouts of the stolen ^4d4dffTerra Gloria^000000 and reclaim it.";
		next;
		cutin "ep16_spica_nerius02.bmp",1;
		mes "[Spica]";
		mes "For that reason, it will be interesting.";
		mes "This Bruno guy will give you a fresh insight.";
		npctalk "Hey chamberlain, bring Crux here.", "Spica Nerius#ep162_01", bc_self;
		next;
		cutin "ep16_nihi_miseria_heine01.bmp",2;
		mes "[Nihil]";
		mes "How can you be so sure?";
		next;
		cutin "ep16_spica_nerius06.bmp",1;
		mes "[Spica]";
		mes "Because I trust Crux.";
		cloakoffnpc "Crux#ep162_03", getcharid(0);
		next;
		cutin "ep16_crux_findel01.bmp",0;
		mes "[Crux]";
		mes "Sorry I'm late.";
		mes "I found out a lot about Bruno.";
		npctalk "This is the report.", "Crux#ep162_03", bc_self;
		next;
		mes "[Crux]";
		mes "During the extradition procedure, I had to receive a little help from the Schwaltzvalt government.";
		next;
		mes "[Crux]";
		mes "It was due to my position, and I am not a free adventurer ... Lady Skia handled it quite well for me ...";
		next;
		mes "[Crux]";
		mes "There was an unexpected bonus.";
		mes "I managed to get detailed data about the man and got a confession without making much fuss.";
		next;
		mes "[Crux]";
		mes "I think it was possible because we convinced both sides that we would guarantee their security.";
		next;
		mes "[Crux]";
		mes "I passed some of the unimportant details of the man's confession to the Schwartz government. Also, I handed Bruno to Schwartz.";
		next;
		cutin "ep16_spica_nerius05.bmp",1;
		mes "[Spica]";
		mes "That's good.";
		mes "After all, he would have been a burden to us even if we kept him.";
		mes "So, the important information is ...";
		next;
		cutin "ep16_nihi_miseria_heine01.bmp",2;
		mes "[Nihil]";
		mes "... It must be about a certain facility.";
		mes "I mean, from the details on your report.";
		next;
		mes "[Nihil]";
		mes "... Considering the political situation of Schwaltzvalt ...";
		next;
		select( "President?", "Can we escape the Enterprise's attention?" );
		mes "[Nihil]";
		mes "It's not an easy job to inspect a facility in another country as part of the royal family's affair.";
		mes "We cannot ask other families and leaders for cooperation yet.";
		cutin "ep16_nihi_miseria_heine04.bmp",2;
		next;
		cutin "ep16_nihi_miseria_heine01.bmp",2;
		mes "[Nihil]";
		mes "Lady Spica. I believe you have already prepared a strategy.";
		mes "The fact that Skia isn't here today might have something to do with your plan ...";
		next;
		cutin "ep16_spica_nerius06.bmp",1;
		mes "[Spica]";
		mes "I guess public approval is not something we can count on.";
		mes "You are right. I sent Skia on another task.";
		next;
		cutin "ep16_spica_nerius07.bmp",1;
		mes "[Spica]";
		mes "Prince Nihil. As you predicted, now we have to secure help from the Schwartz government.";
		next;
		mes "[Spica]";
		mes "And the Schwartz government knows of this as a private but important matter of the royal family of Nerius. That's because Skia made up a good story when delivering Bruno to Schwartz.";
		next;
		select("What was it?");
		mes "[Spica]";
		mes "" + strcharinfo(0) + ".";
		mes "Since you are playing an important role, you need to know it as well.";
		mes "Something extremely important to our family has been stolen.";
		cutin "ep16_spica_nerius01.bmp",1;
		next;
		mes "[Spica]";
		mes "Currently, that important thing is said to be located in a suspicious facility. Now we have to investigate it.";
		next;
		mes "[Spica]";
		mes "To investigate the facility, we need permission from the Schwartz government.";
		mes "Outwardly, the Nerius family is the concerned party. That's why Skia is there now.";
		next;
		cutin "ep16_nihi_miseria_heine01.bmp",2;
		mes "[Nihil]";
		mes "We need more help.";
		mes "Crux must report quickly. He will be busy again.";
		mes "......";
		next;
		cutin "ep16_spica_nerius01.bmp",1;
		mes "[Spica]";
		mes "I see.";
		mes "Crux must go to Skia immediately.";
		mes "And I must go to Yuno.";
		next;
		cutin "ep16_nihi_miseria_heine01.bmp",2;
		mes "[Nihil]";
		mes "Then you will borrow the name of the Nerius family.";
		mes "In any case, I will try to do the best in my position.";
		mes "And for the hands we lack ...";
		next;
		mes "[Nihil]";
		mes "" + strcharinfo(0) + ".";
		mes "I feel so lucky that you are with us.";
		mes "Please escort Miss Spica.";
		next;
		mes "[Nihil]";
		mes "Escorting is not so difficult.";
		mes "Your job is to wait until Miss Spica completes her task and bring her back safely.";
		next;
		cutin "ep16_crux_findel01.bmp",0;
		mes "[Crux]";
		mes "... I'm counting on you for Miss Spica.";
		mes "Then I will go to Yuno now.";
		npctalk "Go ahead. Request a meeting along with Skia in advance.", "Spica Nerius#ep162_01", bc_self;
		next;
		npctalk "Yes ... I will go now.", "Crux#ep162_03", bc_self;
		mes "[Nihil]";
		mes "Now we have the big picture.";
		mes "It depends on how the Schwartz government reacts to us.";
		cutin "ep16_nihi_miseria_heine04.bmp",2;
		next;
		cloakonnpc "Crux#ep162_03", getcharid(0);
		cutin "ep16_spica_nerius07.bmp",1;
		mes "[Spica]";
		mes "For that issue, please trust the next leader of the Nerius family.";
		mes "Then " + strcharinfo(0) + ", you come to ^4d4dffYuno Airport^000000.";
		mes "We will continue our conversation there.";
		erasequest 7734;// Arrest
		setquest 7735;// Secret Action 2
		terra_gloria_main = 7;
		close2;
		setpcblock PCBLOCK_NPC, true;
		npctalk "See you later.", "Spica Nerius#ep162_01", bc_self;
		sleep2 2000;
		npctalk "I am going too.", "", bc_self;
		sleep2 2000;
		setpcblock PCBLOCK_NPC, false;
		cloakonnpc "Nihil M. Heine#ep162_01", getcharid(0);
		cloakonnpc "Spica Nerius#ep162_01", getcharid(0);
		cutin "",255;
		end;
	}
}

prt_cas_q,23,36,3	script	Spica Nerius#ep162_01	4_EP16_SPICA,{
	if (ep16_royal < 17)
		end;
	if (terra_gloria_main == 1) {
		cutin "ep16_spica_nerius01.bmp",1;
		mes "[Spica]";
		mes "Let me speak plainly.";
		mes "This is becoming more serious that we expected.";
		mes "Crux did a wonderful job, so I thought we almost got them.";
		next;
		cutin "ep16_spica_nerius02.bmp",1;
		mes "[Spica]";
		mes "But they are not so stupid.";
		mes "Crux struggled to find the suspicious chamberlain who you saw at first.";
		next;
		mes "[Spica]";
		mes "But the maid who passed the glass was easily found.";
		next;
		cutin "ep16_spica_nerius01.bmp",1;
		mes "[Spica]";
		mes "She had been ordered to recommend a drink to the son of the Heine family. Someone told her that it was his favorite drink.";
		npctalk "... Haa ...", "Nihil M. Heine#ep162_01", bc_self;
		next;
		cutin "ep16_skia_shadow04.bmp",0;
		mes "[Skia]";
		mes "And you haven't found any special clues?";
		mes "You have no more to investigate. Why did you come alone without Crux?";
		next;
		cutin "ep16_spica_nerius06.bmp",1;
		mes "[Spica]";
		mes "Well, not really.";
		mes "I got a clue about the chamberlain who gave the drink to the maid. His hometown is Schwaltzvalt.";
		next;
		cutin "ep16_spica_nerius01.bmp",1;
		mes "[Spica]";
		mes "Crux has left to find that man.";
		mes "He keeps me updated on his current location. He has now passed Yuno.";
		npctalk "Quite far from here.", "Nihil M. Heine#ep162_01", bc_self;
		next;
		mes "[Nihil]";
		mes "If that man is from Schwaltzvalt, this is not going to be easy.";
		mes "In particular, the royal family should not take an official action.";
		mes "We cannot officially announce this situation either.";
		cutin "ep16_nihi_miseria_heine01.bmp",2;
		next;
		cutin "ep16_spica_nerius01.bmp",1;
		mes "[Spica]";
		mes "The leaders of other families already know about the chamberlain. And, they called a conference to discuss how to handle that issue.";
		next;
		cutin "ep16_spica_nerius06.bmp",1;
		mes "[Spica]";
		mes "I have been in the conference so far. Seems like every family has a different idea.";
		mes "So I decided to do as I wish.";
		next;
		mes "[Nihil]";
		mes "The problem is where that chamberlain is headed. Regardless of his final destination, it will be quite tough for Crux alone.";
		mes "" + strcharinfo(0) + ", could you please go for backup?";
		cutin "ep16_nihi_miseria_heine01.bmp",2;
		next;
		cutin "ep16_skia_shadow04.bmp",0;
		mes "[Skia]";
		mes "Then let me go too.";
		next;
		cutin "ep16_spica_nerius07.bmp",1;
		mes "[Spica]";
		mes "As you wish.";
		mes "This is the report from Crux.";
		mes "I don't like outside missions. So I will just stick to my room. Hahaha ...";
		next;
		mes "[Nihil]";
		mes "... You are helping us so much.";
		mes "Thanks a lot.";
		mes "But why are you so eager to help us?";
		cutin "ep16_nihi_miseria_heine02.bmp",2;
		next;
		cutin "ep16_spica_nerius01.bmp",1;
		mes "[Spica]";
		mes "Hmm, I find it interesting.";
		mes "And I think a change is needed.";
		next;
		cutin "ep16_spica_nerius02.bmp",1;
		mes "[Spica]";
		mes "Soon, our day will come.";
		mes "And I find it stuffy.";
		mes "The unusual obsession of the Heine family ...";
		next;
		npctalk "......", "Nihil M. Heine#ep162_01", bc_self;
		cutin "ep16_spica_nerius06.bmp",1;
		mes "[Spica]";
		mes "Well, let me stop here.";
		mes "If I continue, it will be too rude of me.";
		next;
		cutin "ep16_nihi_miseria_heine02.bmp",2;
		mes "[Nihil]";
		mes "... But you look quite happy.";
		mes "Whatever. We will talk about more details of the story later.";
		terra_gloria_main = 2;
		close3;
	}
	if (terra_gloria_main == 2) {
		cutin "ep16_spica_nerius01.bmp",1;
		mes "[Spica]";
		mes "I handed part of Crux's report to Prince Nihil.";
		mes "For your schedule from now on, you'll have to talk to Prince Nihil.";
		close3;
	}
	if (terra_gloria_main == 3) {
		mes "[Nihil]";
		mes "I look forward to hearing good news from you.";
		cutin "ep16_nihi_miseria_heine02.bmp",2;
		next;
		cutin "ep16_skia_shadow04.bmp",0;
		mes "[Skia]";
		mes "See you at ^4d4dffLighthalzen Airport^000000, hero!";
		next;
		cutin "ep16_spica_nerius01.bmp",1;
		mes "[Spica]";
		mes "Now, please excuse me.";
		close2;
		cutin "",255;
		cloakonnpc "Nihil M. Heine#ep162_01", getcharid(0);
		cloakonnpc "Spica Nerius#ep162_01", getcharid(0);
		cloakonnpc "Skia Nerius#ep162_02", getcharid(0);
		end;
	}
}

prt_cas_q,18,37,5	script	Skia Nerius#ep162_01	4_EP16_SKIA,{
	if (terra_gloria_main == 23) {
		cutin "ep16_skia_nerius01.bmp",0;
		mes "[Skia]";
		mes "Welcome!";
		mes "Sorry for having entered the room while the owner was not present.";
		mes "But I had nothing to do.";
		next;
		select("What about others?");
		mes "[Skia]";
		mes "I reclaimed the Blessing Star.";
		mes "There was a conference.";
		mes "Nihil and Spica participated.";
		next;
		mes "[Skia]";
		mes "Now I feel like everything is back to normal.";
		mes "The recent tasks have been so wonderful and interesting.";
		next;
		mes "[Skia]";
		mes "... I had always been operating in the shadows behind Spica's back.";
		next;
		cutin "ep16_skia_nerius02.bmp",0;
		mes "[Skia]";
		mes "If my mother finds out about this, she will be quite upset.";
		mes "My father will be concerned. But he will tell me it's okay, as usual.";
		next;
		mes "[Skia]";
		mes "....";
		mes "By the way, hero.";
		mes "I think I am unwell lately.";
		next;
		mes "[Skia]";
		mes "I occasionally have a shooting pain near my heart. And my heart beats faster than usual. Sometimes I become hot even though I don't have a fever.";
		next;
		cutin "ep16_skia_nerius03.bmp",0;
		mes "[Skia]";
		mes "Is this because I didn't have enough training due to the banquets? There might be a problem with my health.";
		next;
		select( "Do you feel it all the time?", "When is it most serious?" );
		cutin "ep16_skia_nerius01.bmp",0;
		mes "[Skia]";
		mes "Not always ...";
		mes "Recently ... Oh! It was when I was waiting for the adventurer at the Einbroch hotel ...";
		next;
		mes "[Skia]";
		mes "When I asked him whether I could use the Scroll of Movement ...";
		next;
		mes "[Skia]";
		mes "When he told me to wait for a while in this room ...";
		next;
		select("Who told you to wait?");
		cutin "ep16_skia_nerius04.bmp",0;
		mes "[Skia]";
		mes "It was Nihil. He said he would come after finishing everything.";
		mes "...";
		mes "Ah! My heart is beating fast again!";
		mes "What's wrong with me ...";
		next;
		if (select( "... A heart disease.", "Perhaps it's love?" ) == 1) {
			mes "[Spica]";
			mes "... What? A heart disease?";
		}
		else {
			mes "[Spica]";
			mes "... Love??";
		}
		cutin "ep16_spica_nerius01.bmp",1;
		next;
		cloakoffnpc "Spica Nerius#ep162_01", getcharid(0);
		npctalk "Could you tell me slowly?", "Spica Nerius#ep162_01", bc_self;
		mes "Skia told Spica about her symptoms.";
		next;
		cutin "ep16_spica_nerius03.bmp",1;
		mes "[Spica]";
		mes "Oh my god! Skia!";
		mes "What do you like about Prince Nihil?";
		mes "Is it his handsome face?";
		next;
		cutin "ep16_skia_nerius01.bmp",0;
		mes "[Skia]";
		mes "Oh, what?";
		mes "Why do you keep mentioning Nihil?";
		mes "The hero asked me the same thing ...";
		next;
		cutin "ep16_spica_nerius06.bmp",1;
		mes "[Spica]";
		mes "Come on, my sister.";
		mes "What you mentioned so far were the moments when you were with Prince Nihil.";
		mes "................";
		next;
		cutin "ep16_spica_nerius05.bmp",1;
		mes "[Spica]";
		mes "As I expected ............";
		mes "Let's talk about this later.";
		mes "Oh ... You will be in trouble once my mother knows this.";
		next;
		cutin "",255;
		mes "[Bel]";
		mes "Prince Grantz has arrived.";
		next;
		cloakoffnpc "Kronecker G. Heine#ep162", getcharid(0);
		mes "[Kronecker]";
		mes "Hmm. The esteemed daughters of the Nerius family are here too.";
		mes "First of all, " + strcharinfo(0) + " I have come to show my gratitude to you.";
		cutin "ep16_kronecker_granz_heine.bmp",2;
		next;
		mes "[Kronecker]";
		mes "Thanks to your support, we kept the tradition of our royal family. And we avoided the dirty tricks of malicious people.";
		next;
		mes "[Kronecker]";
		mes "It is true that Nihil overstepped his place during the process. But we removed the dishonor on our family.";
		next;
		cutin "ep16_spica_nerius01.bmp",1;
		mes "[Spica]";
		mes "Prince, didn't we finish the discussion in the conference?";
		mes "Thanks to the Prince, you have gained an advantage in the trade with the Schwaltzvalt government.";
		next;
		cutin "ep16_kronecker_granz_heine.bmp",2;
		mes "[Kronecker]";
		mes "... Right.";
		mes "Although Fritz and I were involved, Nihil did quite a good job in terms of domestic affairs.";
		next;
		cutin "ep16_spica_nerius01.bmp",1;
		mes "[Spica]";
		mes "Prince. You still don't want to accept him. Do you?";
		next;
		cutin "ep16_kronecker_granz_heine.bmp",2;
		mes "[Kronecker]";
		mes "It is not true.";
		mes "I also learned a lot during this event.";
		mes "It was an unexpected result.";
		next;
		mes "[Kronecker]";
		mes "On second thought, I didn't give any opportunity to Nihil. And he may have been sad about it.";
		mes "... Anyhow ... He must have.";
		next;
		mes "[Kronecker]";
		mes "Thanks to this event, the Heine family learned a lot.";
		mes "All we hope now is for Peter, who is in the hospital, to wake up.";
		next;
		mes "[Kronecker]";
		mes "Hmm, let me stop talking about private stuff.";
		mes "I have " + strcharinfo(0) + " come to compensate";
		next;
		mes "[Kronecker]";
		mes "This might be a small reward considering what you have done for us.";
		mes "... But please take it.";
		next;
		mes "[Kronecker]";
		mes "You can continue to enjoy everything you did as a guest. We have agreed on it.";
		mes "As you always have shown us honest faith.";
		getitem 6919,10;	// TokenOfHonor
		getexp 500000,500000;
		completequest 7741;// Let's return
		terra_gloria_main = 24;
		next;
		mes "[Kronecker]";
		mes "Then I will let you young people enjoy the conversation.";
		mes "See you later.";
		next;
		cutin "ep16_spica_nerius01.bmp",1;
		mes "[Spica]";
		mes "See you later. I will contact you.";
		npctalk "I will be waiting.", "Kronecker G. Heine#ep162", bc_self;
		next;
		cloakonnpc "Kronecker G. Heine#ep162", getcharid(0);
		mes "[Spica]";
		mes "Skia?";
		mes "Why don't you have a quiet conversation with me?";
		mes "" + strcharinfo(0) + " seems like most things are arranged. Now I will leave with my poor sister.";
		next;
		cutin "ep16_skia_nerius03.bmp",0;
		mes "[Skia]";
		mes "Ah ... Hero.";
		mes "Next time, please visit the Nerius family again!";
		next;
		cutin "ep16_spica_nerius01.bmp",1;
		mes "[Spica]";
		mes "By the way, I received a letter from ^4d4dffPhilopontess^000000.";
		mes "He told you to visit him at ^4d4dffWerner Laboratory Entrance^000000. Don't forget to visit him.";
		next;
		mes "[Spica]";
		mes "I don't know why he used me as a contact point. What a brave young man.";
		mes "I will see you later.";
		close2;
		setpcblock PCBLOCK_NPC, true;
		cutin "",255;
		npctalk "Now, tell me everything about Nihil!", "Spica Nerius#ep162_01", bc_self;
		sleep2 2000;
		npctalk "Why do you keep talking about Nihil ...", "Skia Nerius#ep162_01", bc_self;
		sleep2 2000;
		npctalk "Look at that! Your face is red again! What the ...", "Spica Nerius#ep162_01", bc_self;
		sleep2 2000;
		unittalk getcharid(3), "" + strcharinfo(0) + " : ....", bc_self;
		sleep2 2000;
		setpcblock PCBLOCK_NPC, false;
		cloakonnpc "Skia Nerius#ep162_01", getcharid(0);
		cloakonnpc "Spica Nerius#ep162_01", getcharid(0);
		end;
	}
	end;

OnInit:
	cloakonnpc "Nihil M. Heine#ep162_01";
	cloakonnpc "Spica Nerius#ep162_01";
	cloakonnpc "Skia Nerius#ep162_01";
	end;
}


// Lighthalzen airport
lhz_airport,187,40,6	duplicate(dummy_cloaked_npc)	Skia#ep162_03	4_EP16_SKIA

lhz_airport,189,39,3	script	Crux#ep162_01	4_EP16_CRUX,{
	if (terra_gloria_main < 3) {
		cutin "ep16_crux_findel03.bmp",1;
		mes "[Crux]";
		mes "Oh, hello.";
		mes "Nice to meet you here.";
		mes "Me? I am just doing the task the Lady gave me.";
		sleep2 300;
		cutin "ep16_crux_findel02.bmp",1;
		close2;
		cutin "",255;
		npctalk "I have to finish quickly and go back ...", "", bc_self;
		end;
	}
	if (terra_gloria_main == 3) {
		cutin "ep16_crux_findel01.bmp",2;
		mes "[Crux]";
		mes "Ah, have you arrived?";
		mes "Have you come alone?";
		mes "I heard Skia was coming too ...";
		next;
		cloakoffnpc "Skia#ep162_03", getcharid(0);
		npctalk "I'm here!", "Skia#ep162_03", bc_self;
		mes "[Crux]";
		mes "Oh! You've arrived.";
		mes "The Prince of the Heine family ordered me, so I came to Lighthalzen. Do you think that man will show up?";
		cutin "ep16_crux_findel03.bmp",2;
		next;
		cutin "ep16_skia_nerius01.bmp",0;
		mes "[Skia]";
		mes "I think he will.";
		mes "That man who used to be a chamberlain ... Didn't you write on the report that he was trying to contact someone?";
		next;
		mes "[Crux]";
		mes "Yes. I did.";
		mes "I thought he was seeking the person behind the chamberlain.";
		mes "He was also asking for more payment.";
		cutin "ep16_crux_findel01.bmp",2;
		next;
		cutin "ep16_skia_nerius01.bmp",0;
		mes "[Skia]";
		mes "According to Nihil, the person behind the chamberlain is likely to be in Lighthalzen.";
		mes "Here or Einbroch. But Nihil said those guys would probably hate a city full of smoke.";
		next;
		mes "[Crux]";
		mes "Hmm. Really?";
		mes "Then the person behind him may be in a high position or have authority. Or he/she might be rich.";
		cutin "ep16_crux_findel01.bmp",2;
		next;
		cutin "ep16_skia_nerius01.bmp",0;
		mes "[Skia]";
		mes "Umm. Anyway, what we have to do is find that guy here in Lighthalzen.";
		mes "And what do we know about his features and clothes?";
		next;
		mes "[Crux]";
		mes "A man with a neat appearance, with light brown hair down to his shoulders.";
		mes "His name is Bruno ... Since it's such a common name, it may be an alias.";
		cutin "ep16_crux_findel01.bmp",2;
		next;
		mes "[Crux]";
		mes "I will investigate southern Lighthalzen, and the lady will investigate nearby the department store and hotel.";
		mes "Adventurer, please search ^4d4dffthe north and northeast area^000000.";
		next;
		mes "[Crux]";
		mes "Once you find anything, ^4d4dffplease meet in front of the central department store and we'll share information^000000.";
		mes "Now let us move quickly.";
		next;
		cutin "ep16_skia_nerius01.bmp",0;
		mes "[Skia]";
		mes "Oh, yes.";
		mes "Crux ... You are a great actor.";
		mes "See you later.";
		mes "You too, hero!";
		erasequest 7731;// Secret Action
		setquest 7732;// Searching the suspect
		terra_gloria_main = 4;
		close2;
		cloakonnpc "Skia#ep162_03", getcharid(0);
		cutin "",255;
		end;
	}
	if (terra_gloria_main == 4) {
		mes "[Crux]";
		mes "I will investigate southern Lighthalzen, including the airport.";
		mes "Adventurer, please take care of the north and northeast areas.";
		cutin "ep16_crux_findel01.bmp",1;
		next;
		mes "[Crux]";
		mes "Once you find anything, ^4d4dffplease meet in front of the central department store and we'll share information^000000.";
		close3;
	}
	if (terra_gloria_main == 5) {
		mes "[Crux]";
		mes "Really? He headed to the slum?";
		mes "We are in trouble.";
		mes "I will follow you with the lady by any means.";
		mes "Adventurer, please go there first.";
		cutin "ep16_crux_findel03.bmp",1;
		close3;
	}
	if (terra_gloria_main == 6) {
		cutin "ep16_crux_findel01.bmp",1;
		mes "[Crux]";
		mes "You mean ... Bruno?";
		mes "It will be difficult to use the airship. So we are moving separately.";
		next;
		mes "[Crux]";
		mes "Don't worry about me, I will see you again in the palace.";
		mes "Please give my regards to Lady Spica.";
		close3;
	}
	if (terra_gloria_main == 7) {
		cutin "ep16_crux_findel03.bmp",1;
		mes "[Crux]";
		mes "Don't you have to go to Yuno?";
		close3;
	}
	if (terra_gloria_main == 8) {
		cutin "ep16_crux_findel01.bmp",1;
		mes "[Crux]";
		mes "I have an appointment in the hotel in Lighthalzen.";
		mes "Let's go.";
		close3;
	}
	cutin "ep16_crux_findel01.bmp",1;
	mes "[Crux]";
	mes "I don't like leaving you like this for a long time ...";
	mes "... I have no other choice.";
	next;
	cutin "ep16_crux_findel02.bmp",1;
	mes "[Crux]";
	mes "This is what you want.";
	close3;

OnInit:
	questinfo( QTYPE_QUEST, QMARK_NONE, "isbegin_quest(7731) == 1" );
	end;
}

// Lighthalzen
lighthalzen,202,167,5	script	Skia#ep162_n	4_EP16_SKIA,{
	if (terra_gloria_main < 4) {
		npctalk "Hmm~ Where on earth is he ...", "", bc_self;
		end;
	}
	if (terra_gloria_main == 4) {
		cutin "ep16_skia_nerius01.bmp",0;
		mes "[Skia]";
		mes "So far, I haven't seen anyone suspicious!";
		mes "But I will find him soon.";
		mes "I don't know why, but I have a strong belief about it.";
		mes "The belief that he must be here!";
		close3;
	}
	if (terra_gloria_main == 5) {
		cutin "ep16_skia_nerius01.bmp",0;
		mes "He must have gone to the slum!";
		mes "We have to find a way to get there.";
		next;
		mes "[Skia]";
		mes "I will tell Crux. You go after that guy first, please.";
		close3;
	}
	if (terra_gloria_main == 6) {
		cutin "ep16_skia_nerius01.bmp",0;
		mes "[Skia]";
		mes "Let's go back to the palace now.";
		mes "Crux took that Bruno guy.";
		close3;
	}
	cutin "ep16_skia_nerius01.bmp",0;
	mes "[Skia]";
	mes "I always wanted to visit this place as a tourist. I never imagined to come here this way.";
	mes "Wonderful city.";
	close3;
}

// Event Top Side
lighthalzen,177,294,5	duplicate(dummy_cloaked_npc)	Man#ep162_01	1_M_01
lighthalzen,179,293,1	duplicate(dummy_cloaked_npc)	Scientist#ep162_01	4_LGTSCIENCE

lighthalzen,186,293,0	script	#ep162_evt01	HIDDEN_WARP_NPC,2,2,{
	end;
OnTouch:
	if (terra_gloria_main == 4) {
		setpcblock PCBLOCK_NPC, true;
		unittalk getcharid(3), "" + strcharinfo(0) + " : .....! Those people?!", bc_self;
		sleep2 1000;
		cloakoffnpc "Man#ep162_01", getcharid(0);
		cloakoffnpc "Scientist#ep162_01", getcharid(0);
		npctalk "Haven't we completed our business already?", "Scientist#ep162_01", bc_self;
		sleep2 3000;
		npctalk "Why did you come all the way here and call me out?", "Scientist#ep162_01", bc_self;
		sleep2 3000;
		npctalk "... I just did it for money, but I faced an unexpected situation.", "Man#ep162_01", bc_self;
		sleep2 3000;
		npctalk "I am struggling now. You don't want me to get captured. Do you?", "Man#ep162_01", bc_self;
		sleep2 3000;
		npctalk "... Let me give you more money. If money is what you want.", "Scientist#ep162_01", bc_self;
		sleep2 3000;
		npctalk "That's it. From now on, I cannot live in Schwaltzvalt or Rune Midgarts.", "Man#ep162_01", bc_self;
		sleep2 3000;
		npctalk "... So I need to take some more money. Thank you for understanding.", "Man#ep162_01", bc_self;
		sleep2 3000;
		npctalk "Since there are too many eyes here, wait in the southern slum. I will send someone soon.", "Scientist#ep162_01", bc_self;
		sleep2 3000;
		npctalk "You have to come yourself.", "Man#ep162_01", bc_self;
		sleep2 3000;
		npctalk "I see. Go now, before other people see you.", "Scientist#ep162_01", bc_self;
		sleep2 3000;
		npctalk "I will wait.", "Man#ep162_01", bc_self;
		sleep2 1000;
		cloakonnpc "Man#ep162_01", getcharid(0);
		sleep2 1000;
		npctalk "Hey, get rid of him.", "Scientist#ep162_01", bc_self;
		sleep2 2000;
		npctalk "Yes", "Man#ep162_01", bc_self;
		sleep2 1000;
		unittalk getcharid(3), "" + strcharinfo(0) + " : (Who was that person? I only heard a voice.)", bc_self;
		sleep2 2000;
		npctalk "... He should have stayed in line. Too much is as bad as too little.", "Scientist#ep162_01", bc_self;
		erasequest 7732;// Searching the suspect
		setquest 7733;// Pursuit!
		terra_gloria_main = 5;
		sleep2 3000;
		setpcblock PCBLOCK_NPC, false;
		cloakonnpc "Scientist#ep162_01", getcharid(0);
		unittalk getcharid(3), "" + strcharinfo(0) + " : I must tell Skia about this and head to the slum right away!", bc_self;
		end;
	}
}

// Event Right Side
lighthalzen,307,265,5	duplicate(dummy_cloaked_npc)	Suspicious mercenary#ep	3454
lighthalzen,305,264,6	duplicate(dummy_cloaked_npc)	Crux#ep162_02	4_EP16_CRUX

lighthalzen,306,267,5	script	Skia#ep162_04	4_EP16_SKIA,{
	if (terra_gloria_main == 6) {
		cutin "ep16_skia_nerius01.bmp",0;
		mes "[Skia]";
		mes "Let's go back to the palace.";
		mes "Crux will take care of Bruno.";
		mes "Then we will get ready for the investigation, right?";
		next;
		mes "[Skia]";
		mes "I have to tell Nihil about this.";
		mes "Let's go back.";
		close3;
	}
	end;

OnInit:
	cloakonnpc "Skia#ep162_04";
	end;
}

lighthalzen,309,263,3	script	Man#ep162_02	1_M_01,{
	if (terra_gloria_main != 5)
		npctalk "Hey, what are you looking at? Go away!", "", bc_self;
	else {
		setpcblock PCBLOCK_NPC, true;
		unittalk getcharid(3), "" + strcharinfo(0) + " : Bruno?", bc_self;
		sleep2 1000;
		npctalk "Who are you? Why do you call me?", "", bc_self;
		sleep2 1000;
		cloakoffnpc "Suspicious mercenary#ep", getcharid(0);
		npctalk "We are in trouble.", "Suspicious mercenary#ep", bc_self;
		sleep2 2000;
		npctalk ".... Heart ... Heart Hunter! What is a Heart Hunter doing here?!", "", bc_self;
		sleep2 2000;
		npctalk ".....", "Suspicious mercenary#ep", bc_self;
		sleep2 2000;
		npctalk "Damn! He swindled me! Hey you, save me! I will give you all the money you want.", "", bc_self;
		sleep2 2000;
		npctalk "......", "Suspicious mercenary#ep", bc_self;
		sleep2 2000;
		npctalk "Now, die.", "Suspicious mercenary#ep", bc_self;
		sleep2 500;
		cloakoffnpc "Skia#ep162_04", getcharid(0);
		cloakoffnpc "Crux#ep162_02", getcharid(0);
		specialeffect EF_NPC_STOP, AREA, "Suspicious mercenary#ep";
		specialeffect EF_HIT3, AREA, "Suspicious mercenary#ep";
		sleep2 300;
		npctalk "No ... What a shame ...", "Suspicious mercenary#ep", bc_self;
		npctalk "No!!", "", bc_self;
		sleep2 300;
		npctalk "Are you all right?", "Skia#ep162_04", bc_self;
		npctalk "Who is this guy? I overpowered him.", "Crux#ep162_02", bc_self;
		sleep2 2000;
		unittalk getcharid(3), "" + strcharinfo(0) + " : I am all right.", bc_self;
		sleep2 4000;
		npctalk "This mercenary is same as the last time! If we capture this guy and investigate ...", "Skia#ep162_04", bc_self;
		npctalk "... Damn, not much I can do.", "Suspicious mercenary#ep", bc_self;
		sleep2 2000;
		specialeffect EF_BEGINSPELL, AREA, "Suspicious mercenary#ep";
		sleep2 500;
		specialeffect EF_BEGINSPELL, AREA, "Crux#ep162_02";
		sleep2 500;
		specialeffect EF_MAGNUMBREAK, AREA, "Suspicious mercenary#ep";
		specialeffect2 EF_GUARD;
		specialeffect EF_GUARD, AREA, "Crux#ep162_02";
		specialeffect EF_GUARD, AREA, "Skia#ep162_04";
		specialeffect EF_GUARD;
		sleep2 1000;
		cloakonnpc "Suspicious mercenary#ep", getcharid(0);
		monster "lighthalzen",307,265, "Suspicious mercenary", 3454,1, "Man#ep162_02::OnMobDead";
		killmonster "lighthalzen", "Man#ep162_02::OnMobDead";
		sleep2 2000;
		npctalk "What!", "Crux#ep162_02", bc_self;
		npctalk "What is it? He killed himself?", "Skia#ep162_04", bc_self;
		sleep2 2000;
		npctalk "It was a suicide bombing, but he failed. He gave up his life too easily.", "Crux#ep162_02", bc_self;
		sleep2 3000;
		npctalk "And ... You must be Bruno?", "Crux#ep162_02", bc_self;
		sleep2 3000;
		npctalk "You'd never imagine how long it took for us to get here ...", "Crux#ep162_02", bc_self;
		sleep2 3000;
		npctalk "Hmm ... Crux, you take Bruno.", "Skia#ep162_04", bc_self;
		sleep2 3000;
		npctalk "Bruno, you'd better cooperate with us.", "Skia#ep162_04", bc_self;
		sleep2 2500;
		npctalk "Otherwise you will be chased by those guys for the rest of your life, right? If you help us, we won't kill you.", "Skia#ep162_04", bc_self;
		sleep2 1000;
		npctalk "....", "", bc_self;
		sleep2 3000;
		npctalk "What? You're not answering?", "Skia#ep162_04", bc_self;
		sleep2 3000;
		npctalk "Well. Then I'll count on you, Crux.", "Skia#ep162_04", bc_self;
		sleep2 2000;
		npctalk "Yes, lady. See you in the palace.", "Crux#ep162_02", bc_self;
		sleep2 2000;
		setpcblock PCBLOCK_NPC, false;
		cloakonnpc "Crux#ep162_02", getcharid(0);
		cloakonnpc "Man#ep162_02", getcharid(0);
		erasequest 7733;// Pursuit!
		setquest 7734;// Arrest
		terra_gloria_main = 6;
		npctalk "Hero, shall we go back to the palace too?", "Skia#ep162_04", bc_self;
	}
	end;

OnMobDead:
	end;

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

// Yuno Airport
y_airport,168,41,3	script	Crux#ep162_04	4_EP16_CRUX,{
	if (terra_gloria_main < 7) {
		npctalk "... Ah ... I miss him.", "", bc_self;
		end;
	}
	if (terra_gloria_main == 7) {
		cutin "ep16_crux_findel01.bmp",2;
		mes "[Crux]";
		mes "I have been waiting.";
		mes "Since there has been a change in the schedule, we might miss each other.";
		next;
		select("You are escorting Spica, right?");
		mes "[Crux]";
		mes "That's what I would like to talk about.";
		mes "Do you know Lady Skia and I requested a meeting in Yuno earlier?";
		next;
		mes "[Crux]";
		mes "Since there are too many eyes in Yuno as well as the presidential residence, they wanted to meet us in a different location.";
		next;
		mes "[Crux]";
		mes "I thought Lady Spica would draw their attention if she stayed too long in Yuno. So she moved to the appointed place immediately.";
		next;
		mes "[Crux]";
		mes "She disguised herself as a tourist ... and is now in ^4d4dffthe hotel in Lighthalzen^000000.";
		next;
		mes "[Crux]";
		mes "I wanted to send her a note to update the changed schedule. But I thought I would meet her here ... So I've been waiting.";
		next;
		cutin "ep16_crux_findel02.bmp",2;
		mes "[Crux]";
		mes "... ...";
		mes "Since we do these things secretly, this happens quite often.";
		mes "I know it's funny, but I am sorry that your trip was in vain.";
		next;
		cutin "ep16_crux_findel01.bmp",2;
		mes "[Crux]";
		mes "But the Schwartz government is positive about it.";
		mes "However, I don't know what kind of card the ladies showed them ...";
		next;
		mes "[Crux]";
		mes "Well, I have to take care of my task.";
		mes "Then let us go to ^4d4dffLighthalzen^000000.";
		next;
		if (select( "I will count on you.", "Wait a minute." ) == 2) {
			mes "[Crux]";
			mes "Please tell me when you are ready.";
			mes "Then we will get going.";
			close3;
		}
		mes "[Crux]";
		mes "This way ...";
		erasequest 7735;// Secret Action 2
		setquest 7736;// Small differences between sightseeing and secret bussiness
		terra_gloria_main = 8;
		close2;
		warp "lhz_airport",185,37;
		end;
	}
	if (terra_gloria_main == 8) {
		cutin "ep16_crux_findel01.bmp",2;
		mes "[Crux]";
		mes "Let's go to Lighthalzen.";
		next;
		if (select( "I will count on you.", "Wait a minute." ) == 2) {
			mes "[Crux]";
			mes "Please tell me when you are ready.";
			mes "Then we will get going.";
			close3;
		}
		mes "[Crux]";
		mes "This way ...";
		close2;
		warp "lhz_airport",185,37;
		end;
	}
	if (terra_gloria_main < 18) {
		cutin "ep16_crux_findel01.bmp",2;
		mes "[Crux]";
		mes "The appointed place is ^4d4dffEinbroch train station^000000.";
		mes "An agent named ^4d4dffLazy^000000 is waiting for us.";
		mes "We have to hurry.";
		close3;
	}
	cutin "ep16_crux_findel01.bmp",2;
	mes "[Crux]";
	mes "I never imagined that I would be traveling overseas ... I hope everything goes well.";
	close3;

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

// Lighthalzen In
lhz_in02,238,150,0	script	#ep162_lhz_evt02	HIDDEN_WARP_NPC,1,1,{
	end;
OnTouch:
	if (terra_gloria_main == 8) {
		cloakoffnpc "Spica Nerius#ep162_02", getcharid(0);
		cloakoffnpc "Philopontess#ep162_01", getcharid(0);
		cloakoffnpc "Crux#ep162_05", getcharid(0);
	}
	end;
}

lhz_in02,239,145,3	script	Spica Nerius#ep162_02	4_EP16_SPICA,{
	if (terra_gloria_main == 8) {
		cutin "ep16_spica_nerius01.bmp",1;
		mes "[Spica]";
		mes "You've arrived on time!";
		mes "Sorry for what happened in Yuno.";
		mes "They say we'd better move to another place.";
		next;
		select("Who said that?");
		mes "[Spica]";
		mes "Let me introduce you this person.";
		mes "He has been sent by the president of Schwaltzvalt.";
		mes "From now on, you will talk with him before deciding what to do.";
		next;
		mes "[Spica]";
		mes "Tess will explain.";
		mes "Let's listen to him.";
		close3;
	}
}

lhz_in02,237,146,6	script	Crux#ep162_05	4_EP16_CRUX,{
	if (terra_gloria_main == 8) {
		cutin "ep16_crux_findel01.bmp",2;
		mes "[Crux]";
		mes "Please talk to the representative of the Schwaltzvalt government along with the lady.";
		close3;
	}
	if (terra_gloria_main == 9) {
		cutin "ep16_crux_findel01.bmp",2;
		mes "[Crux]";
		mes "The appointed place is ^4d4dffEinbroch train station^000000.";
		mes "An agent named Lazy is waiting for you.";
		mes "We have to hurry.";
		close3;
	}
}

lhz_in02,239,148,4	script	Philopontess#ep162_01	4_M_PHILOFONTES,{
	if (terra_gloria_main == 8) {
		cutin "ep16_tes01.bmp",2;
		mes "[Tess]";
		mes "My name is Philopontess. You can call me Tess.";
		mes "Naturally, you have to talk to the president about this ... I am sorry we have to meet you this way.";
		next;
		mes "[Tess]";
		mes "The big picture has already been drawn ...";
		mes "Do you need a detailed explanation?";
		next;
		if (select( "Let us hear it.", "Please tell us what to do from now on." ) == 2) {
			cutin "ep16_tes01.bmp",2;
			mes "[Tess]";
			mes "Thank you ... for your concern.";
			mes "Saying the same thing again is quite hard.";
		}
		else {
			cutin "ep16_spica_nerius01.bmp",0;
			mes "[Spica]";
			mes "Haha, it must be a tough job.";
			mes "Philopontess? Please go ahead.";
			npctalk "Please call me Tess.", "Philopontess#ep162_01", bc_self;
			next;
			cutin "ep16_tes01.bmp",2;
			mes "[Tess]";
			mes "" + strcharinfo(0) + " I'm not sure how much you know about this. The political condition in Schwaltzvalt is not good.";
			next;
			mes "[Tess]";
			mes "If you remember the collapse of the Secret Wing, maybe you will know a lot about it.";
			mes "But the Secret Wing was not destroyed entirely.";
			next;
			mes "[Tess]";
			mes "Although it's only a small number, there are agents who are working on information warfare.";
			next;
			mes "[Tess]";
			mes "I am one of them. Usually, I work as a secretary.";
			next;
			mes "[Tess]";
			mes "The reason I am involved in this issue is that the case requested by the Nerius family is very special.";
			mes "As you know, the government does not have a very good relationship with the enterprise. And we need cooperation for the facility of the enterprise.";
			next;
			mes "[Tess]";
			mes "So we are taking this opportunity to execute what we have planned.";
			next;
			cutin "ep16_spica_nerius02.bmp",0;
			mes "[Spica]";
			mes "That organization was destroyed once, so they must be lacking in armed forces. We will be supporting them.";
			next;
			cutin "ep16_spica_nerius01.bmp",0;
			mes "[Spica]";
			mes "And you are the key player in that mission.";
			mes "I will count on you.";
			next;
			cutin "ep16_tes01.bmp",2;
			mes "[Tess]";
			mes "So this will be a cooperative relationship.";
			mes "We give you the information and discharge surveillance and legal restriction on the facility.";
			next;
			mes "[Tess]";
			mes "Then we want to disable the Enterprisebeyond repair.";
			next;
			mes "[Tess]";
			mes "To avoid surveillance by the enterprise, our president came here secretly and went back immediately.";
			mes "His excellency entrusted me with the rest, so you can work with me from now on.";
		}
		next;
		cutin "ep16_tes01.bmp",2;
		mes "[Tess]";
		mes "Now, I will let you know the future plans.";
		mes "The princess is trying to reclaim the secret treasure of your family, right?";
		next;
		mes "[Tess]";
		mes "We estimate that the one who took it is a trustee of the enterprise. And the facility we have to investigate is the ^4d4dffabandoned factory area near Einbroch^000000.";
		next;
		mes "[Tess]";
		mes "We know a lot about this facility.";
		mes "It is one of the facilities we were planning to investigate.";
		next;
		mes "[Tess]";
		mes "We can send an official letter to the Enterpriserequesting their cooperation in the investigation. But as far as we are concerned, such an official request would only give them time to hide things.";
		next;
		mes "[Tess]";
		mes "Since the royal family of Rune Midgarts is helping us, we decided to run a random inspection.";
		next;
		cutin "ep16_crux_findel03.bmp",1;
		mes "[Crux]";
		mes "Sorry to interrupt you, but the only agents who can fight here are the adventurer and me ...";
		next;
		cutin "ep16_tes01.bmp",2;
		mes "[Tess]";
		mes "I see. An experienced adventurer and a bodyguard ...";
		mes "We do realize that we do not have enough armed forces. So we have prepared some other strategies.";
		next;
		mes "[Tess]";
		mes "But here, if necessary, we need the help from the adventurer ... What's your name?";
		mes "" + strcharinfo(0) + ", your cooperation is required.";
		next;
		select("I am all right.");
		mes "[Tess]";
		mes "Actually, I have a military group in mind to work with us. I'm sure you know them.";
		mes "It's ^4d4dffRebellion^000000.";
		next;
		mes "[Tess]";
		mes "After the Mercenary Rebellion, those who opposed the Enterprise allied and established the Rebellion.";
		mes "They will accept our proposal.";
		next;
		cutin "ep16_spica_nerius05.bmp",0;
		mes "[Spica]";
		mes "Rebellion? Those guys? Are you serious?";
		mes "It was the government that ignored the mercenaries who were in trouble.";
		next;
		mes "[Spica]";
		mes "That's why they organized a military group themselves and have grown so far ... Do you really think they will be on our side?";
		next;
		cutin "ep16_tes03.bmp",2;
		mes "[Tess]";
		mes "You know quite a lot about it.";
		mes "Of course, I expect some buzz.";
		mes "That's why we need " + strcharinfo(0) + ".";
		next;
		cutin "ep16_tes01.bmp",2;
		mes "[Tess]";
		mes "Since they hate us, there has been no progress in the negotiation. That's the problem.";
		mes "This time, " + strcharinfo(0) + " and the royal family are with us. So the president thinks that we have a strong chance.";
		next;
		cutin "ep16_tes02.bmp",2;
		mes "[Tess]";
		mes "If the adventurer talks to them, they will listen.";
		npctalk "Facing them is not something I would prefer either.", "Philopontess#ep162_01", bc_self;
		next;
		cutin "ep16_tes01.bmp",2;
		mes "[Tess]";
		mes "The important thing is that we must get the cooperation of the Rebellion.";
		mes "We must be able to use the military force of the Rebellion.";
		next;
		mes "[Tess]";
		mes "And inspecting the facility must be through the Rebellion and the organization. Only then can we approve your investigation to reclaim the secret treasure.";
		next;
		cutin "ep16_spica_nerius02.bmp",0;
		mes "[Spica]";
		mes "You are saying that ... if we don't get help from the Rebellion, you cannot approve the investigation of the facility?";
		next;
		mes "[Spica]";
		mes "You already know that they will hate it if the government contacts them.";
		mes "Then there is one thing we have to do.";
		next;
		cutin "ep16_spica_nerius01.bmp",0;
		mes "[Spica]";
		mes "We have to rely on the heroic adventurer to borrow the military force of the Rebellion ...";
		mes "I got it.";
		next;
		mes "[Spica]";
		mes "After all, what we need is an investigation of the ^4d4dfffacility^000000.";
		mes "There is nothing more we want. Now let us finish the conversation.";
		next;
		cutin "ep16_tes01.bmp",2;
		mes "[Tess]";
		mes "And then, " + strcharinfo(0) + " I would like to explain our schedule ...";
		next;
		cutin "ep16_spica_nerius05.bmp",0;
		mes "[Spica]";
		mes "We have no other choice.";
		mes "They say it has to be you. No one else ...";
		mes "" + strcharinfo(0) + "... Will you help us?";
		next;
		select("Once we start, we have to finish it.");
		cutin "ep16_spica_nerius07.bmp",0;
		mes "[Spica]";
		mes "Haha. " + strcharinfo(0) + " you never disappoint me.";
		mes "But I can't vacate my seat for too long.";
		mes "I am sorry that I cannot be with you until the end of this mission.";
		npctalk "But I'm sure that person is doing well ...", "Spica Nerius#ep162_02", bc_self;
		next;
		cutin "ep16_tes01.bmp",2;
		mes "[Tess]";
		mes "So you are going back, princess.";
		mes "" + strcharinfo(0) + ". Please meet ^4d4dffLazy^000000 in ^4d4dffEinbroch^000000 and work with him. He is a negotiator who we have prepared.";
		next;
		mes "[Tess]";
		mes "An agent named ^4d4dffLazy^000000 will be waiting for you at the ^4d4dffEinbroch train station^000000.";
		mes "Please don't forget it.";
		mes "If possible, please hurry.";
		next;
		mes "[Tess]";
		mes "From now on, this is a race against time.";
		mes "Thank you for your support in advance.";
		mes "I will go to the president for a report.";
		next;
		cloakonnpc "Philopontess#ep162_01", getcharid(0);
		cutin "ep16_spica_nerius05.bmp",0;
		mes "[Spica]";
		mes "... What a straightforward man.";
		mes "Let's go back now.";
		mes "Seems like we have finished our job.";
		next;
		cutin "ep16_spica_nerius01.bmp",0;
		mes "[Spica]";
		mes "I have to entrust you to meet ^4d4dffLazy in Einbroch^000000... For additional issues, I will go back to the palace and handle them with the prince of the Heine family.";
		next;
		mes "[Spica]";
		mes "Then, " + strcharinfo(0) + ".";
		mes "I wish you fortune in war.";
		mes "Crux, let's go back.";
		erasequest 7736;// Small differences between sightseeing and secret bussiness
		setquest 7737;// Together with Rebel
		terra_gloria_main = 9;
		close2;
		setpcblock PCBLOCK_NPC, true;
		npctalk "I will see you later.", "Crux#ep162_05", bc_self;
		sleep2 2000;
		setpcblock PCBLOCK_NPC, false;
		cloakonnpc "Spica Nerius#ep162_02", getcharid(0);
		cloakonnpc "Crux#ep162_05", getcharid(0);
		cutin "",255;
		end;
	}
	end;

OnInit:
	cloakonnpc "Spica Nerius#ep162_02";
	cloakonnpc "Crux#ep162_05";
	cloakonnpc "Philopontess#ep162_01";
	end;
}


// Einbroch
einbroch,239,269,0	script	#16nego15	HIDDEN_WARP_NPC,3,0,{
	end;
OnTouch:
	if (terra_gloria_main > 9)
		cloakonnpc "Unusual person#16nego01", getcharid(0);
	end;
}
einbroch,226,276,0	duplicate(#16nego15)	#16nego16	HIDDEN_WARP_NPC,3,0

einbroch,239,269,3	script	Unusual person#16nego01	4_M_LAZY,{
	if (terra_gloria_main < 9) {
		cutin "16lei_01.bmp",2;
		mes "[Someone crazy about Yuno]";
		mes "Yuno~ Visit Yuno~ If you were born as a human, go to Yuno~ If you have come to Schwaltzvalt, go to Yuno~ If you are breathing, go to Yuno~";
		close3;
	}
	if (terra_gloria_main == 9) {
		cutin "16lei_01.bmp",2;
		mes "[???]";
		mes "Yuno~ Visit Yuno~ If you were born as a human, go to Yuno~ If you have come to Schwaltzvalt, go to Yuno~ If you are breathing, go to Yuno~";
		emotion ET_BLABLA;
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "They told me to meet the agent of the Secret Wings. Could it be that person? Well, by no means...";
		unittalk getcharid(3), "" + strcharinfo(0) + " : Looks like every moment will be painful if I am together with him.. It must not be him.", bc_self;
		next;
		mes "[???]";
		mes "Yo! Nice to meet you!";
		emotion ET_SURPRISE;
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "No, it should never be him... Let's ignore him for now.";
		emotion ET_THINK, playerattached();
		next;
		mes "[???]";
		mes "A heron swallows a fish alone.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Heron wants to drink water?";
		emotion ET_QUESTION, playerattached();
		next;
		cutin "16lei_03.bmp",2;
		mes "[???]";
		mes "In that case, you should say 'A heron hides its secret in the wings'. Didn't you hear that before leaving?";
		npctalk "I mean, my code name is Heron.", "", bc_self;
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "You must be confusing me with someone else...";
		next;
		mes "[???]";
		mes "" + strcharinfo(0) + " Isn't it you...? It must be you! Why do you pretend as you are not?";
		emotion ET_QUESTION;
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "I am " + strcharinfo(0) + " that person. But...";
		next;
		cutin "16lei_01.bmp",2;
		mes "[???]";
		mes "Are you sure you don't know anything? My name is ^0000cdLazy^000000. Of course it's not my real name. For now, you can just remember that name.";
		next;
		mes "[???]";
		mes "I have been assigned to this mission with you. We have to ask the Rebellion for cooperation.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "If you are Lazy, you must be the agent of the Secret Wings. Right?";
		emotion ET_SWEAT, playerattached();
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "Pipe down~ You must not say that word in a public place like this! You must always be careful! Remember that we are in the middle of a mission!";
		npctalk "I taught my code name 'Heron' to them and you don't know that! Who was in charge of this communication? A drug user?", "", bc_self;
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Yes, Yes.";
		emotion ET_SWEAT, playerattached();
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "Just by looking at you, I know they have brought someone very smart. And the callus in your hand indicates that you are a man of the world.";
		emotion ET_BEST;
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "You are also taking someone off his/her guard by pretending to be a little naive. You deserve to be trusted by the royal families of Rune Midgarts.";
		unittalk getcharid(3), "" + strcharinfo(0) + " : Please, let my hand go.", bc_self;
		npctalk "Why is your face glow!", "", bc_self;
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "When I read about you in the report, I thought you would look a bit scary. But by seeing you directly, you seem to be different from what I heard. That's why we have to meet someone directly to know him/her well.";
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "By the way, how are you? Have you been to Arunafeltz?";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Well, yes. Kind of...";
		next;
		mes "[Lazy]";
		mes "Wow- Have you met the Pope? Her highness is great. I really like her.";
		emotion ET_BIGTHROB;
		next;
		mes "[Lazy]";
		mes "Oh, Pope... !!";
		npctalk "My heart with the red blood belongs to the Pope...", "", bc_self;
		emotion ET_CRY;
		next;
		mes "[Lazy]";
		mes "I'd really love to meet the Pope. But I am not mentally ready to see the holy face of her highness. I guess I might black out once I see the Pope. If you have time later on, please take me to the Pope.";
		emotion ET_SHY;
		next;
		mes "[Lazy]";
		mes "By the way, what are we doing here? Aren't we supposed to meet in ^0000cdEinbech^000000? I have been waiting for a long time and came here. And I found you here.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "They told me to come here.";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "Hey~ Who? Who said that? There must have been some misunderstanding during the communication. We must go to Einbech.";
		npctalk "Maybe somebody wanted you to struggle.", "", bc_self;
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "Well, since I like a train, it doesn't matter how many times I take it.";
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Let's hurry up. We have a long way to go.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Where are we going now?";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "The most dangerous place.";
		next;
		cutin "16lei_02.bmp",2;
		emotion ET_HUK, playerattached();
		mes "[Lazy]";
		mes "Calm down! I'm just kidding. You are too serious. We are just going to the secret base of the Rebellion in Einbech.";
		npctalk "Your face is pale now. Are you all right? If you want to vomit, you can do it over there.", "", bc_self;
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "I'm just saying that I feel like it is dangerous. I don't mean it will really be dangerous. Calm down.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "If we are negotiating with the Rebellion, why are we going to Einbech instead of Einbroch?";
		next;
		mes "[Lazy]";
		mes "Have you heard of the mercenary revolt in Schwaltzvalt?";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "To tell you briefly, the mercenaries were used as a garrison of the republic. But as the republic developed a Guardian, they were about to be abandoned. Then the mercenaries rose in revolt and were nearly annihilated.";
		next;
		mes "[Lazy]";
		mes "Some of the remnants went to Figel, But the rest of them gathered in Einbech and Einbroch to organize the Rebellion. By the way, Einbroch is a large city where many people live ans pass by. Isn't it?";
		next;
		mes "[Lazy]";
		mes "So the Rebellion put their guild in Einbroch. The rest of them were hiding somewhere else in Einbroch. That's why I suggested you to meet in Einbech..";
		next;
		mes "[Lazy]";
		mes "Anyway, the government was overlooking the remnants for various reasons. I'm sure the government is still uncomfortable about it.";
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "That's why this negotiation is so important. We are going to asking for help to the guy who's angry at me. It won't be easy.";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "We should them a sense of apology and a promise of hope in the future. At the same time, ^0000cdwe have to relax their mind and promise with them to cooperate in future affairs^000000...";
		npctalk "We have to do it alone.", "", bc_self;
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Just by listening to it, it sounds really difficult.";
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "The most difficult thing is how to enter the ^0000cdsecret base^000000 rather than talking to them.";
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Anyway, we will think about the method on our way there. You Just trust me and follow me. Nothing is impossible as long as you trust me. You can trust me in any situation.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "I don't have much faith in you.";
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "It's okay, because I trust myself. Out of all these people in this large world, I am the only one whom I trust. So you just follow me.";
		emotion ET_BEST;
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "You have great faith in yourself.";
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Of course. If I don't feel confident about myself, I can't do this job.";
		next;
		mes "[Lazy]";
		mes "Sometimes I have to face some unpleasant situation, and do things that are not sometimes moral. But for my task and survival, I must not hesitate to make momentary decisions and execute my actions.";
		next;
		mes "[Lazy]";
		mes "And let's say you begin to doubt it. Once your mind starts to shake, the task will be in danger. Unwavering confidence is more important than anything else.";
		emotion ET_OK;
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "Of course, you need the capability to support your confidence. You can't trust anything without evidence.";
		emotion ET_BEST;
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "After listening to what you said, I don't fully trust you. But I feel like having to trust you.";
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "It's quite natural. Very good. Good luck in our mission. My goal is to build a reputation of a fantastic duo with you.";
		emotion ET_BEST;
		next;
		mes "[Lazy]";
		mes "Let's get going. This way.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "The ticket gate is over there! We have to pay for the train. Are you saying we will walk there?";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "Yikes! Pipe down!! Of course we are taking a train. In a special place and in a special way.";
		emotion ET_FRET;
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "A free ride? Why?";
		npctalk "Please don't brand it as a free ride.", "", bc_self;
		next;
		mes "[Lazy]";
		mes "If you want to call it a free ride, go ahead. But do you really want to discount your action as a 'free ride'? You can used the elegant expression 'occupation after closed infiltration'.";
		unittalk getcharid(3), "" + strcharinfo(0) + " : Yes. Yes. It sounds great.", bc_self;
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "Usually, we can feel buy tickets, say hello to the station staff eat delicious snacks, and enjoy our trip.";
		next;
		mes "[Lazy]";
		mes "But we are in the middle of a mission. It's already begun. It's kind of an emergency. So we have to be tense.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "I really don't understand the relationship between being tense and free riding.";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "Do you really thing I'm just trying to save 200 Zeny? I know what I'm doing. You just follow me without nagging. We are in a hurry.";
		setquest 14595;// To Einbech train station
		terra_gloria_main = 10;
		close2;
		navigateto( "einbroch",267,268,NAV_NONE,1 );
		cutin "",255;
		cloakonnpc "Unusual person#16nego01", getcharid(0);
		cloakoffnpc "Lazy#16nego06", getcharid(0);
		end;
	}
	if (terra_gloria_main == 10) {
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Why aren't you following me? We might miss the train!";
		close2;
		navigateto( "einbroch",267,268,NAV_NONE,1 );
		cutin "",255;
		cloakonnpc "Unusual person#16nego01", getcharid(0);
		cloakoffnpc "Lazy#16nego06", getcharid(0);
		end;
	}
	if (terra_gloria_main == 11) {
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Long time no see! I'm going to another mission spot. Got it? See you later!";
		close2;
		cutin "",255;
		cloakonnpc "Unusual person#16nego01", getcharid(0);
		end;
	}
	if (terra_gloria_main < 17) {
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Are you okay to be here now?";
		close2;
		cutin "",255;
		cloakonnpc "Unusual person#16nego01", getcharid(0);
		end;
	}
	cutin "16lei_01.bmp",2;
	mes "[Lazy]";
	mes "Long time no see! I'm going to another mission spot. Got it? See you later!";
	close2;
	cutin "",255;
	cloakonnpc "Unusual person#16nego01", getcharid(0);
	end;

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

einbroch,270,267,5	script	Very small hole#16nego0	4_CRACK,5,5,{
	if (terra_gloria_main != 10 && terra_gloria_main != 11) {
		cloakonnpc "Very small hole#16nego0", getcharid(0);
		cloakonnpc "Lazy#16nego06", getcharid(0);
		end;
	}
	if (terra_gloria_main == 10) {
		mes "It is a small hole where one person can barely pass through.";
		close;
	}
	mes "You passed through the hole where one person can barely enter.";
	close2;
	warp "einbech",44,207;
	end;

OnTouch:
	if (terra_gloria_main == 10 || terra_gloria_main == 11)
		cloakoffnpc "Very small hole#16nego0", getcharid(0);
	end;
}

einbroch,270,268,3	script	Lazy#16nego06	4_M_LAZY,{
	if (terra_gloria_main != 10) {
		cloakonnpc "Lazy#16nego06", getcharid(0);
		end;
	}
	cutin "16lei_01.bmp",2;
	mes "[Lazy]";
	mes "We are going to take a train here. Do you see ^0000cdvery small hole^000000 in the sewer down there?";
	next;
	mes "[" + strcharinfo(0) + "]";
	mes "Is this... a ^0000cddoghole^000000? I heard the Secret Wings is an executive office of the President. Why are you so needy?";
	unittalk getcharid(3), "" + strcharinfo(0) + " : I can't believe it. This is not what I imagined.", bc_self;
	next;
	cutin "16lei_03.bmp",2;
	emotion ET_SWEAT, playerattached();
	mes "[Lazy]";
	mes "Shh--- I told you not to mention that name. Be careful from now on. I don't want to be stabbed on my back for something I didn't do. If you really want to say it, call it Heron.";
	npctalk "Your imagination? Seems like you've read too much novels.", "", bc_self;
	next;
	emotion ET_FRET;
	mes "[" + strcharinfo(0) + "]";
	mes "I mean, why do you have to go through a place like this? Don't they pay you any activity cost? Maybe his excellency doesn't care for all your comfort.";
	next;
	cutin "16lei_02.bmp",2;
	mes "[Lazy]";
	mes "It's not true. We receive a free pass to use all means of transportation in this continent. They includes airship, train and teleporting, etc.";
	next;
	mes "[" + strcharinfo(0) + "]";
	mes "Then why do you have to go through a place like this?";
	next;
	cutin "16lei_01.bmp",2;
	mes "[Lazy]";
	mes "Because we don't want to leave the records. We must not be detected by others. Although we get captured, our moving route must be hidden. The moving routes can be a great clue.";
	next;
	mes "[Lazy]";
	mes "No wonder we have the word 'secret' in our name. That's why I move so carefully during my mission.";
	next;
	mes "[Lazy]";
	mes "To avoid being detected, duck yourself and follow me.";
	terra_gloria_main = 11;
	close2;
	cutin "",255;
	cloakonnpc "Lazy#16nego06", getcharid(0);
	end;

OnInit:
	cloakonnpc "Lazy#16nego06";
	end;
}

// Einbech
einbech,44,207,0	script	#16negobok06	HIDDEN_WARP_NPC,5,5,{
	end;
OnTouch:
	if (terra_gloria_main == 10 || terra_gloria_main == 11)
		end;
	cloakonnpc "Lazy#16nego01", getcharid(0);
	end;
}
einbech,66,208,0	duplicate(#16negobok06)	#16negobok13	HIDDEN_WARP_NPC,5,5
einbech,90,218,0	duplicate(#16negobok06)	#16negobok14	HIDDEN_WARP_NPC,5,5

einbech,46,208,3	script	Lazy#16nego01	4_M_LAZY,{
	if (terra_gloria_main < 9) {
		cutin "16lei_01.bmp",2;
		mes "[Someone crazy about Yuno]";
		mes "Yuno~ Visit Yuno~ If you were born as a human, go to Yuno~ If you have come to Schwaltzvalt, go to Yuno~ If you are breathing, go to Yuno~";
		close3;
	}
	if (terra_gloria_main == 9) {
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "He told me he'd come here. Maybe he's still in Einbroch train station? I have to go there again.";
		close2;
		cutin "",255;
		cloakonnpc "Lazy#16nego01", getcharid(0);
		end;
	}
	if (terra_gloria_main == 10 || terra_gloria_main == 11) {
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "This is Einbech. The last time I came here, I was being chased by 17 pursuers.";
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "I'm sorry I can't tell more than that. It's confidential.";
		npctalk "It's a national secret.", "", bc_self;
		next;
		emotion ET_SWEAT, playerattached();
		mes "[" + strcharinfo(0) + "]";
		mes "......";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "Hey! I just cracked a joke before starting on the mission. You can't even accept?";
		npctalk "Look at your face now! Don't look at me like that~", "", bc_self;
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "I'm a little nervous. A negotiation...";
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "You don't have to be nervous. I'm going to be in charge of talking to them. You just add several words beside me.";
		npctalk "Being nervous? You are cuter than I thought.", "", bc_self;
		next;
		mes "[Lazy]";
		mes "In this mission, the trust is important. There is a reason why the government assigned you to this mission in addition to me, a professional negotiator.";
		npctalk "It is extremely hard to build trust again. But what else can we do? They want us to stick the broken parts.", "", bc_self;
		next;
		mes "[Lazy]";
		mes "You are known as a hero in this Midgard continent and a symbol of trust. If you come with me, the Rebellion will be less stubborn to us. Once we get trusted by them, everything will work out.";
		next;
		emotion ET_BEST;
		mes "[" + strcharinfo(0) + "]";
		mes "Talking like that in that clothes, you don't look very persuasive.";
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "This is my critical costume I prepared for this mission. Who would ever find a tourist suspicious?";
		npctalk "And these are mt special sunglasses.", "", bc_self;
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "As I mentioned before, our greatest challenge is to enter the Rebellion's secret base without any armed conflict. This costume is for that purpose.";
		next;
		mes "[Lazy]";
		mes "And Yuno is such a nice place. I have a dream to buy a building there after retirement and spend my golden years comfortably.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Don't they normally choose a resort like Comodo for golden years?";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "Oh, I don't like a beach. I saw the sea every single day when I was young. Now I'm sick of its salty smell. To leave the sea, I used to have a dream to become a captain of airship.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "If you wanted to become a pilot, why did you become a secret agent?";
		next;
		mes "[Lazy]";
		mes "I can't tell you. It's confidential.";
		next;
		emotion ET_SWEAT, playerattached();
		mes "[" + strcharinfo(0) + "]";
		mes "I see.";
		unittalk getcharid(3), "" + strcharinfo(0) + " : I never expected.", bc_self;
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "Oh, when you get back after the mission, you can purchase a train ticket and show it to the employee in the train station. But it's free for me.";
		unittalk getcharid(3), "" + strcharinfo(0) + " : I have a favor to ask of you. Please let me hit you once.", bc_self;
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Well, where should we go now?";
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "We have go somewhere deep inside the village. From here on, just trust me and follow me. Since the path is a little complicated, I will leave ^0000cdtraces^000000. Make sure you catch them up.";
		unittalk getcharid(3), "" + strcharinfo(0) + " : I can smell something from the traces.", bc_self;
		erasequest 14595;// To Einbech train station
		setquest 14596;// Follow the trails
		terra_gloria_main = 12;
		close2;
		cutin "",255;
		viewpoint 1,74,129,1,0x4D4DFF00;
		navigateto( "einbech",74,129,NAV_NONE,1 );
		cloakonnpc "Lazy#16nego01", getcharid(0);
		end;
	}
	if (terra_gloria_main == 12) {
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "What are you doing? I told you to follow me.";
		close2;
		cutin "",255;
		viewpoint 1,74,129,1,0x4D4DFF00;
		navigateto( "einbech",74,129,NAV_NONE,1 );
		cloakonnpc "Lazy#16nego01", getcharid(0);
		end;
	}
	if (terra_gloria_main < 17) {
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "We are not supposed to be here now.";
		mes "We must go to the rebellion.";
		close2;
		cutin "",255;
		cloakonnpc "Lazy#16nego01", getcharid(0);
		end;
	}
	cutin "16lei_01.bmp",2;
	mes "[Lazy]";
	mes "Long time no see! I'm going to another mission spot. Got it? See you later!";
	close2;
	cutin "",255;
	cloakonnpc "Lazy#16nego01", getcharid(0);
	end;
}

// Main event - Collapsed person
einbech,94,127,0	script	#16negobok08	HIDDEN_WARP_NPC,5,5,{
	end;
OnTouch:
	if (terra_gloria_main == 12) {
		cloakoffnpc "Lazy#16nego02", getcharid(0);
		cloakoffnpc "Enormous stack#16nego01", getcharid(0);
	}
	end;
}
einbech,92,139,0	duplicate(#16negobok08)	#16negobok07	HIDDEN_WARP_NPC,5,5
einbech,88,114,0	duplicate(#16negobok08)	#16negobok09	HIDDEN_WARP_NPC,5,5
einbech,76,111,0	duplicate(#16negobok08)	#16negobok10	HIDDEN_WARP_NPC,5,5

einbech,74,130,5	duplicate(dummy_cloaked_npc)	Enormous stack#16nego01	4_SOIL
einbech,74,130,5	duplicate(dummy_cloaked_npc)	Collapsed person#16nego	4_M_FALLENGONY

einbech,76,131,3	script	Lazy#16nego02	4_M_LAZY,{
	if (terra_gloria_main == 12) {
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "Wait. Stop right there. Somebody is lying down here. Don't step on it. Hey, watch out!";
		next;
		emotion ET_HUK, playerattached();
		mes "[" + strcharinfo(0) + "]";
		mes "Is this a human?";
		unittalk getcharid(3), "" + strcharinfo(0) + " : How come?", bc_self;
		next;
		cutin "",255;
		mes "[Lazy]";
		mes "If I get rid of this and that...!";
		npctalk "Come and help me!", "", bc_self;
		next;
		cloakonnpc "Enormous stack#16nego01", getcharid(0);
		cloakoffnpc "Collapsed person#16nego", getcharid(0);
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Wow... I think today is a lucky day. This mission is going to be easier than we thought.";
		next;
		emotion ET_QUESTION, playerattached();
		mes "[" + strcharinfo(0) + "]";
		mes "What are you talking about?";
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "What's written on the bottom? Dying message? Are they words? How come he never practiced writing even if he was a Gunslinger?";
		unittalk getcharid(3), "" + strcharinfo(0) + " : Hello? Would you please listen to me?", bc_self;
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Adventurer, try to heal this man. Although he has an injury, it's not so serious. Since he's collapsed due to an exhaustion, he'll probably recover himself by a simple treatment. Once he wakes up, I will take all the information from him.";
		unittalk getcharid(3), "" + strcharinfo(0) + " : All of a sudden?", bc_self;
		sleep2 800;
		npctalk "Every single moment is unexpected. Do it now.", "", bc_self;
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "I don't know how to heal.";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "Aren't you an adventurer?";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Adventurer is not almighty.";
		npctalk "My god. You're the least powerful adventurer I've ever met.", "", bc_self;
		unittalk getcharid(3), "" + strcharinfo(0) + " : Would you think about it only inside out?", bc_self;
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Well, I have no other choice.";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "Odin, Freyja, Thor and a god of exhausted traveler. Please show us a mercy!";
		next;
		emotion ET_CRY;
		specialeffect EF_DEVOTION, AREA, "Lazy#16nego02";
		sleep2 800;
		specialeffect EF_RESURRECTION, AREA, "Collapsed person#16nego";
		sleep2 1000;
		specialeffect EF_REVIVE, AREA, "Collapsed person#16nego";
		sleep2 1000;
		specialeffect EF_HO_UP, AREA, "Collapsed person#16nego";
		mes "[" + strcharinfo(0) + "]";
		mes "Wow... You're a secret agent and you also know how to heal?";
		unittalk getcharid(3), "" + strcharinfo(0) + " : Now you look different.", bc_self;
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Oh, after experiencing so many things, you should do it all.";
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "I'am so good at various arts and craft. I am such a great person.";
		npctalk "I'm so lovely~", "", bc_self;
		emotion ET_CHUP;
		specialeffect EF_HEARTCASTING, AREA, "Lazy#16nego02";
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "He won't wake up immediately, but he'll save his life anyway. If we were too late, he would have died.";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "What are you doing? Carry him.";
		unittalk getcharid(3), "" + strcharinfo(0) + " : Should I do that?", bc_self;
		sleep2 500;
		npctalk "Then should I? Since you're an adventurer who carries 30,000 various items in your bag, you should carry him.", "", bc_self;
		sleep2 500;
		unittalk getcharid(3), "" + strcharinfo(0) + " : Where did you hear that false rumor...", bc_self;
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Are we carrying him? I thought we were on a secret mission.";
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "We ^0000cdmust bring^000000 him. No matter what happens, we must bring this man. He will be our ticket to the base.";
		unittalk getcharid(3), "" + strcharinfo(0) + " : Ticket?", bc_self;
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Who's this man?";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "Good question. But since we don't have enough time, let me explain later. We must deliver him before he dies.";
		unittalk getcharid(3), "" + strcharinfo(0) + " : So you just kept him barely alive?", bc_self;
		erasequest 14596;// Follow the trails
		setquest 14597;// Corner of Einbech
		terra_gloria_main = 13;
		viewpoint 1,217,82,1,0x4D4DFF00;
		close2;
		cutin "",255;
		navigateto( "einbech",217,82,NAV_NONE,1 );
		cloakonnpc "Lazy#16nego02", getcharid(0);
		cloakonnpc "Collapsed person#16nego", getcharid(0);
		end;
	}
	if (terra_gloria_main == 13) {
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "What are you doing? I told you to follow me.";
		close2;
		cutin "",255;
		viewpoint 1,217,82,1,0x4D4DFF00;
		navigateto( "einbech",217,82,NAV_NONE,1 );
		cloakonnpc "Lazy#16nego02", getcharid(0);
		cloakonnpc "Collapsed person#16nego", getcharid(0);
		end;
	}
	end;

OnInit:
	cloakonnpc "Lazy#16nego02";
	end;
}

einbech,200,79,0	script	#16negobok12	HIDDEN_WARP_NPC,5,5,{
	end;
OnTouch:
	if (terra_gloria_main == 13)
		cloakoffnpc "Lazy#16nego03", getcharid(0);
	end;
}

einbech,218,82,5	script	Gonie#16nego02	4_M_FALLENGONY,{
	cutin "16go_01.bmp",2;
	mes "[??]";
	mes "......";
	close3;
OnInit:
	cloakonnpc();
	end;
}

einbech,217,82,3	script	Lazy#16nego03	4_M_LAZY,{
	if (terra_gloria_main == 13) {
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Are you here now?";
		npctalk "You are slower than I expected.", "", bc_self;
		unittalk getcharid(3), "" + strcharinfo(0) + " : Hey! I have been carrying an unconscious person!", bc_self;
		next;
		mes "[Lazy]";
		mes "Put down what you have carried.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Arrgh...";
		cloakoffnpc "Gonie#16nego02", getcharid(0);
		unittalk getcharid(3), "" + strcharinfo(0) + " : Oh, I feel alive now.", bc_self;
		npctalk "You are exaggerating your pain.", "", bc_self;
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Where am I? There's nobody here.";
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "You can see as much as you know. That's why I'm always tired. People all want me to look at them.";
		npctalk "I will look at them later.", "", bc_self;
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Anyway, let's get in here.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "So, where am I?";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "You talk too much! I told you we don't have much time. You can listen to my explanation later. Someone who was standing in front of this detected me already and went inside. We don't know what they will prepare.";
		unittalk getcharid(3), "" + strcharinfo(0) + " : Well, you are type of a guy who really loves explaining things later on!", bc_self;
		next;
		emotion ET_SWEAT, playerattached();
		mes "[" + strcharinfo(0) + "]";
		mes "Wait, are we going to leave him here?";
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "Yeah. Is there any problem? Is it a problem? Could it be a problem?";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "You said that we should bring the injured man. Then you told me to carry him all the way here. Now you are abandoning him here?";
		unittalk getcharid(3), "" + strcharinfo(0) + " : I, CARRIED, HIM, ALL THE WAY HERE. DIDN'T I?", bc_self;
		sleep2 300;
		npctalk "You can say all you want. I'm not afraid of you.", "", bc_self;
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "Don't worry about him. He's not going to die. Humans do not die so easily. The fact I'm still alive is the evidence.";
		unittalk getcharid(3), "" + strcharinfo(0) + " : What kind of life was it...?", bc_self;
		next;
		emotion ET_SWEAT, playerattached();
		mes "[" + strcharinfo(0) + "]";
		mes "That's not the issue here.";
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Come on, let's get in. We don't have much time. Let's talk inside. Aren't you curious to know what's in there?";
		npctalk "I'm curious! I'm curious! I want to know!", "", bc_self;
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "We have to see something to get in there.";
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Look at this. There's an entrance here. This is ^0000cdan entrance hidden in the wall of the beach^000000. It is so fishy. Let's get inside and check what's there.";
		erasequest 14597;// Corner of Einbech
		setquest 14598;// Invisible entrance
		terra_gloria_main = 14;
		close2;
		cloakonnpc "Lazy#16nego03", getcharid(0);
		cutin "",255;
		end;
	}
	if (terra_gloria_main == 14) {
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "What are you doing? Come in!";
		close2;
		cutin "",255;
		cloakonnpc "Lazy#16nego03", getcharid(0);
		end;
	}
	end;
OnInit:
	cloakonnpc();
	end;
}

// rebel_in
rebel_in,27,45,3	script	Eri#16nego01	4_F_01,{
	if (terra_gloria_main < 15) {
		mes "[Eri]";
		mes "Oh, welcome. This is a weapon store, Clana Nemieri.";
		close;
	}
	mes "[Eri]";
	mes "In this store, even a small sound creates a huge resonant due to its structure. Please be quite when entering here.";
	close2;
	warp "rebel_in",40,43;
	end;
}

rebel_in,24,45,3	script	Nemi#16nego01	4_M_MIDDLE,{
	if (terra_gloria_main < 15) {
		mes "[Nemi]";
		mes "A real customer!! We have a customer in this period...";
		close;
	}
	mes "[Nemi]";
	mes "Be quite when entering.";
	close2;
	warp "rebel_in",40,43;
	end;
}

rebel_in,21,41,0	script	#16negobok05	HIDDEN_WARP_NPC,5,5,{
	end;
OnTouch:
	if (terra_gloria_main != 14)
		cloakonnpc "Lazy#16nego04", getcharid(0);
	end;
}

rebel_in,23,43,5	script	Gonie#16nego03	4_M_FALLENGONY,{
	cutin "16go_01.bmp",2;
	mes "[??]";
	mes "......";
	close2;
	cutin "",255;
	cloakonnpc "Gonie#16nego03", getcharid(0);
	end;
OnInit:
	cloakonnpc();
	end;
}

rebel_in,23,42,3	script	Lucky#16nego01	4_M_ROOKIE,{
	if (terra_gloria_main < 15) {
		cutin "16loo_01.bmp",0;
		mes "[Lucky]";
		mes "Who are you? This is not a place where anyone can come in. Please leave.";
		close2;
		warp "einbech",215,80;
		end;
	}
	end;
OnInit:
	cloakonnpc();
	end;
}

rebel_in,21,45,5	script	Lazy#16nego04	4_M_LAZY,{
	if (terra_gloria_main == 14) {
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "Ouch! The store looks smaller that it looks from outside. Is there a space behind the pillar?";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Is this a firearm store?";
		unittalk getcharid(3), "" + strcharinfo(0) + " : Why are we in a firearm store..? I already have a weapon.", bc_self;
		next;
		mes "[Shopkeeper]";
		mes "A real customer?";
		emotion ET_HUK, getnpcid(0, "Eri#16nego01");
		npctalk "I told you there would be a customer.", "Nemi#16nego01", bc_self;
		sleep2 300;
		npctalk "I thought it was someone who stopped to ask the way.", "Eri#16nego01", bc_self;
		next;
		cutin "",255;
		mes "[Shopkeeper]";
		mes "Welcome. This is ^0000cdClana Nemieri^000000 and we handle various firearms.";
		next;
		mes "[Shopkeeper]";
		mes "Take a look around and tell me if there is anything you are looking for.";
		npctalk "Don't we have to call inside?", "Nemi#16nego01", bc_self;
		sleep2 300;
		npctalk "Calm down. Be cool.", "Eri#16nego01", bc_self;
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Yeah.. I hope we have what you're looking for.";
		next;
		mes "[Shopkeeper]";
		mes "By the way... How did you find us? This is a small store that only limited people visit.";
		npctalk "What are you saying?", "Eri#16nego01", bc_self;
		next;
		mes "[Lazy]";
		mes "I wanted to buy a self-defense gun. And someone recommended me this store.";
		next;
		emotion ET_SWEAT, getnpcid(0, "Nemi#16nego01");
		mes "[Shopkeeper]";
		mes "Who.. was it?";
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "What would you do if I tell you who that person is?";
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Wow, this looks cool. Is this the way you hold it?";
		next;
		mes "[Shopkeeper]";
		mes "Sir. That stuff is quite sensitive and you shouldn't tough it inconsiderately.";
		npctalk "Please take your hands away from there.", "Eri#16nego01", bc_self;
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "Didn't you tell me to look all I want? This is so small! Can it ever fire a bullet? Look at the dust here. I guess you're out of business here.";
		next;
		mes "[Shopkeeper]";
		mes "Oh.. That's one of the most popular products in our store.";
		emotion ET_ANGER, getnpcid(0, "Nemi#16nego01");
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "Is this a popular product? I can imagine the quality of this store.";
		next;
		mes "[Shopkeeper]";
		mes "What did you say? Are you insulting my gun now?";
		npctalk "I won't take it any more! Leave me alone!", "Nemi#16nego01", bc_self;
		emotion ET_ANGER, getnpcid(0, "Nemi#16nego01");
		next;
		mes "[Lazy]";
		mes "No, I don't mean it. But if you heard it that way, then it's an insult.";
		next;
		mes "[Shopkeeper]";
		mes "Calm down, Nemi. He's a customer.";
		npctalk "Sir.", "Eri#16nego01", bc_self;
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Hmm... This looks quite good. How much is it?";
		next;
		mes "[Shopkeeper]";
		mes "3.4 million Zeny.";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "That's the price of a snack. Give me one.";
		unittalk getcharid(3), "" + strcharinfo(0) + " : Which snack is that expensive?", bc_self;
		next;
		mes "[Shopkeeper]";
		mes "Since it is a display product, we have to place an order. There are too many orders and you have to wait for eight months. Can you wait?";
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "I'm not the one who's short-tempered. I guess it's you.";
		npctalk "I can wait for eight months.", "", bc_self;
		sleep2 300;
		unittalk getcharid(3), "" + strcharinfo(0) + " : Are you conducting psychological warfare?", bc_self;
		next;
		emotion ET_ANGER, getnpcid(0, "Nemi#16nego01");
		mes "[Shopkeeper]";
		mes "Calm down, Nemi.";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "Rather than these, show me what you actually sell here. For example, ^0000cdFast Grinder Cutting through the Wind^000000?";
		unittalk getcharid(3), "" + strcharinfo(0) + " : Is 'Grinder' the name of a bullet?", bc_self;
		next;
		mes "[Shopkeeper]";
		mes "Hey, who the hell are you?";
		npctalk "I recognized it at once!", "Nemi#16nego01", bc_self;
		sleep2 300;
		npctalk "Calm down! We shouldn't look suspicious!", "Eri#16nego01", bc_self;
		sleep2 500;
		unittalk getcharid(3), "" + strcharinfo(0) + " : By looking at your response, it doesn't look the name of a bullet.", bc_self;
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Can't you see? I am a tourist and this is my secretary.";
		next;
		emotion ET_SWEAT, playerattached();
		mes "[" + strcharinfo(0) + "]";
		mes "Sec, secretary...?";
		unittalk getcharid(3), "" + strcharinfo(0) + " : Am I your secretary..!!?", bc_self;
		sleep2 300;
		npctalk "If you don't like that word, what about a slave?", "", bc_self;
		sleep2 500;
		unittalk getcharid(3), "" + strcharinfo(0) + " : Hey, you're going too far!", bc_self;
		next;
		mes "[Shopkeeper]";
		mes "Which tourist comes all the way to the weapon store in a mining village where there is nothing to see? Where do you come from?";
		next;
		mes "[Lazy]";
		mes "I just arrived from Yuno. I went there and it was so~ wonderful.";
		next;
		mes "[Shopkeeper]";
		mes "Go back. We don't have what you want.";
		npctalk "Even if we had one, we would not sell it to you.", "Nemi#16nego01", bc_self;
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "So you're kicking us out? Mr. Nemieri. You can't do this.";
		emotion ET_HNG;
		next;
		mes "[Shopkeeper]";
		mes "Why can't I kick you out? Go away before call someone.";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "You'd better take a look who's out there. His name was... ^0000cdGonie^000000. Right?";
		unittalk getcharid(3), "" + strcharinfo(0) + " : Who?", bc_self;
		next;
		mes "[Shopkeeper]";
		mes "What are you talking about?";
		emotion ET_QUESTION, getnpcid(0, "Nemi#16nego01");
		next;
		mes "[Lazy]";
		mes "Just go outside and check it yourself.";
		next;
		mes "[Shopkeeper]";
		mes "I won't tolerate you if you're playing shallow tricks.";
		cloakonnpc "Nemi#16nego01", getcharid(0);
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "Can he carry him alone?";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Is the collapsed guy from here?";
		unittalk getcharid(3), "" + strcharinfo(0) + " : How do you know his name?", bc_self;
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Didn't you know? That's why we struggled to bring him all the way here. Now look. He will use a magic after a short while.";
		unittalk getcharid(3), "" + strcharinfo(0) + " : Was he a magician?", bc_self;
		sleep2 300;
		npctalk "Now it turns out that you... No, never mind.", "", bc_self;
		sleep2 500;
		unittalk getcharid(3), "" + strcharinfo(0) + " : What! What is it? Why did you stop talking?", bc_self;
		next;
		cloakoffnpc "Nemi#16nego01", getcharid(0);
		cloakoffnpc "Gonie#16nego03", getcharid(0);
		mes "[Shopkeeper]";
		mes "Arrgh...";
		next;
		emotion ET_HUK, getnpcid(0, "Eri#16nego01");
		mes "[Shopkeeper]";
		mes "Oh, my goodness. Gonie! What happened!";
		next;
		mes "[Shopkeeper]";
		mes "Eri. Go and bring ^0000cdLucky^000000.";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "Lucky?";
		emotion ET_QUESTION;
		next;
		cloakonnpc "Eri#16nego01", getcharid(0);
		mes "[Shopkeeper]";
		mes "Hey, what did you to this guy?";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "Well, we did something. He was nearly dead and we brought him all the way here by keeping him alive. That was a great job.";
		next;
		mes "[Shopkeeper]";
		mes "Didn't you hurt him to take him as a hostage?";
		unittalk getcharid(3), "" + strcharinfo(0) + " : What kind of thug do you take me for!", bc_self;
		sleep2 300;
		npctalk "Adventurer, calm down. Let me take of this. Save your strength.", "", bc_self;
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "Why would I hand over the person I took hostage to you? If you really don't know what happened, wake him up and ask him. What would you do if we didn't hurt him?";
		next;
		mes "[Lazy]";
		mes "You'll be so embarrassed, sorry and ashamed. Would you even lift your head up?";
		next;
		cutin "16lei_03.bmp",2;
		emotion ET_STARE;
		mes "[Lazy]";
		mes "Why are you doubting us so much? Enough is enough. Not many villains try to swindle with an injured person.";
		unittalk getcharid(3), "" + strcharinfo(0) + " : Right!", bc_self;
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "This is unfair. I've been victimized! Father! Mother!!";
		emotion ET_CRY;
		next;
		cutin "16loo_01.bmp",0;
		cloakoffnpc "Eri#16nego01", getcharid(0);
		cloakoffnpc "Lucky#16nego01", getcharid(0);
		mes "[Lucky]";
		mes "Nemi, what happened? Is Gonie dead?";
		emotion ET_STARE_ABOUT, getnpcid(0, "Lucky#16nego01");
		npctalk "Dead? What a gossip.", "", bc_self;
		next;
		mes "[Shopkeeper]";
		mes "No, he's not.";
		emotion ET_SCRATCH, getnpcid(0, "Nemi#16nego01");
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "He was nearly dead and we brought him all the way here by keeping him alive~ It was so tough~~";
		npctalk "I saved his life!", "", bc_self;
		next;
		cutin "16loo_01.bmp",0;
		mes "[Lucky]";
		mes "He's not doing very well. We have to take him there and lay him down. Wake up, Gonie. Can you walk?";
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "It will be difficult now. You will have to carry him. If it is hard for you, you can order my strong secretary to lift him~";
		unittalk getcharid(3), "" + strcharinfo(0) + " : Why me again!", bc_self;
		next;
		cutin "16loo_01.bmp",0;
		mes "[??]";
		mes "Arrgh, yeah!!";
		next;
		cutin "",255;
		mes "Bump!";
		specialeffect EF_QUAKEBODY2, AREA, "Gonie#16nego03";
		specialeffect EF_GRAVITATION, AREA, "Gonie#16nego03";
		next;
		emotion ET_PROFUSELY_SWAT;
		emotion ET_PROFUSELY_SWAT, playerattached();
		emotion ET_HUK, getnpcid(0, "Nemi#16nego01");
		emotion ET_HUK, getnpcid(0, "Eri#16nego01");
		cutin "16go_01.bmp",1;
		mes "[Gonie]";
		mes "....!";
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "Oh, dear! You dropped him. Maybe you have been overworking.";
		unittalk getcharid(3), "" + strcharinfo(0) + " : That must hurt...", bc_self;
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "He opened his eyes! Looks like he is conscious!";
		next;
		mes "[Lazy]";
		mes "No, he opened his eyes instinctively due to the impact. He's still unconscious.";
		unittalk getcharid(3), "" + strcharinfo(0) + " : Is that possible?", bc_self;
		next;
		cutin "16loo_01.bmp",0;
		mes "[??]";
		mes "Gonie! Are you all right? Stand up.";
		next;
		cutin "",255;
		mes "Bump!";
		specialeffect EF_QUAKEBODY2, AREA, "Gonie#16nego03";
		specialeffect EF_GRAVITATION, AREA, "Gonie#16nego03";
		next;
		emotion ET_PROFUSELY_SWAT;
		emotion ET_PROFUSELY_SWAT, playerattached();
		emotion ET_HUK, getnpcid(0, "Nemi#16nego01");
		emotion ET_HUK, getnpcid(0, "Eri#16nego01");
		cutin "16go_01.bmp",1;
		mes "[Gonie]";
		mes "....!";
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "My god! You dropped him again. Don't work too hard.";
		npctalk "Shouldn't you go and help?", "Eri#16nego01", bc_self;
		sleep2 300;
		npctalk "Oh.. Should I?", "Nemi#16nego01", bc_self;
		next;
		cutin "16loo_01.bmp",0;
		mes "[??]";
		mes "Gonie! What happened to you? Stand up again.";
		next;
		cutin "",255;
		mes "Bump!";
		specialeffect EF_QUAKEBODY2, AREA, "Gonie#16nego03";
		specialeffect EF_GRAVITATION, AREA, "Gonie#16nego03";
		next;
		emotion ET_PROFUSELY_SWAT;
		emotion ET_PROFUSELY_SWAT, playerattached();
		emotion ET_HUK, getnpcid(0, "Nemi#16nego01");
		emotion ET_HUK, getnpcid(0, "Eri#16nego01");
		cutin "16go_01.bmp",1;
		mes "[Gonie]";
		mes "......!!";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "Gosh, why is your arm you so weak? Seems like this place is in trouble. You have no manpower so you hired such a weak person? My god.";
		npctalk "Look at that. Gonie might die.", "Eri#16nego01", bc_self;
		sleep2 300;
		npctalk "This time, he could really die.", "Eri#16nego01", bc_self;
		next;
		cutin "16loo_01.bmp",0;
		mes "[??]";
		mes "I don't know who you are. But I hear what you're saying!";
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "Hear what? I was just speaking inside!";
		unittalk getcharid(3), "" + strcharinfo(0) + " : As I told you earlier, your big mouth is always a problem.", bc_self;
		next;
		cutin "",255;
		mes "Bump!";
		specialeffect EF_QUAKEBODY2, AREA, "Gonie#16nego03";
		specialeffect EF_GRAVITATION, AREA, "Gonie#16nego03";
		next;
		specialeffect EF_DEATHSUMMON, AREA, "Gonie#16nego03";
		emotion ET_PROFUSELY_SWAT;
		emotion ET_PROFUSELY_SWAT, playerattached();
		emotion ET_HUK, getnpcid(0, "Nemi#16nego01");
		emotion ET_HUK, getnpcid(0, "Eri#16nego01");
		next;
		cutin "16go_02.bmp",1;
		mes "[Gonie]";
		mes "....!!!! ....";
		next;
		cutin "16loo_03.bmp",0;
		mes "[??]";
		mes "Gonie! Why are you so bloody? Did they attack you?";
		npctalk "I wanted to deal with customers. But I have no choice now.", "Nemi#16nego01", bc_self;
		next;
		emotion ET_ANGER, getnpcid(0, "Nemi#16nego01");
		mes "[Shopkeeper]";
		mes "you! It's because of you! You just can't lift him! Come on. Let's carry him together. You are so weak that you cannot lift anything heavier than a spoon.";
		next;
		mes "[Shopkeeper]";
		mes "Don't give Lucky too much pressure.";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "I barely saved his life and now you're trying to kill him. It's a fortune that he is unconscious and cannot feel the pain.";
		npctalk "Bye the way, he is so dull that he doesn't wake up in this situation.", "", bc_self;
		sleep2 300;
		unittalk getcharid(3), "" + strcharinfo(0) + " : Perhaps... Is he nearly dead?", bc_self;
		sleep2 500;
		npctalk "Maybe.", "", bc_self;
		next;
		cutin "16loo_01.bmp",0;
		mes "[??]";
		mes "Thanks, Nemi. Arrgh. Let's bring him and lay him down.";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "Hey. Don't you have anything to tell us?";
		next;
		cutin "16loo_01.bmp",0;
		mes "[??]";
		mes "Oh, I heard about you briefly. Thank you very much for saving my friend and taking him all the way here. The shop owner will compensate you.";
		next;
		mes "[??]";
		mes "See you later.";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "Wait! They're sending us away like this? Seems like they are. Did I get it wrong?";
		cloakonnpc "Nemi#16nego01", getcharid(0);
		cloakonnpc "Lucky#16nego01", getcharid(0);
		cloakonnpc "Gonie#16nego03", getcharid(0);
		next;
		mes "[Lazy]";
		mes "Oops? They went inside! Come on!";
		next;
		mes "[Lazy]";
		mes "You are sending us back after giving some money? You can't do this! At least, you should give me a cup of tea!";
		next;
		emotion ET_ANGER;
		mes "[Shopkeeper]";
		mes "Please, customer. You shouldn't do this.";
		next;
		emotion ET_FRET;
		mes "[Lazy]";
		mes "Then tell them to come out! Come out now! Come out! Come out!";
		npctalk "Why can't you!!", "", bc_self;
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Hmm, Lazy. This is a little embarrassing. Let's go back now. We have a mission.";
		next;
		emotion ET_ANGER;
		mes "[Lazy]";
		mes "Never! I am impervious to shame so I will keep shouting until they come out! Hey! Rookie! Come out! Come out!";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "I'm feeling ashamed...";
		npctalk "Are you ashamed of me?", "", bc_self;
		next;
		mes "[Shopkeeper]";
		mes "Be quiet. If you keep making a fuss, I will call someone to get you out of here.";
		next;
		emotion ET_FRET;
		mes "[Lazy]";
		mes "Who kicks me out! That's impossible! I will lie down here! Come out!";
		unittalk getcharid(3), "" + strcharinfo(0) + " : I am so ashamed...", bc_self;
		next;
		cloakoffnpc "Nemi#16nego01", getcharid(0);
		cloakoffnpc "Lucky#16nego01", getcharid(0);
		cutin "16loo_03.bmp",0;
		mes "[Lucky]";
		mes "Phew...";
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "He's here!!!";
		next;
		cutin "16loo_01.bmp",0;
		mes "[Lucky]";
		mes "Your voice is so loud that it hurts my ears. Normally, stupid people have huge voices.";
		npctalk "Who's stupid? Me?", "", bc_self;
		next;
		cutin "16lei_01.bmp",2;
		emotion ET_SMILE;
		mes "[Lazy]";
		mes "I can do something worse.";
		unittalk getcharid(3), "" + strcharinfo(0) + " : Lazy, please calm down!", bc_self;
		next;
		cutin "16loo_01.bmp",0;
		mes "[Lucky]";
		mes "I see. Come in. We can give you a cup of tea as you wish.";
		next;
		mes "[Shopkeeper]";
		mes "Are you sure it's okay?";
		next;
		cutin "16loo_03.bmp",0;
		mes "[Lucky]";
		mes "Look at him. He can't even hurt us.";
		next;
		cutin "16lei_01.bmp",2;
		emotion ET_OK;
		mes "[Lazy]";
		mes "I feel weird, but I will skip it. Oh! I'm so thirsty~";
		unittalk getcharid(3), "" + strcharinfo(0) + " : Really? Are you sure we are going in there?", bc_self;
		next;
		cutin "16loo_01.bmp",0;
		mes "[Lucky]";
		mes "Follow me. It's this way.";
		cloakonnpc "Lucky#16nego01", getcharid(0);
		cloakonnpc "Lazy#16nego04", getcharid(0);
		erasequest 14598;// Invisible entrance
		setquest 14599;// A glass of tea gratitude
		terra_gloria_main = 15;
		close2;
		cutin "",255;
		warp "rebel_in",40,43;
		end;
	}
}

rebel_in,42,43,0	script	#16negobok01	HIDDEN_WARP_NPC,5,1,{
	end;
OnTouch:
	npctalk "Thanks again!", "", bc_self;
	end;
}

rebel_in,48,43,0	script	#16negobok02	HIDDEN_WARP_NPC,5,1,{
	end;
OnTouch:
	npctalk "Whenever you come in, be aware of a tail!", "", bc_self;
	end;
}

rebel_in,54,43,0	script	#16negobok03	HIDDEN_WARP_NPC,5,1,{
	end;
OnTouch:
	npctalk "Brush the dirt out of your shoes before coming in.", "", bc_self;
	end;
}

rebel_in,60,43,0	script	#16negobok04	HIDDEN_WARP_NPC,5,1,{
	end;
OnTouch:
	npctalk "Since the sound echoes here, walk silently. Don't run.", "", bc_self;
	end;
}

rebel_in,62,44,5	duplicate(dummy_cloaked_npc)	Philopontess#ep162_02	4_M_PHILOFONTES

rebel_in,65,46,5	script	Rebellion Squadder#ep16	4_M_GUNSLINGER2,3,3,{
	if (terra_gloria_main < 17) {
		mes "[Squadder]";
		mes "These guys are quite loud.";
		mes "I would never be bored.";
		close;
	}
	if (terra_gloria_main == 17) {
		mes "[Squadder]";
		mes "Someone has come, and I think he is looking for you.";
		mes "I let him come in, even though I had a bad feeling about it.";
		next;
		cloakoffnpc "Philopontess#ep162_02", getcharid(0);
		npctalk "Hoo ...", "Philopontess#ep162_02", bc_self;
		mes "[Tess]";
		mes "These people are really rude.";
		mes "... How can they ever put a visitor outside like this?";
		cutin "ep16_tes03.bmp",0;
		next;
		cutin "",255;
		mes "[Squadder]";
		mes "Hey, dude. You talk very politely, don't you?";
		mes "Without this case, we would never cooperate with the government guys!";
		next;
		cutin "ep16_tes01.bmp",0;
		mes "[Tess]";
		mes "There is a visitor from Rune Midgarts. I escorted the visitor to ^4d4dffthe Einbroch hotel^000000.";
		mes "I don't know how things are going on here.";
		npctalk "Hey, dude! Are you ignoring me?", "", bc_self;
		next;
		cutin "ep16_tes01.bmp",0;
		mes "[Tess]";
		mes "Since I was able to come in here, I guess the negotiation was successful.";
		mes "... Where is the field of operations?";
		npctalk "Oh~~ Man!!", "", bc_self;
		next;
		cutin "",255;
		mes "[Squadder]";
		mes "That's what I was about to tell you!";
		mes "Without you, I've already told him all about it!";
		next;
		mes "[Squadder]";
		mes "Well, I don't know if you are a visitor or not. But you're going to Einbroch? It's good.";
		mes "We are going to Einbroch, too.";
		next;
		mes "[Squadder]";
		mes "Einbroch hotel? Nice.";
		mes "If you take a train here, you will arrive at Einbroch in a moment.";
		next;
		select("The heron ...");
		cutin "ep16_tes01.bmp",0;
		mes "[Tess]";
		mes "The heron? Oh, Lazy?";
		mes "I'm sure he will take care of getting himself there.";
		next;
		mes "[Tess]";
		mes "See you at ^4d4dffEinbroch hotel^000000.";
		next;
		cutin "",255;
		mes "[Squadder]";
		mes "Well, let me escort you to the train station.";
		mes "Shall we depart now?";
		erasequest 7737;// Together with Rebel
		setquest 7738;// Next operation plan
		completequest 14615;// Between negotiation and deception
		terra_gloria_main = 18;
		next;
		.@s = select( "Yes!", "We will go on our own." );
		mes "[Squadder]";
		mes "From Einbech station to Einbroch, you go on your own.";
		mes "Now you know the direction.";
		npctalk "I will be waiting in the hotel.", "Philopontess#ep162_02", bc_self;
		close2;
		cloakonnpc "Philopontess#ep162_02", getcharid(0);
		if (.@s == 1)
			warp "einbech",68,208;
		end;
	}
	if (terra_gloria_main == 18) {
		mes "[Squadder]";
		mes "You said it is ^4d4dffEinbroch hotel^000000.";
		mes "We will send someone you might know well.";
		close;
	}
	mes "[Squadder]";
	mes "Maybe it's our chance to give a huge gift to the enterprise~";
	close;

OnTouch:
	if (terra_gloria_main == 17)
		npctalk "Hey, man, this way.", "", bc_self;
	end;

OnInit:
	questinfo( QTYPE_QUEST, QMARK_NONE, "isbegin_quest(14615) == 1" );
	end;
}

// Main - Einbroch Inn
function	script	F_Terra_Gloria_Inn	{
	if (countitem(25179) < 1) {	// no way to retrieve the item ?
		mes "Since you do not have the ^00ffff" + getitemname(25179) + "^000000, you cannot proceed any further.";
		close;
	}
	mes "[Tess]";
	mes "......";
	next;
	cutin "ep16_nihi_miseria_heine01.bmp",2;
	mes "[Nihil]";
	mes ".......";
	next;
	cutin "ep16_skia_nerius01.bmp",0;
	mes "[Skia]";
	mes "What is going on here?";
	mes "There's something in the air.";
	next;
	cutin "ep16_tes03.bmp",1;
	mes "[Tess]";
	mes "Well, I have to hand it to you.";
	mes "I've never stepped back before.";
	next;
	cutin "ep16_nihi_miseria_heine01.bmp",2;
	mes "[Nihil]";
	mes "It's not a big deal, is it?";
	mes "We are doing this for our mutual benefit.";
	mes "It's not so definite yet";
	next;
	cutin "ep16_tes01.bmp",1;
	mes "[Tess]";
	mes "The president will make the final decision anyway.";
	mes "... But I believe his excellency will accept it without any opposition.";
	next;
	cutin "ep16_tes03.bmp",1;
	mes "[Tess]";
	mes "But I am still upset.";
	mes "... It's just a personal feeling.";
	next;
	cutin "ep16_skia_nerius02.bmp",0;
	mes "[Skia]";
	mes "Would you please let me know what you have been talking about?";
	next;
	cutin "ep16_nihi_miseria_heine02.bmp",2;
	mes "[Nihil]";
	mes "It's not so serious.";
	mes "We have been discussing diplomatic issues that could arise during our operation. Also, we talked about the relationship with the Enterpriseand other plans.";
	next;
	mes "[Nihil]";
	mes "We also talked about the possible gains and losses for our two sides during this cooperation ...";
	next;
	cutin "ep16_tes01.bmp",1;
	mes "[Tess]";
	mes "... Although it was committed by the enterprise, we cannot deny that it happened in our country. So we have to take some responsibility.";
	next;
	cutin "ep16_nihi_miseria_heine04.bmp",2;
	mes "[Nihil]";
	mes "Yes. That's it.";
	mes "But I'm not sure whether they could feel more comfortable with this kind compensation or contract ...";
	next;
	cutin "ep16_nihi_miseria_heine01.bmp",2;
	select("They?");
	cutin "ep16_nihi_miseria_heine04.bmp",2;
	mes "[Nihil]";
	mes "Once we sent delegates to Schwaltzvalt.";
	mes "... And they never came back.";
	npctalk "........", "Philopontess#ep162_03", bc_self;
	next;
	cutin "ep16_nihi_miseria_heine01.bmp",2;
	mes "[Nihil]";
	mes "Come to think of it, you must have cleared your mission.";
	next;
	select("Give him the Blessing Star.");
	mes "[Nihil]";
	mes "... Terra Gloria, the surface is gone.";
	mes "Only the star is remaining.";
	next;
	select("Is there any problem?");
	mes "[Nihil]";
	mes "No, the surface is just a means to cover the star.";
	mes "What matters is the star.";
	mes "You have brought the right stuff.";
	next;
	cutin "ep16_tes01.bmp",1;
	mes "[Tess]";
	mes "Hmm? It's just a gem, isn't it?";
	mes "Why on earth did they steal this?";
	next;
	cutin "ep16_skia_nerius01.bmp",0;
	mes "[Skia]";
	mes "Because it is like a fine magic stone.";
	next;
	cutin "ep16_tes01.bmp",1;
	mes "[Tess]";
	mes ".. Now they steal the materials for experiments?";
	mes "There are several more facilities that are presumed to have secret laboratories like this.";
	next;
	cutin "ep16_nihi_miseria_heine01.bmp",2;
	mes "[Nihil]";
	mes "Are you freaking out about the future?";
	mes "We have already finished talking about it.";
	mes "I told you that I would support you if you need it.";
	next;
	cutin "ep16_tes01.bmp",1;
	mes "[Tess]";
	mes "... That was in reference to the mutual agreement. So please don't take the credit for yourself.";
	next;
	cutin "ep16_nihi_miseria_heine02.bmp",2;
	mes "[Nihil]";
	mes "Credit? I was just telling the truth.";
	mes "Now, I don't have to be here anymore.";
	next;
	cutin "ep16_tes01.bmp",1;
	mes "[Tess]";
	mes "You are so cold.";
	mes "Are you leaving right after obtaining what you want?";
	next;
	cutin "ep16_nihi_miseria_heine02.bmp",2;
	mes "[Nihil]";
	mes "We will meet again, if necessary.";
	mes "Tess, if you visit Prontera, you will be more than welcome.";
	next;
	cutin "ep16_nihi_miseria_heine01.bmp",2;
	mes "[Nihil]";
	mes "Besides, I don't have much time.";
	mes "I have many things to handle when I get back.";
	next;
	mes "[Nihil]";
	mes "" + strcharinfo(0) + ".";
	mes "Go back to the palace and wait in your room.";
	mes "I will make sure that you get enough compensation.";
	next;
	cutin "ep16_skia_nerius01.bmp",0;
	mes "[Skia]";
	mes "Are we going back now?";
	mes "I have a Scroll of Movement made by Nilem, the palace magician. Shall I use it?";
	next;
	select("Let me join you!!");
	cutin "ep16_tes01.bmp",1;
	mes "[Tess]";
	mes "No, " + strcharinfo(0) + ", please talk to me for a while.";
	mes "I would like to get some more!";
	next;
	cutin "ep16_nihi_miseria_heine02.bmp",2;
	mes "[Nihil]";
	mes "Skia, activate it.";
	next;
	cutin "ep16_skia_nerius04.bmp",0;
	mes "[Skia]";
	mes "Yes~";
	mes "Mr. Philopontess, so long!";
	delitem 25179,1;	// Blessing_Star
	erasequest 7740;// Star of Blessing obtained
	setquest 7741;// Let's return
	terra_gloria_main = 23;
	close2;
	warp "prontera",155,280;
	end;
}

ein_in01,273,275,0	script	#ep162_evt04	HIDDEN_WARP_NPC,1,1,{
	end;
OnTouch:
	if (terra_gloria_main == 18) {
		setpcblock PCBLOCK_NPC, true;
		cloakoffnpc "Nihil#ep162_02", getcharid(0);
		cloakoffnpc "Philopontess#ep162_03", getcharid(0);
		cloakoffnpc "Skia#ep162_05", getcharid(0);
		cloakoffnpc "Rookie#ep162_01", getcharid(0);
		cloakoffnpc "Lazy#ep162_01", getcharid(0);
		npctalk "Mr. Lazy, was that a joke?", "Philopontess#ep162_03", bc_self;
		sleep2 2000;
		npctalk "Uhm? Break-in or ambush ...", "Lazy#ep162_01", bc_self;
		sleep2 3000;
		npctalk "... That's not the issue here. We cannot just go there and knock the door!", "Philopontess#ep162_03", bc_self;
		sleep2 3000;
		npctalk "Unless we block the area first, they will shut down the laboratory in a flash and escape.", "Philopontess#ep162_03", bc_self;
		sleep2 3000;
		npctalk "I see, drug user. So you're saying ... We have a visitor.", "Lazy#ep162_01", bc_self;
		sleep2 1000;
		npctalk "Did you say 'drug user'?!", "Philopontess#ep162_03", bc_self;
		sleep2 2000;
		npctalk "Here comes the person our welcome visitors have been waiting for, right?", "Lazy#ep162_01", bc_self;
		sleep2 2000;
		npctalk "This way.", "Nihil#ep162_02", bc_self;
		sleep2 2000;
		setpcblock PCBLOCK_NPC, false;
		npctalk "Welcome, adventurer!", "Skia#ep162_05", bc_self;
		end;
	}
	if (terra_gloria_main == 22) {
		cloakoffnpc "Nihil#ep162_02", getcharid(0);
		cloakoffnpc "Philopontess#ep162_03", getcharid(0);
		cloakoffnpc "Skia#ep162_05", getcharid(0);
	}
	end;
}

ein_in01,269,285,5	script	Nihil#ep162_02	4_EP16_NIHIL,{
	if (terra_gloria_main == 18) {
		mes "[Nihil]";
		mes "Good to see you again.";
		mes "I am glad you are safe.";
		cutin "ep16_nihi_miseria_heine02.bmp",2;
		next;
		mes "[Nihil]";
		mes "This happened because of me. So I came to resolve the crisis myself.";
		mes "... It would be shameful of me to keep relying on others.";
		cutin "ep16_nihi_miseria_heine04.bmp",2;
		next;
		mes "[Nihil]";
		mes "... Although I cannot help you physically,";
		mes "I can take care of the information analysis and diplomatic affairs.";
		cutin "ep16_nihi_miseria_heine01.bmp",2;
		next;
		select("Have you been released from confinement?");
		cutin "ep16_skia_nerius01.bmp",0;
		mes "[Skia]";
		mes "Hmm~ Unfortunately, no.";
		mes "I reported to the elders of our royal family about this affair. I was scolded and barely got permission to come here.";
		next;
		mes "[Nihil]";
		mes "In the process, I took advantage of your name.";
		mes "Officially, you are the key person resolving this crisis and I am the one who takes the responsibility. And Lady Skia is observing me.";
		cutin "ep16_nihi_miseria_heine01.bmp",2;
		next;
		mes "[Nihil]";
		mes "Since they all know about you, everyone is expecting you resolve this by any means.";
		mes "I apologize for having taken advantage of your name without informing you earlier.";
		next;
		cutin "ep16_skia_nerius01.bmp",0;
		mes "[Skia]";
		mes "Without it, they would never have approved you.";
		mes "They would have claimed that you had made things worse.";
		next;
		mes "[Nihil]";
		mes "Let's talk about the operation ... Is your name Philopontess?";
		mes "We are cooperating now, so may I tell you my opinion?";
		cutin "ep16_nihi_miseria_heine01.bmp",2;
		next;
		cutin "ep16_tes01.bmp",0;
		mes "[Tess]";
		mes "Of course.";
		mes "And please call me Tess.";
		mes "The Rebellion will be in charge of the military operation. But ...";
		next;
		mes "[Tess]";
		mes "In terms of strategy, we are superior.";
		mes "And we only have a single chance. So you are welcome to give us a good idea.";
		npctalk "Unless you are a useless idiot.", "Philopontess#ep162_03", bc_self;
		next;
		cutin "16loo_02.bmp",1;
		mes "[Rookie]";
		mes "Wow, he sure has a big mouth~";
		mes "If my sister Elena heard it, she might have shot him in the head!";
		next;
		cutin "16loo_01.bmp",1;
		mes "[Rookie]";
		mes "We've picked out the combatants. Since this operation is confidential, we selected those who we can fully trust.";
		mes "And the investigation of the buildings and geographical features?";
		next;
		cutin "ep16_tes01.bmp",0;
		mes "[Tess]";
		mes "Of course, we have provided it.";
		mes "We have been investigating this place for quite a long time.";
		next;
		mes "[Nihil]";
		mes "I read the document.";
		mes "The funny thing is here ... I don't know why. But there is";
		cutin "ep16_nihi_miseria_heine01.bmp",2;
		next;
		mes "[Nihil]";
		mes "no retreat path in the area where the facility is located.";
		npctalk "No retreat path.", "Philopontess#ep162_03", bc_self;
		next;
		cutin "16loo_01.bmp",1;
		mes "[Rookie]";
		mes "Hmm. Then all we have to do is get in there and block the only entrance?";
		next;
		cutin "ep16_nihi_miseria_heine01.bmp",2;
		mes "[Nihil]";
		mes "They might have installed a gate for teleport. We must disable it first.";
		npctalk "... You mean they use magic?", "Philopontess#ep162_03", bc_self;
		next;
		mes "[Nihil]";
		mes "We must do it quickly, so that the enemy cannot take any countermeasures even if they recognize it.";
		npctalk "That's quite possible.", "Philopontess#ep162_03", bc_self;
		next;
		cutin "16loo_01.bmp",1;
		mes "[Rookie]";
		mes "Leave it to us!";
		mes "The Rebellion hasn't just been napping.";
		mes "Then the rest here are all surplus manpower?";
		next;
		cutin "ep16_tes02.bmp",0;
		mes "[Tess]";
		mes "Did you say 'surplus'!?";
		mes "Have you already forgotten who provided this information?";
		next;
		cutin "",255;
		mes "... The meeting is getting too long.";
		next;
		cutin "ep16_skia_nerius01.bmp",0;
		mes "[Skia]";
		mes "Hmm ... It's boring, isn't it?";
		mes "Things have been decided to some degree.";
		mes "I won't be able to help you directly.";
		mes "I'm here to watch Nihil.";
		next;
		mes "[Skia]";
		mes "What you have to concentrate on in this facility is the central room.";
		npctalk "That's correct.", "Philopontess#ep162_03", bc_self;
		next;
		cutin "ep16_tes01.bmp",1;
		mes "[Tess]";
		mes "What you are looking for might be in the place called the ^4d4dffcentral room^000000.";
		next;
		cutin "ep16_nihi_miseria_heine01.bmp",2;
		mes "[Nihil]";
		mes "I stepped in to ensure a safe, successful procedure. But actually, we had already provided you with everything we can.";
		next;
		mes "[Nihil]";
		mes "" + strcharinfo(0) + ", once the Rebellion occupies the laboratory, you have to rush to the central room faster than anyone else.";
		next;
		cutin "ep16_nihi_miseria_heine02.bmp",2;
		mes "[Nihil]";
		mes "And there ... you will find it.";
		mes "I have a strong feeling that it is here.";
		mes "I am counting on you.";
		next;
		cutin "16loo_01.bmp",1;
		mes "[Rookie]";
		mes "Now let's get going.";
		mes "It will be dark soon.";
		mes "It's the end of the week, so security might not be so tight.";
		next;
		cutin "ep16_tes01.bmp",0;
		mes "[Tess]";
		mes "The location is ^4d4dffOperation Spot in one o'clock, Northern field in Einbroch^000000.";
		mes "In the field, please cooperate with the Rebellion.";
		next;
		cutin "16loo_01.bmp",1;
		mes "[Rookie]";
		mes "The exact ^4d4dffcoordinates of the operation spot are 280, 332^000000. The person in charge of the operation may be ... ^4d4dffJulian^000000.";
		next;
		mes "[Rookie]";
		mes "Go find Julian!";
		mes "Of course I'm going too.";
		next;
		cutin "ep16_nihi_miseria_heine02.bmp",2;
		mes "[Nihil]";
		mes "... Don't forget.";
		mes "You absolutely must reach the central room and find the ^4d4dffTerra Gloria^000000.";
		mes "I wish you fortune in war.";
		next;
		cutin "ep16_skia_nerius01.bmp",0;
		mes "[Skia]";
		mes "I will take a chance and participate.";
		mes "Take care of yourself!";
		erasequest 7738;// Next operation plan
		setquest 7739;// Find Star of Blessing!
		terra_gloria_main = 19;
		close3;
	}
	if (terra_gloria_main == 19) {
		mes "[Nihil]";
		mes "... Don't forget.";
		mes "You absolutely must reach the central room and find the ^4d4dffTerra Gloria^000000.";
		mes "I wish you fortune in war.";
		cutin "ep16_nihi_miseria_heine02.bmp",2;
		next;
		cutin "ep16_tes01.bmp",0;
		mes "[Tess]";
		mes "The location is ^4d4dffOperation Spot in one o'clock, Northern field in Einbroch^000000.";
		mes "In the field, please cooperate with the Rebellion.";
		close3;
	}
	if (terra_gloria_main == 22)
		callfunc( "F_Terra_Gloria_Inn" );
	end;
OnInit:
	cloakonnpc();
	end;
}

ein_in01,274,278,3	script	Lazy#ep162_01	4_M_LAZY,{
	if (terra_gloria_main == 18) {
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Well, it seems like everyone is here. Maybe I can step out?";
		mes "From now on, Rookie, the heron emeritus agent, will handle it!";
		close3;
	}
	if (terra_gloria_main == 19) {
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "I've done my job~";
		mes "Now I'm counting on Rookie!";
		mes "I'm on vacation from now on!";
		close3;
		cutin "",255;
		npctalk "Who says that?!", "Philopontess#ep162_03", bc_self;
		npctalk "Hey, Lazy! You are irresponsible!", "Rookie#ep162_01", bc_self;
		end;
	}
	end;
OnInit:
	cloakonnpc();
	end;
}

ein_in01,272,282,3	script	Rookie#ep162_01	4_M_ROOKIE,{
	if (terra_gloria_main == 18) {
		npctalk "Adventurer, you're late.", "", bc_self;
		end;
	}
	if (terra_gloria_main == 19) {
		cutin "16loo_01.bmp",2;
		mes "[Rookie]";
		mes "Most of the squadron will be standing by in the operation spot.";
		mes "They will take a chance to start it, right?";
		mes "I think they will get in when it gets dark ...";
		next;
		mes "[Rookie]";
		mes "Let's get there before it's too late.";
		close3;
	}
	end;
OnInit:
	cloakonnpc();
	end;
}

ein_in01,271,284,3	script	Skia#ep162_05	4_EP16_SKIA,{
	if (terra_gloria_main == 18) {
		npctalk "Please listen to Nihil first.", "", bc_self;
		end;
	}
	if (terra_gloria_main == 19) {
		cutin "ep16_skia_nerius01.bmp",0;
		mes "[Skia]";
		mes "I will be in the shade.";
		mes "Oh~ I'm excited to use a sword after such a long time!";
		close3;
	}
	end;
OnInit:
	cloakonnpc();
	end;
}

ein_in01,269,282,1	script	Philopontess#ep162_03	4_M_PHILOFONTES,{
	if (terra_gloria_main == 18) {
		npctalk "... Please talk to the Prince first.", "", bc_self;
		end;
	}
	if (terra_gloria_main == 19) {
		mes "[Tess]";
		mes "The location is ^4d4dffOperation Spot in one o'clock, Northern field in Einbroch^000000.";
		mes "In the field, please cooperate with the Rebellion.";
		close;
	}
	if (terra_gloria_main == 22)
		callfunc( "F_Terra_Gloria_Inn" );
	end;
OnInit:
	cloakonnpc();
	end;
}


// Einbroch Field - instance
ein_fild04,284,332,3	script	Rookie#ep162_02	4_M_ROOKIE,{
	if (terra_gloria_main < 19) {
		mes "[Rookie]";
		mes "... I really hate training ...";
		close;
	}
	if (terra_gloria_main == 19) {
		cutin "16loo_01.bmp",2;
		mes "[Rookie]";
		mes "^4d4dffJulian^000000 is the person in charge of the operation here.";
		mes "Please go and ask him.";
		close3;
	}
	if (terra_gloria_main == 20) {// First instance completed
		cutin "16loo_01.bmp",2;
		mes "[Rookie]";
		mes "They are like rats in a trap. All we have to do is the cleanup~ I'm going in, too.";
		next;
		select("Good. I'm counting on you.");
		mes "[Rookie]";
		mes "It's natural.";
		mes "You haven't found that thing you were looking for yet.";
		mes "I will let you go. Could you just find that thing?";
		close2;
		warp "que_swat",155,50;
		end;
	}
	cutin "16loo_01.bmp",2;
	mes "[Rookie]";
	mes "As they occupied this place, they are remodeling some of the routes to make a training camp.";
	mes "... Oh ... I hate it already.";
	next;
	if (select( "Enter the military base.", "Good. I'm counting on you." ) == 2) {
		mes "[Rookie]";
		mes "Oh ... arg ...";
		close3;
	}
	mes "[Rookie]";
	mes "There are still come remnants inside the research facilities.";
	mes "Actually ... they are more like monsters.";
	mes "Anyway, take care of yourself.";
	close2;
	warp "que_swat",155,50;
	end;

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

que_swat,147,57,5	duplicate(dummy_cloaked_npc)	Skia#ep162_07	4_EP16_SKIA

que_swat,150,58,3	script	Rookie#ep162_03	4_M_ROOKIE,{
	if (checkweight(501,1) == 0) {
		mes "- Cannot progress with quest because you have too many items in your possession. -";
		close;
	}
	if (terra_gloria_main < 22) {
		cutin "16loo_01.bmp",2;
		mes "[Rookie]";
		mes "The ^4d4dffcentral area^000000 seems to be located in this laboratory, ^4d4dffdeep inside the building's basement^000000.";
		mes "Since we, the Rebellion, have completely occupied this place, please feel free to go there.";
		next;
		mes "[Rookie]";
		mes "Teleport?";
		mes "They cannot use it.";
		mes "We have blocked it.";
		mes "Actually, it's something we had never thought of ...";
		npctalk "You are the exception! Use it whenever you want!", "", bc_self;
		next;
		mes "[Rookie]";
		mes "The man with shiny blonde hair told me to block magic related to movement as well.";
		mes "Well, I know that the magic is more common in Rune Midgarts. Isn't it?";
		next;
		mes "[Rookie]";
		mes "After all, I hope you will find what you are looking for as soon as possible.";
		close3;
	}
	if (terra_gloria_main == 22) {
		cutin "16loo_01.bmp",2;
		mes "[Rookie]";
		mes "Wow, welcome back.";
		cloakoffnpc "Skia#ep162_07", getcharid(0);
		npctalk "Hero!", "Skia#ep162_07", bc_self;
		next;
		mes "[Skia]";
		mes "I heard a loud sound inside the central room. I tried to get in there, but it had already been blocked.";
		next;
		cutin "16loo_01.bmp",2;
		mes "[Rookie]";
		mes "Right. I was bounced out by an unknown force and could not defend the entrance until the end.";
		mes "I am sorry.";
		next;
		mes "[Skia]";
		mes "... What on earth was it?";
		next;
		mes "[Skia]";
		mes "On my god ... Seyren Windsor?";
		mes "And you've found it?";
		next;
		mes "[Skia]";
		mes "Then we must go back quickly.";
		mes "Our mission is completed.";
		mes "Let's go back to the hotel first.";
		next;
		cutin "16loo_01.bmp",2;
		mes "[Rookie]";
		mes "Yeah. The rest of it is our task.";
		mes "There are still plenty of monster experimental subjects inside, but";
		mes "That's what we have to contend with.";
		next;
		mes "[Rookie]";
		mes "Damn, go away!";
		close2;
		cloakonnpc "Skia#ep162_07", getcharid(0);
		warp "ein_fild04",279,339;
		end;
	}
	if (terra_gloria_main == 23) {
		cutin "16loo_01.bmp",2;
		mes "[Rookie]";
		mes "Oh, I hate it here.";
		mes "I want to go back to our hidout soon.";
		mes "Shall we get out of here?";
		next;
		if (select( "Leave.", "Stay." ) == 2) {
			mes "[Rookie]";
			mes "Hmm, are you the type of person who looks for trouble?";
			mes "Well, we appreciate it if you help us clean up the remnants.";
			close3;
		}
		mes "[Rookie]";
		mes "Follow me, then.";
		close2;
		warp "ein_fild04",279,339;
		end;
	}
	if (terra_gloria_main == 24) {
		npctalk "... Shall I go in now?", "", bc_self;
		end;
	}
	mes "[Rookie]";
	mes "Shall we leave now?";
	cutin "16loo_01.bmp",2;
	next;
	switch( select( "About the monster in the central room", "Leave.", "Stay.", "About YSF01" ) ) {
	case 1:
		break;
	case 2:
		mes "[Rookie]";
		mes "Follow me, then.";
		close2;
		warp "ein_fild04",279,339;
		end;
	case 3:
		mes "[Rookie]";
		mes "Since this fuss is likely to continue for a while, we'd be glad if you would stay here and help us~";
		close3;
	case 4:
		mes "[Rookie]";
		mes "Why did Werner do that?";
		mes "I don't understand.";
		mes "... No. Maybe it's weird to understand a lunatic.";
		next;
		mes "[Rookie]";
		mes "Anyways, We have to observe the central room's core.";
		mes "As long as there are magic inside, the same thing will happen again.";
		close3;
	}
	switch( checkquest(7743,PLAYTIME) ) {
	case -1:
		switch( checkquest(7742,HUNTING) ) {
		case -1:
			mes "[Rookie]";
			mes "Welcome.";
			mes "Without any further ado,";
			mes "We would like to hunt the ^4d4dffpet child^000000 guy. Will you join us?";
			next;
			if (select( "I am the pet child hunter!", "Reject!" ) == 2) {
				mes "[Rookie]";
				mes "No, why?";
				mes "It's just a monster!";
				mes "We just have to kill it!";
				mes "Then who should we ask to do it?";
				close;
			}
			mes "[Rookie]";
			mes "Let's reveal its secret!";
			mes "Let's find out why it keeps showing up!";
			setquest 7742;// Sweeping the remnants
			close3;
		case 0:
		case 1:
			mes "[Rookie]";
			mes "It's in the central room. The place full of strange spirits in the middle of the central room.";
			mes "Let me open the door for you first.";
			close3;
		case 2:
			mes "[Rookie]";
			mes "Great! You're so cool!";
			mes "Was it a replication of the former experimental subject? Self-replication?";
			mes "They haven't found out the exact mechanism yet.";
			next;
			mes "[Rookie]";
			mes "Anyhow, thank you for your support.";
			mes "We will count on you again next time.";
			erasequest 7742;// Sweeping the remnants
			setquest 7743;// Sweeping the remnants (Standby)
			getitem 25155,3;	// Swz_Honor_Token
			getexp 200000,200000;
			close3;
		}
		end;
	case 0:
	case 1:
		mes "[Rookie]";
		mes "The same monster is regenerated every single day. Isn't it a bit odd?";
		next;
		cutin "16loo_02.bmp",2;
		mes "[Rookie]";
		mes "Maybe this guy is one of the objects that were split by transplanting the hearts of Ymir ...";
		next;
		cutin "16loo_01.bmp",2;
		mes "[Rookie]";
		mes "Anyway, let's see if that guy shows up again.";
		mes "It's so~ interesting.";
		close3;
	case 2:
		erasequest 7743;// Sweeping the remnants (Standby)
		mes "[Rookie]";
		mes "Did you call it a pet child?";
		mes "Seems like they are completely leaving that guy to the adventurer";
		next;
		mes "[Rookie]";
		mes "If you want, do not hesitate to tell me any time.";
		mes "I will give you a mission to kill the pet child.";
		close3;
	}
	end;

OnInit:
	questinfo( QTYPE_QUEST, QMARK_NONE, "checkquest(7742,HUNTING) == 2" );
	questinfo( QTYPE_QUEST, QMARK_NONE, "terra_gloria_main > 24 && (checkquest(7743,PLAYTIME) == -1 || checkquest(7743,PLAYTIME) == 2) && (checkquest(7742,HUNTING) == -1 || checkquest(7742,HUNTING) == 2)" );
	end;
}

que_swat,141,57,5	script	Rebellion squadder#ep16	4_M_GUNSLINGER2,{
	mes "[Rebellion squadder]";
	mes "Do you want me to send you out of the operation zone?";
	next;
	if (select( "Leave.", "No." ) == 2) {
		mes "[Rebellion squadder]";
		mes "Well, good luck.";
		close;
	}
	warp "ein_fild04",279,339;
	end;
}

que_swat,145,57,3	script	Philopontess#ep162_04	4_M_PHILOFONTES,{
	if (checkweight(501,1) == 0) {
		mes "- Cannot progress with quest because you have too many items in your possession. -";
		close;
	}
	if (terra_gloria_main < 24) {
		cutin "ep16_tes01.bmp",2;
		mes "[Tess]";
		mes "... How many more facilities like this are there in Schwaltzvalt?";
		mes "Haa ...";
		close3;
	}
	if (terra_gloria_main == 24) {
		cutin "ep16_tes01.bmp",2;
		mes "[Tess]";
		mes "Fortunately, the letter seems to have arrived.";
		mes "There is a reward that we prepared for you but we have not given it to you yet. So I sent this letter to invite you.";
		next;
		mes "[Tess]";
		mes "And our president said that his excellency would grant you enough compensation if you continue to help us get rid of the unwanted experimental subjects.";
		next;
		mes "[Tess]";
		mes "As you helped our republic, his excellency is trying to get you some useful stuff for adventurers.";
		next;
		mes "[Tess]";
		mes "The ^4d4dffSchwartz Honor Token^000000 that I am about to give you is a sort of reward currency used in the Rebellion as well.";
		next;
		mes "[Tess]";
		mes "Since you are an adventurer, we thought it would be helpful for you.";
		mes "You can exchange it for an item you need.";
		next;
		mes "[Tess]";
		mes "You may have received it already through the Rebellion.";
		mes "Since this token is a prize for someone who did a job for Schwaltzvalt ...";
		next;
		mes "[Tess]";
		mes "If you want, you can receive them by continuing to help us.";
		next;
		mes "[Tess]";
		mes "So, we would like to give you simple requests or missions.";
		mes "This kind of association is likely to continue for a while.";
		next;
		mes "[Tess]";
		mes "Thank you for your support in advance.";
		getitem 25155,10;	// Swz_Honor_Token
		getexp 500000,500000;
		terra_gloria_main = 25;
		questinfo_refresh();
		close2;
		npctalk "Oh, please come here for a moment.", "Rookie#ep162_03", bc_self;
		end;
	}
	switch( checkquest(7745,PLAYTIME) ) {
	case -1:
		switch( isbegin_quest(7744) ) {
		case 0:
			cutin "ep16_tes01.bmp",2;
			mes "[Tess]";
			mes "Since there are still some researchers hiding inside the laboratory, we plan to investigate it.";
			next;
			mes "[Tess]";
			mes "Please take charge of the investigation.";
			mes "If you do this for us, we will give you the Schwartz Honor Token.";
			next;
			if (select( "Accept.", "Reject." ) == 2) {
				mes "[Tess]";
				mes "Not now?";
				mes "Then get some rest and come back please.";
				close;
			}
			mes "[Tess]";
			mes "Since we don't know where they are hiding, start looking in corners such as cabinets and boxes.";
			next;
			mes "[Tess]";
			mes "After finding researchers, please hand them over to a Rebellion squad member near you.";
			mes "Thank you for your support in advance.";
			setquest 7744;// Hiding Researcher
			close3;
		case 1:
		case 2:
			break;
		}
		switch( isbegin_quest(7760) ) {
		case 0:
			cutin "ep16_tes01.bmp",2;
			mes "[Tess]";
			mes "Inside the laboratory, there are still some researchers hiding somewhere.";
			mes "Please find them and hand them over to a Rebellion squad member.";
			next;
			mes "[Tess]";
			mes "Thank you for your support in advance.";
			close3;
		case 1:
		case 2:
			mes "[Tess]";
			mes "We already heard of your performance from the Rebellion.";
			mes "Thank you for cooperating with the republic.";
			setquest 7745;		// Hiding Researcher (Standby)
			erasequest 7760;	// Well hidden
			erasequest 7744;	// Hiding Researcher
			getitem 25155,3;	// Swz_Honor_Token
			getexp 200000,200000;
			next;
			mes "[Tess]";
			mes "We attacked them all of a sudden, and we expect more of them are still hiding. But we will find them sooner or later.";
			close;
		}
	case 0:
	case 1:
		cutin "ep16_tes01.bmp",2;
		mes "[Tess]";
		mes "We attacked them all of a sudden, and we expect more of them are still hiding.";
		mes "We will try to find those guys for now.";
		close2;
		npctalk "This is really tough.", "", bc_self;
		cutin "",255;
		end;
	case 2:
		erasequest 7745;// Hiding Researcher (Standby)
		cutin "ep16_tes01.bmp",2;
		mes "[Tess]";
		mes "If possible, I would ask you to investigate again.";
		next;
		if (select( "Leave it to me.", "No thank you." ) == 2) {
			mes "[Tess]";
			mes ".......";
			mes "Then we cannot afford it.";
			mes "... No, no.";
			close3;
		}
		mes "[Tess]";
		mes "You're so cool, as usual.";
		mes "Then could you please find the dregs hiding deep inside the laboratory and shaking like leaves?";
		mes "I mean, the researchers.";
		next;
		mes "[Tess]";
		mes "As usual, please find the researchers who are hiding and hand them over to a Rebellion squad member.";
		setquest 7744;// Hiding Researcher
		close3;
	}
	end;

OnInit:
	questinfo( QTYPE_QUEST, QMARK_NONE, "terra_gloria_main == 24" );
	questinfo( QTYPE_QUEST, QMARK_NONE, "terra_gloria_main > 24 && isbegin_quest(7744) == 0 && (checkquest(7745,PLAYTIME) == -1 || checkquest(7745,PLAYTIME) == 2)" );
	questinfo( QTYPE_QUEST, QMARK_NONE, "isbegin_quest(7760) > 0" );
	end;
}

que_swat,159,53,5	script	Yudmil#ep162_2	4_M_GUNSLINGER2,{
	mes "[Yudmil]";
	mes "No ... why did I volunteer for this?";
	next;
	select("What's wrong with the Gunslinger?");
	mes "[Yudmil]";
	mes "Gunslinger is a place made by the Rebellion to train the upcoming generation, so they have a close relationship.";
	next;
	mes "[Yudmil]";
	mes "I heard that there was special training with the Rebellion so I volunteered. And what am I doing now?";
	mes "I never imagined that I would be sent to this laboratory full of monsters!";
	next;
	mes "[Yudmil]";
	mes "Arrrgh, especially Ms. Elena ... She makes us suffer ...";
	close;
}

que_swat,161,53,3	script	Yuslan#ep162_1	4_M_GUNSLINGER3,{
	if (checkweight(501,1) == 0) {
		mes "- Cannot progress with quest because you have too many items in your possession. -";
		close;
	}
	if (terra_gloria_main < 20)
		end;
	switch( checkquest(7762,PLAYTIME) ) {
	case -1:
		switch( checkquest(7761,HUNTING) ) {
		case -1:
			mes "[Yuslan]";
			mes "Inside the laboratory, there is pandemonium due to the experimental subjects that broke out.";
			mes "Although we kill them, more of them come out from somewhere. I came out rest for a while.";
			next;
			if (select( "Help him defeat Chimeras.", "Wish him good luck." ) == 2) {
				mes "[Yuslan]";
				mes "Well ... Yeah. This is a part of training, too. Phew.";
				close;
			}
			mes "[Yuslan]";
			mes "Then, please kill 10 of each";
			mes "^4d4dffMaterial type Chimeras^000000 and";
			mes "^4d4dffHuman type Chimeras^000000";
			mes "wandering around in the laboratory!";
			next;
			mes "[Yuslan]";
			mes "Thanks to your support, we can pause for breath!";
			mes "Cheer up, Adventurer!";
			setquest 7761;// Make Chimeras rest in peace
			close;
		case 0:
		case 1:
			mes "[Yuslan]";
			mes "Just defeat 10 of each type. That's all I ask.";
			mes "They are ^4d4dffMaterial type Chimeras and Human type Chimeras.^000000";
			next;
			mes "[Yuslan]";
			mes "... The In Vivo Experiment is really horrible.";
			close;
		case 2:
			mes "[Yuslan]";
			mes "Wow, you did a great job for us!";
			mes "Thank you.";
			mes "Thanks to your support, we managed to get a good rest.";
			next;
			mes "[Yuslan]";
			mes "Please be with us next time!";
			erasequest 7761;// Make Chimeras rest in peace
			setquest 7762;// Make Chimeras rest in peace (Standby)
			getitem 25155,3;	// Swz_Honor_Token
			getexp 300000,300000;
			close;
		}
	case 0:
	case 1:
		mes "[Yuslan]";
		mes "Hey, thank you for your great job.";
		mes "But there are still more monsters inside.";
		mes "We are trying our best to get rid of them. But honestly, it's tough.";
		next;
		mes "[Yuslan]";
		mes "Where do all of these experimental subjects come from?";
		close;
	case 2:
		erasequest 7762;// Make Chimeras rest in peace (Standby)
		mes "[Yuslan]";
		mes "They come out continuously. I can't imagine how many experiments they conducted.";
		mes "I mean, Chimeras.";
		next;
		mes "[Yuslan]";
		mes "I never imagined that Chimeras would be tougher than Heart Hunters ...";
		close;
	}
	end;

OnInit:
	questinfo( QTYPE_QUEST, QMARK_NONE, "terra_gloria_main > 19 && (checkquest(7761,HUNTING) == -1 || checkquest(7761,HUNTING) == 2) && (checkquest(7762,PLAYTIME) == -1 || checkquest(7762,PLAYTIME) == 2)" );
	end;
}

// Part Elena - Fight
rebel_in,70,78,3	script	Elena Bolkova#16.2rm	4_F_ELENA,{
	if (terra_gloria_main < 16) {
		cutin "162elena_01.bmp",2;
		mes "[USU commander Elena]";
		mes "Don't pick a fight with USU recklessly.";
		mes "When people start fighting, I'll be the only one who feels annoyed.";
		next;
		emotion ET_FRET;
		mes "[USU commander Elena]";
		mes "Although I leashed them, they keep thinking about running out ...";
		mes "Maybe their brains are filled with gunpowder. Silly weirdos.";
		close3;
	}

	// twins daily quest
	if (isbegin_quest(16031) == 1) {
		cutin "162elena_01.bmp",2;
		mes "[USU commander Elena]";
		mes "Cookie? I don't like sweets.";
		next;
		mes "[USU commander Elena]";
		mes "Lebedev guys baked it...";
		mes "Then, I have no choice but to taste it. Give it to me.";
		next;
		if (countitem(25161) < 1) {
			mes "[USU commander Elena]";
			mes "...Why are you empty-handed? Where is the cookie?";
			close;
		}
		emotion ET_DELIGHT;
		mes "[USU commander Elena]";
		mes "It smells good.";
		mes "Seems like they gave a great effort. Tell them thanks.";
		completequest 16031;// Service: Cookies delivery
		delitem 25161,1;// Handmade_cookie2
		close3;
	}

	if (terra_gloria_main == 16 && isbegin_quest(14602) == 1) {
		switch( isbegin_quest(16060) ) {
		case 0:
			cutin "162elena_01.bmp",2;
			mes "[USU commander Elena]";
			mes "Wait, who are you?";
			next;
			mes "[USU commander Elena]";
			mes "I haven't seen you before.";
			mes "You can't be in this place. Strangers like you are not supposed to be here.";
			mes "^FF0000>>>Snap<<<^000000";
			next;
			mes "[USU commander Elena]";
			mes "Tell me exactly how you got here and where you came from unless you want to die. ";
			sleep2 300;
			npctalk "Elena Bolkova: Otherwise I will have some fun and you won't.", "", bc_self;
			next;
			cutin "",255;
			mes "[" + strcharinfo(0) + "]";
			mes "I am... You revealed you're an adventurer who came to help Secret Wings and requested cooperation to the Rebellion.";
			next;
			cutin "162elena_01.bmp",2;
			mes "[USU commander Elena]";
			mes "Secret Wings? They are just rookies. All they do is suck up to the president.";
			mes "You're so brave. Who told you to visit me?";
			mes "I don't want to dance to chicks flapping their wings. Just go away.";
			next;
			cutin "",255;
			mes "[" + strcharinfo(0) + "]";
			mes "No, wait please. In fact, I... no, my companion...";
			next;
			cutin "162elena_01.bmp",2;
			mes "[USU commander Elena]";
			mes "Your companion saved Gonie?";
			mes "...... So? You want a reward?";
			mes "I really hate those who try to use other's lives as they please.";
			next;
			mes "[USU commander Elena]";
			mes "Well... I have a better idea.";
			mes "Unlike the wimp chatting downstairs, you look quite interesting.";
			next;
			cutin "162elena_02.bmp",2;
			mes "[USU commander Elena]";
			mes "You said you were just an adventurer, didn't you?";
			mes "Great. If you defeat me in a fight, I will listen to your story.";
			next;
			cutin "",255;
			mes "[" + strcharinfo(0) + "]";
			mes "Pardon?";
			next;
			cutin "162elena_01.bmp",2;
			mes "[USU commander Elena]";
			mes "Let's fight! I will listen to someone who fights me.";
			mes "Talk to me when you are ready. Then I will let you enter the waiting room of the arena.";
			next;
			cutin "",255;
			mes "[" + strcharinfo(0) + "]";
			mes "Should I fight you all of a sudden? Well, I don't feel like...";
			next;
			cutin "162elena_01.bmp",2;
			emotion ET_HNG;
			mes "[USU commander Elena]";
			mes "If you don't want to fight, I guess you don't need any cooperation. Go back.";
			next;
			cutin "",255;
			mes "[" + strcharinfo(0) + "]";
			mes "(I'm in trouble. What shall I do?)";
			next;
			if (select( "Fight Elena.", "I don't listen to someone weaker than me." ) == 1) {
				mes "[" + strcharinfo(0) + "]";
				mes "(I have no choice. Let's prepare for the fight and talk to Elena Bolkova again.)";
				setquest 16060;	// Fighting is the language of warmonger
				setquest 16061;	// Fair and equitable result
				close3;
			}
			mes "[" + strcharinfo(0) + "]";
			mes "I don't listen to someone weaker than m...";
			next;
			cutin "162elena_01.bmp",2;
			emotion ET_SMILE;
			mes "[USU commander Elena]";
			mes "Hmm? I misheard something. Haha, could you repeat it?";
			npctalk "Elena Bolkova: Well, it should have been some dogs barking.", "", bc_self;
			next;
			cutin "",255;
			mes "[" + strcharinfo(0) + "]";
			mes "Yes... I'll do it.";
			next;
			cutin "162elena_02.bmp",2;
			mes "[USU commander Elena]";
			mes "Great. Tell me when you are ready.";
			setquest 16060;	// Fighting is the language of warmonger
			setquest 16061;	// Fair and equitable result
			close3;
		case 1:
		case 2:
			switch( isbegin_quest(16011) ) {
			case 0:
				cutin "162elena_01.bmp",2;
				mes "[USU commander Elena]";
				mes "Are you ready?";
				mes "Shall we go to the waiting room now?";
				next;
				switch( select( "Go to the waiting room", "Don't go to the waiting room." ) ) {
				case 1:
					if (BaseJob != Job_Priest) {
						mes "[USU commander Elena]";
						mes "In the waiting room, there is ^0000CDIvan, the person in charge of entrance in arena^000000.";
						mes "Enter the arena according to the order in reference to Ivan's guide.";
						next;
						mes "[USU commander Elena]";
						mes "You have two minutes. If you defeat me during two minutes, you win.";
						next;
						mes "[USU commander Elena]";
						mes "If you want to surrender during the fight, tell ^0000CDSorita^000000 beside Ivan.";
						mes "Then you're going to be told off.";
						setquest 16011;// Arena entrance
						close2;
						warp "rebel_in",184,28;
						end;
					}
					mes "[USU commander Elena]";
					mes "Hmm... By the way, are you really going to fight me?";
					mes "I am an expert in killing people. And fighting is not your main occupation. You cannot beat me.";
					next;
					if (select( "But I will fight.", "I agree with you. I give up." ) == 2) {
						cutin "162elena_02.bmp",2;
						mes "[USU commander Elena]";
						mes "Good. Knowing one's limit is wise.";
						close3;
					}
					mes "[USU commander Elena]";
					mes "You're a cleric. Fighting is not your duty. I'm sure your companion also knows that.";
					next;
					mes "[USU commander Elena]";
					mes "Besides, you're just an adventurer. You have no business with us and those guys either. I'm afraid you might get hurt.";
					next;
					if (select( "No, I will fight.", "...I think you're right. I give up." ) == 2) {
						cutin "162elena_02.bmp",2;
						mes "[USU commander Elena]";
						mes "You're wise. You don't have to get hurt yourself being nosy.";
						close3;
					}
					mes "[USU commander Elena]";
					mes "You must a fool who doesn't know what's going on.";
					mes "Do you think I'm kidding? Or your life is too heavy and you'd like to put everything down?";
					next;
					mes "[USU commander Elena]";
					mes "This is the final warning. You stay out of this.";
					mes "Tell the guy downstairs that you had no choice because I intimidated you.";
					next;
					if (select( "This is my problem too.", "Since I don't want to die, I give up." ) == 2) {
						cutin "162elena_02.bmp",2;
						mes "[USU commander Elena]";
						mes "You're wise. Life is important, especially when it's mine.";
						close3;
					}
					mes "[USU commander Elena]";
					mes "...Why is this your problem?";
					mes "That talkative guy is a stooge of the President. But you're an adventurer who can just leave.";
					next;
					if (select( "This is the problem of those who trust me.", "I guess I'd better go." ) == 2) {
						cutin "162elena_02.bmp",2;
						mes "[USU commander Elena]";
						mes "You're wise. Enjoy your adventure in a safer place.";
						close3;
					}
					cutin "162elena_02.bmp",2;
					mes "[USU commander Elena]";
					mes "Well, well, well.";
					mes "Haha, you are so obstinate.";
					mes "I like your spirit. You said you need a cooperation? Why not? I agree.";
					next;
					cutin "",255;
					mes "[" + strcharinfo(0) + "]";
					mes "Oh... Pardon?!";
					next;
					cutin "162elena_01.bmp",2;
					mes "[USU commander Elena]";
					mes "You said you needed my approval to persuade us. So I approve it.";
					mes "I like spunky fellows. It's fun to fight with them.";
					next;
					mes "[USU commander Elena]";
					mes "Ah, don't misunderstand it. I'm not saying I will fight you. I'm saying that I will be on your side.";
					mes "I didn't mean to fight you anyway.";
					next;
					mes "[USU commander Elena]";
					mes "I don't mess with clerics. I don't feel good after fighting them.";
					npctalk "Elena Bolkova: My mom told me I shouldn't beat a cleric.", "Elena Bolkova#16.2rm"; // 116
					next;
					mes "[USU commander Elena]";
					mes "So I'll support the cooperation with the Secret Wings. Do you need my signature?";
					next;
					cutin "",255;
					mes "[" + strcharinfo(0) + "]";
					mes "No, you don't have to. Please show your opinion in front of others next time.";
					next;
					cutin "162elena_01.bmp",2;
					mes "[USU commander Elena]";
					mes "No problem.";
					mes "Since you are our cooperator now, go around and see if there is anyone who has any problem.";
					next;
					mes "[USU commander Elena]";
					mes "Who knows? If you keep helping them, they might have good feeling about you.";
					next;
					mes "[USU commander Elena]";
					mes "While we never forget the blood that we must take a revenge for, we do not forget the gratitude either.";
					mes "If you help them, they will give you a token proving your honor.";
					next;
					mes "[USU commander Elena]";
					mes "Just like the one I'm giving you now.";
					mes "If you want to know what this is for, ask the stubborn guy named 'Strasse' below the stairs.";
					erasequest 16060;	// Fighting is the language of warmonger
					erasequest 16061;	// Fair and equitable result
					setquest 16010;// Battle in great condition
					completequest 14602;// Hunter on second floor
					getitem 25155,10;	// Swz_Honor_Token
					close3;
				case 2:
					mes "[USU commander Elena]";
					mes "Aren't you going to fight me?";
					mes "Haven't you come here to ask for the cooperation between the Secret Wings and Rebellion?";
					next;
					mes "[USU commander Elena]";
					mes "Will you give up the fight?";
					next;
					if (select( "Give up the fight.", "Do not give up the fight." ) == 2) {
						mes "[USU commander Elena]";
						mes "Good. I will wait for you.";
						mes "Tell me when you feel like fighting.";
						close3;
					}
					emotion ET_THINK;
					mes "[USU commander Elena]";
					mes "...... Hmm.";
					next;
					mes "[USU commander Elena]";
					mes "A coward who's scared at me won't be helpful for the Rebellion at all.";
					mes "Get lost.";
					erasequest 16060;	// Fighting is the language of warmonger
					erasequest 16061;	// Fair and equitable result
					close3;
				}
				end;
			case 1:
			case 2:
				if (isbegin_quest(16061) != 2) {
					cutin "162elena_01.bmp",2;
					mes "[USU commander Elena]";
					mes "... Hmm. So this is it.";
					mes "If you want to fight me again, I will give you another chance.";
					next;
					if (select( "Enter the waiting room.", "Do not enter the waiting room." ) == 1) {
						mes "[USU commander Elena]";
						mes "Great. You have guts.";
						mes "Ivan will guide you inside.";
						mes "If you want to surrender during a fight, tell Sorita.";
						mes "Let's do it!";
						close2;
						warp "rebel_in",184,28;
						end;
					}
					mes "[USU commander Elena]";
					mes "Aren't you going to fight me?";
					mes "Haven't you come here to ask for the cooperation with the Rebellion?";
					next;
					mes "[USU commander Elena]";
					mes "Will you give up the fight?";
					next;
					if (select( "Give up the fight.", "Do not give up the fight." ) == 2) {
						mes "[USU commander Elena]";
						mes "Good. I will wait for you.";
						mes "Tell me when you feel like fighting.";
						close3;
					}
					emotion ET_THINK;
					mes "[USU commander Elena]";
					mes "...... Hmm.";
					next;
					mes "[USU commander Elena]";
					mes "A coward who's scared at me won't be helpful for the Rebellion at all.";
					mes "Get lost.";
					erasequest 16011;// Arena entrance
					erasequest 16061;	// Fair and equitable result
					close3;
				}
				cutin "162elena_02.bmp",2;
				emotion ET_DELIGHT;
				mes "[USU commander Elena]";
				mes "Haha! I lost.";
				mes "My feeling was right. It was such a thrilling fight after a long time!";
				next;
				cutin "162elena_01.bmp",2;
				mes "[USU commander Elena]";
				mes "As I promised, I will listen to you. Go ahead.";
				next;
				cutin "",255;
				mes "[" + strcharinfo(0) + "]";
				mes "(So she's listening to me now. Persuading her will be much more difficult.)";
				next;
				mes "[" + strcharinfo(0) + "]";
				mes "Yes. I have come to request a cooperation between the Secret Wings and the Rebellion.";
				mes "In order to persuade the people of Rebellions, I would like to ask you for help...";
				next;
				cutin "162elena_01.bmp",2;
				mes "[USU commander Elena]";
				mes "Okay. I will help you.";
				mes "What should I do?";
				next;
				cutin "",255;
				mes "[" + strcharinfo(0) + "]";
				mes "Pardon? You haven't heard my story yet...";
				next;
				cutin "162elena_02.bmp",2;
				emotion ET_SMILE;
				mes "[USU commander Elena]";
				mes "You don't have to tell me the story. You've already told me the story physically. If I can fight on the same side with you, I will welcome whatever it is.";
				mes "So I support the cooperation with the Secret Wings. Do you need my signature?";
				next;
				cutin "",255;
				mes "[" + strcharinfo(0) + "]";
				mes "No, you don't have to. Please show your opinion in front of others next time.";
				next;
				cutin "162elena_01.bmp",2;
				mes "[USU commander Elena]";
				mes "Good. ...... By the way,";
				mes "If you have time, visit the arena any time.";
				mes "I will fight you even if you come every day.";
				npctalk "Elena Bolkova: Make sure you come back here.", "", bc_self;
				next;
				mes "[USU commander Elena]";
				mes "Since you are our cooperator now, go around and see if there is anyone who has any problem.";
				next;
				mes "[USU commander Elena]";
				mes "Who knows? If you keep helping them, they might have good feeling about you.";
				next;
				mes "[USU commander Elena]";
				mes "While we never forget the blood that we must take a revenge for, we do not forget the gratitude either.";
				mes "If you help them, they will give you a token proving your honor.";
				next;
				mes "[USU commander Elena]";
				mes "Just like the one I'm giving you now.";
				mes "If you want to know what this is for, ask the stubborn guy named 'Strasse' below the stairs.";
				erasequest 16011;// Arena entrance
				erasequest 16060;	// Fighting is the language of warmonger
				erasequest 16061;	// Fair and equitable result
				setquest 16010;// Battle in great condition
				completequest 14602;// Hunter on second floor
				getexp 200000,200000;
				getitem 25155,10;	// Swz_Honor_Token
				close3;
			}
		}
	}
	cutin "162elena_01.bmp",2;
	mes "[USU commander Elena]";
	if (BaseJob == Job_Priest) {
		mes "Hi. What is it now?";
		mes "Have you met our members?";
	}
	else {
		mes "Hi. What is it now?";
		mes "A fight? Welcome!";
	}
	next;

	switch( isbegin_quest(16009) ) {
	case 0:
		.@menu$[0] = "I have come to fight.";
		break;
	case 1:
	case 2:
		switch( isbegin_quest(16011) ) {
		case 0:
			.@menu$[0] = "I am ready.";
			break;
		case 1:
		case 2:
			.@menu$[0] = "...This is it.";
			break;
		}
		if (isbegin_quest(16061) == 2)	// official twisted way to build the menu..
			.@menu$[0] = "How was the result of the fight?";
		break;
	}

	if (lebedev_quest_16_2 == 0 || lebedev_quest_16_2 == 11)
		.@menu$[1] = "I am not busy today, I stopped by.";
	else if (lebedev_quest_16_2 == 10)
		.@menu$[1] = "I have brought Lebedev sisters.";
	else
		.@menu$[1] = "Tell her about Lebedev twins.";

	switch( select( .@menu$[0], .@menu$[1] ) ) {
	case 1:
		switch( checkquest(16010,PLAYTIME) ) {
		case -1:
			break;
		case 0:
		case 1:
			mes "[USU commander Elena]";
			mes "...... Hmm.";
			if (BaseJob == Job_Priest) {
				mes "Are you sure you have to fight me now?";
				mes "If you really think so, come back tomorrow. I called it a day now.";
			}
			else {
				mes "No. Not now.";
				mes "I would like to fight you when you are in the top condition. Come back tomorrow.";
			}
			close3;
		case 2:
			erasequest 16010;// Battle in great condition
			break;
		}
		switch( isbegin_quest(16009) ) {
		case 0:
			if (BaseJob != Job_Priest) {
				cutin "162elena_02.bmp",2;
				mes "[USU commander Elena]";
				mes "Oh, great!";
				mes "Tell me when you are fully ready. I will go to the waiting room.";
				setquest 16009;// Fighting is the language of warmonger
				setquest 16061;	// Fair and equitable result
				close3;
			}
			cutin "162elena_01.bmp",2;
			mes "[USU commander Elena]";
			mes "Hmm...?";
			mes "I told you. I don't fight clerics.";
			next;
			cutin "",255;
			mes "[" + strcharinfo(0) + "]";
			mes "I would like to fight you! Please allow me!";
			next;
			cutin "162elena_01.bmp",2;
			mes "[USU commander Elena]";
			mes "Oh, every time I beat the hell out of a cleric, I become quite unlucky on that day. It's true.";
			mes "So I'd rather not fight a cleric...";
			next;
			mes "[USU commander Elena]";
			mes "............";
			next;
			mes "[USU commander Elena]";
			mes "...Huh, look at your eyes. I have no choice but to fight you.";
			mes "But I will ^0000CDgo very easy on^000000 you. Don't make drama after you defeat me.";
			setquest 16009;// Fighting is the language of warmonger
			setquest 16061;	// Fair and equitable result
			close3;
		case 1:
		case 2:
			break;
		}
		switch( isbegin_quest(16011) ) {
		case 0:
			mes "[USU commander Elena]";
			mes "Are you ready?";
			mes "Shall we go to the waiting room now?";
			next;
			if (select( "Go to the waiting room", "Don't go to the waiting room." ) == 1) {
				mes "[USU commander Elena]";
				mes "In the waiting room, there is ^0000CDIvan, the person in charge of entrance in arena^000000.";
				mes "Enter the arena according to the order in reference to Ivan's guide.";
				next;
				mes "[USU commander Elena]";
				mes "You have two minutes. If you defeat me during two minutes, you win.";
				next;
				mes "[USU commander Elena]";
				mes "If you want to surrender during the fight, tell ^0000CDSorita^000000 beside Ivan.";
				mes "Then you're going to be told off.";
				setquest 16011;// Arena entrance
				close2;
				warp "rebel_in",184,28;
				end;
			}
			mes "[USU commander Elena]";
			mes "Aren't you going to fight me?";
			mes "Hm...";
			next;
			mes "[USU commander Elena]";
			mes "Will you give up the fight?";
			next;
			if (select( "Give up the fight.", "Do not give up the fight." ) == 2) {
				if (BaseJob != Job_Priest) {
					mes "[USU commander Elena]";
					mes "Great, I will be waiting.";
					mes "I enjoy fighting you.";
					close3;
				}
				mes "[USU commander Elena]";
				mes "As I told you, you don't have to do this... You're so persistent.";
				mes "Well, I remember I told you that I like it.";
				close3;
			}
			mes "[USU commander Elena]";
			if (BaseJob != Job_Priest)
				mes "...You made me expect it. And what are you doing now?";
			else
				mes "Good idea. You'll be quite sad if you are beat up without having done anything wrong. Won't you?";
			erasequest 16009;// Fighting is the language of warmonger
			erasequest 16061;	// Fair and equitable result
			close3;
		case 1:
		case 2:
			if (isbegin_quest(16061) != 2) {
				mes "[USU commander Elena]";
				if (BaseJob == Job_Priest)
					mes "Don't you think you've had enough of it by now? If you want to quit, tell me any time.";
				else {
					mes "...Hmm. You're not in a top condition?";
					mes "If you want to do this again, welcome.";
				}
				next;
				if (select( "Enter the waiting room.", "Do not enter the waiting room." ) == 1) {
					mes "[USU commander Elena]";
					if (BaseJob == Job_Priest)
						mes "Ho, you have the guts.";
					else
						mes "I like it.";
					mes "Ivan will guide you inside.";
					mes "If you want to surrender, tell Sorita.";
					mes "Let's do it!";
					close2;
					warp "rebel_in",184,28;
					end;
				}
				mes "[USU commander Elena]";
				if (BaseJob == Job_Priest) {
					mes "You're not in a top condition? Go inside and take some rest.";
					mes "Shall we stop?";
				}
				else {
					mes "You're not in a top condition?";
					mes "Take care of yourself.";
				}
				next;
				mes "[USU commander Elena]";
				mes "Don't make me feel sorry for you.";
				next;
				if (select( "Give up the fight.", "Do not give up the fight." ) == 2) {
					mes "[USU commander Elena]";
					if (BaseJob == Job_Priest)
						mes "Hey, you don't have to do this...";
					else {
						mes "Great, I will be waiting.";
						mes "I enjoy fighting you.";
					}
					close3;
				}
				mes "[USU commander Elena]";
				if (BaseJob == Job_Priest)
					mes "Right. Let's stop the fight.";
				else
					mes "...We have no choice. Come back later.";
				erasequest 16009;// Fighting is the language of warmonger
				erasequest 16011;// Arena entrance
				erasequest 16061;	// Fair and equitable result
				close3;
			}
			if (BaseJob == Job_Priest) {
				cutin "162elena_01.bmp",2;
				mes "[USU commander Elena]";
				mes "I told you that I'd ^0000CDgo easy on you^000000. Although won the fight, you didn't actually win it. Got it?";
				next;
				emotion ET_DELIGHT;
				mes "[USU commander Elena]";
				mes "...Being mean is not my character. This is why I don't want to be entangled with clerics...";
				mes "Hey, pronounce the benediction for me before leaving.";
			}
			else {
				cutin "162elena_02.bmp",2;
				emotion ET_DELIGHT;
				mes "[USU commander Elena]";
				mes "Hahaha, great fight!";
				mes "What a pity. I wanted to win today...";
				next;
				mes "[USU commander Elena]";
				mes "I'm glad that you are becoming stronger.";
				mes "I can see the result of steady training.";
				next;
				mes "[USU commander Elena]";
				mes "Come back. I can fight you everyday.";
			}
			erasequest 16009;// Fighting is the language of warmonger// Fighting is the language of warmonger
			erasequest 16011;// Arena entrance
			erasequest 16061;	// Fair and equitable result
			setquest 16010;// Battle in great condition
			getexp 400000,400000;
			getitem 25155,3;// Swz_Honor_Token
			close3;
		}
		end;
	case 2:
		if (terra_gloria_main < 17) {
			cutin "162elena_02.bmp",2;
			mes "[USU commander Elena]";
			mes "Not busy? That's good.";
			mes "Enjoy it while you can.";
			close3;
		}
		if (lebedev_quest_16_2 == 0) {
			mes "[USU commander Elena]";
			mes "Not busy? That's a good news.";
			mes "Apart from fighting... I would like to ask you for a favor.";
			next;
			mes "[USU commander Elena]";
			mes "I'm not sure if I can say this to an outsider... But you are close to the Rebellion now.";
			mes "Will you keep the secret?";
			next;
			if (select( "Yes, I will.", "It will be difficult." ) == 2) {
				mes "[USU commander Elena]";
				mes "... Then I can't tell you.";
				mes "Forget what I've said.";
				close3;
			}
			mes "[USU commander Elena]";
			mes "Yes. Make sure you keep the secret.";
			next;
			mes "[USU commander Elena]";
			mes "Good. First of all... do you know about USU that I am commanding?";
			next;
			if (select( "Superior... unit?", "Isn't it where you isolated problem children?" ) == 1) {
				mes "[USU commander Elena]";
				mes "... No. It's not true.";
				mes "It's actually the opposite.";
			}
			else {
				mes "[USU commander Elena]";
				mes "... What?";
				next;
				cutin "162elena_02.bmp",2;
				mes "[USU commander Elena]";
				mes "Haha... Kaka. Right. You know very well about it.";
				mes "But don't say that in front of the troops. They might shoot you.";
			}
			next;
			cutin "162elena_01.bmp",2;
			mes "[USU commander Elena]";
			mes "USU stands for ^0000CDUnder Seal Unit^000000. It's a group of weirdos who did some crazy things.";
			mes "Since they had done great job for the Rebellion, we isolate them with lead on their neck rather than death penalty or discharging.";
			next;
			mes "[USU commander Elena]";
			mes "As I told you, it's a unit outside our regulation. So I can't tell you about it in detail. But we do several things that Rebellions don't do.";
			mes "You can imagine all you want, including murder or violence. It will be worse than that.";
			next;
			mes "[USU commander Elena]";
			mes "But we still have a absolute rule. We don't mess up with other Rebellions.";
			mes "Although we let them do whatever they want outside, we teach them who's holding their lead.";
			next;
			mes "[USU commander Elena]";
			mes "And there are new members... ^0000CDJana Levedeva^000000 and ^0000CDIlya Lebedev^000000. They are twins and still young.";
			mes "Although they are young, their ability is outstanding. The problem is that they are out of control.";
			next;
			mes "[USU commander Elena]";
			mes "They skip the training and hurt a squadder by causing an accident during training... Recently, they tried to run away from the unit and got caught. So the duty manager and I had a hard time.";
			next;
			mes "[USU commander Elena]";
			mes "According to the regulation, we have to discharge them.";
			mes "... But they are still under age. According to the commander of their former unit, they don't have parents.";
			next;
			mes "[USU commander Elena]";
			mes "If we kick out these guys, they might become hooligans. At the worst, they will be involved in crime.";
			mes "It sounds funny that I'm saying this as a commander of USU...";
			next;
			emotion ET_THINK;
			mes "[USU commander Elena]";
			mes "At least I don't want to see kids disgracing themselves.";
			mes "But by looking at what they are doing, they will live as animals with lead in USU at best.";
			next;
			mes "[USU commander Elena]";
			mes "... Maybe they are already regarding me as an enemy. So they won't listen to me.";
			mes "I know how to make them listen to me. But it will only make the situation worse.";
			next;
			mes "[USU commander Elena]";
			mes "So I request you to check their problem and solve it, adventurer.";
			mes "If they don't say anything, ask other fellows around them.";
			next;
			mes "[USU commander Elena]";
			mes "Would you help me?";
			next;
			if (select( "I will help.", "No." ) == 2) {
				mes "[USU commander Elena]";
				mes "I don't want to demand you to do this.";
				mes "It's a problem inside our unit. So we'd better handle ourselves.";
				next;
				mes "[USU commander Elena]";
				mes "Forget what I told you.";
				close3;
			}
			mes "[USU commander Elena]";
			mes "Thanks.";
			mes "^0000CDYana and Ilya twins^000000 are in the lobby.";
			mes "They have bright silver hairs and they're always together. You'll find them easily.";
			next;
			mes "[USU commander Elena]";
			mes "In case you don't get any outcome after talking to them, talk to other fellows.";
			mes "The mess personnel... and another fellow in the outside store seems to want to say something.";
			npctalk "Elena Bolkova: Are they it Mason and Milo in Clana Nemieri..?", "", bc_self;
			setquest 16012;// Troublesome twin
			lebedev_quest_16_2 = 1;
			questinfo_refresh();
			close3;
		}
		if (lebedev_quest_16_2 == 1) {
			mes "[USU commander Elena]";
			mes "So, you talked to them?";
			mes "Hmm, not yet...";
			next;
			mes "[USU commander Elena]";
			mes "You are the only one I can trust now.";
			mes "I'll count on you, adventurer.";
			close3;
		}
		if (lebedev_quest_16_2 < 5) {
			mes "[USU commander Elena]";
			mes "Did you talk to them?";
			next;
			mes "[USU commander Elena]";
			mes "If you cannot judge it easily, you can talk to ^0000CDother fellows around them^000000.";
			npctalk "Elena Bolkova: Seems like Milo and Mason have many things to say.", "", bc_self;
			close3;
		}
		if (lebedev_quest_16_2 == 5) {
			mes "[USU commander Elena]";
			mes "So, how is it going?";
			next;
			emotion ET_THINK;
			mes "[USU commander Elena]";
			mes "Hmm... Not at all?";
			mes "I though they might open their mind to a stranger. But I was wrong.";
			next;
			mes "[USU commander Elena]";
			mes "...There's someone you should talk to lastly.";
			mes "I didn't want to do this.";
			npctalk "Elena Bolkova: I wanted to solve this problem myself if possible.", "", bc_self;
			next;
			mes "[USU commander Elena]";
			mes "Go downstairs and find ^0000CDEricsson Adler, commander of a detached force^000000. He must be nearby the fireplace.";
			mes "He's middle-aged man... and a former boss of the twins.";
			next;
			mes "[USU commander Elena]";
			mes "Since the guys have been assigned to my unit, I wanted to take care of them here. But they're not helping us.";
			mes "If I ask Adler about the guys, it won't look so good. That's why I am requesting you. Please.";
			erasequest 16015;// The cause of failure is a careless attempt
			setquest 16016;// Borrowing wisdom of the experts
			lebedev_quest_16_2 = 6;
			questinfo_refresh();
			close3;
		}
		if (lebedev_quest_16_2 == 6) {
			mes "[USU commander Elena]";
			mes "^0000CDEricsson Adler, commander of a detached force^000000 must be nearby the fireplace.";
			next;
			mes "[USU commander Elena]";
			mes "He's a former boss of the twins.";
			npctalk "Elena Bolkova: I didn't want to do this.", "", bc_self;
			close3;
		}
		if (lebedev_quest_16_2 == 7) {
			mes "[USU commander Elena]";
			mes "How's it going on now?";
			close3;
		}
		if (lebedev_quest_16_2 == 8) {
			cutin "",255;
			mes "You told Elena Bolkova what Lebedev twins told you.";
			next;
			cutin "162elena_01.bmp",2;
			mes "[USU commander Elena]";
			mes "So... That was the reason.";
			mes "I had already heard about that accident.";
			next;
			mes "[USU commander Elena]";
			mes "But I had no idea they were feeling such a burden.";
			mes "Since they were out of control... there was no way for me to recognize it.";
			next;
			emotion ET_THINK;
			mes "[USU commander Elena]";
			mes "Well, they're still kids after all. Since they have great ability, Me and other squadders treated them as adults.";
			mes "We should not have done it...";
			next;
			mes "[USU commander Elena]";
			mes "And I should have talked to Adler beforehand.";
			mes "Thanks, " + strcharinfo(0) + ". You helped me so much.";
			next;
			mes "[USU commander Elena]";
			mes "I guess I have to tell them something anyway.";
			mes "Will you help me once again? Tell them that I'm looking for them. And you come with them please.";
			erasequest 16017;// Twin's sincere confession
			setquest 16018;// Encourage instead of punishment
			lebedev_quest_16_2 = 9;
			questinfo_refresh();
			close3;
		}
		if (lebedev_quest_16_2 == 9) {
			mes "[USU commander Elena]";
			mes "The twins will be nearby the place where they've always been.";
			mes "Tell them about me and come back with them.";
			close3;
		}
		if (lebedev_quest_16_2 == 10) {
			mes "[USU commander Elena]";
			mes "So you're all here? I've heard the whole story.";
			next;
			cloakoffnpc "Ilya Lebedev#16.2rms", getcharid(0);
			cloakoffnpc "Jana Levedeva#16.2rms", getcharid(0);
			cutin "",255;
			mes "[Ilya Lebedev]";
			mes "Yes.";
			next;
			mes "[Jana Levedeva]";
			mes "......Yes...";
			next;
			cutin "162elena_01.bmp",2;
			mes "[USU commander Elena]";
			mes "Jana Levedeva and Ilya Lebedev! Attention!";
			npctalk "Jana Levedeva: Yes!", "Jana Levedeva#16.2rms", bc_self;
			npctalk "Ilya Lebedev: Yes! Yep!", "Ilya Lebedev#16.2rms", bc_self;
			next;
			emotion ET_ANGER, getnpcid(0, "Elena Bolkova#16.2rm");
			mes "[USU commander Elena]";
			mes "Are you insane? You ran away from the unit for a private reason. And you hurt your companion!";
			next;
			mes "[USU commander Elena]";
			mes "This may look like a mercenary group like a piece of garbage. But we deal with people's life. We have disciplines that you must abide by.";
			next;
			cutin "",255;
			mes "[Lebedev twins]";
			mes "......";
			next;
			mes "[Lebedev twins]";
			mes "......We're sorry...";
			next;
			cutin "162elena_01.bmp",2;
			mes "[USU commander Elena]";
			mes "But before I scold you about it...";
			mes "I am sorry.";
			npctalk "Jana Levedeva: Pardon...?", "Jana Levedeva#16.2rms", bc_self;
			npctalk "Ilya Lebedev: Sorry...?", "Ilya Lebedev#16.2rms", bc_self;
			next;
			mes "[USU commander Elena]";
			mes "I didn't know that you had been forced so much and could not consider it. And I wasn't there for counseling even though I was your boss.";
			next;
			mes "[USU commander Elena]";
			mes "This is totally my fault and my mistake.";
			mes "I apologize. You had a rough time of it.";
			npctalk "Elena Bolkova: I sincerely apologize.", "", bc_self;
			next;
			cutin "",255;
			mes "[Lebedev twins]";
			mes "......No, no... We have to apologize.";
			next;
			cutin "162elena_01.bmp",2;
			mes "[USU commander Elena]";
			mes "From now on, I will pay more attention to you.";
			mes "Would you please try to make sure this never happens again?";
			next;
			cutin "",255;
			mes "[Jana Levedeva]";
			mes "...No... We are the ones who should apologize.";
			next;
			mes "[Ilya Lebedev]";
			mes "It will never happen again...";
			next;
			cutin "162elena_01.bmp",2;
			mes "[USU commander Elena]";
			mes "Since this is a military group, you have regulations to abide by.";
			mes "But since you are minors, I would like to give you an opportunity to grow as much as possible.";
			next;
			mes "[USU commander Elena]";
			mes "Jana Levedeva and Ilya Lebedev. I will exclude you from the real fight for some time.";
			mes "Instead, feel free to do the works that you can do inside the unit.";
			next;
			mes "[USU commander Elena]";
			mes "You can make new friends, start a hobby or enhance your shooting ability. You can even do things that I cannot expect.";
			mes "Do what you want to do. Make sure you abide by the regulations.";
			next;
			cutin "",255;
			mes "[Jana Levedeva]";
			mes "So we're... not being kicked out?";
			next;
			cutin "162elena_01.bmp",2;
			mes "[USU commander Elena]";
			mes "Don't make me say it twice. I told you I was responsible for what happened.";
			next;
			cutin "",255;
			mes "[Ilya Lebedev]";
			mes "Oh... Thank you so much!";
			mes "And... Sorry.";
			npctalk "Ilya Lebedev: I'm sorry... Commander Bolkova...", "Ilya Lebedev#16.2rms", bc_self;
			next;
			mes "[Jana Levedeva]";
			mes "Thank you, commander...!";
			npctalk "Jana Levedeva: I am sorry...", "Jana Levedeva#16.2rms", bc_self;
			next;
			cutin "162elena_02.bmp",2;
			mes "[USU commander Elena]";
			mes "That's all about it. You can go back now. There's something I'd like to discuss with the adventurer.";
			mes "And if you need anything, talk to me any time.";
			next;
			cutin "",255;
			mes "[Lebedev twins]";
			mes "Yes!";
			next;
			cloakonnpc "Ilya Lebedev#16.2rms", getcharid(0);
			cloakonnpc "Jana Levedeva#16.2rms", getcharid(0);
			cutin "162elena_01.bmp",2;
			mes "[USU commander Elena]";
			mes "Phew...";
			mes "Great job, " + strcharinfo(0) + ".";
			mes "Thanks to your support and concern, we managed to do this.";
			next;
			mes "[USU commander Elena]";
			mes "Ha... I told them to do what they want. And they will wonder what to do for a while.";
			mes "For those guys to do what they want, they'll need your help again.";
			mes "Please help them at that time.";
			next;
			cutin "162elena_02.bmp",2;
			mes "[USU commander Elena]";
			mes "......Thanks.";
			mes "I will count on you in the future.";
			completequest 16019;// Elena Volkova's Solution
			getexp 200000,200000;
			getitem 25155,10;// Swz_Honor_Token
			lebedev_quest_16_2 = 11;
			questinfo_refresh();
			close3;
		}
		mes "[USU commander Elena]";
		mes "Are you taking care of them well?";
		mes "Wow, I am relieved that they have a babysitter now.";
		next;
		cutin "162elena_02.bmp",2;
		mes "[USU commander Elena]";
		mes "Haha! Just kidding. Thank you for your support. You're so reliable.";
		mes "Take care of the guys please.";
		close3;
	}
	end;

OnInit:
	questinfo( QTYPE_QUEST, QMARK_NONE, "isbegin_quest(16011) == 0 && isbegin_quest(14602) == 1" );
	questinfo( QTYPE_QUEST, QMARK_NONE, "isbegin_quest(16061) == 2" );
	questinfo( QTYPE_QUEST, QMARK_NONE, "checkquest(16010,PLAYTIME) == 2" );

	// twin quest main
	questinfo( QTYPE_QUEST, QMARK_NONE, "terra_gloria_main > 16 && (lebedev_quest_16_2 == 0 || lebedev_quest_16_2 == 5 || lebedev_quest_16_2 == 8 || lebedev_quest_16_2 == 10)" );

	// twins daily quest : "Service: Cookies delivery"
	questinfo( QTYPE_QUEST, QMARK_NONE, "isbegin_quest(16031) == 1 && countitem(25161) > 0" );
	end;
}

rebel_in,177,30,3	script	Sorita Doritas#16.2rm	4_M_GUNSLINGER3,{
	mes "[Tough Guy Sorita]";
	mes "What is it now?";
	next;
	if (select( "I want to go out.", "Nothing." ) == 2) {
		mes "[Tough Guy Sorita]";
		mes "Do not talk to me when you have nothing to say.";
		close;
	}
	mes "[Tough Guy Sorita]";
	mes "What are you talking about? So you're telling me you would like to run away without fighting? Aren't you?";
	next;
	mes "[Tough Guy Sorita]";
	mes "You must be kidding. What kind of nonsense is this! Why did you come here in the first place and annoy me?";
	next;
	emotion ET_FRET;
	mes "[Tough Guy Sorita]";
	mes "Dang, I have been quite upset after the commander gave me this useless work. And you make me even more upset. Get the hell out of here!";
	close2;
	warp "rebel_in",68,76;
	end;
}

// rebel_in,177,28,5	script	Ivan Ivanov#16.2rm	4_M_REBELLION2,10,10,{
// rebel_in,177,28,3	script	Ivan Ivanov#16.2rmA	HIDDEN_NPC,{
rebel_in,177,28,5	script	Ivan Ivanov#16.2rm	4_M_REBELLION2,{
	end;
OnInit:
	questinfo( QTYPE_QUEST, QMARK_NONE, "isbegin_quest(16061) == 1" );
	waitingroom "Enter Rebellion arena",20,"Ivan Ivanov#16.2rm::OnEvent",1;
	end;
OnEvent:
	if (.event_start == 0) {
		.event_start = 1;
		cloakoffnpc "#job_rmA";
		warpwaitingpc "rebel_in",201,19;
	}
	end;
OnStart:
	initnpctimer;
	end;
OnTimer3000:
	stopnpctimer;
	disablenpc "Naga#16.2rmA";
	areawarp "rebel_in",192,12,207,27,"rebel_in",68,76;
	.event_start = 0;
	if (getwaitingroomstate(33) == true)	// warp next player in waitingroom
		donpcevent "Ivan Ivanov#16.2rm::OnEvent";
	end;
}

rebel_in,200,19,0	script	#job_rmA	HIDDEN_WARP_NPC,12,12,{
	end;
OnTouch:
	cloakonnpc "#job_rmA";
	donpcevent "Milo River#16.2rmA::OnStart";
	.base_job = BaseJob;
	end;
OnStart:
	monster "rebel_in",201,19, "Elena Bolkova",3630,1, "#job_rmA::OnMobDead";	// EP16_2_E_BOLKOBA
	if (.base_job == Job_Priest)
		setunitdata $@mobid[0], UMOB_HP, 19000;
	else
		setunitdata $@mobid[0], UMOB_HP, 1100000;
	end;
OnMobDead:
	stopnpctimer;
	completequest 16061;	// Fair and equitable result
	npctalk "Milo River: " + strcharinfo(0) + ", you win! You can go out and magnify yourself. You are moving to the lobby in three seconds.";
	donpcevent "Ivan Ivanov#16.2rm::OnStart";
	enablenpc "Naga#16.2rmA";
	end;
OnInit:
	cloakonnpc "#job_rmA";
	end;
}

rebel_in,204,19,3	script	Milo River#16.2rmA	4_M_GUNSLINGER2,{
	end;
OnStart:
	initnpctimer;
	end;
OnTimer4000:
	npctalk "Milo River: Hel, hello. I am Milo River, the referee of this fight.";
	end;
OnTimer6000:
	npctalk "Milo River: The fight starts after 10 seconds. If you defeat commander Bolkova in two minutes, you win.";
	end;
OnTimer11000:
	npctalk "Milo River: Five more seconds.";
	end;
OnTimer12000:
	npctalk "Milo River: Four more seconds.";
	end;
OnTimer13000:
	npctalk "Milo River: Three more seconds.";
	end;
OnTimer14000:
	npctalk "Milo River: Two more seconds.";
	end;
OnTimer15000:
	npctalk "Milo River: One more second.";
	end;
OnTimer16000:
	npctalk "Milo River: Let the match begin!";
	donpcevent "#job_rmA::OnStart";
	end;
OnTimer18000:
	npctalk "Milo River: Sometimes she doesn't fight so hard according to her mood. Just hope that she is feeling good today.";
	end;
OnTimer126000:
	npctalk "Milo River: The fight will end in 10 seconds.";
	end;
OnTimer131000:
	npctalk "Milo River: The fight will end in five seconds.";
	end;
OnTimer132000:
	npctalk "Milo River: Four more seconds.";
	end;
OnTimer133000:
	npctalk "Milo River: Three more seconds.";
	end;
OnTimer134000:
	npctalk "Milo River: Two more seconds.";
	end;
OnTimer135000:
	npctalk "Milo River: One more second.";
	end;
OnTimer136000:
	stopnpctimer;
	killmonster "rebel_in", "#job_rmA::OnMobDead";
	npctalk "Milo River: The fight is over. Due to the timeout, our commander wins. We will move to the lobby in three seconds.";
	donpcevent "Ivan Ivanov#16.2rm::OnStart";
	end;
}

rebel_in,200,19,0	script	Naga#16.2rmA	HIDDEN_WARP_NPC,12,12,{
	end;
OnTouch:
	setpcblock PCBLOCK_NPC, true;
	sleep2 3000;	// player attached
	setpcblock PCBLOCK_NPC, false;
	end;
}

// Square Leader - start the Old Lady part
rebel_in,122,71,3	script	Rebellion leader#162gmb	4_M_RUPERT,{
	if (terra_gloria_main < 16) {
		mes "[Rebellion leader]";
		mes "Who are you?";
		next;
		mes "[Rebellion leader]";
		mes "If you are lost, go downstairs and talk to others.";
		mes "They will let you know how to get out of here.";
		close;
	}
	if (terra_gloria_lady_part == 0) {
		mes "[Rebellion leader]";
		mes "Who are you?";
		next;
		mes "[Rebellion leader]";
		mes "If you are lost, go downstairs and talk to the others.";
		mes "They will let you know how to get out of here.";
		next;
		mes "[Rebellion leader]";
		mes "Hey, you two there!";
		npctalk "Rebellion leader: Hey, you two there!", "", bc_self;
		next;
		mes "[Young Rebellion]";
		mes "Yes!!! Yep!!!";
		emotion ET_SURPRISE, getnpcid(0, "Young Rebellion#162gmbs1");
		emotion ET_SURPRISE, getnpcid(0, "Young Rebellion#162gmbs2");
		npctalk "Young Rebellion : Yes Sir!!!", "Young Rebellion#162gmbs1", bc_self;
		npctalk "Young Rebellion : Yes Sir!!!", "Young Rebellion#162gmbs2", bc_self;
		next;
		mes "[Rebellion leader]";
		mes "Escort this adventurer safely downstairs.";
		mes "Seems like he has lost his way.";
		next;
		mes "[Young Rebellion]";
		mes "Yes! I will!!!!";
		emotion ET_OK, getnpcid(0, "Young Rebellion#162gmbs1");
		emotion ET_OK, getnpcid(0, "Young Rebellion#162gmbs2");
		npctalk "Young Rebellion : Yes! I will!!!!", "Young Rebellion#162gmbs1", bc_self;
		npctalk "Young Rebellion : Yes! I will!!!!", "Young Rebellion#162gmbs2", bc_self;
		next;
		mes "[Rebellion leader]";
		mes "And if by any chance...... Well, I guess you already know that part. I will hand it to you.";
		npctalk "Rebellion leader : Do you understand what I'm saying?", "", bc_self;
		next;
		mes "[Young Rebellion]";
		mes "Oh.. Yes Sir!";
		emotion ET_AHA, getnpcid(0, "Young Rebellion#162gmbs1");
		emotion ET_AHA, getnpcid(0, "Young Rebellion#162gmbs2");
		next;
		mes "[Young Rebellion]";
		mes "Please follow me, this way.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Wait!";
		next;
		mes "[Rebellion leader]";
		mes "Is there anything else?";
		next;
		select("Tell the leader about having saved Gonie.");
		mes "[Rebellion leader]";
		mes "Oh!";
		mes "I see!";
		mes "Thank you so much for helping our youngster.";
		emotion ET_BEST;
		next;
		mes "[Rebellion leader]";
		mes "Hmm.. As I expected......";
		mes "Gonie......";
		emotion ET_THINK;
		next;
		mes "[Young Rebellion]";
		mes "The one who went to Einbroch not long ago......";
		next;
		mes "[Rebellion leader]";
		mes "Ah!";
		mes "That guy?";
		emotion ET_AHA;
		next;
		mes "[Rebellion leader]";
		mes "Haha!";
		mes "This fellow is full of chivalry! It's difficult to find people like this nowadays.";
		mes "Normally they just pass by......";
		next;
		mes "[Rebellion leader]";
		mes "Especially after finding that he was wearing a Rebellion suit.";
		next;
		mes "[Rebellion leader]";
		mes "What do you say?";
		next;
		mes "[Rebellion leader]";
		mes "By looking at your eyes, I see you haven't come to hear gratitude from us.";
		emotion ET_SCRATCH;
		next;
		mes "[Rebellion leader]";
		mes "The man called Lazy who came with you...";
		mes "He's been wandering around here.";
		next;
		mes "[Rebellion leader]";
		mes "You helped Gonie by chance. But you didn't come here by chance. Did you?";
		next;
		mes "[Rebellion leader]";
		mes "You'd better think twice before you answer.";
		emotion ET_PROFUSELY_SWAT, playerattached();
		next;
		if (select( "Talk about cooperation.", "Go back." ) == 2) {
			mes "[Rebellion leader]";
			mes "Be careful on your way home.";
			mes "The public order is not so good in this area.";
			close;
		}
		mes "[Rebellion leader]";
		mes "Help?";
		emotion ET_QUESTION;
		next;
		mes "[Rebellion leader]";
		mes "Ha...";
		mes "I think you are misunderstanding something.";
		next;
		mes "[Rebellion leader]";
		mes "Surely, I want to express my gratitude for what you did for Gonie.";
		next;
		mes "[Rebellion leader]";
		mes "But!";
		mes "What you are saying now is a totally different issue.";
		next;
		mes "[Rebellion leader]";
		mes "Secret Wings?";
		mes "Ha! Don't make me laugh!";
		mes "The fact you say it now shows that you know something about the relationship between us and them. Am I right?";
		emotion ET_FRET;
		next;
		mes "[Rebellion leader]";
		mes "If you don't, that means you are just being exploited. Then you just have to go back gently.";
		next;
		mes "[Rebellion leader]";
		mes "This is all I can tell you.";
		mes "Please leave now.";
		emotion ET_GO;
		next;
		mes "[Young Rebellion]";
		mes "Please follow me, this way.";
		emotion ET_CRY, getnpcid(0, "Young Rebellion#162gmbs1");
		next;
		mes "[Rebellion leader]";
		mes "Leave the adventurer alone.";
		npctalk "He will go out on his own, unless he wants to die.", "", bc_self;
		next;
		mes "[Rebellion leader]";
		mes "He must know his position better than anyone else.";
		mes "The man called Lazy, too.";
		terra_gloria_lady_part = 1;
		setquest 11454;// Doubt
		close;
	}
	if (terra_gloria_lady_part < 5) {
		mes "[Rebellion leader]";
		mes "Secret Wings?";
		mes "Ha! Don't make me laugh!";
		mes "The fact you say it now shows that you know something about the relationship between us and them. Am I right?";
		emotion ET_FRET;
		next;
		mes "[Rebellion leader]";
		mes "If you don't, that means you are just being exploited. Then you just have to go back gently.";
		next;
		mes "[Rebellion leader]";
		mes "This is all I can tell you.";
		mes "Please leave now.";
		emotion ET_GO;
		close;
	}
	if (terra_gloria_lady_part == 5) {
		mes "[Rebellion leader Rupert]";
		mes "What is it?";
		mes "Are you still here?";
		emotion ET_FRET;
		next;
		mes "[Rebellion leader Rupert]";
		mes "If I didn't see a ghost, you are living a pretty long life. Aren't you?";
		next;
		cloakoffnpc "Rebellion Guard leader#4", getcharid(0);
		mes "[Rebellion Guard leader Larcis]";
		mes "Sir!";
		next;
		mes "[Rebellion leader Rupert]";
		mes "Ah!";
		mes "Guard leader!";
		mes "Good that you're here.";
		next;
		mes "[Rebellion leader Rupert]";
		mes "Take this fellow out, now.";
		mes "I thought you would leave on your own, if you cared for your life. But you are still hanging around here.";
		next;
		mes "[Rebellion leader Rupert]";
		mes "It's so annoying to see this rat wandering around in my space.";
		next;
		mes "[Rebellion Guard leader Larcis]";
		mes "There's something more important now. Here's a letter from Dien.";
		next;
		mes "[Rebellion leader Rupert]";
		mes "A letter from Dien?";
		emotion ET_HUK;
		next;
		mes "[Rebellion Guard leader Larcis]";
		mes "Yes. Here it is...";
		emotion ET_PROFUSELY_SWAT, getnpcid(0, "Rebellion Guard leader#4");
		next;
		mes "[Rebellion leader Rupert]";
		mes "It's quite unusual to receive a letter from her.";
		next;
		mes "[Rebellion leader Rupert]";
		mes "Let me see... I agree. Do you agree, too?";
		emotion ET_QUESTION;
		next;
		mes "[Rebellion leader Rupert]";
		mes "Hmm?";
		mes "Agree with what?";
		emotion ET_QUESTION;
		next;
		select("Talk about cooperation.");
		mes "[Rebellion leader Rupert]";
		mes "Hmm..........";
		next;
		mes "[Rebellion leader Rupert]";
		mes "Guard leader...";
		mes "I think I have seen a phantom. Would you like to read it?";
		emotion ET_HUM;
		next;
		mes "[Rebellion Guard leader Larcis]";
		mes "Yeah?";
		mes "Yes! Sir!";
		emotion ET_PROFUSELY_SWAT, getnpcid(0, "Rebellion Guard leader#4");
		erasequest 11458;// Doubt
		setquest 11459;// Doubt
		terra_gloria_lady_part = 6;
		close;
	}
	if (terra_gloria_lady_part == 6) {
		mes "[Rebellion leader Rupert]";
		mes "Hmm.........";
		next;
		mes "[Rebellion leader Rupert]";
		mes "Guard leader...";
		mes "I think I have seen a phantom. Would you like to read it?";
		emotion ET_HUM;
		next;
		cloakoffnpc "Rebellion Guard leader#4", getcharid(0);
		mes "[Rebellion Guard leader Larcis]";
		mes "Yeah?";
		mes "Yes! Sir!";
		emotion ET_PROFUSELY_SWAT, getnpcid(0, "Rebellion Guard leader#4");
		close;
	}
	if (terra_gloria_lady_part == 7) {
		mes "[Rebellion leader Rupert]";
		mes "What?";
		mes "The commander?";
		emotion ET_HUK;
		next;
		mes "[Rebellion leader Rupert]";
		mes "What the hell... Is that jerk still alive after sending this letter to the commander?";
		emotion ET_HUK;
		next;
		mes "[Rebellion leader Rupert]";
		mes "What did the commander say?";
		mes "He is not the type of a man who would just sit down after listening to it. Is he?";
		next;
		mes "[Rebellion Guard leader Larcis]";
		mes "Erst agrees with it, too.";
		next;
		mes "[Rebellion leader Rupert]";
		mes "What?";
		emotion ET_HUK;
		next;
		mes "[Rebellion leader Rupert]";
		mes "Ha!";
		mes "This is nonsense.";
		emotion ET_CONFUSE;
		next;
		mes "[Rebellion leader Rupert]";
		mes "I cannot accept this.";
		mes "I don't know what you did to them. But I will talk to them again.";
		next;
		mes "[Rebellion leader Rupert]";
		mes "Guard leader!";
		mes "Where is Dien?";
		mes "In the room?";
		next;
		mes "[Dien]";
		mes "You don't have to come in, Rupert.";
		mes "It was so noisy outside, so I came out. It was you.";
		emotion ET_HNG, getnpcid(0, "Dien#162gmbs2");
		cloakoffnpc "Dien#162gmbs2", getcharid(0);
		erasequest 11460;// Doubt
		setquest 11461;// Doubt
		terra_gloria_lady_part = 8;
		close;
	}
	if (terra_gloria_lady_part == 8) {
		mes "[Rebellion leader Rupert]";
		mes "I cannot accept this.";
		mes "I don't know what you did to them. But I will talk to them again.";
		next;
		mes "[Rebellion leader Rupert]";
		mes "Guard leader!";
		mes "Where is Dien?";
		mes "In the room?";
		next;
		cloakoffnpc "Dien#162gmbs2", getcharid(0);
		mes "[Dien]";
		mes "You don't have to come in, Rupert.";
		mes "It was so noisy outside, so I came out. It was you.";
		emotion ET_HNG, getnpcid(0, "Dien#162gmbs2");
		close;
	}
	if (terra_gloria_lady_part == 9 || terra_gloria_lady_part == 10) {
		cloakoffnpc "Dien#162gmbs2", getcharid(0);
		if (terra_gloria_lady_part == 9) {
			cloakoffnpc "Rebellion Guard leader#4", getcharid(0);
			mes "[Rebellion leader Rupert]";
			mes "Guard leader!";
			mes "What are you doing!";
			mes "Escort Dien to the room.";
			emotion ET_FRET, getnpcid(0, "Dien#162gmbs2");
			next;
			mes "[Rebellion senior Dien]";
			mes "You and I just do not appear to communicate.";
			mes "I didn't know you were so stubborn...";
			cutin "ep162_dn03.bmp",2;
			next;
			cutin "",255;
			mes "[Rebellion leader Rupert]";
			mes "It's all because of you, Dien.";
			mes "I still remember you telling me a story about them. You were so angry with them. Now you make this choice.";
			next;
			mes "[Rebellion leader Rupert]";
			mes "As you put on years, your memory and judgment are not as good as they used to be.";
			npctalk "Rebellion leader : Dang!", "", bc_self;
			next;
			mes "[Rebellion senior Dien]";
			mes "What!";
			mes "What have you just said!!!";
			npctalk "Dien : Are you trying to insult me?", "Dien#162gmbs2", bc_self;
			emotion ET_FRET, getnpcid(0, "Dien#162gmbs2");
			emotion ET_HUK;
			emotion ET_HUK, getnpcid(0, "Rebellion Guard leader#4");
			emotion ET_HUK, getnpcid(0, "Young Rebellion#162gmbs1");
			emotion ET_HUK, getnpcid(0, "Young Rebellion#162gmbs2");
			emotion ET_HUK, playerattached();
			cutin "ep162_dr_cut.bmp",4;
			next;
			mes "[Rebellion senior Dien]";
			mes "At that time, you were just an infant in diapers. How do you happen to know so much about them?";
			next;
			mes "[Rebellion senior Dien]";
			mes "Did you experience that incident yourself?";
			next;
			mes "[Rebellion senior Dien]";
			mes "I'm the one who saved your life during the ravage of war.";
			mes "And just look at your big mouth now!";
			next;
			mes "[Rebellion senior Dien]";
			mes "Is it the way I taught you?";
			mes "Come on, say that again!";
			npctalk "Dien : Ugh!! I should have never brought you up!", "Dien#162gmbs2", bc_self;
			next;
			mes "[Rebellion leader Rupert]";
			mes "Arrggh!!!";
			mes "What the hell are you doing!";
			next;
			mes "[Rebellion leader Rupert]";
			mes "Just release your hold.";
			npctalk "Rebellion leader : Arrggh!!!! My beard!!!!", "", bc_self;
			next;
			mes "[Rebellion Guard leader Larcis]";
			mes "Dien! Please calm down!";
			mes "You shouldn't do this here!";
			emotion ET_HUK, getnpcid(0, "Rebellion Guard leader#4");
			next;
			mes "[Rebellion senior Dien]";
			mes "You just shut up!";
			next;
			mes "[Rebellion Guard leader Larcis]";
			mes "Ha...";
			emotion ET_CHAT_PROHIBIT, getnpcid(0, "Rebellion Guard leader#4");
			next;
			mes "[Rebellion leader Rupert]";
			mes "Whatever you say, I'm against it!";
			next;
			mes "[Rebellion senior Dien]";
			mes "You are still chattering with the big mouth!";
			mes "Aren't you?";
			emotion ET_FRET, getnpcid(0, "Dien#162gmbs2");
			next;
			mes "[Rebellion leader Rupert]";
			mes "Arrggh!!!";
			mes "Come on, it hurts!";
			next;
			mes "[Rebellion leader Rupert]";
			mes "What are you doing! They are all looking at you!!!!";
			emotion ET_CRY;
			next;
			mes "[Rebellion senior Dien]";
			mes "Well, I don't care who's looking at me.";
			next;
			mes "[Rebellion senior Dien]";
			mes "What have you done so far with that vengeance alone?";
			npctalk "Dien : For how many years have we been planning it!", "Dien#162gmbs2", bc_self;
			next;
			mes "[Rebellion senior Dien]";
			mes "Are you going to hate them forever, doing nothing until I die?";
			next;
			mes "[Rebellion senior Dien]";
			mes "How many years do you think I have ahead!!!";
			next;
			mes "[Rebellion leader Rupert]";
			mes "By looking at you now, I'm sure you can live for 100 more years!";
			npctalk "Rebellion leader : Just don't say that!", "", bc_self;
			next;
			mes "[Rebellion senior Dien]";
			mes "Great!";
			mes "Let me live for 100 more years and pull out your beard!";
			next;
			mes "[Rebellion leader Rupert]";
			mes "Arrgh!!!!";
			mes "Stop it!";
			emotion ET_KEK;
			next;
			mes "[Rebellion leader Rupert]";
			mes "Ah!";
			mes "Okay! I got it!";
			mes "Do as you wish!";
			emotion ET_OTL;
			cutin "",255;
			next;
			mes "[Rebellion senior Dien]";
			mes "Here you go.";
			emotion ET_HNG, getnpcid(0, "Dien#162gmbs2");
			cutin "ep162_dn03.bmp",2;
			next;
			cutin "",255;
			mes "[Rebellion leader Rupert]";
			mes "But you will to have to face the consequences. Be prepared!";
			npctalk "Rebellion leader : It's not such a simple decision.", "", bc_self;
			next;
			mes "[Rebellion senior Dien]";
			mes "That's exactly what I was hoping for.";
			npctalk "Dien : Do you think I started this without being fully ready for it?", "Dien#162gmbs2", bc_self;
			cutin "ep162_dn01.bmp",2;
			next;
			cutin "",255;
			cloakonnpc "Rebellion Guard leader#4", getcharid(0);
		}
		mes "[Rebellion leader Rupert]";
		mes "No...";
		mes "Guard leader!";
		mes "Tell each senior and commander to gather now.";
		next;
		mes "[Rebellion leader Rupert]";
		mes "Let me make this clear.";
		mes "We will help you. But don't expect too much help.";
		next;
		mes "[Rebellion leader Rupert]";
		mes "There is no reason why we have to sacrifice for you.";
		next;
		mes "[Rebellion senior Dien]";
		mes "Hey! You are saying this again!";
		emotion ET_HNG, getnpcid(0, "Dien#162gmbs2");
		cutin "ep162_dn03.bmp",2;
		next;
		mes "[Rebellion senior Dien]";
		mes "Since you got the approval from Rupert, " + strcharinfo(0) + " why don't you go back for report?";
		npctalk "Dien : The man who came with you.. Is his name Lazy?", "Dien#162gmbs2", bc_self;
		cutin "ep162_dn01.bmp",2;
		next;
		mes "[Rebellion senior Dien]";
		mes "It seems like the youngsters will be busy for a while. Please help the old people, whenever you have time.";
		cutin "ep162_dn02.bmp",2;
		next;
		mes "[Rebellion senior Dien]";
		mes "Ah!! Rupert!";
		mes "Talk to me before the meeting.";
		npctalk "Dien : It's so important... It won't take long.", "Dien#162gmbs2", bc_self;
		emotion ET_COMEON, getnpcid(0, "Dien#162gmbs2");
		cutin "ep162_dn03.bmp",2;
		cloakonnpc "Dien#162gmbs2", getcharid(0);
		if (terra_gloria_lady_part == 9) {
			getitem 25155,10;	// Swz_Honor_Token
			getexp 200000,200000;
			completequest 14600;// Gentleman on second floor
			completequest 11462;// Doubt
			terra_gloria_lady_part = 10;
			questinfo_refresh();
		}
		close3;
	}
	mes "[Rebellion leader Rupert]";
	mes "Let me make this clear.";
	mes "We will help you. But don't expect too much help.";
	next;
	mes "[Rebellion leader Rupert]";
	mes "There is no reason why we have to sacrifice for you.";
	close;

OnInit:
	questinfo( QTYPE_QUEST, QMARK_NONE, "terra_gloria_main >= 16 && terra_gloria_lady_part == 0" );
	end;
}

rebel_in,119,68,7	script	Rebellion Guard leader#4	4_M_REBELLION,{
	if (terra_gloria_lady_part == 6 || terra_gloria_lady_part == 7) {
		mes "[Rebellion Guard leader Larcis]";
		mes "I read it, too. What you have said just now was written there.";
		next;
		mes "[Rebellion Guard leader Larcis]";
		mes "The same thing was written in the letter that I handed to Erst.";
		if (terra_gloria_lady_part == 6) {
			erasequest 11459;// Doubt
			setquest 11460;// Doubt
			terra_gloria_lady_part = 7;
		}
		close;
	}
	end;
OnInit:
	cloakonnpc();
	end;
}

rebel_in,121,69,8	script	Dien#162gmbs2	4_F_DIENE,{
	if (terra_gloria_lady_part == 8) {
		mes "[Rebellion Guard leader Larcis]";
		mes "Dien!";
		mes "It's dangerous outside. There are outsiders there.";
		next;
		mes "[Dien]";
		mes "It's alright. Larcis.";
		mes "They are not so dangerous.";
		cutin "ep162_dn01.bmp",2;
		next;
		cutin "",255;
		mes "[Rebellion leader Rupert]";
		mes "Dien!";
		mes "I was about to visit you.";
		next;
		mes "[Rebellion leader Rupert]";
		mes "Your letter... What does it mean?";
		npctalk "Rebellion leader: I really don't get it.", "Rebellion leader#162gmb", bc_self;
		next;
		mes "[Dien]";
		mes "As written in the letter.";
		npctalk "Dien: Wasn't it so simple that even a three-year-old child can understand it?", "", bc_self;
		cutin "ep162_dn01.bmp",2;
		next;
		cutin "",255;
		mes "[Rebellion leader Rupert]";
		mes "Are you saying that you agreed to help the Secret Wings?";
		npctalk "Rebellion leader : Unless there is a problem with my eyes.", "Rebellion leader#162gmb", bc_self;
		next;
		mes "[Rebellion senior Dien]";
		mes "Yes.";
		mes "As I wrote in the letter.";
		cutin "ep162_dn01.bmp",2;
		next;
		mes "[Rebellion senior Dien]";
		mes "Ridsh, Cotnes and I will agree to help the Secret Wings.";
		next;
		cutin "",255;
		mes "[Rebellion leader Rupert]";
		mes "Even Ridsh and Cotnes...? No. I can't believe that you agree to it, even after I have heard it from you personally.";
		npctalk "Rebellion leader : You're kidding. Aren't you?", "Rebellion leader#162gmb", bc_self;
		next;
		mes "[Rebellion senior Dien]";
		mes "I heard Erst agrees as well.";
		mes "Since there are so many people who agree to it, you should not resist it alone.";
		cutin "ep162_dn01.bmp",2;
		next;
		cutin "",255;
		mes "[Rebellion leader Rupert]";
		mes "I can't laugh it off this time.";
		next;
		mes "[Rebellion leader Rupert]";
		mes "You are the one who knows how silly this is more than anyone else.";
		next;
		mes "[Dien]";
		mes "Of course I do.";
		mes "That's why I accepted it.";
		cutin "ep162_dn03.bmp",2;
		next;
		cutin "",255;
		mes "[Rebellion leader Rupert]";
		mes "Why!!!";
		next;
		mes "[Dien]";
		mes "The time is passing. Rupert.";
		mes "We cannot stick on the same spot forever.";
		npctalk "Dien : My time... has already passed.", "", bc_self;
		cutin "ep162_dn01.bmp",2;
		next;
		cutin "",255;
		mes "[Rebellion leader Rupert]";
		mes "Although the time passes, it doesn't mean that the past goes away!";
		next;
		mes "[Rebellion leader Rupert]";
		mes "We sacrificed too much to forget it!";
		npctalk "Rebellion leader : We have lost everything!", "Rebellion leader#162gmb", bc_self;
		next;
		mes "[Rebellion leader Rupert]";
		mes "Regarding this issue, I, as the person in charge here, will decide on it.";
		next;
		mes "[Rebellion leader Rupert]";
		mes "Trying to respect you as a senior, I have overlooked your behavior so far. However, this time, you crossed the line.";
		next;
		mes "[Rebellion leader Rupert]";
		mes "Now! Please go back to your room and enjoy your tea party.";
		next;
		mes "[Rebellion senior Dien]";
		mes "Wait!";
		mes "I can't ignore what you've just said.";
		mes "Are you trying to neglect my opinion, and myself as well?";
		cutin "ep162_dn03.bmp",2;
		erasequest 11461;// Doubt
		setquest 11462;// Doubt
		terra_gloria_lady_part = 9;
		close3;
	}
	if (terra_gloria_lady_part == 9) {
		mes "[Rebellion senior Dien]";
		mes "Wait!";
		mes "I can't ignore what you've just said.";
		mes "Are you trying to neglect my opinion, and myself as well?";
		cutin "ep162_dn03.bmp",2;
		close3;
	}
	end;
OnInit:
	cloakonnpc();
	end;
}

rebel_in,118,70,3	script	Young Rebellion#162gmbs1	4_F_GUNSLINGER,{
	mes "[Young Rebellion]";
	mes "I joined the Rebellion, because their shooting looked so cool to me. But now I am so busy handling the documents that I have no time to get my hands on a gun.";
	next;
	mes "[Young Rebellion]";
	mes "The problem is that I feel like this work suits me.";
	close;
}

rebel_in,114,75,5	script	Young Rebellion#162gmbs2	4_F_REBELLION,{
	mes "[Young Rebellion]";
	mes "When I'm lucky, I can get some snacks from seniors.";
	next;
	mes "[Young Rebellion]";
	mes "It's amazing that the taste is different when I purchase the snacks myself.";
	npctalk "Young Rebellion : It's always good to take something good from someone else. It's so exciting.", "", bc_self;
	close;
}
// Main story
rebel_in,91,60,3	duplicate(dummy_cloaked_npc)	Senior#16nego01	4_M_EINOLD
rebel_in,84,60,7	duplicate(dummy_cloaked_npc)	Senior#16nego02	4_M_HUGRANFA
rebel_in,87,58,8	duplicate(dummy_cloaked_npc)	Senior#16nego03	4_M_HUOLDARMY
rebel_in,88,58,1	duplicate(dummy_cloaked_npc)	Senior#16nego04	4_M_SEAMAN

rebel_in,86,61,5	script	Lazy#16nego05	4_M_LAZY,{
	if (checkweight(501,1) == 0) {
		mes "[Lazy]";
		mes "Why do you have so many things here? Your bag has to be light to carry a lot of new stuff.";
		close;
	}
	if ((MaxWeight - Weight) < 1000) {
		mes "[Lazy]";
		mes "Why do you have so many things here? Your bag has to be light to carry a lot of new stuff.";
		close;
	}
	if (terra_gloria_main == 15) {
		cutin "16lei_01.bmp",2;
		emotion ET_SMILE;
		mes "[Lazy]";
		mes "Oh~ It's wonderful here. It's so cozy. ^0000cdWhat is this place for^000000? I want to stay here for a day.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "I never imagined there would be a place like this behind the store... What's this?";
		npctalk "Exactly. I told you there would be a space behind the pillar. Didn't I?", "", bc_self;
		next;
		cutin "16loo_01.bmp",0;
		mes "[Lucky]";
		mes "A sanatorium that looks after novices and senior citizens. There is nothing to see here. And it's too cold in here and your mouth might be twisted if you sleep here. That's why you'd better leave after drinking the tea.";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "You are too stingy. How can you do this to me after I saved his life?";
		next;
		cutin "16loo_03.bmp",0;
		emotion ET_QUESTION, getnpcid(0, "Rookie#16nego02");
		mes "[Lucky]";
		mes "I gave you a cup of tea and I promised you to compensate. What else do you need?";
		npctalk "If you wish too much, you may get bold.", "Rookie#16nego02", bc_self;
		sleep2 300;
		npctalk "Are you laying a curse on me? Please! Don't make me bold!", "", bc_self;
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "There are things you cannot buy.";
		emotion ET_MONEY;
		next;
		cutin "16loo_03.bmp",0;
		mes "[Lucky]";
		mes "Well, then, you're leaving me with my gratitude.";
		npctalk "Sounds good. We can save money.", "Rookie#16nego02", bc_self;
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "No. According to my experience so far, everything that I cannot buy is useless.";
		next;
		cutin "16loo_03.bmp",0;
		mes "[Lucky]";
		mes "I can't figure out what you want. Have a sit there anyway. I will give you a cup of tea that you desired.";
		next;
		cloakoffnpc "Magenta#16nego01", getcharid(0);
		mes "[Magenta]";
		mes "Lucky~~~ Where have you been!! I've been waiting for a while! I'm going out for a mission and wish me a good luck.";
		npctalk "Come on. The spell of fortune~", "Magenta#16nego01", bc_self;
		next;
		cloakoffnpc "Denny#16nego03", getcharid(0);
		mes "[Denny]";
		mes "Rookie!!!! Help me arrange the warehouse quickly. There are bunch of them and I can't do it alone. Hurry up.";
		npctalk "Hurry up! Lend me your magical hand!", "Denny#16nego03", bc_self;
		next;
		mes "[Magenta]";
		mes "Hey, I came before you. Didn't I?";
		next;
		mes "[Denny]";
		mes "But I'm in a hurry!";
		npctalk "If you're in a hurry, you should have come earlier!", "Magenta#16nego01", bc_self;
		npctalk "I'm not free like you. A superstar is always busy.", "Denny#16nego03", bc_self;
		next;
		cutin "16loo_02.bmp",0;
		mes "[Lucky]";
		mes "I have a customer. I will get to you after giving them cups of tea. Both of you, please wait a minute.";
		npctalk "You can wait. Right?", "Rookie#16nego02", bc_self;
		next;
		mes "[Denny]";
		mes "I'm in a hurry...";
		next;
		mes "[Magenta]";
		mes "I can wait! I cannot put pressure on Lucky.";
		next;
		mes "[Denny]";
		mes "I can wait too!";
		npctalk "Didn't you say you were in a hurry?", "Magenta#16nego01", bc_self;
		sleep2 300;
		npctalk "He says he's busy now! I will leave first so you have to come to me first!", "Denny#16nego03", bc_self;
		cloakonnpc "Denny#16nego03", getcharid(0);
		npctalk "Lucky! Me first!!!", "Magenta#16nego01", bc_self;
		cloakonnpc "Magenta#16nego01", getcharid(0);
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "They are looking for you everywhere. You are so popular. Aren't you?";
		npctalk "Maybe that's why your name is Lucky?", "", bc_self;
		next;
		cutin "",255;
		cloakoffnpc "Senior#16nego01", getcharid(0);
		cloakoffnpc "Senior#16nego04", getcharid(0);
		mes "[Senior]";
		mes "Rookie, where have you been? Everyone's looking for you.";
		next;
		mes "[Senior]";
		mes "He has healthy legs, so he can go around.";
		sleep2 300;
		npctalk "What? He is on a desk job. He's supposed to be on his position!", "Senior#16nego01", bc_self;
		sleep2 500;
		npctalk "Don't you know Rookie is the busiest person here?", "Senior#16nego04", bc_self;
		next;
		cloakoffnpc "Senior#16nego02", getcharid(0);
		mes "[Senior]";
		mes "Lucky, bring a cup of tea.";
		npctalk "Mine too.", "Senior#16nego01", bc_self;
		sleep2 300;
		npctalk "Look. You give him too much work.", "Senior#16nego04", bc_self;
		sleep2 300;
		npctalk "What? You, step outside.", "Senior#16nego01", bc_self;
		next;
		cloakoffnpc "Senior#16nego03", getcharid(0);
		mes "[Senior]";
		mes "Lucky, they are strangers. Who are they?";
		npctalk "A cup of tea for me too.", "Senior#16nego03", bc_self;
		npctalk "Why should I follow you?", "Senior#16nego04", bc_self;
		next;
		cutin "16loo_03.bmp",0;
		mes "[Lucky]";
		mes "They saved Gonie's life. They came to this quiet Einbech. They found injured Gonie ^0000cdaccidentally^000000 and healed him. Then they brought him ^0000cdright^000000 here.";
		npctalk "Let me give you a lesson today!", "Senior#16nego01", bc_self;
		sleep2 300;
		npctalk "You guys are fighting again?", "Senior#16nego02", bc_self;
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Yes. I did it. I did it!";
		npctalk "I see. I see. Let me drink the tea first. Okay? Can you wait?", "Senior#16nego04", bc_self;
		sleep2 300;
		npctalk "You always give a lesson from your teeth outward.", "Senior#16nego03", bc_self;
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "You take too much credit to yourself after helping someone.";
		npctalk "And who are they?", "Senior#16nego01", bc_self;
		npctalk "They don't seem to be our kids.", "Senior#16nego04", bc_self;
		next;
		mes "[Lazy]";
		mes "You have to exaggerate your performance. That's the way to be appreciated by others.";
		npctalk "I get it when I see it, too.", "Senior#16nego01", bc_self;
		npctalk "They look like Lucky's customers.", "Senior#16nego03", bc_self;
		next;
		cutin "16loo_01.bmp",0;
		mes "[Lucky]";
		mes "So, why did you come here? By the way, who are you?";
		npctalk "Rookie doesn't know them either.", "Senior#16nego02", bc_self;
		sleep2 500;
		npctalk "Then who invited them?", "Senior#16nego01", bc_self;
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Me? Lazy. Although it's not my real name, call me Lazy now.";
		next;
		mes "[Lazy]";
		mes "I am an, ^0000cdagent of Secret Wings^000000, an institution directly responsible to the President of Schwaltzvalt.";
		npctalk "What?", "Senior#16nego03", bc_self;
		next;
		emotion ET_HUK, playerattached();
		mes "[" + strcharinfo(0) + "]";
		mes "Hey! Why did you tell them who you are all of a sudden? You kept telling me not even to mention it. And you revealed it officially!";
		npctalk "I think I misheard something now.", "Senior#16nego04", bc_self;
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "It's all right. This is our destination. ^0000cdClana Nemieri^000000, the stronghold of Rebellions.";
		npctalk "He said he is an agent of Secret Wings, an institution directly responsible to the President of Schwaltzvalt! I heard everything!", "Senior#16nego01", bc_self;
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Then the store outside the door was a ^0000cdtrickery^000000. The collapsed man is a member of ^0000cdRebellion^000000... That's why...";
		npctalk "You mean, the crows?", "Senior#16nego02", bc_self;
		next;
		cutin "",255;
		mes "Clank.";
		emotion ET_HUK, playerattached();
		next;
		mes "Clank.";
		mes "Clank.";
		emotion ET_HUK, playerattached();
		next;
		mes "Clank.";
		mes "Clank.";
		mes "Clank.";
		emotion ET_HUK, playerattached();
		next;
		mes "Clank.";
		mes "Clank.";
		mes "Clank.";
		mes "Clank.";
		emotion ET_HUK, playerattached();
		next;
		mes "[Senior]";
		mes "Get out of here now!";
		npctalk "Do you even know where you are?", "Senior#16nego01", bc_self;
		sleep2 300;
		npctalk "Freeze!!", "Senior#16nego02", bc_self;
		next;
		mes "[Senior]";
		mes "We get rid of them!";
		npctalk "Call for a backup!", "Senior#16nego04", bc_self;
		sleep2 300;
		npctalk "We don't need to. We can defeat them by ourselves!", "Senior#16nego02", bc_self;
		emotion ET_HUK, playerattached();
		emotion ET_SWEAT;
		next;
		cutin "16loo_01.bmp",0;
		mes "[Lucky]";
		mes "Hey, calm down please! Put your guns in! No wonder you are hot headed elders!!";
		next;
		cutin "16loo_03.bmp",0;
		mes "[Lucky]";
		mes "Although they have come here with a fishy purpose, it's true that they carried injured Gonie all the way here. Behave yourself, old men.";
		npctalk "Fishy prupose!", "", bc_self;
		npctalk "Why should we behave ourselves!", "Senior#16nego01", bc_self;
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "You are not surprised? So you knew it.";
		next;
		cutin "16loo_03.bmp",0;
		mes "[Lucky]";
		mes "I didn't know who you were. But I knew you had a certain purpose. I had not told you my name but you were shouting 'Come out Rookie'. So I had a clue.";
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "I heard that the brain of a Rebellion is filled with bullets, but maybe not every Rebellion! So, is your name Lucky, or Rookie?";
		npctalk "Did he just insult us?", "Senior#16nego03", bc_self;
		npctalk "Be quite. Let's listen to what they say.", "Senior#16nego02", bc_self;
		sleep2 500;
		npctalk "Why should we listen to this nonsense? Get them out of here!", "Senior#16nego01", bc_self;
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "^0000cdRookie^000000. Lucky is my nickname.";
		next;
		mes "[Senior]";
		mes "Rookie! You already knew who he was, and you..!!";
		npctalk "Take him out first!!!", "Senior#16nego01", bc_self;
		next;
		cutin "16loo_03.bmp",0;
		mes "[Rookie]";
		mes "I told you! Old men, are you deaf now? I didn't know who they were! This is unfair!";
		emotion ET_CRY, getnpcid(0, "Rookie#16nego02");
		npctalk "He says he didn't know.", "Senior#16nego04", bc_self;
		sleep2 300;
		npctalk "Then why did you bring them in?", "Senior#16nego02", bc_self;
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "If they had an intention to attack us, they would have done it already, rather than asking for tea. And what can these two do against many of us?";
		npctalk "They don't look so strong.", "Rookie#16nego02", bc_self;
		sleep2 300;
		npctalk "Your comments are misleading, but I'm not going to correct them right now.", "", bc_self;
		next;
		cutin "16loo_02.bmp",0;
		mes "[Rookie]";
		mes "Whatever they do, you are going to handle them. Aren't you? You are legends of the Rebellion.";
		emotion ET_SMILE, getnpcid(0, "Rookie#16nego02");
		npctalk "Well.. It's true.", "Senior#16nego03", bc_self;
		sleep2 300;
		npctalk "That's why we are doing this now.", "Senior#16nego02", bc_self;
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "I don't know where they come from. But by the time they came all the way here, perhaps they need to talk to the seniors. I will bring the tea and enjoy the talk.";
		npctalk "Where are you going!", "Senior#16nego01", bc_self;
		npctalk "That guy has a great sense and wits.", "", bc_self;
		next;
		cloakonnpc "Rookie#16nego02", getcharid(0);
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Hahaha! Nice to meet you. Did I surprise you by coming in all of a sudden in leisure hours?";
		next;
		mes "[Lazy]";
		mes "But I am not a dangerous person, so please relax. And this adventurer is much less dangerous.";
		emotion ET_SMILE;
		npctalk "You don't need to talk to us!", "Senior#16nego01", bc_self;
		next;
		mes "[Lazy]";
		mes "This person is an adventurer who settled various problems of the continent, including Schwaltzvalt. The adventurer is currently under the protection of Rune Midgarts Kingdom." + strcharinfo(0) + "";
		emotion ET_BEST;
		npctalk " Adventurer " + strcharinfo(0) + "? You must be that person in the royal palace in Rune Midgarts...", "Senior#16nego02", bc_self;
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "And I am a member of Secret Wings, an institution directly responsible to the President of Schwaltzvalt Republic. Since the President guarantees my identification, you don't have to worry.";
		emotion ET_BEST;
		npctalk "Ha!!! That's nonsense!!", "Senior#16nego03", bc_self;
		next;
		mes "[Senior]";
		mes "How can I trust you?";
		npctalk "How can I trust you?", "Senior#16nego04", bc_self;
		next;
		mes "[Senior]";
		mes "You are the most dangerous guy here!";
		npctalk "How dare you! Do you know where you are?", "Senior#16nego01", bc_self;
		next;
		mes "[Senior]";
		mes "President? Since I heard that unpleasant word, let me wash my ears!";
		npctalk "I am precious, so I should see and listen to good things.", "Senior#16nego04", bc_self;
		sleep2 300;
		cloakonnpc "Senior#16nego04", getcharid(0);
		next;
		mes "[Senior]";
		mes "What is a spoiled crow of the President doing here?";
		npctalk "What? Spoiled...?", "", bc_self;
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "That's what I am about to tell you now. Haha. So please put your guns down... Let's sit down first.";
		next;
		emotion ET_PROFUSELY_SWAT;
		mes "[Senior]";
		mes "Hey, you are standing up too!";
		npctalk "Is it a dirty trick?", "Senior#16nego02", bc_self;
		next;
		cutin "16lei_02.bmp",2;
		emotion ET_PROFUSELY_SWAT;
		mes "[Lazy]";
		mes "Ahaha. I've got a disease that I can't sit down. By the way... As a guest, I couldn't come here with empty hands. This is a specialty good of Yuno... Please have some.";
		next;
		cutin "",255;
		mes "[Senior]";
		mes "Guest? You're just a jerk.";
		npctalk "Guest? You're just a jerk.", "Senior#16nego01", bc_self;
		npctalk "Hey, look at your language!", "Senior#16nego03", bc_self;
		next;
		mes "[Senior]";
		mes "What do you mean by guest? We never invited you.";
		npctalk "Not every visitor is a guest.", "Senior#16nego02", bc_self;
		sleep2 300;
		npctalk "You are right!", "Senior#16nego01", bc_self;
		next;
		mes "[Senior]";
		mes "We never know what you put on this food! There is nothing we would like to hear from you. So get out of here!";
		npctalk "Please... Let's just talk...", "", bc_self;
		next;
		cutin "16loo_02.bmp",0;
		cloakoffnpc "Rookie#16nego02", getcharid(0);
		mes "[Rookie]";
		mes "Drink tea, please.";
		next;
		mes "[Senior]";
		mes "As soon as you drink the tea, leave at once~ We won't see you off!";
		npctalk "Let us go now.", "Senior#16nego01", bc_self;
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "Where are you going? I brought the tea in reference to the number of people here.";
		next;
		mes "[Senior]";
		mes "I don't drink tea in uncomfortable place. I don't want to have an upset stomach while drinking tea.";
		npctalk "If you have an upset stomach while drinking tea, there is no cure.", "Senior#16nego02", bc_self;
		next;
		cutin "16loo_03.bmp",0;
		mes "[Rookie]";
		mes "Come on, what's wrong with you~ You can drink it so quickly. It's not good after it gets cold. Your stomach must have got cold by now. You're not so healthy either.";
		next;
		mes "[Rookie]";
		mes "Can't you just drink the tea before leaving? I struggled to get this tea... You also liked it...";
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "And if we feel uncomfortable, they also feel uncomfortable. So it's not such a bad condition. Come on. Drinking a cup of tea is not a hard thing to do.";
		npctalk "Come to think of it, you're right.", "Senior#16nego03", bc_self;
		next;
		emotion ET_SWEAT, getnpcid(0, "Senior#16nego01");
		mes "[Senior]";
		mes "I mean, the spoiled crow of the President-";
		npctalk "The crow is sorry to hear that.", "", bc_self;
		next;
		cutin "16loo_02.bmp",0;
		mes "[Rookie]";
		mes "Please. The tea is innocent. have a peaceful tea time. Never fight in front of food. You taught me all these words. Didn't you?";
		next;
		mes "[Senior]";
		mes "Ahem, ahem.";
		npctalk "Then I'm leaving after drinking the tea.", "Senior#16nego02", bc_self;
		sleep2 300;
		npctalk "It's delicious.", "Senior#16nego03", bc_self;
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Wow~ This tea is great. It matches well with this specialty good. Try it. The President prepared it for you.";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "Please listen to me. I'm here to ask you a very difficult request.";
		npctalk "I'm here to ask you a very difficult request.", "", bc_self;
		next;
		mes "[Senior]";
		mes "Why should we accept a difficult request?";
		npctalk "Right! If you know it's difficult, don't ask us!", "Senior#16nego02", bc_self;
		npctalk "Hoho- It's delicious.", "Senior#16nego03", bc_self;
		next;
		cutin "16lei_01.bmp",2;
		emotion ET_SPARK;
		mes "[Lazy]";
		mes "That's why I came here. This mission cannot be accomplished by anyone except Rebellion. So the President sent me here.";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "I think it will be such a confidential and cautious story. Please take this...";
		npctalk "It will match well with the tea.", "", bc_self;
		next;
		mes "[Senior]";
		mes "Just tell us your point.";
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Yes! Although you pretend not to know, it's the story you all know.";
		npctalk "I will explain it rapidly.", "", bc_self;
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "The President certainly regrets what happened in the past. His excellency has always been thinking about you and wanted to start a talk.";
		next;
		mes "[Lazy]";
		mes "Upon your approval, his excellency wants to meet you in person, apologize, and wants to have an opportunity to harmonize with you.";
		next;
		mes "[Lazy]";
		mes "I was also extremely sad to hear what happened to you. And I was looking for a chance to meet you and talk to you.";
		emotion ET_CRY;
		next;
		mes "[Senior]";
		mes "Tell us your point!";
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "You are so cool. I like it. Then I will get down to the business.";
		emotion ET_BEST;
		npctalk "You are so cool. I like it.", "", bc_self;
		next;
		cutin "",255;
		mes "[Lazy began to talk about what happened recently and the request of the President.]";
		next;
		mes "[Senior]";
		mes "I see. But it's your business and I don't get why we should help you. Do I?";
		emotion ET_ANGER, getnpcid(0, "Senior#16nego01");
		npctalk "I don't get why we should help you. Do I?", "Senior#16nego01", bc_self;
		next;
		mes "[Senior]";
		mes "You ignored us when we were in trouble. And you are asking for help now? How can you do that?";
		emotion ET_FRET, getnpcid(0, "Senior#16nego02");
		npctalk "You used to ignore us and you are asking for help now? How can you do that?", "Senior#16nego02", bc_self;
		next;
		mes "[Senior]";
		mes "Sounds like a bunch of nonsense. I don't want to listen any more.";
		emotion ET_ANGER, getnpcid(0, "Senior#16nego03");
		npctalk "We don't need to listen any more.", "Senior#16nego03", bc_self;
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "That won't harm you under any circumstances!";
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "The adventurer approved by the royal family of Rune Midgarts is together with us in this mission.";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "With the cooperation of Schwaltzvalt President and Rune Midgarts Kingdom, you can now use the power of the adventurer.";
		npctalk "Although you don't trust me, please trust the adventurer!", "", bc_self;
		next;
		mes "[Senior]";
		mes "Why would we need the power of the adventurer?";
		npctalk "We are all right with our power only.", "Senior#16nego03", bc_self;
		next;
		mes "[Senior]";
		mes "How can we trust a stranger? Are you going to stab us in the back again?";
		npctalk "You did it once. How can we believe that you won't do it again?", "Senior#16nego01", bc_self;
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "This is your opportunity. Along with this cooperation, you can eliminate the dishonor!";
		sleep2 300;
		npctalk "Do we have any dishonor?", "Senior#16nego02", bc_self;
		sleep2 500;
		npctalk "What the hell is he talking about?", "Senior#16nego01", bc_self;
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "If you cannot trust the President, please trust the adventurer and the royal family of Rune Midgarts. They have already promised a full support.";
		next;
		mes "[Lazy]";
		mes "Come on, say somthing.";
		npctalk "Have a sense!", "", bc_self;
		next;
		cutin "",255;
		mes "[" + strcharinfo(0) + "]";
		mes "That's right! If you need my help, I will support you actively.";
		emotion ET_OK, playerattached();
		unittalk getcharid(3), "" + strcharinfo(0) + " : You can utilize everything I have!", bc_self;
		next;
		mes "[Senior]";
		mes "This is not a matter of benefits. It's about our feeling!";
		next;
		mes "[Senior]";
		mes "Lucky, thanks for the tea. Send them now. Let the crow go back to its nest.";
		npctalk "Make sure they never come back!!", "Senior#16nego01", bc_self;
		next;
		cloakonnpc "Senior#16nego01", getcharid(0);
		mes "[Senior]";
		mes "We will never see them again. So send them gently. Rookie.";
		npctalk "Do not make any fuss.", "Senior#16nego02", bc_self;
		next;
		cloakonnpc "Senior#16nego02", getcharid(0);
		sleep2 1000;
		cloakonnpc "Senior#16nego03", getcharid(0);
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "Please, you can't leave like this...!!!";
		next;
		mes "[Lazy]";
		mes "Hmm... I knew it would be difficult. But I'm surprised that they are not even listening to me.";
		next;
		cutin "16loo_03.bmp",0;
		mes "[Rookie]";
		mes "Phew. These old men will never change.";
		emotion ET_HNG, getnpcid(0, "Rookie#16nego02");
		npctalk "Perhaps an inconvenience is their motto.", "Rookie#16nego02", bc_self;
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Your name is Rookie. Right?";
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "You know it already. Why do you ask?";
		npctalk "You have a strange habit.", "Rookie#16nego02", bc_self;
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "Sorry. I guess I made a wrong judgment. I should have collected more accurate information.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "What's wrong with you? You make me nervous.";
		unittalk getcharid(3), "" + strcharinfo(0) + " : Where's your confidence!", bc_self;
		next;
		mes "[Lazy]";
		mes "Before I came here, I knew people who were sitting here had the authority, but I now realize that it is a little different.";
		next;
		mes "[Lazy]";
		mes "Unless you live here, it's hard to find out who has the authority.";
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "I don't know what you are talking about. If you finished drinking the tea, please leave.";
		npctalk "I have so many things to do.", "Rookie#16nego02", bc_self;
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "Rookie, please help us. If you think about it, you can tell that it's a win-win proposition. You don't want to hide yourself in this corner of the woods forever, do you?";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "You know that this is the opportunity to take advantage of the government's support and compassion for you. It will provide better fundamentals for Rebellions.";
		next;
		mes "[Lazy]";
		mes "If this works well. you'll be free to work in Schwaltzvalt and Rune Midgarts.";
		next;
		mes "[Lazy]";
		mes "Look at this place. It's just a tiny shop. Can you call it headquarters? Don't you want to reclaim your glory?";
		npctalk "It's frustrating to live like this. Isn't it?", "", bc_self;
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "And when we are in trouble, you'll abandon us again. There are still many people who haven't washed the wound from what happened in the past. Do you really think they'll help you?";
		npctalk "Although I wasn't directly involved in it, I don't want to help you either.", "Rookie#16nego02", bc_self;
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "That's why I am asking for your help. I guess you can change their mind by persuading them.";
		next;
		cutin "16loo_03.bmp",0;
		mes "[Rookie]";
		mes "Who? Me?";
		npctalk "Who else is here?", "", bc_self;
		sleep2 300;
		npctalk "Adventurer?", "Rookie#16nego02", bc_self;
		sleep2 500;
		npctalk "Hahaha. You have a great sense of humor. Hahaha.", "", bc_self;
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "In every place, there is a hidden key person who moves the whole group even though you cannot that person easily. Here, it's you.";
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "Well, I guess you are overrating me. They regard me as an unimportant guy here. I dont't take any important mission. All I do is errands and clean-ups. Do you honestly think I'm a key person?";
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "No, no. That's not what I am talking about. Normally they call it a mood maker.";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "A while ago, you convinced the old men to listen to me. That's what I am talking about. You have such abilities.";
		npctalk "Lucky Rookie. That's why they call you 'Lucky'. Right?", "", bc_self;
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "I don't know what you mean by 'such abilities'. But I guess you have nothing to talk about by now. The seniors are gone.";
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "That's why I'm trying to help you. Please convince others.";
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "I have nowhere else to go. Neither does everyone else here. We cannot just help you trusting your promise.";
		npctalk "You are asking too much.", "Rookie#16nego02", bc_self;
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "It may be a matter of cooperation for you. But for us, it's a matter of survival.";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "Please. We are also desperate. The fates of the royal family of a country and another country are in danger.";
		next;
		mes "[Lazy]";
		mes "But if you help us, we can sort it out. That's something only you can do. We really need your help.";
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "If you really need help, go to someone else.";
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "You are as cold as ice. How merciless. Please show some mercy and help us.";
		emotion ET_CRY;
		npctalk "Please don't be so mean.", "", bc_self;
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "The people who were sitting here are seniors. They are anchors and symbols of Rebellions.";
		next;
		cutin "16loo_03.bmp",0;
		mes "[Rookie]";
		mes "But as they got old, they retired from the front line. Now they drink tea and watch the junior Rebellions grow up.";
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "So other people are responsible for all the inside jobs. They are the ones ^0000cdwho move the Rebellion practically^000000. They are decision makers.";
		npctalk "Yeah, so?", "", bc_self;
		next;
		cutin "16loo_03.bmp",0;
		mes "[Rookie]";
		mes "If you convince them, the public opinion change. Once the public opinion changes, what can seniors do about it?";
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Thank you. I prefer those who are wise and smart like you.";
		emotion ET_BIGTHROB;
		npctalk "So we've been talking to the wrong people.", "", bc_self;
		next;
		cutin "16loo_03.bmp",0;
		mes "[Rookie]";
		mes "In my opinion, I think it's better for us to be accepted in a wide world rather than living here like this.";
		npctalk "We will be competitive anywhere we go.", "Rookie#16nego02", bc_self;
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Adventurer, it's time for you to take an action. Please persuade them.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Should I?";
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "Did you seen the response from the seniors? Once I introduce myself, they might shoot at me make dozens of holes in my body.";
		npctalk "I was so scared.", "", bc_self;
		unittalk getcharid(3), "" + strcharinfo(0) + " : But you looked so calm!", bc_self;
		sleep2 900;
		npctalk "I'm serious. You'd never imagine how nervous I was.", "", bc_self;
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Since those seniors were relatively rational, we are alive and talking like this. If only there was one person with a short-temper... Phew...";
		npctalk "That's right. You are lucky that the person with a real short temper is in the upstairs now.", "Rookie#16nego02", bc_self;
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "Adventurer. You are a symbol of faith. Please go and show them your faith. That will take care of everything. Did you see what I did a moment ago? Do as I did.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Well, maybe...";
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "They are in the ^0000cdroom in the 2nd floor2^000000. You can go up and meet them.";
		npctalk "As long as you behave yourself, they won't be mad at you. ... Maybe.", "Rookie#16nego02", bc_self;
		next;
		mes "[Rookie]";
		mes "Do you see the rooms on the 2nd floor? I don't know how many of them are there. But you only have to meet the most important people.";
		next;
		mes "[Rookie]";
		mes "Let's see... You meet ^0000cdRupert^000000, the strict gentleman and ^0000cdElena^000000, the hunting dog first.";
		next;
		cutin "16loo_03.bmp",0;
		mes "[Rookie]";
		mes "By the way, never call Elena 'hunting dog' in front of her. She's going to disintegrate you.";
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "Anyone else...? Oh, the next one is the good-hearted ^0000cdold women, I mean ladies^000000. Then you meet the Special Force commander ^0000cdErst^000000...";
		npctalk "They are too many!", "", bc_self;
		sleep2 300;
		npctalk "This is a huge system that cannot be operated by one or two members. And there is no one else.", "Rookie#16nego02", bc_self;
		next;
		mes "[Rookie]";
		mes "You can meet these ^0000cdfour teams^000000 and talk to them. As I told you earlier, be careful when you talk. Some of them are short-tempered.";
		npctalk "I hope you won't have a hole in your head...", "Rookie#16nego02", bc_self;
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Adventurer, good luck! I will be talking to Rookie. Cheer up.";
		npctalk "Come back alive!", "", bc_self;
		erasequest 14599;// A glass of tea gratitude
		setquest 14600;// Gentleman on second floor
		setquest 14601;// Ladies on second floor
		setquest 14602;// Hunter on second floor
		setquest 14613;// Erst on second floor
		setquest 14614;// Convince the leaders
		terra_gloria_main = 16;
		close3;
	}
	if (terra_gloria_main == 16) {
		if (isbegin_quest(14602) != 2 || terra_gloria_lady_part < 10) {
			cutin "16lei_01.bmp",2;
			mes "[Lazy]";
			mes "Adventurer! How was it? You met all of them and persuaded them? Not yet? I guess not. If you go to the 2nd floor, you can meet all of them.";
			next;
			mes "[Lazy]";
			mes "I will be cheering for you. Go, adventurer!";
			close3;
		}
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "You're back! So, have you met them? Are they going to help us?";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Yes... Several things happened, but they were not bad.";
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "No wonder you are a symbol of faith!! Now, we can wait for seniors and staffs. Right?";
		next;
		mes "[Lazy]";
		mes "Come on. Sit here and listen to Rookie's story. It's so interesting.";
		npctalk "I know you've talked so much that you lost a lot of moisture. Drink some tea.", "", bc_self;
		next;
		mes "[Lazy]";
		mes "So, why did you leave your home?";
		next;
		cutin "16loo_03.bmp",0;
		mes "[Rookie]";
		mes "It's quite obvious. My family had a secondhand store. As you know, the amount iron consumption is so great in this area. Some people joke that they steal your spoon while your eyes are closed.";
		npctalk "But it's a joke. They don't actually steal anything.", "Rookie#16nego02", bc_self;
		sleep2 300;
		npctalk "Yeah, I know.", "", bc_self;
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "Normally they use the iron dug from mines. But since it cannot meet the demands, a lot of used iron is also consumed. Our family bought the iron and resold it.";
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "And you were not able to help them?";
		npctalk "That's right.", "Rookie#16nego02", bc_self;
		next;
		cutin "16loo_03.bmp",0;
		mes "[Rookie]";
		mes "My brothers helped my parents. As you see, I'm so small and used to be sick when I was a kid.";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "Oh, so they regarded you as a useless kid?";
		npctalk "Have you been to my house? How do you know it so well?", "Rookie#16nego02", bc_self;
		next;
		cutin "16loo_03.bmp",0;
		mes "[Rookie]";
		mes "I had no other choice.";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "I don't agree with you. Everyone has different ability and you must be good at something. You just didn't find it earlier. Anyway, what happened next?";
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "As my family ignored me, I decided to leave the house to find something I am capable of.";
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Well done. If you stayed there, you would have become such a useless person.";
		npctalk "You are so smart and wise.", "", bc_self;
		next;
		cutin "16loo_03.bmp",0;
		mes "[Rookie]";
		mes "Then I met Gonie and came here. But I found that there's nothing I could do here as well.";
		npctalk "Gonie? The guy who was bloody?", "", bc_self;
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "Everyone is a monster here. Look at Gonie. He was bleeding and almost dead. But He was still alive. The truth is that other guys are extraordinary and you are normal.";
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "But I'm not at the level they require here. Whenever I get a gun in my hand, my eyes are sore and my hands are shaking. I can't aim a target properly...";
		npctalk "It's a lack of self-confidence.", "", bc_self;
		npctalk "I guess so. While I train, I have no problem.", "Rookie#16nego02", bc_self;
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "So you are in charge of the housekeeping here?";
		next;
		cutin "16loo_02.bmp",0;
		mes "[Rookie]";
		mes "Not a housekeeping. A sort of cleaning-up?";
		next;
		cutin "",255;
		cloakoffnpc "Senior#16nego01", getcharid(0);
		cloakoffnpc "Senior#16nego02", getcharid(0);
		cloakoffnpc "Senior#16nego03", getcharid(0);
		cloakoffnpc "Senior#16nego04", getcharid(0);
		mes "[Senior]";
		mes "Hey Rookie. Why did you bring those jerks in here? They are wandering around and humiliating us! Rookie, are you a spy from the government?";
		emotion ET_FRET, getnpcid(0, "Senior#16nego01");
		npctalk "They've been everywhere!", "Senior#16nego01", bc_self;
		next;
		mes "[Senior]";
		mes "The government ignored us when we were dying! We can never help them!";
		emotion ET_ANGER, getnpcid(0, "Senior#16nego02");
		npctalk "Over my dead body!", "Senior#16nego02", bc_self;
		next;
		mes "[Senior]";
		mes "Have you forgotten why we are hiding here?";
		emotion ET_FRET, getnpcid(0, "Senior#16nego03");
		npctalk "I can never forget that day!", "Senior#16nego03", bc_self;
		next;
		mes "[Senior]";
		mes "The government caused this tragedy!";
		emotion ET_FRET, getnpcid(0, "Senior#16nego04");
		npctalk "The government caused this tragedy!", "Senior#16nego04", bc_self;
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "Fine. You live forever in this isolated place! But what about the children who don't know anything about it?";
		next;
		mes "[Senior]";
		mes "Hey kid! Do you know how much pain we had on that day?";
		emotion ET_ANGER, getnpcid(0, "Senior#16nego04");
		npctalk "Even children must know the truth!", "Senior#16nego04", bc_self;
		next;
		mes "[Rookie]";
		mes "I don't know! However, no one else will know it unless we talk about it. Go out there and ask anyone.";
		next;
		cutin "16loo_03.bmp",0;
		mes "[Rookie]";
		mes "Ask them if they know that happened on that day. I bet nobody does. Unless we talk about it, how can anyone ever find it out?";
		npctalk "What does it mean for us to live like this?", "Rookie#16nego02", bc_self;
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "You hate to help the government that once abandoned us? It shows that we used to be nothing for them, but now they our help. Does that mean some compensation for us?";
		next;
		cutin "16loo_03.bmp",0;
		mes "[Rookie]";
		mes "If they need our help, we can just use them. We are not as weak as we used to.";
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "If you want a revenge, maybe this is the opportunity! A revenge doesn't always mean an armed revenge.";
		next;
		mes "[Senior]";
		mes "You are young and not wise enough. No matter what happens, we are never helping the government. Never!";
		npctalk "This is a chance to kick out the guys with threatening ideology!", "Senior#16nego01", bc_self;
		npctalk "If you don't like it, why are you living here with us?", "Senior#16nego02", bc_self;
		sleep2 500;
		npctalk "Get them out.", "Senior#16nego03", bc_self;
		next;
		cloakoffnpc "Gonie#16nego04", getcharid(0);
		cutin "16go_03.bmp",2;
		mes "[Gonie]";
		mes "......";
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "Gonie?";
		next;
		cutin "16go_03.bmp",2;
		mes "[Gonie]";
		mes "......";
		npctalk "That's true...", "Rookie#16nego02", bc_self;
		next;
		cutin "",255;
		mes "[Senior]";
		mes "What the hell is he saying after showing up all of a sudden?";
		next;
		mes "[Senior]";
		mes "Are you still doing the silent meditation?";
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "For the favor...";
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "Did you hear that? He is in the middle of a silent meditation. How spiteful!";
		npctalk "Ha... This place is full of monsters.", "", bc_self;
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Be quiet. I hear it all.";
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "... Gonie says we have to pay for the favor they did to him.";
		next;
		mes "[Senior]";
		mes "Well. They did the favor for you, not for us.";
		npctalk "We don't owe you anything.", "Senior#16nego02", bc_self;
		sleep2 300;
		npctalk "They are the ones who owe you.", "Senior#16nego03", bc_self;
		next;
		mes "[Senior]";
		mes "If you want to help them so badly, you two go and help them. But make sure you take the clothes off!";
		npctalk "Don't tell anyone that you are a member of the Rebellion!", "Senior#16nego01", bc_self;
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Did you hear that? They are so cool.";
		npctalk "I like them!", "", bc_self;
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "I hear it all.";
		unittalk getcharid(3), "" + strcharinfo(0) + " : And it's not like that.", bc_self;
		next;
		cutin "16go_03.bmp",2;
		mes "[Gonie]";
		mes "......";
		npctalk "Really? I thought so.", "Rookie#16nego02", bc_self;
		next;
		mes "[Senior]";
		mes "What did that guy say?";
		npctalk "How does he understand it?", "Senior#16nego02", bc_self;
		npctalk "Rookie has a great ability.", "Senior#16nego03", bc_self;
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "He says everyone on the 2nd floor decided to help them.";
		next;
		mes "[Senior]";
		mes "What? The ladies and Rupert as well?";
		npctalk "Erst and Elena? That's impossible!", "Senior#16nego04", bc_self;
		next;
		cutin "16loo_03.bmp",0;
		mes "[Rookie]";
		mes "If you are curious, go upstairs and check it. They might slap you on the back.";
		npctalk "Sounds like everybody here is cool.", "", bc_self;
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "Seems like most of us agree. I don't think anything good will happen if you're still against it.";
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Phew... Sir, what would you do now? Hehe.";
		emotion ET_SMILE;
		npctalk "Seems like the decision has been made.", "", bc_self;
		sleep2 300;
		unittalk getcharid(3), "" + strcharinfo(0) + " : Did you just say 'hehe'?", bc_self;
		next;
		cutin "",255;
		mes "[Senior]";
		mes "Oops... We have no other choice if the ladies and Rupert agreed with them...";
		npctalk "Oops... We have no other choice...", "Senior#16nego04", bc_self;
		npctalk "If everyone thinks that way...", "Senior#16nego03", bc_self;
		sleep2 500;
		npctalk "Why is everyone persuaded so easily?", "Senior#16nego01", bc_self;
		next;
		mes "[Senior]";
		mes "But I will never trust you guys! I will keep my eyes on you!!!";
		next;
		cutin "16lei_02.bmp",2;
		cloakonnpc "Senior#16nego01", getcharid(0);
		mes "[Lazy]";
		mes "Oh, what a passionate propose. I've never had anything like this in my life. I feel a little shy.";
		npctalk "That's so cool.", "", bc_self;
		next;
		cutin "",255;
		mes "[Senior]";
		mes "I'm not leaving until I close his big mouth! I'm not leaving!";
		npctalk "I'm not leaving!", "Senior#16nego02", bc_self;
		sleep2 300;
		npctalk "Hey, behave yourself and let's go back. We have to set up a countermeasure.", "Senior#16nego03", bc_self;
		sleep2 500;
		npctalk "Well, I have to carry him.", "Senior#16nego04", bc_self;
		next;
		cloakonnpc "Senior#16nego02", getcharid(0);
		cloakonnpc "Senior#16nego03", getcharid(0);
		cloakonnpc "Senior#16nego04", getcharid(0);
		cutin "16go_03.bmp",2;
		mes "[Gonie]";
		mes "......";
		next;
		cutin "16loo_02.bmp",0;
		mes "[Rookie]";
		mes "Yes. Let me handle this place. You go inside and get ready.";
		next;
		cutin "16lei_01.bmp",0;
		cloakonnpc "Gonie#16nego04", getcharid(0);
		mes "[Lazy]";
		mes "I've never imagined that this would be done so perfectly. I owe you for this. Thanks.";
		npctalk "The happiness is always with me.", "", bc_self;
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "Please go and send them a message. Tell them 'The Heron spread its wings' and they will understand.";
		npctalk "What is that? Heron?", "Rookie#16nego02", bc_self;
		sleep2 300;
		npctalk "Curious? Are you really curious?", "", bc_self;
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Should I go alone? Don't you have to send the message directly?";
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "I am staying here. Hahaha. I really like this fellow and we can work together.";
		npctalk "What do you think? You like it. Don't you?", "", bc_self;
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "Work with me? I don't think I can do anything useful for you.";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "Exactly. That's something you should change. Self-confidence. In your case, the lack of confidence caused the lack of self-confidence.";
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Confidence can be obtained by yourself, through an achievement or by being approved by someone else a person. It's impossible here. This place is like a suit that does not fit for you.";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "As long as there is just one person who trusts you, you can grow to infinity.";
		next;
		mes "[Lazy]";
		mes "You may not have realized it. But you are already doing it to everyone here. They all counting on you. Just trust yourself a little more.";
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "If you don't get it, trust me. Because I trust you.";
		unittalk getcharid(3), "" + strcharinfo(0) + " : This is called 'infinite confidence'.", bc_self;
		next;
		cutin "16lei_03.bmp",2;
		emotion ET_BEST;
		mes "[Lazy]";
		mes "Now the generation has shifted. Today is the last day for the old generation and the first day for the new generation. And you are the link.";
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "You're too good to waste your talent here.";
		next;
		cutin "16lei_03.bmp",2;
		mes "[Lazy]";
		mes "First, you had the ability to find out that I had a certain purpose. You were also able to find out what's helpful for Rebellions. Then you had the guts to implement it. You also have the humanity...";
		next;
		mes "[Lazy]";
		mes "Just a little polishing will help you spread your wings. You're supposed to use your brain. Why do you suffer by working physically?";
		npctalk "Wings? So it's what you meant when you mentioned Heron?", "Rookie#16nego02", bc_self;
		sleep2 300;
		npctalk "Strictly speaking, no. But let's say it is similar.", "", bc_self;
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "If you want, I can help you. What do you think? I need a partner and I'm sure we can make a great duo.";
		unittalk getcharid(3), "" + strcharinfo(0) + " : You said you'd make a duo with me.", bc_self;
		sleep2 300;
		npctalk "Adventurer. I know you'd leave me soon.", "", bc_self;
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "Oh, could you be explain it to me in detail?";
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Sure. I have plenty of time. By the way, is it okay for me to stay here continuously?";
		emotion ET_BEST;
		next;
		cutin "16loo_02.bmp",0;
		mes "[Rookie]";
		mes "We are now cooperating, aren't we?";
		emotion ET_BEST, getnpcid(0, "Rookie#16nego02");
		npctalk "We? Did you say 'we'? You people are so cool.", "", bc_self;
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Don't you think you're scouting him too plainly in someone else's house?";
		next;
		cutin "16lei_02.bmp",2;
		mes "[Lazy]";
		mes "Is there anything wrong with it? You have this talented guy but you are not utilizing his ability. Are you? He's so talented!";
		unittalk getcharid(3), "" + strcharinfo(0) + " : I think you are regarding him as an item.", bc_self;
		next;
		cutin "16go_03.bmp",2;
		cloakoffnpc "Gonie#16nego04", getcharid(0);
		mes "[Gonie]";
		mes "......";
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "Gonie?";
		next;
		mes "[Gonie]";
		mes "......";
		npctalk "Already?", "Rookie#16nego02", bc_self;
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "What did he say?";
		next;
		cutin "16loo_01.bmp",0;
		mes "[Rookie]";
		mes "He says we have prepared someone to proceed the cooperation. If you go to the passage to the store, you can meet that person.";
		npctalk "Thanks.", "Rookie#16nego02", bc_self;
		cloakonnpc "Gonie#16nego04", getcharid(0);
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Yes. I will meet that person and listen.";
		next;
		cutin "16lei_01.bmp",2;
		mes "[Lazy]";
		mes "Adventurer, I need to have a long talk from now on. So I'm counting on you. When you go there, don't forget to use that place. I mean 'that place'.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Pardon? I see.. See you later.";
		next;
		mes "[Lazy]";
		mes "Yikes! Wait a minute! I almost forgot. This is the reward specially prepared for this mission. I am giving all of them to you. You can exchange this with something useful.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Token of honor?";
		next;
		mes "[Lazy]";
		mes "Seems like the dull middle-aged person standing beside the stairs receives the tokens. His name is Strasse. If you are interested, go.";
		next;
		mes "[Lazy]";
		mes "I gave you everything. Bye now. Say hello to the President!!";
		npctalk "Tell his excellency to wait for a while even if his excellency misses me.", "", bc_self;
		sleep2 300;
		npctalk "Please visit us again, adventurer.", "Rookie#16nego02", bc_self;
		erasequest 14614;// Convince the leaders
		setquest 14615;// Between negotiation and deception
		getitem 25155,10;	// Swz_Honor_Token
		getexp 1000000,500000;
		terra_gloria_main = 17;
		questinfo_refresh();
		close3;
	}
	cutin "16lei_01.bmp",2;
	mes "[Lazy]";
	mes "Yo! Welcome! Do you want a cup of tea? Did you send the message properly?";
	close3;

OnInit:
	// questinfo( QTYPE_QUEST, QMARK_NONE, "isbegin_quest(14614) == 0 && isbegin_quest(14599) == 1" );	// no questinfo
	questinfo( QTYPE_QUEST, QMARK_NONE, "isbegin_quest(14615) == 0 && isbegin_quest(14602) == 2 && isbegin_quest(11462) == 2" );
	end;
}
// Old Lady Room - Outside
rebel_in,121,43,5	duplicate(dummy_cloaked_npc)	Rebellion Guard leader#1	4_M_REBELLION

function	script	F_TerraGloria_Lady	{
	if (terra_gloria_main < 16 || terra_gloria_lady_part == 0) {
		mes "[Rebellion guard]";
		mes "I'm sorry.";
		mes "You cannot enter here.";
		close;
	}
	if (terra_gloria_main == 16 && terra_gloria_lady_part == 1) {
		mes "[Rebellion guard]";
		mes "I'm sorry.";
		mes "You cannot enter here.";
		next;
		select("Tell the guard that Rookie sent you.");
		mes "[Rebellion guard]";
		mes "Rookie?";
		npctalk "Rebellion guard : Rookie?", "Rebellion guard#162gmbs1", bc_self;
		npctalk "Rebellion guard : Rookie?", "Rebellion guard#162gmbs2", bc_self;
		next;
		mes "[Rebellion guard]";
		mes "What's wrong with that guy?";
		mes "Although he sent you here, you cannot enter.";
		mes "Please go back.";
		next;
		cloakoffnpc "Rebellion Guard leader#1", getcharid(0);
		mes "[Rebellion Guard leader]";
		mes "Why is it so noisy here?";
		npctalk "Rebellion Guard leader : Be quiet!", "Rebellion Guard leader#1", bc_self;
		emotion ET_FRET, getnpcid(0, "Rebellion Guard leader#1");
		next;
		mes "[Rebellion guard]";
		mes "I'm sorry!!!!";
		npctalk "Rebellion guard : I'm sorry!!!!", "Rebellion guard#162gmbs1", bc_self;
		npctalk "Rebellion guard : I'm sorry!!!!", "Rebellion guard#162gmbs2", bc_self;
		next;
		mes "[Rebellion Guard leader]";
		mes "Shut up!";
		mes "How many times do you think I told you to be quiet!";
		next;
		mes "[Rebellion guard]";
		mes "I am sorry..";
		mes "This person wants to go inside, claiming that Rookie sent him/her.";
		next;
		mes "[Rebellion Guard leader]";
		mes "Rookie?";
		npctalk "Rebellion Guard leader : Rookie?", "Rebellion Guard leader#1", bc_self;
		next;
		mes "[Rebellion Guard leader]";
		mes "Arrrgh... That kid?";
		next;
		mes "[Rebellion Guard leader]";
		mes "The kid sent you. So, what about it?";
		next;
		mes "[Rebellion Guard leader]";
		mes "You...... You're the one who made a fuss downstairs a moment ago.";
		npctalk "Guard leader : You came here with the lazy-looking guy.", "Rebellion Guard leader#1", bc_self;
		next;
		mes "[Rebellion Guard leader]";
		mes "I have no idea what brought you here. But I can't let you in.";
		mes "Do not make a fuss. Go back!";
		next;
		select("Ask him again.");
		mes "[Rebellion Guard leader]";
		mes "You cannot change anything by asking me for a favor.";
		mes "No.";
		next;
		select("Ask him again.");
		mes "[Rebellion Guard leader]";
		mes "I said no!";
		mes "You're so annoying!";
		npctalk "Rebellion Guard leader : I said no. And that's it!", "Rebellion Guard leader#1", bc_self;
		next;
		mes "[Rebellion Guard leader]";
		mes "If it hadn't been for the order of our leader, I could just knock you out right here......";
		next;
		mes "[???]";
		mes "...... It's noisy outside.";
		mes "What's going on? Larcis.";
		emotion ET_HUK, getnpcid(0, "Rebellion Guard leader#1");
		next;
		mes "[Rebellion Guard leader Larcis]";
		mes "Nothing.";
		next;
		mes "[Rebellion Guard leader Larcis]";
		mes "Hey, leave now.";
		mes "You will be in trouble, if you keep making a fuss.";
		emotion ET_PROFUSELY_SWAT, getnpcid(0, "Rebellion Guard leader#1");
		next;
		if (select( "Shout at him.", "Go back." ) == 2) {
			mes "[Rebellion Guard leader Larcis]";
			mes "A good idea.";
			mes "The exit is downstairs. Go there.";
			npctalk "Rebellion Guard leader : Hey~ Hey~ Go away!", "Rebellion Guard leader#1", bc_self;
			cloakonnpc "Rebellion Guard leader#1", getcharid(0);
			close;
		}
		mes "[Rebellion Guard leader Larcis]";
		mes "What the hell was that!";
		mes "You're so rude!";
		mes "Do you want to die right now?";
		emotion ET_HUK, getnpcid(0, "Rebellion Guard leader#1");
		npctalk "Rebellion Guard leader : Hey!! Pipe down!!!!!", "Rebellion Guard leader#1", bc_self;
		next;
		mes "[???]";
		mes "Oops!";
		mes "This is the voice I've never heard before. Is it the adventurer who helped that kid?";
		next;
		select("Say yes.");
		mes "[???]";
		mes "Larcis.";
		mes "We cannot leave our savior outside. Let the adventurer come in.";
		mes "Let me give him/her a cup of tea.";
		next;
		mes "[Rebellion Guard leader Larcis]";
		mes "But.. Dien!!!";
		next;
		mes "[Dien]";
		mes "......";
		next;
		mes "[Rebellion Guard leader Larcis]";
		mes "...... I see.";
		mes "Follow me.";
		npctalk "Rebellion Guard leader : Ha... I'll be scolded by the leader..", "Rebellion Guard leader#1", bc_self;
		next;
		mes "[Rebellion Guard leader Larcis]";
		mes "If you behave rudely, you won't go back alive.";
		npctalk "Rebellion Guard leader : If anything goes wrong, we will die together!", "Rebellion Guard leader#1", bc_self;
		cloakonnpc "Rebellion Guard leader#1", getcharid(0);
		erasequest 11454;// Doubt
		setquest 11455;// Doubt
		terra_gloria_lady_part = 2;
		close2;
		warp "rebel_in",158,83;
		end;
	}
	return;
}

rebel_in,125,44,3	script	Rebellion guard#162gmbs1	4_F_REBELLION3,{
	callfunc("F_TerraGloria_Lady");
	end;
}
rebel_in,125,39,3	duplicate(Rebellion guard#162gmbs1)	Rebellion guard#162gmbs2	4_M_REBELLION3

rebel_in,126,41,0	script	#162gmroom_2	WARPNPC,1,1,{
	end;
OnTouch:
	callfunc("F_TerraGloria_Lady");
	if (terra_gloria_lady_part == 8 || terra_gloria_lady_part == 9) {
		mes "- The door seems to be locked -";
		close;
	}
	if (terra_gloria_lady_part == 10) {
		mes "- You hear the conversation from inside the room. -";
		next;
		mes "[Rebellion senior Ridsh]";
		mes "... So I was thinking that you were having dementia.";
		cutin "ep162_rds03.bmp",0;
		next;
		mes "[Rebellion senior Dien]";
		mes "I'm not that old yet.";
		cutin "ep162_dn01.bmp",2;
		next;
		mes "[Rebellion senior Ridsh]";
		mes "Come to think of it, you should make yourself up!";
		cutin "ep162_rds03.bmp",0;
		next;
		mes "[Rebellion senior Ridsh]";
		mes "This is why you look older!";
		next;
		mes "[Rebellion senior Ridsh]";
		mes "Sometimes you look older than Cotnes!";
		next;
		mes "[Rebellion senior Dien]";
		mes "Oops, really?";
		cutin "ep162_dn01.bmp",2;
		next;
		mes "[Rebellion senior Cotnes]";
		mes "Phew!";
		mes "Not so old!";
		cutin "ep162_ctn01.bmp",2;
		next;
		mes "[Rebellion senior Cotnes]";
		mes "It seems like you have more wrinkles these days.";
		mes "Why don't you put on some anti-wrinkle cream?";
		next;
		mes "[Rebellion senior Dien]";
		mes "This all is because of the air here!";
		cutin "ep162_dn01.bmp",2;
		next;
		mes "[Rebellion senior Ridsh]";
		mes "You're right!";
		mes "This type of air is critical to the dry skin like yours!";
		cutin "ep162_rds01.bmp",0;
		next;
		mes "[Rebellion senior Ridsh]";
		mes "Come to think of it, remember that kid who came here before?";
		mes "Tell him to buy some cosmetics from Rune-Midgarts!";
		next;
		mes "[Rebellion senior Ridsh]";
		mes "I have heard there's a fascinating cosmetic shop there.";
		next;
		mes "[Rebellion senior Ridsh]";
		mes "It's difficult for our kids to go all the way there to buy cosmetics.";
		mes "There is a problem with the position as well...";
		cutin "ep162_rds03.bmp",0;
		next;
		mes "[Rebellion senior Dien]";
		mes "That kid? Who are you talking about?";
		cutin "ep162_dn01.bmp",2;
		next;
		mes "[Rebellion senior Ridsh]";
		mes "The kid from the Secret Wings~";
		cutin "ep162_rds01.bmp",0;
		next;
		mes "[Rebellion senior Dien]";
		mes "Oh!";
		mes "I remember I asked him for an errand. Will he be back here?";
		cutin "ep162_dn01.bmp",2;
		next;
		mes "[Rebellion senior Ridsh]";
		mes "It's like you solved the whole problem. And they won't get past you.";
		cutin "ep162_rds02.bmp",0;
		next;
		mes "[Rebellion senior Ridsh]";
		mes "Of course, we have some important thoughts~";
		cutin "ep162_rds03.bmp",0;
		next;
		mes "[Rebellion senior Ridsh]";
		mes "You're so great. How can you think of such an idea in that short moment?";
		next;
		mes "[Rebellion senior Dien]";
		mes "Not to mention the president, Heart Hunters are irritating to us as well.";
		cutin "ep162_dn03.bmp",2;
		next;
		mes "[Rebellion senior Dien]";
		mes "Although they are all novices, they can be an obstacle for us in defeating the Secret Wings.";
		next;
		mes "[Rebellion senior Ridsh]";
		mes "That's true.";
		cutin "ep162_rds01.bmp",0;
		next;
		mes "[Rebellion senior Dien]";
		mes "Let's say we attack the Secret Wings recklessly and Heart Hunters takes the chance to attack us. We'll collapse in a minute.";
		cutin "ep162_dn03.bmp",2;
		next;
		mes "[Rebellion senior Dien]";
		mes "So we will pretend to cooperate with the Secret Wings and get rid of the annoying ones first.";
		cutin "ep162_dn04.bmp",2;
		next;
		mes "[Rebellion senior Ridsh]";
		mes "Let's finish them before they realize we have a plan to attack them.";
		cutin "ep162_rds05.bmp",0;
		next;
		mes "[Rebellion senior Ridsh]";
		mes "We're Rebellions. And we are at the end of guns.";
		next;
		mes "[Rebellion senior Dien]";
		mes "Let me finish my karma in my generation.";
		mes "I don't want to leave it to youngsters.";
		cutin "ep162_dn03.bmp",2;
		next;
		mes "[Rebellion senior Dien]";
		mes "This is good to have this opportunity before I die.";
		cutin "ep162_dn01.bmp",2;
		next;
		mes "[Rebellion senior Ridsh]";
		mes "Come on, sister!";
		mes "Don't talk about dying!";
		cutin "ep162_rds03.bmp",0;
		next;
		mes "[Rebellion senior Ridsh]";
		mes "I saw Rupert crying after you said that.";
		cutin "ep162_rds04.bmp",0;
		next;
		mes "[Rebellion senior Ridsh]";
		mes "He's not cute anymore, he is just a middle-aged man. But to him, you're like mother.";
		cutin "ep162_rds03.bmp",0;
		next;
		mes "[Rebellion senior Ridsh]";
		mes "And to me...";
		next;
		mes "[Rebellion senior Dien]";
		mes "Yes, I see.";
		cutin "ep162_dn01.bmp",2;
		next;
		mes "[Rebellion senior Dien]";
		mes "What we have now is a pleasant party. I'm looking forward to it.";
		mes "Hahaha.";
		cutin "ep162_dn04.bmp",2;
		next;
		mes "[Rebellion senior Ridsh]";
		mes "I'm expecting it so much!";
		cutin "ep162_rds05.bmp",0;
		next;
		mes "[Rebellion senior Cotnes]";
		mes "Then I'll fix the party accessories in advance.";
		mes "Hohohoho.";
		cutin "ep162_ctn02.bmp",2;
		terra_gloria_lady_part = 11;
		setquest 11463;// You said the party is ready?
		close3;
	}
	warp "rebel_in",158,83;
	end;

OnInit:
	questinfo( QTYPE_QUEST, QMARK_NONE, "terra_gloria_lady_part == 10" );
	end;
}


// Old Lady Room - Inside
rebel_in,166,88,3	script	Cotnes#162gmbs	4_F_COATNEIS,{
	if (terra_gloria_lady_part < 3) {
		cutin "ep162_ctn01.bmp",2;
		mes "[Cotnes]";
		mes "Nice to meet you.";
		mes "Take a seat and have some cookies.";
		close3;
	}
	if (terra_gloria_lady_part < 7) {
		cutin "ep162_ctn01.bmp",2;
		mes "[Cotnes]";
		mes "Phew.. It sounds so serious.";
		mes "It's dangerous to be excited at our age...";
		close3;
	}
	// if (terra_gloria_lady_part >= 11) {// to 13
	cutin "ep162_ctn01.bmp",2;
	mes "[Rebellion senior Cotnes]";
	mes "Oops! Welcome.";
	mes "We have been talking about the party that will be held soon.";
	close3;
}

rebel_in,166,86,3	script	Ridsh#162gmbs	4_F_LEEDSH,{
	if (terra_gloria_lady_part < 3) {
		cutin "ep162_rds01.bmp",0;
		mes "[Ridsh]";
		mes "It's been a long time since an outsider came in here for the last time.";
		close3;
	}
	if (terra_gloria_lady_part < 7) {
		cutin "ep162_rds02.bmp",0;
		mes "[Ridsh]";
		mes "If you do not want me to make a nice hole in your head, leave now.";
		npctalk "Ridsh : You'll feel a cool breeze in your head!", "", bc_self;
		close3;
	}
	// if (terra_gloria_lady_part >= 11) {// to 13
	cutin "ep162_rds03.bmp",0;
	mes "[Rebellion senior Ridsh]";
	mes "Don't be so panic.";
	mes "I talked it out with my sister.";
	npctalk "Ridsh : I am not such a scary person~", "", bc_self;
	close3;
}

rebel_in,164,88,5	script	Dien#162gmbs	4_F_DIENE,4,4,{
	if (terra_gloria_lady_part < 3) {
		cutin "ep162_dn01.bmp",2;
		mes "[Dien]";
		mes "Welcome.";
		next;
		mes "[Dien]";
		mes "Don't just be standing there. Sit down here.";
		emotion ET_COMEON;
		close3;
	}
	if (terra_gloria_lady_part == 3) {
		mes "[Dien]";
		mes "Good.";
		cutin "ep162_dn01.bmp",2;
		next;
		mes "[Dien]";
		mes "Let me persuade the people who are against this.";
		next;
		mes "[Ridsh]";
		mes "What!!!!!!!!!!!!!";
		mes "Sister!";
		mes "Are you crazy?";
		mes "What the hell are you saying!";
		cutin "ep162_rds04.bmp",0;
		emotion ET_HUK, getnpcid(0, "Ridsh#162gmbs");
		next;
		mes "[Ridsh]";
		mes "That's the request from the president!";
		mes "The guy who destroyed us!";
		cutin "ep162_rds02.bmp",0;
		next;
		mes "[Dien]";
		mes "Calm down, Ridsh.";
		npctalk "Dien : I thought about it a lot.", "", bc_self;
		cutin "ep162_dn03.bmp",2;
		next;
		mes "[Ridsh]";
		mes "I will never accept it!";
		cutin "ep162_rds04.bmp",0;
		next;
		mes "[???]";
		mes "Well... If Dien agrees, I will agree, too.";
		cutin "ep162_ctn01.bmp",2;
		next;
		mes "[Ridsh]";
		mes "What's wrong with you, Cotnes!";
		mes "This is the request from those guys!";
		mes "Those guys who destroyed us!";
		npctalk "Ridsh : Have you forgotten how much we suffered because of it?", "Ridsh#162gmbs", bc_self;
		emotion ET_HUK, getnpcid(0, "Ridsh#162gmbs");
		cutin "ep162_rds04.bmp",0;
		next;
		mes "[Cotnes]";
		mes "Dien must have some thoughts about it.";
		emotion ET_HUM, getnpcid(0, "Cotnes#162gmbs");
		cutin "ep162_ctn01.bmp",2;
		next;
		mes "[Ridsh]";
		mes "Although you are my sister, I will never accept this!";
		emotion ET_STARE, getnpcid(0, "Ridsh#162gmbs");
		cutin "ep162_rds02.bmp",0;
		next;
		mes "[Dien]";
		mes "... You'd better go out now.";
		mes "If you stay here longer, you might get an air hole in your head.";
		cutin "ep162_dn03.bmp",2;
		next;
		mes "[Dien]";
		mes "I know you've met Rupert. Have you met ^ff0000Erst^000000?";
		cutin "ep162_dn01.bmp",2;
		next;
		mes "[Dien]";
		mes "Larcis. Go with this adventurer and hand them this letter.";
		next;
		mes "[Dien]";
		mes "And tell the kids in front of the door not to enter here until Ridsh calms down.";
		next;
		cutin "",255;
		mes "[Rebellion Guard leader Larcis]";
		mes "Yes, I will.";
		emotion ET_OK, getnpcid(0, "Rebellion Guard leader#2");
		next;
		mes "[Rebellion Guard leader Larcis]";
		mes "Follow me. We are going to commander Erst first.";
		emotion ET_GO, getnpcid(0, "Rebellion Guard leader#2");
		npctalk "Rebellion Guard leader : To find commander Erst's room, go out of this room and walk through the left corridor.", "Rebellion Guard leader#2", bc_self;
		erasequest 11456;// Doubt
		setquest 11457;// Doubt
		completequest 14601;// Ladies on second floor
		terra_gloria_lady_part = 4;
		close;
	}
	if (terra_gloria_lady_part == 4) {
		mes "[Dien]";
		mes "... You'd better go out now.";
		mes "If you stay here longer, you might get an air hole in your head.";
		cutin "ep162_dn03.bmp",2;
		next;
		mes "[Dien]";
		mes "I know you've met Rupert. Have you met Erst?";
		cutin "ep162_dn01.bmp",2;
		next;
		mes "[Dien]";
		mes "Larcis. Go with this adventurer and hand them this letter.";
		next;
		mes "[Dien]";
		mes "And tell the kids in front of the door not to enter here until Ridsh calms down.";
		next;
		cutin "",255;
		mes "[Rebellion Guard leader Larcis]";
		mes "Yes, I will.";
		emotion ET_OK, getnpcid(0, "Rebellion Guard leader#2");
		next;
		mes "[Rebellion Guard leader Larcis]";
		mes "Follow me. We are going to commander Erst first.";
		npctalk "Rebellion Guard leader : To find commander Erst's room, go out of this room and walk through the left corridor.", "Rebellion Guard leader#2", bc_self;
		close;
	}
	if (terra_gloria_lady_part < 7) {
		mes "[Dien]";
		mes "I'm surprised that Erst accepted it so easily.";
		npctalk "Dien : I thought there would a disaster.", "Dien#162gmbs", bc_self;
		cutin "ep162_dn01.bmp",2;
		next;
		mes "[Dien]";
		mes "Without further delay, meet Rupert again.";
		npctalk "Dien : If all of us agree, he cannot help but approve it.", "Dien#162gmbs", bc_self;
		close3;
	}
	// if (terra_gloria_lady_part == 11) {// 12 - 13
	mes "[Rebellion senior Dien]";
	mes "Welcome.";
	mes "Since most of the kids are busy these days, I feel somewhat bored.";
	npctalk "Dien : I have many things to prepare.", "Dien#162gmbs", bc_self;
	cutin "ep162_dn01.bmp",2;
	next;
	mes "[Rebellion senior Dien]";
	mes "By the way, what brought you here? I thought you finished your business.";
	mes "I guess I answered your question...";
	next;
	mes "[Rebellion senior Dien]";
	mes "Oops!";
	mes "You haven't forgotten about the errand?";
	next;
	mes "[Rebellion senior Dien]";
	mes "I didn't really mean to ask you for a favor. It's so kind of you to remember it!";
	npctalk "Dien : What a sensation!", "Dien#162gmbs", bc_self;
	next;
	mes "[Rebellion senior Dien]";
	mes "We were talking about the party we are planning soon.";
	mes "It was nearly over. But several ingredients are missing.";
	npctalk "Dien : It's such an important party.", "Dien#162gmbs", bc_self;
	next;
	mes "[Rebellion senior Dien]";
	mes "Since Larcis is in charge of our business, please ask him. He will tell you what we need.";
	if (terra_gloria_lady_part == 11) {
		erasequest 11463;// You said the party is ready?
		setquest 11464;// You said the party is ready?
		terra_gloria_lady_part = 12;
		getexp 200000,200000;
	}
	close3;

OnTouch:
	if (terra_gloria_lady_part == 2) {
		mes "[Dien]";
		mes "Well...... I heard what they said about you.";
		mes "Did you help the kid when he fell on the ground?";
		cutin "ep162_dn02.bmp",2;
		next;
		mes "[???]";
		mes "Sister, he is Gonie.";
		emotion ET_OHNO, getnpcid(0, "Ridsh#162gmbs");
		cutin "ep162_rds01.bmp",0;
		next;
		mes "[Dien]";
		mes "Oops.";
		mes "Is his name Gonie?";
		emotion ET_AHA;
		cutin "ep162_dn01.bmp",2;
		npctalk "Dien : There are so many kids....", "", bc_self;
		next;
		mes "[???]";
		mes "You know, that tall guy who doesn't talk much.";
		cutin "ep162_rds03.bmp",0;
		next;
		mes "[Dien]";
		mes "Oh!";
		emotion ET_THROB;
		cutin "ep162_dn01.bmp",2;
		next;
		mes "[???]";
		mes "He bought some expensive cookies for us on his way to Lighthalzen.";
		npctalk "??? : That cookie must cost a fortune.", "Ridsh#162gmbs", bc_self;
		emotion ET_BLABLA, getnpcid(0, "Ridsh#162gmbs");
		cutin "ep162_rds01.bmp",0;
		next;
		mes "[Dien]";
		mes "Oh! Right!";
		mes "Yes!";
		cutin "ep162_dn01.bmp",2;
		next;
		mes "[Dien]";
		mes "It was so delicious.";
		mes "Have we finished it all?";
		emotion ET_BIGTHROB;
		next;
		mes "[???]";
		mes "It was so delicious and we finished it that day. Didn't we?";
		mes "The quantity was so small.";
		npctalk "??? : I will tell him to buy it again next time.", "Ridsh#162gmbs", bc_self;
		cutin "ep162_rds01.bmp",0;
		next;
		mes "[Dien]";
		mes "Did we finish it?";
		mes "It would have been better if we saved it for visitors.";
		npctalk "A dessert is essential for teatime.", "", bc_self;
		cutin "ep162_dn01.bmp",2;
		next;
		mes "[???]";
		mes "If you save it, there will be mold on it.";
		npctalk "??? : Well... Since it's too dry here, it might become more crispy.", "Ridsh#162gmbs", bc_self;
		cutin "ep162_rds03.bmp",0;
		next;
		mes "[???]";
		mes "By the way, what happened to Gonie that time?";
		cutin "ep162_rds01.bmp",0;
		next;
		cutin "",255;
		select("Explain the situation.");
		mes "[Dien]";
		mes "Oh, my goodness! Really?";
		cutin "ep162_dn01.bmp",2;
		emotion ET_HUK;
		emotion ET_HUK, getnpcid(0, "Ridsh#162gmbs");
		emotion ET_HUK, getnpcid(0, "Cotnes#162gmbs");
		next;
		mes "[Dien]";
		mes "Oh!";
		mes "I was lucky to find him early.";
		npctalk "Dien : Lying down somewhere like that can be really dangerous.", "", bc_self;
		next;
		mes "[???]";
		mes "I heard what they were saying.";
		mes "It sounds like he has been cured and is all right now.";
		npctalk "??? : A moment ago, there was a fuss.", "Ridsh#162gmbs", bc_self;
		cutin "ep162_rds01.bmp",0;
		next;
		mes "[Dien]";
		mes "Is that so?";
		mes "What a relief.";
		cutin "ep162_dn01.bmp",2;
		next;
		mes "[Dien]";
		mes "Ah~";
		mes "The kids are struggling......";
		next;
		mes "[Dien]";
		mes "I hope they don't get hurt.";
		mes "Every time they leave the base, I'm afraid they might get hurt.";
		next;
		mes "[???]";
		mes "Oh, sister!";
		mes "You worry too much!";
		mes "They are adults, not babies. They can take care of themselves.";
		emotion ET_SCRATCH, getnpcid(0, "Ridsh#162gmbs");
		cutin "ep162_rds03.bmp",0;
		next;
		mes "[???]";
		mes "By the way, what are you doing here?";
		next;
		mes "[???]";
		mes "I don't think you came here for tea and chatting with us.";
		next;
		cutin "",255;
		select("Talk about cooperation.");
		mes "[???]";
		mes "What?!";
		cutin "ep162_rds02.bmp",0;
		next;
		mes "[???]";
		mes "Hey!";
		mes "Get out of here!";
		cutin "ep162_rds04.bmp",0;
		next;
		mes "[???]";
		mes "Where do you think you are? That's sheer nonsense!";
		npctalk "??? : Ha! It's shocking!", "Ridsh#162gmbs", bc_self;
		next;
		mes "[Dien]";
		mes "Calm down, Ridsh!";
		mes "Do not make a fuss.";
		cutin "ep162_dn03.bmp",2;
		next;
		mes "[Ridsh]";
		mes "How can I calm down on hearing that?";
		npctalk "Ridsh : You have also heard what the adventurer has said just now!", "Ridsh#162gmbs", bc_self;
		cutin "ep162_rds02.bmp",0;
		next;
		mes "[Ridsh]";
		mes "No wonder they started talking about Gonie. It seemed like they were hiding something from the beginning!";
		next;
		mes "[Ridsh]";
		mes "If you do not want me to make a nice hole in your head, leave now.";
		next;
		mes "[Ridsh]";
		mes "And tell them!";
		npctalk "Tell the fools who sent you here!", "Ridsh#162gmbs", bc_self;
		next;
		mes "[Ridsh]";
		mes "Before we kill you all, there's no chance in hell we can ever cooperate with you!";
		next;
		mes "[Ridsh]";
		mes "How dare you....";
		next;
		mes "[Dien]";
		mes "......";
		cutin "ep162_dn03.bmp",2;
		next;
		mes "[Dien]";
		mes "You expected this before you came here, right?";
		npctalk "Dien : You didn't think we would accept it easily. Did you?", "", bc_self;
		next;
		mes "[Dien]";
		mes "But we like your courage. So we will listen to you first.";
		cutin "ep162_dn01.bmp",2;
		next;
		mes "[Dien]";
		mes "You must have been ready to die by the time you came here. So I will say this is the price of your life.";
		npctalk "Dien We are not so mean.", "", bc_self;
		next;
		mes "[Ridsh]";
		mes "Sister!";
		mes "Don't even listen!";
		npctalk "Ridsh : Whatever it is, it's nonsense!", "Ridsh#162gmbs", bc_self;
		cutin "ep162_rds02.bmp",0;
		next;
		mes "[Dien]";
		mes "Ridsh!";
		cutin "ep162_dn03.bmp",2;
		next;
		mes "[Ridsh]";
		mes "...";
		emotion ET_CHAT_PROHIBIT, getnpcid(0, "Ridsh#162gmbs");
		cutin "ep162_rds03.bmp",0;
		next;
		cutin "",255;
		select("Explain the situation.");
		mes "[Dien]";
		mes "Wow... Heart Hunters...";
		cutin "ep162_dn03.bmp",2;
		next;
		mes "[Ridsh]";
		mes "What!";
		mes "Whatever it is, it is none of our business!";
		cutin "ep162_rds02.bmp",0;
		next;
		mes "[Ridsh]";
		mes "Why do we have to help you?";
		next;
		mes "[Ridsh]";
		mes "You are the ones who abandoned us in suffering!";
		next;
		mes "[Ridsh]";
		mes "Rune-Midgarts?";
		mes "I don't care what happens to their royal family!";
		next;
		mes "[Ridsh]";
		mes "For Schwartz?";
		mes "The biggest wish of my life is the collapse of Schwartz!";
		npctalk "Ridsh : You make me laugh!", "Ridsh#162gmbs", bc_self;
		cutin "ep162_rds04.bmp",0;
		next;
		mes "[Ridsh]";
		mes "You can't handle Heart Hunter kids and ask us for help!";
		cutin "ep162_rds02.bmp",0;
		next;
		mes "[Ridsh]";
		mes "Where is the arrogance you showed us when you abandoned us?";
		npctalk "Ridsh : You guys said that we were useless. And now you ask us for help...?", "Ridsh#162gmbs", bc_self;
		next;
		mes "[Ridsh]";
		mes "It serves you right!";
		mes "Fools!";
		npctalk "Ridsh : You will fall to ruin!", "Ridsh#162gmbs", bc_self;
		next;
		mes "[Dien]";
		mes "... That's enough!";
		mes "Can you give us some time to think about it?";
		mes "It's not an easy decision.";
		cutin "ep162_dn03.bmp",2;
		erasequest 11455;// Doubt
		setquest 11456;// Doubt
		terra_gloria_lady_part = 3;
		close3;
	}
	end;
}

rebel_in,162,87,5	script	Rebellion Guard leader#2	4_M_REBELLION,{
	if (checkweight(501,1) == 0 || (MaxWeight - Weight) < 1000) {
		mes "- You have too many items in your inventory.";
		mes "Please arrange your inventory and try again. -";
		close;
	}
	disable_items;
	if (terra_gloria_lady_part < 12) {
		mes "[Rebellion Guard leader Larcis]";
		mes "Quiet inside!!";
		close;
	}
	if (terra_gloria_lady_part == 12) {
		mes "[Rebellion Guard leader Larcis]";
		mes "What's going on here?";
		next;
		mes "[Rebellion Guard leader Larcis]";
		mes "Preparation for the party?";
		mes "She has never told me anything about party!";
		next;
		mes "[Rebellion Guard leader Larcis]";
		mes "Oh! I remember she told me to bring something suspicious.";
		next;
		mes "[Rebellion Guard leader Larcis]";
		mes "High Class Tea for Dien, Old Letter for Ridsh and Very Shining Ring for Cotnes.";
		next;
		mes "[Rebellion Guard leader Larcis]";
		mes "At first sight, they don't look strange. But their locations are quite suspicious... They are in the northeastern corner of Einbroch. I have no idea how we can get them in such a place...";
		npctalk "Guard leader : It sounds dangerous...", "", bc_self;
		next;
		mes "[Rebellion Guard leader Larcis]";
		mes "But... they told us to bring them. So we have to go and get them.";
		npctalk "Rebellion Guard leader : An order is an order... I can't reject it.", "", bc_self;
		next;
		mes "[Rebellion Guard leader Larcis]";
		mes "If you're willing to go, tell me!";
		mes "Of course, we will compensate you.";
		completequest 11464;// You said the party is ready?
		terra_gloria_lady_part = 13;
		close;
	}
	mes "[Rebellion Guard leader Larcis]";
	mes "You're here!";
	mes "Then would you please have a look at the tasks given by Dien, Ridsh and Cotnes?";
	next;
	setarray .@quest_id[0], 11465, 11467, 11469;
	setarray .@item_id[0], 25165, 25167, 25166;
	setarray .@amount[0], 1, 1, 4;
	while(true) {
		setarray .@menu$[0], "Dien's High Class Tea", "Ridsh's Old Letter", "Cotnes's Very Shining Ring", "Don't do it.";
		for ( .@i = 0; .@i < 3; ++.@i ) {
			switch( checkquest(.@quest_id[.@i],HUNTING) ) {
			case -1:
				switch( checkquest(.@quest_id[.@i]+1,PLAYTIME) ) {
				case -1:
					.@quest_status[.@i] = 0;
					break;
				case 0:
				case 1:
					.@menu$[.@i] = "^8C8C8C" + .@menu$[.@i] + " (standing by)^000000";
					.@quest_status[.@i] = 2;
					break;
				case 2:
					.@quest_status[.@i] = 0;
					break;
				}
				break;
			case 0:
			case 1:
				.@menu$[.@i] = "^8C8C8C" + .@menu$[.@i] + " (doing now)^000000";
				.@quest_status[.@i] = 1;
				break;
			case 2:
				if (countitem(.@item_id[.@i]) >= .@amount[.@i])
					.@quest_status[.@i] = 3;
				else {
					.@menu$[.@i] = "^8C8C8C" + .@menu$[.@i] + " (doing now)^000000";
					.@quest_status[.@i] = 1;
				}
				break;
			}
		}
		.@s = select( .@menu$[0], .@menu$[1], .@menu$[2], "Don't do it." ) - 1;
		if (.@s == 3) {
			mes "[Rebellion Guard leader Larcis]";
			mes "Well.. I do not force you.";
			close;
		}
		switch( .@quest_status[.@s] ) {
		case 0:
			if (isbegin_quest(.@quest_id[.@s]+1) == 1)
				erasequest (.@quest_id[.@s]+1);

			if (.@s == 0)
				setarray .@string$[0], "Dien", "the item", "a Heart Hunter Ebel and get one High Class Tea";
			else if (.@s == 1)
				setarray .@string$[0], "Ridsh", "Old Letter", "Heart Hunter and get the Old Letter";
			else
				setarray .@string$[0], "Cotnes", "Very Shining Ring", "five Heart Hunter Guards and bring four Very Shining Rings";
			mes "[Rebellion Guard leader Larcis]";
			mes "This is "+ .@string$[1] + " "+ .@string$[0] + " asked you for.";
			mes "If you meet Julian in the northeastern corner of the northern field in Einbroch, he will let you in.";
			next;
			mes "[Rebellion Guard leader Larcis]";
			mes "Right there, defeat " + .@string$[2] + ".";
			mes "I don't know what's going on. But since it's order of "+ .@string$[0] + ", we have to do it.";
			next;
			if (select( "Accept.", "Look at other requests." ) == 1) {
				mes "[Rebellion Guard leader Larcis]";
				mes "Take care of yourself!";
				setquest .@quest_id[.@s];
				next;
			}
			continue;
		case 1:
			mes "A request you are currently doing.";
			next;
			continue;
		case 2:
			mes "A request you have already completed.";
			next;
			continue;
		case 3:
			switch( .@s ) {
			case 0:
				mes "[Rebellion Guard leader Larcis]";
				mes "This is the High Class Tea Dien told me about... But why was it located in such a place?";
				mes "... Anyway, you did a great job.";
				next;
				mes "[Rebellion Guard leader Larcis]";
				mes "If you bring this token to Strasse at the stairs at 10 o'clock in the corridor of the 2nd floor, you will receive something useful in return.";
				delitem 25165,1;// High_Class_Tea
				erasequest 11465;// Dien's High Class Tea
				setquest 11466;// Dien's High Class Tea
				getitem 25155,3;// Swz_Honor_Token
				getexp 150000,150000;
				break;
			case 1:
				mes "[Rebellion Guard leader Larcis]";
				mes "Well done.";
				mes "This is the Old Letter Ridsh talked about... By the way, why does she need this letter...?";
				mes "There must be a reason, as Ridsh told us to bring it...";
				next;
				mes "[Rebellion Guard leader Larcis]";
				mes "If you bring this token to Strasse at the stairs at 10 o'clock in the corridor of the 2nd floor, you will receive something useful in return.";
				delitem 25167,1;// Old_Letter
				erasequest 11467;// Ridsh's Old Letter
				setquest 11468;// Ridsh's Old Letter
				getitem 25155,3;// Swz_Honor_Token
				getexp 150000,150000;
				break;
			case 2:
				mes "[Rebellion Guard leader Larcis]";
				mes "Well done.";
				mes "This is the Very Shining Ring Cotnes talked about... As an accessory, it looks tremendous, doesn't it?";
				mes "Cotnes said it's a ring. Then it's a ring...";
				next;
				mes "[Rebellion Guard leader Larcis]";
				mes "If you bring this token to Strasse at the stairs at 10 o'clock in the corridor of the 2nd floor, you will receive something useful in return.";
				delitem 25166,4;	// Very_Shining_Ring
				getitem 25155,3;	// Swz_Honor_Token
				erasequest 11469;// Cotness's Shiny Ring
				setquest 11470;// Cotness's Shiny Ring
				getexp 150000,150000;
				break;
			}
			next;
		}
	}
	end;

OnInit:
	questinfo( QTYPE_QUEST, QMARK_NONE, "isbegin_quest(11465) == 0 && (checkquest(11466,PLAYTIME) == -1 || checkquest(11466,PLAYTIME) == 2) && isbegin_quest(11464) == 2" );
	questinfo( QTYPE_QUEST, QMARK_NONE, "isbegin_quest(11467) == 0 && (checkquest(11468,PLAYTIME) == -1 || checkquest(11468,PLAYTIME) == 2) && isbegin_quest(11464) == 2" );
	questinfo( QTYPE_QUEST, QMARK_NONE, "isbegin_quest(11469) == 0 && (checkquest(11470,PLAYTIME) == -1 || checkquest(11470,PLAYTIME) == 2) && isbegin_quest(11464) == 2" );

	questinfo( QTYPE_QUEST, QMARK_NONE, "checkquest(11465,HUNTING) == 2 && countitem(25165) > 0 && isbegin_quest(11464) == 2" );
	questinfo( QTYPE_QUEST, QMARK_NONE, "checkquest(11467,HUNTING) == 2 && countitem(25167) > 0 && isbegin_quest(11464) == 2" );
	questinfo( QTYPE_QUEST, QMARK_NONE, "checkquest(11469,HUNTING) == 2 && countitem(25166) > 3 && isbegin_quest(11464) == 2" );
	end;
}

// Room Commander
rebel_in,210,89,5	script	Special Force commander	4_F_ESTLOVELOY,{
	if (terra_gloria_lady_part < 4) {
		cutin "ep162_est01.bmp",2;
		mes "[Rebellion Special Force commander]";
		mes "Who are you?";
		npctalk "Special Force commander : Who are you?", "", bc_self;
		next;
		mes "[Rebellion Special Force commander]";
		mes "Get lost.";
		npctalk "Special Force commander : Get lost.", "", bc_self;
		emotion ET_FRET;
		close2;
		warp "rebel_in",87,75;
		end;
	}
	if (terra_gloria_lady_part == 4) {
		cutin "ep162_est01.bmp",2;
		mes "[Special Force commander Erst]";
		mes "What is it?";
		next;
		mes "[Special Force commander Erst]";
		mes "And who's the guy beside you?";
		mes "I haven't seen you before.";
		emotion ET_FRET;
		next;
		cloakoffnpc "Rebellion Guard leader#3", getcharid(0);
		cutin "",255;
		mes "[Rebellion Guard leader Larcis]";
		mes "Ah.. that is....";
		emotion ET_PROFUSELY_SWAT, getnpcid(0, "Rebellion Guard leader#3");
		next;
		mes "[Special Force commander Erst]";
		mes "Ssssh!";
		emotion ET_FRET;
		npctalk "Special Force commander : Ssssh!", "", bc_self;
		cutin "ep162_est03.bmp",2;
		next;
		mes "[Special Force commander Erst]";
		mes "Stop stalling...";
		emotion ET_FRET;
		npctalk "Special Force commander : Answer quickly!", "", bc_self;
		next;
		cutin "",255;
		mes "[Rebellion Guard leader Larcis]";
		mes "I am sorry!";
		mes "Dien sent you a letter!";
		emotion ET_PROFUSELY_SWAT, getnpcid(0, "Rebellion Guard leader#3");
		next;
		mes "[Special Force commander Erst]";
		mes "What?";
		mes "What did that grandma send?";
		cutin "ep162_est01.bmp",2;
		next;
		mes "[Special Force commander Erst]";
		mes "Show it to me.";
		npctalk "Special Force commander : What kind of plot is it?", "", bc_self;
		next;
		cutin "",255;
		mes "[Rebellion Guard leader Larcis]";
		mes "Here..";
		next;
		mes "[Special Force commander Erst]";
		mes "Let's see..";
		cutin "ep162_est01.bmp",2;
		next;
		mes "[Special Force commander Erst]";
		mes "I agree. Do you agree, too?";
		mes "What the hell is this nonsense?";
		cutin "ep162_est03.bmp",2;
		next;
		cutin "",255;
		select("Explain him.");
		mes "[Special Force commander Erst]";
		mes "What?";
		mes "Are you kidding me?";
		cutin "ep162_est03.bmp",2;
		next;
		mes "[Special Force commander Erst]";
		mes "Finally, that old woman is out of her mind.";
		npctalk "Special Force commander : Normally she goes crazy, even after hearing the word 'Secret Wings'.", "", bc_self;
		cutin "ep162_est01.bmp",2;
		next;
		mes "[Special Force commander Erst]";
		mes "Hey!";
		mes "Larcis.";
		mes "Are you sure she wrote this?";
		cutin "ep162_est03.bmp",2;
		emotion ET_HUK, getnpcid(0, "Rebellion Guard leader#3");
		next;
		mes "[Special Force commander Erst]";
		mes "Regardless of the old women, the vixen will not be quiet.";
		emotion ET_OHNO;
		next;
		cutin "",255;
		mes "[Rebellion Guard leader Larcis]";
		mes "It's clear that Dien wrote this!";
		next;
		mes "[Special Force commander Erst]";
		mes "Well, that's why she sent you here.";
		cutin "ep162_est01.bmp",2;
		next;
		mes "[Special Force commander Erst]";
		mes "......";
		emotion ET_THINK;
		cutin "ep162_est03.bmp",2;
		next;
		mes "[Special Force commander Erst]";
		mes "Alright.";
		cutin "ep162_est02.bmp",2;
		next;
		mes "[Special Force commander Erst]";
		mes "This could be the last wish of the old lady.";
		next;
		mes "[Special Force commander Erst]";
		mes "Let's agree with it.";
		mes "For now.";
		cloakonnpc "Rebellion Guard leader#3", getcharid(0);
		erasequest 11457;// Doubt
		setquest 11458;// Doubt
		completequest 14613;// Erst on second floor
		terra_gloria_lady_part = 5;
		close3;
	}
	if (terra_gloria_lady_part == 5) {
		cutin "ep162_est02.bmp",2;
		mes "[Special Force commander Erst]";
		mes "Alright.";
		next;
		mes "[Special Force commander Erst]";
		mes "This could be the last wish of the old lady.";
		next;
		mes "[Special Force commander Erst]";
		mes "Let's agree with it.";
		mes "For now.";
		close3;
	}
	mes "[Special Force commander Erst]";
	mes "What is it?";
	mes "Stop wandering around and get lost now.";
	cutin "ep162_est02.bmp",2;
	close2;
	warp "rebel_in",87,75;
	end;
}

rebel_in,207,84,7	duplicate(dummy_cloaked_npc)	Rebellion Guard leader#3	4_M_REBELLION

rebel_in,213,81,3	script	Rebellion#162gmbs2	4_F_REBELLION2,{
	mes "[Rebellion]";
	mes "Our commander is a great person!";
	mes "There are no words to describe... how great he is!";
	npctalk "Rebellion : Hahahaha!!!", "", bc_self;
	close;
}

rebel_in,213,83,7	script	Rebellion#162gmbs1	4_M_REBELLION2,{
	mes "[Rebellion]";
	mes "Make sure you properly maintain your weapons.";
	mes "Although there is dust on your shoes, your gun must always be shiny... That's what they call 'hard-boiled'!";
	npctalk "Rebellion : Gasp...", "", bc_self;
	close;
}

rebel_in,205,89,3	script	Rebellion#162gmbs4	4_M_REBELLION3,{
	mes "[Rebellion]";
	mes "Do you know the meaning of this position?";
	mes "Huhuhuhuhu";
	npctalk "Rebellion : Commander! I will always follow you!!!!", "", bc_self;
	close;
}

rebel_in,212,90,5	script	Rebellion#162gmbs3	4_M_REBELLION2,{
	mes "[Rebellion]";
	mes "To become strong, you need an opportunity.";
	mes "If your determination is not strong enough, you will always be in the same place.";
	npctalk "Rebellion : Commander! I will always follow you!!!!", "", bc_self;
	close;
}

rebel_in,82,68,2	script	Arinoa Yurhik#TFQ01	4_F_GUNSLINGER,{
	if (checkweight(501,1) == 0 || (MaxWeight - Weight) < 1000) {
		mes "- Cannot progress, because you have too many items in your possession. -";
		close;
	}
	if (terra_gloria_main < 17) {
		emotion ET_THINK;
		mes "The poker-faced Gunslinger girl who was fishing around books and documents stole a glance at me. Then she resumed fishing around books and documents again.";
		close;
	}
	if (yurhik_quest == 0) {
		emotion ET_THINK;
		mes "The poker-faced Gunslinger girl who was fishing around books and documents stole a glance at me. Then she resumed fishing around books and documents again.";
		next;
		switch( checkquest(5727,PLAYTIME) ) {
		case -1:
			cloakoffnpc "Arivero Yurhik#TFQ02", getcharid(0);
			npctalk "Are you the adventurer who is making a fuss in Clana Nemieri?", "Arivero Yurhik#TFQ02", bc_self;
			mes "[Strange man]";
			mes "Are you the adventurer who is making a fuss in Clana Nemieri?";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "???";
			next;
			mes "You heard a voice of the man who showed up all of a sudden. Where on earth did he appear from?";
			close;
		case 0:
		case 1:
			mes "The man named Vero has not shown up. It seems like they are not ready yet.";
			close;
		case 2:
			mes "It is time. Let me talk to them now.";
			next;
			cloakoffnpc "Arivero Yurhik#TFQ02", getcharid(0);
			npctalk "Oops?! Here are you. Have you arrived already?", "Arivero Yurhik#TFQ02", bc_self;
			mes "[Arivero Yurhik]";
			mes "Oops?! Here are you. Have you arrived already?";
			close;
		}
	}
	if (yurhik_quest == 1) {
		emotion ET_THINK;
		mes "The poker-faced Gunslinger girl who was fishing around books and documents stole a glance at me. Then she resumed fishing around books and documents again.";
		next;
		cloakoffnpc "Arivero Yurhik#TFQ02", getcharid(0);
		npctalk "You have to talk to me. Not to the elder sister.", "Arivero Yurhik#TFQ02", bc_self;
		mes "[Arivero Yurhik]";
		mes "You have to talk to me. Not to the elder sister.";
		close;
	}
	if (yurhik_quest == 2) {
		mes "You are to meet Vero in Einbech. Let's go to Einbech.";
		close;
	}
	if (yurhik_quest == 4 || yurhik_quest == 6) {
		emotion ET_THINK;
		mes "The poker-faced Gunslinger girl who was fishing around books and documents stole a glance at me. Then she resumed fishing around books and documents again.";
		next;
		cloakoffnpc "Arivero Yurhik#TFQ02", getcharid(0);
		npctalk "Kahaha. Welcome, pal.", "Arivero Yurhik#TFQ02", bc_self;
		mes "[Arivero Yurhik]";
		mes "Kahaha. Welcome, pal.";
		close;
	}
	if (yurhik_quest == 5) {
		emotion ET_THINK;
		mes "The poker-faced Gunslinger girl who was fishing around books and documents stole a glance at me. Then she resumed fishing around books and documents again.";
		next;
		mes "I promised to meet Vero at Lighthalzen. Let's go to Lighthalzen.";
		close;
	}
	if (yurhik_quest == 7) {
		emotion ET_THINK;
		mes "The poker-faced Gunslinger girl who was fishing around books and documents stole a glance at me. Then she resumed fishing around books and documents again.";
		next;
		cloakoffnpc "Arivero Yurhik#TFQ02", getcharid(0);
		npctalk "Have you brought the Star Crumb?", "Arivero Yurhik#TFQ02", bc_self;
		mes "[Arivero Yurhik]";
		mes "Have you brought the Star Crumb?";
		close;
	}
	if (yurhik_quest == 8) {
		emotion ET_THINK;
		mes "The poker-faced Gunslinger girl who was fishing around books and documents stole a glance at me. Then she resumed fishing around books and documents again.";
		next;
		mes "It seems like Vero has already departed.";
		mes "Let's go to Yuno quickly.";
		close;
	}
	if (yurhik_quest == 10) {
		emotion ET_THINK;
		mes "The poker-faced Gunslinger girl is looking at books and documents, as usual.";
		next;
		cloakoffnpc "Rebellion leader#TFQ15", getcharid(0);
		npctalk "I have seen you talking to that kid lately.";
		mes "[Rebellion leader]";
		mes "I have seen you talking to that kid lately. Do you care about her?";
		close;
	}
	if (yurhik_quest == 11) {
		emotion ET_THINK;
		mes "The poker-faced Gunslinger girl is looking at books and documents, as usual. Shall I say hello?";
		next;
		if (select( "Say hello.", "No." ) == 2) {
			mes "The Gunslinger girl is not interested in what's happening here and goes on with her business.";
			close;
		}
		mes "What shall I say to the Gunslinger girl?";
		next;
		input .@string$;
		unittalk getcharid(3), "" + strcharinfo(0) + " : " + .@string$, bc_self;
		mes "[" + strcharinfo(0) + "]";
		mes "" + .@string$ + "";
		next;
		mes "The poker-faced Gunslinger girl stole a glance at me and resumed fishing around books and documents again.";
		close;
	}
	emotion ET_THINK;
	mes "The poker-faced Gunslinger girl who was fishing around books and documents stole a glance at me. Then she resumed fishing around books and documents again.";
	close;
}

rebel_in,78,66,6	script	Arivero Yurhik#TFQ02	4_M_GUNSLINGER,{
	if (terra_gloria_main < 17)
		end;
	if (yurhik_quest == 0) {
		switch( checkquest(5727,PLAYTIME) ) {
		case -1:
			emotion ET_SMILE;
			mes "[Arivero Yurhik]";
			mes "Hahaha, I'm here, sister.";
			next;
			emotion ET_FRET;
			mes "[Arivero Yurhik]";
			mes "So it was you.";
			mes "The hottest fellow in Clana Nemieri, right? I hate to admit that you're hotter than me. Being hot has always been my part here.";
			next;
			mes "[Strange man]";
			mes "Oh~! Now I have to introduce myself.";
			mes "I am Arivero Yurhik.";
			next;
			emotion ET_SMILE;
			mes "[Arivero Yurhik]";
			mes "We have met today for the first time, but I guess we will be friends from now on. So you can just call me Vero.";
			mes "Only my close friends call me Vero. Hahaha. So you are honored.";
			next;
			mes "[Arivero Yurhik]";
			mes "And the lady here who is passionately interested in you is my elder sister, Arinoa Yurhik. You can see it from the name. We are siblings!";
			next;
			emotion ET_QUESTION, playerattached();
			mes "[" + strcharinfo(0) + "]";
			mes "Interested in me?";
			next;
			mes "It's strange. The lady has been looking at the documents, without showing any interest in me.";
			mes "The man who has been speaking loudly became serious all of a sudden. He started talking to himself.";
			next;
			emotion ET_HUK;
			mes "[Arivero Yurhik]";
			mes "You are showing such a great interest in him..? Sister, perhaps you are trying to give the mission to this fellow?";
			next;
			mes "Since I was looking at her continuously, I knew that the lady did not speak or act. But the man named Vero seemed to understand what she was thinking and continued speaking.";
			next;
			emotion ET_SMILE;
			mes "[Arivero Yurhik]";
			mes "Yeah.. Really? Hahaha. I knew we'd become friends.";
			mes "Hey friend. We have a task to work on together.";
			next;
			mes "[Arivero Yurhik]";
			mes "It's not a hard job. All we need is to go to about four places and destroy several things.";
			mes "You'll do it. Right?";
			next;
			select( "Do it.", "Do it without hesitation.", "Do it at all events.", "Since you are being forced, do it." );
			emotion ET_OHNO, playerattached();
			mes "[Arivero Yurhik]";
			mes "When I saw you for the first time, I knew you were faithful. Oh! Right.";
			mes "What is your name?";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "" + strcharinfo(0) + " is my name.";
			next;
			emotion ET_SCRATCH;
			mes "[Arivero Yurhik]";
			mes "" + strcharinfo(0) + "?";
			mes "Hmm, what an arrogant name. But it's the name that deserves to be hot. Now I have to acknowledge you..";
			next;
			mes "[Arivero Yurhik]";
			mes "I have several things to prepare. I believe you also need some time to get ready before departing, don't you?";
			next;
			setquest 5727;	// Suddenly in charge
			mes "[Arivero Yurhik]";
			mes "I will be fully ready after 4:00 am tomorrow. Once you are ready after that time, tell my elder sister. Then I will get here quickly.";
			close2;
			cloakonnpc "Arivero Yurhik#TFQ02", getcharid(0);
			end;
		case 0:
		case 1:
			end;
		case 2:
			emotion ET_COOL;
			mes "[Arivero Yurhik]";
			mes "You are not only faithful, but diligent as well!";
			next;
			mes "[Arivero Yurhik]";
			mes "Great! The preparation is finished and you have arrived here. So let me give you a briefing on what we are going to do.";
			next;
			mes "[Arivero Yurhik]";
			mes "Teleporting is not available in the Schwaltzvalt area. I'm sure you know that.";
			next;
			if (select( "I know.", "I didn't know." ) == 1) {
				mes "[Arivero Yurhik]";
				mes "Good. Actually, you don't need to know that.";
			}
			else {
				mes "[Arivero Yurhik]";
				mes "I like your honesty. You don't actually need to know that.";
			}
			mes "It's not that important.";
			next;
			mes "[Arivero Yurhik]";
			mes "According to the government of Schwaltzvalt, the use of teleport in the village is prohibited to prevent the overuse of magic. But it's just nonsense.";
			next;
			mes "[Arivero Yurhik]";
			mes "There was an incident called 'Magic overuse'. Due to this incident, they passed the law to prohibit teleporting. In my opinion, 'Magic overuse' was manipulated by the government of Schwaltzvalt.";
			next;
			mes "[Arivero Yurhik]";
			mes "We think the Schwaltzvalt government installed the equipment to limit teleporting to protect the secret research of the Rekenber enterprise.";
			next;
			mes "[Arivero Yurhik]";
			mes "Looking at the series of incidents that happened after the equipment was installed, our conviction has become stronger.";
			next;
			emotion ET_QUESTION, playerattached();
			mes "[" + strcharinfo(0) + "]";
			mes "Series of incidents?";
			next;
			emotion ET_QUESTION;
			mes "[Arivero Yurhik]";
			mes "Haven't you heard of the mysterious disappearance in the slum?";
			next;
			mes "[Arivero Yurhik]";
			mes "Since it's an incident that has already happened and it is not important now, I will skip the explanation. If you are curious about it, you can search it later on.";
			next;
			mes "[Arivero Yurhik]";
			mes "In any case, we will destroy all the 'Teleport prohibition equipment' installed in Schwaltzvalt.";
			next;
			emotion ET_HUM, playerattached();
			mes "[" + strcharinfo(0) + "]";
			mes "Do you know its location?";
			next;
			emotion ET_HUK;
			mes "[Arivero Yurhik]";
			mes "Wow~ That's so sharp..";
			mes "What a sharp question.";
			mes "You deserve to be a hot person.";
			next;
			mes "[Arivero Yurhik]";
			mes "That's the problem we face now. This equipment is being hidden and protected by various technologies, including magic.";
			next;
			mes "[Arivero Yurhik]";
			mes "Hahahaha. But you don't have to worry.";
			mes "At least, I know the location of one part of the equipment.";
			mes "Do you know 'Einbech, the mining village'?";
			next;
			emotion ET_SMILE;
			mes "[Arivero Yurhik]";
			mes "Hahaha. Of course you do, this area, Clana Nemieri, is also in Einbech.";
			next;
			emotion ET_SURPRISE;
			mes "[Arivero Yurhik]";
			mes "Anyway, our agent in Einbech reported that a suspicious device showed up at the end of a freight train and disappeared quickly. The problem is..";
			next;
			mes "[Arivero Yurhik]";
			mes "There is no way to reveal the hidden and protected device for us to destroy..";
			next;
			mes "[Arivero Yurhik]";
			mes "In this case, we can revise the incident step by step from the beginning, right?";
			mes "Maybe we can find something we missed.";
			next;
			emotion ET_OK, playerattached();
			mes "[" + strcharinfo(0) + "]";
			mes "Do you agree?";
			next;
			erasequest 5727;	// Suddenly in charge
			setquest 5728;	// Headache
			yurhik_quest = 1;
			emotion ET_CONFUSE;
			mes "[Arivero Yurhik]";
			mes "It's been a long time since I used my head for the last time. Let's take a break to clear our minds.";
			close;
		}
	}
	if (yurhik_quest == 1) {
		mes "[Arivero Yurhik]";
		mes "Great! It's high time to use my head, after a long while.";
		mes "I will tell you the situation step by step from the moment when the agent found an unusual device. Once you find anything abnormal, tell me.";
		next;
		mes "[Arivero Yurhik]";
		mes "One day, our agent H in Einbech came out of the guardroom for the usual night patrol with a torch and club in each hand. H was wearing guard clothes.";
		next;
		mes "[Arivero Yurhik]";
		mes "H finished the patrol following the usual order. Finally, H went to the end of the freight train where he found an abnormal device.";
		next;
		mes "[Arivero Yurhik]";
		mes "Normally, there is a strong wind every now and then. But, on that day, the wind was strong enough to turn off the light. Then..";
		mes "H said that a suspicious device appeared for a moment and disappeared quickly.";
		next;
		mes "[Arivero Yurhik]";
		mes "That's it..";
		next;
		mes "[Arivero Yurhik]";
		mes "The only information we have is the statement by the agent.. After listening to this story, did you find anything unusual?";
		while( true ) {
			next;
			switch( select( "Guard clothes", "Club", "The way H patrolled", "Freight train", "A strong wind", "The turned-off torch" ) ) {
			case 1:
				mes "[Arivero Yurhik]";
				mes "He was wearing neat guard clothes cleaned and ironed by his daughter. But it's not unusual to wear neat guard clothes";
				continue;
			case 2:
				mes "[Arivero Yurhik]";
				mes "H says he carries a club every time he patrols, to prepare for some unexpected situations. This is not unusual either.";
				continue;
			case 3:
				mes "[Arivero Yurhik]";
				mes "H patrols through the same course every day. He says it's written in the guard manual. I find nothing strange about it. Do you?";
				continue;
			case 4:
				mes "[Arivero Yurhik]";
				mes "It was a train that carried coal from the mine. Since it was night, the train stopped. Well, they say the train is not operated a lot these days due to a great deal of monsters in the mine.";
				continue;
			case 5:
				mes "[Arivero Yurhik]";
				mes "Since it is a mountainous area, there is occasionally a strong wind, even in normal times.. It happens every day, so I don't find it strange.";
				continue;
			case 6:
				mes "[Arivero Yurhik]";
				mes "A strong wind.. The turned-off torch..";
				mes "Oh?! I think I have found it.";
				break;
			}
			break;
		}
		next;
		emotion ET_SMILE;
		mes "[Arivero Yurhik]";
		mes "Hahahahaha. You are a genius. Thanks to your support, the puzzle is solved. Now we have a reliable theory and let's test it.";
		next;
		emotion ET_QUESTION, playerattached();
		mes "[" + strcharinfo(0) + "]";
		mes "What kind of theory is it?";
		next;
		mes "[Arivero Yurhik]";
		mes "Hmm? You haven't noticed yet? I thought you noticed it already and then gave me a hint.";
		mes "It's not that important.";
		next;
		emotion ET_BLABLA;
		mes "[Arivero Yurhik]";
		mes "The Turned-off torch.. Fire!! Yes, it's the fire. Since Einbech is a mountainous area, there is occasionally a strong wind there, even in normal times. What was different from usual was that the torch was turned off.";
		next;
		emotion ET_BLABLA;
		mes "[Arivero Yurhik]";
		mes "Normally they say the fire is the strongest right before being turned off. So my theory focused on the fact that the device appeared for a while and disappeared quickly right before the torch was gone.";
		next;
		emotion ET_BLABLA;
		mes "[Arivero Yurhik]";
		mes "The very moment when the fire is strong and disappears!! That is the condition for the device to appear.";
		next;
		emotion ET_BLABLA;
		mes "[Arivero Yurhik]";
		mes "What do you think about my theory? Isn't it worth trying?";
		next;
		emotion ET_SCRATCH, playerattached();
		mes "[" + strcharinfo(0) + "]";
		mes "You seem so excited and I really don't get what you are saying. But if you are so positive about it, let's try. Trying won't hurt. Would it?";
		next;
		emotion ET_SMILE;
		mes "[Arivero Yurhik]";
		mes "Since you are a hot person, your answer is also hot. Great! Let's go and try it. It's in this village anyway.";
		next;
		mes "[Arivero Yurhik]";
		mes "You come to the very end of the freight train with the items with full of fire attributes.";
		next;
		erasequest 5728;	// Headache
		setquest 5729;	// To Einbech
		yurhik_quest = 2;
		mes "[Arivero Yurhik]";
		mes "See you at the end of the freight train.";
		close2;
		cloakonnpc "Arivero Yurhik#TFQ02", getcharid(0);
		end;
	}
	if (yurhik_quest == 4) {
		emotion ET_BLABLA;
		mes "[Arivero Yurhik]";
		mes "You were awesome. You deserve to be the hottest fellow in Clana Nemieri these days.";
		next;
		emotion ET_BLABLA;
		mes "[Arivero Yurhik]";
		mes "Hey look! My elder sister is so glad to hear that the equipment was destroyed.";
		next;
		mes "His elder sister was just fishing around books and documents that she was looking at. But Arivero didn't seem to care about it and continued to speak in excitement.";
		next;
		emotion ET_SURPRISE;
		mes "[Arivero Yurhik]";
		mes "Oh! I almost forgot.";
		mes "Since we revealed the secret of teleport prohibition equipment, our agent in Lighthalzen was able to spot the location and attributes of the equipment.";
		next;
		emotion ET_SCRATCH;
		mes "[Arivero Yurhik]";
		mes "Hmm..";
		mes "The location is inside the mansion. The attribute is water. This information is too simple. Can we find it with this?";
		next;
		mes "[Arivero Yurhik]";
		mes "Water on four sides.. Water attribute..";
		mes "What kind of relationship is there between its installed location and the attribute of teleport prohibition device?";
		next;
		mes "[Arivero Yurhik]";
		mes "It gives me a headache. Let me think about it later.";
		mes "What do we need here? We need one Mystic Frozen to reveal the device.";
		next;
		emotion ET_QUESTION;
		mes "[Arivero Yurhik]";
		mes "Is Wind strong against Water? Hey pal. What is the attribute stone for wind attribute? Do you know?";
		while(true) {
			next;
			switch( select( "Flame Heart", "Mystic Frozen", "Rough Wind", "Great Nature" ) ) {
			case 1:
				mes "[Arivero Yurhik]";
				mes "Not Flame Heart. It's a fire attribute stone that revealed the device in Einbech.";
				continue;
			case 2:
				mes "[Arivero Yurhik]";
				mes "And Mystic Frozen is a water attribute stone required to reveal the device in Lighthalzen.";
				continue;
			case 3:
				mes "[Arivero Yurhik]";
				mes "Yes, it is! Rough Wind! This is the attribute stone of Wind attribute.";
				break;
			case 4:
				mes "[Arivero Yurhik]";
				mes "Great Nature? Isn't it for the Ground attribute? I don't think we need it right now.";
				continue;
			}
			break;
		}
		next;
		mes "[Arivero Yurhik]";
		mes "Great! Bring me one Mystic Frozen and three Rough Winds.";
		mes "See you in Lighthalzen.";
		next;
		emotion ET_QUESTION, playerattached();
		mes "[" + strcharinfo(0) + "]";
		mes "It's strange. Why are you in such a hurry?";
		mes "Is there anything urgent?";
		next;
		mes "[Arivero Yurhik]";
		mes "Oh, did I look like that? We already have the information and I was trying to destroy the equipment quickly before they become aware of it.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Ah! I see.";
		mes "It is a great idea.";
		next;
		erasequest 5731;	// Clana Namieri
		setquest 5732;	// To Lighthalzen
		yurhik_quest = 5;
		mes "[Arivero Yurhik]";
		mes "As I told you, I used to be the hottest person in Clana Nemieri before you showed up!";
		next;
		mes "[Arivero Yurhik]";
		mes "Oh!";
		mes "Hey, let's get down to the business. Bring the materials and see you in Lighthalzen.";
		close2;
		cloakonnpc "Arivero Yurhik#TFQ02", getcharid(0);
		end;
	}
	if (yurhik_quest == 6) {
		emotion ET_BLABLA;
		mes "[Arivero Yurhik]";
		mes "You were marvelous in Lighthalzen. No wonder you're such a hot person.";
		mes "Look at her! My elder sister is even more pleased than before.";
		next;
		mes "Upon any consideration, I think Vero is misunderstanding something. The poker-faced lady he calls his sister is still fishing around books and documents. And why is he saying that she is pleased? Why does he say that?";
		next;
		emotion ET_QUESTION, playerattached();
		mes "[" + strcharinfo(0) + "]";
		mes "I wanted to ask you about this. Is she really pleased?";
		mes "Look at her. She's not even looking here.";
		next;
		emotion ET_QUESTION;
		mes "[Arivero Yurhik]";
		mes "What?! Can't you see her being pleased? Look at her now. She is pretending to ignore us, because she is shy. But the glow around her cheeks shows that she is pleased. Got it?";
		next;
		mes "Well, I don't get it. But I will just accept it, as her younger brother says so.";
		next;
		emotion ET_OTL;
		mes "[Arivero Yurhik]";
		mes "Hey! Friend!! There's something more important than it.";
		mes "We have a problem. According to our schedule, we were planning to destroy the equipment in Yuno right after destroying the equipment in Lighthalzen..";
		next;
		emotion ET_QUESTION;
		mes "[Arivero Yurhik]";
		mes "Remember the device that prevented the prohibition equipment from disappearance?";
		mes "You know that stuff? That is out of order now.";
		mes "So we have to fix it before leaving.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "You are dragging on.. You have something to ask me for, don't you?";
		next;
		emotion ET_SMILE;
		mes "[Arivero Yurhik]";
		mes "Hahaha. You figured it out? We are lucky to have all the materials to repair it, except for one core material. As usual, core materials are always a problem.";
		next;
		mes "[Arivero Yurhik]";
		mes "So please bring one Star Crumb, the core material. Once you bring it to me, we can repair it and leave right away. I will be ready for it.";
		next;
		erasequest 5733;	// Clana Namieri
		setquest 5734;	// Core materials are always a problem
		yurhik_quest = 7;
		mes "[Arivero Yurhik]";
		mes "All we have to do is to insert the Star Crumb. So once you bring it, we can leave right away.";
		mes "Regarding the location and required attribute stone, I will inform you then. I haven't finished collecting the information yet. I will count on you.";
		close2;
		cloakonnpc "Arivero Yurhik#TFQ02", getcharid(0);
		end;
	}
	if (yurhik_quest == 7) {
		mes "[Arivero Yurhik]";
		mes "The basic repair is all over.";
		mes "Now let me insert a Star Crumb, the core material..";
		next;
		if (countitem(1000) < 1) {
			emotion ET_HUM;
			mes "[Arivero Yurhik]";
			mes "The basic repairing is all over. But you haven't brought the Star Crumb yet. Please bring it soon.";
			mes "Let's complete this operation quickly.";
			mes "I will count on you.";
			close;
		}
		emotion ET_CONGRATULATION;
		mes "[Arivero Yurhik]";
		mes "The repairing is nearly over. Oh! You've brought it.";
		mes "Now let me insert a Star Crumb on the device. It's the end of repairing!!";
		next;
		mes "It's quite suspicious that Vero is not looking straight into my eyes. Maybe all he needed was the Star Crumb from the beginning. Shall I ask him about this?";
		next;
		if (select( "Just laugh it off.", "Ask him." ) == 1)
			mes "Phew.. Let's just laugh it off. Fair is fair after all.";
		else {
			emotion ET_STARE, playerattached();
			mes "[" + strcharinfo(0) + "]";
			mes "This is suspicious. Tell me honestly.";
			mes "I won't be mad. All you needed was the Star Crumb from the beginning, right?";
			next;
			emotion ET_PROFUSELY_SWEAT;
			mes "[Arivero Yurhik]";
			mes "No! What kind of jerk do you take me for? Just look into my eyes!";
			next;
			mes "It's very suspicious of him to be mad like it. But I decided to laugh it off.";
		}
		next;
		emotion ET_KIK;
		mes "[Arivero Yurhik]";
		mes "Although there has been a minor incident, now we have two more prohibition equipment devices to destroy.";
		mes "But since we found the location and attribute of the prohibition equipment installed in Yuno, we can leave right now.";
		next;
		mes "[Arivero Yurhik]";
		mes "The coordinates of Yuno's prohibition equipments are 206 224";
		mes "It has a Wind attribute. Our agent will give us a Rough Wind, so we will be able to destroy it once we get there.";
		next;
		mes "[Arivero Yurhik]";
		mes "Please get four Great Natures and come to Yuno. They have opposite attributes to the Wind attribute.";
		next;
		delitem 1000,1;// Star Crumb
		erasequest 5734;	// Core materials are always a problem
		setquest 5735;	// To Yuno
		yurhik_quest = 8;
		mes "[Arivero Yurhik]";
		mes "See you in Yuno.";
		close2;
		cloakonnpc "Arivero Yurhik#TFQ02", getcharid(0);
		end;
	}
	end;
OnInit:
	cloakonnpc();
	end;
}

rebel_in,78,63,6	script	Rebellion leader#TFQ15	4_M_RUPERT,{
	if (yurhik_quest == 10) {
		mes "[" + strcharinfo(0) + "]";
		mes "Ah! Sir, that's not what I am talking about.. You briefly reported to the Rebellion leader regarding what you did with Vero.";
		next;
		mes "[Rebellion leader]";
		mes "Have you been doing such a great mission?";
		mes "But it's strange. I've never been reported that there's been such a mission lately.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "No mission? Then what happened to the mission I did?";
		next;
		mes "[Rebellion leader]";
		mes "I'm curious about it, too. I know you are exhausted after coming back from your mission. But please tell me about your mission in detail.";
		next;
		mes "You told the Rebellion leader about what happened during your mission to eliminate Teleport prohibition equipment of Schwaltzvalt with Vero.";
		next;
		mes "[Rebellion leader]";
		mes "Arivero Yurhik.. As you said, that Gunslinger's surname seems to be same with that of Noa here.";
		next;
		mes "[Rebellion leader]";
		mes "But as far as I can remember, there is no Gunslinger named Arivero Yurhik in Clana Nemieri..";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Oops?! I don't get it.. Although he disappeared in Einbroch all of a sudden, he was certainly doing the mission with me..";
		next;
		mes "[Rebellion leader]";
		mes "Wait! Calm down and listen to me.";
		mes "The young man named Arivero told you he's a younger brother of Noa. Right?";
		next;
		mes "I nodded.";
		next;
		mes "[Rebellion leader]";
		mes "I have a strong feeling that Arivero guy you met is Noa's brother, even if Noa's younger brother died in an accident when he was young.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Really?! Did you say he died..?";
		next;
		mes "[Rebellion leader]";
		mes "In this world, there are so many things that we cannot identify.";
		next;
		mes "[Rebellion leader]";
		mes "Well! That's all about it.";
		next;
		mes "[Rebellion leader]";
		mes "I can't tell you any further, because it is Noa's personal information. Let's not talk about this anymore. By the way..";
		next;
		mes "[Rebellion leader]";
		mes "You did a great job. Maybe, two of you?";
		mes "You two destroyed all Teleport prohibition equipment of Schwaltzvalt.";
		mes "Although the mission started unusually, it is surely a remarkable achievement.";
		next;
		mes "[Rebellion leader]";
		mes "Since it was not an official mission, I cannot give you a huge reward. But it's still a remarkable achievement.";
		next;
		completequest 5737;	// Clana Namieri
		getitem 25155,10;// Swz_Honor_Token
		getexp 1000000,4000000;
		yurhik_quest = 11;
		mes "[Rebellion leader]";
		mes "Let's say this is a small compensation for your great work.";
		next;
		cloakonnpc "Rebellion leader#TFQ15", getcharid(0);
		mes "The Rebellion leader disappeared like that.";
		mes "What the hell happened to me?";
		mes "I will remember this as a mission with various questions remaining.";
		close;
	}
	end;
OnInit:
	cloakonnpc();
	end;
}


einbech,212,212,6	script	Arivero Yurhik#TFQ04	4_M_GUNSLINGER,{
	if (yurhik_quest == 2) {
		if (countitem(994) < 1) {
			mes "[Arivero Yurhik]";
			mes "Welcome, pal. Have you brought the item full of fire attributes that I asked you for?";
			next;
			mes "[Arivero Yurhik]";
			mes "Not yet? Please bring an item full of Fire attributes.";
			close;
		}
		mes "[Arivero Yurhik]";
		mes "Welcome, pal. Have you brought the item full of fire attributes that I asked you for?";
		next;
		mes "[Arivero Yurhik]";
		mes "Flame Heart?";
		mes "Oh, Flame Heart? I heard it's an item with a strong fire attribute.";
		next;
		mes "[Arivero Yurhik]";
		mes "Shall I try? Let's see. This seems to be the place the agent told us about. Now we have to break the Flame Heart you brought into pieces..";
		next;
		cloakoffnpc "Teleport Prohibition equipment#1", getcharid(0);
		specialeffect EF_FLAMELAUNCHER, AREA, "Teleport Prohibition equipment#1";
		mes "[Arivero Yurhik]";
		mes "Yeah~ Great. It's a success.";
		mes "The equipment showed up. Yikes! Turn on the device you brought before the equipment disappears..";
		next;
		mes "[Arivero Yurhik]";
		mes "It was a vague theory, but it succeeded.";
		mes "Shall we destroy it, pal?";
		next;
		specialeffect EF_SUI_EXPLOSION, AREA, "Teleport Prohibition equipment#1";
		npctalk "Bang!", "Teleport Prohibition equipment#1", bc_self;
		sleep2 2000;
		specialeffect EF_SUI_EXPLOSION, AREA, "Teleport Prohibition equipment#1";
		npctalk "Bang!", "Teleport Prohibition equipment#1", bc_self;
		sleep2 2000;
		specialeffect EF_SUI_EXPLOSION, AREA, "Teleport Prohibition equipment#1";
		npctalk "Bang!", "Teleport Prohibition equipment#1", bc_self;
		sleep2 2000;
		specialeffect EF_SUI_EXPLOSION, AREA, "Teleport Prohibition equipment#1";
		mes "[Arivero Yurhik]";
		mes "What? Why is it unscathed?";
		mes "I thought the attack was strong enough..";
		next;
		emotion ET_THINK;
		mes "[Arivero Yurhik]";
		mes ". . . . . .";
		next;
		mes "[Arivero Yurhik]";
		mes "Oh! Perhaps..? Hey, pal. This equipment has a Fire attribute. What is the attribute opposite to Fire?";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Water.";
		next;
		mes "[Arivero Yurhik]";
		mes "That's it!! Water!! A water attribute.";
		mes "If we attack it using a Water attribute, the equipment will be destroyed. Hey, pal. Bring an item with a strong Water attribute.";
		next;
		delitem 994,1;// Flame Heart
		erasequest 5729;	// To Einbech
		setquest 5730;	// Things that can destroy the device
		yurhik_quest = 3;
		mes "[Arivero Yurhik]";
		mes "Obviously we will need more than one. Please bring me several of those. I will be guarding here to prevent the equipment from disappearing.";
		close;
	}
	if (yurhik_quest == 3) {
		emotion ET_QUESTION;
		mes "[Arivero Yurhik]";
		mes "Welcome, pal. Have you brought the item full of Water attributes that I asked you for?";
		next;
		if (countitem(995) < 1) {
			mes "[Arivero Yurhik]";
			mes "Not yet?";
			mes "We need an item that has a strong Water attribute.";
			close;
		}
		if (countitem(995) < 3) {
			mes "[Arivero Yurhik]";
			mes "Mystic Frozen? Certainly it's an item that has a strong Water attribute. Right. Mystic Frozen will be the equipment strong enough for our purpose. But one or two will not be enough.";
			mes "I think we need at least three of them.";
			close;
		}
		mes "[Arivero Yurhik]";
		mes "Mystic Frozen? Certainly it's an item that has a strong Water attribute. Right. Mystic Frozen will be the equipment strong enough for our purpose. Let's try it.";
		next;
		specialeffect EF_FROSTWEAPON;
		specialeffect EF_SUI_EXPLOSION, AREA, "Teleport Prohibition equipment#1";
		npctalk "Bang!", "Teleport Prohibition equipment#1", bc_self;
		sleep2 2000;
		specialeffect EF_FROSTWEAPON;
		specialeffect EF_SUI_EXPLOSION, AREA, "Teleport Prohibition equipment#1";
		npctalk "Bang!", "Teleport Prohibition equipment#1", bc_self;
		sleep2 2000;
		specialeffect EF_FROSTWEAPON;
		specialeffect EF_SUI_EXPLOSION, AREA, "Teleport Prohibition equipment#1";
		npctalk "Bang!", "Teleport Prohibition equipment#1", bc_self;
		sleep2 2000;
		specialeffect EF_LORD, AREA, "Teleport Prohibition equipment#1";
		cloakonnpc "Teleport Prohibition equipment#1", getcharid(0);
		sleep2 1000;
		mes "[Arivero Yurhik]";
		mes "Great! We destroyed the equipment.";
		next;
		mes "[Arivero Yurhik]";
		mes "Good job, pal.";
		mes "Although we destroyed the equipment, there is some magic power remaining. Therefore, teleporting will not be possible in this area for a while.";
		next;
		mes "[Arivero Yurhik]";
		mes "But, eventually, teleporting will become possible.";
		next;
		delitem 995,3;// Mystic Frozen
		erasequest 5730;	// // Things that can destroy the device
		setquest 5731;	// // Clana Namieri
		yurhik_quest = 4;
		mes "[Arivero Yurhik]";
		mes "We destroyed the prohibition equipment. Now let's go back to Clana Nemieri.";
		close2;
		cloakonnpc "Arivero Yurhik#TFQ04", getcharid(0);
		end;
	}
	end;
OnInit:
	cloakonnpc();
	end;
}

einbech,215,210,0	script	Einbech Prohibition equipment	HIDDEN_WARP_NPC,5,5,{
	end;
OnTouch:
	if (yurhik_quest < 4)
		cloakoffnpc "Arivero Yurhik#TFQ04", getcharid(0);
	if (yurhik_quest == 3)
		cloakoffnpc "Teleport Prohibition equipment#1", getcharid(0);
	end;
}

einbech,215,210,4	duplicate(dummy_cloaked_npc)	Teleport Prohibition equipment#1	2_MONEMUS


lighthalzen,135,233,6	script	Arivero Yurhik#TFQ07	4_M_GUNSLINGER,{
	if (yurhik_quest == 5) {
		if (countitem(995) < 1 || countitem(996) < 3) {
			mes "[Arivero Yurhik]";
			mes "Sorry! Sorry! As a matter of fact, I arrived here early. But I had to talk to the agent to get the right location. I should have arrived and called you in advance. Sorry to make you come here alone.";
			next;
			mes "[Arivero Yurhik]";
			mes "You're so great!";
			mes "Coming all the way here only with that information! I could not find this, so I had to meet the agent.";
			next;
			mes "[Arivero Yurhik]";
			mes "The important thing is that we both arrived here safely. Remember I asked you to bring one Mystic Frozen and three Rough Winds. Right?";
			next;
			mes "[Arivero Yurhik]";
			mes "Where are the items I asked you for?";
			mes "We must destroy this before they realize that the equipment items are being destroyed one by one. Bring them quickly.";
			next;
			mes "[Arivero Yurhik]";
			mes "Oops! There's someone passing by.";
			mes "I might look suspicious, so I will hide myself.";
			close2;
			cloakonnpc "Arivero Yurhik#TFQ07", getcharid(0);
			end;
		}
		mes "[Arivero Yurhik]";
		mes "Sorry! Sorry! As a matter of fact, I arrived here early. But I had to talk to the agent to get the right location. I should have arrived and called you in advance. Sorry to make you come here alone.";
		next;
		mes "[Arivero Yurhik]";
		mes "You're so great!";
		mes "Coming all the way here only with that information! I could not find this, so I had to meet the agent.";
		next;
		mes "[Arivero Yurhik]";
		mes "The important thing is that we both arrived here safely. Remember I asked you to bring one Mystic Frozen and three Rough Winds. Right?";
		next;
		mes "[Arivero Yurhik]";
		mes "Mystic Frozen. The location is clear, because I checked it with our agent. If we break the Mystic Frozen you brought into pieces..";
		next;
		specialeffect EF_FROSTWEAPON, AREA, "Teleport Prohibition equipment#2";
		mes "[Arivero Yurhik]";
		mes "Good! The equipment has showed up..";
		mes "And we installed the device we brought..";
		next;
		mes "[Arivero Yurhik]";
		mes "Great. Now we can destroy it. Prepare the Rough Wind.";
		next;
		specialeffect EF_LIGHTNINGLOADER;
		sleep2 500;
		specialeffect EF_SUI_EXPLOSION, AREA, "Teleport Prohibition equipment#2";
		npctalk "Bang!", "Teleport Prohibition equipment#2", bc_self;
		sleep2 1000;
		specialeffect EF_LIGHTNINGLOADER;
		sleep2 500;
		specialeffect EF_SUI_EXPLOSION, AREA, "Teleport Prohibition equipment#2";
		npctalk "Bang!", "Teleport Prohibition equipment#2", bc_self;
		sleep2 1000;
		specialeffect EF_LIGHTNINGLOADER;
		sleep2 500;
		specialeffect EF_SUI_EXPLOSION, AREA, "Teleport Prohibition equipment#2";
		npctalk "Bang!", "Teleport Prohibition equipment#2", bc_self;
		sleep2 1000;
		specialeffect EF_LORD, AREA, "Teleport Prohibition equipment#2";
		cloakonnpc "Teleport Prohibition equipment#2", getcharid(0);
		sleep2 1000;
		mes "[Arivero Yurhik]";
		mes "Nevertheless, the first one is always tough and it is easier from the second one. Now let us disappear with teleporting..";
		next;
		emotion ET_THINK;
		mes "[Arivero Yurhik]";
		mes ". . . . . .";
		next;
		emotion ET_SHY;
		mes "[Arivero Yurhik]";
		mes "Yikes! I almost forgot.";
		mes "We cannot teleport immediately after destroying it. I told you about it and I forgot it myself! What a shame.";
		next;
		mes "[Arivero Yurhik]";
		mes "Ha! In the past, due to the magic power of this prohibition equipment.. Oh! It's nothing.";
		mes "We cannot help walking.";
		next;
		delitem 995,1;// Mystic Frozen
		delitem 996,3;// Rough Wind
		erasequest 5732;	// To Lighthalzen
		setquest 5733;	// Clana Namieri
		yurhik_quest = 6;
		mes "[Arivero Yurhik]";
		mes "To avoid getting caught, let's scatter.";
		mes "See you in Clana Nemieri.";
		close2;
		cloakonnpc "Arivero Yurhik#TFQ07", getcharid(0);
		end;
	}
	end;
OnInit:
	cloakonnpc();
	end;
}

lighthalzen,137,231,0	script	Rihrtarzen Prohibition equipment 	HIDDEN_WARP_NPC,5,5,{
	end;
OnTouch:
	if (yurhik_quest == 5) {
		cloakoffnpc "Teleport Prohibition equipment#2", getcharid(0);
		mes "Is this it? The mansion surrounded by water? According to the condition, it seems like it.";
		next;
		cloakoffnpc "Arivero Yurhik#TFQ07", getcharid(0);
		npctalk "Oops?! My hot friend has already arrived.", "Arivero Yurhik#TFQ07", bc_self;
		mes "[Arivero Yurhik]";
		mes "Oops?! My hot friend has already arrived.";
		close;
	}
	end;
}

lighthalzen,137,231,0	duplicate(dummy_cloaked_npc)	Teleport Prohibition equipment#2	2_MONEMUS


yuno,204,226,6	script	Arivero Yurhik#TFQ10	4_M_GUNSLINGER,{
	if (yurhik_quest == 8) {
		mes "[Arivero Yurhik]";
		mes "Welcome, pal! I have just arrived now. I summoned the equipment and mounted it to prevent from disappearing.";
		next;
		mes "[Arivero Yurhik]";
		mes "Have you brought Great Nature?";
		next;
		if (countitem(997) < 3) {
			mes "[Arivero Yurhik]";
			mes "Not yet. I will be guarding this here. Please bring it quickly.";
			mes "According to our agent, Rekenber and the government are serious now.";
			mes "I will count on you.";
			close;
		}
		mes "[Arivero Yurhik]";
		mes "You are a reliable friend of mine.";
		mes "Since we don't have enough time, let's destroy the equipment quickly and go to Einbroch. According to our agent, Rekenber and the government are serious now.";
		next;
		mes "[Arivero Yurhik]";
		mes "I will destroy the equipment right now.";
		mes "Prepare Great Nature.";
		next;
		specialeffect EF_SEISMICWEAPON;
		sleep2 500;
		specialeffect EF_SUI_EXPLOSION, AREA, "Teleport Prohibition equipment#3";
		npctalk "Bang!", "Teleport Prohibition equipment#3", bc_self;
		sleep2 1000;
		specialeffect EF_SEISMICWEAPON;
		sleep2 500;
		specialeffect EF_SUI_EXPLOSION, AREA, "Teleport Prohibition equipment#3";
		npctalk "Bang!", "Teleport Prohibition equipment#3", bc_self;
		sleep2 1000;
		specialeffect EF_SEISMICWEAPON;
		sleep2 500;
		specialeffect EF_SUI_EXPLOSION, AREA, "Teleport Prohibition equipment#3";
		npctalk "Bang!", "Teleport Prohibition equipment#3", bc_self;
		sleep2 1000;
		specialeffect EF_LORD, AREA, "Teleport Prohibition equipment#3";
		cloakonnpc "Teleport Prohibition equipment#3", getcharid(0);
		mes "[Arivero Yurhik]";
		mes "We destroyed the prohibition equipment and there appear to be.. no eyewitnesses. Just in case, let's scatter and move to Einbroch.";
		next;
		delitem 997,3;// Great Nature
		erasequest 5735;	// To Yuno
		setquest 5736;	// To Einbroch
		yurhik_quest = 9;
		emotion ET_HUK;
		mes "[Arivero Yurhik]";
		mes "Oh! I haven't told you the location.";
		mes "It is the place where Einbroch Wind turbine is located. You bring three Flame Hearts and one remaining Great Nature. We will use them to destroy the equipment.";
		next;
		cloakonnpc "Arivero Yurhik#TFQ10", getcharid(0);
		mes "Vero disappeared in a hurry, as if he was being chased by something. Take three Flame Hearts and one Great Nature and go to Einbroch.";
		close;
	}
	end;
OnInit:
	cloakonnpc();
	end;
}

yuno,206,224,0	script	Yuno Prohibition equipment	HIDDEN_WARP_NPC,5,5,{
	end;
OnTouch:
	if (yurhik_quest == 8) {
		cloakoffnpc "Arivero Yurhik#TFQ10", getcharid(0);
		cloakoffnpc "Teleport Prohibition equipment#3", getcharid(0);
	}
	end;
}

yuno,206,224,0	duplicate(dummy_cloaked_npc)	Teleport Prohibition equipment#3	2_MONEMUS


einbroch,262,42,4	script	Arivero Yurhik#TFQ13	4_M_GUNSLINGER,{
	if (yurhik_quest == 9) {
		mes "[Arivero Yurhik]";
		mes "have you brought three Flame Hearts and one Great Nature?";
		next;
		mes "Vero is pressing me, as if he does not have much time left. Something is fish. But I'm not asking him, as I know he won't tell me.";
		next;
		if (countitem(994) < 3 || countitem(997) < 1) {
			mes "[Arivero Yurhik]";
			mes "Please. And the last one is...";
			mes "No! Nothing. Please bring it here as soon as possible.";
			close;
		}
		mes "[Arivero Yurhik]";
		mes "Great! Destroy the Great Nature now, so that the equipment will show up!!";
		next;
		mes "His voice betrays his panic. And he also asked me to do the job that he had been doing by himself. Is there something wrong? I was curious. I broke the Great Nature into pieces as he asked.";
		next;
		specialeffect EF_SEISMICWEAPON, AREA, "Teleport Prohibition equipment#4";
		cloakoffnpc "Teleport Prohibition equipment#4", getcharid(0);
		emotion ET_BLABLA;
		mes "[Arivero Yurhik]";
		mes "Now! Time to use the Flame Heart!";
		next;
		mes "As Vero asked me, I smashed the Teleport Prohibition equipment with the Flame Heart.";
		next;
		specialeffect2 EF_FLAMELAUNCHER;
		sleep2 200;
		npctalk "Bang!", "Teleport Prohibition equipment#4", bc_self;
		specialeffect EF_SUI_EXPLOSION, AREA, "Teleport Prohibition equipment#4";
		specialeffect EF_MAGICCRASHER2;
		sleep2 2000;
		specialeffect2 EF_FLAMELAUNCHER;
		sleep2 200;
		npctalk "Bang!", "Teleport Prohibition equipment#4", bc_self;
		specialeffect EF_SUI_EXPLOSION, AREA, "Teleport Prohibition equipment#4";
		specialeffect EF_MAGICCRASHER2;
		sleep2 2000;
		specialeffect2 EF_FLAMELAUNCHER;
		sleep2 200;
		npctalk "Bang!", "Teleport Prohibition equipment#4", bc_self;
		specialeffect EF_SUI_EXPLOSION, AREA, "Teleport Prohibition equipment#4";
		sleep2 200;
		specialeffect EF_SOULBURN;
		sleep2 200;
		npctalk "Arrggh.. I can only go this far......", "", bc_self;
		sleep2 1000;
		specialeffect EF_LORD, AREA, "Teleport Prohibition equipment#4";
		cloakonnpc "Teleport Prohibition equipment#4", getcharid(0);
		sleep2 1000;
		mes "The equipment was destroyed quickly. Then I realized that Vero looked a bit abnormal. Is he sick or something?";
		next;
		emotion ET_SORRY;
		mes "[Arivero Yurhik]";
		mes "Hey, pal! I know I have been naughty. But, thanks to your support, I managed to eliminate every Teleport Prohibition equipment in Schwaltzvalt.";
		mes "Thank you for helping me. This was my wish.";
		next;
		emotion ET_QUESTION, playerattached();
		mes "[" + strcharinfo(0) + "]";
		mes "What.. Why are you saying that?";
		mes "As if you were going far away?";
		next;
		emotion ET_SMILE;
		mes "[Arivero Yurhik]";
		mes "What's that look? Hahaha. I would like to take a photo of you. Well..";
		next;
		specialeffect EF_MAGICCRASHER2;
		mes "[Arivero Yurhik]";
		mes "I must be showing my gratitude now. But I have to ask you for one more favor. Please talk to my elder sister once in a while. She is lonely quite often..";
		next;
		mes "[Arivero Yurhik]";
		mes "Oh.. It's time.. Bye.. Thanks..";
		next;
		specialeffect EF_MAPPILLAR;
		sleep2 4000;
		npctalk "Oh..", "Arivero Yurhik#TFQ13", bc_self;
		cloakonnpc "Arivero Yurhik#TFQ13", getcharid(0);
		delitem 997,1;// Great Nature
		delitem 994,3;// Flame Heart
		erasequest 5736;	// To Einbroch
		setquest 5737;	// Clana Namieri
		yurhik_quest = 10;
		mes "Vero disappeared all of a sudden after saying goodbye. What's going on here? Has he been summoned for an urgent mission?";
		mes "Vero's gone. Shall I go back to Clana Nemieri?";
		close;
	}
	end;
OnInit:
	cloakonnpc();
	end;
}

einbroch,260,40,0	script	Einbroch Prohibition equipment	HIDDEN_WARP_NPC,5,5,{
	end;
OnTouch:
	if (yurhik_quest == 9) {
		cloakoffnpc "Arivero Yurhik#TFQ13", getcharid(0);
		npctalk "Friend! You've arrived!", "Arivero Yurhik#TFQ13", bc_self;
	}
	end;
}

einbroch,260,40,0	duplicate(dummy_cloaked_npc)	Teleport Prohibition equipment#4	2_MONEMUS


rebel_in,91,67,3	script	Ericsson Adler#16.2rm	4_MAL_CAPTAIN,{
	if (terra_gloria_main < 17) {
		mes "[Detached Force commander Ericsson]";
		mes "You...?";
		close;
	}
	if (lebedev_quest_16_2 == 6) {
		mes "[Detached Force commander Ericsson]";
		mes "You... You're the adventurer who showed up with the Secret Wings.";
		mes "What can I do for you?";
		next;
		mes "You told him what you heard from Elena Bolkova and asked him for a consultation.";
		next;
		mes "[Detached Force commander Ericsson]";
		mes "If it was about the Secret Wings, I would not have mentioned anything. But for that issue, I will help you.";
		mes "As commander Bolkova said, I brought those kids.";
		next;
		mes "[Detached Force commander Ericsson]";
		mes "...I heard what happened to them lately. But I didn't know they were suffering like that.";
		next;
		mes "[Detached Force commander Ericsson]";
		mes "I want to talk to Lebedev twins myself. But it is an arrogation and it will be bad for Commander Bolkova.";
		mes "Commander Bolkova knows that too. That's why she sent you.";
		next;
		mes "[Detached Force commander Ericsson]";
		mes "There are some people who do not like commander Bolkova.";
		mes "Her unit is USU. The commander didn't manage to take care of her squadders so the squadders talked to their former commander? It's a bad scenario.";
		next;
		mes "[Detached Force commander Ericsson]";
		mes "Let me give you this. Eat them together with the twins. And tell them to trust me and tell their problems to you.";
		mes "Forget advices or recommendations and just listen to them for a while. They are good kids and they will definitely understand you. Got it?";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "(......Cookies...?)";
		erasequest 16016;// Borrowing wisdom of the experts
		setquest 16033;// Bring dessert and listen the story
		getitem 25161,1;// Handmade_cookie2
		lebedev_quest_16_2 = 7;
		questinfo_refresh();
		close;
	}
	if (lebedev_quest_16_2 == 7 && countitem(25161) < 1) {
		mes "[Detached Force commander Ericsson]";
		mes "You're back! Don't be so nervous. They are good kids. Go speak to them.";
		next;
		mes "[Detached Force commander Ericsson]";
		mes "Don't preach at them too much. If they have problems, listen to them. Make sure you give them cookies.";
		getitem 25161,1;// Handmade_cookie2
		close;
	}
	// twins daily quest
	if (isbegin_quest(16030) == 1) {
		mes "[Detached Force commander Ericsson]";
		mes "Cookies? Lebedev twins made them?";
		mes "Then I have no choice but to eat them. Give them to me.";
		next;
		if (countitem(25161) < 1) {
			mes "[Detached Force commander Ericsson]";
			mes "You said there were cookies. Where are they?";
			close;
		}
		mes "[Detached Force commander Ericsson]";
		mes "Smells good. Of course it's not as good as Lucy's...";
		next;
		mes "[Detached Force commander Ericsson]";
		mes "Hmm, good! Tell them thanks.";
		completequest 16030;// Service: Cookies delivery
		delitem 25161,1;// Handmade_cookie2
		close;
	}

	// Veteran's small memorial service quest
	switch( checkquest(16049,PLAYTIME) ) {
	case -1:
		break;
	case 0:
	case 1:
		mes "[Detached Force commander Ericsson]";
		mes "I'm happy, thank you. One bouquet for today is enough.";
		next;
		mes "[Detached Force commander Ericsson]";
		mes "You must have other things to do, come back tomorrow.";
		close;
	case 2:
		erasequest 16049;// Quiet dawn
		break;
	}
	switch( isbegin_quest(16050) ) {
	case 0:// first time
		switch( isbegin_quest(16045) ) {
		case 0:
			mes "[Detached Force commander Ericsson]";
			mes "...?";
			mes "You...";
			next;
			mes "[Detached Force commander Ericsson]";
			mes "You are the adventurer who created a huge noise in our hideout.";
			mes "By the way, ... Hmm, no. Never mind.";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "(... Seems like he wants to say something.)";
			next;
			if (select( "Would you like to say anything?", "See you." ) == 2) {
				mes "[Detached Force commander Ericsson]";
				mes "Oops, sorry. See you later.";
				close;
			}
			mes "[Detached Force commander Ericsson]";
			mes "Oh, actually... I wanted to ask you for a little favor.";
			mes "You'll have to visit Einbroch for a while. Would you accept it?";
			next;
			if (select( "I will help you.", "Sorry, I'm busy." ) == 2) {
				mes "[Detached Force commander Ericsson]";
				mes "Sorry for this inconvenience.";
				close;
			}
			mes "[Detached Force commander Ericsson]";
			mes "Thanks. It's not a tough job.";
			mes "If you go south from the Einbroch observatory, you will find a ^0000CDflower girl^000000.";
			next;
			mes "[Detached Force commander Ericsson]";
			mes "Could you buy a Bunch Of Flowers from that kid and lay it beneath the tree beside her?";
			mes "There is a small sign below the tree, so you will find it easily.";
			next;
			mes "[Detached Force commander Ericsson]";
			mes "I will count on you. Come back and report, I mean... tell me.";
			setquest 16045;// Veteran's small memorial service
			close;
		case 1:
			mes "[Detached Force commander Ericsson]";
			mes "Buy a Bunch Of Flowers from ^0000CDflower girl^000000 and lay it beneath the tree.";
			mes "If you go south from the Einbroch observatory, you will find it.";
			close;
		case 2:
			break;
		}
		switch( isbegin_quest(16048) ) {
		case 0:
			mes "[Detached Force commander Ericsson]";
			mes "Buy a Bunch Of Flowers from ^0000CDflower girl^000000 and lay it beneath the tree.";
			mes "If you go south from the Einbroch observatory, you will find it.";
			close;
		case 1:
			mes "[Detached Force commander Ericsson]";
			mes "Oh, it's you.";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "I've spoken with Lucy.";
			next;
			mes "[Detached Force commander Ericsson]";
			mes "Good. How was her health?";
			next;
			if (select( "She was fine.", "She was talking about you." ) == 1) {
				mes "[Detached Force commander Ericsson]";
				mes "Really? That's good. Didn't she say anything else to you?";
				mes "Great. Please don't tell about it anyone else except Lebedev twins.";
				next;
				mes "[Detached Force commander Ericsson]";
				mes "They used to help me for this. But I cannot request them now.";
			}
			else {
				mes "[Detached Force commander Ericsson]";
				mes "I see. What did she say?";
				next;
				mes "You told him what you heard from Lucy.";
				next;
				mes "[Detached Force commander Ericsson]";
				mes "...Perhaps there must have been a huge misunderstanding.";
				mes "Please don't tell about it anyone else in the Rebellion, except Lebedev twins.";
				next;
				mes "[Detached Force commander Ericsson]";
				mes "If only she was alive...";
				next;
				mes "[Detached Force commander Ericsson]";
				mes "No, I shouldn't think like that.";
			}
			next;
			mes "[Detached Force commander Ericsson]";
			mes "Thank you for going.";
			mes "If you do not mind, will you stop by sometimes and put down some flowers?";
			completequest 16048;// Traces of old story
			setquest 16049;// Quiet dawn
			getitem 25155,10;// Swz_Honor_Token
			getexp 200000,200000;
			close;
		case 2:	// daily
			break;
		}
		// fall through
	case 1:// daily
		mes "[Detached Force commander Ericsson]";
		mes "Will you stop by Einbroch again and offer flowers?";
		next;
		if (select( "I will help you.", "Sorry, I'm busy." ) == 2) {
			mes "[Detached Force commander Ericsson]";
			mes "Is that so.";
			mes "I'm sorry. It's not fun anyway.";
			next;
			mes "[Detached Force commander Ericsson]";
			mes "I hope you can stop by later when you have time.";
			close;
		}
		mes "[Detached Force commander Ericsson]";
		mes "There is a tree on the south side from the Einbroch observatory. You will find a ^0000CDflower girl^000000 nearby.";
		mes "Thank you very much.";
		if (isbegin_quest(16050) == 0)
			setquest 16050;// Tribute hour
		close;
	case 2:
		if (isbegin_quest(16053) == 1) {
			mes "I've been to Einbroch.";
			next;
			mes "[Detached Force commander Ericsson]";
			mes "Thank you for going. I'd have to stop by myself, but I seldom have time.";
			mes "Because these are busy times.";
			erasequest 16053;// Ongoing old story
			erasequest 16050;// Tribute hour
			setquest 16049;// Quiet dawn
			getitem 25155,3;// Swz_Honor_Token
			getexp 170000,200000;
			close;
		}
		mes "[Detached Force commander Ericsson]";
		mes "Buy a Bunch Of Flowers from ^0000CDflower girl^000000 and lay it beneath the tree.";
		mes "If you go south from the Einbroch observatory, you will find it.";
		close;
	}
	end;

OnInit:
	// Ericsson daily
	.@terra_main$ = "terra_gloria_main > 16";
	questinfo( QTYPE_QUEST, QMARK_NONE, (.@terra_main$ + " && checkquest(16049,PLAYTIME) == -1 && isbegin_quest(16045) == 0") );
	questinfo( QTYPE_QUEST, QMARK_NONE, (.@terra_main$ + " && checkquest(16049,PLAYTIME) == 2") );
	questinfo( QTYPE_QUEST, QMARK_NONE, (.@terra_main$ + " && isbegin_quest(16048) == 1") );
	questinfo( QTYPE_QUEST, QMARK_NONE, (.@terra_main$ + " && isbegin_quest(16053) == 1") );

	// twins main quest
	questinfo( QTYPE_QUEST, QMARK_NONE, "lebedev_quest_16_2 == 6" );
	end;

	// twins daily quest : "Service: Cookies delivery"
	questinfo( QTYPE_QUEST, QMARK_NONE, "isbegin_quest(16030) == 1 && countitem(25161) > 0" );
	end;
}

einbroch,167,160,3	script	Flower Girl#16.2rm	1_M_SIZ,{
	if (isbegin_quest(16045) == 1) {
		mes "[Flower Girl]";
		mes "Hello. How about a flower?";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Please bring me a bouquet.";
		next;
		mes "[Flower Girl]";
		mes "Yes, I understand!";
		mes "Oh, what should I do...";
		next;
		mes "[Flower Girl]";
		mes "I have the flowers, but I ran out of paper to make a bouquet.";
		mes "The shop I usually buy the paper from is closed...";
		mes "I cannot go very far alone.";
		next;
		mes "[Flower Girl]";
		mes "Please.";
		mes "If you bring ^0000CD3 Slick Paper^000000, I will make a bouquet for you without having to pay for the flowers.";
		completequest 16045;// Veteran's small memorial service
		setquest 16046;// DIY obtaining bouquet materials
		close;
	}
	if (isbegin_quest(16046) == 1 || isbegin_quest(16051) == 1) {
		mes "[Flower Girl]";
		mes "Did you bring ^0000CD3 Slick Paper^000000?";
		mes "If you bring, I will make a bouquet for you without having to pay for the flowers.";
		if (countitem(7111) < 3)
			close;
		next;
		if (select( "Hand over the slick paper.", "Do not give the paper." ) == 2) {
			mes "[Flower Girl]";
			mes "Oh, I'm sorry... Didn't you need a bouquet?";
			close;
		}
		mes "[Flower Girl]";
		mes "Here, this bouquet is beautiful.";
		delitem 7111,3;// Smooth_Paper
		getitem 25152,1;// Cherish_Bouquet
		if (isbegin_quest(16046) == 1) {
			erasequest 16046;// DIY obtaining bouquet materials
			setquest 16047;// Quiet memorial ceremony
		}
		else if (isbegin_quest(16051) == 1) {
			erasequest 16051;// DIY obtaining bouquet materials
			setquest 16052;// Quiet memorial ceremony
		}
		close;
	}
	if (isbegin_quest(16047) == 1 || isbegin_quest(16052) == 1) {
		if (countitem(25152) < 1) {
			mes "[Flower Girl]";
			mes "Hello, welcome back. Which flower do you need?";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "Could you make me a Bunch Of Flowers with carnations?";
			next;
			mes "[Flower Girl]";
			mes "Oops... As you know, I still don't have enough paper to wrap the flower.";
			mes "If you bring me ^0000CDthree smooth paper^000000, I will make it for you.";
			next;
			if (select( "Hand over the slick paper.", "Do not give the paper." ) == 2) {
				mes "[Flower Girl]";
				mes "Oops! Sorry. A Bunch Of Flowers... Don't you need it?";
				close;
			}
			if (countitem(7111) < 3) {
				mes "[Flower Girl]";
				mes "Sorry. If I don't have enough smooth paper, I cannot make a Bunch Of Flowers...";
				close;
			}
			mes "[Flower Girl]";
			mes "Here, this bouquet is beautiful.";
			delitem 7111,3;// Smooth_Paper
			getitem 25152,1;// Cherish_Bouquet
			close;
		}
		mes "[Flower Girl]";
		mes "Flower quickly wither, but they are beautiful when they bloom.";
		close;
	}
	if (isbegin_quest(16050) == 1) {
		mes "[Flower Girl]";
		mes "Hello, you're here again. What flowers do you need?";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Can you make a bouquet of carnations?";
		next;
		mes "[Flower Girl]";
		mes "Oh my... I'm sorry, I still don't have enough paper to make a bouquet...";
		mes "If you bring 3 pieces of ^0000CD smooth paper ^000000, I will make it.";
		completequest 16050;// Tribute hour
		setquest 16051;// DIY obtaining bouquet materials
		close;
	}
	mes "[Flower Girl]";
	mes "Flowers, buy some flowers.";
	mes "Phew... The air is so hazy that the flowers wither quickly...";
	close;

OnInit:
	questinfo( QTYPE_QUEST,QMARK_YELLOW, " isbegin_quest(16045) == 1 " );
	questinfo( QTYPE_QUEST,QMARK_YELLOW, "(isbegin_quest(16046) == 1 || isbegin_quest(16051) == 1) && countitem(7111) > 2" );
	questinfo( QTYPE_QUEST,QMARK_YELLOW, " isbegin_quest(16050) == 1 " );
	end;
}

einbroch,162,153,3	script	Huge Tree#16.2rm	4_BULLETIN_BOARD2,{
	if (isbegin_quest(16047) == 1) {
		if (countitem(25152) < 1) {
			mes "You searched through your back.";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "Where did I put the flower...?";
			mes "It's not there. Maybe I should buy another one...";
			close;
		}
		mes "[Strange Voice]";
		mes "There is a small sign in front of the tree.";
		mes " ";
		mes " - Here lies a kind " + (Sex ? "boy" : "girl") + " -";
		mes " ";
		mes "Should I put the bouquet down?";
		next;
		if (select( "Put the bouquet down.", "Don't put the bouquet down." ) == 2) {
			mes "Before laying the flower, you checked whether that tree was the right one.";
			close;
		}
		mes "I put down the Cherished Bouquet and took a moment of silence.";
		next;
		mes "[Strange Voice]";
		mes "Who's there?";
		next;
		mes "Beside the tree, a small grandmother held out her hand.";
		next;
		mes "[Grandma]";
		mes "Do you... know who it is? did you know Irene??";
		mes "Looking at the clothes, I think you're a traveler. My memory is fading.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "I came here out of a favor.";
		next;
		mes "[Grandma]";
		mes "A favor? Adler's and that?";
		mes "I'm Irene's grandmother who fell asleep here. My name is Lucy.";
		next;
		mes "[Grandma Lucy]";
		mes "At this time of year, Adler is the children who come to me always at this time of year, but this year I will not be able to candles.";
		next;
		if (select( "Goodbye.", "Report on Commander Ericsson and Mrs. Irene." ) == 1) {
			mes "[Grandma Lucy]";
			mes "Bye. Thank you for coming all the way to this countryside.";
			next;
			mes "[Grandma Lucy]";
			mes "Irene will thank you. Bye...";
			erasequest 16047;// Quiet memorial ceremony
			setquest 16048;// Traces of old story
			delitem 25152,1;// Cherish_Bouquet
			close;
		}
		mes "[" + strcharinfo(0) + "]";
		mes "How did commander Adler know Irene?";
		next;
		mes "[Grandma Lucy]";
		mes "Commander?";
		mes "...So it was true. Mr. Adler was a soldier with high position after all.";
		next;
		mes "[Grandma Lucy]";
		mes "Although it's a long story to tell a stranger, I will tell you. And you've been sent by Mr. Adler..";
		next;
		mes "[Grandma Lucy]";
		mes "I've been living in Einbech with Irene for a long time.";
		mes "Irene's mom and dad left the house seeking a better job. It's been more than 10 years since we lost contact.";
		next;
		mes "[Grandma Lucy]";
		mes "As you know, there are many accidents in Einbech.";
		mes "There were only old people left in the village. So it must have been boring for Irene. But she didn't want to move to another village because she believed that her parents would come back one day.";
		next;
		mes "[Grandma Lucy]";
		mes "And... About this time that year, it was when the mine was not closed yet. I heard a rumor that there were bad guys called rebel forces deep inside the mine.";
		next;
		mes "[Grandma Lucy]";
		mes "She would go to the mine every day to sell some food. And on that day, I told her not to go there.";
		mes "But she said it would be okay and went to the mine...";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "(Grandma Lucy started to shed tears and you handed her your handkerchief)";
		next;
		mes "[Grandma Lucy]";
		mes "Thank you... There was an accident on that day... One of the tunnels was collapsed and some people never came back.";
		mes "Irene was one of them...";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "You must have been devastated...";
		next;
		mes "[Grandma Lucy]";
		mes "Although they said it was an accident, there was a rumor.";
		mes "People told me that there were bad guys hiding in the mine and soldiers came to get them.";
		next;
		mes "[Grandma Lucy]";
		mes "But it was not important to me at all.";
		mes "I just felt devastated to lose my son, daughter-in-law and granddaughter. I was absent-minded and did not find any reason to live on...";
		next;
		mes "[Grandma Lucy]";
		mes "That's when Mr. Adler visited me.";
		mes "I was so surprised when he knocked the door of my house...He came in and bowed down to me all of a sudden.";
		next;
		mes "[Grandma Lucy]";
		mes "I was surprised again and asked him why. Then he told me about Irene.";
		next;
		mes "[Grandma Lucy]";
		mes "He said that Irene's death was his fault and apologized knocking his head on the floor...";
		mes "I didn't know what was going on and just told him to stop it.";
		next;
		mes "[Grandma Lucy]";
		mes "He didn't tell me a detailed story. He left the house and came back later. Then he would send flowers and money to me.";
		next;
		mes "[Grandma Lucy]";
		mes "Thanks to his support, I recovered myself. Then I moved to Einbroche and planted this tree to remember Irene.";
		next;
		mes "[Grandma Lucy]";
		mes "Every time he gave me flowers or money, I always refused. But he insisted to give them to me...";
		mes "I wondered why he was doing this. Nevertheless, he was a high-ranking soldier...";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes ".........";
		mes "Thank you very much for telling me the hard story.";
		next;
		mes "[Grandma Lucy]";
		mes "Welcome. Thanks to you, I heard the story about Mr. Adler. It makes me feel much better now.";
		next;
		mes "[Grandma Lucy]";
		mes "Thank you. If you don't mind, please stop by my house occasionally and talk to this old woman...";
		erasequest 16047;// Quiet memorial ceremony
		setquest 16048;// Traces of old story
		delitem 25152,1;// Cherish_Bouquet
		close;
	}
	if (isbegin_quest(16052) == 1) {
		if (countitem(25152) < 1) {
			mes "You searched through your back.";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "Where did I put the flower...?";
			mes "It's not there. Maybe I should buy another one...";
			close;
		}
		mes "You dedicated the Bunch Of Flowers and paid a silent tribute briefly.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Rest in peace, Irene...";
		next;
		mes "[Grandma Lucy]";
		mes "Traveler. You came again. Thank you.";
		mes "If you see Mr. Adler, please send him my gratitude.";
		next;
		mes "Just then, you met grandma Lucy near the tree and said hello to her.";
		erasequest 16052;// Quiet memorial ceremony
		setquest 16053;// Ongoing old story
		delitem 25152,1;// Cherish_Bouquet
		close;
	}
	mes "[Huge Tree]";
	mes "There is a small sign in front of the tree.";
	mes "- Here lies a kind girl -";
	close;

OnInit:
	questinfo( QTYPE_QUEST,QMARK_YELLOW, " isbegin_quest(16047) == 1 && countitem(25152) > 0 " );
	questinfo( QTYPE_QUEST,QMARK_YELLOW, " isbegin_quest(16052) == 1 && countitem(25152) > 0 " );
	end;
}


// Daily Quest - Mason Bender Business
rebel_in,19,48,5	script	Mason Bender#16.2rm	4_M_KHMAN,{
	if (terra_gloria_main < 17) {
		mes "[Mason Bender]";
		mes "Welcome. This is a weapon store, Clana Nemieri.";
		next;
		mes "[Mason Bender]";
		mes "We have various weapons including firearms, gunpowder, cannon, mortar and Molotov cocktails. Please visit us often.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "... Oh, you only have firearms!";
		next;
		mes "[Mason Bender]";
		mes "Firearms are the tres... Sorry? Nemi? We are closed today?";
		next;
		mes "[Mason Bender]";
		mes "Ah.. Yes. We are closed today. Please visit us later.";
		close;
	}

	// Lebedev twins quest
	if (lebedev_quest_16_2 == 2 || lebedev_quest_16_2 == 3) {
		if (isbegin_quest(16014) == 1) {
			emotion ET_FRET;
			mes "[Mason Bender]";
			mes "About the twins in our unit? You are an adventurer. Why do you ask me such a thing?";
			mes "I am not interested in you and the noisy tourist either.";
			next;
			mes "[Mason Bender]";
			mes "......Phew, a request from commander Bolkova... I have no choice but to answer you. But I can only tell you negative things about those kids.";
			next;
			mes "[Mason Bender]";
			mes "There's nothing they can do properly. Plus, they don't even listen to us.";
			mes "They are the worst kids. I don't know why we have to keep them here.";
			next;
			mes "[Mason Bender]";
			mes "Can you see the bandage here? I got this injury by the stray bullet shot by the boy.";
			mes "They are idiots who cannot even hit an automatic target. They were terrible as if they did not hit it on purpose.";
			next;
			mes "[Mason Bender]";
			mes "That's why I had to move to here, Clana Nemieri.";
			next;
			mes "[Mason Bender]";
			mes "Well, this job fits in my talents...";
			mes "The fact I dislike those kids is a different story.";
			next;
			mes "[Mason Bender]";
			mes "After being deployed in the actual battle, they made trouble and run away. I don't know why they call them genius. Someone like me can be called genius.";
			next;
			mes "[Mason Bender]";
			mes "People were just excited about small kids shooting guns.";
			completequest 16014;// Testimony: Sniper's story
			lebedev_quest_16_2++;
			questinfo_refresh();
			close;
		}
	}
	// twin daily quest
	if (isbegin_quest(16028) == 1) {
		mes "[Mason Bender]";
		mes "Cookies? Hmm, let me see. Where did you get these?";
		next;
		mes "[Mason Bender]";
		mes "......Made by those kids?";
		next;
		mes "[Mason Bender]";
		mes "No, no. I don't have any prejudice against them any more.";
		mes "Please give it to me. Let me judge it with my talented taste!";
		next;
		if (countitem(25161) < 1) {
			mes "[Mason Bender]";
			mes "Why aren't you giving me the cookie?";
			next;
			mes "[Mason Bender]";
			mes "Please give it to me. I won't be too harsh.";
			mes "You don't have them?";
			close;
		}
		mes "[Mason Bender]";
		mes "...Hmm... Yum yum...";
		mes "Well, not bad.";
		next;
		mes "[Mason Bender]";
		mes "It is dry and I feel like it's not fully baked. It's too sweet and the shapes are not consistent. But...";
		next;
		mes "[Mason Bender]";
		mes "I can see how much effort they gave to make them. It's delicious.";
		completequest 16028;// Service: Cookies delivery
		delitem 25161,1;// Handmade_cookie2
		close;
	}

	switch( checkquest(16058,PLAYTIME) ) {
	case -1:
		switch( isbegin_quest(16054) ) {
		case 0:
			mes "[Mason Bender]";
			mes "Welcome. This is a weapon store, Clana Nemieri.";
			next;
			mes "[Mason Bender]";
			mes "Phew... Oh, sorry.";
			next;
			mes "[Mason Bender]";
			mes "You... Yeah. You're the one who made a fuss in there, aren't you?";
			mes "It's good. I would like to ask you for a favor. Will you accept it?";
			next;
			mes "[Mason Bender]";
			mes "I will give you an opportunity to be in charge of one wing of my talented work.";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "... Talented work?";
			next;
			mes "[Mason Bender]";
			mes "Well, it's a figure of speech. Haha...";
			mes "Can you help me?";
			next;
			if (select( "Help him.", "I don't feel good about him. Ignore him." ) == 2) {
				mes "[Mason Bender]";
				mes "...";
				next;
				emotion ET_DELIGHT;
				mes "[Mason Bender]";
				mes "Phew... You have been stimulated by my talented eloquence. That's why you cannot even respond. Of course I understand it...";
				next;
				mes "[Mason Bender]";
				mes "Please calm down and talk to me again. Huhu...";
				next;
				mes "[" + strcharinfo(0) + "]";
				mes "... Not even close!";
				close;
			}
			mes "[Mason Bender]";
			mes "Great. You've been persuaded by my talented eloquence.";
			mes "So here's my request.";
			next;
			mes "[Mason Bender]";
			mes "This is the leaflet of our weapon store that I prepared with my talented writing skill.";
			next;
			mes "[Mason Bender]";
			mes "Any who reads this will definitely come to this store and buy 81mm mortar.";
			npctalk "Mason Bender: Talented business sense and talented marketing skill~ Hoho~", "", bc_self;
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "(Who's going to buy such a stuff?!)";
			next;
			mes "[Mason Bender]";
			mes "But I have a slight problem.";
			mes "Although I bring these to the village bench or plaza, none of the villagers take the leaflet.";
			next;
			mes "[Mason Bender]";
			mes "Therefore! You bring this yourself! And give the leaflets kindly to each person. Make sure you pass it on someone's hand with a kind smlie on your face.";
			next;
			mes "[Mason Bender]";
			mes "Nemi has been angry about this malignity stock. If you do that, they will surely be sold well. Huhu...";
			next;
			mes "[Mason Bender]";
			mes "Now! I will give you the leaflets. See you!";
			setquest 16054;	// Differentiated advertising strategy
			setquest 16055;	// Advertising: Dou you want a clean city?
			setquest 16056;	// Advertising: Then blow it all away!
			setquest 16057;	// Advertising: Suitable revenge for old age!
			getitem 25163,3;	// Arms_Shop_AD
			close;
		case 1:
			if (isbegin_quest(16055) != 2 || isbegin_quest(16056) != 2 || isbegin_quest(16057) != 2) {
				if (countitem(25163) < 1) {
					mes "[Mason Bender]";
					mes "Now, I count on you.";
					mes "In the meantime, I will get ready to receive customers.";
					next;
					mes "[Mason Bender]";
					mes "Whoops... Have you lost the leaflets?";
					next;
					mes "[Mason Bender]";
					mes "Please don't mistreat the leaflets. This time, I will give them to you again.";
					.@count = (isbegin_quest(16055) != 2) + (isbegin_quest(16056) != 2) + (isbegin_quest(16057) != 2);
					getitem 25163,.@count;	// Arms_Shop_AD
					close;
				}
				mes "[Mason Bender]";
				mes "Now! There you go!";
				mes "You will be spreading my talented writing in the entire village!";
				close;
			}
			mes "[Mason Bender]";
			mes "Welcome back! How did they respond?";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "Well... Just so so...";
			next;
			mes "[Mason Bender]";
			mes "Oh? Really?!";
			next;
			mes "[Mason Bender]";
			mes "... Oh, I see. My pink brain cells finished the deduction!";
			mes "They haven't read my leaflets yet!";
			next;
			emotion ET_SURPRISE;
			mes "[Mason Bender]";
			mes "They were fascinated by my talented opening so they forgot to read the rest of the leaflet!";
			next;
			mes "[Mason Bender]";
			mes "Huhu... I can't do anything about it. Let us wait evenly.";
			next;
			mes "[Mason Bender]";
			mes "There will be so many people visiting us tomorrow. So I will ask Eri about how to receive many customers.";
			next;
			mes "[Mason Bender]";
			mes "If you don't mind, could you please come back tomorrow and help me receiving customers? Huhu...";
			completequest 16054;	// Differentiated advertising strategy
			erasequest 16055;	// Advertising: Dou you want a clean city?
			erasequest 16056;	// Advertising: Then blow it all away!
			erasequest 16057;	// Advertising: Suitable revenge for old age!
			setquest 16058;	// Slow advertising effect
			getexp 100000,100000;
			getitem 25155,10;	// Swz_Honor_Token
			close;
		case 2:
			break;
		}
		break;
	case 0:
	case 1:
		mes "[Mason Bender]";
		mes "Welcome! Glad to meet you! Have you come to buy the mortar... Oh?";
		mes "... It's you, adventurer. Welcome.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Wait. Were you disappointed! You were!";
		mes "Seems like your business is in trouble.";
		next;
		mes "[Mason Bender]";
		mes "No! The buyers are strategically judging the situation. In other words, they are warming up.";
		next;
		mes "[Mason Bender]";
		mes "Soon they will realize that buying this mortar will bring them great profit and rush to Clana Nemieri! Come on, if you are not buying anything, please leave! Come back later!";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "How many of them did you sell!";
		next;
		emotion ET_SWEAT;
		mes "[Mason Bender]";
		mes "^FF0000Please leave!!!^000000";
		next;
		mes "[Nemi]";
		mes "How many of them? Not a single mortar.";
		next;
		mes "[Nemi]";
		mes "Mason is an excellent sniper and people called him genius. After he got injured, he volunteered here provisionally and now he loves this job.";
		next;
		mes "[Nemi]";
		mes "Although he does not have any talent in commerce, he is misunderstanding something by chance. Now he is so excited and has too many irons in the fire.";
		next;
		mes "[Eri]";
		mes "I guess we have to stop him as soon as possible.";
		mes "Otherwise the store might be completely ruined.";
		next;
		mes "[Eri]";
		mes "I apologize on behalf of Mason that he kicked you out. Please come back tomorrow and give him a valuable advice so that he can rouse himself.";
		close;
	case 2:
		erasequest 16058;	// Slow advertising effect
		break;
	}
	if (isbegin_quest(16059) == 0) {
		mes "[Mason Bender]";
		mes "Welcome! Clana Nemieri... Oh?";
		next;
		mes "[Mason Bender]";
		mes "...Oh, what is it? " + strcharinfo(0) + ", it was you. I thought it was a customer...";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Did you sell your cannons?";
		next;
		mes "[Mason Bender]";
		mes "They are mortars, not cannons. I thought they would be sold today...";
		next;
		emotion ET_SWEAT;
		mes "[Mason Bender]";
		mes "This is strange. According to my calculation, these mortars should have been sold today... And four days later, we are supposed to reach the break-even point. After that, we will begin the turnaround.";
		next;
		mes "[Mason Bender]";
		mes "I don't know why. Hmm..";
		mes "While I analyze the phenomenon, " + strcharinfo(0) + " could you please hand out the leaflets to villagers once again?";
		next;
		mes "[Mason Bender]";
		mes "Go to the village and find three people who seem to need the mortar earnestly. And give them these leaflets.";
		next;
		if (select( "I will do it.", "Sorry. I won't do it." ) == 2) {
			mes "[Mason Bender]";
			mes "Come on... Why aren't you helping me?";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "Well, nobody needs a mortar here.";
			next;
			mes "[Mason Bender]";
			mes "If you can only sell something to someone who needs it, you are a newbie. I will sell something to some people, and they will need it just because they bought it!";
			next;
			mes "[Mason Bender]";
			mes "I will sell electric heaters to the people of Moroc. And I will sell refrigerators in Manuc!";
			next;
			mes "[Eri]";
			mes "...I hope he uses that passion elsewhere.";
			close;
		}
		mes "[Mason Bender]";
		mes "My brain cells already knew that you would accept it.";
		mes "Three sheets of leaflets. I will count on you.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "(I don't think there will be anyone who seem to need the mortar earnestly)";
		setquest 16059;	// Differentiated advertising strategy
		setquest 16055;	// Advertising: Dou you want a clean city?
		setquest 16056;	// Advertising: Then blow it all away!
		setquest 16057;	// Advertising: Suitable revenge for old age!
		getitem 25163,3;	// Arms_Shop_AD
		close;
	}
	if (isbegin_quest(16055) != 2 || isbegin_quest(16056) != 2 || isbegin_quest(16057) != 2) {
		if (countitem(25163) < 1) {
			mes "[Mason Bender]";
			mes "Now, I count on you.";
			mes "In the meantime, I will get ready to receive customers.";
			next;
			mes "[Mason Bender]";
			mes "Whoops... Have you lost the leaflets?";
			next;
			mes "[Mason Bender]";
			mes "Please don't mistreat the leaflets. This time, I will give them to you again.";
			.@count = (isbegin_quest(16055) != 2) + (isbegin_quest(16056) != 2) + (isbegin_quest(16057) != 2);
			getitem 25163,.@count;	// Arms_Shop_AD
			close;
		}
		mes "[Mason Bender]";
		mes "Now, I count on you.";
		mes "In the meantime, I will get ready to receive customers.";
		close;
	}
	mes "[Mason Bender]";
	mes "Welcome back! How did they respond?";
	next;
	mes "[" + strcharinfo(0) + "]";
	mes "Well... Just so so...";
	next;
	mes "[Mason Bender]";
	mes "Oh? Really?!";
	mes "If I were you, I would have read the strong desire and flutter toward mortars in their eyes using my talented intuition.";
	next;
	mes "[Mason Bender]";
	mes "Then I will get ready to receive customers again!";
	mes "I will be busy tomorrow. If you want to visit us, make a reservation in advance.";
	erasequest 16055;	// Advertising: Dou you want a clean city?
	erasequest 16056;	// Advertising: Then blow it all away!
	erasequest 16057;	// Advertising: Suitable revenge for old age!
	erasequest 16059;	// Differentiated advertising strategy
	setquest 16058;	// Slow advertising effect
	getexp 100000,100000;
	getitem 25155,3;// Swz_Honor_Token
	close;

OnInit:
	// Mason Bender Business
	questinfo( QTYPE_QUEST, QMARK_NONE, "terra_gloria_main > 16 && isbegin_quest(16054) == 0" );
	questinfo( QTYPE_QUEST, QMARK_NONE, "isbegin_quest(16055) == 2 && isbegin_quest(16056) == 2 && isbegin_quest(16057) == 2" );
	questinfo( QTYPE_QUEST, QMARK_NONE, "isbegin_quest(16059) == 0 && isbegin_quest(16054) == 2 && (checkquest(16058,PLAYTIME) == -1 || checkquest(16058,PLAYTIME) == 2)" );

	// Lebedev twins quest
	questinfo( QTYPE_QUEST, QMARK_NONE, "isbegin_quest(16014) == 1" );

	// twins daily quest : "Service: Cookies delivery"
	questinfo( QTYPE_QUEST, QMARK_NONE, "isbegin_quest(16028) == 1 && countitem(25161) > 0" );
	end;
}

einbech,71,168,1	script	Tired Looking Man#16.2r	4_M_SEAMAN,{
	switch( isbegin_quest(16055) ) {
	case 0:
		mes "[Tired Looking Man]";
		mes "After working hard all day long, I enjoy watching the railway and smoking a cigarette. That's the pleasure of my life.";
		next;
		mes "[Tired Looking Man]";
		mes "I call it a pleasure... What's wrong with my life?";
		close;
	case 1:
		if (countitem(25163) < 1) {
			mes "[Tired Looking Man]";
			mes "Oh, I won't buy it. Besides, you're empty-handed.";
			mes "I'm so tired after a hard work. Don't annoy me and just leave.";
			close;
		}
		mes "You handed him the leaflet.";
		next;
		mes "[Tired Looking Man]";
		mes "What's this? A leaflet? I'm not interested... What the hell do you sell there?";
		next;
		mes "[Tired Looking Man]";
		mes "Mortar? Are we having a war? Why would I buy it?";
		delitem 25163,1;	// Arms_Shop_AD
		completequest 16055;	// Advertising: Dou you want a clean city?
		close;
	case 2:
		mes "[Tired Looking Man]";
		mes "Oh, no. I won't buy it.";
		mes "I'm so tired after a hard work. Don't annoy me and just leave.";
		close;
	}
	end;

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

einbech,79,100,3	script	Tired Looking Old man#1	4_M_BARYO_OLD,{
	switch( isbegin_quest(16056) ) {
	case 0:
		mes "[Tired Looking Old man]";
		mes "Look at the muddy water that does not reflect anything.";
		next;
		mes "[Tired Looking Old man]";
		mes "Not a single fish lives here. What's going to happen to this village after the remaining old men are gone?";
		close;
	case 1:
		if (countitem(25163) < 1) {
			mes "[Tired Looking Old man]";
			mes "No. I don't need a cannon.";
			mes "No matter how much you suggest it to me, I don't need it.";
			close;
		}
		mes "You handed him the leaflet.";
		next;
		mes "[Tired Looking Old man]";
		mes "What is this... What do you ask me to buy? A cannon? Why would I need it?";
		next;
		mes "[Tired Looking Old man]";
		mes "I will take the leaflets if you give me... But I only need a little amount of gunpowder in the mine.";
		delitem 25163,1;	// Arms_Shop_AD
		completequest 16056;	// Advertising: Then blow it all away!
		close;
	case 2:
		mes "[Tired Looking Old man]";
		mes "No. I don't need a cannon.";
		mes "No matter how much you suggest it to me, I don't need it.";
		close;
	}
	end;

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

einbech,170,143,3	script	Sleepy Looking Old woman	4_F_BARYO_OLD,{
	switch( isbegin_quest(16057) ) {
	case 0:
		mes "[Sleepy Looking Old woman]";
		mes "At my age... The only pleasure is to be bathed in the sun sitting in a warm place.";
		next;
		mes "[Sleepy Looking Old woman]";
		mes "I cannot see and hear well. But listen carefully and don't worry.";
		close;
	case 1:
		if (countitem(25163) < 1) {
			mes "[Sleepy Looking Old woman]";
			mes "What? Lunch? I've had it already. By the way, you didn't even bring any food.";
			close;
		}
		mes "You handed her the leaflet.";
		next;
		mes "[Sleepy Looking Old woman]";
		mes "What is this? I can't see it properly. Is it a baked chestnut? Looks like a sheet of paper to me.";
		next;
		mes "[Sleepy Looking Old woman]";
		mes "Dried filefish fillet? Are you selling it? Oh, I don't have tooth so I can't eat it.";
		delitem 25163,1;	// Arms_Shop_AD
		completequest 16057;	// Advertising: Suitable revenge for old age!
		close;
	case 2:
		mes "[Sleepy Looking Old woman]";
		mes "What? Lunch? I've had it already. Hehe...";
		close;
	}
	end;

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

// Milo Quests
rebel_in,108,27,3	script	Milo River#16.2rm	4_M_GUNSLINGER2,{
	if (terra_gloria_main < 17) {
		mes "[Milo River]";
		mes "It's not my fault that our meals are terrible.";
		mes "If they give me more time and budget, I can cook much better food.";
		next;
		mes "[Milo River]";
		mes "Phew, what should I serve the gluttons today? What would they like...?";
		close;
	}

	// Lebedev twins quest
	if (lebedev_quest_16_2 == 2 || lebedev_quest_16_2 == 3) {
		if (isbegin_quest(16013) == 1) {
			mes "[Milo River]";
			mes "The reputation of the twins in USU? You're an adventurer. Why do you ask such a thing?";
			next;
			mes "[Milo River]";
			mes "You have been requested by that unit... Then I should tell you.";
			next;
			mes "[Milo River]";
			mes "Several years ago, commander Ericsson brought them here.";
			mes "Sounds like he brought them from an orphanage.";
			next;
			mes "[Milo River]";
			mes "They took the training without any problem and excelled in shooting. They quickly were able to play a role of a Rebellion.";
			next;
			mes "[Milo River]";
			mes "They have been trainees for a while and several month ago, they went on the real mission for the first time. That's when they stirred up trouble.";
			mes "Some people said that the younger sister threw a grenade at the civilian zone. But I don't know the exact story.";
			next;
			mes "[Milo River]";
			mes "After that, they were moved to USU, became more educated, etc. There was a fuss.";
			mes "That's when they began to disobey their seniors.";
			mes "I think I heard that's what they've been doing... ever since.";
			next;
			mes "[Milo River]";
			mes "Before that, they were trainees and had more free time than other squadders. They would visit the mess once in a while, receive some snacks and chat with us.";
			next;
			mes "[Milo River]";
			mes "After that incident, they never came. Just by hearing the stories about them, I don't feel like they are the same kids I used to know.";
			mes "They used to be better than this... I hope you can take cake of them.";
			next;
			mes "[Milo River]";
			mes "This is all I can tell you.";
			completequest 16013;// Testimony: Chef's story
			lebedev_quest_16_2++;
			questinfo_refresh();
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "(I heard a similar story from others...";
			mes "Maybe the keyword is the incident that happened at the real mission.";
			mes "I should go back to the twins and ask them about it.)";
			close;
		}
	}
	// twins daily quest
	if (isbegin_quest(16027) == 1) {
		mes "[Milo River]";
		mes "Cookies? Made by the twins?";
		mes "Oh... Those kids. They visited the mess and asked me for several things. Is this the outcome?";
		next;
		emotion ET_HUK;
		mes "[Milo River]";
		mes "I hope they are not trying to poison me...";
		next;
		mes "[Milo River]";
		mes "Hey, I'm just kidding. Don't look at me like that.";
		mes "They seem to have found their former character. That's good. You did a great job.";
		next;
		if (countitem(25161) < 1) {
			mes "[Milo River]";
			mes "...By the way, where are the cookies?";
			mes "You don't have anything for me? What a shame! Well~ I like cookies too~";
			close;
		}
		mes "[Milo River]";
		mes "So don't look at me like that!!";
		mes "Just give me the cookies!";
		completequest 16027;// Service: Cookies delivery
		delitem 25161,1;// Handmade_cookie2
		close;
	}

	mes "[Milo River]";
	mes "Hey, you! Adventurer?";
	mes "What's the matter?";
	next;
	switch( select( "Refreshments for seniors", "Take care of the cat please", "You don't have to know." ) ) {
	case 1:
		switch( checkquest(16034,PLAYTIME) ) {
		case -1:
			break;
		case 0:
		case 1:
			mes "[Milo River]";
			mes "Yo! Thanks to your support, I'm sure our seniors will enjoy the tea time today!";
			next;
			mes "[Milo River]";
			mes "Oops... Again?";
			mes "No thanks. Our seniors don't eat tea and snacks for every meal! Once a day is enough.";
			next;
			mes "[Milo River]";
			mes "But thank you for your kindness. Haha!";
			close;
		case 2:
			erasequest 16034;// Sweet cookies once a day
			mes "[Milo River]";
			mes "Wow! You came again! may I ask you to get the snacks for our seniors?";
			next;
			break;
		}
		if (isbegin_quest(16032) == 0) {
			mes "[Milo River]";
			mes "How did I know you are an adventurer? It's simple.";
			next;
			mes "[Milo River]";
			mes "A stranger rarely visits this place. So someone like you draws everybody's attention.";
			next;
			mes "[Milo River]";
			mes "These people must return quickly in emergency, so they cannot go too far from here.";
			next;
			mes "[Milo River]";
			mes "Therefore, I would like to ask you for a favor... Actually for several. Because it has to be done outside.";
			next;
			mes "[Milo River]";
			mes "I am very busy because I have to feed the gluttons~ Well now~ I hope you can do something for me~";
			next;
			if (select( "I will do it.", "No. I'm busy." ) == 2) {
				emotion ET_HUK;
				mes "[Milo River]";
				mes "Oh~ You're so mean. What a shame.";
				mes "This is why we should never talk to outsiders. Am I right? Charity~";
				next;
				mes "[Milo River]";
				mes "... Where did my lovely and sweet cat go...?";
				mes "Oh, I am so gloomy and lonely!! The adventurer rejected my request!!";
				close;
			}
			emotion ET_DELIGHT;
			mes "[Milo River]";
			mes "Oh, Thank you! The adventurer is so cool!";
			mes "I would like to ask you to get some snacks.";
			next;
			mes "[Milo River]";
			mes "No, no. Don't look at me like that. They are not for me.";
			mes "Do you know our seniors who live on the 2nd floor? Have you met them?";
			next;
			mes "[Milo River]";
			mes "They enjoy tea time every day.";
			mes "So I try to get prepare the best tea and snacks... But it's hard to find them in this out-of-the-way place.";
			next;
			mes "[Milo River]";
			mes "Since I have to cook for our gluttons, I cannot go out too far. So I am sorry that I haven't been able to prepare something delicious.";
			next;
			mes "[Milo River]";
			mes "You are an adventurer who travels around the whole world! Please bring something delicious for our seniors and me!";
			next;
			mes "[Milo River]";
			mes "If the food is too expensive, it might me troublesome for you to get it. Please bring one of the following list.";
			next;
			mes "[Milo River]";
			mes "Let's see. ^0000CDGrape Herb Tea^000000, ^0000CDOrchid Black Tea^000000, ^0000CDHoney Herb Tea^000000, ^0000CDChocolate Mousse Cake^000000... or ^0000CDFruits Mix^000000.";
			next;
			mes "[Milo River]";
			mes "If you bring one of them, our seniors will be happy.";
			mes "I am not asking you to get all of them. Just one of them will be fine.";
			next;
			mes "[Milo River]";
			mes "It doesn't matter whether you make it on your own or not. I count on you~";
			setquest 16032;// Hospitality to senior
			close;
		}
		mes "[Milo River]";
		mes "What have you brought? I will read the list.";
		mes "Tell me what you brought!";
		next;
		setarray .@item_id[0],12046,12047,12048,12062,12063;
		//.@s = select( "Grape Herb Tea", "Autumn Red Tea", "Honey Herb Tea", "Chocolate Mousse Cake", "Fruits Mix", "I don't have any." ) - 1;
		.@s = select( getitemname(.@item_id[0]), getitemname(.@item_id[1]), getitemname(.@item_id[2]), getitemname(.@item_id[3]), getitemname(.@item_id[4]), "I don't have any." ) - 1;
		if (.@s == 5) {
			mes "[Milo River]";
			mes "Well, I see. Although you are an adventurer, they are not easy to get. Aren't they?";
			next;
			mes "[Milo River]";
			mes "All I can get around this place are butter with an unpleasant smell and withered herbs. I can't make anything nice with them.";
			mes "It's just a lack of my ability, haha!";
			close;
		}
		if (countitem(.@item_id[.@s]) < 1) {
			mes "[Milo River]";
			mes "Well! Haha, thank you for your kindness!";
			next;
			mes "[Milo River]";
			mes "Give it to me!";
			mes "... What, you haven't brought any of them?";
			close;
		}
		switch( .@s ) {
		case 0:
			callsub( S_Item, .@item_id[.@s], "cup", "are old raisins" );
		case 1:
			callsub( S_Item, .@item_id[.@s], "cup", "are tea leaves with unpleasant smell" );
		case 2:
			callsub( S_Item, .@item_id[.@s], "cup", "are withered herbs" );
		case 3:
			callsub( S_Item, .@item_id[.@s], "piece", "is butter with an unpleasant smell" );
		case 4:
			callsub( S_Item, .@item_id[.@s], "bowl", "are unripe fruits" );
		}
		end;
	case 2:
		switch( checkquest(16042,PLAYTIME) ) {
		case -1:
			break;
		case 0:
		case 1:
			mes "[Milo River]";
			mes "Oh, it's been a long time since Charity went out. She ate all the forage!";
			mes "Maybe she will come back after enjoying her stroll. If she doesn't come back, please find her again!";
			close;
		case 2:
			erasequest 16042;// Charity temporarily stays
			break;
		}
		switch( isbegin_quest(16044) ) {
		case 0:
			switch( isbegin_quest(16041) ) {
			case 0:	// first time
				mes "[Milo River]";
				mes "Hey, adventurer. Do you know the idol of our unit?";
				mes "Aigu? Hehe. Aigu is everyone's idol.";
				next;
				mes "[Milo River]";
				mes "It is the beautiful cat who stays right here! Inside the basket beneath this stairway.";
				next;
				mes "[Milo River]";
				mes "It's name is Charity! Some guys say it is Arunafeltz Purebred Laherin Shorthair. Actually she just came to us and started living together. So we don't know her breed or age.";
				next;
				emotion ET_THROB;
				mes "[Milo River]";
				mes "The important thing is, Charity is so lovely and cute!";
				next;
				mes "[Milo River]";
				mes "By the way... Charity loves strolling and she spends about half of the day wandering outside. Look at this. I gave her forage this morning and she hasn't eaten half of it yet.";
				next;
				mes "[Milo River]";
				mes "Perhaps somebody is feeding her outside... But I want to feed her good forage. If somebody gives her rotten food... It must not happen.";
				next;
				mes "[Milo River]";
				mes "She shouldn't be fay away. Could you please find Charity in Einbech?";
				next;
				mes "[Milo River]";
				mes "These Anchovy cookies are Charity's favorite snack. Put the cookies on ^0000CDbenches in various places of the village^000000 and call Charity. If she comes out, please bring her to me.";
				next;
				mes "[Milo River]";
				mes "If she doesn't come out... You can go somewhere else to find her. Maybe she cannot hear you at once. In that case, put Anchovy cookies on the bench and call Charity again.";
				next;
				mes "[Milo River]";
				mes "I have to prepare the meal for gluttons... Could you go bring Charity?";
				next;
				if (select( "Say yes.", "Reject." ) == 2) {
					mes "[Milo River]";
					mes "Charity... You're getting late. I hope nothing happened to you.";
					mes "I'm sure people will stop her from rushing to the train of entering the mine. Right?";
					next;
					mes "[Milo River]";
					mes "Hey! Please say yes. Am I right? People like you will protect her, won't they?";
					close;
				}
				mes "[Milo River]";
				mes "Thank you! I will give you enough Anchovy cookies.";
				mes "They are for cats. Give them to Charity and bring back the rest of them. Make sure you don't eat them.";
				getitem 25162,1;	// Anchovy_cookie
				setquest 16041;// Investigation: Capture strolling cat operation
				close;
			case 1:
				if (countitem(25162) < 1) {
					mes "[Milo River]";
					mes "Oops? You've come back in empty hands. Where are your Anchovy cookies? Have you run out of them already?";
					next;
					emotion ET_SWEAT;
					mes "[Milo River]";
					mes "...Don't tell me you ate them all.";
					mes "I never thought that you'd actually eat them. Did you eat them?";
					next;
					mes "[Milo River]";
					mes "Oh, I'm kidding. Did Charity steal them from you? She's so fast and she can do that.";
					next;
					mes "[Milo River]";
					mes "Anyway, I'll give you the Anchovy cookies again. Please keep them safe. This time, you return with Charity and Anchovy cookies!";
					getitem 25162,1;	// Anchovy_cookie
					close;
				}
				mes "[Milo River]";
				mes "Have you found Charity? If she doesn't show up, call her several times on the same spot.";
				mes "Who knows? She might be afraid of you because you are a stranger. Charity is a smart cat. Show her that you are harmless.";
				close;
			case 2:	// daily
				switch( isbegin_quest(16043) ) {
				case 0:
					mes "[Milo River]";
					mes "Hmm... It's been a while since Charity went out...";
					mes "But not such a long time for us to worry about her.";
					next;
					emotion ET_HUK;
					mes "[Milo River]";
					mes "To tell the truth!! I want to see Charity!! I want to pet her!! I miss her so much!";
					next;
					mes "[Milo River]";
					mes "...So, let me give you Anchovy cookies again. Please find Charity.";
					mes "Put them on ^0000CDVillage Bench^000000 in Einbech and call Charity. Will you help me?";
					next;
					if (select( "Help him.", "Don't help him." ) == 2) {
						mes "[Milo River]";
						mes "Charity... Charity...";
						mes "Arrgh... Charity... I hope they write on my tombstone that I died while missing Charity so much...";
						next;
						mes "[Milo River]";
						mes "Please, adventurer... Will you write it on it? Please say yes...";
						close;
					}
					mes "[Milo River]";
					mes "Thanks! Go and get her please.";
					mes "Oh... I'm suffering from withdrawal symptoms... Charity... I should pet her as soon as possible to recover...";
					next;
					mes "[Milo River]";
					mes "Use the Anchovy cookies to find Charity and bring the rest of them!";
					mes "Make sure you don't eat them. Got it?";
					getitem 25162,1;// Crispy Anchovy
					setquest 16043;// Investigation: Capture someone's craving operation
					close;
				case 1:
					if (countitem(25162) < 1) {
						mes "[Milo River]";
						mes "Oops? You've come back in empty hands. Where are your Anchovy cookies? Have you run out of them already?";
						next;
						emotion ET_HUK;
						mes "[Milo River]";
						mes "...Don't tell me you ate them all.";
						mes "I never thought that you'd actually eat them. Did you eat them?";
						next;
						mes "[Milo River]";
						mes "Oh, I'm kidding. Did Charity steal them from you? Phew, she is too fast...";
						next;
						mes "[Milo River]";
						mes "Anyway, I'll give you the Anchovy cookies again. Please keep them safe. This time, you return with Charity and Anchovy cookies!";
						getitem 25162,1;// Crispy Anchovy
						close;
					}
					mes "[Milo River]";
					mes "Have you found Charity? If she doesn't show up, call her several times on the same spot.";
					close;
				case 2:
					end;
				}
			}
		case 1:
			cloakoffnpc "Charity#16.2rm", getcharid(0);
			mes "[Charity]";
			mes "Meow~";
			if (isbegin_quest(16041) == 1) {// daily
				cloakoffnpc "Morana Rudel#16.2rm", getcharid(0);
				npctalk "Miss Charity! She's ruturned!", "Morana Rudel#16.2rm", bc_self;
				sleep2 1000;
				cloakoffnpc "Nice Looking Gun#16.2rm", getcharid(0);
				npctalk "Miss Charity! You are beautiful as usual!", "Nice Looking Gun#16.2rm", bc_self;
				sleep2 1000;
				npctalk "Miss Charity! I love you!!!", "Morana Rudel#16.2rm", bc_self;
				next;
				mes "[Milo River]";
				mes "Oh . . . ! !";
				mes "Charity! I'm so glad you are all right! Look at her soft hairs! Charity!!";
				next;
				sleep2 500;
				npctalk "Miss Charity looked at me!", "Nice Looking Gun#16.2rm", bc_self;
				sleep2 1000;
				npctalk "No, fool! She must have looked at the water!", "Morana Rudel#16.2rm", bc_self;
				sleep2 1000;
				npctalk "No! She did look at me with her brilliant and shiny eyes!", "Nice Looking Gun#16.2rm", bc_self;
				mes "[" + strcharinfo(0) + "]";
				mes "I'm the one who brought her and he doesn't seem to care about me...";
				next;
				emotion ET_BIGTHROB;
				mes "[Milo River]";
				mes "Miss Charity! You must have been exhausted after being brought by this dusty adventurer.. Shall I prepare the bathwater? Or your meal first? Or... Can I pet you first?!";
				npctalk "Stop it! I will pet her!!", "Nice Looking Gun#16.2rm", bc_self;
				sleep2 1000;
				npctalk "Let me pet Charity... Oh, I can't stand it any more!", "Morana Rudel#16.2rm", bc_self;
				next;
				mes "[" + strcharinfo(0) + "]";
				mes "Are they doing this on purpose?";
				sleep2 1000;
				npctalk "I love you Charity! Beautiful Charity!", "Morana Rudel#16.2rm", bc_self;
				sleep2 1000;
				npctalk "Charity forever! Oh, please take my soul to Cat Heaven!!!", "Nice Looking Gun#16.2rm", bc_self;
				sleep2 1000;
				completequest 16041;// Investigation: Capture strolling cat operation
			}
			else {
				npctalk "Ho, Miss Charity, you are beautiful as usual! Look at that!";
				sleep2 1000;
				npctalk "Miss Charity! Look at her elegant eyes! My god! She washed her face!";
				sleep2 1000;
				npctalk "Her hairs are like a black pearl! Her eyes are sapphire! She is a jewel by herself!";
				next;
				mes "[Milo River]";
				mes "Oh . . . ! !";
				mes "Miss Charity! I'm glad you are all right! You are beautiful as usual, Charity!!";
				next;
				npctalk "Today... I will give the best Anchovy cookie to Charity!";
				sleep2 1000;
				npctalk "How dare do you try to touch Charity with your dirty hands!!";
				sleep2 500;
				emotion ET_DELIGHT;
				sleep2 500;
				npctalk "No!! My hands may be dirty. But my mind for Charity is so clean!";
				sleep2 1000;
				npctalk "Anyway, you will be touching her with your hand!";
				mes "[" + strcharinfo(0) + "]";
				mes "I'm the one who brought her and he doesn't seem to care about me...";
				next;
				emotion ET_BIGTHROB;
				mes "[Milo River]";
				mes "Miss Charity! You must have been exhausted after being brought by this dusty adventurer.. Shall I prepare the bathwater? Or... Can I pet you first?";
				npctalk "What? I'm going to touch her! It's my turn!";
				sleep2 1000;
				npctalk "Please... Let me pet you, Charity.";
				next;
				mes "[" + strcharinfo(0) + "]";
				mes "Well, I guess that's the way they live.";
				npctalk "Unless I see Miss Charity everyday, there will be cat hairs growing in my eyes!";
				sleep2 1000;
				npctalk "Oh, Miss Charity. Look at her shape and voice. She is great!";
			}
			cloakonnpc "Morana Rudel#16.2rm", getcharid(0);
			cloakonnpc "Nice Looking Gun#16.2rm", getcharid(0);
			if (countitem(25162) > 0)
				delitem 25162,1;	// Anchovy_cookie
			erasequest 16044;// In charge of Charity
			setquest 16042;// Charity temporarily stays
			getexp 100000,100000;
			getitem 25155,10;	// Swz_Honor_Token
			next;
			mes "[Charity]";
			mes "Meow~";
			cloakonnpc "Charity#16.2rm", getcharid(0);
			close;
		case 2:
			end;
		}
	case 3:
		mes "[Milo River]";
		mes "Hey, she's quite mean.";
		mes "...... What a cat.";
		next;
		emotion ET_SMILE;
		mes "[Milo River]";
		mes "You didn't have a meal? As far as I know, every creature including humans and cats become aggressive when they are hungry~";
		mes "Do you want a warm meal? Well, I cannot guarantee the taste.";
		close;
	}
	end;

S_Item:
	mes "[Milo River]";
	mes "You brought it as you promised! A " + getarg(1) + " of " + getitemname(getarg(0)) + ". Will you give it to me now?";
	next;
	if (select( "Give it to him.", "Do not give it to him." ) == 2) {
		mes "[Milo River]";
		mes "Well, I see. Although you are an adventurer, they are not easy to get. Aren't they?";
		mes "All I can get around this place " + getarg(2) + ". I can't make anything nice with them.";
		mes "It's just a lack of my ability, haha!";
		close;
	}
	mes "[Milo River]";
	mes "It looks delicious! Thank you for your kindness!";
	next;
	emotion ET_DELIGHT;
	mes "[Milo River]";
	mes "Thank you so much for making our seniors happy!";
	mes "I have to prepare for the tea time tomorrow as well... If you don't mind, could you bring it again tomorrow?";
	delitem getarg(0),1;
	if (isbegin_quest(16032) == 1)
		completequest 16032;// Hospitality to senior
	setquest 16034;// Sweet cookies once a day
	getexp 200000,200000;
	getitem 25155,3;// Swz_Honor_Token
	close;

OnInit:
	.@terra_main$ = "terra_gloria_main > 16";
	questinfo( QTYPE_QUEST, QMARK_NONE, .@terra_main$ + " && isbegin_quest(16032) == 0" );
	questinfo( QTYPE_QUEST, QMARK_NONE, .@terra_main$ + " && isbegin_quest(16041) == 0 && isbegin_quest(16044) == 0 && (checkquest(16042,PLAYTIME) == -1 || checkquest(16042,PLAYTIME) == 2)" );
	questinfo( QTYPE_QUEST, QMARK_NONE, .@terra_main$ + " && isbegin_quest(16043) == 0 && isbegin_quest(16041) == 2 && isbegin_quest(16044) == 0 && (checkquest(16042,PLAYTIME) == -1 || checkquest(16042,PLAYTIME) == 2)" );
	questinfo( QTYPE_QUEST, QMARK_NONE, .@terra_main$ + " && isbegin_quest(16044) == 1" );

	// Lebedev twins quest
	questinfo( QTYPE_QUEST, QMARK_NONE, "isbegin_quest(16013) == 1" );

	// twins daily quest : "Service: Cookies delivery"
	questinfo( QTYPE_QUEST, QMARK_NONE, "isbegin_quest(16027) == 1 && countitem(25161) > 0" );
	end;
}

// Milo River - Cat Event
rebel_in,105,28,5	duplicate(dummy_cloaked_npc)	Morana Rudel#16.2rm	4_F_REBELLION2
rebel_in,104,24,7	duplicate(dummy_cloaked_npc)	Nice Looking Gun#16.2rm	4_M_REBELLION3
rebel_in,106,25,3	duplicate(dummy_cloaked_npc)	Charity#16.2rm	4_CAT

// Milo - Cat
einbech,34,209,3	script	Empty bench#16.2rm2	HIDDEN_NPC,{
	if (isbegin_quest(16041) == 1 || isbegin_quest(16043) == 1) {
		if (countitem(25162) < 1) {
			mes "No more Anchovy cookie. Let's go back to Milo and get some more.";
			close;
		}
		mes "It's an empty bench. Take out several Anchovy cookies and...";
		next;
		if (select( "Put them on the bench.", "Eat them." ) == 2) {
			mes "[" + strcharinfo(0) + "]";
			mes "Yuck! This is so fishy. What kind of food is this...!!";
			close;
		}
		if (rand(100) < 10) {
			mes "But nothing happened.";
			next;
			mes "After waiting for a while, you reclaimed the Anchovy cookies.";
			mes "Go to another bench or wait for a while.";
			initnpctimer;
			disablenpc();
			close;
		}
		if (strnpcinfo(0) == "Empty bench#16.2rm2")
			cloakoffnpc "Charity#16.2rmb2", getcharid(0);
		else
			cloakoffnpc "Charity#16.2rmb3", getcharid(0);
		mes "[Charity]";
		mes "Meow~";
		next;
		mes "Charity is here!";
		mes "You lured her with the Anchovy cookie and held her.";
		if (isbegin_quest(16041) == 1)
			completequest 16041;// Investigation: Capture strolling cat operation
		else
			erasequest 16043;// Investigation: Capture someone's craving operation
		setquest 16044;// In charge of Charity
		close2;
	}
	if (strnpcinfo(0) == "Empty bench#16.2rm2")
		cloakonnpc "Charity#16.2rmb2", getcharid(0);
	else
		cloakonnpc "Charity#16.2rmb3", getcharid(0);
	end;

OnTimer30000:
	stopnpctimer;
	enablenpc();
	end;
}
einbech,144,98,3	duplicate(Empty bench#16.2rm2)	Empty bench#16.2rm3	HIDDEN_NPC

einbech,34,203,7	duplicate(dummy_cloaked_npc)	Charity#16.2rmb2	4_CAT
einbech,141,98,5	duplicate(dummy_cloaked_npc)	Charity#16.2rmb3	4_CAT

rebel_in,90,51,5	script	Rachel Smith#16.2rm	4_F_GUNSLINGER2,{
	if (terra_gloria_main < 17) {
		mes "[Rachel Smith]";
		mes "I'm charge of repairing here. The supply is handled there.";
		next;
		mes "[Rachel Smith]";
		mes "Firearms are actually consumables. If someone shoots them, someone has to maintain them.";
		close;
	}
	// twins daily quest
	if (isbegin_quest(16029) == 1) {
		mes "[Rachel Smith]";
		mes "Cookies? Where did you get them? Aha... Made by Lebedev kids?";
		mes "Well. Thank you!";
		next;
		if (countitem(25161) < 1) {
			mes "[Rachel Smith]";
			mes "Hmm? Where is the cookie?";
			close;
		}
		emotion ET_DELIGHT;
		mes "[Rachel Smith]";
		mes "Smells nice... I will ask them the recipe later.";
		completequest 16029;// Service: Cookies delivery
		delitem 25161,1;// Handmade_cookie2
		close;
	}

	if (rachel_quest_16_2 == 0) {
		mes "[Rachel Smith]";
		mes "Again? If you broke your weapon and are pretending that you lost it, don't even think about it.";
		next;
		mes "[Rachel Smith]";
		mes "...... Oops? Oh, sorry. Who are you?";
		mes "I had three guys today who lied to me that they lost their weapons after breaking them. So I thought you would probably say the same thing.";
		next;
		mes "[Rachel Smith]";
		mes "Aha, you are an advanturer.";
		mes "Come to think of it, you must be that adventurer who had a sparring with commander Elena of USU. You're so brave.";
		next;
		mes "[Rachel Smith]";
		mes "I'm Rachel Smith. I'm a Blacksmith and I assist repairing weapons and maintenance.";
		mes "Would you like to show me your weapon? By looking at many weapon, I can study them.";
		next;
		mes "[Rachel Smith]";
		mes "Hmm... This is a nice weapon. You ran it in properly.";
		mes "It's interesting. Although they are same weapons, they have different tendencies according to what the owner focuses on.";
		next;
		mes "[Rachel Smith]";
		mes "... But it doesn't happen to the weapons that I repaired. I don't know why.";
		next;
		emotion ET_PROFUSELY_SWAT;
		mes "[Rachel Smith]";
		mes "Oh, sorry. I'm worried about something recently. Those weapons I have repaired lately have a high defect rate.";
		mes "The people are struggling in the field because of that.";
		next;
		mes "[Rachel Smith]";
		mes "Fortunately, nothing bad has happened so far. But I'm so nervous.";
		mes "Every night I have a nightmare in which the weapon explodes in the hands of our squadders...";
		next;
		mes "[Rachel Smith]";
		mes "Although I'm not an expert yet, I would like to solve the problems without worrying the Master or squadders.";
		next;
		mes "[Rachel Smith]";
		mes "Hey adventurer. Could you please do me a favor?";
		mes "Could you show the weapon that I repaired to Blacksmith guild and ask them for some advice?";
		next;
		if (select( "Say yes.", "Reject." ) == 2) {
			mes "[Rachel Smith]";
			mes "Oh... I see.";
			close;
		}
		mes "[Rachel Smith]";
		mes "Thank you for your help. I can count on you.";
		next;
		mes "[Rachel Smith]";
		mes "If the weapon repaired by me hurts our people, and not the enemy, it will be a tragedy. I would like to prevent that from happening.";
		next;
		mes "[Rachel Smith]";
		mes "Bring this revolver to Einbroch Blacksmith guild and show it to them. Since I am a member of that guild, they will recognize it when they see the revolver repaired by me. I am counting on you.";
		setquest 16035;// Delivery: Explosive revolver materials
		getitem 25151,1;	// Rachels_Revolver
		rachel_quest_16_2 = 1;
		close;
	}
	if (rachel_quest_16_2 == 1) {
		if (countitem(25151) < 1) {
			mes "[Rachel Smith]";
			mes "Hmm... Where is my revolver?";
			mes "This is irresponsible. I will give you another gun. Don't do this again.";
			getitem 25151,1;// Rachels_Revolver
			close;
		}
		mes "[Rachel Smith]";
		mes "Bring my gun to Einbroch Blacksmith guild and show it to them. I am counting on you.";
		close;
	}
	if (rachel_quest_16_2 == 2) {
		mes "[Rachel Smith]";
		mes "Welcome back. What did they say?";
		next;
		mes "[Rachel Smith]";
		mes "So... it's the material. Hmm...";
		mes "As a matter of fact, I estimated it a little.";
		next;
		mes "[Rachel Smith]";
		mes "But I had no other choice. Due to the lack of budget, I could not get better materials.";
		next;
		mes "[Rachel Smith]";
		mes "Moreover, our Master brilliantly repairs weapons with these materials. But I keep breaking them..";
		next;
		mes "[Rachel Smith]";
		mes "So I was trying to improve it by myself. But I changed my mind after listening to you.";
		next;
		mes "[Rachel Smith]";
		mes "My mistake is not only mine. It can also put every squadder in danger. Everyone's safety is more important than my personal pride.";
		next;
		mes "[Rachel Smith]";
		mes "Therefore.. Adventurer, I would like to ask you for a favor. Could you please bring me the materials that I require?";
		mes "Whenever you think of it... Once a day would be perfect. If you bring them occasionally, it's also good.";
		next;
		mes "[Rachel Smith]";
		mes "I cannot give you money for that. But I will compensate you with something else. What do you think?";
		next;
		if (select( "Grant her favor.", "Reject her favor." ) == 1) {
			// note: always iron
			mes "[Rachel Smith]";
			mes "Thank you, adventurer.";
			mes "Hmm... The most important item is.. Let me see. Today.. I need some Iron.";
			mes "Five Iron. Could you please bring them to me?";
			next;
			completequest 16036;// Expert's keen eye
			setquest 16040;// Collect 5 Irons
			getitem 25155,7;// Swz_Honor_Token
			rachel_quest_16_2 = 3;
			close;
		}
		mes "[Rachel Smith]";
		mes "Yes. I will.";
		mes "I have no other choice.";
		completequest 16036;// Expert's keen eye
		getitem 25155,7;// Swz_Honor_Token
		rachel_quest_16_2 = 3;
		close;
	}
	switch( checkquest(16037,PLAYTIME) ) {
	case -1:
		break;
	case 0:
	case 1:
		mes "[Rachel Smith]";
		mes "I think I can sort it out with the Ore that you have brought.";
		next;
		mes "[Rachel Smith]";
		mes "If you can help me again... Could you come back tomorrow? I might need other Ore.";
		close;
	case 2:
		erasequest 16037;// Material collection once a day
		break;
	}
	if (isbegin_quest(16038) == 1)		callsub( S_Quest, 16038, 984,2, "two" );	// Oridecon
	else if (isbegin_quest(16039) == 1) callsub( S_Quest, 16039, 985,2, "two" );	// Elunium
	else if (isbegin_quest(16040) == 1) callsub( S_Quest, 16040, 998,5, "five" );	// Iron
	else {
		mes "[Rachel Smith]";
		mes "Welcome, adventurer. Thanks to your help last time, I was able to work without difficulty.";
		mes "Is it okay if I ask you for a favor again?";
		next;
		if (select( "Of course it's okay.", "I am busy today." ) == 2) {
			mes "[Rachel Smith]";
			mes "Hmm.. I see. But thank you for your help last time.";
			mes "Thank you coming again.";
			next;
			mes "[Rachel Smith]";
			mes "Apart from the materials...";
			mes "Can you come here to meet me once in a while?";
			close;
		}
		switch( rand(16038,16040) ) {
		case 16038:
			mes "[Rachel Smith]";
			mes "To enhance the gun barrel, I need Oridecon.";
			mes "Please bring me two Oridecon.";
			setquest 16038;// Collect 2 Oridecons
			close;
		case 16039:
			mes "[Rachel Smith]";
			mes "Today I don't have enough Elunium. Could you please bring me two Elunium?";
			mes "I will count on you, adventurer.";
			setquest 16039;// Collect 2 Eluniums
			close;
		case 16040:
			mes "[Rachel Smith]";
			mes "Iron is the most basic material for every weapon. Without it, I cannot do anything only with other enhancing materials.";
			mes "So please bring me five Iron";
			setquest 16040;// Collect 5 Irons
			close;
		}
	}
	end;

S_Quest:
	.@quest_id = getarg(0);
	.@item_req = getarg(1);
	.@count_req = getarg(2);
	.@count_req_string$ = getarg(3);
	switch( .@quest_id ) {
	case 16038:
		if (countitem(.@item_req) < .@count_req) {
			mes "[Rachel Smith]";
			mes "If the gun barrel is not hard enough, the inner barrel will be melt after several shots. After all, it will be worn out soon.";
			mes "To prevent it, we need high quality Oridecon. Please bring two.";
			close;
		}
		break;
	case 16039:
		if (countitem(.@item_req) < .@count_req) {
			mes "[Rachel Smith]";
			mes "The blacksmiths in large cities exchange Elunium Ore with Elunium... Please bring me two Elunium.";
			mes "If I had a better skill, it would have been enough with Ore. I'm ashamed...";
			close;
		}
		break;
	case 16040:
		if (countitem(.@item_req) < .@count_req) {
			mes "[Rachel Smith]";
			mes "We always don't have enough Iron. Bring five Iron please.";
			mes "Thank you so much, adventurer.";
			close;
		}
		break;
	}
	mes "[Rachel Smith]";
	mes "You have brought " + .@count_req_string$ + " " + getitemname(.@item_req) + " that I asked you for? Thank you very much!";
	mes "Are you sure you are giving them to me?";
	next;
	if (select( "Of course.", "Sorry. I need it." ) == 2) {
		mes "[Rachel Smith]";
		mes "Yeah. I am just requesting you.";
		mes "If you have more important thing to do, don't worry about me.";
		close;
	}
	mes "[Rachel Smith]";
	mes "Thank you, adventurer...";
	mes "Although I cannot give you money, let me give you this.";
	mes "If possible, I would like to ask you for a favor tomorrow too.";
	erasequest .@quest_id;
	delitem .@item_req, .@count_req;
	setquest 16037;// Material collection once a day
	getexp 200000,200000;
	getitem 25155,3;// Swz_Honor_Token
	close;

OnInit:
	.@terra_main$ = "terra_gloria_main > 16";
	.@has_item$ = 
		"(isbegin_quest(16038) == 1 && countitem(984) > 1) || " +
		"(isbegin_quest(16039) == 1 && countitem(985) > 1) || " +
		"(isbegin_quest(16040) == 1 && countitem(998) > 4)";
	questinfo( QTYPE_QUEST, QMARK_NONE, (.@terra_main$ + " && isbegin_quest(16035) == 0 && (isbegin_quest(16036) == 0 || isbegin_quest(16036) == 1)") );
	questinfo( QTYPE_QUEST, QMARK_NONE, (.@terra_main$ + " && ((checkquest(16037,PLAYTIME) == -1 && (" + .@has_item$ + ")) || checkquest(16037,PLAYTIME) == 2)") );

	// twins daily quest : "Service: Cookies delivery"
	questinfo( QTYPE_QUEST, QMARK_NONE, "isbegin_quest(16029) == 1 && countitem(25161) > 0" );
	end;
}

ein_in01,38,21,3	script	Blacksmith Jack#16.2rm	4_M_MIDDLE1,{
	if (rachel_quest_16_2 == 1) {
		mes "[Blacksmith Jack]";
		mes "Seems like you are looking for someone. What is it?";
		next;
		mes "[Blacksmith Jack]";
		mes "An advice for repairing weapons? Well, but you are not a Blacksmith, are you?";
		next;
		mes "[Blacksmith Jack]";
		mes "Oh, you have come here after being requested by the member of our guild. Let me see it.";
		next;
		if (countitem(25151) < 1) {
			mes "[Blacksmith Jack]";
			mes "Come on. I have to look at the weapon to give you an advice.";
			mes "I am a Blacksmith, not a psychic.";
			close;
		}
		mes "[Blacksmith Jack]";
		mes "Hmm. This is definitely the skill of our guild member. She has developed the method we taught her.";
		mes "Her skill is good. Hmm, but...";
		next;
		mes "[Blacksmith Jack]";
		mes "This is... Hmm, I see...";
		next;
		mes "Jack is scrutinizing Rachel's revolver.";
		next;
		mes "[Blacksmith Jack]";
		mes "This is not a matter of her skill. It's the materials.";
		mes "Since there are so many impurities mixed in the metal, it mush have been hard for her to handle this. But she barely did it.";
		next;
		mes "[Blacksmith Jack]";
		mes "Go back and tell her she must use the metal with higher purity.";
		mes "This is not the problem of someone who handles it. I won't be surprised if it exploded while she was repairing it.";
		next;
		mes "[Blacksmith Jack]";
		mes "Go back and tell her. It might be exploded in the meantime...";
		delitem 25151,1;// Rachels_Revolver
		erasequest 16035;// Delivery: Explosive revolver materials
		setquest 16036;// Expert's keen eye
		rachel_quest_16_2 = 2;
		close;
	}
	mes "[Blacksmith Jack]";
	mes "An experienced Blacksmith can recognize the status of the weapon just by feeling the vibration on the arm when he/she smashes that weapon with a hammer.";
	next;
	mes "[Blacksmith Jack]";
	mes "In addition to that, The real master must check it with eyes and ears as well.";
	close;

OnInit:
	questinfo( QTYPE_QUEST, QMARK_NONE, "isbegin_quest(16035) == 1" );
	end;
}

// Misc npcs
rebel_in,72,32,7	script	Danae#16nego01	4_F_REBELLION2,{
	mes "[Danae]";
	mes "This is delicious. No mission yet?";
	next;
	mes "[Tommy]";
	mes "Yeah. They told me to stand by.";
	next;
	mes "[Danae]";
	mes "Oh, I'm waiting for my off-duty day. I will go to Yuno to eat something delicious.";
	close;
}

rebel_in,72,29,5	script	Grinder#16nego01	4_M_REBELLION,{
	mes "[Grinder]";
	mes "Oh, it was so hard. Wasn't it?";
	next;
	mes "[Fang]";
	mes "Not that hard. Did I tell you the story when I went to Hermes Fletue?";
	next;
	mes "[Grinder]";
	mes "Yes, you did. More than thousand times.";
	next;
	mes "[Fang]";
	mes "I told you not to drink the tea while you are holding the gun. What if you spill it on it?";
	next;
	mes "[Grinder]";
	mes "Yeah, I will finish drinking first.";
	close;
}

rebel_in,75,31,3	script	Tommy#16nego01	4_M_GUNSLINGER2,{
	mes "[Tommy]";
	mes "Why do you keep wiping it?";
	next;
	mes "[Danae]";
	mes "I always have to take care of it.";
	next;
	mes "[Tommy]";
	mes "You're so diligent.";
	close;
}

rebel_in,72,27,5	script	Fang#16nego01	4_F_REBELLION3,{
	mes "[Fang]";
	mes "I'm so tired. I will sleep after drinking a cup of tea.";
	next;
	mes "[Grinder]";
	mes "You said No.1 priority is reporting and No.2 is the gun, after the mission. Didn't you?";
	next;
	mes "[Fang]";
	mes "I will do it after sleeping.";
	next;
	mes "[Grinder]";
	mes "Oh? You once told me I must die after those No.1 and No.2 jobs!";
	next;
	mes "[Fang]";
	mes "That's only for newbies. Not for me.";
	close;
}

rebel_in,75,26,3	script	Ben#16nego01	4_M_REBELLION,{
	mes "[Ben]";
	mes "Ah, I'm so hungry. Nothing happened during my patrol today.";
	next;
	mes "[Ben]";
	mes "What was for the dinner?";
	close;
}

rebel_in,75,23,3	script	Markman#16nego01	4_M_TELEPORTER,{
	mes "[Markman]";
	mes "I love reading books during my night duty. Where is the episode 3?";
	next;
	mes "[Markman]";
	mes "Rookie! Where is the episode 3? Rookie! Rookie!!";
	close;
}

rebel_in,82,33,3	script	Tott#16nego01	4_F_03,{
	mes "[Tott]";
	mes "Night fishing is the best fishing of all. The sound of water, small light and the feeling of being alone at night.";
	next;
	mes "[Tott]";
	mes "So I come out here quite often. The water is so dirty here that there is no fish here. I just enjoy the feeling.";
	close;
}

rebel_in,90,24,5	script	Maymay#16nego01	4_F_02,{
	mes "[Maymay]";
	mes "Oh, I have to finish this.... zzzz";
	close;
}

rebel_in,97,24,5	script	Corona#16nego01	4_M_SCIENCE,{
	mes "[Corona]";
	mes "This light, so beautiful. It's perfect!";
	next;
	mes "[Corona]";
	mes "Look at this. Isn't this light beautiful? It's glanced on the lamp.";
	next;
	mes "[Corona]";
	mes "Ha.. This is perfect. I will wipe it more so that there will be more brilliant light.";
	close;
}

// Enchants
rebel_in,90,40,5	script	Hogar#pa0829	4_M_MASKMAN,{
	disable_items;
	if (checkweight(501,1) == 0) {
		mes "Seems like you have too many belongings. Let's try it again after you remove some.";
		close;
	}
	if ((MaxWeight - Weight) < 1000) {
		mes "Your belongings are too heavy. Let's try it again after you reduce the weight.";
		close;
	}
	if (isbegin_quest(12376) != 2) {
		mes "[Hogar]";
		mes "A customer? I wasn't going to do business today. I'm too tired.";
		next;
		select("I heard similar words somewhere.");
		mes "[Hogar]";
		mes "It's just your imagination. There is no one like me in the world.";
		next;
		mes "^0000ffBut he still looks familiar.^000000";
		next;
		if (select( "It's a waste of time", "Tell me what you sell" ) == 1) {
			mes "[Hogar]";
			mes "Huh, go away.";
			close;
		}
		mes "[Hogar]";
		mes "Schwartz Honor Token, an item issued by the nation and whose transaction between individuals is prohibited. I take those items from people and upgrade their gear.";
		next;
		mes "[Hogar]";
		mes "After betraying a rival in the same field, I got the secret method of upgrading. Since then, I have been working in the shadows like this ... Oh, forget it. This is not a pleasant story.";
		next;
		select("(He DOES look familiar ...)");
		mes "[Hogar]";
		mes "Anyway, if you have bunch of tokens and do not just throw them away, visit me. We can make a good trade.";
		next;
		select("What kind of trade?");
		mes "[Hogar]";
		mes "I provide a special upgrade for Agenda Robes, Consultation Robes and Mercenary Rings type A and B. In return, I take Schwartz Honor Tokens.";
		next;
		mes "[Hogar]";
		mes "Well, I don't have to continue nagging like this. Just bring me the tokens when there is gear that you would like to upgrade. Then we can talk about the trade in detail.";
		setquest 12376;// First transaction
		completequest 12376;// First transaction
		close;
	}
	mes "[Hogar]";
	mes "Have you come for the trade? Tell me what you need.";
	next;
	switch( select( "Tell me the terms of the trade", "Upgrade my robe", "Upgrade my ring", "Initialize the upgraded capacity level of my robe", "Initialize the upgraded capacity level of my ring" ) ) {
	case 1:
		mes "[Hogar]";
		mes "Listen. I won't say it twice.";
		next;
		mes "[Hogar]";
		mes "I take 20 Schwartz Honor Token to upgrade the slot of an Agenda Robe or Consultation Robe. The maximum slots for the upgrade are two. And I will take 10 Schwartz Honor Token for initialization. Do you understand?";
		next;
		mes "[Hogar]";
		mes "Then it's Mercenary Ring type A and B. I take five tokens for upgrading a slot. The maximum slots for the upgrade are two. And I will take 10 tokens for initialization.";
		next;
		mes "[Hogar]";
		mes "The initialization cannot be conducted at any time. I will only do it after you are granted two effects and cannot upgrade the gear any more. And ... then ...";
		next;
		mes "[Hogar]";
		mes "There is a slight problem. Mercenary Ring type A and B might be destroyed during the initialization. The probability is about 20 percent. Since they are small items, there are serious side effects when eliminating the upgraded effect.";
		next;
		mes "[Hogar]";
		mes "I look forward to having a good business relationship with you, fellow.";
		close;
	case 2:
		mes "[Hogar]";
		mes "For the Consultation Robe and Agenda Robe, you need 20 Schwartz Honor Tokens for each slot. Are you sure you want to upgrade it?";
		next;
		if (select( "No", "Let's do it" ) == 1) {
			mes "[Hogar]";
			mes "Since I am busy, do not talk to me pointlessly from now on.";
			close;
		}
		.@equip_id = getequipid(EQI_ARMOR);
		setarray .@card[0],
			getequipcardid(EQI_ARMOR,0),
			getequipcardid(EQI_ARMOR,1),
			getequipcardid(EQI_ARMOR,2),
			getequipcardid(EQI_ARMOR,3);
		.@refine = getequiprefinerycnt(EQI_ARMOR);

		switch( .@equip_id ) {
		case -1:
			mes "[Hogar]";
			mes "You are taking off your gear.";
			close;
		case 15163:
		case 15164:
			break;
		default:
			mes "[Hogar]";
			mes "Hey, grow up. If you want to upgrade your gear, you must put it on properly first.";
			close;
		}
		if (.@card[2] > 0 && .@card[3] > 0) {
			mes "[Hogar]";
			mes "No more upgrade is possible on this gear. Do you have anything else?";
			close;
		}
		if (countitem(25155) < 20) {
			mes "[Hogar]";
			mes "Listen, fellow. If you don't have any " + getitemname(25155) + ", you cannot trade with me.";
			close;
		}

		// unknown rates
		setarray .@enhance[0],
			4994,	// Rune of Strength Lv 1
			4997,	// Rune of Agility Lv 1
			29009,	// Rune of Vitality Lv 1
			29000,	// Rune of Intellect Lv 1
			29003,	// Rune of Dexterity Lv 1
			29006,	// Rune of Luck Lv 1
			4995,	// Rune of Strength Lv 2
			4998,	// Rune of Agility Lv 2
			29010,	// Rune of Vitality Lv 2
			29001,	// Rune of Intellect Lv 2
			29004,	// Rune of Dexterity Lv 2
			29007,	// Rune of Luck Lv 2
			4996,	// Rune of Strength Lv 3
			4999,	// Rune of Agility Lv 3
			29011,	// Rune of Vitality Lv 3
			29002,	// Rune of Intellect Lv 3
			29005,	// Rune of Dexterity Lv 3
			29008;	// Rune of Luck Lv 3
		.@size = getarraysize(.@enhance);

		if (.@card[3] == 0)
			.@card[3] = .@enhance[ rand(.@size) ];
		else if (.@card[2] == 0)
			.@card[2] = .@enhance[ rand(.@size) ];

		delitem 25155,20;	// Swz_Honor_Token
		delequip EQI_ARMOR;
		getitem2 .@equip_id,1,1,.@refine,0,.@card[0],.@card[1],.@card[2],.@card[3];
		specialeffect2 EF_REPAIRWEAPON;
		mes "[Hogar]";
		mes "Hmm, it's been done well. Check your item.";
		close;
	case 3:
		mes "[Hogar]";
		mes "You need five Schwartz Honor Tokens to upgrade a slot of Mercenary Ring type A and B equipped on your left slot. Are you sure you want to upgrade it?";
		next;
		if (select( "No", "Let's do it" ) == 1) {
			mes "[Hogar]";
			mes "Since I am busy, do not talk to me pointlessly from now on.";
			close;
		}
		.@equip_id = getequipid(EQI_ACC_L);
		setarray .@card[0],
			getequipcardid(EQI_ACC_L,0),
			getequipcardid(EQI_ACC_L,1),
			getequipcardid(EQI_ACC_L,2),
			getequipcardid(EQI_ACC_L,3);

		switch( .@equip_id ) {
		case -1:
			mes "[Hogar]";
			mes "I forgot to tell you something. I only upgrade accessories equipped on the left slot. Equip it on your left slot first and then let me upgrade it.";
			close;
		case 28425:
		case 28426:
			break;
		default:
			mes "[Hogar]";
			mes "Hey, grow up. If you want to upgrade your Mercenary Ring, you must put it on properly first.";
			close;
		}
		if (.@card[2] > 0 && .@card[3] > 0) {
			mes "[Hogar]";
			mes "No more upgrade is possible on this gear. Do you have anything else?";
			close;
		}
		if (countitem(25155) < 5) {
			mes "[Hogar]";
			mes "Listen, fellow. If you don't have any " + getitemname(25155) + ", you cannot trade with me.";
			close;
		}

		// unknown rates
		setarray .@enhance[0],
			4710,	// INT+1
			4730,	// AGI+1
			4740,	// VIT+1
			4720,	// DEX+1
			4750,	// LUK+1
			4700,	// STR+1
			4711,	// INT+2
			4721,	// DEX+2
			4701,	// STR+2
			4731,	// AGI+2
			4751,	// LUK+2
			4741;	// VIT+2
		.@size = getarraysize(.@enhance);

		if (.@card[3] == 0)
			.@card[3] = .@enhance[ rand(.@size) ];
		else if (.@card[2] == 0)
			.@card[2] = .@enhance[ rand(.@size) ];

		delitem 25155,5;	// Swz_Honor_Token
		delequip EQI_ACC_L;
		getitem2 .@equip_id,1,1,0,0,.@card[0],.@card[1],.@card[2],.@card[3];
		specialeffect2 EF_REPAIRWEAPON;
		mes "[Hogar]";
		mes "Hmm, it's been done well. Check your item.";
		close;
	case 4:
		mes "[Hogar]";
		mes "To initialize the Consultation Robe or Agenda Robe, you need 10 Schwartz Honor Tokens. The gear itself will not be destroyed. The card you already inserted and its smelting level will be safe as well.";
		next;
		if (select( "No", "Let's do it" ) == 1) {
			mes "[Hogar]";
			mes "Since I am busy, do not talk to me pointlessly from now on.";
			close;
		}
		.@equip_id = getequipid(EQI_ARMOR);
		setarray .@card[0],
			getequipcardid(EQI_ARMOR,0),
			getequipcardid(EQI_ARMOR,1),
			getequipcardid(EQI_ARMOR,2),
			getequipcardid(EQI_ARMOR,3);
		.@refine = getequiprefinerycnt(EQI_ARMOR);

		switch( .@equip_id ) {
		case -1:
			mes "[Hogar]";
			mes "You are taking off your gear.";
			close;
		case 15163:
		case 15164:
			break;
		default:
			mes "[Hogar]";
			mes "Whoops, this item has not been fully upgraded. The initialization is not possible yet.";
			close;
		}
		if (.@card[2] == 0 || .@card[3] == 0) {
			mes "[Hogar]";
			mes "Whoops, this item has not been fully upgraded. The initialization is not possible yet.";
			close;
		}
		if (countitem(25155) < 10) {
			mes "[Hogar]";
			mes "Listen, fellow. If you don't have any " + getitemname(25155) + ", you cannot trade with me.";
			close;
		}
		delitem 25155,10;	// Swz_Honor_Token
		delequip EQI_ARMOR;
		getitem2 .@equip_id,1,1,.@refine,0,.@card[0],0,0,0;
		specialeffect2 EF_REPAIRWEAPON;
		mes "[Hogar]";
		mes "Hmm, it's been done well. Check your item.";
		close;
	case 5:
		mes "[Hogar]";
		mes "You need 10 Schwartz Honor Tokens to upgrade Mercenary Ring type A and B equipped on your left slot.";
		next;
		mes "[Hogar]";
		mes "As I explained before, the initialization of rings is quite hard. ^ff0000The success rate is 80 percent.^000000 If it fails, the item is gone. Are you sure you want to do this?";
		next;
		if (select( "No", "Let's do it" ) == 1) {
			mes "[Hogar]";
			mes "Since I am busy, do not talk to me pointlessly from now on.";
			close;
		}
		mes "[Hogar]";
		mes "I am telling you in advance. Every time you initialize the ring, there is a 20 percent probability of destruction. Are you sure you want to continue?";
		next;
		if (select( "Stop", "Continue" ) == 1) {
			mes "[Hogar]";
			mes "Yes. Good idea.";
			close;
		}
		.@equip_id = getequipid(EQI_ACC_L);
		setarray .@card[0],
			getequipcardid(EQI_ACC_L,0),
			getequipcardid(EQI_ACC_L,1),
			getequipcardid(EQI_ACC_L,2),
			getequipcardid(EQI_ACC_L,3);

		switch( .@equip_id ) {
		case -1:
			mes "[Hogar]";
			mes "I forgot to tell you something. I only initialize accessories equipped on the left slot. Equip it on your left slot first and then let me initialize it.";
			close;
		case 28425:
		case 28426:
			break;
		default:
			mes "[Hogar]";
			mes "Whoops, this item has not been fully upgraded. The initialization is not possible yet.";
			close;
		}
		if (.@card[2] == 0 || .@card[3] == 0) {
			mes "[Hogar]";
			mes "Whoops, this item has not been fully upgraded. The initialization is not possible yet.";
			close;
		}
		if (countitem(25155) < 10) {
			mes "[Hogar]";
			mes "Listen, fellow. If you don't have any " + getitemname(25155) + ", you cannot trade with me.";
			close;
		}
		delitem 25155,10;	// Swz_Honor_Token
		delequip EQI_ACC_L;
		if (rand(100) < 20) {
			specialeffect2 EF_LORD;
			mes "[Hogar]";
			mes "Oh, you are unlucky today. Your gear has been badly damaged.";
			close;
		}
		getitem2 .@equip_id,1,1,0,0,.@card[0],0,0,0;
		specialeffect2 EF_REPAIRWEAPON;
		mes "[Hogar]";
		mes "Hmm, it's been done well. Check your item.";
		close;
	}
}

// Exchanges
rebel_in,74,67,5	script	Strasse#rebel_in	4_M_TATIO,{
	disable_items;
	if (checkweight(501,1) == 0) {
		mes "[Strasse]";
		mes "You have too much in your inventory.";
		mes "Please make it lighter and come back.";
		close;
	}
	if ((MaxWeight - Weight) < 1000) {
		mes "[Strasse]";
		mes "You have too much in your inventory.";
		mes "Please make it lighter and come back.";
		close;
	}
	mes "[Strasse]";
	mes "Hello. How may I help you?";
	next;
	if (countitem(25155) < 1) {
		mes "[Strasse]";
		mes "Hmm... You don't have any Schwartz Honor Tokens.";
		mes "Please come back after taking care of other tasks.";
		close;
	}
	mes "[Strasse]";
	mes "Oh, you brought the Schwartz Honor Tokens.";
	mes "I always thank you for your help.";
	mes "We have to show you our gratitude in return.";
	next;
	mes "[Strasse]";
	mes "For our cooperators who brought certain amount of tokens, we will grant gifts. Please choose items you require.";
	next;
	mes "[Strasse]";
	mes "Which one would you like to select?";
	next;

	setarray .@item[0],
		15163, 1000,	// Agenda_Robe
		15164, 1000,	// Consultation_Robe
		20456, 1500,	// C_Combat_Vestige
		19115, 2500,	// Republic_Hat
		28425, 1500,	// Mercenary_Ring_A
		28426, 1500;	// Mercenary_Ring_B

	.@s = (select( "Agenda Robe", "Consultation Robe", "Costume Combat Vestige", "Hat of Republic", "Mercenary Ring A type", "Mercenary Ring B type" ) - 1) * 2;
	mes "[Strasse]";
	mes "<ITEM>" + getitemname(.@item[.@s]) + "<INFO>" + .@item[.@s] + "</INFO></ITEM>? I got it.";
	mes "You need " + .@item[.@s+1] + " Schwartz Honor Tokens.";
	mes "Are you sure you want this?";
	next;
	if (select( "Yes", "No" ) == 2) {
		mes "[Strasse]";
		mes "Please come back after you decided.";
		close;
	}
	if (countitem(25155) < .@item[.@s+1]) {// Swz_Honor_Token
		mes "[Strasse]";
		mes "You don't have enough tokens...";
		mes "Please collect some more.";
		close;
	}
	// custom text
	mes "[Strasse]";
	mes "Here is your <ITEM>" + getitemname(.@item[.@s]) + "<INFO>" + .@item[.@s] + "</INFO></ITEM>.";
	delitem 25155, .@item[.@s+1];
	getitem .@item[.@s],1;
	close;
}

rebel_in,89,46,3	script	Rotten#16nego01	4_M_SITDOWN,{
	mes "[Rotten]";
	mes "Ah, I hate cleaning. Why don't they develop a machine that does the cleaning automatically?";
	close;
}

rebel_in,104,37,5	duplicate(dummy_cloaked_npc)	Daryl#16nego01	4_M_REBELLION2
rebel_in,103,37,7	duplicate(dummy_cloaked_npc)	Trainee#16nego01	4_F_GUNSLINGER3
rebel_in,104,39,5	duplicate(dummy_cloaked_npc)	Trainee#16nego02	4_M_GUNSLINGER3

rebel_in,108,36,3	script	Master#16nego02	4_F_HUWOMAN,{
	if (checkweight(25155,3) == 0 || (MaxWeight - Weight) < 1000) {
		emotion ET_OHNO;
		mes "[Master]";
		mes "You have too many items in your inventory. Why don't you come back after making it lighter? It looks too heavy.";
		close;
	}
	if (terra_gloria_main < 17) {
		mes "[Master]";
		mes "Authorized Personnel Only. Stay away.";
		close;
	}
	switch( checkquest(14612,PLAYTIME) ) {
	case -1:
		break;
	case 0:
	case 1:
		mes "[Master]";
		mes "Adventurer, please take a good rest today. You must take of yourself.";
		next;
		mes "[Master]";
		mes "I will see you tomorrow.";
		close;
	case 2:
		mes "[Master]";
		mes "Welcome back, adventurer. Did you have a good rest mentally and physically?";
		next;
		mes "[Master]";
		mes "Last night, many weapons were not returned. I really have to teach these guys some lesson...";
		next;
		mes "[Master]";
		mes "Anyway, I will count on you. ^0000cdGo down from Einbech and find Suspicious Heap of Earth^000000 and investigate it. Then ^0000cdbring about three broken guns^000000 please.";
		erasequest 14612;// Time for repair
		setquest 14611;// Gun recycling
		close;
	}

	// daily quest
	switch( isbegin_quest(14611) ) {
	case 0:
		break;
	case 1:
		mes "[Master]";
		mes "Ha........... There are so many guys who did not return their weapons.";
		next;
		emotion ET_OHNO;
		mes "[" + strcharinfo(0) + "]";
		mes "Well...";
		next;
		mes "[Master]";
		mes "Welcome, adventurer. You came back earlier than we expected. Didn't the Grudges attack you?";
		next;
		mes "[Master]";
		mes "So you've brought what I told you? Let's see...";
		next;
		if (countitem(25153) < 3) {
			mes "[Master]";
			mes "Hmm.. Not enough. I asked you to bring ^0000cdthree Broken Gun^000000.";
			next;
			mes "[Master]";
			mes "^0000cdGo down from Einbech^000000 and investigate ^0000cdSuspicious Heap of earth^000000 in several places. Then you can find them.";
			next;
			mes "[Master]";
			mes "Since there are Grudges, I know it's not easy. But we will count on you.";
			close;
		}
		if (checkquest(14611,HUNTING) != 2) {
			mes "[Master]";
			mes "You've brought enough broken guns. But we cannot use them.";
			next;
			mes "[Master]";
			mes "I guess you have to search at least five Heap of Earth and defeat about five Grudge.";
			next;
			mes "[Master]";
			mes "I know you worked hard for us to bring them. Sorry to ask you once again.";
			close;
		}
		mes "[Master]";
		mes "My god... It's amazing. You've reclaimed all these weapons in that short time. They've been hiding so many weapons everywhere.";
		next;
		mes "[Master]";
		mes "Adventurer, you must be tired today. Take a rest and come back after the ^0000cddawn^000000 tomorrow.";
		next;
		mes "[Master]";
		mes "Thank you so much.";
		erasequest 14611;// Gun recycling
		delitem 25153,3;// Broken_Gun_Wreck
		setquest 14612;// Time for repair
		getitem 25155,3;// Swz_Honor_Token
		getexp 200000,200000;
		close;
	case 2:
		end;
	}

	// first time
	switch( isbegin_quest(14610) ) {
	case 0:
		mes "[" + strcharinfo(0) + "]";
		mes "Hello? can I take a look around?";
		next;
		mes "[Master]";
		mes "Oh, you are the famous adventurer.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "What am I famous for?";
		next;
		mes "[Master]";
		mes "They say we had an outsider after a long time. And the outsider persuaded us to cooperate with the government.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "I haven't done so much.";
		next;
		mes "[Master]";
		mes "But that's what I heard.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "By the way, what is this place? Since there are so many guns, I guess this is an armory.";
		next;
		mes "[Master]";
		mes "Sort of. We lend weapons for Rebellions here.";
		next;
		emotion ET_QUESTION, playerattached();
		mes "[" + strcharinfo(0) + "]";
		mes "They have their own weapons. And you lend them more?";
		next;
		mes "[Master]";
		mes "You are right. But according to the task and circumstance, sometimes we need additional weapons";
		next;
		mes "[Master]";
		mes "And for newbies, we don't know which gun is suitable for each of them. So they have to try many different guns.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "So they can borrow them here.";
		next;
		mes "[Master]";
		mes "Yes. They must write down the period, names and the purpose on the ledger. When returning them, they only have to sign.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "It's inconvenient. I thought you would just lend them without any procedure.";
		next;
		mes "[Master]";
		mes "Originally, they used to borrow and returned guns without having to write anything. But almost nobody returned them. We have limited resources so we cannot just keep producing and purchasing our weapons.";
		next;
		mes "[Master]";
		mes "That's how we developed a system like this. It's due to the guys living here.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "This is the ledger...";
		next;
		mes "[Master]";
		mes "Don't scrutinize it. Just in case you forgot, you are an outsider.";
		next;
		mes "[Master]";
		mes "Please keep in mind that we have been the most mysterious and exclusive organization in Schwaltzvalt lately.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "It's amazing. What are these red lines?";
		next;
		mes "[Master]";
		mes "Ha.......................................";
		emotion ET_OTL;
		next;
		mes "[Master]";
		mes "Those who did not return weapons.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "So many of them.. Even if you manage it thoroughly?";
		next;
		mes "[Master]";
		mes "Since these are not their private firearms, they handle them carelessly. They don't realize that they have to handle things with care.";
		next;
		mes "[Master]";
		mes "Once they are broken, they must bring them here to repair. But they just throw them away. They don't bring them back here even though we give them penalty, claiming that they lost them.";
		next;
		mes "[Master]";
		mes "Oh! Great! Adventurer, if you have time, could you help us?";
		next;
		if (select( "I always like working.", "Sorry. I can't" ) == 2) {
			mes "[" + strcharinfo(0) + "]";
			mes "All of a sudden? Maybe not now...";
			next;
			mes "[Master]";
			mes "Well, it's not urgent. Please find them when you have time.";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "Yes. I will.";
			close;
		}
		mes "[" + strcharinfo(0) + "]";
		mes "All of a sudden? Well, I always like working.";
		next;
		mes "[Master]";
		mes "It's good attitude. Please take a look the guys with red lines. And reclaim those weapons that they threw away.";
		next;
		mes "[Master]";
		mes "While they are on mission, most of them reclaim their weapons once they are broken. By the time they arrive at Einbech, they think of me who scolds them and just throw the weapons away.";
		next;
		mes "[Master]";
		mes "Sometimes I reclaim them when I have time. Sometimes I send newbies to bring the. But as you see, we have been quite busy lately.";
		next;
		mes "[Master]";
		mes "And once you touch the wreckage...";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "What happens?";
		next;
		emotion ET_KEK;
		mes "[Master]";
		mes "Oh... Grudges of guns come out and attack you. You have to see them yourself. Seeing is believing.";
		next;
		mes "[Master]";
		mes "Go around ^0000cdseveral places in the field below Einbech ^000000 and reclaim ^0000cdBroken Guns^000000 inside Suspicious Heap of Earth.";
		next;
		mes "[Master]";
		mes "Let me see from the newest one... Bring ^0000cdabout three of them^000000 please. If you bring too many of them, it will be hard to repair.";
		setquest 14610;// Gun recycling
		close;
	case 1:
		mes "[Master]";
		mes "Welcome back. Have you brought what I ask you for?";
		next;
		if (countitem(25153) < 3) {
			mes "[Master]";
			mes "Hmm.. Not enough. I asked you to bring three Broken Gun.";
			next;
			mes "[Master]";
			mes "Go down from Einbech and investigate Suspicious Heap of Earth in several places. Then you can find them.";
			next;
			mes "[Master]";
			mes "Since there are Grudges, I know it's not easy. But we will count on you.";
			close;
		}
		if (checkquest(14610,HUNTING) != 2) {
			mes "[Master]";
			mes "You've brought enough broken guns. But we cannot use them.";
			next;
			mes "[Master]";
			mes "I guess you have to search at least five Heap of Earth and defeat about five Grudge.";
			next;
			mes "[Master]";
			mes "I know you worked hard for us to bring them. Sorry to ask you once again.";
			close;
		}
		mes "[Master]";
		mes "You have brought enough amount. Thank you so much.";
		next;
		mes "[Master]";
		mes "By the way, he should be here now.";
		next;
		cloakoffnpc "Daryl#16nego01", getcharid(0);
		mes "[Daryl]";
		mes "I'm here.";
		next;
		mes "[Master]";
		mes "And your weapon?";
		next;
		mes "[Daryl]";
		mes "I don't have it.";
		next;
		mes "[Master]";
		mes "Why not?";
		next;
		mes "[Daryl]";
		mes "I lost it.";
		next;
		mes "[Master]";
		mes "Heck, good job.";
		next;
		mes "[Daryl]";
		mes "Well, not such a good job.";
		next;
		emotion ET_OK;
		mes "[Master]";
		mes "You did a great job. So you'll lose your weapon again, won't you?";
		next;
		mes "[Daryl]";
		mes "No.";
		next;
		mes "[Master]";
		mes "What did I tell you? You can lost yourself, but never lose your weapon!";
		next;
		mes "[Daryl]";
		mes "Sorry.";
		emotion ET_SORRY, getnpcid(0, "Daryl#16nego01");
		next;
		mes "[Master]";
		mes "It doesn't look like an attitude of someone who's sorry. You lost something you borrowed. Now give me yours.";
		next;
		mes "[Daryl]";
		mes "No! Never! Don't touch me! Yikes!";
		emotion ET_HELP, getnpcid(0, "Daryl#16nego01");
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Well... Can I leave now?";
		next;
		mes "[Daryl]";
		mes "No, you can't! I don't know who you are. But please save me!";
		next;
		mes "[Master]";
		mes "Right! We have to compensate you. First, let's see who threw this away.";
		next;
		mes "[Master]";
		mes "Let's see... Who threw this away..? The serial numbers are...";
		next;
		mes "[Master]";
		mes "... Daryl?";
		next;
		mes "[Daryl]";
		mes "Yeah, huh?";
		next;
		mes "[Master]";
		mes "The weapon you borrowed last time.. You said you lost it, didn't you?";
		next;
		emotion ET_SCRATCH, getnpcid(0, "Daryl#16nego01");
		mes "[Daryl]";
		mes "My god. Why is it there...";
		next;
		mes "[Master]";
		mes "You begged me for the weapon!! Just because it's not yours, you broke it like this and threw it away? Why didn't you do this to your own weapon?";
		next;
		mes "[Daryl]";
		mes "My Lady!! I have to treasure it!!!";
		next;
		mes "[Master]";
		mes "This is not the first time and I have the smoking gun here. You have nothing to say now!";
		next;
		mes "[Master]";
		mes "We will keep your Lady for a while. You reflect on yourself in the training room for some time!";
		next;
		cloakoffnpc "Trainee#16nego01", getcharid(0);
		cloakoffnpc "Trainee#16nego02", getcharid(0);
		mes "[Master]";
		mes "Trainees!!!";
		npctalk "Yes!!", "Trainee#16nego01", bc_self;
		npctalk "Yes!!", "Trainee#16nego02", bc_self;
		next;
		mes "[Master]";
		mes "Come and drag him out!";
		next;
		mes "[Daryl]";
		mes "What???";
		next;
		mes "[Daryl]";
		mes "No! Not the target please! I don't want to die yet!!! I'm sorry! It's my fault! I'll never do it again!";
		emotion ET_CRY, getnpcid(0, "Daryl#16nego01");
		npctalk "Let's go.", "Trainee#16nego01", bc_self;
		npctalk "This time, I will make no mistake in shooting.", "Trainee#16nego02", bc_self;
		next;
		cloakonnpc "Trainee#16nego01", getcharid(0);
		cloakonnpc "Trainee#16nego02", getcharid(0);
		cloakonnpc "Daryl#16nego01", getcharid(0);
		mes "[Master]";
		mes "You must be so tired by now. Take some rest. Can we count on you tomorrow? If you are interested, come back to us after the dawn.";
		emotion ET_SWEAT, playerattached();
		next;
		mes "[Master]";
		mes "Thank you so much.";
		erasequest 14610;// Gun recycling
		setquest 14612;// Time for repair
		delitem 25153,3;// Broken_Gun_Wreck
		getitem 25155,3;// Swz_Honor_Token
		getexp 200000,200000;
		close;
	case 2:
		end;
	}
	end;

OnInit:
	.@terra_main$ = "terra_gloria_main > 16";
	questinfo( QTYPE_QUEST, QMARK_NONE, (.@terra_main$ + " && (checkquest(14610,HUNTING) == -1 || (checkquest(14610,HUNTING) == 2 && countitem(25153) > 2)) && checkquest(14612,PLAYTIME) == -1 && isbegin_quest(14611) == 0") );
	questinfo( QTYPE_QUEST, QMARK_NONE, (.@terra_main$ + " && (checkquest(14612,PLAYTIME) == 2 || (checkquest(14611,HUNTING) == 2 && countitem(25153) > 2))") );
	end;
}

ein_fild09,70,175,5	script	Suspicious Heap of Earth#1	4_SOIL,{
	if (isbegin_quest(14610) == 0 && isbegin_quest(14611) == 0)
		end;
	if (countitem(25153) >= 3) {	// what if true but hunting not completed?
		mes "[" + strcharinfo(0) + "]";
		mes "You've reclaimed enough of them. Let's go back to the Master.";
		close;
	}
	setpcblock PCBLOCK_NPC, true;
	npctalk "It's the Heap of Earth where Broken Guns have been buried. Let's dig it and reclaim the guns.", "", bc_self;
	sleep2 1000;
	setpcblock PCBLOCK_NPC, false;
	npctalk "As you attempted to reclaim the Broken Gun, the Heap of Earth moved and something popped out suddenly.", "", bc_self;
	getmapxy .@map$,.@x,.@y, BL_NPC;
	monster .@map$,.@x,.@y,"Grudge of Broken Gun",3629,1;
	.@r = rand(9);	// incomplete?
	if (.@r == 0) unittalk $@mobid[0], "Just leave me alone!";
	else if (.@r == 1) unittalk $@mobid[0], "Why did you abandon me!";
	else if (.@r == 2) unittalk $@mobid[0], "I will follow you till the end!!!!";
	else if (.@r == 3) unittalk $@mobid[0], "I can never forgive you who abandoned me!!!";
	else if (.@r == 4) unittalk $@mobid[0], "Let me show you what a biller grudge is all about!";
	else if (.@r == 5) unittalk $@mobid[0], "I knew we would meet again. I've waiting for this day to kill you.";
	else if (.@r == 6) unittalk $@mobid[0], "You said you needed me!!! Why did you abandon me!!";
	else if (.@r == 7) unittalk $@mobid[0], "So you are abandoning me again? Then let me kill you first!";
	else if (.@r == 8) unittalk $@mobid[0], "It's been cold and I was lonely waiting for you... Let us die together.";
	initnpctimer;
	disablenpc();
	end;
OnTimer300000:
	stopnpctimer;
	enablenpc();
	end;
}
ein_fild09,136,157,5	duplicate(Suspicious Heap of Earth#1)	Suspicious Heap of Earth#2	4_SOIL
ein_fild09,87,192,5	duplicate(Suspicious Heap of Earth#1)	Suspicious Heap of Earth#3	4_SOIL
ein_fild09,95,234,5	duplicate(Suspicious Heap of Earth#1)	Suspicious Heap of Earth#4	4_SOIL
ein_fild09,179,248,5	duplicate(Suspicious Heap of Earth#1)	Suspicious Heap of Earth#5	4_SOIL
ein_fild09,127,276,5	duplicate(Suspicious Heap of Earth#1)	Suspicious Heap of Earth#6	4_SOIL
ein_fild09,89,289,5	duplicate(Suspicious Heap of Earth#1)	Suspicious Heap of Earth#7	4_SOIL
ein_fild09,103,352,5	duplicate(Suspicious Heap of Earth#1)	Suspicious Heap of Earth#8	4_SOIL
ein_fild09,164,290,5	duplicate(Suspicious Heap of Earth#1)	Suspicious Heap of Earth#9	4_SOIL
ein_fild09,256,320,5	duplicate(Suspicious Heap of Earth#1)	Suspicious Heap of Earth#10	4_SOIL
ein_fild09,256,282,5	duplicate(Suspicious Heap of Earth#1)	Suspicious Heap of Earth#11	4_SOIL
ein_fild09,335,239,5	duplicate(Suspicious Heap of Earth#1)	Suspicious Heap of Earth#12	4_SOIL
ein_fild09,332,216,5	duplicate(Suspicious Heap of Earth#1)	Suspicious Heap of Earth#13	4_SOIL
ein_fild09,135,305,5	duplicate(Suspicious Heap of Earth#1)	Suspicious Heap of Earth#14	4_SOIL

rebel_in,90,60,3	duplicate(dummy_cloaked_npc)	Magenta#16nego01	4_M_GUNSLINGER2
rebel_in,90,62,3	duplicate(dummy_cloaked_npc)	Gonie#16nego04	4_M_GONY
rebel_in,94,71,5	duplicate(dummy_cloaked_npc)	Denny#16nego01	4_M_REBELLION3
rebel_in,95,65,3	duplicate(dummy_cloaked_npc)	Denny#16nego02	4_M_REBELLION3
rebel_in,90,62,3	duplicate(dummy_cloaked_npc)	Denny#16nego03	4_M_REBELLION3
rebel_in,90,66,3	duplicate(dummy_cloaked_npc)	Cyan#16nego01	4_F_REBELLION3
rebel_in,90,59,3	duplicate(dummy_cloaked_npc)	Cyan#16nego02	4_F_REBELLION3

rebel_in,87,68,5	duplicate(dummy_cloaked_npc)	#16negofire	CLEAR_NPC

rebel_in,88,61,5	script	Rookie#16nego02	4_M_ROOKIE,{
	if (checkweight(501,1) == 0) {
		mes "[Rookie]";
		mes "Why do you carry so many stuffs? Unless you want to give them away, make your bag lighter and come back.";
		close;
	}
	if ((MaxWeight - Weight) < 1000) {
		mes "[Rookie]";
		mes "Why do you carry so many stuffs? Unless you want to give them away, make your bag lighter and come back.";
		close;
	}
	if (terra_gloria_main < 16) {
		cutin "16loo_03.bmp",2;
		mes "[Rookie]";
		mes "If you value your life, don't stimulate the people here. Many of them are short-tempered.";
		next;
		mes "[Rookie]";
		mes "As you promised me, just drink a cup of tea and go back.";
		close3;
	}
	if (terra_gloria_main == 16) {
		if (isbegin_quest(14602) != 2 || terra_gloria_lady_part < 14) {
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "Did you meet all of them? They must be on the 2nd floor.";
			next;
			mes "[Rookie]";
			mes "Can you see the doors on the 2nd floor? Just visit four of them.";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "As long as you behave yourself... nothing bad will happen. Maybe...?";
			close3;
		}
		cutin "16loo_01.bmp",2;
		mes "[Rookie]";
		mes "Did you meet everyone on the 2nd floor? Great job. It must have been frightening.";
		next;
		mes "[Rookie]";
		mes "Although they are quite frightening... they are all good people.";
		next;
		mes "[Rookie]";
		mes "Don't you have to report to Lazy now?";
		close3;
	}
	.@playtime_14609 = checkquest(14609,PLAYTIME);
	switch( .@playtime_14609 ) {
	case -1:
		setarray .@quest_list[0],14603,14604,14605,14606,14607,14608;
		.@size = getarraysize( .@quest_list );
		for ( .@i = 0; .@i < .@size && isbegin_quest(.@quest_list[.@i]) == 0; .@i++ )
			continue;
		if (.@i != .@size)
			.@quest_id = .@quest_list[.@i];
		else {
			mes "[" + strcharinfo(0) + "]";
			mes "Rookie, how have you been?";
			next;
			cutin "16loo_02.bmp",2;
			mes "[Rookie]";
			mes "Adventurer, how was your business? Lazy told me that I could fully trust you.";
			npctalk "But I was still worried about sending you alone...", "", bc_self;
			sleep2 300;
			npctalk "Hey! The adventurer is a hero who saved a nation without anybody's help. Trust me!", "Lazy#16nego05", bc_self;
			next;
			mes "[Rookie]";
			mes "All of us are also eager and preparing many things. We should not disappoint that person~";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "I will do my best. Rookie, what have you been doing recently? How was your talk with Lazy?";
			next;
			cutin "16lei_01.bmp",0;
			mes "[Lazy]";
			mes "I'm still here. This fellow cannot leave immediately. Neither can I.";
			next;
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "What I've been doing recently?";
			next;
			.@quest_id = rand(14603,14605);
		}
		break;
	case 0:
	case 1:
		cutin "16loo_01.bmp",2;
		mes "[Rookie]";
		mes "Adventurer? I told you to take a good rest. Didn't I?";
		next;
		mes "[Rookie]";
		mes "At this time of the day, everyone is taking a rest. Please go back and rest.";
		next;
		cutin "16loo_03.bmp",2;
		mes "[Rookie]";
		mes "I'm afraid you will collapse from overwork. The health is the most important. Please take some rest.";
		close3;
	case 2:
		.@quest_id = rand(14606,14608);
		break;
	}
	switch( .@quest_id ) {
	case 14603:	// Denny
		switch( isbegin_quest(14603) ) {
		case 0:
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "Welcome, adventurer.";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "Although you didn't have to come here, you took the trouble. I mean... Thanks.";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "...You told me I had to come here, didn't you?";
			next;
			cloakoffnpc "Denny#16nego01", getcharid(0);
			mes "[Denny]";
			mes "Here come Denny again, the superstar!!!";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "Well, speak of the devil.";
			next;
			cloakonnpc "Denny#16nego01", getcharid(0);
			cloakoffnpc "Denny#16nego02", getcharid(0);
			mes "[Denny]";
			mes "Yikes! It's cold!";
			next;
			cutin "16loo_02.bmp",2;
			mes "[Rookie]";
			mes "My job is to prevent such a fool from doing silly things.";
			next;
			emotion ET_ANGER, getnpcid(0, "Denny#16nego02");
			mes "[Denny]";
			mes "Oh, come on! Who keeps putting the bucket here? Every time I take it away, somebody puts it here again! Who is it? Is it a pervert who enjoys watching other people's feet getting wet?";
			next;
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "It's me.";
			next;
			cloakonnpc "Denny#16nego02", getcharid(0);
			cloakoffnpc "Denny#16nego03", getcharid(0);
			mes "[Denny]";
			mes "Hey! How can you do this to me?";
			emotion ET_FRET, getnpcid(0, "Denny#16nego03");
			next;
			mes "[Rookie]";
			mes "As long as you ^0000cdwalk on the pipe^000000 instead of the stairs, it's your fault. The pipe is innocent. How can you do that to the pipe!";
			next;
			mes "[Denny]";
			mes "Look. There are four walls and four corners. So there must be four stairs. There are only two stairs and it's so inconvenient on the sides where there are no stairs!";
			emotion ET_ANGER, getnpcid(0, "Denny#16nego03");
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "Do not complain it to me. Talk to the one who designed this place.";
			next;
			mes "[Denny]";
			mes "Where is that person!";
			next;
			mes "[Rookie]";
			mes "He's dead. Not here.";
			next;
			emotion ET_CRY, getnpcid(0, "Denny#16nego03");
			mes "[Denny]";
			mes "...... You are doing this to me on purpose, aren't you? Why do you hate mu so much?";
			next;
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "Why do you think I put this bucket here?";
			next;
			emotion ET_HNG, getnpcid(0, "Denny#16nego03");
			mes "[Denny]";
			mes "Because you like to see my feet get wet.";
			next;
			mes "[Rookie]";
			mes "Hey!!! Are you saying I'm a pervert? You keep walking on the pipe every day with that huge boday. As a result, this skinny pipe is damaged! There! And there! Can you see the water leakage?";
			next;
			emotion ET_ANGER, getnpcid(0, "Rookie#16nego02");
			mes "[Denny]";
			mes "Oh, it's true.";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "I put the bucket there to receive the leaking water! Once the pipe is entirely broken, there will be a flood in this place! Don't you have the brain to think of it?";
			next;
			mes "[Denny]";
			mes "Well, I didn't think about it. Why don't you repair the pipe?";
			next;
			cutin "16loo_02.bmp",2;
			mes "[Rookie]";
			mes "That's why I've been waiting here!";
			next;
			mes "[Denny]";
			mes "Oh~ I see. Then I'll count on you! Make it solid! If you have enough time, please make something I can hold on.";
			next;
			cutin "16loo_01.bmp",2;
			emotion ET_OK, getnpcid(0, "Denny#16nego03");
			mes "[Rookie]";
			mes "No. I will just supervise it.";
			next;
			mes "[Denny]";
			mes "Then who's going to repair it? There's nobody here.";
			next;
			cutin "16loo_02.bmp",2;
			mes "[Rookie]";
			mes "Are you sure there's nobody here?";
			next;
			mes "[Denny]";
			mes "Adventurer?";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "No, I can't make our guest work.";
			next;
			mes "[Denny]";
			mes "Then?";
			next;
			cutin "16loo_02.bmp",2;
			mes "[Rookie]";
			mes "Do you know who it is?";
			next;
			mes "[Denny]";
			mes "Oh... me?";
			next;
			emotion ET_SCRATCH, getnpcid(0, "Denny#16nego03");
			mes "[Rookie]";
			mes "Exactly! As a reward, I will give you an opportunity to bring the parts to repair the pipe.";
			next;
			mes "[Denny]";
			mes "Well, I'm quite busy...";
			next;
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "I know you are off-duty today.";
			next;
			mes "[Denny]";
			mes "I'm so hungry and have to eat... I should take care of my kitty... And...";
			next;
			mes "[Rookie]";
			mes "You are the one who damaged it. So you must repair it.";
			next;
			mes "[Denny]";
			mes "Please, please! To repair this, we need some metal things. To get them, I have to enter the mine!!";
			next;
			cutin "16loo_02.bmp",2;
			mes "[Rookie]";
			mes "That's correct! Go get them now.";
			next;
			mes "[Denny]";
			mes "I'm afraid of the mine. Please don't send me to the mine. Please... Brother, please...";
			next;
			emotion ET_CRY, getnpcid(0, "Denny#16nego03");
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "Ouch, you are right. Then what shall we do...? We need to repair it as soon as possible.";
			next;
			mes "[Denny]";
			mes "What if someone else brings the parts and I repair it?";
			next;
			mes "[Denny]";
			mes "Please do this for me, adventurer.";
			emotion ET_SWEAT, playerattached();
			next;
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "Hey! How can you say that to the guest!";
			next;
			mes "[Denny]";
			mes "Hey, why! Adventurers normally carry about 30,000 metal things in their pockets! That's what I found from most adventurers!";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "Is that... true?";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "No, I never bring that many.";
			next;
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "Hey, look at that!";
			next;
			mes "[Denny]";
			mes "But you can get them so easily! Since we have only handled stuffs like guns, it's hard for us to get them. I've seen many adventures who get those items quite easily.";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "Is that... true?";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "No, it isn't...";
			next;
			mes "[Denny]";
			mes "Everyone says no to this question. But they still get them like a piece of cake! I saw them!";
			next;
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "Adventurer, I don't know whether it is true or not. But would you mind bringing them for us?";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "This pipe will be destroyed completely. Then there will be flood here. Since this place is a hideout, it will be revealed once it is flooded. Then... We will...";
			next;
			mes "[Denny]";
			mes "I'm so sad.";
			emotion ET_CRY, getnpcid(0, "Denny#16nego03");
			next;
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "We really have to repair it urgently. But this guy cannot go to the mine due to a certain reason. Also, I cannot go to the mine for other job. We will certainly compensate for your support.";
			next;
			mes "[Denny]";
			mes "Compensate? You never told me about it! Let me do it!";
			next;
			mes "[Rookie]";
			mes "So you're going to the mine?";
			next;
			mes "[Denny]";
			mes "No...";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "Now that you mention it... I will go. What do you need?";
			next;
			mes "[Rookie]";
			mes "We need ^0000cdfive Steel and 15 Old Steel Plate^000000.";
			next;
			mes "[Denny]";
			mes "And please ^0000cddefeat Scrap Heaters^000000. About 10 of them! This is my personal request!";
			next;
			if (select( "Accept.", "Reject." ) == 1) {
				mes "[" + strcharinfo(0) + "]";
				mes "It will be difficult for me. I'm sorry that you have to find someone else.";
				next;
				mes "[Denny]";
				mes "Oh, why!!!";
				next;
				mes "[Denny]";
				mes "I'm so sad!!!!!!";
				next;
				cloakonnpc "Denny#16nego03", getcharid(0);
				cutin "16loo_03.bmp",2;
				mes "[Rookie]";
				mes "Phew, he's so rude. We have no choice. I will look for someone else to do it. You don't have to worry about this.";
				close3;
			}
			mes "[" + strcharinfo(0) + "]";
			mes "I can do that.";
			next;
			mes "[Denny]";
			mes "Look! What did I say? Every adventurer is strong!";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "Hey, would you reject it in front of someone? Adventurer? You don't have to do this.";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "Welcome. See you soon.";
			next;
			mes "[Denny]";
			mes "Yes! We will be waiting!";
			next;
			cloakonnpc "Denny#16nego03", getcharid(0);
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "Be careful!";
			setquest 14603;// Pipe repair materials
			close3;
		case 1:
			cutin "16loo_02.bmp",2;
			mes "[Rookie]";
			mes "Great job, adventurer. I must have been hard for you to take that job all of a sudden.";
			next;
			cloakoffnpc "Denny#16nego01", getcharid(0);
			mes "[Denny]";
			mes "Here come Denny again, the superstar!!!";
			next;
			cloakonnpc "Denny#16nego01", getcharid(0);
			cloakoffnpc "Denny#16nego03", getcharid(0);
			mes "[Denny]";
			mes "Adventurer! Have you brought them all? Let me see.";
			next;
			if (countitem(999) < 5 || countitem(7319) < 15) {
				mes "[Denny]";
				mes "Well... As I told you, please bring ^0000cdfive Steel and 15 Old Steel Plate^000000. We need them to repair the pipe.";
				next;
				mes "[Denny]";
				mes "Adventurer, you know how to take shortcuts. I like it.";
				next;
				mes "[Denny]";
				mes "But I really need them. So please bring them to me. Will you?";
				next;
				mes "[Denny]";
				mes "Superstar Denny is going home now!";
				next;
				cloakonnpc "Denny#16nego03", getcharid(0);
				cutin "16loo_01.bmp",2;
				mes "[Rookie]";
				mes "What kind of superstar is that? After all, we are counting on you. He is more persistent than he looks. So I am saying this for you.";
				close3;
			}
			if (checkquest(14603,HUNTING) != 2) {
				mes "[Denny]";
				mes "You have brought the Steel and Old Steel Plates...";
				next;
				mes "[Denny]";
				mes "Apparently, you did not defeat ^0000cd10 Waste Stoves^000000. I cannot smell the iron.";
				next;
				mes "[Denny]";
				mes "Although it is my private request, I wish you could do it for me.";
				next;
				mes "[Denny]";
				mes "Superstar Denny is going home now!";
				next;
				cloakonnpc "Denny#16nego03", getcharid(0);
				cutin "16loo_01.bmp",2;
				mes "[Rookie]";
				mes "What kind of superstar is that? After all, we are counting on you. He is more persistent than he looks. So I am saying this for you.";
				close3;
			}
			mes "[Denny]";
			mes "Wow~~~ Great! You never disappoint me!";
			next;
			mes "[Denny]";
			mes "Let me spread your legendary story around the entire continent! Everyone needs to know that!";
			next;
			mes "[Denny]";
			mes "Then I will go and prepare for repairing! I will count on you again!";
			next;
			cloakonnpc "Denny#16nego03", getcharid(0);
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "He went back only after saying what he wants. How spoiled! But I didn't educate him like that.";
			next;
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "Please take a good rest today. We will count on you again tomorrow. You must be exhausted.";
			erasequest 14603;// Pipe repair materials
			delitem 999,5;// Steel
			delitem 7319,15;// Old_Steel_Plate
			setquest 14609;// Quiet time
			getitem 25155,3;// Swz_Honor_Token
			getexp 200000,200000;
			close3;
		case 2:
			end;
		}
	case 14604:	// Cyan
		switch( isbegin_quest(14604) ) {
		case 0:
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "Welcome, adventurer.";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "Although you didn't have to come here, you took the trouble. I mean... Thanks.";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "...You told me I had to come here, didn't you?";
			next;
			cloakoffnpc "Cyan#16nego02", getcharid(0);
			mes "[Cyan]";
			mes "Yikes, it's so cold!";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "I have to listen to complaints of all the people. That's a problem.";
			next;
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "What's so cold? It's the same as yesterday";
			next;
			mes "[Cyan]";
			mes "Hey, my feeling is so accurate. It's colder today. Look. You put on more clothes.";
			next;
			mes "[Rookie]";
			mes "Oh! When did I get dressed like this!";
			emotion ET_HUK;
			next;
			cloakonnpc "Cyan#16nego02", getcharid(0);
			cloakoffnpc "Cyan#16nego01", getcharid(0);
			mes "[Cyan]";
			mes "Let's see... I thought so. The fireplace is weaker now. No firewood?";
			next;
			mes "[Rookie]";
			mes "Well, it's true.";
			next;
			cloakoffnpc "Cyan#16nego02", getcharid(0);
			cloakonnpc "Cyan#16nego01", getcharid(0);
			mes "[Cyan]";
			mes "Once this last firewood is burnt out, I will die... Last... firewood...";
			next;
			cutin "16loo_02.bmp",2;
			mes "[Rookie]";
			mes "Who told you that you'd die? You're so healthy!";
			next;
			emotion ET_ANGER;
			mes "[Cyan]";
			mes "Come on, Just echo my words while I'm sentimental!!";
			emotion ET_FRET;
			next;
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "Oh, don't die. If you die, who's going to take care of those 12 kids. Please don't die.";
			next;
			mes "[Cyan]";
			mes "Hey! Who are my kids! And why do I have to feed them? What happened?";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "Your spouse... died during a mission.";
			next;
			mes "[Cyan]";
			mes "My god! So who's my spouse?";
			next;
			cutin "16loo_02.bmp",2;
			mes "[Rookie]";
			mes "Well... The Teddy bear?";
			next;
			mes "[Cyan]";
			mes "Oops! No! Let's say this adventurer is my spouse.";
			next;
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "Hey! That's rude!";
			next;
			mes "[Cyan]";
			mes "Adventurer~ Aren't isn't it cold now?";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "Well. Not really...";
			next;
			mes "[Cyan]";
			mes "Oh, this jacket looks good. That's why you don't feel cold. We always receive cheap clothes so we can easily fell the cold.";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "The adventurer is busy now. What are you talking about?";
			next;
			mes "[Cyan]";
			mes "Listen to me and look around here. This place is a cold building made of iron and stone.";
			next;
			mes "[Cyan]";
			mes "And since we are in a place located nearly underground, it's always cold and damp. You know the feeling? The cold and damp air kills us.";
			next;
			mes "[Cyan]";
			mes "That's why we always make a fire in the fireplace to warm the air, boil the tea and bake some sweet potatoes...";
			next;
			mes "[Cyan]";
			mes "In any case, that fireplace is a blessing that grants us so many things. But the fire is about to go out due to the lack of firewood.";
			next;
			mes "[Cyan]";
			mes "Since it's too cold, I can't go out. So would you please bring me some firewood, my dear?";
			emotion ET_THROB;
			next;
			cutin "16loo_01.bmp",2;
			emotion ET_PROFUSELY_SWEAT, playerattached();
			mes "[Rookie]";
			mes "Hey! You're being rude to the adventurer! Just distinguish the reality and fantasy!";
			next;
			mes "[Cyan]";
			mes "Well, I distinguish them too well. Rather than living in this cold stony room, I would like to jump into the river!";
			next;
			if (select( "Do you need the fuel?", "I have to leave now." ) == 2) {
				mes "[" + strcharinfo(0) + "]";
				mes "Can I leave now?";
				next;
				mes "[Cyan]";
				mes "My dear, are you leaving me? I'm suffering from the cold weather!";
				next;
				emotion ET_CRY;
				mes "[Rookie]";
				mes "Adventurer, don't worry about Cyon. I will take care of this fellow.";
				next;
				mes "[Cyan]";
				mes "My dear, come back if you miss me!";
				next;
				cloakonnpc "Cyan#16nego02", getcharid(0);
				mes "[" + strcharinfo(0) + "]";
				mes "Yes. I will.";
				close3;
			}
			mes "[" + strcharinfo(0) + "]";
			mes "I see! I got it! So you won't commit a suicide if I bring the fuel?";
			next;
			mes "[Cyan]";
			mes "Oh dear, you are so kind and lovely.";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "You've dont it again. I've gotta hand it to you.";
			next;
			emotion ET_SWEAT;
			mes "[Cyan]";
			mes "I need some Burnt Trees, about 10 of them. Since they are well-dried, they will be burnt well. And there's better coal to keep the fire long. Bring some coal please, three of them.";
			next;
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "Coal? Why? It leaves too much ash.";
			next;
			mes "[Cyan]";
			mes "To me, the efficiency is the most important! The warmest is the best!";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "I see. Please stop fighting. I will bring them. 10 Burnt Tree and three coal. Right?";
			next;
			mes "[Cyan]";
			mes "Oops! And defeat 10 Waste Stoves!";
			next;
			mes "[Rookie]";
			mes "Why?";
			next;
			mes "[Cyan]";
			mes "You need to defeat them to get coal!";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "Come on. The adventurer knows it already.";
			next;
			mes "[Cyan]";
			mes "Be careful, my dear~";
			next;
			cutin "16loo_01.bmp",2;
			cloakonnpc "Cyan#16nego02", getcharid(0);
			emotion ET_PROFUSELY_SWEAT, playerattached();
			mes "[Rookie]";
			mes "Phew... We will count on you anyway. Regardless of what that fellow told you, everyone will get a cold once the fire goes out.";
			setquest .@quest_id;
			close3;
		case 1:
			cutin "16loo_02.bmp",2;
			mes "[Rookie]";
			mes "Adventurer, seems like you gave so much effort!";
			next;
			cloakoffnpc "Cyan#16nego02", getcharid(0);
			mes "[Cyan]";
			mes "Welcome back, dear!!! Have you got them all for me? Right?";
			next;
			if (countitem(7068) < 10 || countitem(1003) < 3) {
				mes "[Cyan]";
				mes "Oh, it's not there. And it's not enough... Perhaps you forgot what we told you to bring?";
				next;
				mes "[Cyan]";
				mes "10 Burnt Tree and three coal. I feel so cold. See you, dear.";
				next;
				mes "[Cyan]";
				mes "And don't forget to defeat about 10 Waste Stoves! I will be sleeping in by bed. It's so cold!";
				next;
				cloakonnpc "Cyan#16nego02", getcharid(0);
				cutin "16loo_03.bmp",2;
				mes "[Rookie]";
				mes "That's so spoiled. Adventurer, We will count on you again. If you don't bring them, Cyan will pester you all day long.";
				close3;
			}
			if (checkquest(14604,HUNTING) != 2) {
				mes "[Cyan]";
				mes "Oh, you have the firewood... What about Waste Stoves? You didn't defeat them?";
				next;
				mes "[Cyan]";
				mes "You must get them, dear. Waste Stoves release the fine firewood only after they are shaken about 1,000 times.";
				next;
				mes "[Cyan]";
				mes "Defeat ^0000cd10 Waste Stoves^000000. I will be sleeping in by bed. It's so cold!";
				next;
				cloakonnpc "Cyan#16nego02", getcharid(0);
				cutin "16loo_03.bmp",2;
				mes "[Rookie]";
				mes "That's so spoiled. Adventurer, We will count on you again. If you don't bring them, Cyan will pester you all day long.";
				close3;
			}
			mes "[Cyan]";
			mes "Wow! You've brought all of them! My dear, you are so reliable!";
			next;
			cloakoffnpc "#16negofire", getcharid(0);
			mes "[Cyan]";
			mes "Okay. Put the wood and coal in... Fire!!!!!!!!";
			specialeffect EF_FIREWALL, AREA, "#16negofire";
			next;
			mes "[Cyan]";
			mes "Oh, it's warm now. As warm as your love~";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "Could you please stop saying 'dear'? You are repeating my joke too much.";
			next;
			mes "[Cyan]";
			mes "Hey! You started!";
			next;
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "It was a joke. Joke! Joke! Joke!";
			next;
			mes "[Cyan]";
			mes "Anyway, I like the adventurer! I won't let the adventurer go! Never!";
			next;
			mes "[Cyan]";
			mes "So my dear, will you come back tomorrow?";
			next;
			mes "[Rookie]";
			mes "Not again!!!";
			next;
			mes "[Cyan]";
			mes "These are only enough for today. Of course we must make a fire every single day!";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "Oh, I see. Stop fighting. I will come back tomorrow if I remember.";
			next;
			mes "[Cyan]";
			mes "My dear, you are so kind! But I may not be here tomorrow for a mission. Please don't be disappointed!";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "I don't think the adventurer will ever be disappointed.";
			next;
			mes "[Cyan]";
			mes "Now I will go in and sleep. See you!";
			next;
			cloakonnpc "#16negofire", getcharid(0);
			cloakonnpc "Cyan#16nego02", getcharid(0);
			mes "[Rookie]";
			mes "Phew, I am exhausted as well. Please take a good rest now and come back after the ^0000cddawn^000000.";
			erasequest 14604;// National Fuel Solar Fuel
			delitem 7068,10;// Burn_Tree
			delitem 1003,3;// Coal
			setquest 14609;// Quiet time
			getitem 25155,3;// Swz_Honor_Token
			getexp 200000,200000;
			close3;
		case 2:
			end;
		}
	case 14605:	// Magenta
		switch( isbegin_quest(14605) ) {
		case 0:
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "Welcome, adventurer.";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "Although you didn't have to come here, you took the trouble. I mean... Thanks.";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "... You told me I had to come here, didn't you?";
			next;
			cloakoffnpc "Magenta#16nego01", getcharid(0);
			mes "[Magenta]";
			mes "Twinkle twinkle little star~ My shooting star, you are still beautiful.";
			next;
			cutin "16loo_02.bmp",2;
			mes "[Rookie]";
			mes "It's to make those kids quiet.";
			next;
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "Are you fumbling it again! It might run down!";
			next;
			mes "[Magenta]";
			mes "It was you who told me to possess it all the time!";
			next;
			cutin "16loo_02.bmp",2;
			mes "[Rookie]";
			mes "I didn't mean to wash it every hour! You're so stubborn!";
			next;
			mes "[Magenta]";
			mes "By the way, that's not important. I think there is something terribly wrong with my shooting star.";
			next;
			emotion ET_HUK;
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "What? Flaw? Talk to the master there...";
			next;
			mes "[Magenta]";
			mes "No. That's not the flaw I am talking about. Although its name is Shooting Star, it doesn't twinkle at all.";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "What kind of flaw is that? It doesn't matter how it looks! The performance more important!";
			next;
			mes "[Magenta]";
			mes "Oh, Lucky... Lucky, Lucky! Although you live in a place like this, your sense has to be youthful. That's the way you stay young. It's as important as being physically healthy.";
			next;
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "Why is it so important?";
			next;
			mes "[Magenta]";
			mes "Okay. Here's an item with a good performance and dull outward. And here's another one with a good performance and good outward. Which one would you choose?";
			next;
			mes "[Rookie]";
			mes "I like something dull.";
			next;
			mes "[Magenta]";
			mes "Look at your taste... You really don't know the trend, do you?";
			next;
			mes "[Rookie]";
			mes "Regardless of the trend, it's my constant taste.";
			next;
			emotion ET_OK, getnpcid(0, "Magenta#16nego01");
			mes "[Magenta]";
			mes "Yes, I see. I respect your taste. Then please respect my taste too.";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "... Right.";
			next;
			mes "[Magenta]";
			mes "Oh, what can I do? This part has to be thin... Right! I want to add some glitters to ammunitions.";
			next;
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "Why do you need them for ammunitions?";
			next;
			mes "[Magenta]";
			mes "Since it's Shooting Star, it must twinkle! The Shooting Start that generates its last light by burning itself! The glitters will be spread... Just by imagining it, it's so beautiful.";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "If you do that, you will get tracked.";
			next;
			emotion ET_SPARK, getnpcid(0, "Magenta#16nego01");
			mes "[Magenta]";
			mes "It's okay. I can publicize myself through the entire Continent. Let me grinder something hard and put it...";
			next;
			cutin "16loo_02.bmp",2;
			mes "[Rookie]";
			mes "Well. Do as you wish. If you like converting so much, why don't you become an assistant of the master there?";
			next;
			mes "[Magenta]";
			mes "I prefer being on active duty. By the way... How do I get them?";
			next;
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "What are you talking about? You have to go out and get them yourself.";
			next;
			mes "[Magenta]";
			mes "No. I have these many stuffs to look after. Besides, I don't have enough time. Oh, adventurer! Wait please! Talk to me for a minute!";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "Me?";
			next;
			mes "[Magenta]";
			mes "Yes! Yes! I really need your help now! I'm glad you are here so that I can ask you for a favor.";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "May I ask you what it is...?";
			next;
			mes "[Magenta]";
			mes "Do you have any hard and glittering stone?";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "I don't have any.";
			next;
			mes "[Magenta]";
			mes "So it was a false rumor that adventurers bring about 30,000 gems in their bags.";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "I don't know where you heard that rumor from.";
			next;
			mes "[Magenta]";
			mes "My friend told me. Hmm.. What can I do? Can I ask you for a favor, adventurer?";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "Oh, you shouldn't be asking such a thing. The adventurer is our guest.";
			next;
			if (select( "What is it?", "I'm quite busy..." ) == 2) {
				mes "[" + strcharinfo(0) + "]";
				mes "I'm quite busy...";
				next;
				cutin "16loo_01.bmp",2;
				mes "[Rookie]";
				mes "The adventure is busy! You shouldn't be asking such a thing!";
				next;
				mes "[Magenta]";
				mes "I see... Please come back if you remember it later on. I will be waiting for you. Bye... then.";
				next;
				cloakonnpc "Magenta#16nego01", getcharid(0);
				mes "[Rookie]";
				mes "See you later. Be careful.";
				close3;
			}
			mes "[" + strcharinfo(0) + "]";
			mes "That's all right. What would you like to request?";
			next;
			mes "[Magenta]";
			mes "So it's true that adventurers are kind!";
			next;
			mes "[Magenta]";
			mes "I need some glittering stuffs to decorate my Shooting Star. Let me see... I need pieces of crystal and black crystal that twinkle transparently.";
			next;
			mes "[Magenta]";
			mes "I wish I can go by myself and pick up good crystals one by one. But since I have to look after these stuffs, I cannot. I need so much time to clean and assemble them... Phew...";
			next;
			mes "[Magenta]";
			mes "Of course I will compensate you for your support. Please help me.";
			next;
			mes "[Magenta]";
			mes "Please bring ^0000cd 10 pieces of crystal and 10 pieces of black crystal^000000. You can get them by defeating ^0000cdObsidians and Minerals^000000. Be careful!";
			next;
			cloakonnpc "Magenta#16nego01", getcharid(0);
			mes "[Rookie]";
			mes "Phew. He's so loud. I will count on you, adventurer.";
			setquest 14605;// Sparkling things
			close3;
		case 1:
		case 2:
			cutin "16loo_02.bmp",2;
			mes "[Rookie]";
			mes "Welcome back, adventurer. I know you are suffering from the weird guy.";
			next;
			cloakoffnpc "Magenta#16nego01", getcharid(0);
			mes "[Magenta]";
			mes "You've come! Have you brought everything I asked for? Let me see!";
			next;
			if (countitem(7321) < 10 || countitem(7315) < 10) {
				mes "[Magenta]";
				mes "Ah!!!! Not enough quantity!!! Adventurer, I thank you for helping us. But this is not enough!";
				next;
				mes "[Magenta]";
				mes "We need ^0000cd10 pieces of crystal and 10 pieces of black crystal^000000. Please don't forget it this time!";
				next;
				mes "[Magenta]";
				mes "You can get them from ^0000cdObsidians and Mineral^000000. So defeat them. I have to go now. See you!";
				next;
				cloakonnpc "Magenta#16nego01", getcharid(0);
				cutin "16loo_03.bmp",2;
				mes "[Rookie]";
				mes "Phew, so complicated. We will count on you. That fellow is so persistent.";
				close3;
			}
			if (checkquest(14605,HUNTING) != 2) {
				mes "[Magenta]";
				mes "Well, well.... You've brought the pieces of crystal... But you didn't defeat enough Obsidians and Minerals.";
				next;
				mes "[Magenta]";
				mes "We need a special vibration generated when Obsidians and Minerals die. That vibration enables the crystal to get broken into smaller pieces...";
				next;
				mes "[Magenta]";
				mes "Sorry to request you again, adventurer. Please defeat ^0000cd10 Obsidians and 10 Minerals^000000. I will count on you.";
				next;
				cloakonnpc "Magenta#16nego01", getcharid(0);
				cutin "16loo_03.bmp",2;
				mes "[Rookie]";
				mes "Phew, so complicated. We will count on you. That fellow is so persistent.";
				close3;
			}
			mes "[Magenta]";
			mes "Oh, you brought them all!";
			next;
			mes "[Magenta]";
			mes "So it is true that adventurers are so talented. I was a bit worried when I was requesting.";
			next;
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "Where did you pick up that story?";
			next;
			mes "[Magenta]";
			mes "Pick up that story? Are you saying the adventurer is not talented? After seeing with your eyes?";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "No, I mean...";
			next;
			mes "[Magenta]";
			mes "Sorry. Lucky has so many things to do... I apologize on behalf of him.";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "No. It's okay.";
			next;
			mes "[Magenta]";
			mes "By the way, it's so beautiful, What a brilliant light... I would like to start working now.";
			next;
			mes "[Magenta]";
			mes "Oh, come to think of it... Adventurer! Can you bring them tomorrow? They are so beautiful and I would like to try everything.";
			next;
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "The adventurer is busy.";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "I will come back if I remember it.";
			next;
			mes "[Magenta]";
			mes "I'm so glad!!! But I might be outside for a mission. In that case, don't panic and come back next time.";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "I will.";
			next;
			mes "[Magenta]";
			mes "Thank you so much! I should start working. Be careful!";
			next;
			cloakonnpc "Magenta#16nego01", getcharid(0);
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "That fellow is really loud, isn't he? I apologize on behalf of him. Please take a good rest and come back ^0000cdafter the dawn^000000.";
			erasequest 14605;// Sparkling things
			delitem 7321,10;// Fragment_Of_Crystal
			delitem 7315,10;// Dark_Crystal_Fragment
			setquest 14609;// Quiet time
			getitem 25155,3;// Swz_Honor_Token
			getexp 200000,200000;
			close3;
		}
	case 14606:	// Denny
		switch( isbegin_quest(14606) ) {
		case 0:
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "Welcome, adventurer.";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "Although you didn't have to come here, you took the trouble. I mean... Thanks.";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "...You told me I had to come here, didn't you?";
			next;
			cloakoffnpc "Denny#16nego01", getcharid(0);
			mes "[Denny]";
			mes "Here come Denny again, the superstar!!!";
			next;
			mes "[Rookie]";
			mes "Can't you please skip that performance?";
			next;
			mes "[Denny]";
			mes "Adventurer, did you rest well? I rested well after completing the repair. I know you are not curious about it, but I'm telling you before you ask me.";
			next;
			mes "[Denny]";
			mes "But there's still some water leakage in the pipe. Once I repair one of them, there's another water leakage in another pipe.. I wish we could replace them with brand new pipes.";
			next;
			mes "[Denny]";
			mes "That's why need Steel and Old Steel Plate.";
			next;
			mes "[Denny]";
			mes "Please defeat the ^0000cdScrap Heater^000000 and bring ^0000cdfive Steel and 15 Old Steel Plate^000000!";
			next;
			mes "[Denny]";
			mes "Cheer up!";
			next;
			cloakonnpc "Denny#16nego03", getcharid(0);
			mes "[Rookie]";
			mes "Ouch, I'm so busy. Sorry to request you again. Go, adventurer!";
			erasequest 14609;// Quiet time
			setquest 14606;// Pipe repair materials
			close3;
		case 1:
		case 2:
			cutin "16loo_02.bmp",2;
			mes "[Rookie]";
			mes "Welcome back, adventurer. Thank you for your support. Our silly kid gave you some trouble.";
			next;
			cloakoffnpc "Denny#16nego01", getcharid(0);
			mes "[Denny]";
			mes "The adventurer is here?";
			next;
			mes "[Denny]";
			mes "Here come Denny again, the superstar!!!";
			next;
			cloakonnpc "Denny#16nego01", getcharid(0);
			cloakoffnpc "Denny#16nego03", getcharid(0);
			mes "[Denny]";
			mes "Adventurer! Have you brought them all? Let me see.";
			next;
			if (countitem(999) < 5 || countitem(7319) < 15) {
				mes "[Denny]";
				mes "Well... As I told you, please bring ^0000cdfive Steel and 15 Old Steel Plate^000000. We need them to repair the pipe.";
				next;
				mes "[Denny]";
				mes "Adventurer, you know how to take shortcuts. I like it.";
				next;
				mes "[Denny]";
				mes "But I really need them. So please bring them to me. Will you?";
				next;
				mes "[Denny]";
				mes "Superstar Denny is going home now!";
				next;
				cloakonnpc "Denny#16nego03", getcharid(0);
				cutin "16loo_03.bmp",2;
				mes "[Rookie]";
				mes "What a spoiled kid. I apologize on behalf of him. We will count on you for the rest items.";
				close3;
			}
			if (checkquest(14606,HUNTING) != 2) {
				mes "[Denny]";
				mes "You have brought the Steel and Old Steel Plates...";
				next;
				mes "[Denny]";
				mes "Apparently, you did not defeat ^0000cd10 Waste Stoves^000000. I cannot smell the iron.";
				next;
				mes "[Denny]";
				mes "Although it is my private request, I wish you could do it for me.";
				next;
				mes "[Denny]";
				mes "Superstar Denny is going home now!";
				next;
				cloakonnpc "Denny#16nego03", getcharid(0);
				cutin "16loo_03.bmp",2;
				mes "[Rookie]";
				mes "What a spoiled kid. I apologize on behalf of him. We will count on you for the rest items.";
				close3;
			}
			mes "[Denny]";
			mes "Wow~~~ Great! You never disappoint me!";
			next;
			mes "[Denny]";
			mes "Let me spread your legendary story around the entire continent! Everyone needs to know that!";
			next;
			mes "[Denny]";
			mes "Then I will go and prepare for repairing! I will count on you again!";
			next;
			cloakonnpc "Denny#16nego03", getcharid(0);
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "He went back only after saying what he wants. How spoiled! But I didn't educate him like that.";
			next;
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "Please take a good rest today. We will count on you again tomorrow. You must be exhausted.";
			erasequest 14606;// Pipe repair materials
			delitem 999,5;// Steel
			delitem 7319,15;// Old_Steel_Plate
			setquest 14609;// Quiet time
			getitem 25155,3;// Swz_Honor_Token
			getexp 200000,200000;
			close3;
		}
	case 14607:	// Cyan
		switch( isbegin_quest(14607) ) {
		case 0:
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "Welcome, adventurer.";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "Although you didn't have to come here, you took the trouble. I mean... Thanks.";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "...You told me I had to come here, didn't you?";
			next;
			cloakoffnpc "Cyan#16nego02", getcharid(0);
			mes "[Cyan]";
			mes "Yikes, it's so cold!";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "I have to listen to complaints of all the people. That's a problem.";
			next;
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "What's so cold? It's the same as yesterday";
			next;
			mes "[Cyan]";
			mes "Hey, my feeling is so accurate. It's colder today. Look. You put on more clothes.";
			next;
			mes "[Rookie]";
			mes "Oh! When did I get dressed like this!";
			emotion ET_HUK;
			next;
			cloakonnpc "Cyan#16nego02", getcharid(0);
			cloakoffnpc "Cyan#16nego01", getcharid(0);
			mes "[Cyan]";
			mes "Let's see... I thought so. The fireplace is weaker now. No firewood?";
			next;
			mes "[Rookie]";
			mes "Well, it's true.";
			next;
			cloakoffnpc "Cyan#16nego02", getcharid(0);
			cloakonnpc "Cyan#16nego01", getcharid(0);
			mes "[Cyan]";
			mes "Once this last firewood is burnt out, I will die... Last... firewood...";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "Who told you that you'd die? You're so healthy!";
			next;
			emotion ET_ANGER;
			mes "[Cyan]";
			mes "Come on, Just echo my words while I'm sentimental!!";
			next;
			cutin "16loo_01.bmp",2;
			emotion ET_FRET, getnpcid(0, "Cyan#16nego02");
			mes "[Rookie]";
			mes "Oh, don't die. If you die, who's going to take care of those 12 kids. Please don't die.";
			next;
			mes "[Cyan]";
			mes "Hey! Who are my kids! And why do I have to feed them? What happened?";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "Your spouse... died during a mission.";
			next;
			mes "[Cyan]";
			mes "My god! So who's my spouse?";
			next;
			cutin "16loo_02.bmp",2;
			mes "[Rookie]";
			mes "Well... The Teddy bear?";
			next;
			mes "[Cyan]";
			mes "Oops! No! Let's say this adventurer is my spouse.";
			next;
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "Hey! That's rude!";
			next;
			mes "[Cyan]";
			mes "Adventurer~ Aren't isn't it cold now?";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "Well. Not really...";
			next;
			mes "[Cyan]";
			mes "Oh, this jacket looks good. That's why you don't feel cold. We always receive cheap clothes so we can easily fell the cold.";
			next;
			mes "[Rookie]";
			mes "The adventurer is busy now. What are you talking about?";
			next;
			mes "[Cyan]";
			mes "Listen to me and look around here. This place is a cold building made of iron and stone.";
			next;
			mes "[Cyan]";
			mes "And since we are in a place located nearly underground, it's always cold and damp. You know the feeling? The cold and damp air kills us.";
			next;
			mes "[Cyan]";
			mes "That's why we always make a fire in the fireplace to warm the air, boil the tea and bake some sweet potatoes...";
			next;
			mes "[Cyan]";
			mes "In any case, that fireplace is a blessing that grants us so many things. But the fire is about to go out due to the lack of firewood.";
			next;
			mes "[Cyan]";
			mes "Since it's too cold, I can't go out. So would you please bring me some firewood, my dear?";
			emotion ET_THROB, getnpcid(0, "Cyan#16nego02");
			next;
			emotion ET_SWEAT, playerattached();
			mes "[Rookie]";
			mes "Hey! You're being rude to the adventurer! Just distinguish the reality and fantasy!";
			next;
			mes "[Cyan]";
			mes "Well, I distinguish them too well. Rather than living in this cold stony room, I would like to jump into the river!";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "I see! I got it! So you won't commit a suicide if I bring the fuel?";
			next;
			mes "[Cyan]";
			mes "Oh dear, you are so kind and lovely.";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "You've dont it again. I've gotta hand it to you.";
			emotion ET_SWEAT;
			next;
			mes "[Cyan]";
			mes "I need some Burnt Tree. About 10 of them. Since they are well-dried, they will be burnt well. And there's better than coal to keep the fire long. Bring some coal please. Three of them.";
			next;
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "Coal? Why? It leaves too much ash.";
			next;
			mes "[Cyan]";
			mes "To me, the efficiency is the most important! The warmest is the best!";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "I see. Please stop fighting. I will bring them. ^0000cd10 Burnt Tree and three coal^000000. Right?";
			next;
			mes "[Cyan]";
			mes "Oops! And defeat ^0000cd10 Waste Stoves^000000!";
			next;
			mes "[Rookie]";
			mes "Why?";
			next;
			mes "[Cyan]";
			mes "You need to defeat them to get coal!";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "Come on. The adventurer knows it already.";
			next;
			mes "[Cyan]";
			mes "Be careful, my dear~";
			next;
			cloakonnpc "Cyan#16nego02", getcharid(0);
			emotion ET_SWEAT, playerattached();
			mes "[Rookie]";
			mes "Phew... We will count on you anyway. Regardless of what that fellow told you, everyone will get a cold once the fire goes out.";
			erasequest 14609;// Quiet time
			setquest 14607;// National Fuel Solar Fuel
			close3;
		case 1:
		case 2:
			cutin "16loo_02.bmp",2;
			mes "[Rookie]";
			mes "Welcome back, adventurer. Thank you for your support. Our silly kid gave you some trouble.";
			next;
			mes "[Cyan]";
			mes "What? Adventurer? My dear?";
			next;
			cloakoffnpc "Cyan#16nego02", getcharid(0);
			mes "[Cyan]";
			mes "My dear~~~ You're late! I've been waiting for you for a long time! Have you brought the right one again? I mean, the firewood.";
			next;
			if (countitem(7068) < 10 || countitem(1003) < 3) {
				mes "[Cyan]";
				mes "Oh, it's not there. And it's not enough... Perhaps you forgot what we told you to bring?";
				next;
				mes "[Cyan]";
				mes "10 Burnt Tree and three coal. I feel so cold. See you, dear.";
				next;
				mes "[Cyan]";
				mes "And don't forget to defeat about 10 Waste Stoves! I will be sleeping in by bed. It's so cold!";
				next;
				cloakonnpc "Cyan#16nego02", getcharid(0);
				cutin "16loo_03.bmp",2;
				mes "[Rookie]";
				mes "Sorry. Some of our kids are spoiled... We will count on you.";
				close3;
			}
			if (checkquest(14607,HUNTING) != 2) {
				mes "[Cyan]";
				mes "Oh, you have the firewood... What about Waste Stoves? You didn't defeat them?";
				next;
				mes "[Cyan]";
				mes "You must get them, dear. Waste Stoves release the fine firewood only after they are shaken about 1,000 times.";
				next;
				mes "[Cyan]";
				mes "Defeat ^0000cd10 Waste Stoves^000000. I will be sleeping in by bed. It's so cold!";
				next;
				cloakonnpc "Cyan#16nego02", getcharid(0);
				cutin "16loo_03.bmp",2;
				mes "[Rookie]";
				mes "Sorry. Some of our kids are spoiled... We will count on you.";
				close3;
			}
			mes "[Cyan]";
			mes "Burnt Tree and coal, you have everything! That's why I like you, dear!";
			next;
			cloakonnpc "Cyan#16nego02", getcharid(0);
			cloakoffnpc "Cyan#16nego01", getcharid(0);
			cloakoffnpc "#16negofire", getcharid(0);
			mes "[Cyan]";
			mes "Okay. Put the wood and coal in... Fire!!!!!!!!";
			specialeffect EF_FIREWALL, AREA, "#16negofire";
			next;
			mes "[Cyan]";
			mes "Oh, it's warm now. As warm as your love~";
			next;
			cloakonnpc "Cyan#16nego01", getcharid(0);
			cloakoffnpc "Cyan#16nego02", getcharid(0);
			cloakonnpc "#16negofire", getcharid(0);
			next;
			mes "[Cyan]";
			mes "Thank you so much! I will count you again later on! MY DEAR!";
			next;
			cloakonnpc "Cyan#16nego02", getcharid(0);
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "There he leaves again without saying goodbye to you. Sorry about him. Some of our kids are spoiled. But not every Rebellion is like that.";
			next;
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "Please take a good rest today. We will count on you again tomorrow.";
			erasequest 14607;// National Fuel Solar Fuel
			delitem 7068,10;// Burn_Tree
			delitem 1003,3;// Coal
			setquest 14609;// Quiet time
			getitem 25155,3;// Swz_Honor_Token
			getexp 200000,200000;
			close3;
		}
	case 14608:	// Magenta
		switch( isbegin_quest(14608) ) {
		case 0:
			cutin "16loo_01.bmp",2;
			mes "[Rookie]";
			mes "Welcome, adventurer.";
			next;
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "Although you didn't have to come here, you took the trouble. I mean... Thanks.";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "...You told me I had to come here, didn't you?";
			next;
			cloakoffnpc "Magenta#16nego01", getcharid(0);
			mes "[Magenta]";
			mes "Wait!!! Adventurer! Please talk to me!";
			next;
			mes "[Magenta]";
			mes "I would be so sad if you leave without seeing me. I thought of a perfect design last night.";
			next;
			mes "[Magenta]";
			mes "And I made various stuffs and now I ran out of crystals... Would you mind if I ask you to get them?";
			next;
			mes "[Magenta]";
			mes "Defeat ^0000cdObsidian and Mineral^000000. Then bring me ^0000cd10 pieces of crystal and 10 pieces of black crystal^000000 please.";
			next;
			mes "[Magenta]";
			mes "Eee you later! I have to go and arrange the stuffs I made. I will count on you!";
			next;
			cloakonnpc "Magenta#16nego01", getcharid(0);
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "Ouch, Sorry to request you again. It must be tough for you now.";
			erasequest 14609;// Quiet time
			setquest 14608;// Sparkling things
			close3;
		case 1:
		case 2:
			cutin "16loo_02.bmp",2;
			mes "[Rookie]";
			mes "Welcome back, adventurer. Thank you for your support. That flake gave you some trouble.";
			next;
			cloakoffnpc "Magenta#16nego01", getcharid(0);
			mes "[Magenta]";
			mes "You've come! Have you brought everything I asked for? Let me see!";
			next;
			if (countitem(7321) < 10 || countitem(7315) < 10) {
				mes "[Magenta]";
				mes "Ah!!!! Not enough quantity!!! Adventurer, I thank you for helping us. But this is not enough!";
				next;
				mes "[Magenta]";
				mes "We need ^0000cd10 pieces of crystal and 10 pieces of black crystal^000000. Please don't forget it this time!";
				next;
				mes "[Magenta]";
				mes "You can get them from ^0000cdObsidians and Mineral^000000. So defeat them. I have to go now. See you!";
				next;
				cloakonnpc "Magenta#16nego01", getcharid(0);
				cutin "16loo_03.bmp",2;
				mes "[Rookie]";
				mes "Sorry. Some of our kids are spoiled... We will count on you.";
				close3;
			}
			if (checkquest(14608,HUNTING) != 2) {
				mes "[Magenta]";
				mes "Well, well.... You've brought the pieces of crystal... But you didn't defeat enough Obsidians and Minerals.";
				next;
				mes "[Magenta]";
				mes "We need a special vibration generated when Obsidians and Minerals die. That vibration enables the crystal to get broken into smaller pieces...";
				next;
				mes "[Magenta]";
				mes "Sorry to request you again, adventurer. Please defeat ^0000cd10 Obsidians and 10 Minerals^000000. I will count on you.";
				next;
				cloakonnpc "Magenta#16nego01", getcharid(0);
				cutin "16loo_03.bmp",2;
				mes "[Rookie]";
				mes "Sorry. Some of our kids are spoiled... We will count on you.";
				close3;
			}
			mes "[Magenta]";
			mes "You brought them all again!!! I'm beginning to respect you!";
			next;
			mes "[Magenta]";
			mes "Thank you so much! Can I ask you for a favor again next time? This is great!!!";
			next;
			cloakonnpc "Magenta#16nego01", getcharid(0);
			cutin "16loo_03.bmp",2;
			mes "[Rookie]";
			mes "There he leaves again without saying goodbye to you. Sorry about him. Some of our kids are spoiled. But not every Rebellion is like that.";
			next;
			mes "[Rookie]";
			mes "Please take a good rest today. We will count on you again tomorrow.";
			erasequest 14608;// Sparkling things
			delitem 7321,10;// Fragment_Of_Crystal
			delitem 7315,10;// Dark_Crystal_Fragment
			setquest 14609;// Quiet time
			getitem 25155,3;// Swz_Honor_Token
			getexp 0,300000;
			close3;
		}
	}
	end;

OnInit:
	.@conditions$ =
		"terra_gloria_main > 16 && (checkquest(14609,PLAYTIME) == -1 || checkquest(14609,PLAYTIME) == 2)" +
		" && isbegin_quest(14603) == 0 && isbegin_quest(14604) == 0 && isbegin_quest(14605) == 0 && isbegin_quest(14606) == 0 && isbegin_quest(14607) == 0 && isbegin_quest(14608) == 0";
	questinfo( QTYPE_QUEST, QMARK_NONE, .@conditions$ );
	questinfo( QTYPE_QUEST, QMARK_NONE, "checkquest(14603,HUNTING) == 2 && countitem(999) > 4 && countitem(7319) > 14");
	questinfo( QTYPE_QUEST, QMARK_NONE, "checkquest(14604,HUNTING) == 2 && countitem(7068) > 9 && countitem(1003) > 2");
	questinfo( QTYPE_QUEST, QMARK_NONE, "checkquest(14605,HUNTING) == 2 && countitem(7321) > 9 && countitem(7315) > 9");
	questinfo( QTYPE_QUEST, QMARK_NONE, "checkquest(14606,HUNTING) == 2 && countitem(999) > 4 && countitem(7319) > 14");
	questinfo( QTYPE_QUEST, QMARK_NONE, "checkquest(14607,HUNTING) == 2 && countitem(7068) > 9 && countitem(1003) < 3");
	questinfo( QTYPE_QUEST, QMARK_NONE, "checkquest(14608,HUNTING) == 2 && countitem(7321) > 9 && countitem(7315) > 9");
	end;
}

slabw01,235,137,3	script	Suspicious cabinet#hide01	4_ENERGY_WHITE,{
	if (isbegin_quest(7744) == 0 || isbegin_quest(7760) > 0) {
		unittalk getcharid(3), "" + strcharinfo(0) + " : Nothing special now.", bc_self;
		end;
	}
	.@num = atoi( replacestr(strnpcinfo(2), "hide", "") );
	.@quest_id = 7752 - 1 + .@num;// Well hidden
	if (isbegin_quest(.@quest_id) > 0) {
		unittalk getcharid(3), "" + strcharinfo(0) + " : I have already searched here.", bc_self;
		end;
	}
	unittalk getcharid(3), "" + strcharinfo(0) + " : .. This looks suspicious!", bc_self;
	progressbar "000000",3;
	disablenpc();
	enablenpc "Hiding researcher#" + strnpcinfo(2);
	npctalk "Arrrgh!", "Hiding researcher#" + strnpcinfo(2);
	cutin "16loo_02.bmp",0;
	mes "[Rookie]";
	mes "Let me take him out!";
	mes "Seems like there are still some researchers hiding like this.";
	setquest .@quest_id;
	initnpctimer;
	for ( .@quest_id = 7752; .@quest_id < 7760 && .@quest_count < 3; .@quest_id++ )
		.@quest_count += isbegin_quest(.@quest_id);
	if (.@quest_count < 3)
		mes "Please do us another little favor!";
	else {
		mes "^4d4dffYou can stop searching and take a rest!^000000";
		mes "We will search for the rest of them.";
		setquest 7760;	// Well hidde
		for ( .@quest_id = 7752; .@quest_id < 7760; .@quest_id++ ) {
			if (isbegin_quest(.@quest_id) == 1)
				erasequest .@quest_id;
		}
	}
	close2;
	disablenpc "Hiding researcher#" + strnpcinfo(2);
	cutin "",255;
	end;
OnTimer30000:
	enablenpc();
	disablenpc "Hiding researcher#" + strnpcinfo(2);
	stopnpctimer;
	end;
}

slabw01,235,137,3	script	Hiding researcher#hide01	4_M_ALCHE_A,{
	end;
OnInit:
	disablenpc();
	end;
}

slabw01,254,131,3	duplicate(Suspicious cabinet#hide01)	Suspicious cabinet#hide02	4_ENERGY_WHITE
slabw01,254,131,3	duplicate(Hiding researcher#hide01)	Hiding researcher#hide02	4_M_ALCHE_A

slabw01,247,111,3	duplicate(Suspicious cabinet#hide01)	Suspicious gap#hide03	4_ENERGY_WHITE
slabw01,247,111,3	duplicate(Hiding researcher#hide01)	Hiding researcher#hide03	4_M_ALCHE_A

slabw01,255,63,3	duplicate(Suspicious cabinet#hide01)	Suspicious gap#hide04	4_ENERGY_WHITE
slabw01,255,63,3	duplicate(Hiding researcher#hide01)	Hiding researcher#hide04	4_M_ALCHE_A

slabw01,179,58,3	duplicate(Suspicious cabinet#hide01)	Suspicious desk#hide05	4_ENERGY_WHITE
slabw01,180,57,3	duplicate(Hiding researcher#hide01)	Hiding researcher#hide05	4_M_ALCHE_A

slabw01,143,100,3	duplicate(Suspicious cabinet#hide01)	Suspicious test tube#hide06	4_ENERGY_WHITE
slabw01,143,100,3	duplicate(Hiding researcher#hide01)	Hiding researcher#hide06	4_M_ALCHE_A
// slabw01,143,100,3	duplicate(Hiding researcher#hide01)	Researcher inside a test#hide06	4_M_ALCHE_A

slabw01,247,34,3	duplicate(Suspicious cabinet#hide01)	Suspicious bookshelf#hide07	4_ENERGY_WHITE
slabw01,247,34,3	duplicate(Hiding researcher#hide01)	Hiding researcher#hide07	4_M_ALCHE_A

slabw01,231,125,3	duplicate(Suspicious cabinet#hide01)	Suspicious trash can#hide08	4_ENERGY_WHITE
slabw01,231,124,3	duplicate(Hiding researcher#hide01)	Hiding researcher#hide08	4_M_ALCHE_A


slabw01,103,66,3	script	Ben#16nego02	4_M_REBELLION,5,5,{
	end;
OnTouch:
	npctalk "Be careful when you pass there. There is some high-voltage current.";
	end;
}

slabw01,79,97,3	script	Maymay#16nego02	4_F_REBELLION3,{
	npctalk "That rail looks live a backbone of a huge creature.";
	end;
}

slabw01,143,138,7	script	Grinder#16nego02	4_M_REBELLION,{
	npctalk "Look at this mark. What happened?";
	sleep2 2000;
	npctalk "Don't think about it.", "Fang#16nego02";
	sleep2 2000;
	npctalk "I guess it will appear in my dream forever.";
	sleep2 2000;
	npctalk "Focus! Focus during the mission!", "Fang#16nego02";
	end;
}

slabw01,144,139,5	script	Fang#16nego02	4_F_REBELLION3,{
	npctalk "Anything special?";
	sleep2 2000;
	npctalk "Yes. I've checked this place lately.", "Grinder#16nego02";
	sleep2 2000;
	npctalk "Good. Stand by here until you receive the next order.";
	end;
}

slabw01,214,139,5	script	Danae#16nego02	4_F_REBELLION2,{
	npctalk "A restaurant in such a place. I wonder if they ever managed to swallow food.";
	sleep2 2000;
	npctalk "Oh... it doesn't sound very nice.";
	end;
}

slabw01,245,74,3	script	Denny#16nego04	4_M_REBELLION3,{
	npctalk "They must have been in a hurry. Everything is left here.";
	sleep2 2000;
	npctalk "This place has been occupied by Superstar Denny. Go somewhere else!";
	end;
}

slabw01,229,47,7	script	Cyan#16nego03	4_F_REBELLION3,{
	npctalk "Arrgh... Every single part of my body is sore.";
	sleep2 2000;
	npctalk "As they told me to stand by, I can sit here.";
	end;
}

slabw01,217,56,5	script	Magenta#16nego02	4_M_GUNSLINGER2,{
	npctalk "They are so bad. But I feel sympathy at the same time.";
	end;
}

slabw01,194,91,3	script	Tommy#16nego02	4_M_GUNSLINGER2,{
	npctalk "Seems like the situation has been settled here. Shall we take a look around?";
	sleep2 2000;
	npctalk "Although we look around, we know nothing.";
	end;
}


// twin quests
rebel_in,105,54,5	script	Ilya Lebedev#16.2rm	4_M_ILYA,{
	if (lebedev_quest_16_2 < 11) {
		switch( rand(4) ) {
		case 0:
			mes "The boy with silver hairs looked at me. He frowned and turned his head.";
			next;
			mes "[Ilya Lebedev]";
			mes "......";
			next;
			mes "Although you talk to him, he would not listen at all.";
			mes "Seems like it's easier to talk to the girl.";
			close;
		case 1:
			mes "[Ilya Lebedev]";
			mes ".........";
			next;
			mes "[Ilya Lebedev]";
			mes ".....................";
			next;
			mes "[Ilya Lebedev]";
			mes "...................................................";
			next;
			mes "He held his lips tight and looking at me.";
			mes "Seems like it's easier to talk to the girl.";
			close;
		case 2:
			mes "[Ilya Lebedev]";
			mes "......Don't talk to Jana.";
			next;
			mes "[Ilya Lebedev]";
			mes "......";
			next;
			mes "[Ilya Lebedev]";
			mes "Don't talk to me either.";
			next;
			mes "He held his lips tight with a stubborn face..";
			mes "Seems like it's easier to talk to the girl.";
			close;
		case 3:
			mes "[Ilya Lebedev]";
			mes "Jana... You're cute even when you're breathing...";
			next;
			mes "[Ilya Lebedev]";
			mes "...?!!!";
			mes "Why did you overhear me?";
			next;
			mes "He is furious. But he's the one who said that loud...";
			mes "Seems like it's easier to talk to the girl.";
			close;
		}
	}
	switch( rand(4) ) {
	case 0:
		mes "[Ilya Lebedev]";
		mes "Adventurer, could you please ask Jana?";
		next;
		mes "[Ilya Lebedev]";
		mes "I mean.... how much she likes her older brother...";
		next;
		mes "[Jana Levedeva]";
		mes "Ilya, I heard that.";
		next;
		mes "[Ilya Lebedev]";
		mes "Gosh! No, no... I was just...!!";
		close;
	case 1:
		mes "[Ilya Lebedev]";
		mes "I made cookies together with Jana. Yesterday, we read a book together. Tomorrow we will explore the dead mine...";
		next;
		mes "Ilya Lebedev is be excited and boasting about what happened.";
		close;
	case 2:
		mes "[Ilya Lebedev]";
		mes "I want to be called by my first name, Ilya...";
		next;
		mes "[Ilya Lebedev]";
		mes "I mean... by Jana. Not by you.";
		next;
		mes "[Ilya Lebedev]";
		mes "Sometimes I wish she calls me 'brother'...";
		next;
		mes "[Ilya Lebedev]";
		mes "Jana calls you Older " + ( Sex ? "brother" : "sister" ) + ". And why does she call me Ilya...?!";
		close;
	case 3:
		mes "[Ilya Lebedev]";
		mes "Shooting? I like it. But it's not the only reason I practice it.";
		next;
		mes "[Ilya Lebedev]";
		mes "Because I have to support Jana. I will shoot anyone who puts a hand on Jana.";
		next;
		mes "Ilya Lebedev looks quite excited.";
		close;
	}
}

rebel_in,109,54,3	script	Jana Levedeva#16.2rm	4_F_ANYA,{
	if (lebedev_quest_16_2 == 0) {
		mes "[Jana Levedeva]";
		mes "I don't want to be treated as a child.";
		mes "Do not stroke my head.";
		next;
		mes "[Jana Levedeva]";
		mes "Ilya is the only one who can call me Jana.";
		mes "Call me Lebedeva.";
		close;
	}
	if (lebedev_quest_16_2 == 1) {
		mes "[Jana Levedeva]";
		mes "......Who are you?";
		mes "You don't look like Rebellion.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "You are right. I'm an adventurer.";
		next;
		mes "[Ilya Lebedev]";
		mes "How did an adventurer come in here?";
		next;
		npctalk "Jana Levedeva: Oops, you are...", "", bc_self;
		mes "[Jana Levedeva]";
		mes "Are you the adventurer who defeated our commander?";
		mes "So you're the one from the Secret Wings, aren't you?";
		next;
		mes "[Jana Levedeva]";
		mes "Huhu, the old guys here hate the Secret Wings, but we don't care.";
		mes "Since we want to fight hard in a mission, we welcome your proposal.";
		next;
		npctalk "Ilya Lebedev: Me too!", "Ilya Lebedev#16.2rm", bc_self;
		mes "[Ilya Lebedev]";
		mes "Whatever Jana likes, I like it too.";
		next;
		mes "[Jana Levedeva]";
		mes "Have you brought any story filled with gunpowder?";
		mes "...Well, we cannot be involved in the mission anyway.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "You are still young.";
		next;
		emotion ET_FRET;
		mes "[Jana Levedeva]";
		mes "...We'll become adults in the near future.";
		mes "We are not that much younger compared to other people here. Does putting on several years make any diffrence?";
		next;
		mes "[Jana Levedeva]";
		mes "They all know that we have better abilities than adults.";
		mes "If it wasn't for one thing... No, never mind.";
		next;
		mes "[Jana Levedeva]";
		mes "It's so annoying...";
		mes "Ilya, tell the adventurer to go away.";
		next;
		npctalk "Ilya Lebedev: Don't worry, Jana.", "Ilya Lebedev#16.2rm", bc_self;
		mes "[Ilya Lebedev]";
		mes "Please leave.";
		mes "We don't want to talk to you any more.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "(So they started to hate me pretty early... What should I do?";
		mes "Maybe I have to listen to ^0000CDRebellions around them^000000.)";
		erasequest 16012;// Troublesome twin
		setquest 16013;// Testimony: Chef's story
		setquest 16014;// Testimony: Sniper's story
		lebedev_quest_16_2 = 2;
		close;
	}
	if (lebedev_quest_16_2 == 2 || lebedev_quest_16_2 == 3) {
		emotion ET_FRET;
		mes "[Jana Levedeva]";
		mes "Ah, Ilya. That person keeps irritating me.";
		next;
		mes "[Ilya Lebedev]";
		mes "Please leave.";
		mes "I won't forgive you if you distress Jana.";
		close;
	}
	if (lebedev_quest_16_2 == 4) {
		mes "[Jana Levedeva]";
		mes "You're here again?";
		mes "We don't want to talk.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "(Ask them about the incident that happened in the past...)";
		next;
		if (select( "Ask them directly.", "Beat around the bush." ) == 1) {
			mes "[" + strcharinfo(0) + "]";
			mes "Did you throw a grenade to the civilian zone during your actual mission?";
			mes "Why did you do that?";
			next;
			mes "[Jana Levedeva]";
			mes "What...!!";
			next;
			npctalk "Ilya Lebedev: ...What, what the hell!", "Ilya Lebedev#16.2rm", bc_self;
			mes "[Ilya Lebedev]";
			mes "Where did you hear this story!";
			mes "Hey, why are you saying that?";
			next;
			npctalk "Jana Levedeva: Well, that was...";
			emotion ET_ANGER, getnpcid(0, "Ilya Lebedev#16.2rm");
			mes "[Ilya Lebedev]";
			mes "Get lost! Stay away from Jana!";
			emotion ET_SMILE;
			npctalk "Jana Levedeva: I, I...";
			npctalk "Ilya Lebedev: Don't listen, Jaja...!!", "Ilya Lebedev#16.2rm", bc_self;
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "(......Looks like a huge mistake. Let's go back to ^0000CDElena Bolkova^000000.)";
		}
		else {
			mes "[" + strcharinfo(0) + "]";
			mes "There's something I would like to ask you.";
			mes "I asked others and they say you were...";
			next;
			mes "[Jana Levedeva]";
			mes "...Why do you pry into our private affairs?";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "I didn't pry into anything. I mean, they told me you look very tired these days...";
			next;
			mes "[Jana Levedeva]";
			mes "We are tired because someone is irritating us.";
			npctalk "Ilya Lebedev: ......", "Ilya Lebedev#16.2rm", bc_self;
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "(......This is getting difficult. Let's go back to ^0000CDElena Bolkova^000000.)";
		}
		setquest 16015;// The cause of failure is a careless attempt
		lebedev_quest_16_2 = 5;
		questinfo_refresh();
		close;
	}
	if (lebedev_quest_16_2 == 5 || lebedev_quest_16_2 == 6) {
		mes "[Jana Levedeva]";
		mes "We don't want to talk to you. Just leave.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "(...I guess they really hate me now.)";
		close;
	}
	if (lebedev_quest_16_2 == 7) {
		if (countitem(25161) < 1) {
			mes "[Jana Levedeva]";
			mes "You're here again?";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "( I did take the cookie... Where is it?";
			mes "Let's go back to Ericsson and talk to him.)";
			close;
		}
		mes "[" + strcharinfo(0) + "]";
		mes "Hello, guys?";
		next;
		mes "[Jana Levedeva]";
		mes "...Do you have so much free time? Why do you keep stalking us?";
		next;
		if (select( "There's something I would like to tell you.", "Want some cookie?" ) == 1) {
			mes "[Jana Levedeva]";
			mes "I don't want to hear it.";
			mes "Unless you pay us 1 million Zeny for listening to your story, leave now.";
			close;
		}
		mes "[Jana Levedeva]";
		mes "I don't know what you are up to. But we...";
		mes "...Wait, where did you get this cookie?";
		npctalk "Jana Levedeva: This cookie basket, grandma Lucy...?", "", bc_self;
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Someone you know well told me to give this to you.";
		next;
		mes "[Ilya Lebedev]";
		mes "......Commander Adler?";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "And he also said this.";
		mes "Trust me. And tell the adventurer if you have any problem.";
		mes "This is my request. Could you please tell me?";
		next;
		mes "[Jana Levedeva]";
		mes "......What...";
		mes "That.. is a lie. How can I trust an adventurer...?";
		npctalk "Jana Levedeva: Do you think you can lure us with a cookie?", "", bc_self;
		npctalk "Ilya Lebedev: Jana...", "Ilya Lebedev#16.2rm", bc_self;
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "As I told you earlier, please think about commander Adler.";
		mes "He's so worried about you. So am I, and so is commander Bolkova.";
		next;
		mes "[Jana Levedeva]";
		mes "We...";
		mes "No. We won't tell you.";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Please tell me one thing.";
		mes "I heard you didn't ruin yourself like this before.";
		mes "Why do you keep hurting yourself?";
		next;
		mes "[Jana Levedeva]";
		npctalk "Jana Levedeva: Oh...", "", bc_self;
		mes "Why do you say that? What do you know about us?";
		mes "You know nothing!";
		next;
		mes "[Jana Levedeva]";
		mes "...I was so..";
		mes "scared...... so...";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "Scared...?";
		next;
		mes "[Jana Levedeva]";
		mes "And then... I got out of shape...";
		mes "So I was scared... I did so... on purpose... sniffle.";
		next;
		mes "[Ilya Lebedev]";
		mes "......";
		next;
		mes "[Ilya Lebedev]";
		mes "I'm sure you know what happened during our first mission... not long ago.";
		mes "After that. Jana had such a hard time.";
		next;
		mes "[Ilya Lebedev]";
		mes "Because Jana and I had been so confident that we would do well.";
		mes "Then it happened... and we... were so miserable.";
		next;
		mes "[Jana Levedeva]";
		mes "Sniffle. We didn't throw the grenade on purpose and we didn't enjoy it either. It's out fault. But, but...";
		next;
		mes "[Jana Levedeva]";
		mes "We were punished and moved to USU... Then we felt that everyone else regards us as horrible kids.";
		npctalk "Jana Levedeva: Actually, we heard some people saying so. Even some people who don't know us said such things.", "", bc_self;
		next;
		mes "[Ilya Lebedev]";
		mes "We wanted to talk to commander Ericsson. But we couldn't, because we were assigned to another unit.";
		next;
		mes "[Jana Levedeva]";
		mes "We had no idea what to do. We just wanted to run away. Because everyone was blaming us and disappointed at us...";
		mes "But we liked our unit and commander Ericsson...";
		next;
		mes "[Jana Levedeva]";
		mes "We thought that we had already ruined everything.";
		mes "As everyone was already disappointed at us, we thought we could do whetever...";
		npctalk "Ilya Lebedev: That's why we acted at our pleasure, thinking that we would be discharged soon.", "Ilya Lebedev#16.2rm", bc_self;
		next;
		mes "[Jana Levedeva]";
		mes "As we acted at our pleasure, things got worse and worse... So we were sacred...";
		mes "Then we began to believe that we were the worst and hopeless kids...";
		npctalk "Ilya Lebedev: So we thought that we would be left away again...", "Ilya Lebedev#16.2rm", bc_self;
		next;
		mes "[Ilya Lebedev]";
		mes "It's just our excuse that nobody stopped us...";
		mes "I'm sorry to have troubled you...";
		next;
		mes "[Jana Levedeva]";
		mes "I'm... sorry too...";
		npctalk "Ilya Lebedev: And thank you....", "Ilya Lebedev#16.2rm", bc_self;
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "That's what happened... Now I know you suffered a lot.";
		mes "Can I tell this to your commander?";
		mes "Of course I won't tell anyone else.";
		next;
		npctalk "Ilya Lebedev: Yes. please.", "Ilya Lebedev#16.2rm", bc_self;
		npctalk "Jana Levedeva: Yes...", "", bc_self;
		mes "[" + strcharinfo(0) + "]";
		mes "(You heard their story. Let's go to ^0000CDElena Bolkova^000000 and tell her.)";
		lebedev_quest_16_2 = 8;
		delitem 25161,1;// Handmade_cookie2
		erasequest 16033;// Bring dessert and listen the story
		setquest 16017;// Twin's sincere confession
		close;
	}
	if (lebedev_quest_16_2 == 8) {
		mes "[Jana Levedeva]";
		mes "......";
		mes "We'll be scolded...";
		mes "But we have no choice. It's our fault. Please report to our commander.";
		npctalk "Jana Levedeva: What if she tells us to leave this unit...?", "", bc_self;
		close;
	}
	if (lebedev_quest_16_2 == 9) {
		mes "[Jana Levedeva]";
		mes "Call from USU commander?";
		mes "She will tell us that story...";
		next;
		emotion ET_THINK;
		mes "[Jana Levedeva]";
		mes "We'll be kicked out...?";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "I'm coming with you. I will defend you.";
		next;
		mes "[Ilya Lebedev]";
		mes "Thank you...";
		mes "...I hope Jana cheers up.";
		erasequest 16018;// Encourage instead of punishment
		setquest 16019;// Elena Volkova's Solution
		lebedev_quest_16_2 = 10;
		questinfo_refresh();
		close;
	}
	if (lebedev_quest_16_2 == 10) {
		mes "[Jana Levedeva]";
		mes "Yes, I'm coming!";
		next;
		mes "[Jana Levedeva]";
		mes "I'm scared what she's going to tell us... But we will still meet her.";
		npctalk "Ilya Lebedev: It's all our fault anyway.", "Ilya Lebedev#16.2rm", bc_self;
		close;
	}
	.@genre$ = Sex ? "brother" : "sister";
	switch( checkquest(16020,PLAYTIME) ) {
	case -1:
		break;
	case 0:
	case 1:
		mes "[Jana Levedeva]";
		mes "Oh, It's Older " + .@genre$ + " " + strcharinfo(0) + " !";
		mes "By the way, we are quite sleepy now after wandering around all day long...";
		mes "I wonder it's already time for us to be sleepy. Let's play together tomorrow...Zzz";
		close;
	case 2:
		erasequest 16020;// Daily babysitting
		break;
	}
	setarray .@quest_id[0], 16021, 16023, 16025, 16026, 16027;
	setarray .@quest_list[0], 16021, 16023, 16024, 16025, 16026, 16027;

	.@size_quest_list = getarraysize( .@quest_list );
	for ( .@i = 0; .@i < .@size_quest_list && isbegin_quest(.@quest_list[.@i]) == 0; .@i++ )
		continue;
	if (.@i == .@size_quest_list) {
		mes "[Jana Levedeva]";
		mes "Oh, It's Older " + .@genre$ + " " + strcharinfo(0) + " !";
		mes "Have you come to play with us? Or for another business?";
		next;
		if (select( "I have come to play with you!", "I have come for another business. But I wanted to say hello." ) == 2) {
			mes "[Jana Levedeva]";
			mes "I see... If you are busy, we shouldn't bother you.";
			mes "But please don't go away without coming back to us.";
			close;
		}
		emotion ET_SMILE;
		mes "[Jana Levedeva]";
		mes "Wow! Really?";
		mes "But Older " + .@genre$ + " the truth is that you are not playing with us. Older " + .@genre$ + " we are playing with you. Haha!";
		mes "Hmm... What are we going to do?";
		next;
		.@r = rand( getarraysize( .@quest_id ) );
		switch( .@quest_id[.@r] ) {
		case 16021:
			mes "[Jana Levedeva]";
			mes "Hmm.. Commander Elena told us to make a hobby.";
			mes "I guess reading is a fine hobby. Isn't it?";
			next;
			mes "[Jana Levedeva]";
			mes "Please borrow a book for us from the juvenile section of Prontera library.";
			mes "The book's name is... ^0000CDIt's dizzy after being shaken 1,000 times^000000. Please borrow this for me.";
			npctalk "Ilya Lebedev: They say it's such a famous book.", "Ilya Lebedev#16.2rm", bc_self;
			setquest 16021;// Service: Book lending agent
			next;
			mes "[Jana Levedeva]";
			mes "The juvenile corner of the Prontera library has designated rental system. You can ask the ^0000CDlibrarian in charge of juveniles^000000.";
			close;
		case 16022:
			mes "[Jana Levedeva]";
			mes "Hmm.. Commander Elena told us to make a hobby.";
			mes "I guess reading is a fine hobby. Isn't it?";
			next;
			mes "[Jana Levedeva]";
			mes "Please rent a book for us from the juvenile section of Prontera Library.";
			mes "The book's name is... ^0000CDRebellion, the history of liberty^000000. Please borrow this book for me.";
			npctalk "Ilya Lebedev: After looking at its name, I feel like I must read it.", "Ilya Lebedev#16.2rm", bc_self;
			setquest 16022;// Service: Book lending agent
			next;
			mes "[Jana Levedeva]";
			mes "The juvenile corner of the Prontera library has designated rental system. You can ask the ^0000CDlibrarian in charge of juveniles^000000.";
			close;
		case 16023:
			mes "[Jana Levedeva]";
			mes "Hmm.. Commander Elena told us to make a hobby.";
			mes "I guess reading is a fine hobby. Isn't it?";
			next;
			mes "[Ilya Lebedev]";
			mes "I would be glad if borrow a book for me from the juvenile section of Prontera library.";
			mes "The book's name is... ^0000CDNorgroad Horizon^000000.";
			npctalk "Ilya Lebedev: It's about the great adventurer who explores Norgroad.", "Ilya Lebedev#16.2rm", bc_self;
			setquest 16023;// Service: Book lending agent
			next;
			mes "[Jana Levedeva]";
			mes "The juvenile corner of the Prontera library has designated rental system. You can ask the ^0000CDlibrarian in charge of juveniles^000000.";
			close;
		case 16025:
			mes "[Jana Levedeva]";
			mes "Today, we would like to go to Einbech mine to research explosives. But I guess it would be dangerous if only two of us go there.";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "You mean, you're dangerous for the mine? Right?";
			next;
			mes "[Ilya Lebedev]";
			mes "No! How can you say that? There are so many dangerous monsters in the mine!";
			mes "And Jana says she's curious to see if there are materials suitable for our research...";
			next;
			mes "[Ilya Lebedev]";
			mes "Therefore Older " + .@genre$ + " please implement a previous exploration for us.";
			mes "Please defeat 30 Pitman in Einbech mine and bring us a Gun Powder.";
			mes "Older " + .@genre$ + " I'm sure this is a piece of cake for you. We will count on you!";
			npctalk "Ilya Lebedev: We will count on you!", "Ilya Lebedev#16.2rm", bc_self;
			setquest 16026;// Service: Exploring the Mine Dungeon
			close;
		case 16026:
			mes "[Jana Levedeva]";
			mes "Today, we would like to go to Einbech mine to research explosives. But I guess it would be dangerous if only two of us go there.";
			next;
			mes "[" + strcharinfo(0) + "]";
			mes "You mean, you're dangerous for the mine? Right?";
			next;
			mes "[Ilya Lebedev]";
			mes "No! How can you say that? There are so many dangerous monsters in the mine!";
			mes "And Jana says she's curious to see if there are materials suitable for our research...";
			next;
			mes "[Ilya Lebedev]";
			mes "So we'd like to request you to implement a previous exploration.";
			mes "Please defeat 20 Venomous and 20 Noxious in Einbech mine and bring us one Explosive Powder.";
			mes "I know this will be cumbersome. But we will count on you.";
			npctalk "Jana Levedeva: Please!";
			setquest 16026;// Service: Exploring the Mine Dungeon
			close;
		case 16027:
			emotion ET_DELIGHT;
			mes "[Jana Levedeva]";
			mes "Older " + .@genre$ + ", Older " + .@genre$ + "! We made some cookies!";
			mes "Of course we didn't do the entire cooking... Milo prepared ingredients and the cooking space.";
			next;
			mes "[Jana Levedeva]";
			mes "It tastes good! Certainly not better than those cooked by grandma Lucy. But it's still wonderful.";
			next;
			npctalk "I prefer the cookies of Lucy, but I should start eating these.";
			mes "[Jana Levedeva]";
			mes "Older " + .@genre$ + " Please have some! Older " + .@genre$ + " This is for you... And could you please these five bundles to people around you?";
			next;
			mes "[Jana Levedeva]";
			mes "To Milo, Mason and Rachel.";
			mes "And to commander Adler and commander Elena as well, please.";
			mes "Make sure you tell them we made these.";
			if (checkweight(25161,5) == 0) {
				next;
				mes "[Jana Levedeva]";
				mes "You don't have enough space in your bag.";
				mes "Please make some space. We don't want the cookies to get broken.";
				close;
			}
			getitem 25161,5;// Handmade_cookie2
			setquest 16027;// Service: Cookies delivery
			setquest 16028;// Service: Cookies delivery
			setquest 16029;// Service: Cookies delivery
			setquest 16030;// Service: Cookies delivery
			setquest 16031;// Service: Cookies delivery
			close;
		}
		end;
	}
	switch( .@quest_list[.@i] ) {
	case 16021:
		mes "[Jana Levedeva]";
		mes "Did you forget what I asked you to borrow? It's dizzy after being shaken 1,000 times!";
		mes "Last time I went there with Ilya, the librarian at juvenile section found it for me...";
		close;
	case 16022:
		mes "[Jana Levedeva]";
		mes "Did you forget what I asked you to borrow? 'Rebellion, the history of liberty'!";
		mes "Last time I went there with Ilya, the librarian at juvenile section found it for me...";
		close;
	case 16023:
		mes "[Ilya Lebedev]";
		mes "Norgroad Horizon, please.";
		mes "If you tell the book name to the librarian, he/she will hand it you.";
		close;
	case 16024:
		if (countitem(25160) < 1) {
			mes "[Jana Levedeva]";
			mes "Oh, you're back? Please give the book!";
			mes "The book... You don't have it? Don't tell me you lost it.";
			next;
			mes "[Jana Levedeva]";
			mes "If you lost it... You have to go to the library and report of the loss of that book.";
			close;
		}
		mes "[" + strcharinfo(0) + "]";
		mes "I'm back. Here's the book.";
		mes "So you'll return it yourself?";
		next;
		mes "[Jana Levedeva]";
		mes "Wow! I wanted to read this!";
		mes "Thank you, Older " + .@genre$ + "! Older " + .@genre$ + " do you want me to read this book for you? This must be exciting!";
		next;
		mes "[" + strcharinfo(0) + "]";
		mes "(Hmm, she's not mentioning about returning it.)";
		erasequest 16024;// Service: Loaned book delivery
		setquest 16020;// Daily babysitting
		delitem 25160,1;// Borrow_Book
		getexp 200000,200000;
		getitem 25155,3;// Swz_Honor_Token
		close;
	case 16025:
		if (checkquest(.@quest_list[.@i],HUNTING) != 2 || countitem(6244) < 1) {
			mes "[Jana Levedeva]";
			mes "Oh! We're going to Einbech mine. Please implement a previous exploration for us.";
			next;
			mes "[Ilya Lebedev]";
			mes "Please defeat 30 Pitman in Einbech mine and bring us a Gun Powder.";
			mes "We are about to experiment the degree of firepower in reference to the amount of Gun Powder!";
			close;
		}
		mes "[Ilya Lebedev]";
		mes "Thank you for doing us a favor!";
		mes "About the result, I will inform you later!";
		delitem 6244,1;// Gun_Powder
		erasequest 16025;// Service: Exploring the Mine Dungeon
		setquest 16020;// Daily babysitting
		getexp 200000,200000;
		getitem 25155,3;// Swz_Honor_Token
		close;
	case 16026:
		if (checkquest(.@quest_list[.@i],HUNTING) != 2 || countitem(6213) < 1) {
			mes "[Jana Levedeva]";
			mes "Oh! We're going to Einbech mine. Please implement a previous exploration for us.";
			next;
			mes "[Ilya Lebedev]";
			mes "Please defeat 20 Venomous and 20 Noxious in Einbech mine and bring us one Explosive Powder.";
			mes "Jana is researching whether we can apply the Explosive Powder to grenades.";
			close;
		}
		mes "[Ilya Lebedev]";
		mes "Thank you for doing us a favor!";
		mes "Jana says she will inform you about the result after the experiment!!";
		delitem 6213,1;// Explosive_Powder
		erasequest 16026;// Service: Exploring the Mine Dungeon
		setquest 16020;// Daily babysitting
		getexp 200000,200000;
		getitem 25155,3;// Swz_Honor_Token
		close;
	case 16027:
		for ( .@i = 16027; .@quest_id <= 16031; .@quest_id++ ) {
			if (isbegin_quest(.@quest_id) == 1)
				.@cookie++;
		}
		if (.@cookie > 0) {
			mes "[Jana Levedeva]";
			mes "Please bring them to the five people I mentioned.";
			mes "They are Milo, Mason, Rachel, commander Ericsson and commander Elena.";
			if (countitem(25161) < 1) {
				next;
				mes "[Jana Levedeva]";
				mes "Oh, did you eat all those cookies?";
				mes "You liked them, didn't you?";
				mes "Oh, come on. How can you eat all of them!";
				next;
				mes "[Jana Levedeva]";
				mes "We will give you some more. Make sure you bring them to those five people please.";
				mes "Glutton " + strcharinfo(0) + " Older " + .@genre$ + " we will make you more cookies for you next time!";
				getitem 25161, .@cookie;// Handmade_cookie2
			}
			close;
		}
		mes "[Jana Levedeva]";
		mes "What did they say?";
		mes "Did they like them? Huhu.";
		mes "Don't you think I'm good at cooking?";
		erasequest 16027;// Service: Cookies delivery
		erasequest 16028;// Service: Cookies delivery
		erasequest 16029;// Service: Cookies delivery
		erasequest 16030;// Service: Cookies delivery
		erasequest 16031;// Service: Cookies delivery
		setquest 16020;// Daily babysitting
		getexp 200000,200000;
		getitem 25155,3;// Swz_Honor_Token
		close;
	}
	end;

OnInit:
	questinfo( QTYPE_QUEST, QMARK_NONE, "isbegin_quest(16012) == 1" );
	questinfo( QTYPE_QUEST, QMARK_NONE, "lebedev_quest_16_2 == 4" );
	questinfo( QTYPE_QUEST, QMARK_NONE, "lebedev_quest_16_2 == 7 && countitem(25161) > 0" );
	questinfo( QTYPE_QUEST, QMARK_NONE, "isbegin_quest(16018) == 1" );

	// daily
	questinfo( QTYPE_QUEST, QMARK_NONE, "checkquest(16020,PLAYTIME) == 2" );
	questinfo( QTYPE_QUEST, QMARK_NONE, "lebedev_quest_16_2 > 10 && checkquest(16020,PLAYTIME) == -1 && isbegin_quest(16021) == 0 && isbegin_quest(16023) == 0 && isbegin_quest(16024) == 0 && isbegin_quest(16025) == 0 && isbegin_quest(16026) == 0 && isbegin_quest(16027) == 0" );
	questinfo( QTYPE_QUEST, QMARK_NONE, "isbegin_quest(16027) == 2 && isbegin_quest(16028) == 2 && isbegin_quest(16029) == 2 && isbegin_quest(16030) == 2 && isbegin_quest(16031) == 2" );
	questinfo( QTYPE_QUEST, QMARK_NONE, "isbegin_quest(16024) == 1 && countitem(25160) > 0" );
	questinfo( QTYPE_QUEST, QMARK_NONE, "checkquest(16025,HUNTING) == 2 && countitem(6244) > 0" );
	questinfo( QTYPE_QUEST, QMARK_NONE, "checkquest(16026,HUNTING) == 2 && countitem(6213) > 0" );
	end;
}

rebel_in,70,75,1	duplicate(dummy_cloaked_npc)	Ilya Lebedev#16.2rms	4_M_ILYA
rebel_in,69,75,1	duplicate(dummy_cloaked_npc)	Jana Levedeva#16.2rms	4_F_ANYA

prt_in,165,89,1	script	Librarian in charge of juveniles 	1_F_LIBRARYGIRL,{
	setarray .@quest_id[0], 16021,16022,16023;
	.@size = getarraysize(.@quest_id);
	for ( .@i = 0; .@i < .@size && isbegin_quest(.@quest_id[.@i]) == 0; .@i++ )
		continue;

	if (.@i == .@size) {
		mes "[Librarian in charge of juveniles]";
		mes "Hello. Welcome to Prontera library.";
		mes "For juvenile books, only designated rental service is available.";
		close;
	}
	if (isbegin_quest(16024) == 1 && countitem(25160) < 1) {
		mes "[Librarian in charge of juveniles]";
		mes "Have you lost the book you borrowed?";
		mes "Yes... We accept your report of a loss.";
		next;
		mes "[Librarian in charge of juveniles]";
		mes "Please be careful next time.";
		mes "If you lose the book more than once or damage it, we may forbidthe lending to you.";
		erasequest 16024;// Service: Loaned book delivery
		setquest 16020;// Daily babysitting
		close;
	}
	mes "[Librarian in charge of juveniles]";
	mes "Hello. Welcome to Prontera library.";
	mes "For juvenile books, only designated rental service is available. Which book are you looking for?";
	next;
	.@r = rand(3);
	if (.@r == 0)
		setarray .@menu$[0], "A story of 101 cookies", "No Gun No Life", "Linsa, the Owl of Wizard";
	else if (.@r == 1)
		setarray .@menu$[0], "My younger sister is so cute", "Record of my travel to Kunrun by foot", "The secret of the business told by Babayaga";
	else if (.@r == 3)
		setarray .@menu$[0], "Guidebook for food materials in Dungeon", "Famous Lasagna Restaurants", "Hair&Beauty - Fairy's edition";

	switch( .@quest_id[.@i] ) {
	case 16021:
		.@right_answer = 0;
		.@menu$[0] = "It's dizzy after being shaken 1,000 times.";
		break;
	case 16022:
		.@right_answer = 1;
		.@menu$[1] = "Rebellion, the history of liberty";
		break;
	case 16023:
		.@right_answer = 2;
		.@menu$[2] = "Norgroad Horizon";
		break;
	}

	.@s = select( .@menu$[0], .@menu$[1], .@menu$[2], "Nothing." ) - 1;
	if (.@s == 3) {
		mes "[Librarian in charge of juveniles]";
		mes "Prontera library always welcomes juveniles who read books.";
		close;
	}
	if (.@s != .@right_answer) {
		mes "[Librarian in charge of juveniles]";
		mes "" + .@menu$[.@s] + ", That book? Please wait a minute.";
		next;
		mes "[Librarian in charge of juveniles]";
		mes "The book you wanted is out on loan now. Please use another book.";
		close;
	}
	mes "[Librarian in charge of juveniles]";
	mes "" + .@menu$[.@right_answer] + "? Please wait a minute.";
	next;
	mes "[Librarian in charge of juveniles]";
	mes "Yes. Here it is. Please abide by the deadline.";
	erasequest .@quest_id[.@i];
	setquest 16024;// Service: Loaned book delivery
	getitem 25160,1;// Borrow_Book
	close;
}

// Items Quests given by Small Leather Bag (ID: 23087) - not repeatable
prt_in,177,26,6	script	Knight Windsor#ep162	4_M_JOB_KNIGHT1,{
	switch( isbegin_quest(7746) ) {
	case 0:
		if (countitem(25180) < 1)
			break;
		mes "[Benedict Windsor]";
		mes "What is it?";
		next;
		if (select( "Give him the ring.", "Do you come here often?" ) == 2) {
			mes "[Benedict Windsor]";
			mes "Teaching juniors after retirement, I think of my son every now and then.";
			next;
			mes "[Benedict Windsor]";
			mes "... And my wife who passed away, too.";
			mes "I also think of my daughter.";
			next;
			mes "You gave him the ring.";
			next;
		}
		mes "[Benedict Windsor]";
		mes "... This ... ring is ...";
		next;
		mes "[Benedict Windsor]";
		mes "Poor fellow.";
		mes "In the end, this is the way you come back.";
		next;
		mes "[Benedict Windsor]";
		mes "I was expecting this.";
		mes "When I found his Pecopeco, I knew something was wrong.";
		next;
		mes "[Benedict Windsor]";
		mes "But as I didn't see it with my eyes,";
		mes "I had a slight hope in my mind.";
		next;
		mes "[Benedict Windsor]";
		mes "....";
		mes "... Should I welcome you, to see you again like this?";
		next;
		mes "[Benedict Windsor]";
		mes "... Thanks.";
		mes "...";
		delitem 25180,1;// Old_Couple_Ring
		setquest 7746;// A pair of old rings
		completequest 7746;// A pair of old rings
		getexp 100000,100000;
		close;
	case 1:
	case 2:
		break;
	}
	switch( isbegin_quest(7747) ) {
	case 0:
		if (countitem(25185) < 1)
			break;
		mes "[Benedict Windsor]";
		mes "... That rocket belongs to Cheiron.";
		mes "When they told me they would take them to Geffen's Magic_tower ...";
		next;
		mes "[Benedict Windsor]";
		mes "I thought they would take good care of them.";
		mes "... Why should my children end up like this?";
		next;
		mes "[Benedict Windsor]";
		mes "What should I do now?";
		mes "My wife and children have passed away.";
		mes "What can I do ...";
		next;
		mes "[Benedict Windsor]";
		mes "You ...";
		mes "......";
		delitem 25185,1;// Locket_Pendant
		setquest 7747;// Locket Pendant
		completequest 7747;// Locket Pendant
		getexp 100000,100000;
		close2;
		npctalk "... Please be alive.", "", bc_self;
		end;
	case 1:
	case 2:
		npctalk "I wish it had been a dream ...", "", bc_self;
		end;
	}
	end;
}

prt_monk,93,254,3	script	Sister Margaret#ep162	1_F_PRIEST,{
	switch( isbegin_quest(7748) ) {
	case 0:
		if (countitem(25181) < 1) {
			mes "[Margaret]";
			mes "Shrines and convents have a very close relationship.";
			mes "They come to help us like this frequently.";
			close;
		}
		mes "[Margaret]";
		mes "What brings you here?";
		next;
		select("Hands Rosary.");
		mes "[Margaret]";
		mes "I know this stuff.";
		mes "This is the Rosary that she was holding tightly in her small hand when she first came to this convent.";
		next;
		mes "[Margaret]";
		mes "I can faintly feel the spirit of that girl, Sorin.";
		mes "She's grown up a lot.";
		next;
		mes "[Margaret]";
		mes "She was a tomboy. But since she met Seyren, she often pretended to be modest.";
		next;
		mes "[Margaret]";
		mes "Jooshin loved the girl a lot, and she was taken so early.";
		mes "....";
		next;
		mes "[Margaret]";
		mes "... Thank you very much for giving this to me.";
		mes "May the blessing of Jooshin be with you forever.";
		delitem 25181,1;// Wood Rosary
		setquest 7748;// Wooden Rosary
		completequest 7748;// Wooden Rosary
		getexp 100000,100000;
		close;
	case 1:
	case 2:
		mes "[Margaret]";
		mes "I used to visit the Capitolina convent with Sorin quite often.";
		mes "With her high-spirited personality, she got along quite well with the monks.";
		next;
		mes "[Margaret]";
		mes "She also came here to relax when she needed some rest ...";
		next;
		mes "[Margaret]";
		mes "... even though the path is quite rough.";
		mes "If you are going back now, do you want me to send you to Prontera?";
		next;
		if (select( "Yes, please.", "No thank you." ) == 2) {
			mes "[Margaret]";
			mes "If you need it later, do not hesitate to tell me.";
			close;
		}
		mes "[Margaret]";
		mes "... Bye.";
		close2;
		warp "prontera",156,119;
		end;
	}
}

yuno_in01,163,31,3	script	Blacksmith Cleaver#ep16	4_TOWER_17,{
	switch( isbegin_quest(7749) ) {
	case 0:
		if (countitem(25183) < 1) {
			mes "[Cleaver]";
			mes "You can smelt your gears over there.";
			mes "I don't take requests for personal production or smelting.";
			close;
		}
		mes "[Cleaver]";
		mes "Who's there? A shopper?";
		mes "I don't accept personal production requests.";
		next;
		mes "[Cleaver]";
		mes "Wait, can I see that Thimble Of Archer?";
		mes "This decoration is ...";
		next;
		mes "[Cleaver]";
		mes "Hey! What happened to Alt?";
		mes "He made this decoration for the Thimble Of Archer when he visited here for the last time.";
		next;
		mes "[Cleaver]";
		mes "A jewel decoration on a Thimble Of Archer! I know it sounds crazy. But it took him several days ? he didn't even sleep!";
		next;
		mes "[Cleaver]";
		mes "Since he was having a hard time making it, I was willing to help him. But he still made this Thimble Of Archer alone ...";
		next;
		mes "[Cleaver]";
		mes "Why do you have this?";
		next;
		select("It's a relic.");
		mes "[Cleaver]";
		mes "... What?";
		mes "No ... Wait ... Wait a minute";
		mes "I heard some rumors. I did ...";
		next;
		mes "[Cleaver]";
		mes "But I still believed that no news is good news ...";
		mes "In this way, all of a sudden ...";
		next;
		mes "[Cleaver]";
		mes "... What ... What a fool.";
		mes "Why did he make a gift that he cannot even deliver?";
		next;
		mes "[Cleaver]";
		mes "... Haa ...";
		mes "Eventually, this is how it ends ...";
		next;
		mes "[Cleaver]";
		mes "Thank you ... for coming all the way here.";
		mes "I have to delay my work for a while.";
		mes "....";
		delitem 25183,1;// Deco_Thimble_Archer
		setquest 7749;// Bow Thimble Decoration
		completequest 7749;// Bow Thimble Decoration
		getexp 100000,100000;
		close;
	case 1:
	case 2:
		mes "[Cleaver]";
		mes "Alt has an older brother.";
		mes "... I will give this to him.";
		mes "Since he is in a critical moment now, I will look for a chance to give it to him.";
		next;
		mes "[Cleaver]";
		mes "... Damn.";
		mes "I cannot resume my work.";
		close;
	}
}

que_job01,89,91,1	script	Guile Marovitz#ep162	1_M_JOBTESTER,{
	switch( isbegin_quest(7750) ) {
	case 0:
		if (countitem(25182) < 1) {
			mes "[Guile Marovitz]";
			mes "... If you want to become an Assassin, go east of the desert.";
			close;
		}
		mes "[Guile Marovitz]";
		mes "It's quite unusual.";
		mes "What brought you here?";
		next;
		mes "[Guile Marovitz]";
		mes "This dagger is ...";
		mes "Right. Eremes ...";
		mes "has finally returned.";
		next;
		mes "[Guile Marovitz]";
		mes "It's been a long time since I dispatched him ... He returned too late.";
		npctalk "......", "", bc_self;
		next;
		mes "[Guile Marovitz]";
		mes "Is this mission failure or success?";
		mes "... He is the type of guy who hates to have a mission fail.";
		next;
		mes "[Guile Marovitz]";
		mes "I like guys who are serious about completing their missions. But in this case ... I wish he had just abandoned his mission and taken a vacation.";
		next;
		mes "[Guile Marovitz]";
		mes "I will take him ... well.";
		mes "Thank you.";
		delitem 25182,1;// Assassin_PT_Dagger
		setquest 7750;// Assassin Dagger with Glyph
		erasequest 7750;// Assassin Dagger with Glyph
		getexp 100000,100000;
		close;
	case 1:
	case 2:
		mes "[Guile Marovitz]";
		mes "In this field, it is quite common to not have your companion come back after a mission.";
		next;
		mes "[Guile Marovitz]";
		mes "Some lucky guys come back like this.";
		mes "And he was quite lucky.";
		next;
		mes "[Guile Marovitz]";
		mes "There's no need to be sad.";
		mes "But it's just regrettable.";
		mes "That's all.";
		close;
	}
}

payon_in03,194,39,3	script	Hunter Sherine#ep162	4_F_JOB_HUNTER,{
	switch( isbegin_quest(7751) ) {
	case 0:
		if (countitem(25184) < 1) {
			mes "[Sherine]";
			mes "In the past, the Hunter guild was in the Payon Forest.";
			mes "And I grew up in Payon.";
			next;
			mes "[Sherine]";
			mes "That's why I visit Payon once in a while.";
			mes "....";
			close;
		}
		npctalk "......", "", bc_self;
		unittalk getcharid(3), "" + strcharinfo(0) + " : ....", bc_self;
		mes "[Sherine]";
		mes "For some reason, I felt like coming here today.";
		mes "Maybe it was for this.";
		next;
		mes "[Sherine]";
		mes "My silly sister.";
		mes "... As a matter of fact, she cannot sew well.";
		next;
		mes "[Sherine]";
		mes "She can barely sew on a button.";
		mes ".......";
		next;
		mes "[Sherine]";
		mes "One day, she asked me.";
		mes "Would it be better for me to act more like a girl?";
		next;
		mes "[Sherine]";
		mes "Maybe I can just sew on a single button?";
		next;
		mes "[Sherine]";
		mes "So I gave her this sewing box.";
		mes "I don't know who she was thinking about when she took this.";
		next;
		mes "[Sherine]";
		mes ".........";
		mes "The spare button is missing.";
		mes "... Would she have sewn it on well?";
		next;
		mes "[Sherine]";
		mes "I expected this, but I never imagined this thing would come back.";
		mes "... Since it was her choice ... I must accept this ... But ...";
		next;
		mes "Sherine is holding back her tears.";
		mes "Leave her alone.";
		next;
		mes "[Sherine]";
		mes "... Thank ... you ...";
		delitem 25184,1;// Portable_Sewingbox
		setquest 7751;// Portable Sewing Kit
		erasequest 7751;// Portable Sewing Kit
		getexp 100000,100000;
		close;
	case 1:
	case 2:
		mes "[Sherine]";
		mes "... Please leave me alone.";
		mes "... I'm sorry.";
		close;
	}
}
