소스 검색

Follow up 48d8389d27af8400e1048d2c626e259686357865

Capuche 10 년 전
부모
커밋
89d436f53f
2개의 변경된 파일86개의 추가작업 그리고 84개의 파일을 삭제
  1. 3 0
      npc/re/instances/EclageInterior.txt
  2. 83 84
      npc/re/quests/quests_eclage.txt

+ 3 - 0
npc/re/instances/EclageInterior.txt

@@ -212,6 +212,9 @@ OnTouch:
 	monster .@eclmap$,50,60,"Subordinate of the King of Demons",2376,1,.@sndmaster$+"::OnMyMobDead";
 	'mob_summoned = 2;
     end;
+OnInstanceInit:
+	'mob_summoned = 0;
+	end;
 }
 
 1@ecl,57,65,0	script	#event	139,5,5,{

+ 83 - 84
npc/re/quests/quests_eclage.txt

@@ -5198,7 +5198,7 @@ OnTouch:
 		mes "that I am considering right now...";
 		mes "First of all..";
 		next;
-		if (checkquest(9240) == 1 || checkquest(9241) == 1 || checkquest(9242) == 1 || checkquest(9243) == 1) {
+		if (isbegin_quest(9240) == 1 || isbegin_quest(9241) == 1 || isbegin_quest(9242) == 1 || isbegin_quest(9243) == 1) {
 			mes "[" + strcharinfo(0) + "]";
 			mes "The likely suspect is...";
 			mes "A person with short, red hair.";
@@ -5207,7 +5207,7 @@ OnTouch:
 			mes "has a familiar face...";
 			next;
 			mes "[" + strcharinfo(0) + "]";
-			if (checkquest(9240) == 1 || checkquest(9242) == 1){
+			if (isbegin_quest(9240) == 1 || isbegin_quest(9242) == 1){
 				mes "I thought the daughter discovered";
 				mes "me first but Rosa was already";
 				mes "in the house by then.";
@@ -5219,7 +5219,7 @@ OnTouch:
 				mes "the house.";
 				mes "The house was in much disarray";
 			}
-			else if (checkquest(9241) == 1 || checkquest(9243) == 1) {
+			else if (isbegin_quest(9241) == 1 || isbegin_quest(9243) == 1) {
 				mes "The daughter told me that ";
 				mes "she saw Balumin passing";
 				mes "by the house...";
@@ -5233,7 +5233,7 @@ OnTouch:
 			}
 			mes "And...";
 		}
-		else if (checkquest(9244) == 1 || checkquest(9245) == 1 ||checkquest(9246) == 1 || checkquest(9247) == 1){
+		else if (isbegin_quest(9244) == 1 || isbegin_quest(9245) == 1 ||isbegin_quest(9246) == 1 || isbegin_quest(9247) == 1){
 			mes "[" + strcharinfo(0) + "]";
 			mes "Dames came back from meeting with a friend..";
 			mes "The friend is nice.";
@@ -5257,7 +5257,7 @@ OnTouch:
 			}
 			mes "And..";
 		}
-		else if (checkquest(9248) == 1 || checkquest(9249) == 1 ||checkquest(9250) == 1 || checkquest(9251) == 1){
+		else if (isbegin_quest(9248) == 1 || isbegin_quest(9249) == 1 ||isbegin_quest(9250) == 1 || isbegin_quest(9251) == 1){
 			mes "[" + strcharinfo(0) + "]";
 			mes "Rosa was coming back from shopping.";
 			mes "Since I was lying unconscious";
@@ -5932,7 +5932,7 @@ ecl_in04,77,104,5	script	Mother Rosa#eclage	520,{
 		mes "that our house would be robbed!";
 	}
 	else if (ep14_2_detect == 2) {
-		if (checkquest(9228) == 1) {
+		if (isbegin_quest(9228) == 1) {
 			mes "[" + strcharinfo(0) + "]";
 			mes "As you may have heard, to figure out the thief responsible for this,";
 			mes "I will begin my interview with you.";
@@ -6317,7 +6317,7 @@ ecl_fild01,98,299,5	script	Balumin#eclage	461,{
 		mes "Come back to me later.";
 	}
 	else if (ep14_2_detect == 6) {
-		if (checkquest(9232) == 1) {
+		if (isbegin_quest(9232) == 1) {
 			if (checkquest(9259,HUNTING) == 1) {
 				mes "[Balumin]";
 				mes "I'm sorry, but";
@@ -6439,7 +6439,7 @@ eclage,222,131,3	script	Wandering Merchant#ecl	807,{
 		mes "stench of alcohol -";
 	}
 	else if (ep14_2_detect == 7) {
-		if (checkquest(9248) == 1) {
+		if (isbegin_quest(9248) == 1) {
 			mes "- Upon getting closer,";
 			mes "I smell a terrible";
 			mes "stench of alcohol -";
@@ -8014,7 +8014,7 @@ ecl_in02,160,36,4	script	Eirinn#nk	441,{
 		setquest 4254;
 		close;
 	}
-	else if (checkquest(4254) == 1) {
+	else if (isbegin_quest(4254) == 1) {
 		mes "[Eirinn]";
 		mes "Oww, my stomach hurts!!";
 		mes "Aren't Green Herbs so common?";
@@ -8063,7 +8063,7 @@ ecl_in02,160,36,4	script	Eirinn#nk	441,{
 			emotion e_what;
 			close;
 		}
-		else if (checkquest(4257) == 1) {
+		else if (isbegin_quest(4257) == 1) {
 			if (checkquest(4258) == 2) {
 				mes "[Eirinn]";
 				mes "Cecilia is so random";
@@ -8092,13 +8092,13 @@ ecl_in02,160,36,4	script	Eirinn#nk	441,{
 			close;
 		}
 		else if (checkquest(4258) == 2) {
-			if ((checkquest(4260) == -1) || (checkquest(4260) == 1)) {
+			if (checkquest(4260) < 2) {
 				mes "[Eirinn]";
 				mes "Is Cecilia investing something?";
 				mes "Right? Isn't she? Am I right? Right?";
 				close;
 			}
-			else if (checkquest(4260) == 2) {
+			else {
 				if (checkquest(4261) == -1) {
 					mes "[Eirinn]";
 					mes "Well, then...";
@@ -8129,7 +8129,7 @@ ecl_in02,160,36,4	script	Eirinn#nk	441,{
 					setquest 4261;
 					close;
 				}
-				else if (checkquest(4261) == 1) {
+				else if (isbegin_quest(4261) == 1) {
 					if (!countitem(905) || !countitem(511)) {
 						mes "[Eirinn]";
 						mes "Are you done yet?";
@@ -8183,7 +8183,7 @@ ecl_in02,160,36,4	script	Eirinn#nk	441,{
 						getitem 6563,1; //Weeds
 						close;
 					}
-					else if (checkquest(4262) == 1) {
+					else if (isbegin_quest(4262) == 1) {
 						mes "[Eirinn]";
 						mes "Have we...have we succeeded at last?!";
 						mes "Now, go plant this secretly around Dominic's bookshelves.";
@@ -8256,7 +8256,7 @@ ecl_in03,175,69,4	script	Bourbon#nk	444,{
 		setquest 4255;
 		close;
 	}
-	else if (checkquest(4255) == 1) {
+	else if (isbegin_quest(4255) == 1) {
 		if (checkquest(4255,HUNTING) == -1) {
 			mes "[Bourbon]";
 			mes "Uh oh, you... didn't you promise to give a good spanking to the little guys outside?";
@@ -8316,7 +8316,7 @@ ecl_in03,175,69,4	script	Bourbon#nk	444,{
 			mes "Who would have done this to me...";
 			close;
 		}
-		else if (checkquest(4257) == 1) {
+		else if (isbegin_quest(4257) == 1) {
 			if (checkquest(4259) == 2) {
 				mes "[Bourbon]";
 				mes "All of a sudden, people from Midgard started to visit Eclage more and more.";
@@ -8339,13 +8339,13 @@ ecl_in03,175,69,4	script	Bourbon#nk	444,{
 			close;
 		}
 		else if (checkquest(4257) == 2) {
-			if ((checkquest(4260) == -1) || (checkquest(4260) == 1)) {
+			if (checkquest(4260) < 2) {
 				mes "[Bourbon]";
 				mes "Hmm...I smell it...";
 				mes "I smell something fun going on here...";
 				close;
 			}
-			else if (checkquest(4260) == 2) {
+			else {
 				if (checkquest(4263) == -1) {
 					mes "[Bourbon]";
 					mes "A real gentleman should give what he has received!";
@@ -8391,7 +8391,7 @@ ecl_in03,175,69,4	script	Bourbon#nk	444,{
 					setquest 4263;
 					close;
 				}
-				else if (checkquest(4263) == 1) {
+				else if (isbegin_quest(4263) == 1) {
 					if (countitem(1016) < 2) {
 						mes "[Bourbon]";
 						mes "Wooo, I'm on fire!!";
@@ -8444,7 +8444,7 @@ ecl_in03,175,69,4	script	Bourbon#nk	444,{
 						mes "It'll become a rat and start moving around him.";
 						close;
 					}
-					else if (checkquest(4264) == 1) {
+					else if (isbegin_quest(4264) == 1) {
 						mes "[Bourbon]";
 						mes "Throw what you received in front of Dominic.";
 						mes "It'll become a rat and start moving around him.";
@@ -8578,7 +8578,7 @@ ecl_in01,26,88,5	script	Cecilia#nk	440,{
 		mes "You'll be able to find them easily around here.";
 		close;
 	}
-	else if (checkquest(4256) == 1) {
+	else if (isbegin_quest(4256) == 1) {
 		mes "[Cecilia]";
 		mes "You didn't get caught, right?";
 		mes "Let's see what you have then...";
@@ -8655,7 +8655,7 @@ ecl_in01,26,88,5	script	Cecilia#nk	440,{
 			setquest 4259;
 			close;
 		}
-		else if (checkquest(4257) == 1) {
+		else if (isbegin_quest(4257) == 1) {
 			.@que_san = checkquest(4258) + checkquest(4259);
 			if (.@que_san != 4) {
 				mes "[Cecilia]";
@@ -8702,7 +8702,7 @@ ecl_in01,26,88,5	script	Cecilia#nk	440,{
 				mes "He might know...or...";
 				close;
 			}
-			else if (checkquest(4260) == 1) {
+			else if (isbegin_quest(4260) == 1) {
 				mes "[Cecilia]";
 				mes "Oh, did you visit Dominic by any chance?";
 				mes "Dominic takes care of the bookshelves and I feel like he might know something.";
@@ -8801,7 +8801,7 @@ ecl_in01,80,77,5	script	Dominic#nk	445,3,3,{
 		mes "I won't stop you from walking around in Eclage but, don't bother me you outsider!";
 		close;
 	}
-	else if (checkquest(4260) == 1) {
+	else if (isbegin_quest(4260) == 1) {
 		mes "[Dominic]";
 		mes "Bah, tell them if you want to!";
 		mes "I'm not scared at all.";
@@ -8816,7 +8816,7 @@ ecl_in01,80,77,5	script	Dominic#nk	445,3,3,{
 	}
 
 OnTouch:
-	if (checkquest(4264) == 1) {
+	if (isbegin_quest(4264) == 1) {
 		mes "- Do you want to throw the rat tail? -";
 		next;
 		if (select("No.:Yes.")==1) {
@@ -8842,12 +8842,11 @@ OnTouch:
 ecl_in01,79,84,0	script	#kusa	139,3,3,{
 	end;
 OnTouch:
-	if (checkquest(4262) == 1) {
+	if (isbegin_quest(4262) == 1) {
 		mes "- You were told to plant weeds. -";
 		next;
-		if (select("Don't do it.:Do it.")==1) {
+		if (select("Don't do it.:Do it.")==1)
 			close;
-		}
 		mes "- Plant weeds secretly . -";
 		delitem 6563,1; //Weeds
 		completequest 4262;
@@ -9263,7 +9262,7 @@ ecl_in01,83,81,4	script	Midgard Exploration#bok4	111,{
 }
 
 ecl_in01,82,78,4	script	Magazine#01	111,{
-	if ((checkquest(4265) == 1) || (checkquest(4265) == -1)) {
+	if (checkquest(4265) < 2) {
 		mes "- I saw a book and stretched my hand out to reach for it. I think it's about Midgard. -";
 		next;
 		mes "[Dominic]";
@@ -12370,8 +12369,8 @@ ecl_fild01,190,93,5	script	Fili#1	617,1,1,{
 					mes "It seems like the earth is feeling well right now. A little break would be nice.";
 					close;
 				}
-				if (checkquest(13050) == 1) {
-					if (checkquest(13051) == 1 || checkquest(13052) == 1 || checkquest(13053) == 1 || checkquest(13054) == 1) {
+				if (isbegin_quest(13050) == 1) {
+					if (isbegin_quest(13051) == 1 || isbegin_quest(13052) == 1 || isbegin_quest(13053) == 1 || isbegin_quest(13054) == 1) {
 						mes "[Fili]";
 						mes "There are four in the work group. Don't forget to tell everyone.";
 						close;
@@ -12418,8 +12417,8 @@ ecl_fild01,190,93,5	script	Fili#1	617,1,1,{
 					emotion e_dots;
 					close;
 				}
-				if (checkquest(13055) == 1) {
-					if (checkquest(13056) == 1 || checkquest(13057) == 1 || checkquest(13058) == 1) {
+				if (isbegin_quest(13055) == 1) {
+					if (isbegin_quest(13056) == 1 || isbegin_quest(13057) == 1 || isbegin_quest(13058) == 1) {
 						mes "[Fili]";
 						mes "There are three adventurers in the tower still. I understand they have their own reasons, but I can't help worrying about them.";
 						next;
@@ -12459,8 +12458,8 @@ ecl_fild01,190,93,5	script	Fili#1	617,1,1,{
 		}
 	}
 	else if (ep14_2_nines > 1) {
-		if (checkquest(13055) == 1) {
-			if (checkquest(13056) == 1 || checkquest(13057) == 1 || checkquest(13058) == 1) {
+		if (isbegin_quest(13055) == 1) {
+			if (isbegin_quest(13056) == 1 || isbegin_quest(13057) == 1 || isbegin_quest(13058) == 1) {
 				mes "[Fili]";
 				mes "Are the adventurers doing okay? Don't forget to check all three of them~";
 				close;
@@ -12536,8 +12535,8 @@ ecl_fild01,190,93,5	script	Fili#1	617,1,1,{
 		}
 	}
 	else if (ep14_2_nines == 1) {
-		if (checkquest(13050) == 1) {
-			if ((checkquest(13051) == 1) || (checkquest(13052) == 1) || (checkquest(13053) == 1) || (checkquest(13054) == 1)) { 
+		if (isbegin_quest(13050) == 1) {
+			if ((isbegin_quest(13051) == 1) || (isbegin_quest(13052) == 1) || (isbegin_quest(13053) == 1) || (isbegin_quest(13054) == 1)) { 
 				mes "[Fili]";
 				mes "Four Laphines are preparing to work today. Make sure you tell every one of them.";
 				next;
@@ -12632,7 +12631,7 @@ ecl_fild01,222,290,5	script	Singing Laphine#1	436,{
 			emotion e_spin;
 			close;
 		}
-		if (checkquest(13050) == 1 && checkquest(13051) == 1) {
+		if (isbegin_quest(13050) == 1 && isbegin_quest(13051) == 1) {
 			mes "[Singing Laphine]";
 			mes "I suppose you came to tell me to start working? Don't worry, my voice will touch the earth~";
 			emotion e_ho;
@@ -12642,7 +12641,7 @@ ecl_fild01,222,290,5	script	Singing Laphine#1	436,{
 			erasequest 13051;
 			close;
 		}
-		if (checkquest(13050) == 1) {
+		if (isbegin_quest(13050) == 1) {
 			mes "[Singing Laphine]";
 			mes "I'm singing for flowers and the earth.";
 			close;
@@ -12652,7 +12651,7 @@ ecl_fild01,222,290,5	script	Singing Laphine#1	436,{
 		close;
 	}
 	else if (ep14_2_nines==1){
-		if (checkquest(13050) == 1 && checkquest(13051) == 1) {
+		if (isbegin_quest(13050) == 1 && isbegin_quest(13051) == 1) {
 			mes "[Singing Laphine]";
 			mes "Did the great Fili send you? Man, he's got skills for sure! I shall start singing then!?";
 			next;
@@ -12661,7 +12660,7 @@ ecl_fild01,222,290,5	script	Singing Laphine#1	436,{
 			erasequest 13051;
 			close;
 		}
-		if (checkquest(13050) == 1) {
+		if (isbegin_quest(13050) == 1) {
 			mes "[Singing Laphine]";
 			mes "I'm singing for flowers and the earth.";
 			close;
@@ -12687,13 +12686,13 @@ ecl_fild01,83,263,5	script	Watering Laphine#1	444,{
 			mes "I think this is enough for the day. I have to take a break and draw water, too. Hehe~!";
 			close;
 		}
-		else if ((checkquest(13050) == 1) && (checkquest(13052) == 1)) { 
+		else if ((isbegin_quest(13050) == 1) && (isbegin_quest(13052) == 1)) { 
 			mes "[Watering Laphine]";
 			mes "I'll water these dying flowers and grasses again. This brings them back to life! Hehe~!";
 			erasequest 13052;
 			close;
 		}
-		if (checkquest(13050) == 1) {
+		if (isbegin_quest(13050) == 1) {
 			mes "[Watering Laphine]";
 			mes "I'm watering here and there. You look so tired! Should I water you, too?";
 			close;
@@ -12704,13 +12703,13 @@ ecl_fild01,83,263,5	script	Watering Laphine#1	444,{
 		
 	}
 	else if (ep14_2_nines == 1){
-		if ((checkquest(13050) == 1) && (checkquest(13052) == 1)) {
+		if ((isbegin_quest(13050) == 1) && (isbegin_quest(13052) == 1)) {
 			mes "[Watering Laphine]";
 			mes "Oh, they started working? I'll start watering the earth then. I mean, sometimes we Laphines can be practical, too!";
 			erasequest 13052;
 			close;
 		}
-		if (checkquest(13050) == 1) {
+		if (isbegin_quest(13050) == 1) {
 			mes "[Watering Laphine]";
 			mes "Do you hear the sound of grasses and flowers coming alive again? It's all because I watered them diligently! Hehe~!";
 			close;
@@ -12737,14 +12736,14 @@ ecl_fild01,163,196,5	script	Dancing Laphine#1	438,{
 			mes "I would love to see the great Fili next time...";
 			close;
 		}
-		if ((checkquest(13050) == 1) && (checkquest(13053) == 1)) { 
+		if ((isbegin_quest(13050) == 1) && (isbegin_quest(13053) == 1)) { 
 			mes "[Dancing Laphine]";
 			mes "Ah, it's you again! You're so insensitive. Anyway, you're here to tell me to start working, right? I see, I see. You can go now.";
 			emotion e_pif;
 			erasequest 13053;
 			close;
 		}
-		if (checkquest(13050) == 1) {
+		if (isbegin_quest(13050) == 1) {
 			mes "[Dancing Laphine]";
 			mes "I can't dance well when adventurers like you are watching! Don't worry and just go~ I won't slack off on the job, okay?";
 			close;
@@ -12754,7 +12753,7 @@ ecl_fild01,163,196,5	script	Dancing Laphine#1	438,{
 		close;
 	}
 	else if (ep14_2_nines == 1) {
-		if ((checkquest(13050) == 1) && (checkquest(13053) == 1)) {
+		if ((isbegin_quest(13050) == 1) && (isbegin_quest(13053) == 1)) {
 			mes "[Dancing Laphine]";
 			mes "You mean the great Fili said to start the work? But why would he ask you to tell us?";
 			next;
@@ -12774,7 +12773,7 @@ ecl_fild01,163,196,5	script	Dancing Laphine#1	438,{
 			erasequest 13053;
 			close2;
 		}
-		if (checkquest(13050) == 1) {
+		if (isbegin_quest(13050) == 1) {
 			mes "[Dancing Laphine]";
 			mes "I would really love to see the great Fili next time.";
 			close;
@@ -12801,14 +12800,14 @@ ecl_fild01,237,181,5	script	Cute Laphine#1	446,{
 			close;
 		}
 		else {
-			if ((checkquest(13050) == 1) && (checkquest(13054) == 1)) {
+			if ((isbegin_quest(13050) == 1) && (isbegin_quest(13054) == 1)) {
 				mes "[Cute Laphine]";
 				mes "You're new, right? Tell him I'll start the work.";
 				emotion e_heh;
 				erasequest 13054;
 				close;
 			}
-			if (checkquest(13050) == 1) {
+			if (isbegin_quest(13050) == 1) {
 				mes "[Cute Laphine]";
 				mes "You might think smiling to the earth always is nothing, but it's not that easy actually. I mean, it's hard to be cute like me in the first place~";
 				emotion e_heh;
@@ -12821,7 +12820,7 @@ ecl_fild01,237,181,5	script	Cute Laphine#1	446,{
 		}
 	}
 	else if (ep14_2_nines == 1) {
-		if ((checkquest(13050) == 1) && (checkquest(13054) == 1)) {
+		if ((isbegin_quest(13050) == 1) && (isbegin_quest(13054) == 1)) {
 			mes "[Cute Laphine]";
 			mes "What brings you here?";
 			next;
@@ -12889,7 +12888,7 @@ OnTouch:
 			mes "Anyway, this isn't an ordinary place. This place, it's filled with newsworthy stories!";
 			close;
 		}
-		if ((checkquest(13055) == 1) && (checkquest(13056) == 1)) {
+		if ((isbegin_quest(13055) == 1) && (isbegin_quest(13056) == 1)) {
 			.@npc_uin = atoi( charat( strnpcinfo(0), getstrlen(strnpcinfo(0))-1 ) );
 			mes "[Rosi]";
 			mes "It's you again! Oh, is it because I'm a woman? Let me make it clear here. I'm going nowhere until I get a news item.";
@@ -12904,7 +12903,7 @@ OnTouch:
 			}
 			end;
 		}
-		else if (checkquest(13055) == 1) {
+		else if (isbegin_quest(13055) == 1) {
 			mes "[Rosi]";
 			mes "Gosh, you're just bugging me. Don't worry, I can take care of myself just fine!";
 			close;
@@ -12915,7 +12914,7 @@ OnTouch:
 		
 	}
 	else if (ep14_2_nines == 2) {
-		if ((checkquest(13055) == 1) && (checkquest(13056) == 1)) {
+		if ((isbegin_quest(13055) == 1) && (isbegin_quest(13056) == 1)) {
 			.@npc_uin = atoi( charat( strnpcinfo(0), getstrlen(strnpcinfo(0))-1 ) );
 			mes "[Rosi]";
 			mes "Oh my gosh! You scared me! What are you doing here?";
@@ -12943,7 +12942,7 @@ OnTouch:
 			}
 			end;
 		}
-		if (checkquest(13055) == 1) {
+		if (isbegin_quest(13055) == 1) {
 			mes "[Rosi]";
 			mes "Don't worry, I'll get the biggest scoop of the year!";
 			close;
@@ -12981,7 +12980,7 @@ OnTouch:
 			mes "Don't take me lightly just because I'm young. I've already been to every part of Midgard continent. I'm a real adventurer, you know.";
 			close;
 		}
-		if ((checkquest(13055) == 1) && (checkquest(13057) == 1)) {
+		if ((isbegin_quest(13055) == 1) && (isbegin_quest(13057) == 1)) {
 			.@npc_uin = atoi( charat( strnpcinfo(0), getstrlen(strnpcinfo(0))-1 ) );
 			mes "[Euncheong]";
 			mes "You really shouldn't worry about me. I'll go out when I'm done exploring...Tell him I'm doing okay.";
@@ -12999,7 +12998,7 @@ OnTouch:
 			}
 			end;
 		}
-		if (checkquest(13055) == 1) {
+		if (isbegin_quest(13055) == 1) {
 			mes "[Euncheong]";
 			mes "You want my autograph? If not, please don't interrupt.";
 			close;
@@ -13009,7 +13008,7 @@ OnTouch:
 		close;
 	}
 	else if (ep14_2_nines == 2) {
-		if ((checkquest(13055) == 1) && (checkquest(13057) == 1)){
+		if ((isbegin_quest(13055) == 1) && (isbegin_quest(13057) == 1)){
 			.@npc_uin = atoi( charat( strnpcinfo(0), getstrlen(strnpcinfo(0))-1 ) );
 			mes "[Euncheong]";
 			mes "Are you an adventurer, too? Don't you dare cut in here. I was here first.";
@@ -13043,7 +13042,7 @@ OnTouch:
 			}
 			end;
 		}
-		if (checkquest(13055) == 1) {
+		if (isbegin_quest(13055) == 1) {
 			mes "[Euncheong]";
 			mes "Don't worry about me. I'll be a great adventurer!";
 			close;
@@ -13141,7 +13140,7 @@ ecl_tdun03,68,80,3	script	New Oz#1	4_M_NEWOZ,1,1,{
 					cutin "",255;
 					end;
 				}
-				if (checkquest(13061) == 1) {
+				if (isbegin_quest(13061) == 1) {
 					if ((countitem(517) > 9) && (countitem(6558) > 9)) {
 						cutin "nines02",2;
 						mes "[New Oz]";
@@ -13294,7 +13293,7 @@ ecl_tdun03,68,80,3	script	New Oz#1	4_M_NEWOZ,1,1,{
 					cutin "",255;
 					end;
 				}
-				if (checkquest(13065) == 1) {
+				if (isbegin_quest(13065) == 1) {
 					if (countitem(6560) > 19) {
 						cutin "nines02",2;
 						mes "[New Oz]";
@@ -13359,7 +13358,7 @@ ecl_tdun03,68,80,3	script	New Oz#1	4_M_NEWOZ,1,1,{
 		}
 	}
 	else if (ep14_2_nines > 4) {
-		if (checkquest(13065) == 1) {
+		if (isbegin_quest(13065) == 1) {
 			if (countitem(6560) > 19) {
 				cutin "nines02",2;
 				mes "[New Oz]";
@@ -13545,7 +13544,7 @@ ecl_tdun03,68,80,3	script	New Oz#1	4_M_NEWOZ,1,1,{
 		end;
 	}
 	else if (ep14_2_nines > 2) {
-		if (checkquest(13061) == 1) {
+		if (isbegin_quest(13061) == 1) {
 			if ((countitem(517) > 9) && (countitem(6558) > 9)) {
 				cutin "nines02",2;
 				mes "[New Oz]";
@@ -13617,7 +13616,7 @@ ecl_tdun03,68,80,3	script	New Oz#1	4_M_NEWOZ,1,1,{
 		end;
 	}
 	else if (ep14_2_nines == 2) {
-		if ((checkquest(13055) == 1) && (checkquest(13058) == 1)) {
+		if ((isbegin_quest(13055) == 1) && (isbegin_quest(13058) == 1)) {
 			cutin "nines04",2;
 			mes "[New Oz]";
 			mes "Are you a...human? Cough cough.";
@@ -13638,7 +13637,7 @@ ecl_tdun03,68,80,3	script	New Oz#1	4_M_NEWOZ,1,1,{
 			close2;
 		}
 		else {
-			if (checkquest(13055) == 1) {
+			if (isbegin_quest(13055) == 1) {
 				cutin "nines04",2;
 				mes "[New Oz]";
 				mes "It doesn't have to be delicious...just give me any food...I feel so weak that I can't even walk.";
@@ -14727,8 +14726,8 @@ ecl_in01,32,52,5	script	Traveler Fome#tl01	515,3,3,{
 		mes "The fact that you made it here actually seems just short of a miracle...";
 		close;
 	}
-	.@totaltemp =  checkquest(7424) + checkquest(7424) + checkquest(7425) + checkquest(7426);
-	.@total =  checkquest(7411) + checkquest(7412) + checkquest(7413);
+	.@totaltemp =  isbegin_quest(7423) + isbegin_quest(7424) + isbegin_quest(7425) + isbegin_quest(7426);
+	.@total =  isbegin_quest(7411) + isbegin_quest(7412) + isbegin_quest(7413);
 	if (ep14_2_mylord < 2 || (ep14_2_mylord == 2 && checkquest(7411) != 1)) {
 		mes "[Fome]";
 		mes "Come here and have a talk with us.";
@@ -14824,7 +14823,7 @@ ecl_in01,32,52,5	script	Traveler Fome#tl01	515,3,3,{
 		close;
 	}
 	else if (ep14_2_mylord == 2) {
-		if (checkquest(7411) == 1) {
+		if (isbegin_quest(7411) == 1) {
 			if (.@total == 3) {
 				hideoffnpc "Eclage Guard#tl01";
 				cutin "minuel01",4;
@@ -15049,7 +15048,7 @@ ecl_in01,32,51,7	script	Traveler Litrip#tl02	513,{
 		close;
 	}
 	else if (ep14_2_mylord == 2) {
-		if (checkquest(7412) == 1) {
+		if (isbegin_quest(7412) == 1) {
 			if (.@total == 3) {
 				hideoffnpc "Eclage Guard#tl01";
 				cutin "minuel01",4;
@@ -15238,7 +15237,7 @@ ecl_in01,35,51,3	script	Traveler Chiba#tl03	514,{
 		close;
 	}
 	else if (ep14_2_mylord == 2) {
-		if (checkquest(7413) == 1) {
+		if (isbegin_quest(7413) == 1) {
 			if (.@total == 3) {
 				hideoffnpc "Eclage Guard#tl01";
 				cutin "minuel01",4;
@@ -15548,7 +15547,7 @@ ecl_in01,82,70,3	script	Eclage Guard#tl02	447,{
 					end;
 			}
 		}
-		else if (checkquest(7418) == 1) {
+		else if (isbegin_quest(7418) == 1) {
 			if ((countitem(6032) < 5) || (countitem(6023) < 5) || (countitem(944) < 5)) {
 				mes "[Minuel]";
 				mes "I asked you for 5 Horns of Hillslion, 5 Mystic Horns, and 5 Horse's Hooves.";
@@ -15661,10 +15660,10 @@ ecl_in01,82,70,3	script	Eclage Guard#tl02	447,{
 			mes "Of course it's just my guess...";
 			mes "But I'm glad if this could help you by any chance.";
 			cutin "minuel02",2;
-			if (checkquest(7438) == 1) {
+			if (isbegin_quest(7438) == 1) {
 				erasequest 7438;
 			}
-			if (checkquest(7439) == 1) {
+			if (isbegin_quest(7439) == 1) {
 				erasequest 7439;
 			}
 			setquest 7440;
@@ -15699,7 +15698,7 @@ ecl_in01,82,70,3	script	Eclage Guard#tl02	447,{
 			cutin "",255;
 			end;
 		}
-		if (checkquest(7428) == 1) {
+		if (isbegin_quest(7428) == 1) {
 			if ((countitem(6032) < 10) || (countitem(6023) < 10) || (countitem(944) < 10)) {
 				mes "[Minuel]";
 				mes "You need to find 10 Horns of Hillslion, 10 Mystic Horns, and 10 Horse's Hooves. ";
@@ -17121,7 +17120,7 @@ ecl_in03,41,90,3	script	Mayor Jun Kardui#tl01	624,{
 		mes "On the surface, there is no room for doubt. ";
 		mes "He sponsored a scholar by chance, whom he happened to meet by another chance.";
 		next;
-		if (checkquest(7446) == 1) {
+		if (isbegin_quest(7446) == 1) {
 			select("When I told him everything...");
 			mes "[Kardui]";
 			mes "Did you tell him that the scholar is Avant?";
@@ -17243,7 +17242,7 @@ ecl_in03,41,90,3	script	Mayor Jun Kardui#tl01	624,{
 		close2;
 	}
 	else if ((ep14_2_mylord == 28) || (ep14_2_mylord == 29)) {
-		if (checkquest(7449) == 1) {
+		if (isbegin_quest(7449) == 1) {
 			mes "[Kardui]";
 			mes "Gosh, it's getting even more interesting!";
 			mes "Why on earth is he doing that?";
@@ -17648,7 +17647,7 @@ eclage,112,40,3	script	Eclage Guard Leo#tl	461,{
 					break;
 			}
 		}
-		else if (checkquest(7420) == 1) {
+		else if (isbegin_quest(7420) == 1) {
 			if ((countitem(12344) < 3) || (countitem(12345) < 3)) {
 				mes "[Leo]";
 				mes "I need 3 jars of Pinguicula's pickled fruits and another 3 jars of Luciola's honey jam~";
@@ -17924,7 +17923,7 @@ eclage,112,40,3	script	Eclage Guard Leo#tl	461,{
 		mes "If you don't mind, let's go patrol the area again.";
 		close;
 	}
-	if (checkquest(7432) == 1) {
+	if (isbegin_quest(7432) == 1) {
 		.@hunting =  checkquest(7432,HUNTING);
 		if (.@hunting == 2) {
 			mes "[Leo]";
@@ -18083,7 +18082,7 @@ ecl_fild01,205,86,3	script	Eclage Messenger Roy#tl	461,{
 					close;
 			}
 		}
-		else if (checkquest(7419) == 1) {
+		else if (isbegin_quest(7419) == 1) {
 			if (!countitem(6552)) {
 				mes "[Roy]";
 				mes "Let me explain again.";
@@ -18204,7 +18203,7 @@ ecl_fild01,205,86,3	script	Eclage Messenger Roy#tl	461,{
 		erasequest 7431;
 		close;
 	}
-	if (checkquest(7430) == 1) {
+	if (isbegin_quest(7430) == 1) {
 		if (!countitem(6552)) {
 			mes "[Roy]";
 			mes "Collect the mailbox from the contact officer";
@@ -18274,7 +18273,7 @@ splendide,267,368,3	script	Contact Officer#tl	446,{
 		close;
 	}
 	else if (ep14_2_mylord == 7) {
-		if (checkquest(7419) == 1) {
+		if (isbegin_quest(7419) == 1) {
 			if (countitem(6552)) {
 				mes "[Contact Officer]";
 				mes "Mm...give that box to Roy, please.";
@@ -18305,7 +18304,7 @@ splendide,267,368,3	script	Contact Officer#tl	446,{
 		mes "It's a big problem. I'm getting old because of the stress!";
 		close;
 	}
-	if (checkquest(7430) == 1) {
+	if (isbegin_quest(7430) == 1) {
 		if (countitem(6552) > 0) {
 			mes "[Contact Officer]";
 			mes "Thank you for helping us again. ";
@@ -18730,7 +18729,7 @@ ecl_tdun04,32,35,3	script	Hisie#tlord	623,{
 		close2;
 	}
 	else if (ep14_2_mylord == 18) {
-		if (checkquest(7440) == 1) {
+		if (isbegin_quest(7440) == 1) {
 			cutin "hisie01",0;
 			mes "[Hisie]";
 			mes "Was there any progress?";