summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/quests/bard_quest.txt129
-rw-r--r--npc/quests/bunnyband.txt8
-rw-r--r--npc/quests/cooking_quest.txt60
-rw-r--r--npc/quests/counteragent_mixture.txt12
-rw-r--r--npc/quests/dandelion_request.txt450
-rw-r--r--npc/quests/doomed_swords.txt36
-rw-r--r--npc/quests/doomed_swords_quest.txt26
-rw-r--r--npc/quests/eye_of_hellion.txt86
-rw-r--r--npc/quests/guildrelay.txt218
-rw-r--r--npc/quests/gunslinger_quests.txt100
-rw-r--r--npc/quests/juice_maker.txt40
-rw-r--r--npc/quests/kiel_hyre_quest.txt192
-rw-r--r--npc/quests/lvl4_weapon_quest.txt340
-rw-r--r--npc/quests/ninja_quests.txt33
-rw-r--r--npc/quests/obb_quest.txt72
-rw-r--r--npc/quests/okolnir.txt538
-rw-r--r--npc/quests/partyrelay.txt290
-rw-r--r--npc/quests/quests_13_1.txt496
-rw-r--r--npc/quests/quests_13_2.txt261
-rw-r--r--npc/quests/quests_airship.txt152
-rw-r--r--npc/quests/quests_alberta.txt60
-rw-r--r--npc/quests/quests_amatsu.txt132
-rw-r--r--npc/quests/quests_ayothaya.txt126
-rw-r--r--npc/quests/quests_comodo.txt46
-rw-r--r--npc/quests/quests_ein.txt250
-rw-r--r--npc/quests/quests_geffen.txt72
-rw-r--r--npc/quests/quests_gonryun.txt172
-rw-r--r--npc/quests/quests_hugel.txt363
-rw-r--r--npc/quests/quests_izlude.txt2
-rw-r--r--npc/quests/quests_juperos.txt250
-rw-r--r--npc/quests/quests_lighthalzen.txt464
-rw-r--r--npc/quests/quests_louyang.txt244
-rw-r--r--npc/quests/quests_morocc.txt362
-rw-r--r--npc/quests/quests_moscovia.txt775
-rw-r--r--npc/quests/quests_nameless.txt578
-rw-r--r--npc/quests/quests_niflheim.txt52
-rw-r--r--npc/quests/quests_prontera.txt130
-rw-r--r--npc/quests/quests_rachel.txt202
-rw-r--r--npc/quests/quests_umbala.txt98
-rw-r--r--npc/quests/quests_veins.txt192
-rw-r--r--npc/quests/quests_yuno.txt56
-rw-r--r--npc/quests/thana_quest.txt156
-rw-r--r--npc/quests/the_sign_quest.txt1003
43 files changed, 4622 insertions, 4702 deletions
diff --git a/npc/quests/bard_quest.txt b/npc/quests/bard_quest.txt
index 508284350..477bc9c3e 100644
--- a/npc/quests/bard_quest.txt
+++ b/npc/quests/bard_quest.txt
@@ -28,8 +28,8 @@
//============================================================
geffen,132,38,3 script Bard#2 1_M_BARD,{
- if (BARD_Q > 5) set gef_bard_q,BARD_Q;
- set @name$,strcharinfo(0);
+ if (BARD_Q > 5) gef_bard_q = BARD_Q;
+ @name$ = strcharinfo(0);
if (gef_bard_q > 29) {
cutin "bard_eland02",2;
mes "[Errende]";
@@ -123,7 +123,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
next;
specialeffect2 EF_RESURRECTION;
mes "^3355FFWhile listening to his song, you feel at ease, and your thoughts become clearer. You believe that you see the vision of an angel, and you gain some experience points.^000000";
- set gef_bard_q, gef_bard_q + 16; //30,31
+ gef_bard_q += 16; //30,31
if (checkre(3)) {
if (BaseLevel < 56) getexp 450,0;
else if ((BaseLevel > 55) && (BaseLevel < 61)) getexp 550,0;
@@ -196,7 +196,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "There you go. Now, you may go to Mr. Sketzi. Remember, you must";
mes "show him the Seal of Friendship.";
mes "Good luck, now~";
- set gef_bard_q,11;
+ gef_bard_q = 11;
goto L_End;
} else if (gef_bard_q == 20) {
@@ -239,7 +239,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "[Errende]";
mes "If you will let me, I will tell you of my travels. By your leave,";
mes "I will play a song that will help you forget your troubles.";
- set gef_bard_q,21;
+ gef_bard_q = 21;
callsub S_StorySong,2;
} else {
@@ -291,7 +291,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
next;
mes "[Errende]";
mes "I beseech you, if you meet him, please ask him of the 8th love and inform me of that lyric immediately~";
- set gef_bard_q,22;
+ gef_bard_q = 22;
}
goto L_End;
@@ -332,7 +332,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
if(select("No, thanks.:I can, so stop crying.")==1) {
mes "[Errende]";
mes "Ah, I guess it was too much to ask of you. My apologies. Don't worry about it, I'll find out some other way.";
- set gef_bard_q,25;
+ gef_bard_q = 25;
} else {
mes "[Errende]";
@@ -345,7 +345,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "I'll pay you back somehow!";
mes "Thank you for your trouble";
mes "in advance~";
- set gef_bard_q,24;
+ gef_bard_q = 24;
}
goto L_End;
@@ -378,7 +378,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "What was the line...?";
mes "How could I forget";
mes "the 8th love?";
- set gef_bard_q,26;
+ gef_bard_q = 26;
goto L_End;
}
@@ -400,7 +400,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "No love,";
mes "No hope";
mes "No....^000000";
- set .@random,rand(1,50);
+ .@random = rand(1,50);
next;
if (.@random > 27 && .@random < 37 ) {
@@ -418,7 +418,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
next;
mes "[Errende]";
mes "I promise to pay you back as best as I can! I'll wait for you here until you return!";
- set gef_bard_q,24;
+ gef_bard_q = 24;
} else {
cutin "bard_eland04",2;
mes "^3355FFYou ignore his";
@@ -554,7 +554,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
if(select("No, thanks.:I can, so stop crying.")==1) {
mes "[Errende]";
mes "Ah, I guess it was too much to ask of you. My apologies. Don't worry about it, I'll find out some other way.";
- set gef_bard_q,25;
+ gef_bard_q = 25;
} else {
mes "[Errende]";
mes "Are you serious?";
@@ -566,20 +566,20 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "I'll pay you back somehow!";
mes "Thank you for your trouble";
mes "in advance~";
- set gef_bard_q,24;
+ gef_bard_q = 24;
}
goto L_End;
} else if (.@inputstr$ == "Gunther") {
mes "[Errende]";
mes "Gunther? I don't think he would do this. He always puts lines in his songs like 'doubleharmony for you.' Plus, he's too silly for that.";
- set gef_bard_q,26;
+ gef_bard_q = 26;
goto L_End;
} else if (.@inputstr$ == "Gunther Doubleharmony") {
mes "[Errende]";
mes "Gunther? I don't think he would do this. He always puts lines in his songs like 'doubleharmony for you.' Plus, he's too silly for that.";
- set gef_bard_q,26;
+ gef_bard_q = 26;
goto L_End;
} else if (.@inputstr$ == "Errende") {
@@ -589,7 +589,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "If I did, why would";
mes "I not know what this";
mes "song is about?";
- set gef_bard_q,26;
+ gef_bard_q = 26;
goto L_End;
} else {
@@ -602,7 +602,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "What was the line...?";
mes "How could I forget";
mes "the 8th love?";
- set gef_bard_q,26;
+ gef_bard_q = 26;
goto L_End;
}
@@ -651,7 +651,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
next;
mes "[Errende]";
mes "I beseech you, if you meet him, please ask him of the 8th love and inform me of that lyric immediately~";
- set gef_bard_q,2;
+ gef_bard_q = 2;
}
goto L_End;
@@ -688,14 +688,14 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
if(select("No, thanks.:I can, so stop crying.")==1) {
mes "[Errende]";
mes "Ah, I guess it was too much to ask of you. My apologies. Don't worry about it, I'll find out some other way.";
- set gef_bard_q,5;
+ gef_bard_q = 5;
} else {
mes "[Errende]";
mes "Are you serious? Oh, thank you so much! You must be an angel! An angel that truly understands the heart of a poet!";
next;
mes "[Errende]";
mes "I'll pay you back somehow! Thank you for your trouble in advance~";
- set gef_bard_q,4;
+ gef_bard_q = 4;
}
goto L_End;
@@ -724,7 +724,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "What was the line...?";
mes "How could I forget";
mes "the 8th love?";
- set gef_bard_q,6;
+ gef_bard_q = 6;
goto L_End;
}
@@ -740,7 +740,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "Shattering his dreams...";
mes "No dreams, no heart, no love, no hope, no...^000000";
next;
- set .@random,rand(1,50);
+ .@random = rand(1,50);
if (.@random > 27 && .@random < 37) {
mes "^3355FFErrende continues to sing about his personal despair. He seems to be disappointed in your refusal to help him. Of course, you begin to feel sorry for him.^000000";
@@ -756,7 +756,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
next;
mes "[Errende]";
mes "I promise to pay you back as best as I can! I'll wait for you here until you return!";
- set gef_bard_q,4;
+ gef_bard_q = 4;
} else {
mes "^3355FFYou ignore his";
mes "heart wrenching song.";
@@ -887,35 +887,35 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
if(select("No, thanks.:I can, so stop crying.")==1) {
mes "[Errende]";
mes "Ah, I guess it was too much to ask of you. My apologies. Don't worry about it, I'll find out some other way.";
- set gef_bard_q,5;
+ gef_bard_q = 5;
} else {
mes "[Errende]";
mes "Are you serious? Oh, thank you so much! You must be an angel! An angel that truly understands the heart of a poet!";
next;
mes "[Errende]";
mes "I'll pay you back somehow! Thank you for your trouble in advance~";
- set gef_bard_q,4;
+ gef_bard_q = 4;
}
goto L_End;
} else if (.@inputstr$ == "Gunther") {
mes "[Errende]";
mes "Gunther? I don't think he would do this. He always puts lines in his songs like 'doubleharmony for you.' Plus, he's too silly for that.";
- set gef_bard_q,6;
+ gef_bard_q = 6;
goto L_End;
}
else if (.@inputstr$ == "Gunther Doubleharmony") {
mes "[Errende]";
mes "Gunther? I don't think he would do this. He always puts lines in his songs like 'doubleharmony for you.' Plus, he's too silly for that.";
- set gef_bard_q,6;
+ gef_bard_q = 6;
goto L_End;
} else if (.@inputstr$ == "Errende") {
cutin "bard_eland04",2;
mes "[Errende]";
mes "Surely you jest! If I did, why would I not know what this song is about?";
- set gef_bard_q,6;
+ gef_bard_q = 6;
goto L_End;
} else {
@@ -927,7 +927,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "What was the line...?";
mes "How could I forget";
mes "the 8th love?";
- set gef_bard_q,6;
+ gef_bard_q = 6;
goto L_End;
}
@@ -981,7 +981,7 @@ geffen,132,38,3 script Bard#2 1_M_BARD,{
mes "[Errende]";
mes "If you will let me, I will tell you of my travels. By your leave,";
mes "I will play a song that will help you forget your troubles.";
- set gef_bard_q,1;
+ gef_bard_q = 1;
callsub S_StorySong,5;
} else {
@@ -1010,7 +1010,7 @@ S_StorySong:
if(select("News and rumors~:Cancel.")==1) {
cutin "bard_eland01",2;
mes "[Errende]";
- set .@random,rand(1,3);
+ .@random = rand(1,3);
if (.@random == 1) {
mes "Hmmm. Then shall we talk about this town, Geffen? Have you ever been to the Pub or the Inn here?";
next;
@@ -1132,7 +1132,7 @@ S_StorySong:
mes "Alright.";
mes "Here we go~";
- set .@random,rand(1,3);
+ .@random = rand(1,3);
if (.@random == 1)
soundeffect "ring_of_nibelungen.wav",0;
else if (.@random == 2)
@@ -1159,9 +1159,9 @@ S_StorySong:
next;
//for 3 and 4 variants, we need higher chance
if(getarg(0) == 3 || getarg(0) == 4)
- set .@random,rand(1,5);
+ .@random = rand(1,5);
else
- set .@random,rand(1,3);
+ .@random = rand(1,3);
if (.@random == 1) {
mes "^483D8BValhalla dazzles in gold";
mes "The fifth as we know";
@@ -1308,15 +1308,15 @@ S_StorySong:
next;
mes "[Errende]";
mes "I beseech you, if you meet him, please ask him of the 8th love and inform me of that lyric immediately~";
- if(gef_bard_q==1) set gef_bard_q,2;
- if(gef_bard_q==21) set gef_bard_q,22;
+ if(gef_bard_q==1) gef_bard_q = 2;
+ if(gef_bard_q==21) gef_bard_q = 22;
} else {
mes "[Errende]";
mes "*Sigh...*";
mes "I can't remember the 8th part of this song if my life depended on it. And it does~! *Wahhhh~*";
- if(gef_bard_q==1) set gef_bard_q,7;
- if(gef_bard_q==21) set gef_bard_q,27;
+ if(gef_bard_q==1) gef_bard_q = 7;
+ if(gef_bard_q==21) gef_bard_q = 27;
}
goto L_End;
@@ -1366,7 +1366,7 @@ S_StorySong:
}
morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
- set @name$,strcharinfo(0);
+ @name$ = strcharinfo(0);
if (gef_bard_q == 31) {
mes "[Kino Kitty]";
mes "Everything will be";
@@ -1382,7 +1382,7 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
switch(select("Tell me a story...:Your voice is...:No thanks, I appreciate it though.")) {
case 1:
- set .@random,rand(1,3);
+ .@random = rand(1,3);
if (.@random == 1) {
mes "[Kino Kitty]";
mes "Many legends have been passed down as songs. Stories of Gods and tales of brave warriors have all been written as songs.";
@@ -1500,7 +1500,6 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
mes "Could that tree be Yggdrasil? Is it possible that I could meet her in the Niffheim, realm of the dead?";
close;
}
-
case 2:
mes "[Kino Kitty]";
mes "Oh... Well, I have a chronic disease so I can't speak out loud. I, um, even cough up a little blood. But aside from that, I'm perfectly healthy.";
@@ -1508,7 +1507,6 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
mes "^3355FFA look of bitterness momentarily flashed across Kino Kitty's face. He then adjusted his guitar strings and began to play, humming a low tune.^000000";
soundeffect "humming.wav",0;
close;
-
case 3:
mes "[Kino Kitty]";
mes "Hmm...?";
@@ -1531,7 +1529,7 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
switch(select("Tell me a story, or sing something~:Your voice is...:No thanks. I appreciate it, though.")) {
case 1:
- set .@random,rand(1,3);
+ .@random = rand(1,3);
if (.@random == 1) {
mes "[Kino Kitty]";
mes "Ah...";
@@ -1644,7 +1642,6 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
mes "Could that tree be Yggdrasil? Is it possible that I could meet her in the Niffheim, realm of the dead?";
close;
}
-
case 2:
mes "[Kino Kitty]";
mes "Oh... Well, I have a chronic disease so I can't speak out loud. I, um, even cough up a little blood. But aside from that, I'm perfectly healthy.";
@@ -1652,7 +1649,6 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
mes "^3355FFA look of bitterness momentarily flashed across Kino Kitty's face. He then adjusted his guitar strings and began to play, humming a low tune.^000000";
soundeffect "humming.wav",0;
close;
-
case 3:
mes "[Kino Kitty]";
mes "Hmm...?";
@@ -1686,9 +1682,8 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
mes "[Kino Kitty]";
mes "Ah, right.";
mes "You already have a seal marked by Errende. Oh well, if you don't want it, what can I do?";
- set gef_bard_q,13;
+ gef_bard_q = 13;
close;
-
case 2:
mes "[Kino Kitty]";
mes "Now, let's see...";
@@ -1728,10 +1723,9 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
next;
mes "^3355FFKino Kitty hands you a letter that is labeled 'Dear Errende'";
mes "on the front.^000000";
- set gef_bard_q,14;
+ gef_bard_q = 14;
close;
}
-
} else {
mes "[Kino Kitty]";
mes "Hmmm...?";
@@ -1825,12 +1819,10 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
mes "[Kino Kitty]";
mes "^333333^333333*Cough Cough*^000000^000000";
mes "Wh-why do I have to suffer? Are my final days as a Bard on this earth soon approaching? I feel so pathetic...";
- set gef_bard_q,10;
+ gef_bard_q = 10;
close;
-
} else {
switch(select("Tell me a story.:Sing a song.:Nothing.")) {
-
case 1:
mes "[Kino Kitty]";
mes "A story? Mmmm...";
@@ -1861,12 +1853,10 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
mes "...Hah...";
mes "I'm sorry, but I don't think I can speak for much longer.";
close;
-
case 2:
mes "[Kino Kitty]";
mes "Sorry, but I don't feel like singing at the moment. I hope you understand. I want to sing the last song of my life for Jorti...";
close;
-
case 3:
mes "[Kino Kitty]";
mes "You have no";
@@ -1938,7 +1928,6 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
mes "^333333(Wasn't the little girl";
mes "scared by your outburst...?)^000000";
close;
-
} else {
if (gef_bard_q == 2) {
mes "[Mysterious Bard]";
@@ -1949,7 +1938,7 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
next;
mes "[Kino Kitty]";
mes "When next we meet, I will tell you what I have heard and experienced. That is, I am willing to spend my time with you.";
- set gef_bard_q,22;
+ gef_bard_q = 22;
close;
} else if (gef_bard_q == 3) {
@@ -1961,7 +1950,7 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
next;
mes "[Kino Kitty]";
mes "When next we meet, I will tell you what I have heard and experienced. That is, I am willing to spend my time with you.";
- set gef_bard_q,23;
+ gef_bard_q = 23;
close;
} else if (gef_bard_q == 4) {
@@ -2026,7 +2015,7 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
mes "[Kino Kitty]";
mes "^333333^333333*Cough Cough*^000000^000000";
mes "Wh-why do I have to suffer? Are my final days as a Bard on this earth soon approaching? I feel so pathetic...";
- set gef_bard_q,10;
+ gef_bard_q = 10;
close;
} else {
@@ -2047,7 +2036,7 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
next;
mes "[Kino Kitty]";
mes "When next we meet, I will tell you what I have heard and experienced. That is, I am willing to spend my time with you.";
- set gef_bard_q,20;
+ gef_bard_q = 20;
close;
} else {
@@ -2056,7 +2045,7 @@ morocc,134,111,3 script Bard#3 2_M_BARD_ORIENT,{
next;
mes "[Mysterious Bard]";
mes "My lady, fair as wisteria, whose beauty rivals that of the goddess Freya, let me introduce myself as the poor poet who wanders the earth, Kino Kitty. I hope you remember me.";
- set gef_bard_q,20;
+ gef_bard_q = 20;
close;
}
}
@@ -2169,7 +2158,7 @@ yuno_in01,172,100,3 script Old Man#bq1 4_M_05,{
mes "I hope you find";
mes "what you're";
mes "looking for.";
- set gef_bard_q,12;
+ gef_bard_q = 12;
close;
} else {
@@ -2181,7 +2170,6 @@ yuno_in01,172,100,3 script Old Man#bq1 4_M_05,{
mes "You're not looking for any medical or health related books, are you? I'm sorry, but we don't carry any of those.";
close;
}
-
} else {
mes "[Sketzi Bundin]";
mes "Welcome.";
@@ -2194,7 +2182,7 @@ yuno_in01,172,100,3 script Old Man#bq1 4_M_05,{
}
yuno_in01,163,101,0 script Old Book#bq HIDDEN_NPC,{
- set @name$,strcharinfo(0);
+ @name$ = strcharinfo(0);
if ((gef_bard_q > 11) && (gef_bard_q < 14)) {
if (!rand(5)) {
mes "^3355FFYou opened the book. There's a crisp brittleness to the pages, and the letters are faded and barely readable. You can't even identify the author's name.^000000";
@@ -2232,7 +2220,7 @@ yuno_in01,163,101,0 script Old Book#bq HIDDEN_NPC,{
mes "Love finally blossoms.";
next;
mes "^3355FFYou copy down the final lines, and keep them in a note inside your pocket.";
- set gef_bard_q,15;
+ gef_bard_q = 15;
close;
} else {
@@ -2297,7 +2285,6 @@ yuno_in01,173,96,0 script Luke's Songs Vol.1 HIDDEN_NPC,{
mes "[Luke's Note]";
mes "The lyrics, of course, are fictional, and are in no way anecdotal.";
close;
-
case 2:
mes "[Life is a Water Mill]";
mes "I chased after fame.";
@@ -2324,7 +2311,6 @@ yuno_in01,173,96,0 script Luke's Songs Vol.1 HIDDEN_NPC,{
mes "made to give comfort";
mes "to people in despair.";
close;
-
case 3:
mes "[We]";
mes "A good Bard sings";
@@ -2466,7 +2452,7 @@ yuno_in01,173,92,0 script Apple of Idun HIDDEN_NPC,{
}
payon,181,172,3 script Bard#4 1_M_BARD,{
- set @name$,strcharinfo(0);
+ @name$ = strcharinfo(0);
if (gef_bard_q == 2 || gef_bard_q == 22) {
mes "[Gunther Doubleharmony]";
mes "Hahaha~!";
@@ -2506,8 +2492,8 @@ payon,181,172,3 script Bard#4 1_M_BARD,{
next;
mes "[Gunther Doubleharmony]";
mes "There you go! Now you can go back to Minty Errende and show him your back and he will see what I wrote and then remember the lyrics!";
- if (gef_bard_q == 2) set gef_bard_q,3;
- if (gef_bard_q == 22) set gef_bard_q,23;
+ if (gef_bard_q == 2) gef_bard_q = 3;
+ if (gef_bard_q == 22) gef_bard_q = 23;
close;
} else {
@@ -2743,14 +2729,11 @@ payon,181,172,3 script Bard#4 1_M_BARD,{
mes "But it's okay because he was rescued by some Alchemist and came back to life, but you should go to Lutie if you wanna know more about him, okay?";
close;
}
-
case 3:
mes "[Gunther Doubleharmony]";
mes "You're gonna leave right now and not even listen to me a little bit? Okay, I'm cool, but promise you'll come back and listen to just one of my songs, okay?";
close;
-
}
-
} else {
mes "[" + @name$ + "]";
mes "...";
@@ -2915,7 +2898,7 @@ yuno_in04,33,119,3 script Adventurer#1 4_M_ROGUE,{
mes "Hello there~";
mes "My name is Pane.";
mes "May I ask yours?";
- set @name$,strcharinfo(0);
+ @name$ = strcharinfo(0);
input .@inputstr$;
next;
mes "[Energetic Young Man]";
diff --git a/npc/quests/bunnyband.txt b/npc/quests/bunnyband.txt
index 8eb89773a..557b434dd 100644
--- a/npc/quests/bunnyband.txt
+++ b/npc/quests/bunnyband.txt
@@ -32,7 +32,7 @@ alberta,26,229,0 script Kafra Employee#bunny 4_M_01,{
mes "all the items...";
next;
setarray .@items[0],949,100,706,1,722,1,2213,1;
- for(set .@i,0; .@i<8; set .@i,.@i+2)
+ for(.@i = 0; .@i<8; .@i += 2)
if (countitem(.@items[.@i]) < .@items[.@i+1]) {
mes "[Kafra Employee]";
mes "Ooh, I'm sorry";
@@ -49,7 +49,7 @@ alberta,26,229,0 script Kafra Employee#bunny 4_M_01,{
mes "Please wait a moment";
mes "while I put it together...";
next;
- for(set .@i,0; .@i<8; set .@i,.@i+2)
+ for(.@i = 0; .@i<8; .@i += 2)
if (countitem(.@items[.@i]) < .@items[.@i+1]) {
mes "[Kafra Employee]";
mes "Hm? I'm sorry,";
@@ -69,7 +69,7 @@ alberta,26,229,0 script Kafra Employee#bunny 4_M_01,{
mes "The perfect Bunny Band!";
mes "Well, I hope you enjoy it.";
getitem 2214,1; //Bunny_Band
- set BUNYBND,0;
+ BUNYBND = 0;
next;
mes "[Kafra Employee]";
mes "Thank you for";
@@ -93,7 +93,7 @@ alberta,26,229,0 script Kafra Employee#bunny 4_M_01,{
next;
switch(select("Join the Event:Event Information:Cancel")) {
case 1:
- set BUNYBND,1;
+ BUNYBND = 1;
mes "[Kafra Employee]";
mes "Great! Thanks for";
mes "participating! If you";
diff --git a/npc/quests/cooking_quest.txt b/npc/quests/cooking_quest.txt
index b3f381451..d98703a6f 100644
--- a/npc/quests/cooking_quest.txt
+++ b/npc/quests/cooking_quest.txt
@@ -316,9 +316,9 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
mes "then, what shall we cook?";
next;
cutin "orleans_6",0;
- set .@cook_m1,rand(1,6);
+ .@cook_m1 = rand(1,6);
if (.@cook_m1 == 1) {
- set cooking_q,1;
+ cooking_q = 1;
mes "[Charles Orleans]";
mes "Ahhh, how about";
mes "'Fried Grasshopper Legs?'";
@@ -335,7 +335,7 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
goto L_End;
}
else if (.@cook_m1 == 2) {
- set cooking_q,2;
+ cooking_q = 2;
mes "[Charles Orleans]";
mes "Ah, I've got it!";
mes "Let's make ''Grape Juice";
@@ -352,7 +352,7 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
goto L_End;
}
else if (.@cook_m1 == 3) {
- set cooking_q,3;
+ cooking_q = 3;
mes "[Charles Orleans]";
mes "I've got it~";
mes "We can make";
@@ -368,7 +368,7 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
goto L_End;
}
else if (.@cook_m1 == 4) {
- set cooking_q,4;
+ cooking_q = 4;
mes "[Charles Orleans]";
mes "Mmm, why don't we";
mes "make ''Frog Egg and";
@@ -386,7 +386,7 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
goto L_End;
}
else if (.@cook_m1 == 5) {
- set cooking_q,5;
+ cooking_q = 5;
mes "[Charles Orleans]";
mes "Ah, I know what";
mes "would be perfect right";
@@ -402,7 +402,7 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
mes "^4D4DFF1 Yellow Potion^000000.";
goto L_End;
}
- set cooking_q,6;
+ cooking_q = 6;
mes "[Charles Orleans]";
mes "Ooh, you know what";
mes "would be scrumptious?";
@@ -455,12 +455,12 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
delitem 940,5; //Grasshopper's_Leg
delitem 7031,1; //Old_Frying_Pan
delitem 7457,1; //Cooking_Oil
- set cooking_q,7;
+ cooking_q = 7;
getitem 12041,1; //Str_Dish01
goto L_End;
}
cutin "orleans_6",0;
- set .@talk_j,rand(1,2);
+ .@talk_j = rand(1,2);
if (.@talk_j == 1) {
mes "[Charles Orleans]";
mes "Hurry and bring me";
@@ -512,12 +512,12 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
mes "and practice on your own now.";
delitem 514,3; //Grape
delitem 501,2; //Red_Potion
- set cooking_q,7;
+ cooking_q = 7;
getitem 12046,1; //Int_Dish01
goto L_End;
}
cutin "orleans_6",0;
- set .@talk_j,rand(1,2);
+ .@talk_j = rand(1,2);
if (.@talk_j == 1) {
mes "[Charles Orleans]";
mes "What are you doing?";
@@ -573,12 +573,12 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
delitem 518,1; //Honey
delitem 514,2; //Grape
delitem 501,1; //Red_Potion
- set cooking_q,7;
+ cooking_q = 7;
getitem 12061,1; //Dex_Dish01
goto L_End;
}
cutin "orleans_6",0;
- set .@talk_j,rand(1,2);
+ .@talk_j = rand(1,2);
if (.@talk_j == 1) {
mes "[Charles Orleans]";
mes "What's taking you so";
@@ -634,12 +634,12 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
delitem 577,1; //Grain
delitem 908,10; //Spawn
delitem 1024,1; //Chinese_ink
- set cooking_q,7;
+ cooking_q = 7;
getitem 12056,1; //Agi_Dish01
goto L_End;
}
cutin "orleans_6",0;
- set .@talk_j,rand(1,2);
+ .@talk_j = rand(1,2);
if (.@talk_j == 1) {
mes "[Charles Orleans]";
mes "What are you doing?";
@@ -694,12 +694,12 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
delitem 960,10; //Nipper
delitem 511,10; //Green_Herb
delitem 503,1; //Yellow_Potion
- set cooking_q,7;
+ cooking_q = 7;
getitem 12051,1; //Vit_Dish01
goto L_End;
}
cutin "orleans_6",0;
- set .@talk_j,rand(1,2);
+ .@talk_j = rand(1,2);
if (.@talk_j == 1) {
mes "[Charles Orleans]";
mes "Shouldn't you be";
@@ -755,12 +755,12 @@ prt_castle,43,30,3 script Charles Orleans#cook 4_M_OILMAN,{
delitem 942,5; //Yoyo_Tail
delitem 7031,1; //Old_Frying_Pan
delitem 7457,1; //Cooking_Oil
- set cooking_q,7;
+ cooking_q = 7;
getitem 12066,1; //Luk_Dish01
goto L_End;
}
cutin "orleans_6",0;
- set .@talk_j,rand(1,2);
+ .@talk_j = rand(1,2);
if (.@talk_j == 1) {
mes "[Charles Orleans]";
mes "You better go prepare";
@@ -1690,7 +1690,7 @@ prt_castle,45,35,5 script Madeleine Chu#cook 4_COOK,{
mes "improve as you practice. ";
mes "Please take this cookbook";
mes "with the basic Level 1 recipes.";
- set cooking_q,8;
+ cooking_q = 8;
getitem 7472,1; //Cookbook01
next;
mes "[Madeleine Chu]";
@@ -1768,7 +1768,7 @@ prt_castle,45,35,5 script Madeleine Chu#cook 4_COOK,{
delitem 12056,1; //Agi_Dish01
delitem 12051,1; //Vit_Dish01
delitem 12066,1; //Luk_Dish01
- set cooking_q,9;
+ cooking_q = 9;
getitem 12111,1; //Food_Package
mes "[Madeleine Chu]";
mes "There you go, it's ready";
@@ -1865,7 +1865,7 @@ prt_castle,45,35,5 script Madeleine Chu#cook 4_COOK,{
mes "very ashamed of you...";
next;
delitem 7472,1; //Cookbook01
- set cooking_q,0;
+ cooking_q = 0;
mes "[Madeleine Chu]";
mes "First of all, I'd like";
mes "you to return my cookbook.";
@@ -1899,7 +1899,7 @@ prt_castle,45,35,5 script Madeleine Chu#cook 4_COOK,{
mes "skills are the most important";
mes "factor in quality cuisine.";
next;
- set cooking_q,11;
+ cooking_q = 11;
getitem 12126,10; //Indoor_Cooking_Kits
mes "[Madeleine Chu]";
mes "Please try these Indoor";
@@ -1982,7 +1982,7 @@ prt_castle,45,35,5 script Madeleine Chu#cook 4_COOK,{
mes "even small things. Still,";
mes "I guess it's understandable.";
next;
- set .@talk_j,rand(1,3);
+ .@talk_j = rand(1,3);
if (.@talk_j == 1) {
mes "[Madeleine Chu]";
mes "You know, when I first";
@@ -2059,8 +2059,8 @@ prt_castle,45,35,5 script Madeleine Chu#cook 4_COOK,{
close;
S_SellSets:
- set .@item_cost,getiteminfo(getarg(0),0);
- set .@item_weight,getiteminfo(getarg(0),6);
+ .@item_cost = getiteminfo(getarg(0),0);
+ .@item_weight = getiteminfo(getarg(0),6);
mes "[Madeleine Chu]";
mes "How many " + (getarg(0)==12125 ? "Outdoor":"Indoor");
mes "Cooking Kits would";
@@ -2089,8 +2089,8 @@ S_SellSets:
}
else break;
}
- set .@total_cost,.@sell * .@item_cost;
- set .@total_weight,.@sell * .@item_weight;
+ .@total_cost = .@sell * .@item_cost;
+ .@total_weight = .@sell * .@item_weight;
if (Zeny < .@total_cost) {
mes "[Madeleine Chu]";
mes "Oh, I'm sorry, but you";
@@ -2118,7 +2118,7 @@ S_SellSets:
}
prt_castle,45,28,3 script Child with Cat#cook 4_F_YUNYANG,{
- set .@nyu,rand(1,2);
+ .@nyu = rand(1,2);
if (.@nyu == 1) {
cutin "nyuang_1",2;
emotion e_what;
@@ -2288,7 +2288,7 @@ payon,209,127,3 script Servant 4_M_ORIENT01,{
mes "to tell me. In return, please have one of my humble Rice Cakes.";
next;
delitem 12111,1; //Food_Package
- set cooking_q,10;
+ cooking_q = 10;
getitem 555,1; //Rice_Cake
mes "[Chulsoo]";
mes "I better visit Prontera";
diff --git a/npc/quests/counteragent_mixture.txt b/npc/quests/counteragent_mixture.txt
index ed8152a06..20e1e8bed 100644
--- a/npc/quests/counteragent_mixture.txt
+++ b/npc/quests/counteragent_mixture.txt
@@ -86,7 +86,7 @@ alberta_in,133,55,3 script Louitz#cm 4_M_02,{
mes "like any liquids we're used to.";
close;
case 2:
- set molgenstain,1;
+ molgenstain = 1;
mes "[Merchant Louitz]";
mes "Hey, this is one of";
mes "those solutions that";
@@ -156,7 +156,7 @@ alberta_in,133,55,3 script Louitz#cm 4_M_02,{
mes "like any liquids we're used to.";
close;
case 2:
- set molgenstain,1;
+ molgenstain = 1;
mes "[Merchant Louitz]";
mes "Oh hey, this is that";
mes "Karvodailnirol that the";
@@ -226,7 +226,7 @@ alberta_in,133,55,3 script Louitz#cm 4_M_02,{
mes "like any liquids we're used to.";
close;
case 2:
- set molgenstain,1;
+ molgenstain = 1;
mes "[Merchant Louitz]";
mes "Oh hey, this is that";
mes "Detrimindexta that the";
@@ -348,7 +348,7 @@ geffen,181,114,3 script Aure Dupon#cm 4_KID01,{
mes "carried by the tides of destiny.";
close;
case 2:
- set molgenstain,2;
+ molgenstain = 2;
mes "[Aure Dupon]";
mes "Molgenstein...?";
mes "The man is obsessed";
@@ -536,8 +536,8 @@ geffen_in,141,140,3 script Molgenstein#cm 2_M_MOLGENSTEIN,{
}
}
if (molgenstain == 2) {
- set MISC_QUEST,MISC_QUEST | 4;
- set molgenstain,0;
+ MISC_QUEST |= 4;
+ molgenstain = 0;
mes "[Chemist Molgenstein]";
mes "Heeheeheehee.... welcome. Hehehehe.... heeheeheeheehee....";
next;
diff --git a/npc/quests/dandelion_request.txt b/npc/quests/dandelion_request.txt
index d733a374b..7952773a7 100644
--- a/npc/quests/dandelion_request.txt
+++ b/npc/quests/dandelion_request.txt
@@ -74,7 +74,7 @@ izlude,103,106,3 script Guildsman#1 1_M_02,3,3,{
mes "a letter of recommendation";
mes "to get you started on this";
mes "mission, alright?";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
close;
}
@@ -113,7 +113,7 @@ izlude,103,106,3 script Guildsman#1 1_M_02,3,3,{
mes "You name it. This is gonna be";
mes "huge. Listen, if you're going";
mes "to help, then let me give you this letter of recommendation...";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
close;
}
@@ -153,7 +153,7 @@ izlude,103,106,3 script Guildsman#1 1_M_02,3,3,{
mes "if you plan to follow these";
mes "orders. I hope you take that";
mes "mission for those kids' sake...";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
close;
}
@@ -186,7 +186,7 @@ izlude,103,106,3 script Guildsman#1 1_M_02,3,3,{
mes "supposed to give you if you";
mes "plan on taking the mission.";
mes "For the sake of those missing kids, I really hope that you do.";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
close;
}
@@ -322,7 +322,7 @@ OnTouch:
mes "a letter of recommendation";
mes "to get you started on this";
mes "mission, alright?";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
close;
}
@@ -361,7 +361,7 @@ OnTouch:
mes "You name it. This is gonna be";
mes "huge. Listen, if you're going";
mes "to help, then let me give you this letter of recommendation...";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
close;
}
@@ -401,7 +401,7 @@ OnTouch:
mes "if you plan to follow these";
mes "orders. I hope you take that";
mes "mission for those kids' sake...";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
close;
}
@@ -434,7 +434,7 @@ OnTouch:
mes "supposed to give you if you";
mes "plan on taking the mission.";
mes "For the sake of those missing kids, I really hope that you do.";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
close;
}
@@ -523,7 +523,7 @@ prontera,237,313,3 script Nun#moc 1_F_PRIEST,3,3,{
mes "will need the Bishop's";
mes "letter of recommendation,";
mes "so please take it now.";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
close;
}
@@ -629,7 +629,7 @@ OnTouch:
mes "will need the Bishop's";
mes "letter of recommendation,";
mes "so please take it now.";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
close;
}
@@ -724,7 +724,7 @@ alberta,129,59,3 script Guildsman#2 1_M_03,3,3,{
mes "letter of recommendation!";
mes " ";
mes "^71637DOh, right! Here, take this!^000000";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
next;
mes "[Guildsman]";
@@ -760,7 +760,7 @@ alberta,129,59,3 script Guildsman#2 1_M_03,3,3,{
mes "from Morroc. If you want to";
mes "help them, you'll need this";
mes "letter of recommendation, okay?";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
close;
}
@@ -788,7 +788,7 @@ alberta,129,59,3 script Guildsman#2 1_M_03,3,3,{
mes "a very difficult mission.";
mes "You should prepare yourself";
mes "if you plan to get involved...";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
close;
}
@@ -824,7 +824,7 @@ alberta,129,59,3 script Guildsman#2 1_M_03,3,3,{
mes "head over to Morroc as soon";
mes "as you can. If even the Assassin Guild needs help, I'm sure that";
mes "spells really big trouble...";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
close;
}
@@ -1064,7 +1064,7 @@ OnTouch:
mes "letter of recommendation!";
mes " ";
mes "^71637DOh, right! Here, take this!^000000";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
next;
mes "[Guildsman]";
@@ -1100,7 +1100,7 @@ OnTouch:
mes "from Morroc. If you want to";
mes "help them, you'll need this";
mes "letter of recommendation, okay?";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
close;
}
@@ -1128,7 +1128,7 @@ OnTouch:
mes "a very difficult mission.";
mes "You should prepare yourself";
mes "if you plan to get involved...";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
close;
}
@@ -1164,7 +1164,7 @@ OnTouch:
mes "head over to Morroc as soon";
mes "as you can. If even the Assassin Guild needs help, I'm sure that";
mes "spells really big trouble...";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
close;
}
@@ -1224,7 +1224,7 @@ geffen,123,109,3 script Academy Staff 2_M_SAGE_B,3,3,{
mes "assisting the Assassins";
mes "in this mission. Please take";
mes "this letter of recommendation.";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
next;
mes "[Academy Staff]";
@@ -1316,7 +1316,7 @@ OnTouch:
mes "assisting the Assassins";
mes "in this mission. Please take";
mes "this letter of recommendation.";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
next;
mes "[Academy Staff]";
@@ -1397,7 +1397,7 @@ morocc,155,56,3 script Miya 4_F_04,3,3,{
mes "the west, somewhere around";
mes "here in this city. Well, that's";
mes "all he told me, so I'll seeya~";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
close;
}
@@ -1417,7 +1417,7 @@ morocc,155,56,3 script Miya 4_F_04,3,3,{
mes "we can. Here, take this letter";
mes "of recommendation and talk to";
mes "Jack, our contact west in this city. You better go right away...";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
close;
}
@@ -1449,7 +1449,7 @@ morocc,155,56,3 script Miya 4_F_04,3,3,{
mes "this mission is pretty major.";
mes "We'll need all the help that";
mes "we can possibly get...";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
close;
}
@@ -1562,7 +1562,7 @@ OnTouch:
mes "the west, somewhere around";
mes "here in this city. Well, that's";
mes "all he told me, so I'll seeya~";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
close;
}
@@ -1582,7 +1582,7 @@ OnTouch:
mes "we can. Here, take this letter";
mes "of recommendation and talk to";
mes "Jack, our contact west in this city. You better go right away...";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
close;
}
@@ -1614,7 +1614,7 @@ OnTouch:
mes "this mission is pretty major.";
mes "We'll need all the help that";
mes "we can possibly get...";
- set mao_request,1;
+ mao_request = 1;
close;
}
}
@@ -1678,7 +1678,7 @@ payon,231,323,3 script Guildsman#3 1_M_ORIENT01,3,3,{
mes "assisting them, please take";
mes "this Letter of Recommendation";
mes "and bring it to the contact from the Assassin Guild in Morroc.";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
next;
mes "[Guildsman]";
@@ -1713,7 +1713,7 @@ payon,231,323,3 script Guildsman#3 1_M_ORIENT01,3,3,{
mes "Guild contact to the west";
mes "of the Oasis in Morroc.";
mes "Well, good luck, pal~";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
close;
}
@@ -1741,7 +1741,7 @@ payon,231,323,3 script Guildsman#3 1_M_ORIENT01,3,3,{
mes "Guild and a recommendation";
mes "that you help them. Yeah.";
mes "Here's the letter he wrote.";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
next;
mes "[Guildsman]";
@@ -1783,7 +1783,7 @@ payon,231,323,3 script Guildsman#3 1_M_ORIENT01,3,3,{
mes "this letter of recommendation.";
mes "I guess she thinks you'll do";
mes "the best job. So, um, congrats~";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
next;
mes "[Guildsman]";
@@ -1951,7 +1951,7 @@ OnTouch:
mes "assisting them, please take";
mes "this Letter of Recommendation";
mes "and bring it to the contact from the Assassin Guild in Morroc.";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
next;
mes "[Guildsman]";
@@ -1986,7 +1986,7 @@ OnTouch:
mes "Guild contact to the west";
mes "of the Oasis in Morroc.";
mes "Well, good luck, pal~";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
close;
}
@@ -2014,7 +2014,7 @@ OnTouch:
mes "Guild and a recommendation";
mes "that you help them. Yeah.";
mes "Here's the letter he wrote.";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
next;
mes "[Guildsman]";
@@ -2056,7 +2056,7 @@ OnTouch:
mes "this letter of recommendation.";
mes "I guess she thinks you'll do";
mes "the best job. So, um, congrats~";
- set mao_request,1;
+ mao_request = 1;
getitem 7416,1;
next;
mes "[Guildsman]";
@@ -2162,7 +2162,7 @@ OnTouch:
if(mao_request || Class == Job_Assassin || Class == Job_Assassin_Cross) warp "que_job01",9,94;
else
{
- set .@mao_pass,rand(1,3);
+ .@mao_pass = rand(1,3);
if(.@mao_pass == 2)
{
mes "[Jack]";
@@ -2203,7 +2203,6 @@ OnTouch:
mes "one drink at this joint.";
mes "Just drink at home, willya?";
close;
-
case 2:
mes "[Jack]";
mes "Hmm...";
@@ -2330,7 +2329,6 @@ OnTouch:
close2;
warp "que_job01",85,77;
end;
-
case 2:
mes "[Litheron]";
mes "Not the saavy type,";
@@ -2439,8 +2437,7 @@ que_job01,82,95,3 script Bar Master 1_ETC_01,{
switch( select( "Tropical Sograt","Vermilion on the Beach","Do you have anything cheaper?" ) )
{
case 1:
- set .@maodrink,1;
-
+ .@maodrink = 1;
case 2:
if(checkweight(12112,1) != 1)
{
@@ -2499,7 +2496,6 @@ que_job01,82,95,3 script Bar Master 1_ETC_01,{
if(.@maodrink) getitem 12112,1;
else getitem 12113,1;
close;
-
case 3:
mes "[Master]";
mes "What are you...?";
@@ -2510,7 +2506,6 @@ que_job01,82,95,3 script Bar Master 1_ETC_01,{
mes "go someplace else.";
close;
}
-
case 2:
if(mao_request == 1)
{
@@ -2522,7 +2517,7 @@ que_job01,82,95,3 script Bar Master 1_ETC_01,{
mes "Alright, just go inside. Hey,";
mes "but be careful. This won't be";
mes "easy like most assignments...";
- set mao_request,2;
+ mao_request = 2;
close;
}
mes "[Master]";
@@ -2557,7 +2552,7 @@ que_job01,82,95,3 script Bar Master 1_ETC_01,{
mes "Hey, since when did";
mes "I become your doorman?!";
mes "Eh, ah well. You got it.";
- set mao_request,2;
+ mao_request = 2;
close;
}
mes "^3355FFYou forgot to bring your";
@@ -2659,7 +2654,6 @@ que_job01,82,95,3 script Bar Master 1_ETC_01,{
mes "order something to drink.";
close;
}
-
case 3:
mes "[Master]";
mes "...";
@@ -2710,7 +2704,6 @@ que_job01,49,49,5 script Tao 4_F_YUNYANG,{
mes "safe from people that";
mes "don't belong here, meow.";
close;
-
case 2:
mes "[Tao]";
mes "Meow, meow.";
@@ -2729,7 +2722,7 @@ OnTouch:
{
if(!$@maobar_room)
{
- set $@maobar_room,1;
+ $@maobar_room = 1;
donpcevent "#maobartimer1::OnEnter";
if(mao_request == 2 || mao_request == 28 || mao_request == 29 || mao_request == 126 || mao_request == 127)
{
@@ -2786,7 +2779,7 @@ OnEnter:
initnpctimer;
mapannounce "que_job01","You will now enter the Master Zone, Area 1.",1,0x70DBDB;
end;
-
+
OnStop:
mapannounce "que_job01","The security magic in the Master Zone, Area 1 is deactivated.",1,0x70DBDB;
donpcevent "#maobar6::OnInit";
@@ -2801,11 +2794,11 @@ OnStop:
donpcevent "#roombar1::OnInit";
stopnpctimer;
end;
-
+
OnTimer240000:
donpcevent "#maobar6::OnEnter";
end;
-
+
OnTimer245000:
donpcevent "#maobar6::OnInit";
donpcevent "Valdes#1::OnInit";
@@ -2817,7 +2810,7 @@ OnTimer245000:
donpcevent "Marjana#poison::OnInit";
donpcevent "#mao_table::OnInit";
end;
-
+
OnTimer250000:
mapannounce "que_job01","The security magic in the Master Zone, Area 1 is deactivated.",1,0x70DBDB;
donpcevent "#roombar1::OnInit";
@@ -2826,15 +2819,14 @@ OnTimer250000:
}
que_job01,12,13,1 script #maobar6 HIDDEN_WARP_NPC,1,1,{
-
OnInit:
disablenpc "#maobar7";
end;
-
+
OnEnter:
enablenpc "#maobar7";
end;
-
+
OnTouch:
warp "que_job01",52,50;
end;
@@ -2858,7 +2850,7 @@ OnTouch:
}
if(!$@maobar_room2)
{
- set $@maobar_room2,1;
+ $@maobar_room2 = 1;
donpcevent "#maobartimer2::OnEnter";
if(mao_request == 25)
{
@@ -2917,7 +2909,7 @@ OnEnter:
initnpctimer;
mapannounce "que_job01","Security Level in the Master Zone, Area 2 has activated.",1,0x70DBDB;
end;
-
+
OnStop:
mapannounce "que_job01","Security Level in the Master Zone, Area 2 deactivated.",1,0x70DBDB;
donpcevent "#maobar7::OnInit";
@@ -2930,12 +2922,12 @@ OnStop:
donpcevent "#roombar2::OnInit";
stopnpctimer;
end;
-
+
OnTimer240000:
donpcevent "#maobar7::OnEnter";
donpcevent "#maobar8::OnEnter";
end;
-
+
OnTimer245000:
donpcevent "#maobar7::OnInit";
donpcevent "#maobar8::OnInit";
@@ -2946,7 +2938,7 @@ OnTimer245000:
donpcevent "#mao_empty::OnInit";
donpcevent "#roombar2::OnInit";
end;
-
+
OnTimer250000:
mapannounce "que_job01","Security Level in the Master Zone, Area 2 deactivated.",1,0x70DBDB;
donpcevent "#roombar2::OnInit";
@@ -2959,11 +2951,11 @@ que_job01,80,17,1 script #maobar7 WARPNPC,1,1,{
OnInit:
disablenpc "#maobar7";
end;
-
+
OnEnter:
enablenpc "#maobar7";
end;
-
+
OnTouch:
warp "que_job01",52,50;
end;
@@ -2974,11 +2966,11 @@ que_job01,144,51,1 script #maobar8 WARPNPC,1,1,{
OnInit:
disablenpc "#maobar8";
end;
-
+
OnEnter:
enablenpc "#maobar8";
end;
-
+
OnTouch:
warp "que_job01",52,50;
end;
@@ -3108,7 +3100,7 @@ que_job01,16,21,5 script Valdes#1 1_M_JOBTESTER,{
mes "the Dandelion representative";
mes "in the pub. He'll brief you";
mes "further on your mission.";
- set mao_request,3;
+ mao_request = 3;
getitem 7417,1;
next;
cutin "",255;
@@ -3120,7 +3112,6 @@ que_job01,16,21,5 script Valdes#1 1_M_JOBTESTER,{
mes "That is all. Dismissed!";
close2;
break;
-
case 2:
mes "[Valdes]";
mes "Alright. Lin will be";
@@ -3144,7 +3135,7 @@ que_job01,16,21,5 script Valdes#1 1_M_JOBTESTER,{
mes "This document will prove to";
mes "him that you have been assigned";
mes "as his personal bodyguard.";
- set mao_request,103;
+ mao_request = 103;
getitem 7418,1;
close2;
break;
@@ -3274,7 +3265,7 @@ que_job01,16,21,5 script Valdes#1 1_M_JOBTESTER,{
delitem 7417,countitem(7417);
if(mao_request == 28) getexp 1050000,0;
else if(mao_request == 29) getexp 1280000,0;
- set mao_request,30;
+ mao_request = 30;
getitem 12107,1;
next;
mes "[Valdes]";
@@ -3415,7 +3406,7 @@ que_job01,16,21,5 script Valdes#1 1_M_JOBTESTER,{
delitem 7418,countitem(7418);
if(mao_request == 126) getexp 1050000,0;
else if(mao_request == 127) getexp 1280000,0;
- set mao_request,128;
+ mao_request = 128;
getitem 12106,1;
next;
mes "[Valdes]";
@@ -3494,7 +3485,7 @@ que_job01,16,21,5 script Valdes#1 1_M_JOBTESTER,{
OnInit:
disablenpc "Valdes#1";
end;
-
+
OnEnter:
enablenpc "Valdes#1";
end;
@@ -3505,7 +3496,7 @@ que_job01,17,11,3 script Valdes#2 1_M_JOBTESTER,{
OnInit:
disablenpc "Valdes#2";
end;
-
+
OnEnter:
disablenpc "Valdes#2";
end;
@@ -3516,7 +3507,7 @@ que_job01,142,56,5 script Valdes#3 1_M_JOBTESTER,{
OnInit:
disablenpc "Valdes#3";
end;
-
+
OnEnter:
disablenpc "Valdes#3";
end;
@@ -3583,7 +3574,7 @@ que_job01,19,18,3 script Lin#1 4_F_ACROSS,{
}
cutin "",255;
end;
-
+
OnInit:
disablenpc "Lin#1";
end;
@@ -3598,7 +3589,7 @@ que_job01,13,9,7 script Lin#2 4_F_ACROSS,{
OnInit:
disablenpc "Lin#2";
end;
-
+
OnEnter:
disablenpc "Lin#2";
end;
@@ -3645,7 +3636,7 @@ que_job01,84,17,3 script Lin#2-1 4_F_ACROSS,{
mes "against his forehead, and then";
mes "quickly mumbled something";
mes "before raising his head.^000000";
- set mao_request,104;
+ mao_request = 104;
close2;
}
else if(mao_request == 104)
@@ -3710,7 +3701,6 @@ que_job01,84,17,3 script Lin#2-1 4_F_ACROSS,{
mes "will go to the Juno Library to";
mes "find his research documents.";
break;
-
case 2:
mes "[" + strcharinfo(0) + "]";
mes "Won't they attack";
@@ -3778,7 +3768,7 @@ que_job01,84,17,3 script Lin#2-1 4_F_ACROSS,{
mes "help make your job a lot";
mes "easier. Okay then, good luck~";
mes "Good luck!";
- set mao_request,105;
+ mao_request = 105;
close2;
}
else if(mao_request == 105)
@@ -3826,7 +3816,7 @@ que_job01,84,17,3 script Lin#2-1 4_F_ACROSS,{
mes "bring them to him and";
mes "see what he wants us";
mes "to do for him next.";
- set mao_request,108;
+ mao_request = 108;
next;
cutin "mocseal_dan01.bmp",0;
mes "[R. Moore]";
@@ -3901,7 +3891,7 @@ que_job01,84,17,3 script Lin#2-1 4_F_ACROSS,{
mes "historian in Morroc about Morroc Satan and all that. There's";
mes "too much we don't know, and";
mes "I don't wanna take chances.";
- set mao_request,116;
+ mao_request = 116;
next;
cutin "mocseal_dan01.bmp",0;
mes "[R. Moore]";
@@ -4044,7 +4034,7 @@ que_job01,84,17,3 script Lin#2-1 4_F_ACROSS,{
mes "believe you, but we need some";
mes "time to consider your request";
mes "before we can go ahead with the investigation you're asking for...";
- set mao_request,119;
+ mao_request = 119;
close2;
}
else if(mao_request == 119)
@@ -4107,7 +4097,7 @@ que_job01,84,17,3 script Lin#2-1 4_F_ACROSS,{
mes "historical record that proves";
mes "that Satan Morroc really";
mes "existed in our world.";
- set mao_request,120;
+ mao_request = 120;
close2;
}
else if(mao_request == 120)
@@ -4126,7 +4116,7 @@ que_job01,84,17,3 script Lin#2-1 4_F_ACROSS,{
mes "we've collected so far, as well";
mes "as keep an eye on Mr. R. Moore.";
mes "Good luck, and be careful.";
- set mao_request,121;
+ mao_request = 121;
close2;
}
else if(mao_request == 121)
@@ -4190,7 +4180,7 @@ que_job01,79,15,1 script R 4_M_MASKMAN,{
mes "against his forehead, and then";
mes "quickly mumbled something";
mes "before raising his head.^000000";
- set mao_request,104;
+ mao_request = 104;
close2;
}
else if(mao_request == 104)
@@ -4264,7 +4254,7 @@ que_job01,79,15,1 script R 4_M_MASKMAN,{
mes "We need to protect you, but";
mes "we still want to help those";
mes "missing children if we can.";
- set mao_request,108;
+ mao_request = 108;
close2;
}
else if(mao_request == 108)
@@ -4326,7 +4316,7 @@ que_job01,79,15,1 script R 4_M_MASKMAN,{
mes "did not want me to repair";
mes "Morroc's elemental equilibrium.";
mes "At least, that's what I believe. ^FFFFFF ^000000";
- set mao_request,109;
+ mao_request = 109;
next;
mes "[R. Moore]";
mes "You can't possibly";
@@ -4543,7 +4533,7 @@ que_job01,79,15,1 script R 4_M_MASKMAN,{
mes "believe you, but we need some";
mes "time to consider your request";
mes "before we can go ahead with the investigation you're asking for...";
- set mao_request,119;
+ mao_request = 119;
close2;
}
else if(mao_request == 119)
@@ -4593,7 +4583,7 @@ que_job01,147,54,3 script Lin#3 4_F_ACROSS,{
OnInit:
disablenpc "Lin#3";
end;
-
+
OnEnter:
disablenpc "Lin#3";
end;
@@ -4663,7 +4653,7 @@ que_job01,13,17,5 script Kidd#1 4_M_ACROSS,{
OnInit:
disablenpc "Kidd#1";
end;
-
+
OnEnter:
enablenpc "Kidd#1";
end;
@@ -4674,7 +4664,7 @@ que_job01,12,8,7 script Kidd#2 4_M_ACROSS,{
OnInit:
disablenpc "Kidd#2";
end;
-
+
OnEnter:
disablenpc "Kidd#2";
end;
@@ -4685,7 +4675,7 @@ que_job01,148,54,3 script Kidd#3 4_M_ACROSS,{
OnInit:
disablenpc "Kidd#3";
end;
-
+
OnEnter:
disablenpc "Kidd#3";
end;
@@ -4783,7 +4773,7 @@ que_job01,91,83,3 script Kidd#hall 4_M_ACROSS,{
mes "from under his shirt, pressed";
mes "it to his forehead, and then";
mes "quickly mumbled some words.^000000";
- set mao_request,4;
+ mao_request = 4;
close2;
}
else if(mao_request == 4)
@@ -4827,7 +4817,6 @@ que_job01,91,83,3 script Kidd#hall 4_M_ACROSS,{
mes "and where he might be now.";
mes "Pretty good idea, huh?";
break;
-
case 2:
mes "[Kidd]";
mes "I know that Juno is pretty";
@@ -4845,7 +4834,7 @@ que_job01,91,83,3 script Kidd#hall 4_M_ACROSS,{
mes "be familiar with Raiyan's work";
mes "and could point us in the right";
mes "direction. Alright then, I'll meet up with you in the Juno Library.";
- set mao_request,5;
+ mao_request = 5;
close2;
}
else if(mao_request > 4 && mao_request < 8)
@@ -4884,7 +4873,7 @@ que_job01,91,83,3 script Kidd#hall 4_M_ACROSS,{
mes "Although he's probably";
mes "gone by now, we need to";
mes "follow through on this lead... If we're lucky, we'll catch Moore.";
- set mao_request,9;
+ mao_request = 9;
close2;
}
else if(mao_request == 9)
@@ -4909,7 +4898,7 @@ que_job01,91,83,3 script Kidd#hall 4_M_ACROSS,{
mes "probably be best for you to";
mes "investigate the pyramids west";
mes "of Morroc. If you happen to find anything, then meet me back here.";
- set mao_request,10;
+ mao_request = 10;
next;
cutin "mocseal_dan01.bmp",0;
mes "[Dandelion Member]";
@@ -4982,7 +4971,7 @@ que_job01,91,83,3 script Kidd#hall 4_M_ACROSS,{
mes "local historian and see what";
mes "I can learn about those crests";
mes "and Raiyan Moore's intentions.";
- set mao_request,12;
+ mao_request = 12;
close2;
}
else if(mao_request == 12)
@@ -5055,7 +5044,7 @@ que_job01,91,83,3 script Kidd#hall 4_M_ACROSS,{
mes "guessing something must";
mes "have happened when he";
mes "went to visit that historian.";
- set mao_request,17;
+ mao_request = 17;
close2;
}
else if(mao_request == 17)
@@ -5098,7 +5087,7 @@ que_job01,91,83,3 script Kidd#hall 4_M_ACROSS,{
mes "Alright, alright.";
mes "I'll try talking";
mes "to him for you...";
- set mao_request,18;
+ mao_request = 18;
close2;
}
else
@@ -5107,7 +5096,7 @@ que_job01,91,83,3 script Kidd#hall 4_M_ACROSS,{
mes "Alright, alright.";
mes "I'll try talking";
mes "to him for you...";
- set mao_request,18;
+ mao_request = 18;
close2;
}
}
@@ -5155,7 +5144,7 @@ que_job01,91,83,3 script Kidd#hall 4_M_ACROSS,{
mes "Coming right up.";
mes "Here you are, enjoy.";
mes "Take this.";
- set mao_request,20;
+ mao_request = 20;
getitem 12112,1;
next;
cutin "mocseal_kid01.bmp",2;
@@ -5220,7 +5209,7 @@ que_job01,91,83,3 script Kidd#hall 4_M_ACROSS,{
mes "truly exists. It might be";
mes "possible to do that by";
mes "offering a blood sacrifice.";
- set mao_request,21;
+ mao_request = 21;
next;
mes "[Kidd]";
mes "Then that would mean";
@@ -5264,7 +5253,7 @@ que_job01,91,83,3 script Kidd#hall 4_M_ACROSS,{
mes "you can find those kids, Raiyan";
mes "Moore, or concrete proof of";
mes "Satan Morroc's existence.";
- set mao_request,22;
+ mao_request = 22;
next;
mes "[Kidd]";
mes "If you're lucky enough to";
@@ -5327,7 +5316,7 @@ que_job01,91,83,3 script Kidd#hall 4_M_ACROSS,{
mes "Raiyan Moore now!";
mes "We're running out of";
mes "time! What'll we do?!";
- set mao_request,23;
+ mao_request = 23;
close2;
}
else
@@ -5341,7 +5330,6 @@ que_job01,91,83,3 script Kidd#hall 4_M_ACROSS,{
close2;
}
break;
-
case 2:
cutin "mocseal_kid01.bmp",2;
mes "[Kidd]";
@@ -5428,9 +5416,8 @@ que_job01,91,83,3 script Kidd#hall 4_M_ACROSS,{
mes "a bad feeling about this!";
mes "We gotta go talk to our";
mes "commanding officer!";
- set mao_request,24;
+ mao_request = 24;
break;
-
case 2:
mes "[Kidd]";
mes "That's right! She's";
@@ -5439,7 +5426,7 @@ que_job01,91,83,3 script Kidd#hall 4_M_ACROSS,{
mes "How could we overlook this?!";
mes "Damn it, we need to talk to our";
mes "commanding officer right now!";
- set mao_request,24;
+ mao_request = 24;
break;
}
next;
@@ -5591,7 +5578,6 @@ que_job01,89,85,5 script Dandelion Member 4_M_MASKMAN,{
mes "can ever forgive ourselves.";
close2;
break;
-
case 2:
mes "[Dandelion Member]";
mes "You really haven't?";
@@ -5674,7 +5660,7 @@ que_job01,89,85,5 script Dandelion Member 4_M_MASKMAN,{
mes "from under his shirt, pressed";
mes "it to his forehead, and then";
mes "quickly mumbled some words.^000000";
- set mao_request,4;
+ mao_request = 4;
close2;
}
else if(mao_request == 4)
@@ -5797,7 +5783,7 @@ que_job01,89,85,5 script Dandelion Member 4_M_MASKMAN,{
mes "guessing something must";
mes "have happened when he";
mes "went to visit that historian.";
- set mao_request,17;
+ mao_request = 17;
close2;
}
else if(mao_request == 17)
@@ -5859,7 +5845,7 @@ que_job01,89,85,5 script Dandelion Member 4_M_MASKMAN,{
mes "Coming right up.";
mes "Here you are, enjoy.";
mes "Take this.";
- set mao_request,20;
+ mao_request = 20;
getitem 12112,1;
next;
cutin "mocseal_kid01.bmp",2;
@@ -6092,9 +6078,8 @@ yuno_in04,180,106,3 script Reading Girl 1_F_MERCHANT_01,{
mes "some historic documents";
mes "before he ran off. They're";
mes "all about history, so I couldn't really understand them at all...";
- set mao_request,6;
+ mao_request = 6;
close;
-
case 2:
mes "[Yunia]";
mes "Mm... I really don't";
@@ -6103,10 +6088,9 @@ yuno_in04,180,106,3 script Reading Girl 1_F_MERCHANT_01,{
mes "he was researching so that";
mes "they'll be ready when he";
mes "comes back to the library.";
- set mao_request,6;
+ mao_request = 6;
close;
}
-
case 2:
mes "[Yunia]";
mes "Oh... you know.";
@@ -6160,7 +6144,7 @@ yuno_in04,180,106,3 script Reading Girl 1_F_MERCHANT_01,{
mes "you try reading his notes";
mes "and his journal on his desk?";
mes "That might be really helpful.";
- set mao_request,7;
+ mao_request = 7;
close;
}
else if(mao_request == 7)
@@ -6223,9 +6207,8 @@ yuno_in04,180,106,3 script Reading Girl 1_F_MERCHANT_01,{
mes "that the documents you're";
mes "delivering are the ones";
mes "that he needs, am I right?";
- set mao_request,106;
+ mao_request = 106;
close;
-
case 2:
mes "[Yunia]";
mes "Oh... You know. Just this";
@@ -6280,7 +6263,7 @@ yuno_in04,180,106,3 script Reading Girl 1_F_MERCHANT_01,{
mes "Oh, and please give";
mes "my regards to Mr. Moore";
mes "when you see him, okay?";
- set mao_request,107;
+ mao_request = 107;
close;
}
else
@@ -6322,7 +6305,7 @@ yuno_in04,175,129,0 script Workbook#mao HIDDEN_NPC,{
{
if(!.mao_book)
{
- set .mao_book,.mao_book +1;
+ ++.mao_book;
donpcevent "#maobooktimer::OnEnter";
mes "^3355FFYou find a crumpled piece";
mes "of paper filled with scribbles.";
@@ -6386,7 +6369,7 @@ yuno_in04,175,129,0 script Workbook#mao HIDDEN_NPC,{
mes "gonna bring this part of";
mes "his journal with me. I'll";
mes "meet you back in Morroc.";
- set mao_request,8;
+ mao_request = 8;
close2;
cutin "mocseal_kid01.bmp",255;
donpcevent "Kidd#book::OnInit";
@@ -6422,7 +6405,7 @@ yuno_in04,175,129,0 script Workbook#mao HIDDEN_NPC,{
}
OnInit:
- set .mao_book,0;
+ .mao_book = 0;
end;
}
@@ -6432,11 +6415,11 @@ yuno_in04,174,130,5 script Kidd#book 4_M_ACROSS,{
mes "......";
mes ".........";
close;
-
+
OnInit:
disablenpc "Kidd#book";
end;
-
+
OnEnter:
enablenpc "Kidd#book";
end;
@@ -6447,11 +6430,11 @@ yuno_in04,1,1,1 script #maobooktimer -1,{
OnEnter:
initnpctimer;
end;
-
+
OnStop:
donpcevent "Workbook#mao::OnInit";
stopnpctimer;
-
+
OnTimer180000:
donpcevent "Workbook#mao::OnInit";
stopnpctimer;
@@ -6462,7 +6445,7 @@ que_job01,6,79,5 script Lin#stairs 4_F_ACROSS,{
OnInit:
disablenpc "Lin#stairs";
end;
-
+
OnEnter:
enablenpc "Lin#stairs";
end;
@@ -6499,7 +6482,7 @@ que_job01,8,77,1 script #linstairs HIDDEN_WARP_NPC,3,3,{
mes "that Mr. R isn't telling us the";
mes "truth for some reason, let";
mes "me know. I'll see you soon.";
- set mao_request,110;
+ mao_request = 110;
close2;
cutin "mocseal_rin01.bmp",255;
donpcevent "Lin#stairs::OnInit";
@@ -6548,7 +6531,7 @@ que_job01,8,77,1 script #linstairs HIDDEN_WARP_NPC,3,3,{
mes "Okay then, I'll see";
mes "you later. Remember,";
mes "the Morroc Inn, alright?";
- set mao_request,116;
+ mao_request = 116;
close2;
cutin "mocseal_rin01.bmp",255;
donpcevent "Lin#stairs::OnInit";
@@ -6605,7 +6588,7 @@ que_job01,8,77,1 script #linstairs HIDDEN_WARP_NPC,3,3,{
mes "missing from Morroc lately.";
mes "What'll be our next move?";
mes "I guess we'll talk to Mr. R.";
- set mao_request,118;
+ mao_request = 118;
next;
mes "[Lin]";
mes "The way things are going,";
@@ -6672,7 +6655,7 @@ que_job01,8,77,1 script #linstairs HIDDEN_WARP_NPC,3,3,{
mes "we might be the ones who'll";
mes "have to keep Satan Morroc";
mes "from returning to this world...";
- set mao_request,122;
+ mao_request = 122;
close2;
cutin "mocseal_rin01.bmp",255;
donpcevent "Lin#stairs::OnInit";
@@ -6708,7 +6691,7 @@ moc_fild10,281,148,1 script Upturned Spot#water HIDDEN_NPC,{
mes "this crest's Water element.^000000";
specialeffect EF_SPHERE;
delitem 996,1;
- set mao_request,15;
+ mao_request = 15;
next;
mes "[" + strcharinfo(0) + "]";
mes "Alright...";
@@ -6753,7 +6736,7 @@ moc_fild10,281,148,1 script Upturned Spot#water HIDDEN_NPC,{
mes "waves in the oasis.^000000";
specialeffect EF_BEGINSPELL2;
delitem 995,1;
- set mao_request,114;
+ mao_request = 114;
next;
mes "[" + strcharinfo(0) + "]";
mes "Alright...";
@@ -6799,7 +6782,7 @@ moc_fild19,21,33,1 script Unturned Spot#wind HIDDEN_NPC,{
mes "interested in. Well,";
mes "I better go inform Kidd";
mes "about what I found here.";
- set mao_request,11;
+ mao_request = 11;
close2;
}
else if(mao_request == 11)
@@ -6848,7 +6831,7 @@ moc_fild19,21,33,1 script Unturned Spot#wind HIDDEN_NPC,{
mes "Wind in this area to stabilize.^000000";
specialeffect EF_SPHERE;
delitem 997,1;
- set mao_request,13;
+ mao_request = 13;
next;
mes "[" + strcharinfo(0) + "]";
mes "Great, now that I'm done";
@@ -6934,7 +6917,7 @@ moc_fild19,21,33,1 script Unturned Spot#wind HIDDEN_NPC,{
mes "for. It looks like an artifact of the Wind element, but the wind";
mes "around here isn't as strong as it should be. I think I might need";
mes "to bring a ^4D4DFFRough Wind^000000 here...";
- set mao_request,111;
+ mao_request = 111;
close2;
}
else if(mao_request == 111)
@@ -6956,7 +6939,7 @@ moc_fild19,21,33,1 script Unturned Spot#wind HIDDEN_NPC,{
mes "the wind to blow stronger.^000000";
specialeffect EF_BEGINSPELL4;
delitem 996,1;
- set mao_request,112;
+ mao_request = 112;
next;
cutin "mocseal_wind01.bmp",2;
mes "[" + strcharinfo(0) + "]";
@@ -7024,7 +7007,7 @@ moc_fild12,280,36,1 script Unturned Spot#earth HIDDEN_NPC,{
cutin "mocseal_earth02.bmp",2;
specialeffect EF_SPHERE;
delitem 994,1;
- set mao_request,14;
+ mao_request = 14;
next;
mes "[" + strcharinfo(0) + "]";
mes "That was simple.";
@@ -7075,7 +7058,7 @@ moc_fild12,280,36,1 script Unturned Spot#earth HIDDEN_NPC,{
mes "towards the crest.^000000";
specialeffect EF_BEGINSPELL5;
delitem 997,1;
- set mao_request,113;
+ mao_request = 113;
next;
mes "[" + strcharinfo(0) + "]";
mes "Great, I think that actually";
@@ -7138,7 +7121,7 @@ moc_fild07,192,166,1 script Unturned Spot#fire HIDDEN_NPC,{
cutin "mocseal_fire02.bmp",2;
specialeffect EF_SPHERE;
delitem 995,1;
- set mao_request,16;
+ mao_request = 16;
next;
mes "[" + strcharinfo(0) + "]";
mes "It looks like my work";
@@ -7182,7 +7165,7 @@ moc_fild07,192,166,1 script Unturned Spot#fire HIDDEN_NPC,{
specialeffect EF_BEGINSPELL3;
cutin "mocseal_fire01.bmp",2;
delitem 994,1;
- set mao_request,115;
+ mao_request = 115;
next;
mes "[" + strcharinfo(0) + "]";
mes "Well, that's the";
@@ -7350,7 +7333,7 @@ morocc_in,46,125,5 script Assistant 4_F_NOVICE,{
mes "regulate this region's elements";
mes "to make it possible for people";
mes "to live here in the desert.";
- set mao_request,19;
+ mao_request = 19;
close;
}
else if(mao_request == 116)
@@ -7462,7 +7445,7 @@ morocc_in,46,125,5 script Assistant 4_F_NOVICE,{
mes "regulate this region's elements";
mes "to make it possible for people";
mes "to live here in the desert.";
- set mao_request,117;
+ mao_request = 117;
close;
}
else
@@ -7538,7 +7521,7 @@ OnTouch:
mes "too serious. Valdes,";
mes "wait, I'm coming with you!";
mes ""+ strcharinfo(0) +", come on, quickly!";
- set mao_request,25;
+ mao_request = 25;
close2;
donpcevent "Kidd#2::OnInit";
end;
@@ -7625,7 +7608,7 @@ OnTouch:
mes "If Satan Morroc really";
mes "exists, we can't let";
mes "him enter our world!";
- set mao_request,124;
+ mao_request = 124;
close2;
warp "que_job01",11,4;
end;
@@ -7634,7 +7617,7 @@ OnTouch:
OnInit:
disablenpc "#mao_table";
end;
-
+
OnEnter:
enablenpc "#mao_table";
end;
@@ -7653,14 +7636,14 @@ OnTouch:
mes "like Lin's voice...";
mes "Where are they?";
mes "Where have they gone?!";
- set mao_request,123;
+ mao_request = 123;
close;
}
OnInit:
disablenpc "#mao_empty";
end;
-
+
OnEnter:
enablenpc "#mao_empty";
end;
@@ -7725,7 +7708,7 @@ OnTouch:
mes "happening. Hurry,";
mes "the fate of the world";
mes "hangs in the balance!";
- set mao_request,26;
+ mao_request = 26;
close2;
warp "que_job01",144,61;
end;
@@ -7733,7 +7716,7 @@ OnTouch:
OnInit:
disablenpc "#Rabsent";
end;
-
+
OnEnter:
enablenpc "#Rabsent";
end;
@@ -7766,7 +7749,7 @@ moc_castle,40,20,3 script Man 4_M_DIEMAN,{
{
close2;
warp "que_job02",14,182;
- set $mao_gate1,1;
+ $mao_gate1 = 1;
end;
}
}
@@ -7784,15 +7767,15 @@ moc_castle,40,20,3 script Man 4_M_DIEMAN,{
{
close2;
warp "que_job03",14,182;
- set $mao_gate2,1;
+ $mao_gate2 = 1;
end;
}
}
close;
OnInit:
- set $mao_gate1,0;
- set $mao_gate2,0;
+ $mao_gate1 = 0;
+ $mao_gate2 = 0;
end;
}
@@ -7801,11 +7784,11 @@ que_job02,14,182,1 script #maogate1 HIDDEN_WARP_NPC,1,1,{
OnEnter:
enablenpc "#maogate1";
end;
-
+
OnStop:
disablenpc "#maogate1";
end;
-
+
OnTouch:
if (mao_request == 26 || mao_request == 27)
{
@@ -7819,7 +7802,7 @@ OnTouch:
mes "teleported outside.^000000";
close2;
warp "morocc",100,100;
- set $mao_gate1,0;
+ $mao_gate1 = 0;
}
end;
@@ -7863,7 +7846,7 @@ OnTimer596000:
OnTimer597000:
enablenpc "#maogate1";
- set $mao_gate1,0;
+ $mao_gate1 = 0;
stopnpctimer;
end;
}
@@ -7877,7 +7860,7 @@ OnInit:
OnEnter:
enablenpc "#maogate1_talk1";
end;
-
+
OnTouch:
mes "^333333Holy... ritual... of...";
mes "blood... I am proud...";
@@ -7918,7 +7901,7 @@ OnStop:
OnEnter:
enablenpc "#maogate1_talk2";
end;
-
+
OnTouch:
mes "...";
mes "......";
@@ -7964,7 +7947,7 @@ OnStop:
OnEnter:
enablenpc "#maogate1_talk3";
end;
-
+
OnTouch:
mes "......";
mes ".........";
@@ -8021,7 +8004,7 @@ OnStop:
OnEnter:
enablenpc "#maogate1_talk4";
end;
-
+
OnTouch:
mes "......";
mes ".........";
@@ -8073,7 +8056,7 @@ OnStop:
OnEnter:
enablenpc "#maogate1_talk5";
end;
-
+
OnTouch:
mes "......";
mes ".........";
@@ -8110,7 +8093,7 @@ OnStop:
OnEnter:
enablenpc "#maogate1_talk6";
end;
-
+
OnTouch:
mes "......";
mes ".........";
@@ -8183,7 +8166,7 @@ OnStop:
OnEnter:
enablenpc "#maogate1_talk7";
end;
-
+
OnTouch:
mes "......";
mes ".........";
@@ -8237,16 +8220,16 @@ OnStop:
OnEnter:
enablenpc "#maogate1_talk8";
end;
-
+
OnStop2:
stopnpctimer;
end;
-
+
OnTouch:
initnpctimer;
disablenpc "#maogate1_talk8";
end;
-
+
OnTimer1000:
mapannounce "que_job02","...Blood... is the currency... of the soul...",1,0x7B68EE;
end;
@@ -8370,7 +8353,7 @@ que_job02,66,85,5 script Dandelion Member#1_bt 4_M_MASKMAN,{
mes "in there and help him...";
close2;
emotion e_gasp,1;
- set mao_request,27;
+ mao_request = 27;
disablenpc "Dandelion Member#1_bt";
end;
}
@@ -8546,7 +8529,7 @@ OnTouch:
mes "Let me go!";
mes "I'm gonna chase";
mes "Moore myself!";
- set mao_request,28;
+ mao_request = 28;
close2;
donpcevent "Lin#maogate1_2::OnInit";
disablenpc "#maogate1_end";
@@ -8577,7 +8560,7 @@ OnTimer5000:
end;
OnTimer5500:
- set $@maogate1mobs,3;
+ $@maogate1mobs = 3;
monster "que_job02",128,105,"Mummy",1041,1,"Kidd#maogate1_2::OnMyMobDead";
monster "que_job02",115,106,"Mummy",1041,1,"Kidd#maogate1_2::OnMyMobDead";
monster "que_job02",121,112,"Mummy",1041,1,"Kidd#maogate1_2::OnMyMobDead";
@@ -8595,7 +8578,7 @@ OnTimer10000:
donpcevent "Dandelion#maogate1_1::OnInit";
stopnpctimer;
end;
-
+
OnMyMobDead:
end;
}
@@ -8624,7 +8607,7 @@ OnEnter:
end;
OnMyMobDead:
- set $@maogate1mobs,$@maogate1mobs -1;
+ --$@maogate1mobs;
if($@maogate1mobs < 1) donpcevent "#maogate1_end2::OnEnter";
end;
}
@@ -8747,7 +8730,7 @@ OnTouch:
mes "back, the other members";
mes "of the Assassin Guild";
mes "will take care of this...";
- set mao_request,29;
+ mao_request = 29;
close2;
mapwarp "que_job02","que_job01",59,49;
donpcevent "#maogate1_talk1::OnInit";
@@ -8774,7 +8757,7 @@ OnTouch:
donpcevent "#maogate1_battle::OnStop";
donpcevent "#maogate1_battle::OnEnter";
enablenpc "#maogate1";
- set $mao_gate1,0;
+ $mao_gate1 = 0;
end;
}
}
@@ -8784,11 +8767,11 @@ que_job03,14,182,1 script #maogate2 HIDDEN_WARP_NPC,1,1,{
OnEnter:
enablenpc "#maogate2";
end;
-
+
OnStop:
disablenpc "#maogate2";
end;
-
+
OnTouch:
if (mao_request == 124 || mao_request == 125)
{
@@ -8802,7 +8785,7 @@ OnTouch:
mes "teleported outside.^000000";
close2;
warp "morocc",100,100;
- set $mao_gate2,0;
+ $mao_gate2 = 0;
}
end;
@@ -8846,7 +8829,7 @@ OnTimer596000:
OnTimer597000:
enablenpc "#maogate2";
- set $mao_gate2,0;
+ $mao_gate2 = 0;
stopnpctimer;
end;
}
@@ -8860,7 +8843,7 @@ OnInit:
OnEnter:
enablenpc "#maogate2_talk1";
end;
-
+
OnTouch:
mes "^333333Holy... ritual... of...";
mes "blood... I am proud...";
@@ -8901,7 +8884,7 @@ OnStop:
OnEnter:
enablenpc "#maogate2_talk2";
end;
-
+
OnTouch:
mes "...";
mes "......";
@@ -8947,7 +8930,7 @@ OnStop:
OnEnter:
enablenpc "#maogate2_talk3";
end;
-
+
OnTouch:
mes "......";
mes ".........";
@@ -9004,7 +8987,7 @@ OnStop:
OnEnter:
enablenpc "#maogate2_talk4";
end;
-
+
OnTouch:
mes "......";
mes ".........";
@@ -9056,7 +9039,7 @@ OnStop:
OnEnter:
enablenpc "#maogate2_talk5";
end;
-
+
OnTouch:
mes "......";
mes ".........";
@@ -9093,7 +9076,7 @@ OnStop:
OnEnter:
enablenpc "#maogate2_talk6";
end;
-
+
OnTouch:
mes "......";
mes ".........";
@@ -9166,7 +9149,7 @@ OnStop:
OnEnter:
enablenpc "#maogate2_talk7";
end;
-
+
OnTouch:
mes "......";
mes ".........";
@@ -9220,16 +9203,16 @@ OnStop:
OnEnter:
enablenpc "#maogate2_talk8";
end;
-
+
OnStop2:
stopnpctimer;
end;
-
+
OnTouch:
initnpctimer;
disablenpc "#maogate2_talk8";
end;
-
+
OnTimer1000:
mapannounce "que_job03","...Blood... is the currency... of the soul...",1,0x7B68EE;
end;
@@ -9268,39 +9251,39 @@ OnStop:
OnEnter:
enablenpc "#maogate2_battle";
end;
-
+
OnStop2:
stopnpctimer;
killmonster "que_job03","#maogate2_battle::OnMyMobDead";
end;
-
+
OnTouch:
initnpctimer;
emotion e_wah,1;
disablenpc "#maogate2_battle";
end;
-
+
OnTimer500:
monster "que_job03",71,85,"Mummy",1041,1,"#maogate2_battle::OnMyMobDead";
monster "que_job03",79,85,"Mummy",1041,1,"#maogate2_battle::OnMyMobDead";
monster "que_job03",71,80,"Mummy",1041,1,"#maogate2_battle::OnMyMobDead";
monster "que_job03",79,80,"Mummy",1041,1,"#maogate2_battle::OnMyMobDead";
end;
-
+
OnTimer5000:
mapannounce "que_job03","Watch out!",1,0x90EE90;
donpcevent "Dandelion Member#2_bt::OnEnter";
end;
-
+
OnTimer6000:
specialeffect EF_LORD;
end;
-
+
OnTimer6500:
killmonster "que_job03","#maogate2_battle::OnMyMobDead";
stopnpctimer;
end;
-
+
OnMyMobDead:
end;
}
@@ -9363,7 +9346,7 @@ que_job03,66,85,5 script Dandelion Member#2_bt 4_M_MASKMAN,{
mes "and try to find her as";
mes "soon as I can!";
close2;
- set mao_request,125;
+ mao_request = 125;
disablenpc "Dandelion Member#2_bt";
end;
}
@@ -9371,7 +9354,7 @@ que_job03,66,85,5 script Dandelion Member#2_bt 4_M_MASKMAN,{
OnInit:
disablenpc "Dandelion Member#2_bt";
end;
-
+
OnEnter:
enablenpc "Dandelion Member#2_bt";
end;
@@ -9382,11 +9365,11 @@ que_job03,87,83,1 script #maogate2_setting HIDDEN_WARP_NPC,2,2,{
OnStop:
disablenpc "#maogate2_setting";
end;
-
+
OnEnter:
enablenpc "#maogate2_setting";
end;
-
+
OnTouch:
if (mao_request == 125)
{
@@ -9405,20 +9388,20 @@ que_job03,117,101,1 script #maogate2_end HIDDEN_WARP_NPC,3,3,{
OnInit:
disablenpc "#maogate2_end";
end;
-
+
OnReset:
killmonster "que_job03","#maogate2_end::OnMyMobDead";
end;
-
+
OnStop:
killmonster "que_job03","#maogate2_end::OnMyMobDead";
stopnpctimer;
end;
-
+
OnEnter:
enablenpc "#maogate2_end";
end;
-
+
OnTouch:
donpcevent "#maogate2_setting::OnStop";
mes "[" + strcharinfo(0) + "]";
@@ -9539,8 +9522,8 @@ OnTouch:
mes "Let me go!";
mes "I'm gonna chase";
mes "Moore myself!";
- set mao_request,126;
- set $maoattack,$maoattack +1;
+ mao_request = 126;
+ ++$maoattack;
close2;
donpcevent "Lin#maogate2_2::OnInit";
disablenpc "#maogate2_end";
@@ -9571,7 +9554,7 @@ OnTimer5000:
end;
OnTimer5500:
- set $@maogate2mobs,3;
+ $@maogate2mobs = 3;
monster "que_job03",128,105,"Mummy",1041,1,"Kidd#maogate2_2::OnMyMobDead";
monster "que_job03",115,106,"Mummy",1041,1,"Kidd#maogate2_2::OnMyMobDead";
monster "que_job03",121,112,"Mummy",1041,1,"Kidd#maogate2_2::OnMyMobDead";
@@ -9618,7 +9601,7 @@ OnEnter:
end;
OnMyMobDead:
- set $@maogate2mobs,$@maogate2mobs -1;
+ --$@maogate2mobs;
if($@maogate2mobs < 1) donpcevent "#maogate2_end2::OnEnter";
end;
}
@@ -9725,7 +9708,7 @@ que_job03,122,106,1 script #maogate2_end2 HIDDEN_WARP_NPC,15,15,{
OnInit:
disablenpc "#maogate2_end2";
end;
-
+
OnEnter:
enablenpc "#maogate2_end2";
end;
@@ -9740,7 +9723,7 @@ OnTouch:
mes "You don't look so hot. Come";
mes "on, we gotta get you back";
mes "to the guild for now...";
- set mao_request,127;
+ mao_request = 127;
close2;
mapwarp "que_job03","que_job01",59,49;
donpcevent "#maogate2_talk1::OnInit";
@@ -9767,7 +9750,7 @@ OnTouch:
donpcevent "#maogate2_battle::OnStop";
donpcevent "#maogate2_battle::OnEnter";
enablenpc "#maogate2";
- set $mao_gate2,0;
+ $mao_gate2 = 0;
end;
}
}
@@ -9803,11 +9786,11 @@ morocc,30,29,5 script Member#mao1 4_M_MASKMAN,10,15,{
OnStop:
disablenpc "Member#mao1";
end;
-
+
OnEnter:
enablenpc "Member#mao1";
end;
-
+
OnTouch:
if (mao_request == 30 || mao_request == 128)
{
@@ -9848,7 +9831,7 @@ OnTouch:
if($maoattack > 49)
{
donpcevent "#mao_manager::OnStart";
- set $maoattack,0;
+ $maoattack = 0;
}
else donpcevent "#mao_timer::OnStart";
end;
@@ -9886,7 +9869,7 @@ morocc,29,26,0 script Member#mao2 4_M_MASKMAN,{
OnStop:
disablenpc "Member#mao2";
end;
-
+
OnEnter:
enablenpc "Member#mao2";
end;
@@ -9923,7 +9906,7 @@ morocc,33,27,1 script Member#mao3 4_M_MASKMAN,{
OnStop:
disablenpc "Member#mao3";
end;
-
+
OnEnter:
enablenpc "Member#mao3";
end;
@@ -9960,7 +9943,7 @@ morocc,34,30,3 script Member#mao4 4_M_MASKMAN,{
OnStop:
disablenpc "Member#mao4";
end;
-
+
OnEnter:
enablenpc "Member#mao4";
end;
@@ -9971,7 +9954,7 @@ morocc,1,1,1 script #mao_timer -1,{
OnStart:
initnpctimer;
end;
-
+
OnTimer300000:
OnStop:
donpcevent "Member#mao1::OnEnter";
@@ -9987,7 +9970,7 @@ morocc,1,2,1 script #mao_manager -1,{
OnStart:
initnpctimer;
end;
-
+
OnStop:
killmonster "morocc","#mao_manager::OnMyMobDead";
donpcevent "Member#mao1::OnEnter";
@@ -9996,27 +9979,27 @@ OnStop:
donpcevent "Member#mao4::OnEnter";
stopnpctimer;
end;
-
+
OnTimer300000:
mapannounce "morocc","How dare... you... interrupt... the holy ritual...",1,0x7B68EE;
end;
-
+
OnTimer305000:
mapannounce "morocc","...The seal... no... it won't... it's not...",1,0x7B68EE;
end;
-
+
OnTimer310000:
mapannounce "morocc","...Accursed humans... interfering with... my revival...",1,0x7B68EE;
end;
-
+
OnTimer315000:
mapannounce "morocc","...Take this... blessing... of blood... Accept your.... death...",1,0x7B68EE;
end;
-
+
OnTimer320000:
mapannounce "morocc","...Beg for... my forgiveness... in the afterlife...!",1,0x7B68EE;
end;
-
+
OnTimer325000:
mapannounce "morocc","???: Morroc Satan's angry! Oh Freya, please protect us from the evil being...",1,0x7B68EE;
monster "morocc",163,185,"Satan's Wrath",1041,1,"#mao_manager::OnMyMobDead";
@@ -10030,7 +10013,7 @@ OnTimer325000:
monster "morocc",157,191,"Satan's Wrath",1041,1,"#mao_manager::OnMyMobDead";
monster "morocc",155,191,"Satan's Wrath",1041,1,"#mao_manager::OnMyMobDead";
end;
-
+
OnTimer327000:
monster "morocc",163,194,"Satan's Despair",1041,1,"#mao_manager::OnMyMobDead";
monster "morocc",161,194,"Satan's Despair",1041,1,"#mao_manager::OnMyMobDead";
@@ -10048,7 +10031,7 @@ OnTimer327000:
monster "morocc",157,200,"Satan's Wrath",1041,1,"#mao_manager::OnMyMobDead";
monster "morocc",155,200,"Satan's Wrath",1041,1,"#mao_manager::OnMyMobDead";
end;
-
+
OnTimer329000:
announce "Kafra Pavianne: This is the Morroc Kafra Branch! The m-monsters are... Aaaaahhh!",bc_all,0x70DBDB;
monster "morocc",163,203,"Satan's Wrath",1154,1,"#mao_manager::OnMyMobDead";
@@ -10067,7 +10050,7 @@ OnTimer329000:
monster "morocc",157,209,"Satan's Wrath",1154,1,"#mao_manager::OnMyMobDead";
monster "morocc",155,209,"Satan's Wrath",1154,1,"#mao_manager::OnMyMobDead";
end;
-
+
OnTimer331000:
monster "morocc",163,212,"Satan's Wrath",1154,1,"#mao_manager::OnMyMobDead";
monster "morocc",161,212,"Satan's Wrath",1154,1,"#mao_manager::OnMyMobDead";
@@ -10080,7 +10063,7 @@ OnTimer331000:
monster "morocc",157,212,"Satan's Wrath",1154,1,"#mao_manager::OnMyMobDead";
monster "morocc",155,212,"Satan's Wrath",1154,1,"#mao_manager::OnMyMobDead";
end;
-
+
OnTimer333000:
monster "morocc",138,162,"Satan's Wrath",1041,1,"#mao_manager::OnMyMobDead";
monster "morocc",140,162,"Satan's Wrath",1041,1,"#mao_manager::OnMyMobDead";
@@ -10126,7 +10109,7 @@ OnTimer333000:
monster "morocc",178,160,"Satan's Wrath",1154,1,"#mao_manager::OnMyMobDead";
monster "morocc",180,160,"Satan's Wrath",1154,1,"#mao_manager::OnMyMobDead";
end;
-
+
OnTimer335000:
monster "morocc",138,158,"Satan's Despair",1041,1,"#mao_manager::OnMyMobDead";
monster "morocc",140,158,"Satan's Despair",1041,1,"#mao_manager::OnMyMobDead";
@@ -10152,7 +10135,7 @@ OnTimer335000:
monster "morocc",0,0,"Satan's Despair",1041,20,"#mao_manager::OnMyMobDead";
monster "morocc",0,0,"Satan's Wrath",1041,20,"#mao_manager::OnMyMobDead";
end;
-
+
OnTimer1800000:
killmonster "morocc","#mao_manager::OnMyMobDead";
donpcevent "Member#mao1::OnEnter";
@@ -10161,7 +10144,7 @@ OnTimer1800000:
donpcevent "Member#mao4::OnEnter";
stopnpctimer;
end;
-
+
OnMyMobDead:
end;
}
@@ -10252,23 +10235,22 @@ sec_in02,38,162,0 script Morroc Invasion Manager 4_F_SITDOWN,{
mes "must be completed 1 more";
mes "time before the Satan Morroc";
mes "invasion can be triggered.";
- set $maoattack,49;
+ $maoattack = 49;
close;
case 2:
mes "The GlobalVar has been";
mes "set to 50. The Satan Morroc";
mes "invasion can now be triggered.";
- set $maoattack,50;
+ $maoattack = 50;
close;
-
case 3:
mes "The GlobalVar has been";
mes "set to 0. The Lin Quest";
mes "must be completed 1 more";
mes "time before the Satan Morroc";
mes "invasion can be triggered.";
- set $maoattack,0;
+ $maoattack = 0;
close;
}
diff --git a/npc/quests/doomed_swords.txt b/npc/quests/doomed_swords.txt
index 6bccc7347..b17c59145 100644
--- a/npc/quests/doomed_swords.txt
+++ b/npc/quests/doomed_swords.txt
@@ -37,7 +37,7 @@ prt_in,162,11,2 script Ghatu#magum 4_M_04,{
mes "hiding in the mountains";
mes "since too many people want^FFFFFF ^000000 to use his talents for the wrong";
mes "purposes. Apparently, there is^FFFFFF ^000000 a godly quality to his weapons...";
- set event_magum,1;
+ event_magum = 1;
close;
}
mes "[Ghatu]";
@@ -69,7 +69,7 @@ prt_in,162,11,2 script Ghatu#magum 4_M_04,{
mes "hammer. If you can manage to";
mes "find him, perhaps you can ask";
mes "him to forge something for you?";
- set event_magum,5;
+ event_magum = 5;
close;
}
@@ -103,7 +103,7 @@ prt_in,162,11,2 script Ghatu#magum 4_M_04,{
mes "hammer. If you can manage to";
mes "find him, perhaps you can ask";
mes "him to forge something for you?";
- set event_magum,5;
+ event_magum = 5;
close;
}
mes "[Ghatu]";
@@ -151,8 +151,8 @@ prontera,197,188,2 script Veeyop#magum 1_M_04,{
mes "Prontera, but then he moved";
mes "away for some weird reason.";
if (event_magum == 1)
- set event_magum,5;
- set dmdswrd_Q2,dmdswrd_Q2 | 1;
+ event_magum = 5;
+ dmdswrd_Q2 |= 1;
close;
}
@@ -203,8 +203,8 @@ morocc,281,178,2 script Cetsu#magum 4W_M_01,{
mes "did seem to be pretty";
mes "high in demand back then...";
if (event_magum == 1)
- set event_magum,5;
- set dmdswrd_Q2,dmdswrd_Q2 | 2;
+ event_magum = 5;
+ dmdswrd_Q2 |= 2;
close;
}
@@ -247,8 +247,8 @@ izlude_in,173,88,2 script Nain#magum 8_F,{
mes "can forge that accursed";
mes "Executioner anew...";
if (event_magum == 1)
- set event_magum,5;
- set dmdswrd_Q2,dmdswrd_Q2 | 4;
+ event_magum = 5;
+ dmdswrd_Q2 |= 4;
close;
}
@@ -458,8 +458,8 @@ pay_fild08,218,283,2 script Mysterious Man#magum 4_M_ORIENT02,{
mes "and an Emperium to prove your";
mes "worthiness to me. I will wait";
mes "for your return, adventurer.";
- set dmdswrd_Q2,dmdswrd_Q2 | 8;
- set event_magum,6;
+ dmdswrd_Q2 |= 8;
+ event_magum = 6;
close;
}
mes "[Mysterious Blacksmith]";
@@ -523,8 +523,8 @@ pay_fild08,218,283,2 script Mysterious Man#magum 4_M_ORIENT02,{
mes "require you to prove that you";
mes "are worthy of the Grimtooth's";
mes "power. Can you truly handle it?";
- set dmdswrd_Q2,dmdswrd_Q2 | 16;
- set event_magum,6;
+ dmdswrd_Q2 |= 16;
+ event_magum = 6;
close;
}
mes "[Mysterious Blacksmith]";
@@ -579,8 +579,8 @@ pay_fild08,218,283,2 script Mysterious Man#magum 4_M_ORIENT02,{
mes "evil power. As for the Emperium, consider it my test to see if you";
mes "are truly capable of wielding";
mes "the accursed Executioner...";
- set dmdswrd_Q2,dmdswrd_Q2 | 32;
- set event_magum,6;
+ dmdswrd_Q2 |= 32;
+ event_magum = 6;
close;
}
mes "[Mysterious Blacksmith]";
@@ -874,7 +874,7 @@ pay_fild08,218,283,2 script Mysterious Man#magum 4_M_ORIENT02,{
mes "and an Emperium to prove your";
mes "worthiness to me. I will wait";
mes "for your return, adventurer.";
- set dmdswrd_Q2,dmdswrd_Q2 | 8;
+ dmdswrd_Q2 |= 8;
close;
}
mes "[Mysterious Blacksmith]";
@@ -1019,7 +1019,7 @@ pay_fild08,218,283,2 script Mysterious Man#magum 4_M_ORIENT02,{
mes "require you to prove that you";
mes "are worthy of the Grimtooth's";
mes "power. Can you truly handle it?";
- set dmdswrd_Q2,dmdswrd_Q2 | 16;
+ dmdswrd_Q2 |= 16;
close;
}
mes "[Mysterious Blacksmith]";
@@ -1151,7 +1151,7 @@ pay_fild08,218,283,2 script Mysterious Man#magum 4_M_ORIENT02,{
mes "evil power. As for the Emperium, consider it my test to see if you";
mes "are truly capable of wielding";
mes "the accursed Executioner...";
- set dmdswrd_Q2,dmdswrd_Q2 | 4;
+ dmdswrd_Q2 |= 4;
close;
}
mes "[Mysterious Blacksmith]";
diff --git a/npc/quests/doomed_swords_quest.txt b/npc/quests/doomed_swords_quest.txt
index e4a1ddf58..008ada20f 100644
--- a/npc/quests/doomed_swords_quest.txt
+++ b/npc/quests/doomed_swords_quest.txt
@@ -101,7 +101,7 @@ mjolnir_02,186,193,4 script Middle-Aged Man#magum1 1_M_LIBRARYMASTER,{
mes "Give me a few minutes and";
mes "I'll let you know what you";
mes "need to bring to me.";
- set dmdswrd_Q,32;
+ dmdswrd_Q = 32;
close;
}
else if (dmdswrd_Q == 32) {
@@ -135,7 +135,7 @@ mjolnir_02,186,193,4 script Middle-Aged Man#magum1 1_M_LIBRARYMASTER,{
mes "^FF000025 Amulets^000000,";
mes "^FF00001 Coal^000000, and";
mes "^FF00001 Necklace of Oblivion^000000.";
- set dmdswrd_Q,33;
+ dmdswrd_Q = 33;
close;
}
else if (dmdswrd_Q == 33) {
@@ -152,7 +152,7 @@ mjolnir_02,186,193,4 script Middle-Aged Man#magum1 1_M_LIBRARYMASTER,{
delitem 1003,1; //Coal
delitem 609,25; //Amulet
delitem 1008,1; //Frozen_Heart
- set dmdswrd_Q,34;
+ dmdswrd_Q = 34;
close;
}
mes "[Walker]";
@@ -262,7 +262,7 @@ mjolnir_02,186,193,4 script Middle-Aged Man#magum1 1_M_LIBRARYMASTER,{
mes "and give my regards to Morf";
mes "once you see him. If you do";
mes "succeed in obtaining a doomed sword, use its power responsibly.";
- set dmdswrd_Q,35;
+ dmdswrd_Q = 35;
close;
}
else if (dmdswrd_Q == 35) {
@@ -391,7 +391,7 @@ payon,248,159,1 script Old Man#magum1 2_M_PHARMACIST,{
mes "Potions so I can nurse";
mes "the headache I'm gonna";
mes "have! I'll need them so bad...";
- set dmdswrd_Q,36;
+ dmdswrd_Q = 36;
close;
}
else if (dmdswrd_Q == 36) {
@@ -431,7 +431,7 @@ payon,248,159,1 script Old Man#magum1 2_M_PHARMACIST,{
mes "sword pentagram. I'll just be";
mes "waiting for you right here.";
delitem 503,20; //Yellow_Potion
- set dmdswrd_Q,37;
+ dmdswrd_Q = 37;
close;
}
mes "[Old Man]";
@@ -557,7 +557,7 @@ payon,248,159,1 script Old Man#magum1 2_M_PHARMACIST,{
delitem 1019,3; //Wooden_Block
delitem 7021,1; //Foolishness_Of_Blind
delitem 7002,50; //Ogre_Tooth
- set dmdswrd_Q,38;
+ dmdswrd_Q = 38;
close;
}
mes "[Old Man]";
@@ -662,7 +662,7 @@ payon,248,159,1 script Old Man#magum1 2_M_PHARMACIST,{
mes "find him, he can complete";
mes "this pentagram for you. Well,";
mes "care now, and good luck.";
- set dmdswrd_Q,39;
+ dmdswrd_Q = 39;
close;
case 2:
mes "[Morf]";
@@ -870,7 +870,7 @@ morocc,248,159,4 script Young Man#magum1 4_M_04,{
mes "Oh, and bring me the ^FF0000exact";
mes "amounts^000000--^FF0000no more^000000, ^FF0000no less^000000.";
mes "Okay now, I'll see you later~";
- set dmdswrd_Q,40;
+ dmdswrd_Q = 40;
close;
}
else if (dmdswrd_Q == 40) {
@@ -893,7 +893,7 @@ morocc,248,159,4 script Young Man#magum1 4_M_04,{
delitem 7023,6; //Blade_Lost_In_Darkness
delitem 723,9; //Cardinal_Jewel
delitem 7019,1; //Loki's_Whispers
- set dmdswrd_Q,41;
+ dmdswrd_Q = 41;
close;
}
mes "[Huey]";
@@ -972,7 +972,7 @@ morocc,248,159,4 script Young Man#magum1 4_M_04,{
mes "There, I see it! Now";
mes "quickly, take it! It's yours!";
next;
- set .@random,rand(1,10);
+ .@random = rand(1,10);
if (.@random >= 1 && .@random <= 5) {
callsub S_GetSword,1237,0,1,42;
getitem 1237,1; //Grimtooth_
@@ -1041,7 +1041,7 @@ S_GetSword:
mes "the light dissipates, you";
mes "can see that you have";
mes "obtained a "+getitemname(getarg(0))+".^000000";
- set magum,getarg(3);
+ magum = getarg(3);
next;
}
if (checkweight(getarg(0),1) == 0) {
@@ -1091,6 +1091,6 @@ S_GetSword:
mes "Walker my regards if you";
mes "happen to see them. Well";
mes "then, take care of yourself, and be cautious in using that sword.";
- set dmdswrd_Q,45;
+ dmdswrd_Q = 45;
return;
}
diff --git a/npc/quests/eye_of_hellion.txt b/npc/quests/eye_of_hellion.txt
index 0acbf6c05..505db5edd 100644
--- a/npc/quests/eye_of_hellion.txt
+++ b/npc/quests/eye_of_hellion.txt
@@ -203,7 +203,7 @@ morocc_in,116,101,3 script Old Scholar Tyus#hellion 4_M_JOB_WIZARD,3,3,{
mes "has offered to help me find";
mes "the gem, but I do not know if";
mes "I can trust him. Please help me protect this world from the gem...";
- set HELLIONQ,36;
+ HELLIONQ = 36;
close;
}
mes "[Sir Chilias'Tyus]";
@@ -213,7 +213,7 @@ morocc_in,116,101,3 script Old Scholar Tyus#hellion 4_M_JOB_WIZARD,3,3,{
mes "one to take lightly. However,";
mes "I believe that you are wholly";
mes "capable of accomplishing this.";
- set HELLIONQ,37;
+ HELLIONQ = 37;
close;
}
mes "[Sir Chilias'Tyus]";
@@ -257,7 +257,7 @@ morocc_in,116,101,3 script Old Scholar Tyus#hellion 4_M_JOB_WIZARD,3,3,{
mes "has offered to help me find";
mes "the gem, but I do not know if";
mes "I can trust him. Please help me protect this world from the gem...";
- set HELLIONQ,36;
+ HELLIONQ = 36;
close;
}
mes "[Sir Chilias'Tyus]";
@@ -301,7 +301,7 @@ morocc_in,116,101,3 script Old Scholar Tyus#hellion 4_M_JOB_WIZARD,3,3,{
mes "and see if you can find";
mes "it. Good luck to you,";
mes "kind adventurer.";
- set HELLIONQ,47;
+ HELLIONQ = 47;
close;
}
else if (HELLIONQ == 47) {
@@ -358,7 +358,7 @@ morocc_in,116,101,3 script Old Scholar Tyus#hellion 4_M_JOB_WIZARD,3,3,{
mes "fulfill my dear grandfather's";
mes "greatest wish and forever";
mes "seal away the Hellion's gem.";
- set HELLIONQ,58;
+ HELLIONQ = 58;
getitem 7335,1; //Piece_Of_Slate_3
next;
mes "[Sir Chilias'Tyus]";
@@ -406,7 +406,7 @@ morocc_in,116,101,3 script Old Scholar Tyus#hellion 4_M_JOB_WIZARD,3,3,{
mes "the only one who can combine";
mes "the tablet pieces into the its";
mes "complete form. Thank you...";
- set HELLIONQ,67;
+ HELLIONQ = 67;
close;
}
mes "[Sir Chilias'Tyus]";
@@ -544,7 +544,7 @@ morocc_in,116,101,3 script Old Scholar Tyus#hellion 4_M_JOB_WIZARD,3,3,{
mes "from those motivated by greed.";
delitem 7332,1; //Slate
delitem 7337,countitem(7337); //Eye_Of_Hellion
- set HELLIONQ,69;
+ HELLIONQ = 69;
getitem 2658,1; //Nile_Rose_
getitem 603,1; //Old_Blue_Box
getexp (checkre(3))?120000:1200000,0;
@@ -612,7 +612,7 @@ morocc_in,116,101,3 script Old Scholar Tyus#hellion 4_M_JOB_WIZARD,3,3,{
mes "keep its secret and protect it";
mes "from those motivated by greed.";
delitem 7332,1; //Slate
- set HELLIONQ,70;
+ HELLIONQ = 70;
getitem 2658,1; //Nile_Rose_
getexp (checkre(3))?100000:1000000,0;
next;
@@ -739,7 +739,7 @@ prontera,269,326,3 script Clanux Heffron#hellion 1_M_04,{
mes "through so much trouble to";
mes "even hide these clues. Oh";
mes "man, I want it so bad...";
- set HELLIONQ,39;
+ HELLIONQ = 39;
close;
}
mes "[Clanux Heffron]";
@@ -757,7 +757,7 @@ prontera,269,326,3 script Clanux Heffron#hellion 1_M_04,{
mes "Prontera. I doubt it, but there's";
mes "a chance I mighta missed";
mes "something there. Get to it!";
- set HELLIONQ,39;
+ HELLIONQ = 39;
close;
}
mes "[Clanux Heffron]";
@@ -767,7 +767,7 @@ prontera,269,326,3 script Clanux Heffron#hellion 1_M_04,{
mes "that, pal! Why should I help";
mes "you if we're gonna compete";
mes "for the same prize?!";
- set HELLIONQ,38;
+ HELLIONQ = 38;
close;
}
else if (HELLIONQ == 38) {
@@ -793,7 +793,7 @@ prontera,269,326,3 script Clanux Heffron#hellion 1_M_04,{
mes "the old Swordman Training";
mes "Grounds here in Prontera.";
mes "There might be some clues left over there for you to find...";
- set HELLIONQ,39;
+ HELLIONQ = 39;
close;
}
mes "[" + strcharinfo(0) + "]";
@@ -852,7 +852,7 @@ prontera,269,326,3 script Clanux Heffron#hellion 1_M_04,{
mes "drop me a couple more hints.";
mes "And give this to the old guy";
mes "to prove I found it, will you?";
- set HELLIONQ,41;
+ HELLIONQ = 41;
getitem 7093,1; //Wheel
next;
mes "[Clanux Heffron]";
@@ -884,7 +884,7 @@ prontera,269,326,3 script Clanux Heffron#hellion 1_M_04,{
mes "learn anything new,";
mes "to me and let me know!";
mes "That's an order, got it?";
- set HELLIONQ,41;
+ HELLIONQ = 41;
getitem 7093,1; //Wheel
close;
}
@@ -924,7 +924,7 @@ prontera,269,326,3 script Clanux Heffron#hellion 1_M_04,{
mes "here. The sooner you get";
mes "that clue, the sooner I'll";
mes "get that Hellion's gem.";
- set HELLIONQ,43;
+ HELLIONQ = 43;
getitem 7093,1; //Wheel
close;
}
@@ -1000,7 +1000,7 @@ prontera,269,326,3 script Clanux Heffron#hellion 1_M_04,{
mes "Oh yeah? Hah! Well, now";
mes "that the easy part is done, I'll just figure out that secret";
mes "password myself! Hahaha! That Hellion's gem is as good as mine!";
- set HELLIONQ,46;
+ HELLIONQ = 46;
close;
}
mes "[Clanux Heffron]";
@@ -1010,7 +1010,7 @@ prontera,269,326,3 script Clanux Heffron#hellion 1_M_04,{
mes "Yeah, I was able to get that";
mes "far, but I haven't been able";
mes "to figure out the password...";
- set HELLIONQ,46;
+ HELLIONQ = 46;
close;
}
else if (HELLIONQ > 45 && HELLIONQ < 71) {
@@ -1055,7 +1055,7 @@ prontera,223,82,0 script #prt_key-1 HIDDEN_NPC,{
mes "a steel bearing with a roughly";
mes "etched message that reads:^000000";
mes "^4d4dff''Veggie Lady N9 W3 BINGO.''^000000";
- set HELLIONQ,40;
+ HELLIONQ = 40;
next;
mes "[" + strcharinfo(0) + "]";
mes "What the heck does this";
@@ -1132,9 +1132,9 @@ OnTouch:
mes "In fact, I hate talking.";
mes "That's why I sell vegetables.";
if (HELLIONQ == 40)
- set HELLIONQ,42;
+ HELLIONQ = 42;
else if (HELLIONQ == 41)
- set HELLIONQ,43;
+ HELLIONQ = 43;
next;
mes "["+ strcharinfo(0) +"]";
mes "Holy cow...";
@@ -1184,7 +1184,7 @@ prt_in,128,79,0 script Unknown Machine#prt_key HIDDEN_NPC,{
mes "to life and a panel opens,";
mes "revealing a numeric keypad.^000000";
delitem 7093,1; //Wheel
- set HELLIONQ,44;
+ HELLIONQ = 44;
next;
mes "[" + strcharinfo(0) + "]";
mes "I guess that I've got";
@@ -1216,7 +1216,7 @@ prt_in,128,79,0 script Unknown Machine#prt_key HIDDEN_NPC,{
mes "this back to Sir Chilia'Tyus";
mes "and confirm that this was";
mes "made by his grandfather...^000000";
- set HELLIONQ,45;
+ HELLIONQ = 45;
getitem 7333,1; //Piece_Of_Slate_1
close;
}
@@ -1267,7 +1267,7 @@ prt_in,128,79,0 script Unknown Machine#prt_key HIDDEN_NPC,{
mes "this back to Sir Chilia'Tyus";
mes "and confirm that this was";
mes "made by his grandfather...^000000";
- set HELLIONQ,45;
+ HELLIONQ = 45;
getitem 7333,1; //Piece_Of_Slate_1
close;
}
@@ -1372,7 +1372,7 @@ payon,182,132,3 script Grout'he Tuccok#hellion 1_M_02,{
mes "If you got any more questions,";
mes "I guess you can ask me later~";
Zeny -= 10000;
- set HELLIONQ,48;
+ HELLIONQ = 48;
getitem 953,1; //Stone_Heart
getitem 511,1; //Green_Herb
getitem 533,1; //Grape_Juice
@@ -1513,7 +1513,7 @@ payon,182,132,3 script Grout'he Tuccok#hellion 1_M_02,{
mes "it's all we got. Heck,";
mes "all these clues make";
mes "less sense than this!";
- set HELLIONQ,53;
+ HELLIONQ = 53;
close;
}
mes "[Grout'he]";
@@ -1551,7 +1551,7 @@ payon,182,132,3 script Grout'he Tuccok#hellion 1_M_02,{
mes "Archer Village that fits";
mes "that description perfectly!";
mes "You should check it out.";
- set HELLIONQ,56;
+ HELLIONQ = 56;
close;
}
else if (HELLIONQ == 56) {
@@ -1617,7 +1617,7 @@ OnTouch:
mes "Hopefully this will";
mes "make more sense once";
mes "I find more clues. I hope.";
- set HELLIONQ,49;
+ HELLIONQ = 49;
close;
}
end;
@@ -1638,7 +1638,7 @@ payon,82,109,3 script Pile of Stone#paypuzz2 HIDDEN_NPC,{
mes "that looks easy once";
mes "I get the answer. Well,";
mes "if I ever get it, that is.";
- set HELLIONQ,50;
+ HELLIONQ = 50;
close;
}
}
@@ -1659,7 +1659,7 @@ payon,239,56,3 script Dried Fish#paypuzz3 HIDDEN_NPC,{
mes "these clues must be";
mes "some sort of crazy man!";
mes "It's the only explanation!";
- set HELLIONQ,51;
+ HELLIONQ = 51;
close;
}
}
@@ -1685,7 +1685,7 @@ payon,240,160,3 script Vat#paypuzz4 HIDDEN_NPC,{
mes "Am I missing something?";
mes "I think I really need help in";
mes "figuring this out. Hmm...";
- set HELLIONQ,52;
+ HELLIONQ = 52;
close;
}
}
@@ -1746,7 +1746,7 @@ payon,159,129,3 script Wooden Floor#paypuzz5 HIDDEN_NPC,{
delitem 511,1; //Green_Herb
delitem 533,1; //Grape_Juice
delitem 1049,1; //Skirt_Of_Virgin
- set HELLIONQ,54;
+ HELLIONQ = 54;
next;
mes "[Stone Engraving]";
mes "^4D4DFF''This has been entrusted to";
@@ -1755,7 +1755,7 @@ payon,159,129,3 script Wooden Floor#paypuzz5 HIDDEN_NPC,{
mes "find peace. To he who finds";
mes "this, remember that avarice";
mes "knows no bounds. --Tyus.''^000000";
- set HELLIONQ,55;
+ HELLIONQ = 55;
close;
}
mes "[" + strcharinfo(0) + "]";
@@ -1775,7 +1775,7 @@ payon,159,129,3 script Wooden Floor#paypuzz5 HIDDEN_NPC,{
mes "find peace. To he who finds";
mes "this, remember that avarice";
mes "knows no bounds. --Tyus.''^000000";
- set HELLIONQ,55;
+ HELLIONQ = 55;
close;
}
else if (HELLIONQ > 54) {
@@ -1861,7 +1861,7 @@ pay_arche,142,28,0 script Buddha Statue#paypuzz6 HIDDEN_NPC,5,5,{
mes "revealing a piece of the";
mes "tablet that will lead you";
mes "to the Hellion's gem.";
- set HELLIONQ,57;
+ HELLIONQ = 57;
getitem 7334,1; //Piece_Of_Slate_2
close;
case 4:
@@ -1933,7 +1933,7 @@ geffen,110,200,3 script Sage Welshyun#hellion 4_M_SAGE_A,3,3,{
mes "when he entrusted you with";
mes "this important mission. Huh.";
mes "A reevaluation is in order...";
- set HELLIONQ,60;
+ HELLIONQ = 60;
close;
}
mes "[Welshyun]";
@@ -1957,7 +1957,7 @@ geffen,110,200,3 script Sage Welshyun#hellion 4_M_SAGE_A,3,3,{
mes "please remember that.";
mes "Ah, and my student's";
mes "name is Enoz.";
- set HELLIONQ,59;
+ HELLIONQ = 59;
close;
}
else if (HELLIONQ == 59) {
@@ -1977,7 +1977,7 @@ geffen,110,200,3 script Sage Welshyun#hellion 4_M_SAGE_A,3,3,{
mes "There's no way I can do any";
mes "serious thinking with such";
mes "a dry, parched throat...";
- set HELLIONQ,61;
+ HELLIONQ = 61;
close;
}
else if (HELLIONQ == 61) {
@@ -2011,7 +2011,7 @@ geffen,110,200,3 script Sage Welshyun#hellion 4_M_SAGE_A,3,3,{
mes "Ah, and my student's";
mes "name is Enoz.";
delitem 504,1; //White_Potion
- set HELLIONQ,62;
+ HELLIONQ = 62;
close;
}
mes "[Welshyun]";
@@ -2061,7 +2061,7 @@ geffen,110,200,3 script Sage Welshyun#hellion 4_M_SAGE_A,3,3,{
mes "incredibly heavy tome,";
mes "the Master Science";
mes "Reference Book.^000000";
- set HELLIONQ,64;
+ HELLIONQ = 64;
close;
}
else if (HELLIONQ == 64) {
@@ -2098,7 +2098,7 @@ geffen,110,200,3 script Sage Welshyun#hellion 4_M_SAGE_A,3,3,{
mes "you may have this piece of";
mes "the tablet, which I've already found. The clues were too simple...";
delitem 717,1; //Blue_Gemstone
- set HELLIONQ,66;
+ HELLIONQ = 66;
getitem 7336,1; //Piece_Of_Slate_4
next;
mes "[Welshyun]";
@@ -2174,7 +2174,7 @@ geffen,110,200,3 script Sage Welshyun#hellion 4_M_SAGE_A,3,3,{
delitem 7334,1; //Piece_Of_Slate_2
delitem 7335,1; //Piece_Of_Slate_3
delitem 7336,1; //Piece_Of_Slate_4
- set HELLIONQ,68;
+ HELLIONQ = 68;
getitem 7332,1; //Slate
next;
mes "[Welshyun]";
@@ -2290,7 +2290,7 @@ gef_tower,116,37,0 script Enoz#hellion 4_M_ALCHE_A,{
mes "Reference Book? ";
mes "It was right here";
mes "three days ago...";
- set HELLIONQ,63;
+ HELLIONQ = 63;
close;
}
mes "[Enoz]";
@@ -2351,7 +2351,7 @@ gef_tower,116,37,0 script Enoz#hellion 4_M_ALCHE_A,{
mes "playing these pranks?!";
mes "Apple Juice! I need";
mes "some Apple Juice!";
- set HELLIONQ,65;
+ HELLIONQ = 65;
next;
mes "^3355FFIt looks like it's time";
mes "to get 1 Blue Gemstone,";
diff --git a/npc/quests/guildrelay.txt b/npc/quests/guildrelay.txt
index 535eb7902..25282ff56 100644
--- a/npc/quests/guildrelay.txt
+++ b/npc/quests/guildrelay.txt
@@ -19,30 +19,30 @@
// Floating NPCs to duplicate from.
//============================================================
- script RelayDummy1::GuildRelay1 4_M_SAGE_A,{
- set .@name$,strnpcinfo(1);
+ .@name$ = strnpcinfo(1);
if (.@name$ == "Buzz") {
- set .@name2$,"Lenya";
- set .@name3$,"Gealuve";
- set .@name4$,"Pariz";
- set .@GID, getcastledata("aldeg_cas"+strnpcinfo(2),1);
+ .@name2$ = "Lenya";
+ .@name3$ = "Gealuve";
+ .@name4$ = "Pariz";
+ .@GID = getcastledata("aldeg_cas"+strnpcinfo(2),1);
}
else if (.@name$ == "Jody") {
- set .@name2$,"Ron Haware";
- set .@name3$,"Vers";
- set .@name4$,"Gen Garish";
- set .@GID, getcastledata("gefg_cas"+strnpcinfo(2),1);
+ .@name2$ = "Ron Haware";
+ .@name3$ = "Vers";
+ .@name4$ = "Gen Garish";
+ .@GID = getcastledata("gefg_cas"+strnpcinfo(2),1);
}
else if (.@name$ == "Chungye") {
- set .@name2$,"Dosuhlji";
- set .@name3$,"Yayula";
- set .@name4$,"Ashin";
- set .@GID, getcastledata("payg_cas"+strnpcinfo(2),1);
+ .@name2$ = "Dosuhlji";
+ .@name3$ = "Yayula";
+ .@name4$ = "Ashin";
+ .@GID = getcastledata("payg_cas"+strnpcinfo(2),1);
}
else if (.@name$ == "Hermod") {
- set .@name2$,"Atila";
- set .@name3$,"Cecil";
- set .@name4$,"Diligo";
- set .@GID, getcastledata("prtg_cas"+strnpcinfo(2),1);
+ .@name2$ = "Atila";
+ .@name3$ = "Cecil";
+ .@name4$ = "Diligo";
+ .@GID = getcastledata("prtg_cas"+strnpcinfo(2),1);
}
if (checkweight(908,630) == 0) {
mes "^3355FFWait a minute! You're";
@@ -86,7 +86,7 @@
mes "guild is going to be solid,";
mes "you need to think how much";
mes "trust there is in the guild.";
- set guildrelay_q,8;
+ guildrelay_q = 8;
getitem 7240,1; //Soul_Of_Confidence
next;
mes "[" + .@name$ + "]";
@@ -143,7 +143,7 @@
mes "guild is going to be solid,";
mes "you need to think how much";
mes "trust there is in the guild.";
- set guildrelay_q,8;
+ guildrelay_q = 8;
getitem 7240,1; //Soul_Of_Confidence
next;
mes "[" + .@name$ + "]";
@@ -199,7 +199,7 @@
mes "guild is going to be solid,";
mes "you need to think how much";
mes "trust there is in the guild.";
- set guildrelay_q,8;
+ guildrelay_q = 8;
getitem 7240,1; //Soul_Of_Confidence
next;
mes "[" + .@name$ + "]";
@@ -256,7 +256,7 @@
mes "It seems contradictive that";
mes "strongholds and might can";
mes "bring peace, but it's true.";
- set guildrelay_q,15;
+ guildrelay_q = 15;
getitem 7246,1; //Soul_Of_Peace
next;
mes "[" + .@name$ + "]";
@@ -317,7 +317,7 @@
mes "to report your trial results,";
mes "and lost my composure for a";
mes "moment. It won't happen again.";
- set guildrelay_q,999;
+ guildrelay_q = 999;
close;
}
else {
@@ -367,7 +367,7 @@
mes "the ^4D4DFFSpirit of Guild^000000, and";
mes "give it to your most trusted";
mes "Knight or Lord Knight.";
- set guildrelay_q,1;
+ guildrelay_q = 1;
getitem 7234,1; //Soul_Of_Guild
next;
mes "[" + .@name$ + "]";
@@ -413,9 +413,9 @@
mes "Hand me the spirit, and allow";
mes "me to give you your guild's reward.";
delitem 7239,1; //Soul_Of_Proceeding
- set guildtime,gettime(3);
- set guildrelay_q,100;
- set .@incen_item,rand(1,100);
+ guildtime = gettime(3);
+ guildrelay_q = 100;
+ .@incen_item = rand(1,100);
if ((.@incen_item > 0) && (.@incen_item < 25)) {
getitem 608,20; //Seed_Of_Yggdrasil
getitem 678,2; //Poison_Bottle
@@ -481,9 +481,9 @@
mes "challenges that you will all";
mes "face together. Good work!";
delitem 7245,1; //Soul_Of_Friendship
- set guildtime,gettime(3);
- set guildrelay_q,150;
- set .@incen_item,rand(1,100);
+ guildtime = gettime(3);
+ guildrelay_q = 150;
+ .@incen_item = rand(1,100);
if ((.@incen_item > 0) && (.@incen_item < 16)) {
getitem 607,10; //Yggdrasilberry
getitem 644,5; //Gift_Box
@@ -574,9 +574,9 @@
mes "Tristan III, and share it with";
mes "guild. Once again, good work.";
delitem 7251,1; //Soul_Of_Victory
- set guildtime,gettime(3);
- set guildrelay_q,25;
- set .@incen_item,rand(1,100);
+ guildtime = gettime(3);
+ guildrelay_q = 25;
+ .@incen_item = rand(1,100);
if ((.@incen_item > 0) && (.@incen_item < 26)) {
getitem 608,10; //Seed_Of_Yggdrasil
getitem 607,5; //Yggdrasilberry
@@ -693,7 +693,7 @@
mes "to a Knight or Lord Knight.";
mes "The test has now officially";
mes "begun. Good luck to you.";
- set guildrelay_q,1;
+ guildrelay_q = 1;
getitem 7234,1; //Soul_Of_Guild
close;
case 2:
@@ -1219,9 +1219,9 @@
}
- script RelayDummy2::GuildRelay2 4_M_SAGE_A,{
- set .@name$,strnpcinfo(1);
+ .@name$ = strnpcinfo(1);
getmapxy(.@m$,.@x,.@x,1);
- set .@GID, getcastledata(.@m$,1);
+ .@GID = getcastledata(.@m$,1);
if (checkweight(1201,1) == 0) {
mes "^3355FFWait a minute! You're";
mes "carrying too many items";
@@ -1286,7 +1286,7 @@
mes "That shouldn't be too";
mes "hard now, right?";
delitem 7234,1; //Soul_Of_Guild
- set guildrelay_q,2;
+ guildrelay_q = 2;
close;
case 2:
mes "[" + .@name$ + "]";
@@ -1296,7 +1296,7 @@
mes "That shouldn't be too";
mes "hard now, right?";
delitem 7234,1; //Soul_Of_Guild
- set guildrelay_q,3;
+ guildrelay_q = 3;
close;
case 3:
mes "[" + .@name$ + "]";
@@ -1306,7 +1306,7 @@
mes "That shouldn't be too";
mes "hard now, right?";
delitem 7234,1; //Soul_Of_Guild
- set guildrelay_q,89;
+ guildrelay_q = 89;
close;
}
}
@@ -1321,7 +1321,7 @@
delitem 1015,30; //Thin_N'_Long_Tongue
delitem 7196,30; //Shoulder_Protection
delitem 7157,30; //Black_Mask
- set guildrelay_q,88;
+ guildrelay_q = 88;
getitem 7235,1; //Soul_Of_Courage
close;
}
@@ -1346,7 +1346,7 @@
delitem 1097,30; //Worn_Out_Page
delitem 1017,30; //Moustache_Of_Mole
delitem 1096,30; //Round_Shell
- set guildrelay_q,88;
+ guildrelay_q = 88;
getitem 7235,1; //Soul_Of_Courage
close;
}
@@ -1371,7 +1371,7 @@
delitem 7112,30; //Fright_Paper_Blade
delitem 1012,30; //Lizard_Scruff
delitem 1040,30; //Elder_Pixie's_Beard
- set guildrelay_q,88;
+ guildrelay_q = 88;
getitem 7235,1; //Soul_Of_Courage
close;
}
@@ -1408,8 +1408,8 @@
mes "when the time is right so";
mes "don't you worry about it.";
delitem 7235,1; //Soul_Of_Courage
- set guildrelay_q,4;
- set guildtime,gettime(3);
+ guildrelay_q = 4;
+ guildtime = gettime(3);
close;
}
if ((guildtime > 22) && (guildrelay_q == 4) && (BaseJob == Job_Blacksmith)) {
@@ -1421,7 +1421,7 @@
mes "Please give this to an";
mes "Alchemist or Biochemist.";
mes "Your work here is done.";
- set guildrelay_q,87;
+ guildrelay_q = 87;
getitem 7237,1; //Soul_Of_Partnership
close;
}
@@ -1435,7 +1435,7 @@
mes "Please give this to an";
mes "Alchemist or Biochemist.";
mes "Your work here is done.";
- set guildrelay_q,87;
+ guildrelay_q = 87;
getitem 7237,1; //Soul_Of_Partnership
close;
}
@@ -1449,7 +1449,7 @@
mes "Please give this to an";
mes "Alchemist or Biochemist.";
mes "Your work here is done.";
- set guildrelay_q,87;
+ guildrelay_q = 87;
getitem 7237,1; //Soul_Of_Partnership
close;
}
@@ -1462,7 +1462,7 @@
mes "Please give this to an";
mes "Alchemist or Biochemist.";
mes "Your work here is done.";
- set guildrelay_q,87;
+ guildrelay_q = 87;
getitem 7237,1; //Soul_Of_Partnership
close;
}
@@ -1492,7 +1492,7 @@
mes "gain 3 more levels.";
mes "How about that, eh?";
delitem 7237,1; //Soul_Of_Partnership
- set guildrelay_q,5;
+ guildrelay_q = 5;
close;
}
if ((BaseLevel > 57) && (BaseLevel < 76)) {
@@ -1503,7 +1503,7 @@
mes "gain 2 more levels.";
mes "How about that, eh?";
delitem 7237,1; //Soul_Of_Partnership
- set guildrelay_q,6;
+ guildrelay_q = 6;
close;
}
if ((BaseLevel > 75) && (BaseLevel < 94)) {
@@ -1514,7 +1514,7 @@
mes "gain 1 more level.";
mes "How about that, eh?";
delitem 7237,1; //Soul_Of_Partnership
- set guildrelay_q,7;
+ guildrelay_q = 7;
close;
}
if (BaseLevel > 93) {
@@ -1526,7 +1526,7 @@
mes "Fine, fine. You pass! Give this";
mes "to a ^FF0000Hunter^000000 or ^FF0000Sniper^000000 now~";
delitem 7237,1; //Soul_Of_Partnership
- set guildrelay_q,86;
+ guildrelay_q = 86;
getitem 7238,1; //Soul_Of_Correspondence
close;
}
@@ -1539,7 +1539,7 @@
mes "give it to a ^FF0000Hunter^000000 or ^FF0000Sniper^000000";
mes "in your guild. Nice work,";
mes "and I'll see you around.";
- set guildrelay_q,86;
+ guildrelay_q = 86;
getitem 7238,1; //Soul_Of_Correspondence
close;
}
@@ -1551,7 +1551,7 @@
mes "give it to a ^FF0000Hunter^000000 or ^FF0000Sniper^000000";
mes "in your guild. Nice work,";
mes "and I'll see you around.";
- set guildrelay_q,86;
+ guildrelay_q = 86;
getitem 7238,1; //Soul_Of_Correspondence
close;
}
@@ -1563,7 +1563,7 @@
mes "give it to a ^FF0000Hunter^000000 or ^FF0000Sniper^000000";
mes "in your guild. Nice work,";
mes "and I'll see you around.";
- set guildrelay_q,86;
+ guildrelay_q = 86;
getitem 7238,1; //Soul_Of_Correspondence
close;
}
@@ -1602,7 +1602,7 @@
mes "soon as you can, alright?";
setfalcon;
delitem 7238,1; //Soul_Of_Correspondence
- set guildrelay_q,85;
+ guildrelay_q = 85;
getitem 7239,1; //Soul_Of_Proceeding
close;
}
@@ -1728,9 +1728,9 @@
}
- script RelayDummy3::GuildRelay3 4_M_SAGE_A,{
- set .@name$,strnpcinfo(1);
+ .@name$ = strnpcinfo(1);
getmapxy(.@m$,.@x,.@x,1);
- set .@GID, getcastledata(.@m$,1);
+ .@GID = getcastledata(.@m$,1);
if (checkweight(1201,1) == 0) {
mes "^3355FFWait a minute! You're";
mes "carrying too many items";
@@ -1794,8 +1794,8 @@
mes "guild must have solidarity";
mes "in order to be successful.";
delitem 7240,1; //Soul_Of_Confidence
- set guildrelay_q,9;
- set guildtime,gettime(3);
+ guildrelay_q = 9;
+ guildtime = gettime(3);
close;
}
if ((guildtime > 22) && (guildrelay_q == 9) && (BaseJob == Job_Sage)) {
@@ -1814,7 +1814,7 @@
mes "is. Please give this spirit";
mes "to a ^42426FBard^000000, ^42426FMinstrel^000000, ^42426FDancer^000000,";
mes "or ^42426FGypsy^000000. Good luck to you.";
- set guildrelay_q,81;
+ guildrelay_q = 81;
getitem 7241,1; //Soul_Of_Agreement
close;
}
@@ -1845,7 +1845,7 @@
mes "is. Please give this spirit";
mes "to a ^42426FBard^000000, ^42426FMinstrel^000000, ^42426FDancer^000000,";
mes "or ^42426FGypsy^000000. Good luck to you.";
- set guildrelay_q,71;
+ guildrelay_q = 71;
getitem 7241,1; //Soul_Of_Agreement
close;
}
@@ -1876,7 +1876,7 @@
mes "is. Please give this spirit";
mes "to a ^42426FBard^000000, ^42426FMinstrel^000000, ^42426FDancer^000000,";
mes "or ^42426FGypsy^000000. Good luck to you.";
- set guildrelay_q,71;
+ guildrelay_q = 71;
getitem 7241,1; //Soul_Of_Agreement
close;
}
@@ -1906,7 +1906,7 @@
mes "Please give it to a ^42426FBard^000000 or ^42426FClown^000000";
mes "You can also give it to ^42426FDancer^000000 or ^42426FGypsy^000000";
mes "Good luck.";
- set guildrelay_q,71;
+ guildrelay_q = 71;
getitem 7241,1; //Soul_Of_Agreement
close;
}
@@ -1945,7 +1945,7 @@
mes "these down so you don't";
mes "forget. Good luck to you.";
delitem 7241,1; //Soul_Of_Agreement
- set guildrelay_q,10;
+ guildrelay_q = 10;
break;
case 2:
mes "[" + .@name$ + "]";
@@ -1956,7 +1956,7 @@
mes "these down so you don't";
mes "forget. Good luck to you.";
delitem 7241,1; //Soul_Of_Agreement
- set guildrelay_q,11;
+ guildrelay_q = 11;
break;
case 3:
mes "[" + .@name$ + "]";
@@ -1967,7 +1967,7 @@
mes "these down so you don't";
mes "forget. Good luck to you.";
delitem 7241,1; //Soul_Of_Agreement
- set guildrelay_q,80;
+ guildrelay_q = 80;
break;
}
next;
@@ -1992,10 +1992,10 @@
delitem 7172,30; //Leopard_Talon
delitem 920,30; //Claw_Of_Wolves
if (BaseJob == Job_Dancer) {
- set guildrelay_q,72;
+ guildrelay_q = 72;
}
else {
- set guildrelay_q,72;
+ guildrelay_q = 72;
}
getitem 7242,1; //Soul_Of_Harmony
close;
@@ -2012,10 +2012,10 @@
delitem 7194,30; //Soft_Leaf
delitem 7155,30; //Poison_Toad's_Skin
if (BaseJob == Job_Dancer) {
- set guildrelay_q,72;
+ guildrelay_q = 72;
}
else {
- set guildrelay_q,72;
+ guildrelay_q = 72;
}
getitem 7242,1; //Soul_Of_Harmony
close;
@@ -2032,10 +2032,10 @@
delitem 7121,30; //Honey_Jar
delitem 1027,30; //Porcupine_Spike
if (BaseJob == Job_Dancer) {
- set guildrelay_q,72;
+ guildrelay_q = 72;
}
else {
- set guildrelay_q,72;
+ guildrelay_q = 72;
}
getitem 7242,1; //Soul_Of_Harmony
close;
@@ -2099,7 +2099,7 @@
mes "that to a ^2F4F2FWizard^000000 or";
mes "a ^2F4F2FHigh Wizard^000000.";
delitem 7242,1; //Soul_Of_Harmony
- set guildrelay_q,74;
+ guildrelay_q = 74;
getitem 7244,1; //Soul_Of_Unity
close;
}
@@ -2129,7 +2129,7 @@
mes "you'll be able to reach";
mes "this goal. Good luck to you.";
delitem 7244,1; //Soul_Of_Unity
- set guildrelay_q,12;
+ guildrelay_q = 12;
close;
}
else if ((BaseLevel > 60) && (BaseLevel < 76)) {
@@ -2141,7 +2141,7 @@
mes "you'll be able to reach";
mes "this goal. Good luck to you.";
delitem 7244,1; //Soul_Of_Unity
- set guildrelay_q,13;
+ guildrelay_q = 13;
close;
}
else if ((BaseLevel > 75) && (BaseLevel < 97)) {
@@ -2153,7 +2153,7 @@
mes "you'll be able to reach";
mes "this goal. Good luck to you.";
delitem 7244,1; //Soul_Of_Unity
- set guildrelay_q,14;
+ guildrelay_q = 14;
close;
}
else if (BaseLevel > 96) {
@@ -2179,7 +2179,7 @@
mes "to your ^FF0000Guild Master^000000.";
mes "You're done for now.";
delitem 7244,1; //Soul_Of_Unity
- set guildrelay_q,75;
+ guildrelay_q = 75;
getitem 7245,1; //Soul_Of_Friendship
close;
}
@@ -2198,7 +2198,7 @@
mes "Please give this spirit";
mes "to your ^FF0000Guild Master^000000.";
mes "You've done well.";
- set guildrelay_q,75;
+ guildrelay_q = 75;
getitem 7245,1; //Soul_Of_Friendship
close;
}
@@ -2216,7 +2216,7 @@
mes "Please give this spirit";
mes "to your ^FF0000Guild Master^000000.";
mes "You've done well.";
- set guildrelay_q,75;
+ guildrelay_q = 75;
getitem 7245,1; //Soul_Of_Friendship
close;
}
@@ -2234,7 +2234,7 @@
mes "Please give this spirit";
mes "to your ^FF0000Guild Master^000000.";
mes "You've done well.";
- set guildrelay_q,75;
+ guildrelay_q = 75;
getitem 7245,1; //Soul_Of_Friendship
close;
}
@@ -2413,9 +2413,9 @@
}
- script GuildDummy4::GuildRelay4 4_M_SAGE_A,{
- set .@name$,strnpcinfo(1);
+ .@name$ = strnpcinfo(1);
getmapxy(.@m$,.@x,.@x,1);
- set .@GID, getcastledata(.@m$,1);
+ .@GID = getcastledata(.@m$,1);
if (checkweight(1201,1) == 0) {
mes "^3355FFWait a minute! You're";
mes "carrying too many items";
@@ -2478,7 +2478,7 @@
mes "to me that your people";
mes "skills are up to par.";
delitem 7246,1; //Soul_Of_Peace
- set guildrelay_q,91;
+ guildrelay_q = 91;
close;
case 2:
mes "a party with 8 members^000000.";
@@ -2491,7 +2491,7 @@
mes "to me that your people";
mes "skills are up to par.";
delitem 7246,1; //Soul_Of_Peace
- set guildrelay_q,92;
+ guildrelay_q = 92;
close;
case 3:
mes "a party with 10 members^000000.";
@@ -2504,13 +2504,13 @@
mes "to me that your people";
mes "skills are up to par.";
delitem 7246,1; //Soul_Of_Peace
- set guildrelay_q,93;
+ guildrelay_q = 93;
close;
}
}
getpartymember(getcharid(1));
- set .@partymembercount,$@partymembercount;
- set .@partyleader,getpartyleader(getcharid(1),2);
+ .@partymembercount = $@partymembercount;
+ .@partyleader = getpartyleader(getcharid(1),2);
if (guildrelay_q == 91) {
if (.@partymembercount == 6) {
mes "[" + .@name$ + "]";
@@ -2526,7 +2526,7 @@
mes "this spirit, and then give";
mes "it to a Priest or High";
mes "Priest in your guild.";
- set guildrelay_q,95;
+ guildrelay_q = 95;
getitem 7247,1; //Soul_Of_Spirit
close;
}
@@ -2555,7 +2555,7 @@
mes "this spirit, and then give";
mes "it to a Priest or High";
mes "Priest in your guild.";
- set guildrelay_q,95;
+ guildrelay_q = 95;
getitem 7247,1; //Soul_Of_Spirit
close;
}
@@ -2583,7 +2583,7 @@
mes "this spirit, and then give";
mes "it to a Priest or High";
mes "Priest in your guild.";
- set guildrelay_q,95;
+ guildrelay_q = 95;
getitem 7247,1; //Soul_Of_Spirit
close;
}
@@ -2621,7 +2621,7 @@
mes "this. Come back to me";
mes "when you are ready.";
delitem 7247,1; //Soul_Of_Spirit
- set guildrelay_q,18;
+ guildrelay_q = 18;
close;
}
if ((BaseLevel > 60) && (BaseLevel < 76)) {
@@ -2639,7 +2639,7 @@
mes "this. Come back to me";
mes "when you are ready.";
delitem 7247,1; //Soul_Of_Spirit
- set guildrelay_q,19;
+ guildrelay_q = 19;
close;
}
if ((BaseLevel > 75) && (BaseLevel < 97)) {
@@ -2657,7 +2657,7 @@
mes "this. Come back to me";
mes "when you are ready.";
delitem 7247,1; //Soul_Of_Spirit
- set guildrelay_q,20;
+ guildrelay_q = 20;
close;
}
if (BaseLevel > 96) {
@@ -2676,7 +2676,7 @@
mes "^4D4DFFCrusader^000000 or ^4D4DFFPaladin^000000";
mes "in your guild.";
delitem 7247,1; //Soul_Of_Spirit
- set guildrelay_q,98;
+ guildrelay_q = 98;
getitem 7249,1; //Soul_Of_Service
close;
}
@@ -2697,7 +2697,7 @@
mes "sure to give it to a";
mes "^4D4DFFCrusader^000000 or ^4D4DFFPaladin^000000";
mes "in your guild.";
- set guildrelay_q,98;
+ guildrelay_q = 98;
getitem 7249,1; //Soul_Of_Service
close;
}
@@ -2717,7 +2717,7 @@
mes "sure to give it to a";
mes "^4D4DFFCrusader^000000 or ^4D4DFFPaladin^000000";
mes "in your guild.";
- set guildrelay_q,98;
+ guildrelay_q = 98;
getitem 7249,1; //Soul_Of_Service
close;
}
@@ -2735,7 +2735,7 @@
mes "Crusader or Paladin";
mes "who is in our guild.";
mes "Good luck!";
- set guildrelay_q,98;
+ guildrelay_q = 98;
getitem 7249,1; //Soul_Of_Service
close;
}
@@ -2764,8 +2764,8 @@
mes "You'll need to really listen";
mes "to your feelings this time...";
delitem 7249,1; //Soul_Of_Service
- set guildrelay_q,21;
- set guildtime,gettime(3);
+ guildrelay_q = 21;
+ guildtime = gettime(3);
close;
}
if ((guildtime > 22) && (guildrelay_q == 21) && (BaseJob == Job_Crusader)) {
@@ -2777,7 +2777,7 @@
mes "and trust it when it comes";
mes "again. Now give this spirit to";
mes "a ^FF0000Monk^000000 or ^FF0000Champion^000000 for me...";
- set guildrelay_q,96;
+ guildrelay_q = 96;
getitem 7250,1; //Soul_Of_Glory
close;
}
@@ -2799,7 +2799,7 @@
mes "and trust it when it comes";
mes "again. Now give this spirit to";
mes "a ^FF0000Monk^000000 or ^FF0000Champion^000000 for me...";
- set guildrelay_q,96;
+ guildrelay_q = 96;
getitem 7250,1; //Soul_Of_Glory
close;
}
@@ -2821,7 +2821,7 @@
mes "and trust it when it comes";
mes "again. Now give this spirit to";
mes "a ^FF0000Monk^000000 or ^FF0000Champion^000000 for me...";
- set guildrelay_q,96;
+ guildrelay_q = 96;
getitem 7250,1; //Soul_Of_Glory
close;
}
@@ -2842,7 +2842,7 @@
mes "and trust it when it comes";
mes "again. Now give this spirit to";
mes "a ^FF0000Monk^000000 or ^FF0000Champion^000000 for me...";
- set guildrelay_q,96;
+ guildrelay_q = 96;
getitem 7250,1; //Soul_Of_Glory
close;
}
@@ -2872,7 +2872,7 @@
mes "I shall be waiting";
mes "for you right here.";
delitem 7250,1; //Soul_Of_Glory
- set guildrelay_q,23;
+ guildrelay_q = 23;
close;
case 2:
mes "[" + .@name$ + "]";
@@ -2883,7 +2883,7 @@
mes "I shall be waiting";
mes "for you right here.";
delitem 7250,1; //Soul_Of_Glory
- set guildrelay_q,24;
+ guildrelay_q = 24;
close;
case 3:
mes "[" + .@name$ + "]";
@@ -2894,7 +2894,7 @@
mes "I shall be waiting";
mes "for you right here.";
delitem 7250,1; //Soul_Of_Glory
- set guildrelay_q,94;
+ guildrelay_q = 94;
close;
}
}
@@ -2909,7 +2909,7 @@
delitem 7165,30; //Limpid_Celestial_Robe
delitem 1021,30; //Dokkaebi_Horn
delitem 1023,30; //Fish_Tail
- set guildrelay_q,97;
+ guildrelay_q = 97;
getitem 7251,1; //Soul_Of_Victory
close;
}
@@ -2932,7 +2932,7 @@
delitem 1048,30; //Slender_Snake
delitem 1013,30; //Colorful_Shell
delitem 7200,30; //Flexible_String
- set guildrelay_q,97;
+ guildrelay_q = 97;
getitem 7251,1; //Soul_Of_Victory
close;
}
@@ -2957,7 +2957,7 @@
delitem 7003,30; //Anolian_Skin
delitem 7101,30; //Peco_Wing_Feather
delitem 7153,30; //Old_Japaness_Clothes
- set guildrelay_q,97;
+ guildrelay_q = 97;
getitem 7251,1; //Soul_Of_Victory
close;
}
diff --git a/npc/quests/gunslinger_quests.txt b/npc/quests/gunslinger_quests.txt
index 539f6c4ae..34ac3dbd6 100644
--- a/npc/quests/gunslinger_quests.txt
+++ b/npc/quests/gunslinger_quests.txt
@@ -113,7 +113,7 @@ que_ng,182,85,3 script Garrison 4_M_MANAGER,{
mes "[Garrison]";
mes "10 Steel, 1 Elunium, 10 Emveretarcon, 30 Coal, and 10 Rusty Screws.";
mes "I need this exact amount. Don't forget.";
- set gun_gs,1;
+ gun_gs = 1;
close;
}
@@ -163,7 +163,7 @@ que_ng,182,85,3 script Garrison 4_M_MANAGER,{
delitem 7317,10;
delitem 985,1;
delitem 1003,30;
- set gun_gs,2;
+ gun_gs = 2;
close;
case 2:
@@ -206,7 +206,7 @@ que_ng,182,85,3 script Garrison 4_M_MANAGER,{
mes "Did you sell off your gun while you were gone?";
mes "I said I'd slot your gun, but I never said I'd slot a gun that isn't here.";
mes "Go and get your Garrison and then get back to me.";
- set gun_gs,4;
+ gun_gs = 4;
close;
}
mes "[Garrison]";
@@ -217,7 +217,7 @@ que_ng,182,85,3 script Garrison 4_M_MANAGER,{
mes "Please use it well.";
delitem 13104,1;
getitem 13105,1;
- set gun_gs, 5;
+ gun_gs = 5;
close;
case 4:
if(countitem(13104) < 1)
@@ -233,7 +233,7 @@ que_ng,182,85,3 script Garrison 4_M_MANAGER,{
mes "Do use it well.";
delitem 13104, 1;
getitem 13105, 1;
- set gun_gs,5;
+ gun_gs = 5;
close;
case 5:
mes "[Garrison]";
@@ -373,7 +373,6 @@ SubGarrison_:
delitem 13104, 1;
getitem 13105, 1;
close;
-
case 3:
mes "[Garrison]";
mes "I'll see you when I see you~";
@@ -393,7 +392,7 @@ lighthalzen,322,247,6 script Ravey 86,{
mes "You!!!";
mes "Huuut~!!";
mes "Die!!!";
- set gun_gs,3;
+ gun_gs = 3;
percentheal 100,0;
percentheal -90,0;
next;
@@ -528,7 +527,7 @@ que_ng,187,163,3 script Ingrid 4_F_ALCHE,{
mes "I need 100 Used Iron Plates, 10 Oridecons, 50 Rusty Old Screws, 100 Burning Hearts, and 200,000 Zeny.";
mes "You must bring me the correct number of materials.";
mes "Please don't forget that.";
- set gun_inf,1;
+ gun_inf = 1;
close;
}
@@ -592,7 +591,7 @@ SubInferno:
delitem 7317,50;
delitem 7097,100;
getitem 13162,1;
- if(gun_inf == 1) set gun_inf,2;
+ if(gun_inf == 1) gun_inf = 2;
close;
}
}
@@ -741,7 +740,6 @@ que_ng,185,180,3 script Vanessa 4_F_JOB_BLACKSMITH,{
mes "Then see you next time~";
mes "Bye~Bye~";
close;
-
case 2:
mes "[Vanessa]";
mes "Mm, Okay.";
@@ -750,13 +748,11 @@ que_ng,185,180,3 script Vanessa 4_F_JOB_BLACKSMITH,{
mes "5 Oridecons, 70 Rusty Old Screws";
mes "and a fee of 100,000 zeny.";
mes "You must bring me these exact materials. Understood?";
- set gunst,1;
+ gunst = 1;
close;
}
-
case 1:
callsub SubDestroyer;
-
case 2:
mes "[Vanessa]";
mes "Oh~ You're back.?";
@@ -778,17 +774,16 @@ que_ng,185,180,3 script Vanessa 4_F_JOB_BLACKSMITH,{
next;
switch( select( "Maybe next time.","Okay.") )
{
- case 1:
- mes "[Vanessa]";
- mes "What~ C'mon";
- mes "What's there to think about?";
- mes "Ok, well, think about it";
- mes "and come back...";
- close;
- case 2:
- callsub SubDestroyer;
+ case 1:
+ mes "[Vanessa]";
+ mes "What~ C'mon";
+ mes "What's there to think about?";
+ mes "Ok, well, think about it";
+ mes "and come back...";
+ close;
+ case 2:
+ callsub SubDestroyer;
}
-
case 2:
mes "[Vanessa]";
mes "Oh~ The Slotted Destroyer~";
@@ -804,19 +799,16 @@ que_ng,185,180,3 script Vanessa 4_F_JOB_BLACKSMITH,{
next;
switch( select( "I'll think about it.","OK! I do!") )
{
- case 1:
- mes "[Vanessa]";
- mes "What~ C'mon";
- mes "What's there to think about?";
- mes "Ok, well, think about it";
- mes "and come back...";
- close;
-
- case 2:
- callsub SubDestroyer_;
-
+ case 1:
+ mes "[Vanessa]";
+ mes "What~ C'mon";
+ mes "What's there to think about?";
+ mes "Ok, well, think about it";
+ mes "and come back...";
+ close;
+ case 2:
+ callsub SubDestroyer_;
}
-
case 3:
mes "[Vanessa]";
mes "Hmm~ Yeah~";
@@ -864,7 +856,7 @@ SubDestroyer:
delitem 984,5;
delitem 7317,70;
getitem 13160,1;
- if(gunst == 1) set gunst,2;
+ if(gunst == 1) gunst = 2;
next;
mes "[Vanessa]";
mes "If you ever need one again later,";
@@ -918,7 +910,7 @@ que_ng,149,178,4 script Lab Director 4_F_ALCHE,{
if(countitem(1043) > 999 && countitem(932) > 999){
delitem 1043,1000;
delitem 932,1000;
- set gun_na,2;
+ gun_na = 2;
mes "[N. A]";
mes "Ahh, it's all here! Ahh, and I";
mes "was worried about that no one";
@@ -958,7 +950,7 @@ que_ng,149,178,4 script Lab Director 4_F_ALCHE,{
mes "if you can't handle the test.";
mes "You may come back later to";
mes "take the challenge again.";
- set gun_na,0;
+ gun_na = 0;
close;
}
}
@@ -994,7 +986,7 @@ que_ng,149,178,4 script Lab Director 4_F_ALCHE,{
close;
}
Zeny -= 100000;
- set gun_na,0;
+ gun_na = 0;
getitem 13158,1;
mes "[N. A]";
mes "One, two, three, four, five,";
@@ -1023,7 +1015,7 @@ que_ng,149,178,4 script Lab Director 4_F_ALCHE,{
delitem 1003,70;
delitem 7317,50;
Zeny -= 50000;
- set gun_na,11;
+ gun_na = 11;
mes "[N. A]";
mes "Aha, you got me all the";
mes "materials. Here, let me get down";
@@ -1059,7 +1051,7 @@ que_ng,149,178,4 script Lab Director 4_F_ALCHE,{
mes "a Drifter for you is cancelled.";
mes "I wish you good luck";
mes "in your future.";
- set gun_na,0;
+ gun_na = 0;
close;
}
}
@@ -1073,7 +1065,7 @@ que_ng,149,178,4 script Lab Director 4_F_ALCHE,{
mes "Please clear your inventory.";
close;
}
- set gun_na,0;
+ gun_na = 0;
getitem 13157,1;
mes "[N. A]";
mes "Ahh, here's the completed";
@@ -1147,7 +1139,7 @@ que_ng,149,178,4 script Lab Director 4_F_ALCHE,{
mes "30 Lightning Sphere, 30 Blind";
mes "Sphere, or 30 Freezing Sphere.";
mes "Find me 30 of each Element.";
- set gun_na,102;
+ gun_na = 102;
close;
}
else if(gun_na == 102){
@@ -1167,31 +1159,31 @@ que_ng,149,178,4 script Lab Director 4_F_ALCHE,{
case 2:
if(countitem(13205) >= 30){
delitem 13205,30;
- set gun_na,103;
+ gun_na = 103;
}
break;
case 3:
if(countitem(13203) >= 30){
delitem 13203,30;
- set gun_na,103;
+ gun_na = 103;
}
break;
case 4:
if(countitem(13204) >= 30){
delitem 13204,30;
- set gun_na,103;
+ gun_na = 103;
}
break;
case 5:
if(countitem(13206) >= 30){
delitem 13206,30;
- set gun_na,103;
+ gun_na = 103;
}
break;
case 6:
if(countitem(13207) >= 30){
delitem 13207,30;
- set gun_na,103;
+ gun_na = 103;
}
break;
}
@@ -1315,7 +1307,7 @@ que_ng,149,178,4 script Lab Director 4_F_ALCHE,{
mes "[N. A]";
mes "Easy, ain't it? Go and prove";
mes "your ability then! Heheheh...";
- set gun_na,1;
+ gun_na = 1;
close;
}
case 2:
@@ -1347,7 +1339,7 @@ que_ng,149,178,4 script Lab Director 4_F_ALCHE,{
mes "some time, come back here.";
close;
}else{
- set gun_na,10;
+ gun_na = 10;
mes "[N. A]";
mes "Since it's really hard to find";
mes "the materials for constructing";
@@ -1465,7 +1457,7 @@ lighthalzen,205,284,6 script F. Harrison 4_M_03,{
mes "you bring all those materials";
mes "to me once you find them all!";
mes "Promise me!!!";
- set gun_na,101;
+ gun_na = 101;
getitem 13102,1;
close;
}
@@ -1488,7 +1480,7 @@ lighthalzen,205,284,6 script F. Harrison 4_M_03,{
delitem 984,1;
delitem 1003,20;
delitem 13102,1;
- set gun_na,104;
+ gun_na = 104;
mes "[F. Harrison]";
mes "Aha! You got all the materials";
mes "for me! I'll get to the repair";
@@ -1525,7 +1517,7 @@ lighthalzen,205,284,6 script F. Harrison 4_M_03,{
mes "stuff first.-";
close;
}
- set gun_na,0;
+ gun_na = 0;
getitem 13159,1;
mes "[F. Harrison]";
mes "Whew... Finally it's fixed, thanks";
@@ -1589,7 +1581,7 @@ lighthalzen,205,284,6 script F. Harrison 4_M_03,{
mes "I won't break it!";
mes "That's that! Let's go~";
delitem 13158,1;
- set gun_na,100;
+ gun_na = 100;
close;
}
}
diff --git a/npc/quests/juice_maker.txt b/npc/quests/juice_maker.txt
index 27d5e22cb..e0753290a 100644
--- a/npc/quests/juice_maker.txt
+++ b/npc/quests/juice_maker.txt
@@ -22,9 +22,9 @@ prt_in,49,172,3 script Marianne#juice 1_M_INNKEEPER,{
mes "Whew...!";
mes "Still, he won't eat anything unless it's Meat. But maybe he will eat fruit if it was cut so that it was easy to eat. Like, if it was blended into juice...";
next;
- set mother_marienu,0;
- set morison_meat,0;
- set MISC_QUEST,MISC_QUEST | 1;
+ mother_marienu = 0;
+ morison_meat = 0;
+ MISC_QUEST |= 1;
mes "[Housewife Marianne]";
mes "Ah! Come to think of it, I heard they were making fruit juice somewhere. Now where was it... Payon Village, or Morroc?";
close;
@@ -47,7 +47,7 @@ prt_in,49,172,3 script Marianne#juice 1_M_INNKEEPER,{
close;
}
if (morison_meat > 0) {
- set mother_marienu,1;
+ mother_marienu = 1;
mes "[Housewife Marianne]";
mes "Oh!!.... This...";
mes "what is this...??";
@@ -91,7 +91,7 @@ prt_in,47,173,3 script Morrison#juice 4W_M_01,{
mes "You don't have to give me any more Meat. I feel like I'm going to explode if I eat any more.";
if (morison_meat == 10) {
next;
- set morison_meat,morison_meat+1;
+ ++morison_meat;
mes "[Little Morrison]";
mes "Oh... and... um.";
mes "Take this.";
@@ -127,7 +127,7 @@ prt_in,47,173,3 script Morrison#juice 4W_M_01,{
next;
if (select("Give Meat:Don't Give Meat") == 1) {
delitem 517,1; //Meat
- set morison_meat,morison_meat+1;
+ ++morison_meat;
mes "[Little Morrison]";
mes "Wow~!!! Meat!!";
mes "So yummy!";
@@ -137,7 +137,7 @@ prt_in,47,173,3 script Morrison#juice 4W_M_01,{
mes "*Chew chew*";
close;
}
- set morison_meat,15;
+ morison_meat = 15;
mes "[Little Morrison]";
mes "Waah...!";
mes "Fine, I get it now.";
@@ -189,20 +189,20 @@ payon_in03,188,146,5 script Marx Hansen#juice 4_M_04,{
next;
switch(select("Apple Juice:Banana Juice:Carrot Juice:Grape Juice:Cancel")) {
case 1:
- set .@fruit,512;
- set .@juice,531;
+ .@fruit = 512;
+ .@juice = 531;
break;
case 2:
- set .@fruit,513;
- set .@juice,532;
+ .@fruit = 513;
+ .@juice = 532;
break;
case 3:
- set .@fruit,515;
- set .@juice,534;
+ .@fruit = 515;
+ .@juice = 534;
break;
case 4:
- set .@fruit,514;
- set .@juice,533;
+ .@fruit = 514;
+ .@juice = 533;
break;
case 5:
mes "[Merchant Marx Hansen]";
@@ -225,9 +225,9 @@ payon_in03,188,146,5 script Marx Hansen#juice 4_M_04,{
next;
switch(select("As many as I can.:I want a certain amount.:Cancel.")) {
case 1:
- set .@make,countitem(.@fruit);
- if (countitem(713) < .@make) set .@make, countitem(713);
- if (Zeny/3 < .@make) set .@make, Zeny/3;
+ .@make = countitem(.@fruit);
+ if (countitem(713) < .@make) .@make = countitem(713);
+ if (Zeny/3 < .@make) .@make = Zeny/3;
break;
case 2:
mes "[Merchant Marx Hansen]";
@@ -250,7 +250,7 @@ payon_in03,188,146,5 script Marx Hansen#juice 4_M_04,{
break;
}
}
- set .@make,.@input;
+ .@make = .@input;
break;
case 3:
mes "[Merchant Marx Hansen]";
@@ -259,7 +259,7 @@ payon_in03,188,146,5 script Marx Hansen#juice 4_M_04,{
close;
}
- set .@total_zeny,3 * .@make;
+ .@total_zeny = 3 * .@make;
if (countitem(.@fruit) < .@make || countitem(713) < .@make || Zeny < .@total_zeny) {
mes "[Merchant Marx Hansen]";
diff --git a/npc/quests/kiel_hyre_quest.txt b/npc/quests/kiel_hyre_quest.txt
index 29ea57cf8..34a605649 100644
--- a/npc/quests/kiel_hyre_quest.txt
+++ b/npc/quests/kiel_hyre_quest.txt
@@ -355,7 +355,7 @@ yuno_in01,35,179,4 script Pub Master#kh 1_ETC_01,5,5,{
mes "Hyre Academy. I'll pay you";
mes "once you finish the job, okay?";
getitem 7487,1; //Tavern_Wine
- set KielHyreQuest,2;
+ KielHyreQuest = 2;
close;
case 2:
mes "[Vandt]";
@@ -445,7 +445,7 @@ OnTouch:
mes "This can't be good...";
mes "This isn't good at all!";
mes "What am I suposed to do?";
- set KielHyreQuest,1;
+ KielHyreQuest = 1;
close;
}
}
@@ -502,7 +502,7 @@ yuno,217,114,6 script Little Kid#kh 4W_KID,{
mes "to understand that my hands";
mes "are tied. D-don't ask me";
mes "why, they just are!";
- set KHToastGirlEnd,1;
+ KHToastGirlEnd = 1;
close;
case 2:
mes "[Cezu]";
@@ -529,12 +529,12 @@ yuno,217,114,6 script Little Kid#kh 4W_KID,{
mes "send her my regards. See you~";
delitem 7488,1; //Delivery_Package
getitem 7488,1; //Delivery_Package
- set KHToastGirlEnd,3;
+ KHToastGirlEnd = 3;
close;
}
}
//KHToastGirlEnd no longer needed-- deleting.
- if (KielHyreQuest > 6) set KHToastGirlEnd,0;
+ if (KielHyreQuest > 6) KHToastGirlEnd = 0;
mes "Hot, fresh and";
mes "cruuuunchy toast!";
mes "Come and get some!";
@@ -591,7 +591,7 @@ lighthalzen,366,299,4 script Windmill Owner#kh 1_ETC_01,{
mes "I know how other people treat";
mes "you adventurers. Well, see ya.";
getitem 7488,1; //Delivery_Package
- set KHToastGirlEnd,2;
+ KHToastGirlEnd = 2;
close;
case 2:
mes "[Mills]";
@@ -901,7 +901,7 @@ kh_school,176,60,4 script Lady#kh 4W_F_01,{
mes "don't wander needlessly";
mes "around the academy.";
delitem 7487,1; //Tavern_Wine
- set KielHyreQuest,4;
+ KielHyreQuest = 4;
close;
case 2:
mes "[Mrs. Lecollane]";
@@ -1066,7 +1066,7 @@ kh_school,179,39,0 script Cute Student#kh 4_F_KHELLY,{
mes "you hurry back here with";
mes "those cookie ingredients";
mes "as quickly as you can, okay?";
- set KielHyreQuest,6;
+ KielHyreQuest = 6;
break;
case 2:
mes "[Elly]";
@@ -1115,10 +1115,10 @@ kh_school,179,39,0 script Cute Student#kh 4_F_KHELLY,{
delitem 7182,5; //Cacao
delitem 7487,1; //Tavern_Wine
delitem 7488,1; //Delivery_Package
- set KielHyreQuest,8;
+ KielHyreQuest = 8;
//KHPubMasterEnd no longer needed-- deleting.
- set KHPubMasterEnd,0;
- set KHToastGirlEnd,0;
+ KHPubMasterEnd = 0;
+ KHToastGirlEnd = 0;
emotion e_ho;
}
}
@@ -1147,7 +1147,7 @@ kh_school,179,39,0 script Cute Student#kh 4_F_KHELLY,{
mes ""+strcharinfo(0)+"?";
mes "...that name! It's wonderful!";
getitem 538,5; //Well_Baked_Cookie
- set KielHyreQuest,10;
+ KielHyreQuest = 10;
}
else if (KielHyreQuest == 10) {
mes "[Elly]";
@@ -1193,7 +1193,7 @@ kh_school,179,39,0 script Cute Student#kh 4_F_KHELLY,{
mes "property, but if you mention";
mes "my name, they'll let you in.";
mes "Alright then, see you~";
- set KielHyreQuest,12;
+ KielHyreQuest = 12;
break;
case 2:
cutin "kh_elly03",2;
@@ -1239,7 +1239,7 @@ kh_school,179,39,0 script Cute Student#kh 4_F_KHELLY,{
mes "That way, you can just go";
mes "inside and talk to him~";
getitem 7489,1; //Villa_Spare_Key
- set KielHyreQuest,16;
+ KielHyreQuest = 16;
}
else if ((KielHyreQuest >= 14) && (KielHyreQuest < 20)) {
mes "[Elly]";
@@ -1293,7 +1293,7 @@ kh_school,179,39,0 script Cute Student#kh 4_F_KHELLY,{
mes "mean that he's in danger?!";
mes "Oh no, what should I do?";
delitem 7490,1; //Letter_to_Elly
- set KielHyreQuest,22;
+ KielHyreQuest = 22;
}
else if (KielHyreQuest == 22) {
cutin "kh_elly03",2;
@@ -1420,7 +1420,7 @@ kh_school,179,39,0 script Cute Student#kh 4_F_KHELLY,{
mes "by that ghost, just yell";
mes "''^FF0000Wake up, Elly!^000000''";
mes "That'll wake me up for sure!";
- set KielHyreQuest,24;
+ KielHyreQuest = 24;
break;
}
}
@@ -1460,7 +1460,7 @@ kh_school,179,39,0 script Cute Student#kh 4_F_KHELLY,{
mes "[Elly]";
mes "Hurry, hurry, the";
mes "teacher's coming!";
- set KielHyreQuest,26;
+ KielHyreQuest = 26;
}
else {
mes "[Elly]";
@@ -1607,7 +1607,7 @@ kh_school,178,180,4 script Elly 4_F_KHELLY,{
mes "up, but only for an instant.^000000";
getitem 7493,1; //Golden_Key
getitem 7494,1; //Kiel_Button
- set KielHyreQuest,34;
+ KielHyreQuest = 34;
close;
}
else {
@@ -1676,7 +1676,7 @@ kh_school,178,180,4 script Elly 4_F_KHELLY,{
mes "Grandpa";
getitem 7495,1; //Blue_Key_Card
delitem 7491,1; //Iron_Box
- set KielHyreQuest,36;
+ KielHyreQuest = 36;
close;
}
}
@@ -1750,7 +1750,7 @@ kh_school,175,176,0 script Cookie Basket#kh HIDDEN_NPC,{
mes "to leave my window open so that";
mes "you can still find me. I hope he";
mes "doesn't cast his curse on me!";
- set KielHyreQuest,32;
+ KielHyreQuest = 32;
close;
case 2:
mes "^3355FFThat note probably";
@@ -1804,7 +1804,7 @@ kh_school,175,176,0 script Cookie Basket#kh HIDDEN_NPC,{
mes "out a cookie, and put it";
mes "in your mouth. It was";
mes "deliciously bittersweet.";
- set KielHyreQuest,109;
+ KielHyreQuest = 109;
next;
input .@input$;
mes "["+strcharinfo(0)+"]";
@@ -1886,7 +1886,7 @@ yuno_fild08,71,170,0 script Grave#kh HIDDEN_NPC,{
mes "^3355FFYou hear another ";
mes "pleasant beep, and";
mes "a secret path opens.^000000";
- set KielHyreQuest,38;
+ KielHyreQuest = 38;
close;
}
else {
@@ -1994,7 +1994,7 @@ yuno_fild02,93,210,4 script Cottage Keeper#kh 4_M_03,{
mes "wouldn't have left if he";
mes "was supposed to keep";
mes "an appointment...";
- set KielHyreQuest,14;
+ KielHyreQuest = 14;
close;
case 2:
mes "[Cottage Keeper]";
@@ -2043,7 +2043,7 @@ yuno_fild02,75,218,0 script Door#kh2 HIDDEN_NPC,{
mes "3 Forward,";
mes "4 Left";
close2;
- set KielHyreQuest,18;
+ KielHyreQuest = 18;
warp "kh_vila",188,18;
end;
case 2:
@@ -2142,7 +2142,7 @@ kh_vila,184,20,0 script Book#kh1::BookKHQ1 HIDDEN_NPC,{
mes "pull it towards you, the";
mes "wall slides opens open";
mes "to reveal a secret path.^000000";
- set KielHyreQuest,28;
+ KielHyreQuest = 28;
specialeffect EF_READYPORTAL2,AREA,"Wall#kh";
close;
}
@@ -2182,7 +2182,7 @@ OnTouch:
mes "the fact that it's not";
mes "addressed to you.^000000";
getitem 7490,1; //Kyll_Hire_Letter
- set KielHyreQuest,20;
+ KielHyreQuest = 20;
close;
} else {
mes "^3355FFYou entered the room.^000000";
@@ -2295,7 +2295,7 @@ kh_vila,44,126,0 script Map#khp1 HIDDEN_NPC,{
mes "You'll need to find some";
mes "way to loosen the glue";
mes "without damaging the map...^000000";
- set KHCottagePoem1,1;
+ KHCottagePoem1 = 1;
close;
}
}
@@ -2335,7 +2335,7 @@ kh_vila,44,126,0 script Map#khp1 HIDDEN_NPC,{
mes "The deeper meaning";
mes "of this poem, if it even";
mes "exists, eludes you.^000000";
- set KHCottagePoem1,3;
+ KHCottagePoem1 = 3;
close;
}
else if ((KHCottagePoem1 > 2) || (KielHyreQuest >= 30)) {
@@ -2402,7 +2402,7 @@ kh_vila,33,184,0 script Pot#khp1 HIDDEN_NPC,{
mes "boiling pot, but";
mes "slightly burned your";
mes "hands by accident.";
- set KHCottagePoem1,2;
+ KHCottagePoem1 = 2;
close;
case 2:
@@ -2529,7 +2529,7 @@ kh_vila,39,41,0 script Pool#khp1 HIDDEN_NPC,{
mes "which seems to trigger";
mes "a strange sound coming";
mes "from the stairs at the hallway.^000000";
- set KHCottagePoem1,4;
+ KHCottagePoem1 = 4;
close;
case 2:
mes "^3355FFYou'd better not push";
@@ -2758,10 +2758,10 @@ kh_vila,181,138,0 script Bookshelf#khp1 HIDDEN_NPC,{
else if (countitem(7516) >= 1) {
switch(select("Green Keycard:Cottage Key")) {
case 1:
- set .@KHFirstKeyhole,1;
+ .@KHFirstKeyhole = 1;
break;
case 2:
- set .@KHFirstKeyhole,2;
+ .@KHFirstKeyhole = 2;
break;
}
mes "^3355FFWhich key will";
@@ -2770,11 +2770,11 @@ kh_vila,181,138,0 script Bookshelf#khp1 HIDDEN_NPC,{
next;
switch(select("Green Keycard:Cottage Key")) {
case 1:
- set .@KHSecondKeyhole,1;
+ .@KHSecondKeyhole = 1;
break;
case 2:
- set .@KHSecondKeyhole,2;
+ .@KHSecondKeyhole = 2;
break;
}
@@ -2845,7 +2845,7 @@ kh_vila,118,144,0 script Desk#khp1 HIDDEN_NPC,{
mes "a blank piece of";
mes "paper with the Kiel";
mes "Hyre Foundation seal.^000000";
- set KHCottagePoem2,1;
+ KHCottagePoem2 = 1;
close;
}
else if (KHCottagePoem2 >= 1) {
@@ -2897,7 +2897,7 @@ kh_vila,123,170,0 script Medicine Chest#khp1 HIDDEN_NPC,{
case 2:
switch(select("Try Red Liquid:Try Blue Liquid:Try Yellow Liquid:Try Green Liquid:Cancel")) {
case 1:
- set .@KHPotionColor$,"red";
+ .@KHPotionColor$ = "red";
break;
case 2:
mes "^3355FFIt works!";
@@ -2933,13 +2933,13 @@ kh_vila,123,170,0 script Medicine Chest#khp1 HIDDEN_NPC,{
mes "^3355FFThis is a very";
mes "strange poem. What";
mes "could it possibly mean?^000000";
- set KHCottagePoem2,2;
+ KHCottagePoem2 = 2;
close;
case 3:
- set .@KHPotionColor$,"yellow";
+ .@KHPotionColor$ = "yellow";
break;
case 4:
- set .@KHPotionColor$,"green";
+ .@KHPotionColor$ = "green";
break;
case 5:
mes "^3355FFNever mind.";
@@ -3063,7 +3063,7 @@ kh_vila,136,68,0 script Sword Hilt#kh HIDDEN_NPC,{
default:
break;
case 2:
- set .@KHSwords,.@KHSwords+1;
+ ++.@KHSwords;
break;
}
next;
@@ -3075,7 +3075,7 @@ kh_vila,136,68,0 script Sword Hilt#kh HIDDEN_NPC,{
default:
break;
case 4:
- set .@KHSwords,.@KHSwords+1;
+ ++.@KHSwords;
break;
}
next;
@@ -3085,7 +3085,7 @@ kh_vila,136,68,0 script Sword Hilt#kh HIDDEN_NPC,{
next;
switch(select("First Snake:Second Snake:Third Snake:Fourth Snake")) {
case 1:
- set .@KHSwords,.@KHSwords+1;
+ ++.@KHSwords;
break;
default:
break;
@@ -3099,7 +3099,7 @@ kh_vila,136,68,0 script Sword Hilt#kh HIDDEN_NPC,{
default:
break;
case 3:
- set .@KHSwords,.@KHSwords+1;
+ ++.@KHSwords;
break;
}
@@ -3109,8 +3109,8 @@ kh_vila,136,68,0 script Sword Hilt#kh HIDDEN_NPC,{
mes "noise, and your mind";
mes "and body feel as if they";
mes "are being swept away...^000000";
- set KHCottagePoem1,5;
- set KHCottagePoem2,3;
+ KHCottagePoem1 = 5;
+ KHCottagePoem2 = 3;
close2;
warp "kh_vila",178,72;
end;
@@ -3200,9 +3200,9 @@ kh_vila,185,68,0 script Test Tube::TestTubeKHQ2 HIDDEN_NPC,{
mes "^3355FFthose numbers^000000";
mes "^3355FFpossibly mean?^000000";
//KHCottagePoem1 and KHCottagePoem2 no longer needed-- deleting
- set KHCottagePoem1,0;
- set KHCottagePoem2,0;
- set KielHyreQuest,30;
+ KHCottagePoem1 = 0;
+ KHCottagePoem2 = 0;
+ KielHyreQuest = 30;
close;
}
else {
@@ -3518,7 +3518,7 @@ kh_school,122,186,4 script Beautiful Lady#kh6 4_F_KHELLISIA,{
mes "locate Kiel Hyre, please";
mes "let me know right away.";
getitem 7496,1; //Red_Key_Card
- set KielHyreQuest,40;
+ KielHyreQuest = 40;
break;
}
close2;
@@ -3562,7 +3562,7 @@ kh_school,122,186,4 script Beautiful Lady#kh6 4_F_KHELLISIA,{
mes "Kiel Hyre's orders, and";
mes "must carry them out...";
delitem 7497,1; //Steel_Piece
- set KielHyreQuest,44;
+ KielHyreQuest = 44;
close2;
cutin "",255;
end;
@@ -3585,7 +3585,7 @@ kh_school,122,186,4 script Beautiful Lady#kh6 4_F_KHELLISIA,{
delitem 7492,1; //Yellow_Key_Card
delitem 7495,1; //Blue_Key_Card
delitem 7496,1; //Red_Key_Card
- set KielHyreQuest,46;
+ KielHyreQuest = 46;
next;
mes "[Allysia]";
mes "I understand that this";
@@ -3739,7 +3739,7 @@ OnTouch:
mes "the gap between the";
mes "door and the floor.^000000";
getitem 7497,1; //Steel_Piece
- set KielHyreQuest,42;
+ KielHyreQuest = 42;
close;
}
@@ -3967,7 +3967,7 @@ kh_mansion,22,28,4 script Kiel Hyre#kh 4_M_KHKYEL,{
mes "with ^3355FFAllysia^000000? She can explain";
mes "everything much more succinctly";
mes "than I can. I tend to ramble...";
- set .@KHQRead,.@KHQRead+1;
+ ++.@KHQRead;
next;
break;
case 2:
@@ -3994,7 +3994,7 @@ kh_mansion,22,28,4 script Kiel Hyre#kh 4_M_KHKYEL,{
mes "I don't know why he wants";
mes "to do this. I still have";
mes "absolutely no clue...";
- set .@KHQRead,.@KHQRead+1;
+ ++.@KHQRead;
next;
break;
case 3:
@@ -4013,7 +4013,7 @@ kh_mansion,22,28,4 script Kiel Hyre#kh 4_M_KHKYEL,{
mes "I've never even seen";
mes "his face! Kiehl just hired";
mes "him without letting me know...";
- set .@KHQRead,.@KHQRead+1;
+ ++.@KHQRead;
next;
break;
}
@@ -4027,7 +4027,7 @@ kh_mansion,22,28,4 script Kiel Hyre#kh 4_M_KHKYEL,{
mes "I was locked up in the factory.";
delitem 7493,1; //Golden_Key
delitem 7494,1; //Kiel_Button
- set KielHyreQuest,48;
+ KielHyreQuest = 48;
break;
}
}
@@ -4040,7 +4040,7 @@ kh_mansion,22,28,4 script Kiel Hyre#kh 4_M_KHKYEL,{
mes "saving my life.";
getitem 12105,1; //Taming_Gift_Set
getexp (checkre(3))?70000:700000,0;
- set KielHyreQuest,50;
+ KielHyreQuest = 50;
}
else if ((KielHyreQuest >= 50) && (KielHyreQuest < 64)) {
mes "[Kiel Hyre]";
@@ -4383,7 +4383,7 @@ kh_mansion,22,28,4 script Kiel Hyre#kh 4_M_KHKYEL,{
delitem 7501,1; //Kyll_Hyre_Letter2
delitem 7502,1; //Piece_Memo_Of_James
delitem 7503,1; //Man_Portrait
- set KielHyreQuest,70;
+ KielHyreQuest = 70;
close2;
cutin "",255;
end;
@@ -4577,7 +4577,7 @@ kh_mansion,22,28,4 script Kiel Hyre#kh 4_M_KHKYEL,{
mes "Let me know once";
mes "you're ready. Then, I'll";
mes "guide you Kiehl's room.";
- set KielHyreQuest,74;
+ KielHyreQuest = 74;
}
else if ((KielHyreQuest >= 74) && (KielHyreQuest <= 104)) {
mes "[Kiel Hyre]";
@@ -4650,13 +4650,13 @@ kh_mansion,22,28,4 script Kiel Hyre#kh 4_M_KHKYEL,{
mes "deepest levels of the factory.";
mes "I'll investigate Kiehl's room.";
getitem 7509,1; //Fancy_Key_Card
- set KielHyreQuest,108;
+ KielHyreQuest = 108;
next;
if (Sex == 0) {
- if (getpartnerid() == 0) set .@KHTitle$,"Miss";
- else set .@KHSTitle$,"Mrs";
+ if (getpartnerid() == 0) .@KHTitle$ = "Miss";
+ else .@KHSTitle$ = "Mrs";
}
- else set .@KHTitle$,"Mr";
+ else .@KHTitle$ = "Mr";
mes "[Kiel Hyre]";
mes "Kiehl is my responsibility...";
mes "No matter what the cost may";
@@ -5047,7 +5047,7 @@ OnTouch:
mes "I'm Agent Mitchell Layla.";
mes "From here on, you're working";
mes "for the Schwaltzvalt Republic!";
- set KielHyreQuest,52;
+ KielHyreQuest = 52;
close;
}
}
@@ -5083,7 +5083,7 @@ OnTouch:
mes "when you're ready to go";
mes "to Juno, let me know, and you";
mes "can board the federal airship.";
- set KielHyreQuest,54;
+ KielHyreQuest = 54;
close;
}
else if (KielHyreQuest == 54) {
@@ -5135,7 +5135,7 @@ OnTouch:
mes "you to find out who Kiel";
mes "really is, and what's his";
mes "relationship to Rekenber.";
- set KielHyreQuest,68;
+ KielHyreQuest = 68;
next;
warp "kh_mansion",83,50;
end;
@@ -5207,7 +5207,7 @@ yuno,257,140,4 script Odd Grandma 4_F_EINOLD,{
mes "rest, so I can go to work.";
mes "The house is so messy,";
mes "and the boss is unhappy...";
- set KielHyreQuest,56;
+ KielHyreQuest = 56;
next;
select("Um, I don't see a baby...");
mes "[Grandma]";
@@ -5359,7 +5359,7 @@ yuno,250,132,0 script Old Lady#kh 4_F_05,{
mes "Alright then, I hope you find";
mes "what you're looking for.";
getitem 7498,1; //Rosimier_Key
- set KielHyreQuest,58;
+ KielHyreQuest = 58;
close;
}
}
@@ -5421,7 +5421,7 @@ yuno,250,132,0 script Old Lady#kh 4_F_05,{
mes "so he might have a better";
mes "idea of what had happened.";
delitem 7498,1; //Rosimier_Key
- set KielHyreQuest,60;
+ KielHyreQuest = 60;
close;
}
else if (KielHyreQuest >= 60) {
@@ -5805,7 +5805,7 @@ yuno_fild12,232,222,0 script Old Fisherman 4_M_SEAMAN,{
mes "a hut near the northeast";
mes "forest guard camp.";
delitem 544,10; //Fish_Slice
- set KielHyreQuest,62;
+ KielHyreQuest = 62;
close;
}
else {
@@ -5856,7 +5856,7 @@ yuno_fild09,158,217,0 script Wooden Board#kh HIDDEN_NPC,{
mes "picture frame underneath";
mes "the old wooden board.^000000";
getitem 7503,1; //Man_Portrait
- set KielHyreQuest,64;
+ KielHyreQuest = 64;
next;
cutin "",255;
mes "^3355FFYou have enough";
@@ -5894,7 +5894,7 @@ kh_kiehl01,17,39,0 script Receiver#kh HIDDEN_NPC,{
mes "you to kill me? We'll just";
mes "see about that! Go ahead,";
mes "try to find me, adventurer.^000000.";
- set KielHyreQuest,76;
+ KielHyreQuest = 76;
}
close2;
monster "kh_kiehl01",16,32,"Alicel",1739,1,"Receiver#kh::OnMyMobDead";
@@ -6045,7 +6045,7 @@ kh_kiehl01,44,33,0 script Big Door#BigDoorKHQ1 HIDDEN_NPC,{
delitem 7506,1; //Black_Key_Card
donpcevent "Big_Door_1_Warp::OnEnable";
enablenpc "Big_Door_1_Warp";
- set .KHDoor1Opened,1;
+ .KHDoor1Opened = 1;
close;
}
@@ -6106,7 +6106,7 @@ kh_kiehl01,174,40,0 script Big Door#BigDoorKHQ2 HIDDEN_NPC,{
delitem 7505,1; //Toy_Key
donpcevent "Big_Door_2_Warp::OnEnable";
enablenpc "Big_Door_2_Warp";
- set .KHDoor2Opened,1;
+ .KHDoor2Opened = 1;
close;
}
@@ -6166,7 +6166,7 @@ kh_kiehl01,77,108,0 script Big Door#BigDoorKHQ3 HIDDEN_NPC,{
delitem 7506,1; //Black_Key_Card
donpcevent "Big_Door_3_Warp::OnEnable";
enablenpc "Big_Door_3_Warp";
- set .KHDoor3Opened,1;
+ .KHDoor3Opened = 1;
close;
}
@@ -6226,7 +6226,7 @@ kh_kiehl01,42,177,0 script Big Door#BigDoorKHQ4 HIDDEN_NPC,{
delitem 7506,2; //Black_Key_Card
donpcevent "Big_Door_4_Warp::OnEnable";
enablenpc "Big_Door_4_Warp";
- set .KHDoor4Opened,1;
+ .KHDoor4Opened = 1;
close;
}
}
@@ -6327,13 +6327,13 @@ kh_kiehl01,166,187,0 script Big Door#BigDoorKHQ5 HIDDEN_NPC,{
mes "This must be some";
mes "kind of security device.^000000";
close2;
- set @KHDoorPushAttempt,@KHDoorPushAttempt+1;
+ ++@KHDoorPushAttempt;
monster "kh_kiehl01",163,183,"Alicel",1739,1;
monster "kh_kiehl01",163,179,"Aliot",1740,1;
monster "kh_kiehl01",169,183,"Alicel",1739,1;
monster "kh_kiehl01",169,179,"Aliot",1740,1;
if (@KHDoorPushAttempt >= 3) {
- set KielHyreQuest,86;
+ KielHyreQuest = 86;
}
end;
}
@@ -6352,10 +6352,10 @@ kh_kiehl01,166,187,0 script Big Door#BigDoorKHQ5 HIDDEN_NPC,{
next;
switch(select("Steel:Rusty Iron Piece:Solid Iron Piece:Iron Piece:Screw:Cancel")) {
case 1:
- set .@KHPryingItem$,"Steel";
+ .@KHPryingItem$ = "Steel";
break;
case 2:
- set .@KHPryingItem$,"Rusty Iron Piece";
+ .@KHPryingItem$ = "Rusty Iron Piece";
break;
case 3:
if (countitem(7507) >= 1) {
@@ -6368,7 +6368,7 @@ kh_kiehl01,166,187,0 script Big Door#BigDoorKHQ5 HIDDEN_NPC,{
mes "but you break one of your";
mes "Solid Iron Pieces.^000000";
delitem 7507,1; //Hard_Piece_of_Steel
- set KielHyreQuest,KielHyreQuest+2;
+ KielHyreQuest += 2;
close;
}
else if (KielHyreQuest == 92) {
@@ -6380,7 +6380,7 @@ kh_kiehl01,166,187,0 script Big Door#BigDoorKHQ5 HIDDEN_NPC,{
mes "awesome force, this Solid";
mes "Iron Piece shatters into dust.^000000";
delitem 7507,1; //Hard_Piece_of_Steel
- set KielHyreQuest,94;
+ KielHyreQuest = 94;
close;
}
}
@@ -6391,10 +6391,10 @@ kh_kiehl01,166,187,0 script Big Door#BigDoorKHQ5 HIDDEN_NPC,{
close;
}
case 4:
- set .@KHPryingItem$,"Iron Piece";
+ .@KHPryingItem$ = "Iron Piece";
break;
case 5:
- set .@KHPryingItem$,"Screw";
+ .@KHPryingItem$ = "Screw";
break;
case 6:
mes "^3355FFLet's look for something";
@@ -6419,7 +6419,7 @@ kh_kiehl01,166,187,0 script Big Door#BigDoorKHQ5 HIDDEN_NPC,{
close2;
donpcevent "Big_Door_5_Warp::OnEnable";
enablenpc "Big_Door_5_Warp";
- set .KHDoor5Opened,1;
+ .KHDoor5Opened = 1;
end;
case 2:
mes "^3355FFWho knows what is on the";
@@ -6487,8 +6487,8 @@ kh_kiehl02,49,10,0 script Kiehl_Room_Trap -1,5,3,{
OnTouch:
if (.KHTrapSprung < 1) {
- set .KHTrapSprung,1;
- set $@KHQuestBusy,1;
+ .KHTrapSprung = 1;
+ $@KHQuestBusy = 1;
initnpctimer;
monster "kh_kiehl02",47,13,"Aliot",1740,1;
monster "kh_kiehl02",45,13,"Alicel",1739,1;
@@ -6663,7 +6663,7 @@ kh_kiehl02,50,52,4 script Kiehl#Original 4_M_KHKIEL,{
mes "Kiehl Hyre, you're";
mes "under arrest for creating";
mes "and trading illegal weapons!";
- set KielHyreQuest,100;
+ KielHyreQuest = 100;
hideoffnpc "Mitchell#KiehlRoom";
hideoffnpc "Agent#KHAgent1";
hideoffnpc "Agent#KHAgent2";
@@ -6939,7 +6939,7 @@ kh_kiehl02,50,52,4 script Kiehl#Original 4_M_KHKIEL,{
mes "Anyway, I'll open up the";
mes "exit for you. Farewell~";
delitem 7504,1; //Toy_Motor
- set KielHyreQuest,104;
+ KielHyreQuest = 104;
hideonnpc "Kiehl#Copy";
donpcevent "Kiehl_Room_Exit::OnEnable";
enablenpc "Kiehl_Room_Exit";
@@ -6953,7 +6953,7 @@ kh_kiehl02,50,52,4 script Kiehl#Original 4_M_KHKIEL,{
mes "ring from the heart of";
mes "Kiehl's old robotic body.^000000";
getitem 7508,1; //Elysia_Ring
- set KielHyreQuest,106;
+ KielHyreQuest = 106;
close2;
cutin "",255;
end;
@@ -7028,17 +7028,17 @@ kh_kiehl02,1,1,0 script KiehlRoom -1,{
end;
OnKiehlMobDead:
- set .KHKilled,.KHKilled+1;
+ ++.KHKilled;
if (.KHKilled == 5) {
hideoffnpc "Kiehl#Original";
}
end;
OnKiehlDead:
- set .KHKilledBoss,1;
+ .KHKilledBoss = 1;
hideoffnpc "Kiehl#Original";
end;
-
+
OnReset:
donpcevent "Kiehl_Room_Trap::OnGlobalTimerOff";
if (getmapusers("kh_kiehl02") > 0)
@@ -7052,10 +7052,10 @@ OnReset:
hideonnpc "Agent#KHAgent4";
hideonnpc "Kiehl#Copy";
hideoffnpc "Kiehl#Original";
- set .KHKilledBoss,0;
- set .KHKilled,0;
+ .KHKilledBoss = 0;
+ .KHKilled = 0;
set getvariableofnpc(.KHTrapSprung,"Kiehl_Room_Trap"),0;
- set $@KHQuestBusy,0;
+ $@KHQuestBusy = 0;
end;
}
diff --git a/npc/quests/lvl4_weapon_quest.txt b/npc/quests/lvl4_weapon_quest.txt
index 91a1cea91..e31ea53c3 100644
--- a/npc/quests/lvl4_weapon_quest.txt
+++ b/npc/quests/lvl4_weapon_quest.txt
@@ -80,7 +80,7 @@ umbala,117,285,3 script Bazo#lv4 4_M_03,{
next;
mes "[Bazo]";
mes "Please bring me 30 of either Citrin, Turquoise or Agate. Well then, I wish you luck in finding those things and I'll be waiting for you~";
- set lv4_weapon,1;
+ lv4_weapon = 1;
close;
case 2:
mes "[Bazo]";
@@ -133,21 +133,21 @@ umbala,117,285,3 script Bazo#lv4 4_M_03,{
mes "Immaterial Sword!";
mes "This sword was born to be yours!";
mes "Congratulations and hopefully it will be useful to you.";
- set lv4_weapon,0;
+ lv4_weapon = 0;
getitem 1141,1; //Immaterial_Sword
}
else if (lv4_weapon == 6) {
mes "Slash!";
mes "This mace was born to be yours!";
mes "Congratulations and hopefully it will be useful to you.";
- set lv4_weapon,0;
+ lv4_weapon = 0;
getitem 1526,1; //Slash
}
else if (lv4_weapon == 7) {
mes "Quadrille!";
mes "This mace was born to be yours!";
mes "Congratulations and hopefully it will be useful to you.";
- set lv4_weapon,0;
+ lv4_weapon = 0;
getitem 1527,1; //Quadrille
}
next;
@@ -157,19 +157,19 @@ umbala,117,285,3 script Bazo#lv4 4_M_03,{
}
if (((lv4_weapon == 2) && (countitem(7295) > 29)) || ((lv4_weapon == 3) && (countitem(7294) > 29)) || ((lv4_weapon == 4) && (countitem(7291) > 29))) {
if (lv4_weapon == 2) {
- set .@itemreq,7295; // Citrine
+ .@itemreq = 7295; // Citrine
}
else if (lv4_weapon == 3) {
- set .@itemreq,7294; //Turqoise
+ .@itemreq = 7294; //Turqoise
}
else if (lv4_weapon == 4) {
- set .@itemreq,7291; // Agate
+ .@itemreq = 7291; // Agate
}
mes "[Bazo]";
mes "Okay, it seems like you're";
mes "ready so let's get started. Now, my favorite monsters are Poring, Hode, Obeaune and Minorous.";
next;
- for( set .@i, 1; .@i <= 5; set .@i,.@i+1 ) {
+ for( .@i = 1; .@i <= 5; ++.@i ) {
setarray .@mons[.@i],rand(1,4);
mes "[Bazo]";
if (.@i == 1) {
@@ -196,16 +196,16 @@ umbala,117,285,3 script Bazo#lv4 4_M_03,{
mes "thinking about right now.";
}
next;
- set .@answer,select("Poring:Hode:Obeaune:Minorous");
+ .@answer = select("Poring:Hode:Obeaune:Minorous");
if (.@answer == .@mons[.@i]) {
- set .@dap,.@dap + 1;
+ ++.@dap;
}
}
mes "[Bazo]";
mes "Okay, let me give you the answers for the questions in the order I was thinking. Now, it might seem like I'm making them up right now, but I'm not. We gotta trust each other on this.";
next;
mes "[Bazo]";
- for( set .@i, 1; .@i <= 5; set .@i,.@i+1 ) {
+ for( .@i = 1; .@i <= 5; ++.@i ) {
if (.@mons[.@i] == 1) {
mes "Poring";
}
@@ -221,7 +221,7 @@ umbala,117,285,3 script Bazo#lv4 4_M_03,{
}
if (.@dap > 0) {
delitem .@itemreq,30;
- set lv4_weapon,lv4_weapon+3;
+ lv4_weapon += 3;
}
else if (.@dap < 1) {
delitem .@itemreq,10;
@@ -270,13 +270,13 @@ umbala,117,285,3 script Bazo#lv4 4_M_03,{
next;
switch(select("Citrin:Turquoise:Agate")) {
case 1:
- set .@itemreq,7295; // Citrine
+ .@itemreq = 7295; // Citrine
break;
case 2:
- set .@itemreq,7294; //Turqoise
+ .@itemreq = 7294; //Turqoise
break;
case 3:
- set .@itemreq,7291; // Agate
+ .@itemreq = 7291; // Agate
break;
}
}
@@ -287,10 +287,10 @@ umbala,117,285,3 script Bazo#lv4 4_M_03,{
mes "you like to use?";
switch(select("Citrin:Turquoise")) {
case 1:
- set .@itemreq,7295; // Citrine
+ .@itemreq = 7295; // Citrine
break;
case 2:
- set .@itemreq,7294; //Turqoise
+ .@itemreq = 7294; //Turqoise
break;
}
}
@@ -301,10 +301,10 @@ umbala,117,285,3 script Bazo#lv4 4_M_03,{
mes "you like to use?";
switch(select("Citrin:Agate")) {
case 1:
- set .@itemreq,7295; // Citrine
+ .@itemreq = 7295; // Citrine
break;
case 2:
- set .@itemreq,7291; // Agate
+ .@itemreq = 7291; // Agate
break;
}
}
@@ -315,22 +315,22 @@ umbala,117,285,3 script Bazo#lv4 4_M_03,{
mes "you like to use?";
switch(select("Turquoise:Agate")) {
case 1:
- set .@itemreq,7294; //Turqoise
+ .@itemreq = 7294; //Turqoise
break;
case 2:
- set .@itemreq,7291; // Agate
+ .@itemreq = 7291; // Agate
break;
}
}
else {
if (countitem(7295) > 29) {
- set .@itemreq,7295; // Citrine
+ .@itemreq = 7295; // Citrine
}
if (countitem(7294) > 29) {
- set .@itemreq,7294; //Turqoise
+ .@itemreq = 7294; //Turqoise
}
if (countitem(7291) > 29) {
- set .@itemreq,7291; // Agate
+ .@itemreq = 7291; // Agate
}
}
mes "[Bazo]";
@@ -360,13 +360,13 @@ umbala,117,285,3 script Bazo#lv4 4_M_03,{
delitem 999,50; //Steel
delitem 714,10; //Emperium
if (.@itemreq == 7295) {
- set lv4_weapon,2;
+ lv4_weapon = 2;
}
else if (.@itemreq == 7294) {
- set lv4_weapon,3;
+ lv4_weapon = 3;
}
else if (.@itemreq == 7291) {
- set lv4_weapon,4;
+ lv4_weapon = 4;
}
close;
}
@@ -449,7 +449,7 @@ umbala,117,285,3 script Bazo#lv4 4_M_03,{
next;
mes "[Bazo]";
mes "Please bring me 30 of either Citrin, Turquoise or Agate. Well then, I wish you luck in finding those things and I'll be waiting for you~";
- set lv4_weapon,1;
+ lv4_weapon = 1;
close;
case 2:
mes "[Bazo]";
@@ -529,7 +529,7 @@ umbala,163,257,3 script Hibilaithan#lv4 4_M_UMDANCEKID2,{
next;
mes "[Hibilaithan]";
mes "Okay, I wish you good luck! In the meantime, I shall relax here and wait for your return.";
- set lv4_weapon,8;
+ lv4_weapon = 8;
close;
case 2:
mes "[Hibilaithan]";
@@ -575,17 +575,17 @@ umbala,163,257,3 script Hibilaithan#lv4 4_M_UMDANCEKID2,{
mes "[Hibilaithan]";
if (lv4_weapon == 12) {
mes "Ooh, this is a huge success! But of course, since it's my handiwork, that goes without saying. Hey, this is a weapon... Some sort of... Mailbreaker!";
- set lv4_weapon,0;
+ lv4_weapon = 0;
getitem 1225,1; //Mail_Breaker
}
else if (lv4_weapon == 13) {
mes "Ooh, this is a huge success! But of course, since it's my handiwork, that goes without saying. Hey, this is a weapon... Some sort of... Swordbreaker!";
- set lv4_weapon,0;
+ lv4_weapon = 0;
getitem 1224,1; //Sword_Breaker
}
else if (lv4_weapon == 14) {
mes "Ooh, this is a huge success! But of course, since it's my handiwork, that goes without saying. Hey, this is a weapon... Some sort of... Slaughter!";
- set lv4_weapon,0;
+ lv4_weapon = 0;
getitem 1367,1; //Slaughter
}
next;
@@ -595,13 +595,13 @@ umbala,163,257,3 script Hibilaithan#lv4 4_M_UMDANCEKID2,{
}
if (((lv4_weapon == 9) && (countitem(7292) > 29)) || ((lv4_weapon == 10) && (countitem(7297) > 29)) || ((lv4_weapon == 11) && (countitem(7296) > 29))) {
if (lv4_weapon == 9) {
- set .@itemreq,7292; //Muscovite
+ .@itemreq = 7292; //Muscovite
}
else if (lv4_weapon == 10) {
- set .@itemreq,7297; // Biotite
+ .@itemreq = 7297; // Biotite
}
else if (lv4_weapon == 11) {
- set .@itemreq,7296; // Pyroxene
+ .@itemreq = 7296; // Pyroxene
}
mes "[Hibilaithan]";
mes "Okay, let's get started!";
@@ -612,7 +612,7 @@ umbala,163,257,3 script Hibilaithan#lv4 4_M_UMDANCEKID2,{
mes "[Hibilaithan]";
mes "Don't worry, I'll tell you which monsters are my favorite, so this game isn't impossible. If you can guess just one of them right, we'll know your luck is good today!";
next;
- for( set .@i, 1; .@i <= 5; set .@i,.@i+1 ) {
+ for( .@i = 1; .@i <= 5; ++.@i ) {
setarray .@mons[.@i],rand(1,4);
mes "[Hibilaithan]";
if (.@i == 1) {
@@ -641,9 +641,9 @@ umbala,163,257,3 script Hibilaithan#lv4 4_M_UMDANCEKID2,{
mes "am I thinking of?";
}
next;
- set .@answer,select("Zealotus:Alice:Munak:Isis");
+ .@answer = select("Zealotus:Alice:Munak:Isis");
if (.@answer == .@mons[.@i]) {
- set .@dap,.@dap + 1;
+ ++.@dap;
}
}
mes "[Hibilaithan]";
@@ -653,7 +653,7 @@ umbala,163,257,3 script Hibilaithan#lv4 4_M_UMDANCEKID2,{
mes "I was thinking about...";
next;
mes "[Hibilaithan]";
- for( set .@i, 1; .@i <= 5; set .@i,.@i+1 ) {
+ for( .@i = 1; .@i <= 5; ++.@i ) {
if (.@mons[.@i] == 1) {
mes "Zealotus";
}
@@ -669,7 +669,7 @@ umbala,163,257,3 script Hibilaithan#lv4 4_M_UMDANCEKID2,{
}
if (.@dap > 0) {
delitem .@itemreq,30;
- set lv4_weapon,lv4_weapon+3;
+ lv4_weapon += 3;
}
else if (.@dap < 1) {
delitem .@itemreq,10;
@@ -721,13 +721,13 @@ umbala,163,257,3 script Hibilaithan#lv4 4_M_UMDANCEKID2,{
next;
switch(select("Muscovite:Biotite:Pyroxene")) {
case 1:
- set .@itemreq,7292; //Muscovite
+ .@itemreq = 7292; //Muscovite
break;
case 2:
- set .@itemreq,7297; // Biotite
+ .@itemreq = 7297; // Biotite
break;
case 3:
- set .@itemreq,7296; // Pyroxene
+ .@itemreq = 7296; // Pyroxene
break;
}
}
@@ -737,10 +737,10 @@ umbala,163,257,3 script Hibilaithan#lv4 4_M_UMDANCEKID2,{
next;
switch(select("Muscovite:Biotite")) {
case 1:
- set .@itemreq,7292; //Muscovite
+ .@itemreq = 7292; //Muscovite
break;
case 2:
- set .@itemreq,7297; // Biotite
+ .@itemreq = 7297; // Biotite
break;
}
}
@@ -750,10 +750,10 @@ umbala,163,257,3 script Hibilaithan#lv4 4_M_UMDANCEKID2,{
next;
switch(select("Muscovite:Pyroxene")) {
case 1:
- set .@itemreq,7292; //Muscovite
+ .@itemreq = 7292; //Muscovite
break;
case 2:
- set .@itemreq,7296; // Pyroxene
+ .@itemreq = 7296; // Pyroxene
break;
}
}
@@ -763,22 +763,22 @@ umbala,163,257,3 script Hibilaithan#lv4 4_M_UMDANCEKID2,{
next;
switch(select("Biotite:Pyroxene")) {
case 1:
- set .@itemreq,7297; // Biotite
+ .@itemreq = 7297; // Biotite
break;
case 2:
- set .@itemreq,7296; // Pyroxene
+ .@itemreq = 7296; // Pyroxene
break;
}
}
else {
if (countitem(7292) > 29) {
- set .@itemreq,7292; //Muscovite
+ .@itemreq = 7292; //Muscovite
}
else if (countitem(7297) > 29) {
- set .@itemreq,7297; // Biotite
+ .@itemreq = 7297; // Biotite
}
else if (countitem(7296) > 29) {
- set .@itemreq,7296; // Pyroxene
+ .@itemreq = 7296; // Pyroxene
}
}
mes "[Hibilaithan]";
@@ -808,13 +808,13 @@ umbala,163,257,3 script Hibilaithan#lv4 4_M_UMDANCEKID2,{
delitem 999,50; //Steel
delitem 714,10; //Emperium
if (countitem(7292) > 29) {
- set lv4_weapon,9;
+ lv4_weapon = 9;
}
else if (countitem(7297) > 29) {
- set lv4_weapon,10;
+ lv4_weapon = 10;
}
else if (countitem(7296) > 29) {
- set lv4_weapon,11;
+ lv4_weapon = 11;
}
close;
}
@@ -903,7 +903,7 @@ umbala,163,257,3 script Hibilaithan#lv4 4_M_UMDANCEKID2,{
next;
mes "[Hibilaithan]";
mes "Okay, I wish you good luck! In the meantime, I shall relax here and wait for your return.";
- set lv4_weapon,8;
+ lv4_weapon = 8;
close;
case 2:
mes "[Hibilaithan]";
@@ -981,7 +981,7 @@ um_in,156,77,5 script Tabezthan#lv4 4_M_UMOLDMAN,{
next;
mes "[Tabezthan]";
mes "In other words, we will have to trust to luck. However, we'll have time to talk about that later. For now, please go and gather the necessary materials. I shall be waiting here.";
- set lv4_weapon,15;
+ lv4_weapon = 15;
close;
case 2:
mes "[Tabezthan]";
@@ -1024,19 +1024,19 @@ um_in,156,77,5 script Tabezthan#lv4 4_M_UMOLDMAN,{
if (lv4_weapon == 19) {
mes "I don't believe it!";
mes "This is such an incredibly rare weapon! Yes, I remember its name from what my late father told me. This is... Caesar's Sword!";
- set lv4_weapon,0;
+ lv4_weapon = 0;
getitem 1134,1; //Scissores_Sword
}
else if (lv4_weapon == 20) {
mes "I don't believe it!";
mes "This is such an incredibly rare weapon! Yes, I remember its name from what my late father told me. This is... Tirfing!";
- set lv4_weapon,0;
+ lv4_weapon = 0;
getitem 1139,1; //Tale_Fing_
}
else if (lv4_weapon == 21) {
mes "I don't believe it!";
mes "This is such an incredibly rare weapon! Yes, I remember its name from what my late father told me. This is... Sabbath!";
- set lv4_weapon,0;
+ lv4_weapon = 0;
getitem 1365,1; //Sabbath
}
next;
@@ -1048,13 +1048,13 @@ um_in,156,77,5 script Tabezthan#lv4 4_M_UMOLDMAN,{
}
if (((lv4_weapon == 16) && (countitem(7290))) || ((lv4_weapon == 17) && (countitem(7289))) || ((lv4_weapon == 18) && (countitem(7293)))) {
if (lv4_weapon == 16) {
- set .@itemreq,7290; //Phlogopite
+ .@itemreq = 7290; //Phlogopite
}
else if (lv4_weapon == 17) {
- set .@itemreq,7289; //Olivine
+ .@itemreq = 7289; //Olivine
}
else if (lv4_weapon == 18) {
- set .@itemreq,7293; //Rose_Quartz
+ .@itemreq = 7293; //Rose_Quartz
}
mes "[Tabezthan]";
mes "Shall we begin?";
@@ -1063,7 +1063,7 @@ um_in,156,77,5 script Tabezthan#lv4 4_M_UMOLDMAN,{
mes "[Tabezthan]";
mes "This mind reading game is an effective method of determining whether your fortune is good or bad. Get ready now...";
next;
- for( set .@i, 1; .@i <= 5; set .@i,.@i+1 ) {
+ for( .@i = 1; .@i <= 5; ++.@i ) {
setarray .@mons[.@i],rand(1,4);
mes "[Tabezthan]";
if (.@i == 1) {
@@ -1095,16 +1095,16 @@ um_in,156,77,5 script Tabezthan#lv4 4_M_UMOLDMAN,{
mes "monster I'm thinking of.";
}
next;
- set .@answer,select("Baphomet:Dark Lord:Bloody Knight:Stormy Knight");
+ .@answer = select("Baphomet:Dark Lord:Bloody Knight:Stormy Knight");
if (.@answer == .@mons[.@i]) {
- set .@dap,.@dap + 1;
+ ++.@dap;
}
}
mes "[Tabezthan]";
mes "That's the end of the game. Now, this is the order of the monsters that I had in mind...";
next;
mes "[Tabezthan]";
- for( set .@i, 1; .@i <= 5; set .@i,.@i+1 ) {
+ for( .@i = 1; .@i <= 5; ++.@i ) {
if (.@mons[.@i] == 1) {
mes "Baphomet";
}
@@ -1120,7 +1120,7 @@ um_in,156,77,5 script Tabezthan#lv4 4_M_UMOLDMAN,{
}
if (.@dap > 0) {
delitem .@itemreq,30;
- set lv4_weapon,lv4_weapon+3;
+ lv4_weapon += 3;
}
else if (.@dap < 1) {
delitem .@itemreq,10;
@@ -1163,13 +1163,13 @@ um_in,156,77,5 script Tabezthan#lv4 4_M_UMOLDMAN,{
next;
switch(select("Phlogopite:Peridot:Rose Quartz")) {
case 1:
- set .@itemreq,7290; //Phlogopite
+ .@itemreq = 7290; //Phlogopite
break;
case 2:
- set .@itemreq,7289; //Olivine
+ .@itemreq = 7289; //Olivine
break;
case 3:
- set .@itemreq,7293; //Rose_Quartz
+ .@itemreq = 7293; //Rose_Quartz
break;
}
}
@@ -1182,10 +1182,10 @@ um_in,156,77,5 script Tabezthan#lv4 4_M_UMOLDMAN,{
next;
switch(select("Phlogopite:Peridot")) {
case 1:
- set .@itemreq,7290; //Phlogopite
+ .@itemreq = 7290; //Phlogopite
break;
case 2:
- set .@itemreq,7289; //Olivine
+ .@itemreq = 7289; //Olivine
break;
}
}
@@ -1198,10 +1198,10 @@ um_in,156,77,5 script Tabezthan#lv4 4_M_UMOLDMAN,{
next;
switch(select("Phlogopite:Rose Quartz")) {
case 1:
- set .@itemreq,7290; //Phlogopite
+ .@itemreq = 7290; //Phlogopite
break;
case 2:
- set .@itemreq,7293; //Rose_Quartz
+ .@itemreq = 7293; //Rose_Quartz
break;
}
}
@@ -1214,22 +1214,22 @@ um_in,156,77,5 script Tabezthan#lv4 4_M_UMOLDMAN,{
next;
switch(select("Peridot:Rose Quartz")) {
case 1:
- set .@itemreq,7289; //Olivine
+ .@itemreq = 7289; //Olivine
break;
case 2:
- set .@itemreq,7293; //Rose_Quartz
+ .@itemreq = 7293; //Rose_Quartz
break;
}
}
else {
if (countitem(7290) > 29) {
- set .@itemreq,7290; //Phlogopite
+ .@itemreq = 7290; //Phlogopite
}
else if (countitem(7289) > 29) {
- set .@itemreq,7289; //Olivine
+ .@itemreq = 7289; //Olivine
}
else if (countitem(7293) > 29) {
- set .@itemreq,7293; //Rose_Quartz
+ .@itemreq = 7293; //Rose_Quartz
}
}
mes "[Tabezthan]";
@@ -1254,13 +1254,13 @@ um_in,156,77,5 script Tabezthan#lv4 4_M_UMOLDMAN,{
delitem 969,10; //Gold
delitem 714,10; //Emperium
if (countitem(7290) > 29) {
- set lv4_weapon,16;
+ lv4_weapon = 16;
}
else if (countitem(7289) > 29) {
- set lv4_weapon,17;
+ lv4_weapon = 17;
}
else if (countitem(7293) > 29) {
- set lv4_weapon,18;
+ lv4_weapon = 18;
}
close;
}
@@ -1332,7 +1332,7 @@ um_in,156,77,5 script Tabezthan#lv4 4_M_UMOLDMAN,{
next;
mes "[Tabezthan]";
mes "In other words, we will have to trust to luck. However, we'll have time to talk about that later. For now, please go and gather the necessary materials. I shall be waiting here.";
- set lv4_weapon,15;
+ lv4_weapon = 15;
close;
case 2:
mes "[Tabezthan]";
@@ -1389,7 +1389,7 @@ aldebaran,178,239,3 script Bill Thayer#lv4 4_M_05,{
mes "^333333*Sniff*^000000";
mes "All of my sons passed away";
mes "before they could finish their research. I should have been the one to have died. They were still so young...";
- set lv4_weapon,54;
+ lv4_weapon = 54;
close;
}
else {
@@ -1401,7 +1401,7 @@ aldebaran,178,239,3 script Bill Thayer#lv4 4_M_05,{
mes "^333333*Sniff*^000000";
mes "All of my sons passed away";
mes "before they could finish their research. I should have been the one to have died. They were still so young...";
- set lv4_weapon,55;
+ lv4_weapon = 55;
close;
}
}
@@ -1422,7 +1422,7 @@ aldebaran,178,239,3 script Bill Thayer#lv4 4_M_05,{
next;
mes "[Bill Thayer]";
mes "I hope you remember that. It's something I used to tell my sons when they were alive. Ha ha ha~";
- set lv4_weapon,50;
+ lv4_weapon = 50;
close;
}
if (lv4_weapon == 45) {
@@ -1435,7 +1435,7 @@ aldebaran,178,239,3 script Bill Thayer#lv4 4_M_05,{
mes "^333333*Sniff*^000000";
mes "All of my sons passed away";
mes "before they could finish their research. I should have been the one to have died. They were still so young...";
- set lv4_weapon,45;
+ lv4_weapon = 45;
close;
}
if (lv4_weapon == 46) {
@@ -1448,7 +1448,7 @@ aldebaran,178,239,3 script Bill Thayer#lv4 4_M_05,{
mes "^333333*Sniff*^000000";
mes "All of my sons passed away";
mes "before they could finish their research. I should have been the one to have died. They were still so young...";
- set lv4_weapon,46;
+ lv4_weapon = 46;
close;
}
if (lv4_weapon == 44) {
@@ -1472,7 +1472,7 @@ aldebaran,178,239,3 script Bill Thayer#lv4 4_M_05,{
mes "^333333*Sniff*^000000";
mes "All of my sons passed away";
mes "before they could finish their research. I should have been the one to have died. They were still so young...";
- set lv4_weapon,45;
+ lv4_weapon = 45;
close;
}
else {
@@ -1485,7 +1485,7 @@ aldebaran,178,239,3 script Bill Thayer#lv4 4_M_05,{
mes "^333333*Sniff*^000000";
mes "All of my sons passed away";
mes "before they could finish their research. I should have been the one to have died. They were still so young...";
- set lv4_weapon,46;
+ lv4_weapon = 46;
close;
}
}
@@ -1500,7 +1500,7 @@ aldebaran,178,239,3 script Bill Thayer#lv4 4_M_05,{
next;
mes "[Bill Thayer]";
mes "I always told my sons: 'Never accept payment to forge a good weapon. ^333333It brings bad luck.^000000' Don't ask me how that works. It just is.";
- set lv4_weapon,41;
+ lv4_weapon = 41;
next;
mes "[Bill Thayer]";
mes "Even if you offer me something more precious than money, I won't do any weapon smithing for you. Although I might have back when my sons were still alive...";
@@ -1551,7 +1551,7 @@ aldebaran,178,239,3 script Bill Thayer#lv4 4_M_05,{
mes "^333333*Sniff*^000000";
mes "All of my sons passed away";
mes "before they could finish their research. I should have been the one to have died. They were still so young...";
- set lv4_weapon,36;
+ lv4_weapon = 36;
close;
}
else {
@@ -1564,14 +1564,14 @@ aldebaran,178,239,3 script Bill Thayer#lv4 4_M_05,{
mes "^333333*Sniff*^000000";
mes "All of my sons passed away";
mes "before they could finish their research. I should have been the one to have died. They were still so young...";
- set lv4_weapon,37;
+ lv4_weapon = 37;
close;
}
}
if ((lv4_weapon == 31) || (lv4_weapon == 32)) {
mes "[Bill Thayer]";
mes "All of my sons broke my heart by dying too young. I remember that I always used to tell them: 'Enjoy your youth. ^333333Live without regret.^000000'";
- set lv4_weapon,32;
+ lv4_weapon = 32;
next;
mes "[Bill Thayer]";
mes "But I never suspected that their lives would be cut so short. Please remember to live life in such a way that regret won't haunt you later. That's the best advice I can give to you.";
@@ -1622,7 +1622,7 @@ aldebaran,178,239,3 script Bill Thayer#lv4 4_M_05,{
mes "^333333*Sniff*^000000";
mes "All of my sons passed away";
mes "before they could finish their research. I should have been the one to have died. They were still so young...";
- set lv4_weapon,27;
+ lv4_weapon = 27;
close;
}
else {
@@ -1635,7 +1635,7 @@ aldebaran,178,239,3 script Bill Thayer#lv4 4_M_05,{
mes "^333333*Sniff*^000000";
mes "All of my sons passed away";
mes "before they could finish their research. I should have been the one to have died. They were still so young...";
- set lv4_weapon,28;
+ lv4_weapon = 28;
close;
}
}
@@ -1644,7 +1644,7 @@ aldebaran,178,239,3 script Bill Thayer#lv4 4_M_05,{
mes "Listen, I told you...";
mes "There's nothing I can do.";
mes "^333333I'm utterly helpless here.^000000";
- set lv4_weapon,23;
+ lv4_weapon = 23;
next;
mes "[Bill Thayer]";
mes "There's no point in asking me to do anything. Ever since my sons passed away, I haven't been able to function. Please leave me alone.";
@@ -1717,7 +1717,7 @@ niflheim,240,193,3 script Kayron#lv4 4_M_NFDEADMAN2,{
mes "[Kayron]";
mes "Huh...?";
mes "I can't remember what I was going to say. M-my memories! I... I can't seem to recollect...";
- set lv4_weapon,22;
+ lv4_weapon = 22;
close;
case 2:
mes "[Kayron]";
@@ -1762,7 +1762,7 @@ niflheim,240,193,3 script Kayron#lv4 4_M_NFDEADMAN2,{
mes "this... Longinus's Spear!";
getitem 1469,1; //Longinus's_Spear
}
- set lv4_weapon,0;
+ lv4_weapon = 0;
next;
mes "[Kayron]";
mes "I'm so glad that my years of research haven't been wasted.";
@@ -1789,7 +1789,7 @@ niflheim,240,193,3 script Kayron#lv4 4_M_NFDEADMAN2,{
mes "this... Brionac!";
getitem 1470,1; //Brionac
}
- set lv4_weapon,0;
+ lv4_weapon = 0;
next;
mes "[Kayron]";
mes "I'm so glad that my years of research haven't been wasted.";
@@ -1828,20 +1828,20 @@ niflheim,240,193,3 script Kayron#lv4 4_M_NFDEADMAN2,{
mes "Here's a piece of paper.";
mes "You'll write 'Rock,' 'Paper,' or 'Scissors,' and I'll do the same. Then we'll compare our results and see what happens. Alright, let's do the first match!";
next;
- set .@npchand1,rand(1,3);
- set .@myhand1,select("Scissors:Rock:Paper");
+ .@npchand1 = rand(1,3);
+ .@myhand1 = select("Scissors:Rock:Paper");
if (((.@myhand1 == 1) && (.@npchand1 == 3)) || ((.@myhand1 == 2) && (.@npchand1 == 1)) || ((.@myhand1 == 3) && (.@npchand1 == 2))) {
- set .@shobu,.@shobu+1;
+ ++.@shobu;
}
mes "[Kayron]";
mes "Now...";
mes "Let's play";
mes "the second match~";
next;
- set .@npchand2,rand(1,3);
- set .@myhand2,select("Scissors:Rock:Paper");
+ .@npchand2 = rand(1,3);
+ .@myhand2 = select("Scissors:Rock:Paper");
if (((.@myhand2 == 1) && (.@npchand2 == 3)) || ((.@myhand2 == 2) && (.@npchand2 == 1)) || ((.@myhand2 == 3) && (.@npchand2 == 2))) {
- set .@shobu,.@shobu+1;
+ ++.@shobu;
}
mes "[Kayron]";
mes "Alright...";
@@ -1849,12 +1849,12 @@ niflheim,240,193,3 script Kayron#lv4 4_M_NFDEADMAN2,{
mes "Write down 'Rock,'";
mes "'Paper' or 'Scissors.'";
next;
- set .@npchand3,rand(1,3);
- set .@myhand3,select("Scissors:Rock:Paper");
+ .@npchand3 = rand(1,3);
+ .@myhand3 = select("Scissors:Rock:Paper");
if (((.@myhand3 == 1) && (.@npchand3 == 3)) || ((.@myhand3 == 2) && (.@npchand3 == 1)) || ((.@myhand3 == 3) && (.@npchand3 == 2))) {
- set .@shobu,.@shobu+1;
+ ++.@shobu;
}
- set .@aekddam,rand(1,3);
+ .@aekddam = rand(1,3);
if (.@shobu > 1) {
if (lv4_weapon == 27) {
delitem 7289,30; //Olivine
@@ -1866,7 +1866,7 @@ niflheim,240,193,3 script Kayron#lv4 4_M_NFDEADMAN2,{
delitem 7296,30; //Pyroxene
delitem 7293,30; //Rose_Quartz
}
- set lv4_weapon,lv4_weapon+2;
+ lv4_weapon += 2;
}
else if (.@shobu < 2) {
if (.@aekddam == 1) {
@@ -2002,7 +2002,7 @@ niflheim,240,193,3 script Kayron#lv4 4_M_NFDEADMAN2,{
delitem 989,1; //Emperium_Anvil
delitem 710,1; //Illusion_Flower
delitem 969,20; //Gold
- set lv4_weapon,26;
+ lv4_weapon = 26;
close;
}
if (lv4_weapon == 25) {
@@ -2047,7 +2047,7 @@ niflheim,240,193,3 script Kayron#lv4 4_M_NFDEADMAN2,{
next;
mes "[Kayron]";
mes "Anyway, I'll be waiting for you here while you go out and collect those things. Be careful, alright?";
- set lv4_weapon,25;
+ lv4_weapon = 25;
close;
}
if (lv4_weapon == 23) {
@@ -2091,7 +2091,7 @@ niflheim,240,193,3 script Kayron#lv4 4_M_NFDEADMAN2,{
next;
mes "[Kayron]";
mes "Alright, just give me a little time so that I can try to remember the things that I'll need, alright?";
- set lv4_weapon,24;
+ lv4_weapon = 24;
close;
}
else {
@@ -2126,7 +2126,7 @@ niflheim,240,193,3 script Kayron#lv4 4_M_NFDEADMAN2,{
mes "[Kayron]";
mes "Huh...?";
mes "I can't remember what I was going to say. M-my memories! I... I can't seem to recollect...";
- set lv4_weapon,22;
+ lv4_weapon = 22;
close;
case 2:
mes "[Kayron]";
@@ -2177,7 +2177,7 @@ niflheim,99,268,5 script Reyghema#lv4 4_M_NFDEADMAN2,{
mes "I can't remember!";
mes "Everything in my";
mes "head is so cloudy!";
- set lv4_weapon,31;
+ lv4_weapon = 31;
close;
case 2:
mes "[Reyghema]";
@@ -2216,7 +2216,7 @@ niflheim,99,268,5 script Reyghema#lv4 4_M_NFDEADMAN2,{
mes "This is... Tjungkuletti!";
getitem 1416,1; //Tjungkuletti
}
- set lv4_weapon,0;
+ lv4_weapon = 0;
next;
mes "[Reyghema]";
mes "^333333*Sigh*^000000 I can feel it happening again. My memories are starting to slip away. Can't I be allowed to hold on to this memory?";
@@ -2242,7 +2242,7 @@ niflheim,99,268,5 script Reyghema#lv4 4_M_NFDEADMAN2,{
mes "This is... Brocca! Weee~ I made it!";
getitem 1415,1; //Skewer
}
- set lv4_weapon,0;
+ lv4_weapon = 0;
next;
mes "[Reyghema]";
mes "^333333*Sigh*^000000 I can feel it happening again. My memories are starting to slip away. Can't I be allowed to hold on to this memory?";
@@ -2278,31 +2278,31 @@ niflheim,99,268,5 script Reyghema#lv4 4_M_NFDEADMAN2,{
mes "[Reyghema]";
mes "Alright, here's a piece of paper. When I say so, you write down 'Rock,' 'Paper' or 'Scissors.' Alright? Let's start.";
next;
- set .@npchand1,rand(1,3);
- set .@myhand1,select("Scissors:Rock:Paper");
+ .@npchand1 = rand(1,3);
+ .@myhand1 = select("Scissors:Rock:Paper");
if (((.@myhand1 == 1) && (.@npchand1 == 3)) || ((.@myhand1 == 2) && (.@npchand1 == 1)) || ((.@myhand1 == 3) && (.@npchand1 == 2))) {
- set .@shobu,.@shobu+1;
+ ++.@shobu;
}
mes "[Reyghema]";
mes "Okay, now let's";
mes "try this again.";
next;
- set .@npchand2,rand(1,3);
- set .@myhand2,select("Scissors:Rock:Paper");
+ .@npchand2 = rand(1,3);
+ .@myhand2 = select("Scissors:Rock:Paper");
if (((.@myhand2 == 1) && (.@npchand2 == 3)) || ((.@myhand2 == 2) && (.@npchand2 == 1)) || ((.@myhand2 == 3) && (.@npchand2 == 2))) {
- set .@shobu,.@shobu+1;
+ ++.@shobu;
}
mes "[Reyghema]";
mes "Last time.";
mes "Write down 'Rock,'";
mes "'Paper' or 'Scissors.'";
next;
- set .@npchand3,rand(1,3);
- set .@myhand3,select("Scissors:Rock:Paper");
+ .@npchand3 = rand(1,3);
+ .@myhand3 = select("Scissors:Rock:Paper");
if (((.@myhand3 == 1) && (.@npchand3 == 3)) || ((.@myhand3 == 2) && (.@npchand3 == 1)) || ((.@myhand3 == 3) && (.@npchand3 == 2))) {
- set .@shobu,.@shobu+1;
+ ++.@shobu;
}
- set .@aekddam,rand(1,3);
+ .@aekddam = rand(1,3);
if (.@shobu > 1) {
if (lv4_weapon == 36) {
delitem 7292,30; //Muscovite
@@ -2314,7 +2314,7 @@ niflheim,99,268,5 script Reyghema#lv4 4_M_NFDEADMAN2,{
delitem 7291,30; //Agate
delitem 7295,30; //Citrine
}
- set lv4_weapon,lv4_weapon+2;
+ lv4_weapon += 2;
}
else if (.@shobu < 2) {
if (.@aekddam == 1) {
@@ -2458,7 +2458,7 @@ niflheim,99,268,5 script Reyghema#lv4 4_M_NFDEADMAN2,{
delitem 989,1; //Emperium_Anvil
delitem 710,1; //Illusion_Flower
delitem 969,20; //Gold
- set lv4_weapon,35;
+ lv4_weapon = 35;
close;
}
if (lv4_weapon == 34) {
@@ -2494,7 +2494,7 @@ niflheim,99,268,5 script Reyghema#lv4 4_M_NFDEADMAN2,{
next;
mes "[Reyghema]";
mes "For now, just go and bring back the things I asked for. The sooner, the better. Hurry, I don't know how long my memories will last...";
- set lv4_weapon,34;
+ lv4_weapon = 34;
close;
}
if (lv4_weapon == 32) {
@@ -2541,7 +2541,7 @@ niflheim,99,268,5 script Reyghema#lv4 4_M_NFDEADMAN2,{
mes "[Reyghema]";
mes "Come back a little later.";
mes "By then, I should remember what kinds of things I'll need.";
- set lv4_weapon,33;
+ lv4_weapon = 33;
close;
}
else {
@@ -2606,7 +2606,7 @@ niflheim,99,268,5 script Reyghema#lv4 4_M_NFDEADMAN2,{
mes "I can't remember!";
mes "Everything in my";
mes "head is so cloudy!";
- set lv4_weapon,31;
+ lv4_weapon = 31;
close;
case 2:
mes "[Reyghema]";
@@ -2643,7 +2643,7 @@ niflheim,187,280,3 script Hein#lv4 4_M_NFDEADMAN,{
mes "something I used to";
mes "say all the time? I...";
mes "I hate being dead!";
- set lv4_weapon,40;
+ lv4_weapon = 40;
close;
case 2:
mes "[Hein]";
@@ -2686,7 +2686,7 @@ niflheim,187,280,3 script Hein#lv4 4_M_NFDEADMAN,{
mes "is Dragon Slayer!";
getitem 1166,1; //Dragon_Slayer
}
- set lv4_weapon,0;
+ lv4_weapon = 0;
next;
}
else {
@@ -2704,7 +2704,7 @@ niflheim,187,280,3 script Hein#lv4 4_M_NFDEADMAN,{
mes "is Schweizersabel!";
getitem 1167,1; //Schweizersabel
}
- set lv4_weapon,0;
+ lv4_weapon = 0;
next;
}
mes "[Hein]";
@@ -2739,19 +2739,19 @@ niflheim,187,280,3 script Hein#lv4 4_M_NFDEADMAN,{
mes "Here's a piece of paper.";
mes "When I tell you to, write down 'Rock,' 'Paper' or 'Scissors.' I'll do the same thing, and we'll compare our results at the end, okay? Let's begin!";
next;
- set .@npchand1,rand(1,3);
- set .@myhand1,select("Scissors:Rock:Paper");
+ .@npchand1 = rand(1,3);
+ .@myhand1 = select("Scissors:Rock:Paper");
if (((.@myhand1 == 1) && (.@npchand1 == 3)) || ((.@myhand1 == 2) && (.@npchand1 == 1)) || ((.@myhand1 == 3) && (.@npchand1 == 2))) {
- set .@shobu,.@shobu+1;
+ ++.@shobu;
}
mes "[Hein]";
mes "Okay, let's play";
mes "the second round!";
next;
- set .@npchand2,rand(1,3);
- set .@myhand2,select("Scissors:Rock:Paper");
+ .@npchand2 = rand(1,3);
+ .@myhand2 = select("Scissors:Rock:Paper");
if (((.@myhand2 == 1) && (.@npchand2 == 3)) || ((.@myhand2 == 2) && (.@npchand2 == 1)) || ((.@myhand2 == 3) && (.@npchand2 == 2))) {
- set .@shobu,.@shobu+1;
+ ++.@shobu;
}
mes "[Hein]";
mes "Okay...";
@@ -2759,11 +2759,11 @@ niflheim,187,280,3 script Hein#lv4 4_M_NFDEADMAN,{
mes "After this, we";
mes "compare our results.";
next;
- set .@npchand3,rand(1,3);
- set .@myhand3,select("Scissors:Rock:Paper");
- set .@aekddam,rand(1,3);
+ .@npchand3 = rand(1,3);
+ .@myhand3 = select("Scissors:Rock:Paper");
+ .@aekddam = rand(1,3);
if (((.@myhand3 == 1) && (.@npchand3 == 3)) || ((.@myhand3 == 2) && (.@npchand3 == 1)) || ((.@myhand3 == 3) && (.@npchand3 == 2))) {
- set .@shobu,.@shobu+1;
+ ++.@shobu;
}
if (.@shobu > 1) {
if (lv4_weapon == 45) {
@@ -2776,7 +2776,7 @@ niflheim,187,280,3 script Hein#lv4 4_M_NFDEADMAN,{
delitem 7296,30; //Pyroxene
delitem 7290,30; //Phlogopite
}
- set lv4_weapon,lv4_weapon+2;
+ lv4_weapon += 2;
}
else if (.@shobu < 2) {
if (.@aekddam == 1) {
@@ -2915,7 +2915,7 @@ niflheim,187,280,3 script Hein#lv4 4_M_NFDEADMAN,{
delitem 989,1; //Emperium_Anvil
delitem 710,1; //Illusion_Flower
delitem 969,20; //Gold
- set lv4_weapon,44;
+ lv4_weapon = 44;
close;
}
if (lv4_weapon == 43) {
@@ -2957,7 +2957,7 @@ niflheim,187,280,3 script Hein#lv4 4_M_NFDEADMAN,{
next;
mes "[Hein]";
mes "While you do that, I'll try my best to remember what else I need to make this weapon.";
- set lv4_weapon,43;
+ lv4_weapon = 43;
close;
}
if (lv4_weapon == 41) {
@@ -2981,7 +2981,7 @@ niflheim,187,280,3 script Hein#lv4 4_M_NFDEADMAN,{
mes "Or remembered.";
mes "Perhaps I'm brain";
mes "dead too, huh?";
- set lv4_weapon,42;
+ lv4_weapon = 42;
next;
mes "[Hein]";
mes "Well, I must be a lucky dead man for remembering some of my past, right? Hahahaha!";
@@ -3049,7 +3049,7 @@ niflheim,187,280,3 script Hein#lv4 4_M_NFDEADMAN,{
mes "something I used to";
mes "say all the time? I...";
mes "I hate being dead!";
- set lv4_weapon,40;
+ lv4_weapon = 40;
close;
case 2:
mes "[Hein]";
@@ -3096,7 +3096,7 @@ niflheim,331,72,3 script Waltboughst#lv4 4_M_NFDEADMAN,{
mes "I can't think!";
mes "What was supposed";
mes "to come after that part?";
- set lv4_weapon,49;
+ lv4_weapon = 49;
close;
case 2:
mes "[Waltboughst]";
@@ -3128,7 +3128,7 @@ niflheim,331,72,3 script Waltboughst#lv4 4_M_NFDEADMAN,{
mes "With my skill and your luck, there was zero probability for failure. Behold... Exorcise!";
getitem 1233,1; //Exercise
}
- set lv4_weapon,0;
+ lv4_weapon = 0;
next;
mes "[Waltboughst]";
mes "I'm a genius!";
@@ -3158,7 +3158,7 @@ niflheim,331,72,3 script Waltboughst#lv4 4_M_NFDEADMAN,{
mes "With my skill and your luck, there was zero probability for failure. Behold...Grand Cross!!";
getitem 1528,1; //Grand_Cross
}
- set lv4_weapon,0;
+ lv4_weapon = 0;
next;
mes "[Waltboughst]";
mes "I'm a genius!";
@@ -3204,20 +3204,20 @@ niflheim,331,72,3 script Waltboughst#lv4 4_M_NFDEADMAN,{
mes "Take this piece of paper.";
mes "Now, when I tell you to, write down 'Rock,' 'Paper' or 'Scissors.' Let's begin...!";
next;
- set .@npchand1,rand(1,3);
- set .@myhand1,select("Scissors:Rock:Paper");
+ .@npchand1 = rand(1,3);
+ .@myhand1 = select("Scissors:Rock:Paper");
if (((.@myhand1 == 1) && (.@npchand1 == 3)) || ((.@myhand1 == 2) && (.@npchand1 == 1)) || ((.@myhand1 == 3) && (.@npchand1 == 2))) {
- set .@shobu,.@shobu+1;
+ ++.@shobu;
}
mes "[Waltboughst]";
mes "Alright...";
mes "Now, let's play";
mes "a second time.";
next;
- set .@npchand2,rand(1,3);
- set .@myhand2,select("Scissors:Rock:Paper");
+ .@npchand2 = rand(1,3);
+ .@myhand2 = select("Scissors:Rock:Paper");
if (((.@myhand2 == 1) && (.@npchand2 == 3)) || ((.@myhand2 == 2) && (.@npchand2 == 1)) || ((.@myhand2 == 3) && (.@npchand2 == 2))) {
- set .@shobu,.@shobu+1;
+ ++.@shobu;
}
mes "[Waltboughst]";
mes "One last time.";
@@ -3225,12 +3225,12 @@ niflheim,331,72,3 script Waltboughst#lv4 4_M_NFDEADMAN,{
mes "compare results";
mes "and check your luck.";
next;
- set .@npchand3,rand(1,3);
- set .@myhand3,select("Scissors:Rock:Paper");
+ .@npchand3 = rand(1,3);
+ .@myhand3 = select("Scissors:Rock:Paper");
if (((.@myhand3 == 1) && (.@npchand3 == 3)) || ((.@myhand3 == 2) && (.@npchand3 == 1)) || ((.@myhand3 == 3) && (.@npchand3 == 2))) {
- set .@shobu,.@shobu+1;
+ ++.@shobu;
}
- set .@aekddam,rand(1,3);
+ .@aekddam = rand(1,3);
if (.@shobu > 1) {
if (lv4_weapon == 54) {
delitem 7292,30; //Muscovite
@@ -3242,7 +3242,7 @@ niflheim,331,72,3 script Waltboughst#lv4 4_M_NFDEADMAN,{
delitem 7294,30; //Turquoise
delitem 7290,30; //Phlogopite
}
- set lv4_weapon,lv4_weapon+2;
+ lv4_weapon += 2;
}
else if (.@shobu < 2) {
if (.@aekddam == 1) {
@@ -3379,7 +3379,7 @@ niflheim,331,72,3 script Waltboughst#lv4 4_M_NFDEADMAN,{
delitem 989,1; //Emperium_Anvil
delitem 710,1; //Illusion_Flower
delitem 969,20; //Gold
- set lv4_weapon,53;
+ lv4_weapon = 53;
close;
}
if (lv4_weapon == 52) {
@@ -3406,7 +3406,7 @@ niflheim,331,72,3 script Waltboughst#lv4 4_M_NFDEADMAN,{
next;
mes "[Waltboughst]";
mes "There were a few other necessary materials, but I need some time to focus and remember what they were.";
- set lv4_weapon,52;
+ lv4_weapon = 52;
close;
}
if (lv4_weapon == 50) {
@@ -3424,7 +3424,7 @@ niflheim,331,72,3 script Waltboughst#lv4 4_M_NFDEADMAN,{
mes "But that's no excuse!";
mes "Every successful man in";
mes "history has tried his best!";
- set lv4_weapon,51;
+ lv4_weapon = 51;
next;
mes "[Waltboughst]";
mes "I remember now...";
@@ -3493,7 +3493,7 @@ niflheim,331,72,3 script Waltboughst#lv4 4_M_NFDEADMAN,{
mes "I can't think!";
mes "What was supposed";
mes "to come after that part?";
- set lv4_weapon,49;
+ lv4_weapon = 49;
close;
case 2:
mes "[Waltboughst]";
diff --git a/npc/quests/ninja_quests.txt b/npc/quests/ninja_quests.txt
index 6e7531e0e..b9d9acd59 100644
--- a/npc/quests/ninja_quests.txt
+++ b/npc/quests/ninja_quests.txt
@@ -92,7 +92,7 @@ que_ng,28,50,3 script Boshuu 4_M_SEAMAN,{
mes "Oh, Very well.";
mes "Get a move on.";
mes "Find the shield called ^ff0000Guard[1]^000000 and bring it to me.";
- set ninbo,1;
+ ninbo = 1;
close;
}
}
@@ -119,7 +119,7 @@ que_ng,28,50,3 script Boshuu 4_M_SEAMAN,{
mes "Hmm, Ok.";
mes "I'm so grateful that I was able to see such a rare thing from overseas.";
mes "Thanks for everything.";
- set ninbo,0;
+ ninbo = 0;
close;
}else{
mes "[Boshuu]";
@@ -132,7 +132,7 @@ que_ng,28,50,3 script Boshuu 4_M_SEAMAN,{
mes "[Boshuu]";
mes "Then I'll slot your slotless Arm Guard.";
mes "Come back when you have all the required materials.";
- set ninbo,2;
+ ninbo = 2;
close;
}
}
@@ -182,14 +182,14 @@ que_ng,28,50,3 script Boshuu 4_M_SEAMAN,{
delitem 2102,1;
delitem 2117,1;
Zeny -= 10000;
- set ninbo,0;
- set MISC_QUEST,MISC_QUEST | 2048;
+ ninbo = 0;
+ MISC_QUEST |= 2048;
getitem 2118,1;
close;
}
}
else if (MISC_QUEST & 2048){
- set ninbo,0;
+ ninbo = 0;
mes "[Boshuu]";
mes "Oh~ I see you've come back.";
mes "Is it because you need another slotted Arm Guard?";
@@ -256,7 +256,7 @@ que_ng,28,50,3 script Boshuu 4_M_SEAMAN,{
}
}
else{
- set ninbo,0;
+ ninbo = 0;
mes "[Boshuu]";
mes "Oh~ You~!";
mes "Is what you have there the shield from overseas called a Guard? Let me take a look.";
@@ -352,7 +352,7 @@ que_ng,28,50,3 script Boshuu 4_M_SEAMAN,{
delitem 2102,1;
delitem 2117,1;
Zeny -= 10000;
- set MISC_QUEST,MISC_QUEST | 2048;
+ MISC_QUEST |= 2048;
getitem 2118,1;
close;
}
@@ -415,7 +415,7 @@ que_ng,28,45,3 script Basshu 4_M_04,{
mes "[Basshu]";
mes "Oh, thank you.";
mes "If you could really find me a Mirror Shield, I might get some really good ideas.";
- set ninbot,1;
+ ninbot = 1;
close;
}
}
@@ -447,7 +447,7 @@ que_ng,28,45,3 script Basshu 4_M_04,{
next;
mes "[Basshu]";
mes "Thanks for everything.";
- set ninbot,0;
+ ninbot = 0;
close;
}else{
mes "[Basshu]";
@@ -462,7 +462,7 @@ que_ng,28,45,3 script Basshu 4_M_04,{
next;
mes "[Basshu]";
mes "Come and see me when you have everything ready.";
- set ninbot,2;
+ ninbot = 2;
close;
}
}
@@ -522,14 +522,14 @@ que_ng,28,45,3 script Basshu 4_M_04,{
delitem 2107,1;
delitem 2117,1;
Zeny -= 20000;
- set ninbot,0;
- set MISC_QUEST,MISC_QUEST | 4096;
+ ninbot = 0;
+ MISC_QUEST |= 4096;
getitem 2119,1;
close;
}
}
else if (MISC_QUEST & 4096){
- set ninbot,0;
+ ninbot = 0;
mes "[Basshu]";
mes "Oh~ I see you've come back.";
mes "Are you here because you need an Improved Arm Guard?";
@@ -601,7 +601,7 @@ que_ng,28,45,3 script Basshu 4_M_04,{
}
}
else{
- set ninbot,0;
+ ninbot = 0;
mes "[Basshu]";
mes "Why~ That's~!";
mes "Is what you have there that shield which is called a 'Mirror Shield' overseas?";
@@ -703,7 +703,7 @@ que_ng,28,45,3 script Basshu 4_M_04,{
delitem 2107,1;
delitem 2117,1;
Zeny -= 20000;
- set MISC_QUEST,MISC_QUEST | 4096;
+ MISC_QUEST |= 4096;
getitem 2119,1;
close;
}
@@ -712,7 +712,6 @@ que_ng,28,45,3 script Basshu 4_M_04,{
}
que_ng,27,18,3 script Toshu 4_M_SEAMAN,{
-
if(BaseClass != Job_Ninja){
mes "[Toshu]";
mes "How are you~";
diff --git a/npc/quests/obb_quest.txt b/npc/quests/obb_quest.txt
index 09a37eca7..cbbdfc31d 100644
--- a/npc/quests/obb_quest.txt
+++ b/npc/quests/obb_quest.txt
@@ -32,7 +32,7 @@ alberta,43,244,0 script Tourist#thai 4W_M_03,{
if (thai_head >= 1 && thai_head <= 5) {
switch(thai_head) {
case 1:
- set .@th_rand,rand(1,100);
+ .@th_rand = rand(1,100);
if (.@th_rand > 6 && .@th_rand < 20) {
mes "[Tourist]";
mes "...........";
@@ -63,7 +63,7 @@ alberta,43,244,0 script Tourist#thai 4W_M_03,{
next;
mes "[Tourist]";
mes "Alright, alright, but you don't have to be mean.";
- set thai_head,2;
+ thai_head = 2;
close;
}
mes "[Tourist]";
@@ -102,7 +102,7 @@ alberta,43,244,0 script Tourist#thai 4W_M_03,{
mes "food...I can't stay here much longer...";
next;
if (select("Do you want me to help you?:Well, good luck with everything.") == 1) {
- set thai_head,3;
+ thai_head = 3;
mes "[Tourist]";
mes "Thank god! Thank you so much.";
mes "I knew you would help me~!";
@@ -122,7 +122,7 @@ alberta,43,244,0 script Tourist#thai 4W_M_03,{
mes "of a choice...";
close;
}
- set thai_head,1;
+ thai_head = 1;
mes "[Tourist]";
mes ".........";
mes "How could you be so cold";
@@ -153,7 +153,7 @@ alberta,43,244,0 script Tourist#thai 4W_M_03,{
mes "food...I can't stay here much longer...";
next;
if (select("Do you want me to help you?:Well, good luck with everything.") == 1) {
- set thai_head,3;
+ thai_head = 3;
mes "[Tourist]";
mes "Thank god! Thank you so much.";
mes "I knew you would help me~!";
@@ -173,7 +173,7 @@ alberta,43,244,0 script Tourist#thai 4W_M_03,{
mes "of a choice...";
close;
}
- set thai_head,1;
+ thai_head = 1;
mes "[Tourist]";
mes ".........";
mes "How could you be so cold";
@@ -205,7 +205,7 @@ alberta,43,244,0 script Tourist#thai 4W_M_03,{
mes "*Sob*...so... hungry...";
close;
}
- set .@th_rand,rand(1,100);
+ .@th_rand = rand(1,100);
if (.@th_rand > 0 && .@th_rand < 10) {
if (countitem(517) == 10) {
mes "[Tourist]";
@@ -307,7 +307,7 @@ alberta,43,244,0 script Tourist#thai 4W_M_03,{
close;
}
}
- set thai_head,4;
+ thai_head = 4;
mes "^3355FFHe seemed to have been";
mes "starving for a long time.";
mes "He ate all the meat I gave him";
@@ -369,7 +369,7 @@ alberta,43,244,0 script Tourist#thai 4W_M_03,{
mes "There really are many good";
mes "people like you in this world.";
next;
- set thai_head,5;
+ thai_head = 5;
delitem 538,20; //Well_Baked_Cookie
mes "[Tourist]";
mes "I appreciate what you've done for";
@@ -460,7 +460,7 @@ alberta,43,244,0 script Tourist#thai 4W_M_03,{
mes "Doncha want me to help you?";
close;
}
- set thai_head,6;
+ thai_head = 6;
getitem 1205,1; //Cutter_
next;
mes "[Tourist]";
@@ -580,7 +580,7 @@ alberta,43,244,0 script Tourist#thai 4W_M_03,{
mes "Oh right, everywhere...but Lutie.";
mes "Man, this stinks.";
close2;
- set thai_head,2;
+ thai_head = 2;
end;
case 3:
mes "[Tourist]";
@@ -600,7 +600,7 @@ alberta,43,244,0 script Tourist#thai 4W_M_03,{
mes "to feel like...";
mes "you're pullin' my";
mes "chain...";
- set thai_head,1;
+ thai_head = 1;
close;
}
mes "[Tourist]";
@@ -680,7 +680,7 @@ moc_ruins,105,62,4 script Jacob#thai 1_M_04,{
mes "*Sigh* For now, I have a favor to";
mes "ask of you. Could you bring me";
mes "^0000FF1 No Recipient^000000?";
- set thai_head,7;
+ thai_head = 7;
next;
mes "[Jacob]";
mes "I need this kid to calm down first...";
@@ -749,7 +749,7 @@ moc_ruins,105,62,4 script Jacob#thai 1_M_04,{
next;
mes "[Jacob]";
mes "(...*Phew!* Thank you~)";
- set thai_head,9;
+ thai_head = 9;
close;
case 2:
mes "[Tommy]";
@@ -777,10 +777,10 @@ moc_ruins,105,62,4 script Jacob#thai 1_M_04,{
next;
mes "[Jacob]";
mes "(...*Phew* Thank you~)";
- set thai_head,9;
+ thai_head = 9;
close;
case 2:
- set thai_head,8;
+ thai_head = 8;
mes "[Tommy]";
mes "I knew it!! Daddy, you're a liar!!";
next;
@@ -813,11 +813,11 @@ moc_ruins,105,62,4 script Jacob#thai 1_M_04,{
mes "[Jacob]";
mes "Tommy...Tommy please...";
mes "Will you let me explain...?";
- set thai_head,8;
+ thai_head = 8;
close;
}
case 3:
- set thai_head,8;
+ thai_head = 8;
mes "[Tommy]";
mes "I knew it!! Daddy, you're a liar!!";
next;
@@ -847,7 +847,7 @@ moc_ruins,105,62,4 script Jacob#thai 1_M_04,{
mes "[Jacob]";
mes "Tommy...Tommy, please...";
mes "Will you let me explain...?";
- set thai_head,8;
+ thai_head = 8;
close;
}
}
@@ -867,7 +867,7 @@ moc_ruins,105,62,4 script Jacob#thai 1_M_04,{
mes "I will give you a chance";
mes "to make up for your mistake.";
mes "Please get me a No Recipient as soon as you can.";
- set thai_head,7;
+ thai_head = 7;
close;
}
mes "[Jacob]";
@@ -965,10 +965,10 @@ moc_ruins,105,62,4 script Jacob#thai 1_M_04,{
next;
mes "[Tommy]";
mes "...I'm sorry...*bows head*";
- set thai_head,10;
+ thai_head = 10;
close;
case 10:
- set .@rem,rand(1,11);
+ .@rem = rand(1,11);
if (.@rem == 1) {
mes "[Jacob]";
mes "Ah~ yes! Didn't you say Pandger Mayer introduced me to you?";
@@ -992,7 +992,7 @@ moc_ruins,105,62,4 script Jacob#thai 1_M_04,{
mes "People say that many adventurers";
mes "are visiting this man for some";
mes "reason. Why don't you go talk to him and see if he has some wisdom for you?";
- set thai_head,11;
+ thai_head = 11;
close;
}
else if (.@rem > 1 && .@remrem < 7) {
@@ -1105,14 +1105,14 @@ comodo,68,195,0 script Old Man#thai 2_M_PHARMACIST,{
mes "...";
mes "Get out of my sight,";
mes "you greedy fool.";
- set thai_head,12;
+ thai_head = 12;
close;
case 2:
mes "[Elder Creek]";
mes "Bah! The more ignorant they are, the more arrogantly they act!";
mes "Did you think that I would accept just any meaning?";
mes "Take care, you ignorant fool.";
- set thai_head,12;
+ thai_head = 12;
close;
case 3:
mes "[Elder Creek]";
@@ -1131,14 +1131,14 @@ comodo,68,195,0 script Old Man#thai 2_M_PHARMACIST,{
mes "[Elder Creek]";
mes "Of course, this rule applies to";
mes "you as well. That sort of thing is a universal principle, after all.";
- set thai_head,13;
+ thai_head = 13;
close;
case 4:
mes "[Elder Creek]";
mes ".....";
mes "Did you think that I would accept just any meaning??";
mes "Take care, you ignorant fool.";
- set thai_head,12;
+ thai_head = 12;
close;
}
case 2:
@@ -1193,7 +1193,7 @@ comodo,68,195,0 script Old Man#thai 2_M_PHARMACIST,{
mes "you. I hope you will be happy";
mes "with that nugget of wisdom.";
close2;
- set thai_head,14;
+ thai_head = 14;
end;
case 2:
mes "[Elder Creek]";
@@ -1241,7 +1241,7 @@ comodo,68,195,0 script Old Man#thai 2_M_PHARMACIST,{
mes "After all...I am a Sage.";
mes "I hope you will be happy with my wise advice.";
close2;
- set thai_head,14;
+ thai_head = 14;
end;
case 3:
mes "[Elder Creek]";
@@ -1307,7 +1307,7 @@ comodo,68,195,0 script Old Man#thai 2_M_PHARMACIST,{
mes "I hope you will be happy";
mes "with my wise advice.";
close2;
- set thai_head,14;
+ thai_head = 14;
end;
case 4:
mes "[Elder Creek]";
@@ -1324,7 +1324,7 @@ comodo,68,195,0 script Old Man#thai 2_M_PHARMACIST,{
mes "....that's all I can say.";
mes "I hope you will be happy with my wise advice.";
close2;
- set thai_head,14;
+ thai_head = 14;
end;
case 5:
mes "[Elder Creek]";
@@ -1341,7 +1341,7 @@ comodo,68,195,0 script Old Man#thai 2_M_PHARMACIST,{
next;
mes "[Elder Creek]";
mes "Get out of my sight immediately! I don't talk to trash!";
- set thai_head,12;
+ thai_head = 12;
close;
}
case 3:
@@ -1354,7 +1354,7 @@ comodo,68,195,0 script Old Man#thai 2_M_PHARMACIST,{
mes "[Elder Creek]";
mes "....*Sigh* Okay.";
mes "I forgive you.";
- set thai_head,11;
+ thai_head = 11;
close;
}
mes "[Elder Creek]";
@@ -1393,14 +1393,14 @@ comodo,68,195,0 script Old Man#thai 2_M_PHARMACIST,{
next;
mes "[Elder Creek]";
mes "Do me this favor, young man.";
- set thai_head,15;
+ thai_head = 15;
close;
case 14:
if (rand(1,30) == 5) {
mes "[Elder Creek]";
mes "....hmm. I see you want more.";
mes "Come back later.";
- set thai_head,13;
+ thai_head = 13;
close;
}
mes "[Elder Creek]";
@@ -1422,7 +1422,7 @@ comodo,68,195,0 script Old Man#thai 2_M_PHARMACIST,{
delitem 964,10; //Crap_Shell
delitem 7053,50; //Cyfar
next;
- set thai_head,16;
+ thai_head = 16;
getitem 603,1; //Old_Blue_Box
mes "[Elder Creek]";
mes "Please, take this first.";
diff --git a/npc/quests/okolnir.txt b/npc/quests/okolnir.txt
index ff6f6af85..c3aa36cfb 100644
--- a/npc/quests/okolnir.txt
+++ b/npc/quests/okolnir.txt
@@ -15,13 +15,13 @@
function script F_Okolnir {
if (compare(strnpcinfo(0),"main")) end;
- set .@sub$,(compare(strnpcinfo(4),"cas"))?(substr(strnpcinfo(4),0,2))+(substr(strnpcinfo(4),8,9)):substr(strnpcinfo(4),5,9);
+ .@sub$ = (compare(strnpcinfo(4),"cas"))?(substr(strnpcinfo(4),0,2))+(substr(strnpcinfo(4),8,9)):substr(strnpcinfo(4),5,9);
return .@sub$;
}
- script Guide#gq_main -1,{
- set .@sub$, callfunc("F_Okolnir");
- set .@GID, getcastledata(strnpcinfo(4),1);
+ .@sub$ = callfunc("F_Okolnir");
+ .@GID = getcastledata(strnpcinfo(4),1);
if (getcharid(2) == .@GID) {
if (getd("$siz_"+.@sub$+"_on") == 0) {
mes "[Guide]";
@@ -58,8 +58,8 @@ function script F_Okolnir {
mes "Would you like to try to enter here?";
close;
case 2:
- set .@defence,getcastledata(strnpcinfo(4),3);
- set .@Economy,getcastledata(strnpcinfo(4),2);
+ .@defence = getcastledata(strnpcinfo(4),3);
+ .@Economy = getcastledata(strnpcinfo(4),2);
if ((.@Economy > 64) && (.@defence > 29)) {
mes "[Guide]";
mes "Great! Economy and Defense are OK.";
@@ -138,7 +138,7 @@ function script F_Okolnir {
end;
OnInit:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
enablenpc "Guide#gq_"+.@sub$;
if (getd("$siz_"+.@sub$+"_on") == 1) setd "$siz_"+.@sub$+"_on", 0;
end;
@@ -167,9 +167,9 @@ que_qsch04,345,23,0 warp Gate02#gq_sch04 1,1,schg_cas04,369,306
que_qsch05,345,23,0 warp Gate02#gq_sch05 1,1,schg_cas05,369,306
- script Wish Maiden#gq_main -1,{
- set .@sub$, callfunc("F_Okolnir");
- set .@t$, ((compare(strnpcinfo(4),"aru"))?"arug_cas0":"schg_cas0")+(charat(strnpcinfo(4),getstrlen(strnpcinfo(4))-1));
- set .@GID, getcastledata(.@t$,1);
+ .@sub$ = callfunc("F_Okolnir");
+ .@t$ = ((compare(strnpcinfo(4),"aru"))?"arug_cas0":"schg_cas0")+(charat(strnpcinfo(4),getstrlen(strnpcinfo(4))-1));
+ .@GID = getcastledata(.@t$,1);
if (getcharid(2) == .@GID) {
cutin "wish_maiden31",1;
if (strcharinfo(0) == getguildmaster(.@GID)) {
@@ -183,9 +183,9 @@ que_qsch05,345,23,0 warp Gate02#gq_sch05 1,1,schg_cas05,369,306
} else {
setarray .@n, 7830,1,7831,1,7832,1,7833,1,7834,1,2357,1,7510,100,969,10,985,20;
}
- for (set .@i, 0; .@i < getarraysize(.@n); set .@i, .@i + 2) {
+ for (.@i = 0; .@i < getarraysize(.@n); .@i += 2) {
if (countitem(.@n[.@i]) >= .@n[.@i+1])
- set .@check, .@check + 1;
+ .@check += 1;
}
if (.@check >= 9) {
cutin "wish_maiden11",1;
@@ -219,7 +219,7 @@ que_qsch05,345,23,0 warp Gate02#gq_sch05 1,1,schg_cas05,369,306
next;
switch(select("We are ready.:We need more time.")) {
case 1:
- set .@saram,getmapusers("que_q"+.@sub$);
+ .@saram = getmapusers("que_q"+.@sub$);
if (((.@saram > 15) && (.@saram < 21))) {
cutin "wish_maiden12",1;
mes "[Wish Maiden]";
@@ -344,7 +344,7 @@ que_qsch05,345,23,0 warp Gate02#gq_sch05 1,1,schg_cas05,369,306
end;
OnInit:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
if (!getd("$siz_"+.@sub$+"_on")) {
enablenpc "Wish Maiden#gq_"+.@sub$;
} else {
@@ -366,14 +366,14 @@ que_qsch05,345,82,3 duplicate(Wish Maiden#gq_main) Wish Maiden#gq_sch05 4_F_VALK
- script Gate01#gq_main -1,{
function SMonster;
- set .@sub$, callfunc("F_Okolnir");
-
+ .@sub$ = callfunc("F_Okolnir");
+
OnTouch:
- set .@sub$, callfunc("F_Okolnir");
- set .@saram,getmapusers("que_q"+.@sub$);
+ .@sub$ = callfunc("F_Okolnir");
+ .@saram = getmapusers("que_q"+.@sub$);
if (.@saram < 21) {
if (getd("$@gqse_"+.@sub$+"_miro") == getd("$@gqse_"+.@sub$+"_pcc")) {
- set .@point,rand(1,5);
+ .@point = rand(1,5);
switch (.@point) {
case 1: warp "que_q"+.@sub$,72,271; break;
case 2: warp "que_q"+.@sub$,45,243; break;
@@ -382,7 +382,6 @@ OnTouch:
case 5: warp "que_q"+.@sub$,46,300; break;
}
end;
-
}
switch (getd("$@gqse_"+.@sub$+"_miro")) {
case 0: setarray .@n, 77,271,72,271,1; break;
@@ -415,37 +414,36 @@ OnTouch:
mes "There are too many people, you can't enter.";
close;
}
-
+
function SMonster {
-
switch (BaseClass) {
- case 1: set .@m, 1652; break;
- case 2: set .@m, 1663; break;
- case 3: set .@m, 1662; break;
- case 4: set .@m, 1661; break;
- case 5: set .@m, 1660; break;
- case 6: set .@m, 1659; break;
- default: set .@m, 1652; break;
+ case 1: .@m = 1652; break;
+ case 2: .@m = 1663; break;
+ case 3: .@m = 1662; break;
+ case 4: .@m = 1661; break;
+ case 5: .@m = 1660; break;
+ case 6: .@m = 1659; break;
+ default: .@m = 1652; break;
}
monster "que_q"+getarg(0),getarg(1),getarg(2),strcharinfo(0),.@m,1,"#Gate_manager_"+getarg(0)+"::OnMyMobDead";
return;
}
-
+
OnEnable:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
enablenpc "Gate01#gq_"+.@sub$;
setcell "que_q"+.@sub$,58,302,63,302,cell_walkable,0;
setcell "que_q"+.@sub$,58,302,63,302,cell_shootable,0;
end;
OnDisable:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
disablenpc "Gate01#gq_"+.@sub$;
killmonsterall "que_q"+.@sub$;
end;
-
+
OnInit:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
disablenpc "Gate01#gq_"+.@sub$;
end;
}
@@ -463,9 +461,9 @@ que_qsch05,346,81,0 duplicate(Gate01#gq_main) Gate01#gq_sch05 WARPNPC,1,1
- script #Gate_manager_main -1,{
end;
-
+
OnMyMobDead:
- set .@sub$, callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
if (getd("$@gqse_"+.@sub$+"_miro") == getd("$@gqse_"+.@sub$+"_pcc")) {
if (!mobcount("que_q"+.@sub$,"#Gate_manager_"+.@sub$+"::OnMyMobDead")) {
donpcevent "#gq_miromob2_"+.@sub$+"::OnEnable";
@@ -486,39 +484,39 @@ que_qsch05,1,4,0 duplicate(#Gate_manager_main) #Gate_manager_sch05 CLEAR_NPC
- script #gq_miromob2_main -1,{
end;
-
+
OnEnable:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
initnpctimer;
end;
OnTimer1000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Wish Maiden: How does it feel to see shadows of the past. This is only the beginning.",bc_map,"0x00ff00";
end;
OnTimer6000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Wish Maiden: The things you seeing are not real, don't be caught in the Mystic garden.",bc_map,"0x00ff00";
setarray .@mobname$, "Seyren Windsor","Kathryne Keyron","Cecil Damon","Margaretha Sorin","Eremes Guile","Howard Alt-Eisen";
setarray .@num, 72,271,1640,63,282,1645,59,294,1644,46,300,1643,51,285,1641,51,262,1642;
- set .@c, 0;
+ .@c = 0;
while (.@c < 3) {
- for (set .@i, 0; .@i < getarraysize(.@mobname$); set .@i, .@i + 1)
+ for (.@i = 0; .@i < getarraysize(.@mobname$); ++.@i)
monster "que_q"+.@sub$,.@num[.@i*3],.@num[.@i*3+1],.@mobname$[.@i],.@num[.@i*3+2],1,"#gq_miromob2_"+.@sub$+"::OnMyMobDead";
- set .@c, .@c + 1;
+ ++.@c;
}
stopnpctimer;
end;
OnReset:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
killmonster "que_q"+.@sub$,"#gq_miromob2_"+.@sub$+"::OnMyMobDead";
stopnpctimer;
end;
OnMyMobDead:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
if (mobcount("que_q"+.@sub$,"#gq_miromob2_"+.@sub$+"::OnMyMobDead") == 0) {
mapannounce "que_qaru05","The Mystic garden exit is now open.",bc_map,"0x00ff00";
setcell "que_q"+.@sub$,58,302,63,302,cell_walkable,1;
@@ -540,9 +538,9 @@ que_qsch05,1,4,0 duplicate(#gq_miromob2_main) #gq_miromob2_sch05 CLEAR_NPC
- script #okolnir_main -1,{
end;
-
+
OnEnable:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
donpcevent "Gate01#gq_"+.@sub$+"::OnEnable";
donpcevent "#Maze_Manager_"+.@sub$+"::OnEnable";
donpcevent "#event_start01_"+.@sub$+"::OnEnable";
@@ -561,7 +559,7 @@ OnEnable:
end;
OnDisable:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
disablenpc "Wish Maiden#gq_"+.@sub$;
donpcevent "#gq_miromob2_"+.@sub$+"::OnReset";
disablenpc "Piamette#"+.@sub$;
@@ -612,52 +610,52 @@ OnStop:
end;
OnTimer1000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Wish Maiden : Do your best, Okolnir will disappear in one hour!",bc_map,"0x00ff00";
end;
OnTimer1800000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Okolnir will disappear in 30 minutes.",bc_map,"0xff0000";
end;
OnTimer2400000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Okolnir will disappear in 20 minutes.",bc_map,"0xff0000";
end;
OnTimer3000000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Okolnir will disappear in 10 minutes.",bc_map,"0xff0000";
end;
OnTimer3300000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Okolnir will disappear in 5 minutes.",bc_map,"0xff0000";
end;
OnTimer3360000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Okolnir will disappear in 4 minutes.",bc_map,"0xff0000";
end;
OnTimer3420000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Okolnir will disappear in 3 minutes.",bc_map,"0xff0000";
end;
OnTimer3480000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Okolnir will disappear in 2 minutes.",bc_map,"0xff0000";
end;
OnTimer3540000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Okolnir will disappear in 1 minutes.",bc_map,"0xff0000";
end;
OnTimer3600000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Okolnir has begun to disappear.",bc_map,"0x4d4dff";
disablenpc "Wish Maiden#gq_"+.@sub$;
donpcevent "#gq_miromob2_"+.@sub$+"::OnReset";
@@ -700,17 +698,17 @@ OnTimer3600000:
end;
OnTimer3605000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Wish Maiden: ... You will fall into a deep sleep within Okolnir... ",bc_map,"0x00ff00";
end;
OnTimer3608000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Wish Maiden: ..Have courage ... and await your chance again... ",bc_map,"0x00ff00";
end;
OnTimer3610000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
setd "$@gqse_"+.@sub$+"_miro",0;
setd "$@gqse_"+.@sub$+"_pcc",0;
setd "$@gqse_"+.@sub$+"_gd",0;
@@ -719,7 +717,7 @@ OnTimer3610000:
end;
OnTimer3611000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
donpcevent "#okolnir_"+.@sub$+"_time01::OnEnable";
stopnpctimer;
end;
@@ -737,14 +735,14 @@ que_qsch05,1,1,0 duplicate(#okolnir_main) #okolnir_sch05 CLEAR_NPC
- script #Maze_Manager_main -1,{
end;
-
+
OnEnable:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
initnpctimer;
end;
OnDisable:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
donpcevent "#miro_bf_"+.@sub$+"::OnDisable";
donpcevent "#miro_rf_"+.@sub$+"::OnDisable";
donpcevent "#miro_yf_"+.@sub$+"::OnDisable";
@@ -752,57 +750,57 @@ OnDisable:
end;
OnTimer1000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
donpcevent "#miro_rf_"+.@sub$+"::OnDisable";
end;
OnTimer2000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
donpcevent "#miro_yf_"+.@sub$+"::OnDisable";
end;
OnTimer3000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
donpcevent "#miro_bf_"+.@sub$+"::OnEnable";
end;
OnTimer120000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
donpcevent "#miro_bf_"+.@sub$+"::OnDisable";
end;
OnTimer121000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
donpcevent "#miro_yf_"+.@sub$+"::OnDisable";
end;
OnTimer123000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
donpcevent "#miro_rf_"+.@sub$+"::OnEnable";
end;
OnTimer240000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
donpcevent "#miro_bf_"+.@sub$+"::OnDisable";
end;
OnTimer241000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
donpcevent "#miro_rf_"+.@sub$+"::OnDisable";
end;
OnTimer242000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
donpcevent "#miro_yf_"+.@sub$+"::OnEnable";
end;
OnTimer360000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
donpcevent "#Maze_Manager_"+.@sub$+"::OnEnable";
end;
OnInit:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
donpcevent "#miro_bf_"+.@sub$+"::OnDisable";
donpcevent "#miro_rf_"+.@sub$+"::OnDisable";
donpcevent "#miro_yf_"+.@sub$+"::OnDisable";
@@ -822,22 +820,22 @@ que_qsch05,1,2,0 duplicate(#Maze_Manager_main) #Maze_Manager_sch05 CLEAR_NPC
- script #miro_bf_main -1,{
function Cell;
OnEnable:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
setarray .@xy, 44,270,46,270,50,287,52,287,50,265,52,265,56,279,58,279,64,301,64,298,62,272,64,272,58,245,58,243,72,289,72,287,68,257,68,255,73,263,73,261,75,251,75,249,79,283,79,281,82,271,84,271,89,295,89,293,88,276,90,276,88,266,90,266,94,256,96,256,64,301,64,299,100,251,102,251;
- for (set .@i, 0; .@i < getarraysize(.@xy); set .@i, .@i + 2)
+ for (.@i = 0; .@i < getarraysize(.@xy); .@i += 2)
monster "que_q"+.@sub$,.@xy[.@i],.@xy[.@i+1]," ",1934,1,"#miro_bf_"+.@sub$+"::OnMyMobDead";
Cell(.@sub$,0);
end;
OnDisable:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
killmonster "que_q"+.@sub$,"#miro_bf_"+.@sub$+"::OnMyMobDead";
Cell(.@sub$,1);
end;
function Cell {
setarray .@cell, 44,270,47,270,50,287,53,287,50,265,53,265,56,279,59,279,64,298,64,301,62,272,65,272,58,242,58,245,72,286,72,289,68,254,68,259,73,260,73,263,75,248,75,251,79,280,79,283,82,271,85,271,89,292,89,295,88,276,91,276,88,266,91,266,94,256,97,256,64,298,64,301,100,251,103,251;
- for (set .@i, 0; .@i < getarraysize(.@cell); set .@i, .@i + 4) {
+ for (.@i = 0; .@i < getarraysize(.@cell); .@i += 4) {
setcell "que_q"+getarg(0),.@cell[.@i],.@cell[.@i+1],.@cell[.@i+2],.@cell[.@i+3],cell_walkable,getarg(1);
setcell "que_q"+getarg(0),.@cell[.@i],.@cell[.@i+1],.@cell[.@i+2],.@cell[.@i+3],cell_shootable,getarg(1);
}
@@ -859,25 +857,25 @@ que_qsch05,2,1,0 duplicate(#miro_bf_main) #miro_bf_sch05 CLEAR_NPC
- script #miro_rf_main -1,{
function Cell;
OnEnable:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
setarray .@xy, 57,301,57,299,48,291,48,289,68,290,70,290,72,295,72,293,90,296,92,296,56,282,58,282,66,283,66,281,80,284,82,284,44,273,46,273,50,273,52,273,54,269,54,267,66,271,66,270,81,273,81,272,88,276,90,276,94,276,96,276,64,258,66,258,76,263,76,261,87,265,87,263,50,252,52,252,76,252,78,252,99,255,99,253,53,245,53,243;
- for (set .@i, 0; .@i < getarraysize(.@xy); set .@i, .@i + 2)
+ for (.@i = 0; .@i < getarraysize(.@xy); .@i += 2)
monster "que_q"+.@sub$,.@xy[.@i],.@xy[.@i+1]," ",1935,1,"#miro_rf_"+.@sub$+"::OnMyMobDead";
Cell(.@sub$,0);
end;
-
+
OnDisable:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
killmonster "que_q"+.@sub$,"#miro_rf_"+.@sub$+"::OnMyMobDead";
Cell(.@sub$,1);
end;
-
+
OnMyMobDead:
end;
-
+
function Cell {
setarray .@cell, 57,298,57,301,48,288,48,291,68,290,71,290,72,292,72,295,90,296,93,296,56,282,59,282,66,280,66,283,80,284,83,284,44,273,47,273,50,273,53,273,54,266,54,269,66,270,66,271,81,272,81,273,88,276,91,276,94,276,97,276,64,258,67,258,76,260,76,263,87,262,87,265,50,252,53,252,76,252,79,252,99,252,99,255,53,242,53,245;
- for (set .@i, 0; .@i < getarraysize(.@cell); set .@i, .@i + 4) {
+ for (.@i = 0; .@i < getarraysize(.@cell); .@i += 4) {
setcell "que_q"+getarg(0),.@cell[.@i],.@cell[.@i+1],.@cell[.@i+2],.@cell[.@i+3],cell_walkable,getarg(1);
setcell "que_q"+getarg(0),.@cell[.@i],.@cell[.@i+1],.@cell[.@i+2],.@cell[.@i+3],cell_shootable,getarg(1);
}
@@ -897,25 +895,25 @@ que_qsch05,2,2,0 duplicate(#miro_rf_main) #miro_rf_sch05 CLEAR_NPC
- script #miro_yf_main -1,{
function Cell;
OnEnable:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
setarray .@xy, 44,292,46,292,67,295,67,293,94,301,94,299,79,289,79,287,56,282,58,282,71,283,71,281,100,281,102,281,44,261,46,261,50,265,52,265,56,270,58,270,72,278,73,278,82,266,84,266,88,266,90,266,94,271,96,271,60,257,60,255,73,263,73,261,75,257,75,255,87,257,87,255,58,251,58,249,80,251,80,249,53,245,53,243,75,245,75,243,100,251,102,251,100,256,102,256;
- for (set .@i, 0; .@i < getarraysize(.@xy); set .@i, .@i + 2)
+ for (.@i = 0; .@i < getarraysize(.@xy); .@i += 2)
monster "que_q"+.@sub$,.@xy[.@i],.@xy[.@i+1]," ",1936,1,"#miro_yf_"+.@sub$+"::OnMyMobDead";
Cell(.@sub$,0);
end;
OnDisable:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
killmonster "que_q"+.@sub$,"#miro_yf_"+.@sub$+"::OnMyMobDead";
Cell(.@sub$,1);
end;
OnMyMobDead:
end;
-
+
function Cell {
setarray .@cell, 44,292,47,292,67,292,67,295,94,298,94,301,79,286,79,289,56,282,59,282,71,280,71,283,100,281,103,281,44,261,47,261,50,265,53,265,56,270,59,270,72,278,73,278,82,266,85,266,88,266,91,266,94,271,97,271,60,254,60,257,73,260,73,263,75,254,75,257,87,254,87,257,58,248,58,251,80,248,80,251,53,242,53,245,75,242,75,245,100,251,103,251,100,256,103,256;
- for (set .@i, 0; .@i < getarraysize(.@cell); set .@i, .@i + 4) {
+ for (.@i = 0; .@i < getarraysize(.@cell); .@i += 4) {
setcell "que_q"+getarg(0),.@cell[.@i],.@cell[.@i+1],.@cell[.@i+2],.@cell[.@i+3],cell_walkable,getarg(1);
setcell "que_q"+getarg(0),.@cell[.@i],.@cell[.@i+1],.@cell[.@i+2],.@cell[.@i+3],cell_shootable,getarg(1);
}
@@ -934,9 +932,9 @@ que_qsch05,2,3,0 duplicate(#miro_yf_main) #miro_yf_sch05 CLEAR_NPC
- script windpath01_main -1,{
end;
-
+
OnTouch:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
if (countitem(7839)) {
mes "The Warp Gate responds to the Crystal Key.";
delitem 7839,1; //Crystal_Key
@@ -971,9 +969,9 @@ que_qsch05,113,165,0 warp windpath02_sch05 1,1,que_qsch05,139,172
- script Piamette#main -1,{
end;
-
+
OnInit:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
enablenpc "Piamette#"+.@sub$;
end;
}
@@ -993,46 +991,46 @@ que_qsch05,131,136,3 duplicate(Piamette#main) Piamette#sch05 PIAMETTE
end;
OnEnable:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
enablenpc "#event_start01_"+.@sub$;
end;
OnDisable:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
disablenpc "#event_start01_"+.@sub$;
stopnpctimer;
end;
OnTouch:
initnpctimer;
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
disablenpc "#event_start01_"+.@sub$;
end;
OnTimer2000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Piamette mumblings : ..There were six birds, Teo. But one is....",bc_map,"0xdb7093";
end;
OnTimer6000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Piamette mumblings : ...Shh.. Teo. The birds have returned..Are they birds that ran away before...? Or breakers who disguises themselves as good adventurers?",bc_map,"0xdb7093";
end;
OnTimer10000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Piamette mumblings : Ha! They are caged in.",bc_map,"0xdb7093";
end;
OnTimer14000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Piamette : Teo, Catch the birds! Put the cage away from here!",bc_map,"0x00ff00";
donpcevent "#gdtimer01_"+.@sub$+"::OnEnable";
stopnpctimer;
end;
-
+
OnInit:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
disablenpc "#event_start01_"+.@sub$;
end;
}
@@ -1049,84 +1047,84 @@ que_qsch05,114,158,0 duplicate(#event_start01_main) #event_start01_sch05 -1,1,1
- script #gdtimer01_main -1,{
end;
-
+
OnEnable:
initnpctimer;
end;
OnStop:
- set .@sub$,callfunc("F_Okolnir");
- for (set .@i, 1; .@i <= 8; set .@i, .@i + 1)
+ .@sub$ = callfunc("F_Okolnir");
+ for (.@i = 1; .@i <= 8; ++.@i)
donpcevent "#getspell0"+.@i+"_"+.@sub$+"::OnDisable";
stopnpctimer;
end;
OnTimer1000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
donpcevent "#getspell08_"+.@sub$+"::OnDisable";
donpcevent "#getspell01_"+.@sub$+"::OnEnable";
end;
OnTimer10000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
donpcevent "#getspell01_"+.@sub$+"::OnDisable";
donpcevent "#getspell02_"+.@sub$+"::OnEnable";
end;
OnTimer20000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
donpcevent "#getspell02_"+.@sub$+"::OnDisable";
donpcevent "#getspell03_"+.@sub$+"::OnEnable";
end;
OnTimer30000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
donpcevent "#getspell03_"+.@sub$+"::OnDisable";
donpcevent "#getspell04_"+.@sub$+"::OnEnable";
end;
OnTimer40000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
donpcevent "#getspell04_"+.@sub$+"::OnDisable";
donpcevent "#getspell05_"+.@sub$+"::OnEnable";
end;
OnTimer50000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
donpcevent "#getspell05_"+.@sub$+"::OnDisable";
donpcevent "#getspell06_"+.@sub$+"::OnEnable";
end;
OnTimer60000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
donpcevent "#getspell06_"+.@sub$+"::OnDisable";
donpcevent "#getspell07_"+.@sub$+"::OnEnable";
end;
OnTimer70000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
donpcevent "#getspell07_"+.@sub$+"::OnDisable";
donpcevent "#getspell08_"+.@sub$+"::OnEnable";
end;
OnTimer75000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
if (getd("$@gqse_"+.@sub$+"_gd") < 6) {
mapannounce "que_q"+.@sub$+"","Piamette : Silly birds! Silly Teo! Why can't you put away the cage at once?!",bc_map,"0x00ff00";
- for (set .@i, 1; .@i <= 6; set .@i, .@i + 1)
+ for (.@i = 1; .@i <= 6; ++.@i)
enablenpc "#"+.@sub$+"_cage0"+.@i;
setd "$@gqse_"+.@sub$+"_gd",0;
}
end;
OnTimer76000:
- set .@sub$,callfunc("F_Okolnir");
- for (set .@i, 1; .@i <= 6; set .@i, .@i + 1)
+ .@sub$ = callfunc("F_Okolnir");
+ for (.@i = 1; .@i <= 6; ++.@i)
disablenpc "#"+.@sub$+"_cage0"+.@i;
end;
OnTimer80000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
donpcevent "#gdtimer01_"+.@sub$+"::OnEnable";
end;
}
@@ -1143,61 +1141,61 @@ que_qsch05,2,2,0 duplicate(#gdtimer01_main) #gdtimer01_sch05 CLEAR_NPC
- script #gdtimer02_main -1,{
end;
-
+
OnEnable:
initnpctimer;
end;
OnStop:
stopnpctimer;
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
killmonster "que_q"+.@sub$,"#gdtimer02_"+.@sub$+"::OnMyMobDead";
end;
OnTimer4000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Piamette : All of them are caught!",bc_map,"0xdb7093";
end;
OnTimer8000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Piamette : Let's call out the keeper of the key not to let the birds go far away.",bc_map,"0xdb7093";
end;
OnTimer12000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Piamette : The keeper of the key is protecting my cage.",bc_map,"0xdb7093";
setarray .@xy, 108,151,109,135,115,116,158,106,163,133,150,154;
- for (set .@i, 0; .@i < getarraysize(.@xy); set .@i, .@i + 2)
+ for (.@i = 0; .@i < getarraysize(.@xy); .@i += 2)
monster "que_q"+.@sub$,.@xy[.@i],.@xy[.@i+1],"Key Stone",1905,1,"#gdtimer02_"+.@sub$+"::OnMyMobDead";
end;
OnTimer112000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Piamette : Whooping fun times are back! Now, Go! I'll get back to!!",bc_map,"0xdb7093";
killmonster "que_q"+.@sub$,"#gdtimer02_"+.@sub$+"::OnMyMobDead";
- for (set .@i, 1; .@i <= 6; set .@i, .@i + 1)
+ for (.@i = 1; .@i <= 6; ++.@i)
enablenpc "#"+.@sub$+"_cage0"+.@i;
setd "$@gqse_"+.@sub$+"_gd",0;
end;
OnTimer113000:
- set .@sub$,callfunc("F_Okolnir");
- for (set .@i, 1; .@i <= 6; set .@i, .@i + 1)
+ .@sub$ = callfunc("F_Okolnir");
+ for (.@i = 1; .@i <= 6; ++.@i)
disablenpc "#"+.@sub$+"_cage0"+.@i;
donpcevent "#gdtimer01_"+.@sub$+"::OnEnable";
stopnpctimer;
end;
OnReset:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
killmonster "que_q"+.@sub$,"#gdtimer02_"+.@sub$+"::OnMyMobDead";
end;
OnMyMobDead:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
if (!mobcount("que_q"+.@sub$,"#gdtimer02_"+.@sub$+"::OnMyMobDead")) {
- for (set .@i, 1; .@i <= 6; set .@i, .@i + 1)
+ for (.@i = 1; .@i <= 6; ++.@i)
enablenpc "#"+.@sub$+"_cage0"+.@i;
donpcevent "#piamette_"+.@sub$+"::OnEnable";
stopnpctimer;
@@ -1221,18 +1219,18 @@ OnEnable:
end;
OnReset:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
killmonster "que_q"+.@sub$,"#piamette_"+.@sub$+"::OnMyMobDead";
stopnpctimer;
end;
OnTimer1000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Piamette : All the keeper of keys are dead now? Who freed my birds? Teo, who did it?",bc_map,"0xdb7093";
end;
OnTimer5000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Piamette : I'm pissed off now!",bc_map,"0xdb7093";
disablenpc "Piamette#"+.@sub$;
monster "que_q"+.@sub$,131,135,"Angry Piamette",1930,1,"#piamette_"+.@sub$+"::OnMyMobDead";
@@ -1240,7 +1238,7 @@ OnTimer5000:
end;
OnMyMobDead:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Piamette has been released, so the warp gate toward the South is working now.",bc_map,"0x00ff00";
enablenpc "windpath03_"+.@sub$;
enablenpc "windpath04_"+.@sub$;
@@ -1262,20 +1260,20 @@ que_qsch05,1,4,0 duplicate(#piamette_main) #piamette_sch05 CLEAR_NPC
end;
OnEnable:
- set .@sub$,callfunc("F_Okolnir");
- set .@c,charat(strnpcinfo(2),9);
+ .@sub$ = callfunc("F_Okolnir");
+ .@c = charat(strnpcinfo(2),9);
enablenpc "#getspell0"+.@c+"_"+.@sub$;
specialeffect EF_LOCKON;
end;
OnDisable:
- set .@sub$,callfunc("F_Okolnir");
- set .@c,charat(strnpcinfo(2),9);
+ .@sub$ = callfunc("F_Okolnir");
+ .@c = charat(strnpcinfo(2),9);
disablenpc "#getspell0"+.@c+"_"+.@sub$;
end;
OnTouch:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
sc_start SC_STONE,300000,0,10000;
switch (getd("$@gqse_"+.@sub$+"_gd")) {
case 0: setarray .@n$, "103","153","1","Piamette : One white bird has dropped with its wing pierced by an arrow."; break;
@@ -1296,8 +1294,8 @@ OnTouch:
end;
OnInit:
- set .@sub$,callfunc("F_Okolnir");
- for (set .@i, 1; .@i <= 8; set .@i, .@i + 1)
+ .@sub$ = callfunc("F_Okolnir");
+ for (.@i = 1; .@i <= 8; ++.@i)
disablenpc "#getspell0"+.@i+"_"+.@sub$;
end;
}
@@ -1384,20 +1382,20 @@ que_qsch05,146,121,0 duplicate(#getspells_main) #getspell08_sch05 -1,1,1
- script #main_cages -1,{
end;
-
+
OnTouch:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
sc_end SC_STONE;
setarray .@n, 108,151,107,135,113,114,158,106,163,133,150,154;
- for (set .@i, 0; .@i < getarraysize(.@n); set .@i, .@i + 2)
+ for (.@i = 0; .@i < getarraysize(.@n); .@i += 2)
warp "que_q"+.@sub$,.@n[.@i],.@n[.@i+1];
- for (set .@i, 1; .@i <= 6; set .@i, .@i + 1)
+ for (.@i = 1; .@i <= 6; ++.@i)
disablenpc "#"+.@sub$+"_cage0"+.@i;
end;
-
+
OnInit:
- set .@sub$,callfunc("F_Okolnir");
- for (set .@i, 1; .@i <= 6; set .@i, .@i + 1)
+ .@sub$ = callfunc("F_Okolnir");
+ for (.@i = 1; .@i <= 6; ++.@i)
disablenpc "#"+.@sub$+"_cage0"+.@i;
end;
}
@@ -1464,7 +1462,7 @@ que_qsch05,150,159,0 duplicate(#main_cages) #sch05_cage06 -1,1,1
que_qaru01,1,8,0 script #gd_main_mobctrl CLEAR_NPC,{
end;
-
+
OnEnable:
setarray .@mob_1$, "Ball of Piamette","1738";
setarray .@mob_1, 107,152,109,135,113,116,157,107,163,133,149,156,131,139,135,136,131,132,128,136,110,145,129,114,148,114,155,128,152,145,131,151,110,130;
@@ -1474,25 +1472,25 @@ OnEnable:
setarray .@mob_3, 132,139,135,135,132,132,128,135,111,145,111,130,130,114,149,114,156,128,153,145,132,151;
setarray .@mob_4$, "Ancient Mimic","1699";
setarray .@mob_4, 133,139,135,134,133,132,128,135,112,145,131,114,150,114,157,128,154,145,133,151,112,130;
- set .@sub$,callfunc("F_Okolnir");
- set .@c, 1;
+ .@sub$ = callfunc("F_Okolnir");
+ .@c = 1;
while (.@c <= 4) {
- for (set .@i, 0; .@i < getarraysize(getd(".@mob_"+.@c)); set .@i, .@i + 2)
+ for (.@i = 0; .@i < getarraysize(getd(".@mob_"+.@c)); .@i += 2)
monster "que_q"+.@sub$,getd(".@mob_"+.@c+"["+.@i+"]"),getd(".@mob_"+.@c+"["+(.@i+1)+"]"),getd(".@mob_"+.@c+"$"),atoi(getd(".@mob_"+.@c+"$[1]")),1,"#gd_"+.@sub$+"_mobctrl::OnMyMobDead";
- set .@c, .@c + 1;
+ ++.@c;
}
end;
OnReset:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
killmonster "que_q"+.@sub$,"#gd_"+.@sub$+"_mobctrl::OnMyMobDead";
end;
OnMyMobDead:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
if (mobcount("que_q"+.@sub$,"#gd_"+.@sub$+"_mobctrl::OnMyMobDead") < 7) {
setarray .@n, 107,152,109,135,113,116,157,107,163,133,149,156;
- for (set .@i, 0; .@i < getarraysize(.@n); set .@i, .@i + 2)
+ for (.@i = 0; .@i < getarraysize(.@n); .@i += 2)
monster "que_q"+.@sub$,.@n[.@i],.@n[.@i+1],"Ball of Piamette",1738,1,"#gd_"+.@sub$+"_mobctrl::OnMyMobDead";
}
end;
@@ -1510,18 +1508,18 @@ que_qsch05,1,8,0 duplicate(#gd_main_mobctrl) #gd_sch05_mobctrl CLEAR_NPC
- script windpaths_main -1,{
end;
-
+
OnTouch:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
if (compare(strnpcinfo(0),"windpath03")) {
warp "que_q"+.@sub$,119,103;
} else {
warp "que_q"+.@sub$,146,109;
}
end;
-
+
OnInit:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
disablenpc "windpath03_"+.@sub$;
disablenpc "windpath04_"+.@sub$;
end;
@@ -1550,60 +1548,60 @@ que_qsch05,128,104,0 duplicate(windpaths_main) windpath04_sch05 WARPNPC,1,1
- script #nm_switch_main -1,{
end;
-
+
OnTouch:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
disablenpc "#nm_switch_"+.@sub$;
initnpctimer;
end;
OnEnable:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
enablenpc "#nm_switch_"+.@sub$;
end;
OnDisable:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
disablenpc "#nm_switch_"+.@sub$;
stopnpctimer;
end;
OnTimer1000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Wish Maiden: Did you have a good time with Piamette?",bc_map,"0x00ff00";
end;
OnTimer4000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Wish Maiden: But it's the end. There will be summoned monsters coming soon...",bc_map,"0x00ff00";
end;
OnTimer9000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Wish Maiden: So come here to me safely...",bc_map,"0x00ff00";
end;
OnTimer10000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
donpcevent "#nmsom"+.@sub$+"_jin01::OnEnable";
donpcevent "#"+.@sub$+"_stone01::OnEnable";
end;
OnTimer190000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
donpcevent "#nmsom"+.@sub$+"_jin02::OnEnable";
donpcevent "#"+.@sub$+"_stone02::OnEnable";
end;
OnTimer370000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
donpcevent "#nmsom"+.@sub$+"_jin03::OnEnable";
donpcevent "#"+.@sub$+"_stone03::OnEnable";
stopnpctimer;
end;
-
+
OnInit:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
disablenpc "#nm_switch_"+.@sub$;
end;
}
@@ -1620,22 +1618,22 @@ que_qsch05,253,273,0 duplicate(#nm_switch_main) #nm_switch_sch05 -1,5,5
- script #nmsommain_jin01 -1,{
OnEnable:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
donpcevent "#"+.@sub$+"_stone01::OnEnable";
initnpctimer;
end;
OnDisable:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
killmonster "que_q"+.@sub$,"#nmsom"+.@sub$+"_jin01::OnMyMobDead";
stopnpctimer;
end;
OnTimer5000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
setarray .@xy, 226,288,227,289,228,290,229,291,230,292,231,293,232,294,233,295,234,296,235,297,228,286,229,287,230,288,231,289,232,290,233,291,234,292,235,293,236,294,237,295,230,284,231,285,232,286,233,287,234,288,235,289,236,290,237,291,238,292,239,293;
mapannounce "que_q"+.@sub$,"The Western magic formation is working to summon Guard of Shadow.",bc_map,"0x4d4dff";
- for (set .@i, 0; .@i < getarraysize(.@xy); set .@i, .@i + 2)
+ for (.@i = 0; .@i < getarraysize(.@xy); .@i += 2)
monster "que_q"+.@sub$,.@xy[.@i],.@xy[.@i+1],"Guard of Shadow",1752,1,"#nmsom"+.@sub$+"_jin01::OnMyMobDead";
end;
@@ -1643,9 +1641,9 @@ OnTimer25000:
OnTimer55000:
OnTimer85000:
OnTimer120000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
setarray .@xy2, 226,294,227,294,228,294,229,294,230,295,231,296,231,297,231,298,231,299,230,300,229,301,228,301,227,301,226,301,225,300,224,299,224,298,224,297,224,296,225,295;
- for (set .@i, 0; .@i < getarraysize(.@xy2); set .@i, .@i + 2)
+ for (.@i = 0; .@i < getarraysize(.@xy2); .@i += 2)
monster "que_q"+.@sub$,.@xy2[.@i],.@xy2[.@i+1],"Guard of Shadow",1752,1,"#nmsom"+.@sub$+"_jin01::OnMyMobDead";
end;
@@ -1669,21 +1667,21 @@ que_qsch05,229,297,0 duplicate(#nmsommain_jin01) #nmsomsch05_jin01 -1
- script #main_stone01 -1,{
end;
-
+
OnEnable:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
setarray .@xy, 227,294,229,294,231,296,231,298,230,300,228,301,226,301,224,299,224,297,225,295;
- for (set .@i, 0; .@i < getarraysize(.@xy); set .@i, .@i + 2)
+ for (.@i = 0; .@i < getarraysize(.@xy); .@i += 2)
monster "que_q"+.@sub$,.@xy[.@i],.@xy[.@i+1],"Western Magic Guardian",1752,1,"#"+.@sub$+"_stone01::OnMyMobDead";
end;
OnReset:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
killmonster "que_q"+.@sub$,"#"+.@sub$+"_stone01::OnMyMobDead";
end;
OnMyMobDead:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
if (mobcount("que_q"+.@sub$,"#"+.@sub$+"_stone01::OnMyMobDead") == 0) {
setd "$@gqse_"+.@sub$+"_nm",getd("$@gqse_"+.@sub$+"_nm")+1;
donpcevent "#nmsom"+.@sub$+"_jin01::OnDisable";
@@ -1710,16 +1708,16 @@ OnEnable:
end;
OnDisable:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
killmonster "que_q"+.@sub$,"#nmsom"+.@sub$+"_jin02::OnMyMobDead";
stopnpctimer;
end;
OnTimer5000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"The Eastern magic formation is working to summon Bloody Hunter.",bc_map,"0x4d4dff";
setarray .@xy, 263,292,264,291,265,290,266,289,267,288,268,287,269,286,270,285,271,284,272,283,265,294,266,293,267,292,268,291,269,290,270,289,271,288,272,287,273,286,274,285,267,296,268,295,269,294,270,283,271,282,272,281,273,280,274,279,275,276,276,275;
- for (set .@i, 0; .@i < getarraysize(.@xy); set .@i, .@i + 2)
+ for (.@i = 0; .@i < getarraysize(.@xy); .@i += 2)
monster "que_q"+.@sub$,.@xy[.@i],.@xy[.@i+1],"Bloody Hunter",1753,1,"#nmsom"+.@sub$+"_jin02::OnMyMobDead";
end;
@@ -1727,9 +1725,9 @@ OnTimer25000:
OnTimer55000:
OnTimer85000:
OnTimer120000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
setarray .@xy2, 274,301,275,301,276,301,277,301,278,300,279,299,279,298,279,297,279,296,278,295,277,294,276,294,275,294,274,294,273,295,272,296,272,297,272,298,272,299,273,300;
- for (set .@i, 0; .@i < getarraysize(.@xy2); set .@i, .@i + 2)
+ for (.@i = 0; .@i < getarraysize(.@xy2); .@i += 2)
monster "que_q"+.@sub$,.@xy2[.@i],.@xy2[.@i+1],"Bloody Hunter",1753,1,"#nmsom"+.@sub$+"_jin02::OnMyMobDead";
end;
@@ -1753,21 +1751,21 @@ que_qsch05,275,299,0 duplicate(#nmsommain_jin02) #nmsomsch05_jin02 -1
- script #main_stone02 -1,{
end;
-
+
OnEnable:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
setarray .@xy, 275,301,277,301,279,299,279,297,278,295,276,294,274,294,272,296,272,298,273,300;
- for (set .@i, 0; .@i < getarraysize(.@xy); set .@i, .@i + 2)
+ for (.@i = 0; .@i < getarraysize(.@xy); .@i += 2)
monster "que_q"+.@sub$,.@xy[.@i],.@xy[.@i+1],"Eastern Magic Guardian",1753,1,"#"+.@sub$+"_stone02::OnMyMobDead";
end;
OnReset:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
killmonster "que_q"+.@sub$,"#"+.@sub$+"_stone02::OnMyMobDead";
end;
OnMyMobDead:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
if (mobcount("que_q"+.@sub$,"#"+.@sub$+"_stone02::OnMyMobDead") == 0) {
setd "$@gqse_"+.@sub$+"_nm",getd("$@gqse_"+.@sub$+"_nm")+1;
donpcevent "#nmsom"+.@sub$+"_jin02::OnDisable";
@@ -1794,37 +1792,37 @@ OnEnable:
end;
OnDisable:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
killmonster "que_q"+.@sub$,"#nmsom"+.@sub$+"_jin03::OnMyMobDead";
stopnpctimer;
end;
OnTimer5000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"The Northern magic formation is working to summon Keeper of the Temple.",bc_map,"0x4d4dff";
setarray .@xy, 247,329,249,329,251,329,253,329,255,329,243,339,245,337,247,335,247,333,254,333,256,335,258,337,260,339;
- for (set .@i, 0; .@i < getarraysize(.@xy); set .@i, .@i + 2)
+ for (.@i = 0; .@i < getarraysize(.@xy); .@i += 2)
monster "que_q"+.@sub$,.@xy[.@i],.@xy[.@i+1],"Keeper Of The Temple",1933,1,"#nmsom"+.@sub$+"_jin03::OnMyMobDead";
end;
OnTimer120000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
setarray .@xy2, 251,343,252,343,255,341,255,340,254,337,253,336,250,336,249,337,248,340,248,341;
- for (set .@i, 0; .@i < getarraysize(.@xy2); set .@i, .@i + 2)
+ for (.@i = 0; .@i < getarraysize(.@xy2); .@i += 2)
monster "que_q"+.@sub$,.@xy2[.@i],.@xy2[.@i+1],"Keeper Of The Temple",1933,1,"#nmsom"+.@sub$+"_jin03::OnMyMobDead";
end;
OnTimer240000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
setarray .@xy3, 250,343,252,343,254,342,255,340,255,338,253,336,250,336,248,338,248,340,249,342;
- for (set .@i, 0; .@i < getarraysize(.@xy3); set .@i, .@i + 2)
+ for (.@i = 0; .@i < getarraysize(.@xy3); .@i += 2)
monster "que_q"+.@sub$,.@xy3[.@i],.@xy3[.@i+1],"Keeper Of The Temple",1933,1,"#nmsom"+.@sub$+"_jin03::OnMyMobDead";
end;
OnTimer360000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
setarray .@xy4, 250,343,252,343,254,342,255,340,255,338,253,336,251,336,249,337,248,339,248,341;
- for (set .@i, 0; .@i < getarraysize(.@xy4); set .@i, .@i + 2)
+ for (.@i = 0; .@i < getarraysize(.@xy4); .@i += 2)
monster "que_q"+.@sub$,.@xy4[.@i],.@xy4[.@i+1],"Keeper Of The Temple",1933,1,"#nmsom"+.@sub$+"_jin03::OnMyMobDead";
stopnpctimer;
end;
@@ -1845,25 +1843,24 @@ que_qsch05,251,340,0 duplicate(#nmsommain_jin03) #nmsomsch05_jin03 -1
- script #main_stone03 -1,{
end;
-
+
OnEnable:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
setarray .@xy, 251,343,252,343,255,341,255,340,254,337,253,336,250,336,249,337,248,340,248,341;
- for (set .@i, 0; .@i < getarraysize(.@xy); set .@i, .@i + 2)
+ for (.@i = 0; .@i < getarraysize(.@xy); .@i += 2)
monster "que_q"+.@sub$,.@xy[.@i],.@xy[.@i+1],"Northern Magic Guardian",1933,1,"#"+.@sub$+"_stone03::OnMyMobDead";
end;
OnReset:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
killmonster "que_q"+.@sub$,"#"+.@sub$+"_stone03::OnMyMobDead";
end;
OnMyMobDead:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
if (mobcount("que_q"+.@sub$,"#"+.@sub$+"_stone03::OnMyMobDead") == 0) {
setd "$@gqse_"+.@sub$+"_nm",getd("$@gqse_"+.@sub$+"_nm")+1;
donpcevent "#nmsom"+.@sub$+"_jin03::OnDisable";
-
if (getd("$@gqse_"+.@sub$+"_nm") == 3) {
donpcevent "Wish Maiden#"+.@sub$+"_boss::OnFight";
}
@@ -1883,10 +1880,9 @@ que_qsch05,2,10,0 duplicate(#main_stone03) #sch05_stone03 CLEAR_NPC
- script Guard of Shadow#main_all -1,{
end;
-
OnTouch:
- set .@sub$,callfunc("F_Okolnir");
- set .@in, charat(strnpcinfo(2),getstrlen(strnpcinfo(2))-1);
+ .@sub$ = callfunc("F_Okolnir");
+ .@in = charat(strnpcinfo(2),getstrlen(strnpcinfo(2))-1);
disablenpc "Guard of Shadow#"+.@sub$+"_0"+.@in;
switch (.@in) {
case 1: setarray .@n, 234,284,235,285,236,286; break;
@@ -1894,23 +1890,23 @@ OnTouch:
case 3: setarray .@n, 235,295,236,296,237,297; break;
case 4: setarray .@n, 224,302,225,303,226,304; break;
}
- for (set .@i, 0; .@i < getarraysize(.@n); set .@i, .@i + 2)
+ for (.@i = 0; .@i < getarraysize(.@n); .@i += 2)
monster "que_q"+.@sub$,.@n[.@i],.@n[.@i+1],"Guard of Shadow",1752,1,"Guard of Shadow#"+.@sub$+"_0"+.@in+"::OnMyMobDead";
end;
-
+
OnDisable:
- set .@sub$,callfunc("F_Okolnir");
- set .@in, charat(strnpcinfo(2),getstrlen(strnpcinfo(2))-1);
+ .@sub$ = callfunc("F_Okolnir");
+ .@in = charat(strnpcinfo(2),getstrlen(strnpcinfo(2))-1);
killmonster "que_q"+.@sub$,"Guard of Shadow#"+.@sub$+"_0"+.@in+"::OnMyMobDead";
disablenpc "Guard of Shadow#"+.@sub$+"_0"+.@in;
end;
OnMyMobDead:
end;
-
+
OnInit:
- set .@sub$,callfunc("F_Okolnir");
- for (set .@i, 1; .@i <= 4; set .@i, .@i + 1)
+ .@sub$ = callfunc("F_Okolnir");
+ for (.@i = 1; .@i <= 4; ++.@i)
disablenpc "Guard of Shadow#"+.@sub$+"_0"+.@i;
end;
}
@@ -1957,10 +1953,10 @@ que_qsch05,225,303,5 duplicate(Guard of Shadow#main_all) Guard of Shadow#sch05_0
- script Bloody Hunter#main_all -1,{
end;
-
+
OnTouch:
- set .@sub$,callfunc("F_Okolnir");
- set .@in, charat(strnpcinfo(2),getstrlen(strnpcinfo(2))-1);
+ .@sub$ = callfunc("F_Okolnir");
+ .@in = charat(strnpcinfo(2),getstrlen(strnpcinfo(2))-1);
disablenpc "Bloody Hunter#"+.@sub$+"_ac0"+.@in;
switch (.@in) {
case 1: setarray .@n, 265,297,266,296,267,295;
@@ -1968,23 +1964,23 @@ OnTouch:
case 3: setarray .@n, 269,308,270,307,271,306;
case 4: setarray .@n, 278,301,279,300,280,299;
}
- for (set .@i, 0; .@i < getarraysize(.@n); set .@i, .@i + 2)
+ for (.@i = 0; .@i < getarraysize(.@n); .@i += 2)
monster "que_q"+.@sub$,.@n[.@i],.@n[.@i+1],"Bloody Hunter",1753,1,"Bloody Hunter#"+.@sub$+"_ac0"+.@in+"::OnMyMobDead";
end;
-
+
OnDisable:
- set .@sub$,callfunc("F_Okolnir");
- set .@in, charat(strnpcinfo(2),getstrlen(strnpcinfo(2))-1);
+ .@sub$ = callfunc("F_Okolnir");
+ .@in = charat(strnpcinfo(2),getstrlen(strnpcinfo(2))-1);
killmonster "que_q"+.@sub$,"Bloody Hunter#"+.@sub$+"_ac0"+.@in+"::OnMyMobDead";
disablenpc "Bloody Hunter#"+.@sub$+"_ac0"+.@in;
end;
OnMyMobDead:
end;
-
+
OnInit:
- set .@sub$,callfunc("F_Okolnir");
- for (set .@i, 1; .@i <= 4; set .@i, .@i + 1)
+ .@sub$ = callfunc("F_Okolnir");
+ for (.@i = 1; .@i <= 4; ++.@i)
disablenpc "Bloody Hunter#"+.@sub$+"_ac0"+.@i;
end;
}
@@ -2031,22 +2027,22 @@ que_qsch05,279,300,3 duplicate(Bloody Hunter#main_all) Bloody Hunter#sch05_ac04
- script Temple Keeper#main_all -1,{
end;
-
+
OnTouch:
- set .@sub$,callfunc("F_Okolnir");
- set .@in, charat(strnpcinfo(2),getstrlen(strnpcinfo(2))-1);
+ .@sub$ = callfunc("F_Okolnir");
+ .@in = charat(strnpcinfo(2),getstrlen(strnpcinfo(2))-1);
disablenpc "Temple Keeper#"+.@sub$+"_ac0"+.@in;
switch (.@in) {
case 1: setarray .@n, 246,330,247,330,248,330; break;
case 2: setarray .@n, 254,330,255,330,256,330; break;
}
- for (set .@i, 0; .@i < getarraysize(.@n); set .@i, .@i + 2)
+ for (.@i = 0; .@i < getarraysize(.@n); .@i += 2)
monster "que_q"+.@sub$,.@n[.@i],.@n[.@i+1],"Keeper Of The Temple",1933,1,"Temple Keeper#"+.@sub$+"_ac0"+.@in+"::OnMyMobDead";
end;
OnDisable:
- set .@sub$,callfunc("F_Okolnir");
- set .@in, charat(strnpcinfo(2),getstrlen(strnpcinfo(2))-1);
+ .@sub$ = callfunc("F_Okolnir");
+ .@in = charat(strnpcinfo(2),getstrlen(strnpcinfo(2))-1);
killmonster "que_q"+.@sub$,"Temple Keeper#"+.@sub$+"_ac0"+.@in+"::OnMyMobDead";
disablenpc "Temple Keeper#"+.@sub$+"_ac0"+.@in;
end;
@@ -2055,8 +2051,8 @@ OnMyMobDead:
end;
OnInit:
- set .@sub$,callfunc("F_Okolnir");
- for (set .@i, 1; .@i <= 2; set .@i, .@i + 1)
+ .@sub$ = callfunc("F_Okolnir");
+ for (.@i = 1; .@i <= 2; ++.@i)
disablenpc "Temple Keeper#"+.@sub$+"_ac0"+.@i;
end;
}
@@ -2083,9 +2079,9 @@ que_qsch05,255,330,3 duplicate(Temple Keeper#main_all) Temple Keeper#sch05_ac02
- script Wish Maiden#main_boss -1,{
end;
-
+
OnDisable:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
killmonster "que_q"+.@sub$,"Wish Maiden#"+.@sub$+"_boss::OnMyMobDead";
hideonnpc "Wish Maiden#"+.@sub$+"_boss";
stopnpctimer;
@@ -2096,17 +2092,17 @@ OnFight:
end;
OnTimer1000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Wish Maiden : You guys reached here.. Are your guardians dead...?",bc_map,"0x00ff00";
end;
OnTimer4000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Wish Maiden : I sincerely welcome all your best efforts!",bc_map,"0x00ff00";
end;
OnTimer5000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
specialeffect EF_ICECRASH;
hideonnpc "Wish Maiden#"+.@sub$+"_boss";
specialeffect EF_SPHERE;
@@ -2115,16 +2111,16 @@ OnTimer5000:
end;
OnMyMobDead:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
if (!mobcount("que_q"+.@sub$,"Wish Maiden#"+.@sub$+"_boss::OnMyMobDead")) {
donpcevent "#okolnir_"+.@sub$+"::OnStop";
donpcevent "Wish Maiden#"+.@sub$+"_gift::OnEnable";
mapannounce "que_q"+.@sub$,"Wish Maiden : ..Good, you deserve the Goddess' shine.",bc_map,"0x00ff00";
}
end;
-
+
OnInit:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
hideonnpc "Wish Maiden#"+.@sub$+"_boss";
end;
}
@@ -2140,21 +2136,21 @@ que_qsch04,251,255,3 duplicate(Wish Maiden#main_boss) Wish Maiden#sch04_boss WIS
que_qsch05,251,255,3 duplicate(Wish Maiden#main_boss) Wish Maiden#sch05_boss WISH_MAIDEN
- script Wish Maiden#main_gift -1,{
- set .@sub$,callfunc("F_Okolnir");
- set .@t$, ((compare(strnpcinfo(4),"aru"))?"arug_cas0":"schg_cas0")+(charat(strnpcinfo(4),getstrlen(strnpcinfo(4))-1));
- set .@GID, getcastledata(.@t$,1);
+ .@sub$ = callfunc("F_Okolnir");
+ .@t$ = ((compare(strnpcinfo(4),"aru"))?"arug_cas0":"schg_cas0")+(charat(strnpcinfo(4),getstrlen(strnpcinfo(4))-1));
+ .@GID = getcastledata(.@t$,1);
if (getcharid(2) == .@GID) {
if (strcharinfo(0) == getguildmaster(.@GID)) {
if (compare(.@sub$,"aru")) {
setarray .@n, 7835,1,7836,1,7837,1,7838,1,2513,1,7291,10,7293,10,7063,100,985,20;
- set .@rwd, 2541; //Asprika
+ .@rwd = 2541; //Asprika
} else {
setarray .@n, 7830,1,7831,1,7832,1,7833,1,7834,1,2357,1,7510,100,969,10,985,20;
- set .@rwd, 2383; //Brynhild
+ .@rwd = 2383; //Brynhild
}
- for (set .@i, 0; .@i < getarraysize(.@n); set .@i, .@i + 2) {
+ for (.@i = 0; .@i < getarraysize(.@n); .@i += 2) {
if (countitem(.@n[.@i]) >= .@n[.@i+1])
- set .@check, .@check + 1;
+ .@check += 1;
}
if (.@check >= 9) {
cutin "wish_maiden12",1;
@@ -2176,7 +2172,7 @@ que_qsch05,251,255,3 duplicate(Wish Maiden#main_boss) Wish Maiden#sch05_boss WIS
mes "[Wish Maiden]";
mes "I will open the gate for you to come back here.";
mes "...Okolnir won't last forever...";
- for (set .@i, 0; .@i < getarraysize(.@n); set .@i, .@i + 2)
+ for (.@i = 0; .@i < getarraysize(.@n); .@i += 2)
delitem .@n[.@i],.@n[.@i+1];
getitem .@rwd,1;
getitem 7840,1; //Valkyrie_Gift
@@ -2218,30 +2214,30 @@ que_qsch05,251,255,3 duplicate(Wish Maiden#main_boss) Wish Maiden#sch05_boss WIS
end;
OnEnable:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
enablenpc "Wish Maiden#"+.@sub$+"_gift";
initnpctimer;
end;
OnDisable:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
disablenpc "Wish Maiden#"+.@sub$+"_gift";
stopnpctimer;
end;
OnTimer280000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapannounce "que_q"+.@sub$,"Wish Maiden : ... Okolnir will soon disappear... I will send you back to where you originally came from.",bc_map,"0x00ff00";
end;
OnTimer290000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
mapwarp "que_q"+.@sub$,.@t$,157,369;
donpcevent "#to_agit_"+.@sub$+"_gate::OnDisable";
end;
OnTimer300000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
donpcevent "#okolnir_"+.@sub$+"::OnDisable";
setd "$@gqse_"+.@sub$+"_miro",0;
setd "$@gqse_"+.@sub$+"_pcc",0;
@@ -2251,9 +2247,9 @@ OnTimer300000:
donpcevent "#okolnir_"+.@sub$+"_time01::OnEnable";
stopnpctimer;
end;
-
+
OnInit:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
disablenpc "Wish Maiden#"+.@sub$+"_gift";
end;
}
@@ -2270,14 +2266,14 @@ que_qsch05,252,340,3 duplicate(Wish Maiden#main_gift) Wish Maiden#sch05_gift 4_F
- script #to_agit_main_gate -1,{
end;
-
+
OnTouch:
- set .@t$, ((compare(strnpcinfo(4),"aru"))?"arug_cas0":"schg_cas0")+(charat(strnpcinfo(4),getstrlen(strnpcinfo(4))-1));
+ .@t$ = ((compare(strnpcinfo(4),"aru"))?"arug_cas0":"schg_cas0")+(charat(strnpcinfo(4),getstrlen(strnpcinfo(4))-1));
warp .@t$,157,369;
end;
-
+
OnInit:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
disablenpc "#to_agit_"+.@sub$+"_gate";
end;
}
@@ -2296,20 +2292,20 @@ que_qsch05,252,339,0 duplicate(#to_agit_main_gate) #to_agit_sch05_gate WARPNPC,1
end;
OnEnable:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
setd "$gqse_"+.@sub$+"_time",0;
initnpctimer;
end;
OnReset:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
setd "$siz_"+.@sub$+"_on",0;
setd "$gqse_"+.@sub$+"_time",0;
stopnpctimer;
end;
OnTimer3600000:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
if (getd("$gqse_"+.@sub$+"_time") < 12) {
setd "$gqse_"+.@sub$+"_time",getd("$gqse_"+.@sub$+"_time")+1;
initnpctimer;
@@ -2323,9 +2319,9 @@ OnTimer3600000:
stopnpctimer;
}
end;
-
+
OnInit:
- set .@sub$,callfunc("F_Okolnir");
+ .@sub$ = callfunc("F_Okolnir");
if (getd("$siz_"+.@sub$+"_on") == 2) initnpctimer;
end;
}
diff --git a/npc/quests/partyrelay.txt b/npc/quests/partyrelay.txt
index 876fb735d..f7482ec65 100644
--- a/npc/quests/partyrelay.txt
+++ b/npc/quests/partyrelay.txt
@@ -15,8 +15,8 @@
payon,103,113,3 script Ledrion#payon::RelayLedrion 4_M_MANAGER,{
getpartymember(getcharid(1));
- set .@partymembercount,$@partymembercount;
- set .@partyleader,getpartyleader(getcharid(1),2);
+ .@partymembercount = $@partymembercount;
+ .@partyleader = getpartyleader(getcharid(1),2);
if (checkweight(907,300) == 0) {
mes "^3355FFWait a minute! You're";
mes "carrying too many items";
@@ -57,9 +57,9 @@ payon,103,113,3 script Ledrion#payon::RelayLedrion 4_M_MANAGER,{
mes "accomplishment. Here...";
mes "You deserve a real reward!";
next;
- set .@present,rand(1,7);
+ .@present = rand(1,7);
delitem 7741,1; //Mission_Certificate12
- set party_relay,0;
+ party_relay = 0;
getitem 644,6; //Gift_Box
getitem 603,3; //Old_Blue_Box
if (.@present == 2) {
@@ -126,7 +126,7 @@ payon,103,113,3 script Ledrion#payon::RelayLedrion 4_M_MANAGER,{
mes "effort thus far, and the";
mes "nineth ticket for your guild.";
delitem 7737,1; //Mission_Certificate8
- set party_relay,23;
+ party_relay = 23;
getitem 603,3; //Old_Blue_Box
getitem 617,1; //Old_Violet_Box
getitem 7738,1; //Mission_Certificate9
@@ -175,7 +175,7 @@ payon,103,113,3 script Ledrion#payon::RelayLedrion 4_M_MANAGER,{
mes "Class character, and tell";
mes "him to bring it to Gatan.";
delitem 7733,1; //Mission_Certificate4
- set party_relay,12;
+ party_relay = 12;
getitem 644,3; //Gift_Box
getitem 603,1; //Old_Blue_Box
getitem 7734,1; //Mission_Certificate5
@@ -240,7 +240,7 @@ payon,103,113,3 script Ledrion#payon::RelayLedrion 4_M_MANAGER,{
mes "ask him to bring it to Gatan.";
mes "The relay has started~";
next;
- set party_relay,2;
+ party_relay = 2;
getitem 7730,1; //Mission_Certificate1
mes "[Ledrion]";
mes "Now, since you're the";
@@ -352,7 +352,7 @@ payon,103,113,3 script Ledrion#payon::RelayLedrion 4_M_MANAGER,{
mes "me give you your first";
mes "set of instructions.";
next;
- set party_relay,1;
+ party_relay = 1;
mes "[Ledrion]";
mes "Just--^666666*Cough!*^000000";
mes "Lemme clear my";
@@ -383,8 +383,8 @@ payon,103,113,3 script Ledrion#payon::RelayLedrion 4_M_MANAGER,{
payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
getpartymember(getcharid(1));
- set .@partymembercount,$@partymembercount;
- set .@partyleader,getpartyleader(getcharid(1),2);
+ .@partymembercount = $@partymembercount;
+ .@partyleader = getpartyleader(getcharid(1),2);
if (checkweight(907,300) == 0) {
mes "^3355FFWait a minute! You're";
mes "carrying too many items";
@@ -401,7 +401,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "instructions, didn't you?";
close;
}
- set .@relaytime,gettime(3);
+ .@relaytime = gettime(3);
if (party_relay == 28) {
mes "[Gatan]";
mes "Say, I don't think it's";
@@ -420,7 +420,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "of your group, and ask him";
mes "to bring it to Bafhail. Ah, and";
mes "here's a little reward for you~";
- set party_relay,28;
+ party_relay = 28;
getitem 7739,1; //Mission_Certificate10
getitem 610,2; //Leaf_Of_Yggdrasil
getitem 607,2; //Yggdrasilberry
@@ -439,7 +439,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "I left it around somewhere--";
mes "and I'll give you your next set";
mes "of instructions. Hang on...";
- set party_relay,27;
+ party_relay = 27;
close;
}
else if ((party_relay == 26) && (BaseLevel > (party_relay_lv + 2)) && (.@relaytime >= 18) && (.@relaytime < 21)) {
@@ -450,7 +450,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "I left it around somewhere--";
mes "and I'll give you your next set";
mes "of instructions. Hang on...";
- set party_relay,27;
+ party_relay = 27;
close;
}
if (party_relay == 26) {
@@ -478,7 +478,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "I left it around somewhere--";
mes "and I'll give you your next set";
mes "of instructions. Hang on...";
- set party_relay,27;
+ party_relay = 27;
close;
}
else if ((party_relay == 25) && (BaseLevel > (party_relay_lv + 1)) && (.@relaytime >= 18) && (.@relaytime < 21)) {
@@ -489,7 +489,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "I left it around somewhere--";
mes "and I'll give you your next set";
mes "of instructions. Hang on...";
- set party_relay,27;
+ party_relay = 27;
close;
}
if (party_relay == 25) {
@@ -517,7 +517,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "I left it around somewhere--";
mes "and I'll give you your next set";
mes "of instructions. Hang on...";
- set party_relay,27;
+ party_relay = 27;
close;
}
else if ((party_relay == 24) && (BaseLevel > party_relay_lv) && (.@relaytime >= 18) && (.@relaytime < 21)) {
@@ -528,7 +528,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "I left it around somewhere--";
mes "and I'll give you your next set";
mes "of instructions. Hang on...";
- set party_relay,27;
+ party_relay = 27;
close;
}
if (party_relay == 24) {
@@ -573,7 +573,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Just don't tell anyone!";
next;
delitem 7738,1; //Mission_Certificate9
- set party_relay,27;
+ party_relay = 27;
mes "[Gatan]";
mes "Hold on a second...";
mes "I'm supposed to tell";
@@ -590,8 +590,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "and do that, alright?";
next;
delitem 7738,1; //Mission_Certificate9
- set party_relay,24;
- set party_relay_lv,BaseLevel;
+ party_relay = 24;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -609,8 +609,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "and do that, alright?";
next;
delitem 7738,1; //Mission_Certificate9
- set party_relay,24;
- set party_relay_lv,BaseLevel;
+ party_relay = 24;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -628,8 +628,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "and do that, alright?";
next;
delitem 7738,1; //Mission_Certificate9
- set party_relay,25;
- set party_relay_lv,BaseLevel;
+ party_relay = 25;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -647,8 +647,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "and do that, alright?";
next;
delitem 7738,1; //Mission_Certificate9
- set party_relay,25;
- set party_relay_lv,BaseLevel;
+ party_relay = 25;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -666,8 +666,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Levels for me, okay?";
next;
delitem 7738,1; //Mission_Certificate9
- set party_relay,26;
- set party_relay_lv,BaseLevel;
+ party_relay = 26;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -685,8 +685,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Levels for me, okay?";
next;
delitem 7738,1; //Mission_Certificate9
- set party_relay,26;
- set party_relay_lv,BaseLevel;
+ party_relay = 26;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -721,7 +721,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Just don't tell anyone!";
next;
delitem 7738,1; //Mission_Certificate9
- set party_relay,27;
+ party_relay = 27;
mes "[Gatan]";
mes "Hold on a second...";
mes "I'm supposed to tell";
@@ -738,8 +738,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "and do that, alright?";
next;
delitem 7738,1; //Mission_Certificate9
- set party_relay,24;
- set party_relay_lv,BaseLevel;
+ party_relay = 24;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -757,8 +757,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "and do that, alright?";
next;
delitem 7738,1; //Mission_Certificate9
- set party_relay,24;
- set party_relay_lv,BaseLevel;
+ party_relay = 24;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -776,8 +776,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "and do that, alright?";
next;
delitem 7738,1; //Mission_Certificate9
- set party_relay,25;
- set party_relay_lv,BaseLevel;
+ party_relay = 25;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -795,8 +795,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "and do that, alright?";
next;
delitem 7738,1; //Mission_Certificate9
- set party_relay,25;
- set party_relay_lv,BaseLevel;
+ party_relay = 25;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -814,8 +814,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Levels for me, okay?";
next;
delitem 7738,1; //Mission_Certificate9
- set party_relay,26;
- set party_relay_lv,BaseLevel;
+ party_relay = 26;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -833,8 +833,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Levels for me, okay?";
next;
delitem 7738,1; //Mission_Certificate9
- set party_relay,26;
- set party_relay_lv,BaseLevel;
+ party_relay = 26;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -886,7 +886,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "of your group, and ask him";
mes "to bring it to Bafhail. Ah, and";
mes "here's a little reward for you~";
- set party_relay,17;
+ party_relay = 17;
getitem 7735,1; //Mission_Certificate6
getitem 610,2; //Leaf_Of_Yggdrasil
callfunc "F_PartyRelay_Exp";
@@ -904,7 +904,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "I left it around somewhere--";
mes "and I'll give you your next set";
mes "of instructions. Hang on...";
- set party_relay,16;
+ party_relay = 16;
close;
}
else if ((party_relay == 15) && (BaseLevel > (party_relay_lv + 2)) && (.@relaytime >= 21) && (.@relaytime < 1)) {
@@ -915,7 +915,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "I left it around somewhere--";
mes "and I'll give you your next set";
mes "of instructions. Hang on...";
- set party_relay,16;
+ party_relay = 16;
close;
}
if (party_relay == 15) {
@@ -943,7 +943,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "I left it around somewhere--";
mes "and I'll give you your next set";
mes "of instructions. Hang on...";
- set party_relay,16;
+ party_relay = 16;
close;
}
else if ((party_relay == 14) && (BaseLevel > (party_relay_lv + 1)) && (.@relaytime >= 21)) {
@@ -954,7 +954,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "I left it around somewhere--";
mes "and I'll give you your next set";
mes "of instructions. Hang on...";
- set party_relay,16;
+ party_relay = 16;
close;
}
if (party_relay == 14) {
@@ -982,7 +982,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "I left it around somewhere--";
mes "and I'll give you your next set";
mes "of instructions. Hang on...";
- set party_relay,16;
+ party_relay = 16;
close;
}
else if ((party_relay == 13) && (BaseLevel > party_relay_lv) && (.@relaytime >= 21)) {
@@ -993,7 +993,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "I left it around somewhere--";
mes "and I'll give you your next set";
mes "of instructions. Hang on...";
- set party_relay,16;
+ party_relay = 16;
close;
}
if (party_relay == 13) {
@@ -1038,7 +1038,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Just don't tell anyone!";
next;
delitem 7734,1; //Mission_Certificate5
- set party_relay,16;
+ party_relay = 16;
mes "[Gatan]";
mes "Hold on a second...";
mes "I'm supposed to tell";
@@ -1055,8 +1055,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "and do that, alright?";
next;
delitem 7734,1; //Mission_Certificate5
- set party_relay,13;
- set party_relay_lv,BaseLevel;
+ party_relay = 13;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -1074,8 +1074,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "and do that, alright?";
next;
delitem 7734,1; //Mission_Certificate5
- set party_relay,13;
- set party_relay_lv,BaseLevel;
+ party_relay = 13;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -1093,8 +1093,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "and do that, alright?";
next;
delitem 7734,1; //Mission_Certificate5
- set party_relay,14;
- set party_relay_lv,BaseLevel;
+ party_relay = 14;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -1112,8 +1112,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "and do that, alright?";
next;
delitem 7734,1; //Mission_Certificate5
- set party_relay,14;
- set party_relay_lv,BaseLevel;
+ party_relay = 14;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -1131,8 +1131,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Levels for me, okay?";
next;
delitem 7734,1; //Mission_Certificate5
- set party_relay,15;
- set party_relay_lv,BaseLevel;
+ party_relay = 15;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -1150,8 +1150,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Levels for me, okay?";
next;
delitem 7734,1; //Mission_Certificate5
- set party_relay,15;
- set party_relay_lv,BaseLevel;
+ party_relay = 15;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -1186,7 +1186,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Just don't tell anyone!";
next;
delitem 7734,1; //Mission_Certificate5
- set party_relay,16;
+ party_relay = 16;
mes "[Gatan]";
mes "Hold on a second...";
mes "I'm supposed to tell";
@@ -1203,8 +1203,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "and do that, alright?";
next;
delitem 7734,1; //Mission_Certificate5
- set party_relay,13;
- set party_relay_lv,BaseLevel;
+ party_relay = 13;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -1222,8 +1222,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "and do that, alright?";
next;
delitem 7734,1; //Mission_Certificate5
- set party_relay,13;
- set party_relay_lv,BaseLevel;
+ party_relay = 13;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -1241,8 +1241,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "and do that, alright?";
next;
delitem 7734,1; //Mission_Certificate5
- set party_relay,14;
- set party_relay_lv,BaseLevel;
+ party_relay = 14;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -1260,8 +1260,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "and do that, alright?";
next;
delitem 7734,1; //Mission_Certificate5
- set party_relay,14;
- set party_relay_lv,BaseLevel;
+ party_relay = 14;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -1279,8 +1279,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Levels for me, okay?";
next;
delitem 7734,1; //Mission_Certificate5
- set party_relay,15;
- set party_relay_lv,BaseLevel;
+ party_relay = 15;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -1298,8 +1298,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Levels for me, okay?";
next;
delitem 7734,1; //Mission_Certificate5
- set party_relay,15;
- set party_relay_lv,BaseLevel;
+ party_relay = 15;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -1357,7 +1357,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Just a little";
mes "something for";
mes "your troubles~";
- set party_relay,6;
+ party_relay = 6;
getitem 7731,1; //Mission_Certificate2
getitem 607,2; //Yggdrasilberry
callfunc "F_PartyRelay_Exp";
@@ -1378,7 +1378,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "sees them. Now, you mind";
mes "waiting a bit? Um, there's";
mes "something I have to give you...";
- set party_relay,5;
+ party_relay = 5;
close;
}
else if ((party_relay == 4) && (BaseLevel > (party_relay_lv + 2)) && ((.@relaytime >= 0) && (.@relaytime < 3))) {
@@ -1389,7 +1389,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "sees them. Now, you mind";
mes "waiting a bit? Um, there's";
mes "something I have to give you...";
- set party_relay,5;
+ party_relay = 5;
close;
}
if (party_relay == 4) {
@@ -1417,7 +1417,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "sees them. Now, you mind";
mes "waiting a bit? Um, there's";
mes "something I have to give you...";
- set party_relay,5;
+ party_relay = 5;
close;
}
else if ((party_relay == 3) && (BaseLevel > (party_relay_lv + 1)) && ((.@relaytime >= 0) && (.@relaytime < 3))) {
@@ -1428,7 +1428,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "sees them. Now, you mind";
mes "waiting a bit? Um, there's";
mes "something I have to give you...";
- set party_relay,5;
+ party_relay = 5;
close;
}
if (party_relay == 3) {
@@ -1456,7 +1456,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "sees them. Now, you mind";
mes "waiting a bit? Um, there's";
mes "something I have to give you...";
- set party_relay,5;
+ party_relay = 5;
close;
}
else if ((party_relay == 99) && (BaseLevel > party_relay_lv) && ((.@relaytime >= 0) && (.@relaytime < 3))) {
@@ -1467,7 +1467,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "sees them. Now, you mind";
mes "waiting a bit? Um, there's";
mes "something I have to give you...";
- set party_relay,5;
+ party_relay = 5;
close;
}
if (party_relay == 99) {
@@ -1513,7 +1513,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Just don't tell anyone!";
next;
delitem 7730,1; //Mission_Certificate1
- set party_relay,5;
+ party_relay = 5;
mes "[Gatan]";
mes "Hold on a second...";
mes "I'm supposed to tell";
@@ -1530,8 +1530,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "and do that, alright?";
next;
delitem 7730,1; //Mission_Certificate1
- set party_relay,99;
- set party_relay_lv,BaseLevel;
+ party_relay = 99;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -1549,8 +1549,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "and do that, alright?";
next;
delitem 7730,1; //Mission_Certificate1
- set party_relay,99;
- set party_relay_lv,BaseLevel;
+ party_relay = 99;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -1568,8 +1568,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "and do that, alright?";
next;
delitem 7730,1; //Mission_Certificate1
- set party_relay,3;
- set party_relay_lv,BaseLevel;
+ party_relay = 3;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -1587,8 +1587,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "and do that, alright?";
next;
delitem 7730,1; //Mission_Certificate1
- set party_relay,3;
- set party_relay_lv,BaseLevel;
+ party_relay = 3;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -1606,8 +1606,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Levels for me, okay?";
next;
delitem 7730,1; //Mission_Certificate1
- set party_relay,4;
- set party_relay_lv,BaseLevel;
+ party_relay = 4;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -1625,8 +1625,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Levels for me, okay?";
next;
delitem 7730,1; //Mission_Certificate1
- set party_relay,4;
- set party_relay_lv,BaseLevel;
+ party_relay = 4;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -1662,7 +1662,7 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Just don't tell anyone!";
next;
delitem 7730,1; //Mission_Certificate1
- set party_relay,5;
+ party_relay = 5;
mes "[Gatan]";
mes "Hold on a second...";
mes "I'm supposed to tell";
@@ -1679,8 +1679,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "and do that, alright?";
next;
delitem 7730,1; //Mission_Certificate1
- set party_relay,99;
- set party_relay_lv,BaseLevel;
+ party_relay = 99;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -1698,8 +1698,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "and do that, alright?";
next;
delitem 7730,1; //Mission_Certificate1
- set party_relay,99;
- set party_relay_lv,BaseLevel;
+ party_relay = 99;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -1717,8 +1717,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "and do that, alright?";
next;
delitem 7730,1; //Mission_Certificate1
- set party_relay,3;
- set party_relay_lv,BaseLevel;
+ party_relay = 3;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -1736,8 +1736,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "and do that, alright?";
next;
delitem 7730,1; //Mission_Certificate1
- set party_relay,3;
- set party_relay_lv,BaseLevel;
+ party_relay = 3;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -1755,8 +1755,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Levels for me, okay?";
next;
delitem 7730,1; //Mission_Certificate1
- set party_relay,4;
- set party_relay_lv,BaseLevel;
+ party_relay = 4;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll go ahead and take";
mes "your ticket now. Come";
@@ -1774,8 +1774,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
mes "Levels for me, okay?";
next;
delitem 7730,1; //Mission_Certificate1
- set party_relay,4;
- set party_relay_lv,BaseLevel;
+ party_relay = 4;
+ party_relay_lv = BaseLevel;
mes "[Gatan]";
mes "I'll keep your ticket.";
mes "When you're finished, please come back.";
@@ -1818,8 +1818,8 @@ payon,83,327,3 script Gatan#payon::RelayGatan 4_M_04,{
payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
getpartymember(getcharid(1));
- set .@partymembercount,$@partymembercount;
- set .@partyleader,getpartyleader(getcharid(1),2);
+ .@partymembercount = $@partymembercount;
+ .@partyleader = getpartyleader(getcharid(1),2);
if (checkweight(907,300) == 0) {
mes "^3355FFWait a minute! You're";
mes "carrying too many items";
@@ -1837,7 +1837,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "with any of the other guys?";
close;
}
- set .@relaytime,gettime(3);
+ .@relaytime = gettime(3);
if (party_relay == 30) {
mes "[Bafhail]";
mes "Did you give that ticket";
@@ -1858,7 +1858,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
delitem 1012,20; //Lizard_Scruff
delitem 1048,20; //Slender_Snake
delitem 7003,20; //Anolian_Skin
- set party_relay,30;
+ party_relay = 30;
getitem 7740,1; //Mission_Certificate11
getitem 610,2; //Leaf_Of_Yggdrasil
getitem 607,2; //Yggdrasilberry
@@ -1883,7 +1883,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
delitem 1012,20; //Lizard_Scruff
delitem 1048,20; //Slender_Snake
delitem 7003,20; //Anolian_Skin
- set party_relay,30;
+ party_relay = 30;
getitem 7740,1; //Mission_Certificate11
getitem 610,2; //Leaf_Of_Yggdrasil
getitem 607,2; //Yggdrasilberry
@@ -1931,7 +1931,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "^4D4DFF20 Horrendous Hairs^000000.";
next;
delitem 7739,1; //Mission_Certificate10
- set party_relay,29;
+ party_relay = 29;
mes "[Bafhail]";
mes "Understood?";
mes "Alright then, if you'll";
@@ -1958,7 +1958,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "^4D4DFF20 Horrendous Hairs^000000.";
next;
delitem 7739,1; //Mission_Certificate10
- set party_relay,29;
+ party_relay = 29;
mes "[Bafhail]";
mes "Understood?";
mes "Understood?";
@@ -2006,7 +2006,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
delitem 1015,10; //Thin_N'_Long_Tongue
delitem 7172,10; //Leopard_Talon
delitem 7155,10; //Poison_Toad's_Skin
- set party_relay,20;
+ party_relay = 20;
getitem 7736,1; //Mission_Certificate7
getitem 610,2; //Leaf_Of_Yggdrasil
callfunc "F_PartyRelay_Exp";
@@ -2030,7 +2030,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
delitem 1015,10; //Thin_N'_Long_Tongue
delitem 7172,10; //Leopard_Talon
delitem 7155,10; //Poison_Toad's_Skin
- set party_relay,20;
+ party_relay = 20;
getitem 7736,1; //Mission_Certificate7
getitem 610,2; //Leaf_Of_Yggdrasil
callfunc "F_PartyRelay_Exp";
@@ -2072,7 +2072,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
delitem 7157,10; //Black_Mask
delitem 1021,10; //Dokkaebi_Horn
delitem 7101,10; //Peco_Wing_Feather
- set party_relay,20;
+ party_relay = 20;
getitem 7736,1; //Mission_Certificate7
getitem 610,2; //Leaf_Of_Yggdrasil
callfunc "F_PartyRelay_Exp";
@@ -2096,7 +2096,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
delitem 7157,10; //Black_Mask
delitem 1021,10; //Dokkaebi_Horn
delitem 7101,10; //Peco_Wing_Feather
- set party_relay,20;
+ party_relay = 20;
getitem 7736,1; //Mission_Certificate7
getitem 610,2; //Leaf_Of_Yggdrasil
callfunc "F_PartyRelay_Exp";
@@ -2156,7 +2156,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "^4D4DFF10 PecoPeco Feathers^000000.";
next;
delitem 7735,1; //Mission_Certificate6
- set party_relay,18;
+ party_relay = 18;
mes "[Bafhail]";
mes "Understood?";
mes "Alright then, if you'll";
@@ -2188,7 +2188,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "^4D4DFF10 Poisonous Toad Skins^000000.";
next;
delitem 7735,1; //Mission_Certificate6
- set party_relay,19;
+ party_relay = 19;
mes "[Bafhail]";
mes "Understood?";
mes "Alright then, if you'll";
@@ -2236,7 +2236,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
delitem 7196,10; //Shoulder_Protection
delitem 7189,10; //Heart_Of_Tree
delitem 920,10; //Claw_Of_Wolves
- set party_relay,9;
+ party_relay = 9;
getitem 7732,1; //Mission_Certificate3
getitem 607,2; //Yggdrasilberry
callfunc "F_PartyRelay_Exp";
@@ -2259,7 +2259,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
delitem 7196,10; //Shoulder_Protection
delitem 7189,10; //Heart_Of_Tree
delitem 920,10; //Claw_Of_Wolves
- set party_relay,9;
+ party_relay = 9;
getitem 7732,1; //Mission_Certificate3
getitem 607,2; //Yggdrasilberry
callfunc "F_PartyRelay_Exp";
@@ -2301,7 +2301,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
delitem 1027,10; //Porcupine_Spike
delitem 1040,10; //Elder_Pixie's_Beard
delitem 1023,10; //Fish_Tail
- set party_relay,9;
+ party_relay = 9;
getitem 7732,1; //Mission_Certificate3
mes "[Bafhail]";
mes "Please give that";
@@ -2323,7 +2323,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
delitem 1027,10; //Porcupine_Spike
delitem 1040,10; //Elder_Pixie's_Beard
delitem 1023,10; //Fish_Tail
- set party_relay,9;
+ party_relay = 9;
getitem 7732,1; //Mission_Certificate3
mes "[Bafhail]";
mes "Please give that";
@@ -2373,7 +2373,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "^4D4DFF10 Shoulder Protectors^000000";
next;
delitem 7731,1; //Mission_Certificate2
- set party_relay,8;
+ party_relay = 8;
mes "[Bafhail]";
mes "Remember that I won't";
mes "accept your items, even";
@@ -2405,7 +2405,7 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
mes "^4D4DFF10 Elder Pixie's Moustaches^000000";
next;
delitem 7731,1; //Mission_Certificate2
- set party_relay,7;
+ party_relay = 7;
mes "[Bafhail]";
mes "Remember that I won't";
mes "accept your items, even";
@@ -2451,8 +2451,8 @@ payon,204,221,3 script Bafhail#payon::RelayBafhail 4_M_JOB_BLACKSMITH,{
payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
getpartymember(getcharid(1));
- set .@partymembercount,$@partymembercount;
- set .@partyleader,getpartyleader(getcharid(1),2);
+ .@partymembercount = $@partymembercount;
+ .@partyleader = getpartyleader(getcharid(1),2);
if (checkweight(907,300) == 0) {
mes "^3355FFWait a minute! You're";
mes "carrying too many items";
@@ -2471,9 +2471,9 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "have to meet either, but...";
close;
}
- set .@relaytime,gettime(3);
+ .@relaytime = gettime(3);
getmapxy(.@m$,.@x,.@y,1,strnpcinfo(3));
- set .@juwi,getareausers(.@m$,.@x-8,.@y-8,.@x+8,.@y+8);
+ .@juwi = getareausers(.@m$,.@x-8,.@y-8,.@x+8,.@y+8);
if (party_relay == 32) {
mes "[Lospii]";
mes "Hey! Did you give";
@@ -2498,7 +2498,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "For that, you get this";
mes "gift from me. Cool, huh?";
next;
- set party_relay,32;
+ party_relay = 32;
getitem 7741,1; //Mission_Certificate12
getitem 610,2; //Leaf_Of_Yggdrasil
getitem 607,2; //Yggdrasilberry
@@ -2535,7 +2535,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "For that, you get this";
mes "gift from me. Cool, huh?";
next;
- set party_relay,32;
+ party_relay = 32;
getitem 7741,1; //Mission_Certificate12
getitem 610,2; //Leaf_Of_Yggdrasil
getitem 607,2; //Yggdrasilberry
@@ -2599,7 +2599,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "friends, not some other guys.";
next;
delitem 7740,1; //Mission_Certificate11
- set party_relay,31;
+ party_relay = 31;
mes "[Lospii]";
mes "Okay, I'll be right";
mes "here! Oh! And you have";
@@ -2640,7 +2640,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "friends, not some other guys.";
next;
delitem 7740,1; //Mission_Certificate11
- set party_relay,31;
+ party_relay = 31;
mes "[Lospii]";
mes "Okay, I'll be right";
mes "here! Oh! And you have";
@@ -2697,7 +2697,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "For that, you get this";
mes "gift from me. Cool, huh?";
next;
- set party_relay,22;
+ party_relay = 22;
getitem 7737,1; //Mission_Certificate8
getitem 610,2; //Leaf_Of_Yggdrasil
callfunc "F_PartyRelay_Exp";
@@ -2733,7 +2733,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "For that, you get this";
mes "gift from me. Cool, huh?";
next;
- set party_relay,22;
+ party_relay = 22;
getitem 7737,1; //Mission_Certificate8
getitem 610,2; //Leaf_Of_Yggdrasil
callfunc "F_PartyRelay_Exp";
@@ -2796,7 +2796,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "friends, not some other guys.";
next;
delitem 7736,1; //Mission_Certificate7
- set party_relay,21;
+ party_relay = 21;
mes "[Lospii]";
mes "Okay, I'll be right";
mes "here! Oh! And you have";
@@ -2837,7 +2837,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "friends, not some other guys.";
next;
delitem 7736,1; //Mission_Certificate7
- set party_relay,21;
+ party_relay = 21;
mes "[Lospii]";
mes "Okay, I'll be right";
mes "here! Oh! And you have";
@@ -2894,7 +2894,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "For that, you get this";
mes "gift from me. Cool, huh?";
next;
- set party_relay,11;
+ party_relay = 11;
getitem 7733,1; //Mission_Certificate4
getitem 607,2; //Yggdrasilberry
callfunc "F_PartyRelay_Exp";
@@ -2930,7 +2930,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "For that, you get this";
mes "gift from me. Cool, huh?";
next;
- set party_relay,11;
+ party_relay = 11;
getitem 7733,1; //Mission_Certificate4
getitem 607,2; //Yggdrasilberry
callfunc "F_PartyRelay_Exp";
@@ -2993,7 +2993,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "friends, not some other guys.";
next;
delitem 7732,1; //Mission_Certificate3
- set party_relay,10;
+ party_relay = 10;
mes "[Lospii]";
mes "Okay, I'll be right";
mes "here! Oh! And you have";
@@ -3034,7 +3034,7 @@ payon,168,314,3 script Lospii#payon::RelayLospii 4_M_KID1,{
mes "friends, not some other guys.";
next;
delitem 7732,1; //Mission_Certificate3
- set party_relay,10;
+ party_relay = 10;
mes "[Lospii]";
mes "Okay, I'll be right";
mes "here! Oh! And you have";
diff --git a/npc/quests/quests_13_1.txt b/npc/quests/quests_13_1.txt
index a66038181..7bed6a624 100644
--- a/npc/quests/quests_13_1.txt
+++ b/npc/quests/quests_13_1.txt
@@ -158,7 +158,7 @@ prt_castle,121,51,3 script Alliance Manager#prt 4_M_CRU_OLD,{
mes "Always be careful not to get lost.";
next;
changequest 10068,10069;
- set ep13_ryu,13;
+ ep13_ryu = 13;
mes "[Alliance Manager]";
mes "Thanks for reporting to us.";
mes "We are better prepared.";
@@ -267,7 +267,7 @@ prt_castle,83,67,5 script Recruiter for the Brave 4_M_MANAGER,{
mes "Remember, go to ^FF0000Lighthalzen^000000, then follow the directions of the guide there.";
next;
changequest 10064,10065;
- set ep13_ryu,9;
+ ep13_ryu = 9;
if (checkre(3))
getexp 66000,21000;
else
@@ -332,7 +332,7 @@ prt_castle,83,67,5 script Recruiter for the Brave 4_M_MANAGER,{
mes "They will take care of everything, if you say that you've been sent by the Recruiter in Prontera.";
next;
setquest 10057;
- set ep13_ryu,1;
+ ep13_ryu = 1;
mes "[Recruiter]";
mes "Time is zeny, just go.";
mes "As soon as you visit the Promotional Staff, you will be allowed to travel to the unknown land.";
@@ -402,7 +402,7 @@ aldebaran,127,138,3 script Promotional Staff#alde 4W_SAILOR,{
next;
delitem 909,300; //Jellopy
changequest 10058,10059;
- set ep13_ryu,3;
+ ep13_ryu = 3;
mes "[Promotional Staff]";
mes "Anyway you did the first step.";
mes "Bless you!";
@@ -440,7 +440,7 @@ aldebaran,127,138,3 script Promotional Staff#alde 4W_SAILOR,{
mes "Are you ready?";
next;
changequest 10057,10058;
- set ep13_ryu,2;
+ ep13_ryu = 2;
mes "[Promotional Staff]";
mes "Just go ahead and hunt monsters, or whatever and collect 300 jellopies.";
mes "Then we can go forward.";
@@ -497,7 +497,7 @@ geffen,90,67,3 script Promotional Staff#gef 4W_SAILOR,{
next;
delitem 723,1; //Cardinal_Jewel
changequest 10061,10062;
- set ep13_ryu,6;
+ ep13_ryu = 6;
mes "[Promotional Staff]";
mes "I hope you can do it!";
mes "Good luck!";
@@ -526,7 +526,7 @@ geffen,90,67,3 script Promotional Staff#gef 4W_SAILOR,{
next;
delitem 721,1; //Azure_Jewel
changequest 10060,10061;
- set ep13_ryu,5;
+ ep13_ryu = 5;
mes "[Promotional Staff]";
mes "Please bring me a Ruby.";
mes "As I mentioned, this is the second request.";
@@ -555,7 +555,7 @@ geffen,90,67,3 script Promotional Staff#gef 4W_SAILOR,{
mes "Are you ready?";
next;
changequest 10059,10060;
- set ep13_ryu,4;
+ ep13_ryu = 4;
mes "[Promotional Staff]";
mes "Just bring me ^ff00001 Emerald^000000.";
mes "That isn't hard for you right?";
@@ -625,7 +625,7 @@ geffen,90,67,3 script Promotional Staff#gef 4W_SAILOR,{
mes "job, friend!";
next;
changequest 10063,10064;
- set ep13_ryu,8;
+ ep13_ryu = 8;
mes "[Promotional Staff]";
mes "Bless all of your heart,";
mes "for your great future!";
@@ -670,7 +670,7 @@ geffen,90,67,3 script Promotional Staff#gef 4W_SAILOR,{
mes "Good job, friend!";
next;
changequest 10062,10064;
- set ep13_ryu,8;
+ ep13_ryu = 8;
mes "[Promotional Staff]";
mes "May Freya bless you,";
mes "for your great future!";
@@ -687,7 +687,7 @@ geffen,90,67,3 script Promotional Staff#gef 4W_SAILOR,{
mes "I can't let you pass.";
next;
changequest 10062,10063;
- set ep13_ryu,7;
+ ep13_ryu = 7;
mes "[Promotional Staff]";
mes "Please level up a little more. I";
mes "can't accept that you're strong";
@@ -833,7 +833,7 @@ lhz_in01,132,259,5 script Sikaiz#1 4_M_LGTGUARD,{
mes "It would bear watching you.";
next;
changequest 10073,10074;
- set ep13_ryu,18;
+ ep13_ryu = 18;
mes "[Sikaiz]";
mes "See you then.";
close;
@@ -869,7 +869,7 @@ lhz_in01,132,259,5 script Sikaiz#1 4_M_LGTGUARD,{
mes "You need to investigate and report to us as much as possible. That's not that tough.";
next;
changequest 10072,10073;
- set ep13_ryu,17;
+ ep13_ryu = 17;
mes "[Sikaiz]";
mes "Don't worry so much.";
mes "We will support you.";
@@ -905,7 +905,7 @@ lhz_in01,132,259,5 script Sikaiz#1 4_M_LGTGUARD,{
mes "I feel like I am forcing you, but I hope to get your help. Go to the ^FF0000Cheshrumnir Guard^000000 in Rachel and deliver Munkenro's message for me.";
next;
changequest 10070,10071;
- set ep13_ryu,15;
+ ep13_ryu = 15;
mes "[Sikaiz]";
mes "It's the same mission you did for Rune-Midgarts, so it shouldn't be that hard. I hope you can do it.";
close;
@@ -959,7 +959,7 @@ lhz_in01,132,259,5 script Sikaiz#1 4_M_LGTGUARD,{
mes "He is a kind of manager for Schwaltzvald and he is the main contact point of the kingdom's people, since he's quite closely in communication with them.";
next;
changequest 10069,10070;
- set ep13_ryu,14;
+ ep13_ryu = 14;
mes "[Sikaiz]";
mes "That's enough talk about the three kingdoms. Now, let's move on to the next stories.";
close;
@@ -984,7 +984,7 @@ lhz_in01,132,259,5 script Sikaiz#1 4_M_LGTGUARD,{
mes "It's not that difficult. Just tell them to prepare for the trip to the Dimensional Rift. It's quite easy, isn't it?";
next;
changequest 10067,10068;
- set ep13_ryu,12;
+ ep13_ryu = 12;
mes "[Sikaiz]";
mes "We're running out of time, so I will answer you when you come back. Ok?";
close;
@@ -1059,7 +1059,7 @@ lhz_in01,132,259,5 script Sikaiz#1 4_M_LGTGUARD,{
mes "Anyway, I told you about Ash-Vacuum. What I know about it all. Though you still don't know much about it, that's all I can tell you.";
next;
changequest 10066,10067;
- set ep13_ryu,11;
+ ep13_ryu = 11;
mes "[Sikaiz]";
mes "If you have any other questions, you can still ask me...";
close;
@@ -1086,7 +1086,7 @@ lhz_in01,132,259,5 script Sikaiz#1 4_M_LGTGUARD,{
mes "You all should be relaxed about completing this mission. If there are more adventurers to register, let them come to me.";
next;
changequest 10065,10066;
- set ep13_ryu,10;
+ ep13_ryu = 10;
mes "- The speech has ended. -";
mes "- Let's move on. -";
close;
@@ -1355,7 +1355,7 @@ ra_temple,119,113,3 script Alliance Manager#ra 4_M_TRAINEE,{
mes "We're all together for this mission now... They would sacrifice for Freya.";
next;
changequest 10071,10072;
- set ep13_ryu,16;
+ ep13_ryu = 16;
mes "[Manager]";
mes "Now you can go back.";
mes "Just say I received the report of the status well.";
@@ -1413,7 +1413,7 @@ lhz_in01,32,22,3 script Officer A 4_M_MANAGER,{
mes "...or whatever you do...";
next;
changequest 10075,10076;
- set ep13_ryu,20;
+ ep13_ryu = 20;
mes "[Officer A]";
mes "Just return there. Good job.";
close;
@@ -1469,7 +1469,7 @@ lhz_in01,32,22,3 script Officer A 4_M_MANAGER,{
mes "Let's talk about it later.";
next;
changequest 10074,10075;
- set ep13_ryu,19;
+ ep13_ryu = 19;
mes "[Officer B]";
mes "Um, what's your business?";
close;
@@ -1522,7 +1522,7 @@ lhz_in01,30,24,5 script Officer B 4_M_MANAGER,{
mes "...or whatever you do...";
next;
changequest 10075,10076;
- set ep13_ryu,20;
+ ep13_ryu = 20;
mes "[Officer A]";
mes "Just return there. Good job.";
close;
@@ -1578,7 +1578,7 @@ lhz_in01,30,24,5 script Officer B 4_M_MANAGER,{
mes "Let's talk about it later.";
next;
changequest 10074,10075;
- set ep13_ryu,19;
+ ep13_ryu = 19;
mes "[Officer B]";
mes "Um, what's your business?";
close;
@@ -1711,7 +1711,7 @@ moc_fild22b,230,197,5 script Munkenro#2 4_M_RUSMAN1,{
mes "This can prove that you're strong enough. That's the minimum test I can perform.";
next;
changequest 10076,10077;
- set ep13_ryu,21;
+ ep13_ryu = 21;
mes "[Munkenro]";
mes "Once you get ready,";
mes "just let me know.";
@@ -1727,7 +1727,7 @@ moc_fild22b,230,197,5 script Munkenro#2 4_M_RUSMAN1,{
mes "[Munkenro]";
mes "Ok, just have a good adventure.";
next;
- set ep13_ryu,22;
+ ep13_ryu = 22;
changequest 10077,10078;
donpcevent "Head of the Alliance#moo::OnEnable";
mes "[Munkenro]";
@@ -1752,8 +1752,8 @@ moc_fild22b,230,197,5 script Munkenro#2 4_M_RUSMAN1,{
mes "I will give you one more chance.";
mes "Don't make any mistakes again.";
next;
- set ep13_ryu,21;
- set $@ep13_test,0;
+ ep13_ryu = 21;
+ $@ep13_test = 0;
mes "[Munkenro]";
mes "Once you get ready,";
mes "just let me know,";
@@ -1782,7 +1782,7 @@ moc_fild22b,230,197,5 script Munkenro#2 4_M_RUSMAN1,{
mes "Just forget it.";
next;
completequest 10078;
- set ep13_ryu,100;
+ ep13_ryu = 100;
if (checkre(3))
getexp 66000,21000;
else
@@ -1802,7 +1802,7 @@ OnInit:
OnEnable:
mapannounce "moc_fild22b","Head of the Alliance: I command that all soldiers attack the adventurers around here for 15 minutes. This is an order!",bc_map;
enablenpc "Head of the Alliance#moo";
- set $@ep13_test,1;
+ $@ep13_test = 1;
initnpctimer;
monster "moc_fild22b",0,0,"Allied Soldier",1851,80,"Head of the Alliance#moo::OnMyMobDead";
end;
@@ -1814,7 +1814,7 @@ OnReset:
OnDisable:
killmonster "moc_fild22b","Head of the Alliance#moo::OnMyMobDead";
mapannounce "moc_fild22b","Head of the Alliance: All alliance members. All of you should stop your attacks and return to work. That's all.",bc_map;
- set $@ep13_test,0;
+ $@ep13_test = 0;
disablenpc "Head of the Alliance#moo";
end;
@@ -1827,7 +1827,7 @@ OnMyMobDead:
OnTimer900000:
killmonster "moc_fild22b","Head of the Alliance#moo::OnMyMobDead";
mapannounce "moc_fild22b","Head of the Alliance: All alliance members. All of you should stop your attacks and return to work. That's all.",bc_map;
- set $@ep13_test,2;
+ $@ep13_test = 2;
disablenpc "Head of the Alliance#moo";
stopnpctimer;
end;
@@ -1925,7 +1925,7 @@ moc_fild22b,370,370,3 script Allied Manager#gm 4W_SAILOR,{
mes "[Manager]";
mes "Please enter the password.";
next;
- set .@i, callfunc("F_GM_NPC",8028,0,0,9000);
+ .@i = callfunc("F_GM_NPC",8028,0,0,9000);
if (.@i == -2) {
mes "[Manager]";
mes "Incorrect password.";
@@ -1946,7 +1946,7 @@ moc_fild22b,370,370,3 script Allied Manager#gm 4W_SAILOR,{
case 1:
mes "[Manager]";
mes "Resetting the allied attacks.";
- set $@ep13_test,2;
+ $@ep13_test = 2;
disablenpc "Head of the Alliance#moo";
close;
case 2:
@@ -1990,7 +1990,7 @@ mid_camp,222,283,4 script Marian#ep13bs 4_F_JOB_HUNTER,{
mes "[Marian]";
mes "Go to the right to find";
mes "^0000FFInstructor Lugen^000000.";
- set ep13_newbs,1;
+ ep13_newbs = 1;
getitem 12322,1; //Chocolate_Pie
setquest 11084;
close;
@@ -2009,7 +2009,7 @@ mid_camp,222,283,4 script Marian#ep13bs 4_F_JOB_HUNTER,{
mes "Go to the right along this way";
mes "and you'll find ^0000FFInstructor Lugen^000000.";
mes "Talk to him, first.";
- set ep13_newbs,1;
+ ep13_newbs = 1;
getitem 12322,1; //Chocolate_Pie
setquest 11084;
close;
@@ -2061,16 +2061,16 @@ mid_camp,222,283,4 script Marian#ep13bs 4_F_JOB_HUNTER,{
mes "Here they are!";
mes "And this is for you.";
mes "Go, go~~";
- set ep13_newbs,14;
+ ep13_newbs = 14;
getitem 6045,3; //Supply_Box
getitem 12322,1; //Chocolate_Pie
changequest 11091,11092;
close;
}
if (ep13_newbs > 13 && ep13_newbs < 20) {
- if (ep13_newbs < 16) set .@i,3;
- else if (ep13_newbs < 18) set .@i,2;
- else set .@i,1;
+ if (ep13_newbs < 16) .@i = 3;
+ else if (ep13_newbs < 18) .@i = 2;
+ else .@i = 1;
if (countitem(6045) < .@i) {
mes "[Marian]";
mes "Ha! You misplaced the Supply Box?!";
@@ -2173,14 +2173,14 @@ mid_camp,261,284,4 script Instructor#ep13bs 4_M_YOUNGKNIGHT,{
mes "registration, come back";
mes "to me and I will assign";
mes "your accomodations.";
- set ep13_newbs,3;
+ ep13_newbs = 3;
changequest 11084,11085;
close;
case 2:
mes "[Instructor Lugen]";
mes "You don't want to join?";
mes "If you change your mind, come back later.";
- set ep13_newbs,2;
+ ep13_newbs = 2;
close;
}
}
@@ -2209,7 +2209,7 @@ mid_camp,261,284,4 script Instructor#ep13bs 4_M_YOUNGKNIGHT,{
mes "registration, come back";
mes "to me and I will assign";
mes "your accomodations.";
- set ep13_newbs,3;
+ ep13_newbs = 3;
changequest 11084,11085;
close;
case 2:
@@ -2247,7 +2247,7 @@ mid_camp,261,284,4 script Instructor#ep13bs 4_M_YOUNGKNIGHT,{
mes "You need to share the barracks";
mes "with others, so make sure to";
mes "talk with them while you're there.";
- set ep13_newbs,5;
+ ep13_newbs = 5;
getitem 12322,1; //Chocolate_Pie
completequest 11086;
close;
@@ -2280,7 +2280,7 @@ mid_camp,261,284,4 script Instructor#ep13bs 4_M_YOUNGKNIGHT,{
mes "whom you met when";
mes "you first came here and";
mes "get the supplies from her.";
- set ep13_newbs,13;
+ ep13_newbs = 13;
getitem 12322,1; //Chocolate_Pie
setquest 11091;
close;
@@ -2310,7 +2310,7 @@ mid_camp,261,284,4 script Instructor#ep13bs 4_M_YOUNGKNIGHT,{
mes "The first box should be sent to";
mes "Jan, northwest of the camp.";
mes "She may be around the fence.";
- set ep13_newbs,15;
+ ep13_newbs = 15;
changequest 11092,11093;
close;
}
@@ -2356,7 +2356,7 @@ mid_camp,261,284,4 script Instructor#ep13bs 4_M_YOUNGKNIGHT,{
next;
mes "[Instructor Lugen]";
mes "Freya be with you.";
- set ep13_newbs,17;
+ ep13_newbs = 17;
changequest 11094,11095;
close;
}
@@ -2412,7 +2412,7 @@ mid_camp,261,284,4 script Instructor#ep13bs 4_M_YOUNGKNIGHT,{
next;
mes "[Instructor Lugen]";
mes "Please deliver it to him.";
- set ep13_newbs,19;
+ ep13_newbs = 19;
changequest 11096,11097;
close;
}
@@ -2456,7 +2456,7 @@ mid_camp,261,284,4 script Instructor#ep13bs 4_M_YOUNGKNIGHT,{
mes "I have more things";
mes "to do now, ha...";
emotion e_pif;
- set ep13_newbs,21;
+ ep13_newbs = 21;
completequest 11098;
close;
}
@@ -2539,7 +2539,7 @@ mid_camp,261,284,4 script Instructor#ep13bs 4_M_YOUNGKNIGHT,{
mes "My friend, Otto, is working";
mes "on the barrier in the west.";
mes "Please give it to him.";
- set ep13_newbs,23;
+ ep13_newbs = 23;
getitem 6043,1; //Letter_From_Lugen
setquest 11099;
close;
@@ -2550,7 +2550,7 @@ mid_camp,261,284,4 script Instructor#ep13bs 4_M_YOUNGKNIGHT,{
mes "[Instructor Lugen]";
mes "Yes.. I really appreciate your listening to me.";
mes "It makes me feel better.";
- set ep13_newbs,22;
+ ep13_newbs = 22;
close;
}
}
@@ -2600,7 +2600,7 @@ mid_camp,261,284,4 script Instructor#ep13bs 4_M_YOUNGKNIGHT,{
mes "[Instructor Lugen]";
mes "My friend, Otto, is working on the barrier in the west.";
mes "Please give it to him.";
- set ep13_newbs,23;
+ ep13_newbs = 23;
getitem 6043,1; //Letter_From_Lugen
setquest 11099;
close;
@@ -2672,7 +2672,7 @@ mid_camp,261,284,4 script Instructor#ep13bs 4_M_YOUNGKNIGHT,{
mes "[Instructor Lugen]";
mes "And this is for you.";
delitem 6044,1; //Letter_From_Otto
- set ep13_newbs,100;
+ ep13_newbs = 100;
getitem 617,1; //Old_Violet_Box
getitem 12322,5; //Chocolate_Pie
if (checkre(3))
@@ -2768,7 +2768,7 @@ mid_camp,123,290,4 script Otto#ep13bs 4_M_RUSMAN1,{
mes "in the near future and will";
mes "use that time to visit him.";
delitem 6043,1; //Letter_From_Lugen
- set ep13_newbs,24;
+ ep13_newbs = 24;
getitem 6044,1; //Letter_From_Otto
getitem 12322,1; //Chocolate_Pie
changequest 11099,11100;
@@ -2890,7 +2890,7 @@ mid_campin,106,122,4 script Receptionist Brink#ep13b 4_M_ORIENT02,{
next;
mes "- I guess I'm registered -";
mes "- I'd better go back to Lugen -";
- set ep13_newbs,4;
+ ep13_newbs = 4;
getitem 12322,1; //Chocolate_Pie
changequest 11085,11086;
close;
@@ -2986,7 +2986,7 @@ mid_camp,264,263,4 script Diego#ep13bs 4_M_RACHMAN1,{
mes "able to fix this with";
mes "^0000FF20 Ordinary Branches and 20 Strong Vine^000000.";
mes "Please bring them to me!!!";
- set ep13_newbs,6;
+ ep13_newbs = 6;
setquest 11087;
close;
case 2:
@@ -3013,7 +3013,7 @@ mid_camp,264,263,4 script Diego#ep13bs 4_M_RACHMAN1,{
mes "and tie it up with the vines.";
delitem 6041,20; //Strong_Bine
delitem 6042,20; //Ordinary_Branch
- set ep13_newbs,7;
+ ep13_newbs = 7;
changequest 11087,11088;
close;
}
@@ -3072,7 +3072,7 @@ mid_camp,264,263,4 script Diego#ep13bs 4_M_RACHMAN1,{
mes "Please come in and";
mes "take some rest for the";
mes "expedition tomorrow!!";
- set ep13_newbs,10;
+ ep13_newbs = 10;
getitem 12322,5; //Chocolate_Pie
completequest 11090;
close2;
@@ -3111,7 +3111,7 @@ OnTouch:
mes "- and feel better. -";
mes "- I think I need to go -";
mes "- to Instructor Lugen -";
- set ep13_newbs,11;
+ ep13_newbs = 11;
close;
}
else {
@@ -3157,7 +3157,7 @@ mid_campin,295,128,4 script Lucas#ep13bs 4_M_ACROSS,{
mes "[Lucas]";
mes "No, just ignore what I said.";
mes "......";
- set ep13_newbs,12;
+ ep13_newbs = 12;
//getitem 12322,1; //Chocolate_Pie
close;
case 2:
@@ -3211,7 +3211,7 @@ mid_camp,160,298,4 script Jan#ep13bs 4_LGTSCIENCE,{
mes "I'm grateful~";
mes "Uhuhu.";
delitem 6045,1; //Supply_Box
- set ep13_newbs,16;
+ ep13_newbs = 16;
getitem 12322,1; //Chocolate_Pie
changequest 11093,11094;
close;
@@ -3294,7 +3294,7 @@ mid_camp,30,168,4 script Gerard#ep13bs 4_DST_SOLDIER,{
mes "I won't be back for some time.";
emotion e_no1;
delitem 6045,1; //Supply_Box
- set ep13_newbs,18;
+ ep13_newbs = 18;
getitem 12322,1; //Chocolate_Pie
changequest 11095,11096;
close;
@@ -3376,7 +3376,7 @@ man_fild01,80,248,4 script Alberto#ep13bs 4_M_RASWORD,{
mes "Sniff.";
emotion e_sob;
delitem 6045,1; //Supply_Box
- set ep13_newbs,20;
+ ep13_newbs = 20;
getitem 12322,1; //Chocolate_Pie
changequest 11097,11098;
close;
@@ -3525,7 +3525,7 @@ mid_camp,267,263,0 script Post#ep13bs1 HIDDEN_NPC,{
mes "[Diego]";
mes "And this post should be knotted.";
mes "Then please do it to that post.";
- set ep13_newbs,8;
+ ep13_newbs = 8;
changequest 11088,11089;
close;
case 2:
@@ -3609,7 +3609,7 @@ mid_camp,267,258,0 script Post#ep13bs2 HIDDEN_NPC,{
mes "[Diego]";
mes "Ohhh!!!!";
mes "The broken posts are perfectly fixed!";
- set ep13_newbs,9;
+ ep13_newbs = 9;
changequest 11089,11090;
close;
case 2:
@@ -3818,7 +3818,7 @@ mid_camp,188,254,3 script Monster Scholar#ep13 4_M_ALCHE_D,{
mes "venture through";
mes "such a threatening";
mes "environment!";
- set ep13_animal,1;
+ ep13_animal = 1;
setquest 2147;
close;
}
@@ -3937,7 +3937,7 @@ mid_camp,188,254,3 script Monster Scholar#ep13 4_M_ALCHE_D,{
mes "asking here, don't you?";
mes "Help me, help me, please.";
delitem 6041,1; //Strong_Bine
- set ep13_animal,3;
+ ep13_animal = 3;
changequest 2147,2148;
close;
case 2:
@@ -4041,7 +4041,7 @@ mid_camp,188,254,3 script Monster Scholar#ep13 4_M_ALCHE_D,{
delitem 713,1; //Empty_Bottle
delitem 523,5; //Holy_Water
delitem 938,30; //Sticky_Mucus
- set ep13_animal,4;
+ ep13_animal = 4;
changequest 2148,2149;
close;
}
@@ -4095,7 +4095,7 @@ mid_camp,188,254,3 script Monster Scholar#ep13 4_M_ALCHE_D,{
mes "[Rumis Block]";
mes "It won't take long. Can you please go wait for me over the eastern bridge?";
mes "Don't... Don't go too far from the bridge!";
- set ep13_animal,11;
+ ep13_animal = 11;
changequest 2153,2154;
close;
case 2:
@@ -4140,7 +4140,7 @@ mid_camp,188,254,3 script Monster Scholar#ep13 4_M_ALCHE_D,{
mes "[Rumis Block]";
mes "Even thinking of them send chills down on my spine! Can you please go check what kind of races reside at the end of the land over the rightward bridge?";
mes "I want to know if they're friendly or hostile to us.";
- set ep13_animal,14;
+ ep13_animal = 14;
changequest 2156,2157;
close;
}
@@ -4206,7 +4206,7 @@ mid_camp,188,254,3 script Monster Scholar#ep13 4_M_ALCHE_D,{
mes "[Rumis Block]";
mes "I'll repay your favor as soon as I go back home.";
mes "I hope you'll make yourself known in Ash Vacuum with your great accomplishments.";
- set ep13_animal,15;
+ ep13_animal = 15;
completequest 2157;
getexp (checkre(3))?100000:1500000,0;
close;
@@ -4303,7 +4303,7 @@ mid_camp,188,254,3 script Monster Scholar#ep13 4_M_ALCHE_D,{
mes "- With a shy smile on the face, Rumis Block asked you to shake hands, and then turned around hurriedly. -";
next;
mes "- You really hope that Rumis will be able to go back home. -";
- set ep13_animal,100;
+ ep13_animal = 100;
delitem 6033,1; //Horn_Of_Tendrilion
getexp (checkre(3))?50000:1000000,0;
close;
@@ -4493,7 +4493,7 @@ mid_camp,240,270,3 script Botanist#ep13 4_M_ALCHE_C,{
next;
mes "[Botanist]";
mes "Yes, I only need... ^3131FF30^000000 of them.";
- set ep13_animal,5;
+ ep13_animal = 5;
changequest 2149,2150;
close;
}
@@ -4549,7 +4549,7 @@ mid_camp,240,270,3 script Botanist#ep13 4_M_ALCHE_C,{
next;
mes "[Botanist]";
mes "How'd you like to hunt ^3131FF10 of them^000000 to set an example? Good luck!";
- set ep13_animal,6;
+ ep13_animal = 6;
changequest 2150,2151;
close;
}
@@ -4582,7 +4582,7 @@ mid_camp,240,270,3 script Botanist#ep13 4_M_ALCHE_C,{
mes "Let me show you.";
mes "Please take this rotting plant stem,";
mes "I'll meet you at the environmental purifier standing right next to the leftward bridge on the other side.";
- set ep13_animal,7;
+ ep13_animal = 7;
getitem 6035,1; //Decaying_Stem
changequest 2151,2152;
close;
@@ -4625,7 +4625,7 @@ mid_camp,336,171,1 script Camp Guard#man1 4_M_EIN_SOLDIER,{
switch(atoi(charat(strnpcinfo(2),3))) {
case 1:
if (ep13_animal == 1)
- set ep13_animal,2;
+ ep13_animal = 2;
warp "man_fild01",36,235;
break;
case 2:
@@ -4658,7 +4658,7 @@ OnTouch:
next;
mes "[Botanist]";
mes "Please try to plant the rotting stem in the ground.";
- set ep13_animal,8;
+ ep13_animal = 8;
close;
}
else if (ep13_animal == 8) {
@@ -4701,7 +4701,7 @@ mid_camp,45,148,7 script Botanist#ep13_1 4_M_ALCHE_C,{
next;
mes "[Botanist]";
mes "And don't forget to tell him that I've produced great research results. That'll make him cry like a baby. Hahahaha!";
- set ep13_animal,10;
+ ep13_animal = 10;
changequest 2152,2153;
disablenpc "Botanist#ep13_1";
close;
@@ -4729,7 +4729,7 @@ mid_camp,52,148,1 script Dirt#ep13 CLEAR_NPC,{
mes "- Ssshuhhhh -";
next;
mes "- Something is growing out of the dirt. -";
- set ep13_animal,9;
+ ep13_animal = 9;
delitem 6035,1; //Decaying_Stem
getitem 7193,1; //Germinating_Sprout
close;
@@ -4774,7 +4774,7 @@ man_fild01,92,230,3 script Frozen Tree#evt_lumis HIDDEN_NPC,1,1,{
mes "[Rumis Block]";
mes "Their horns might possess a special power. And I want to have them for further research.";
mes "...5 horns will be enough.";
- set ep13_animal,12;
+ ep13_animal = 12;
changequest 2154,2155;
close;
}
@@ -4830,7 +4830,7 @@ man_fild01,92,230,3 script Frozen Tree#evt_lumis HIDDEN_NPC,1,1,{
next;
mes "[Rumis Block]";
mes "Let's go back to the camp. Shall we? I have something to discuss with you.";
- set ep13_animal,13;
+ ep13_animal = 13;
delitem 6032,5; //Horn_Of_Hilsrion
changequest 2155,2156;
close;
@@ -5031,7 +5031,7 @@ OnTouch:
next;
mes "[United Research Official]";
mes "Sounds good, huh? Please, you should go now.";
- set ep13_1_rhea,1;
+ ep13_1_rhea = 1;
setquest 8196;
close;
}
@@ -5091,7 +5091,7 @@ OnTouch:
mes "[United Research Official]";
mes "So, first! Can you go meet those 3 researchers and check on them to prepare for the meeting?";
delitem 6036,1; //Invite_To_Meeting
- set ep13_1_rhea,11;
+ ep13_1_rhea = 11;
changequest 8198,8199;
close;
}
@@ -5214,7 +5214,7 @@ OnTouch:
mes "researchers of the union started to";
mes "scream as well, and rushed out of";
mes "the room. -";
- set ep13_1_rhea,20;
+ ep13_1_rhea = 20;
donpcevent "Research Official#ep131::OnCall";
close2;
warp "mid_camp",165,236;
@@ -5310,7 +5310,7 @@ OnTouch:
mes "Come on!!!";
next;
mes "-The three researchers say nothing. They just stare at each other, standing still... Then they finally leave the room. -";
- set ep13_1_rhea,21;
+ ep13_1_rhea = 21;
donpcevent "Ryosen#ep131_rhea05::OnDisable";
donpcevent "Hue#ep131_rhea06::OnDisable";
donpcevent "Hansenne#ep131_rhea07::OnDisable";
@@ -5341,7 +5341,7 @@ OnTouch:
next;
mes "[United Research Official]";
mes "What? Ah, adventurer?!";
- set ep13_1_rhea,22;
+ ep13_1_rhea = 22;
changequest 8206,8207;
close;
}
@@ -5386,7 +5386,7 @@ OnTouch:
next;
mes "- You feel so refreshed and light, as you drink the tea that the Official offered. -";
specialeffect2 EF_ABSORBSPIRITS;
- set ep13_1_rhea,100;
+ ep13_1_rhea = 100;
if (checkre(3))
getexp 80000,3000;
else
@@ -5533,7 +5533,7 @@ mid_camp,165,245,0 script Ryosen#ep131_rhea01 4_M_ALCHE_A,{
mes "[Ryosen]";
mes "How about having some tea here?";
mes "It's Rafflesia tea from Schwartzvalt. Don't even expect taste, it's awful... But what can I do? It's the only thing I've got...";
- set ep13_1_rhea,2;
+ ep13_1_rhea = 2;
close;
}
else if (ep13_1_rhea == 2) {
@@ -5565,7 +5565,7 @@ mid_camp,165,245,0 script Ryosen#ep131_rhea01 4_M_ALCHE_A,{
mes "[Ryosen]";
mes "I mean... the situation here is... just like the taste of this tea.";
mes "Just awful!";
- set ep13_1_rhea,3;
+ ep13_1_rhea = 3;
close;
}
else if (ep13_1_rhea == 3) {
@@ -5634,7 +5634,7 @@ mid_camp,165,245,0 script Ryosen#ep131_rhea01 4_M_ALCHE_A,{
mes "- which briefly explains -";
mes "- the agenda and schedule -";
mes "- of the whole meeting! -";
- set ep13_1_rhea,4;
+ ep13_1_rhea = 4;
getitem 6036,1; //Invite_To_Meeting
changequest 8196,8197;
close;
@@ -5668,7 +5668,7 @@ mid_camp,165,245,0 script Ryosen#ep131_rhea01 4_M_ALCHE_A,{
mes "[Ryosen]";
mes "Thank you for dealing with those guys. I've got to go through the file now. Please give me the Invitation.";
delitem 6036,1; //Invite_To_Meeting
- set ep13_1_rhea,9;
+ ep13_1_rhea = 9;
close;
}
else {
@@ -5707,7 +5707,7 @@ mid_camp,165,245,0 script Ryosen#ep131_rhea01 4_M_ALCHE_A,{
next;
mes "[Ryosen]";
mes "In the meantime, I should prepare myself for the meeting.";
- set ep13_1_rhea,10;
+ ep13_1_rhea = 10;
getitem 6036,1; //Invite_To_Meeting
changequest 8197,8198;
close;
@@ -5743,7 +5743,7 @@ mid_camp,165,245,0 script Ryosen#ep131_rhea01 4_M_ALCHE_A,{
next;
mes "[Ryosen]";
mes "I need that for the meeting, but he never sends it to me. He must've forgotten about it, again! You'll help me with this, right!?";
- set ep13_1_rhea,12;
+ ep13_1_rhea = 12;
changequest 8199,8200;
close;
}
@@ -5818,7 +5818,7 @@ mid_camp,165,245,0 script Ryosen#ep131_rhea01 4_M_ALCHE_A,{
mes "[Ryosen]";
mes "Please, the meeting's gonna begin soon.";
delitem 6038,1; //Neat_Report
- set ep13_1_rhea,19;
+ ep13_1_rhea = 19;
changequest 8204,8205;
close;
}
@@ -5916,7 +5916,7 @@ mid_camp,165,245,0 script Ryosen#ep131_rhea01 4_M_ALCHE_A,{
mes "[Ryosen]";
mes "Again, thank you so much.";
delitem 6038,1; //Neat_Report
- set ep13_1_rhea,26;
+ ep13_1_rhea = 26;
getitem 12319,1; //Strawberry_Cake
changequest 8209,8210;
close;
@@ -6083,7 +6083,7 @@ mid_camp,247,255,1 script Hue#ep131_rhea02 4_M_LGTGUARD,{
mes "[Hue]";
mes "You should have some Sand chips while I'm reading this. Don't expect any taste, it's from Arunafeltz.";
delitem 6036,1; //Invite_To_Meeting
- set ep13_1_rhea,5;
+ ep13_1_rhea = 5;
close;
}
else {
@@ -6096,7 +6096,7 @@ mid_camp,247,255,1 script Hue#ep131_rhea02 4_M_LGTGUARD,{
}
}
else if (ep13_1_rhea == 5) {
- set .@shu_agree00,rand(1,4);
+ .@shu_agree00 = rand(1,4);
if (.@shu_agree00 == 2) {
mes "[Hue]";
mes "...Meeting Schedule, on the Xth day, from hh:mm to hh:mm...";
@@ -6135,7 +6135,7 @@ mid_camp,247,255,1 script Hue#ep131_rhea02 4_M_LGTGUARD,{
mes "[Hue]";
mes "You'll experience some hard time talking to Hansenne... It'll be like testing your patience.";
mes "Good luck!";
- set ep13_1_rhea,6;
+ ep13_1_rhea = 6;
getitem 6036,1; //Invite_To_Meeting
close;
}
@@ -6188,7 +6188,7 @@ mid_camp,247,255,1 script Hue#ep131_rhea02 4_M_LGTGUARD,{
next;
mes "[Hue]";
mes "Just don't gorget that the file will be restored as fast as you prepare those things for me.";
- set ep13_1_rhea,16;
+ ep13_1_rhea = 16;
changequest 8202,8203;
close;
}
@@ -6217,7 +6217,7 @@ mid_camp,247,255,1 script Hue#ep131_rhea02 4_M_LGTGUARD,{
delitem 7031,1; //Old_Frying_Pan
delitem 7521,1; //Flame_Stone
delitem 1024,1; //Chinese_Ink
- set ep13_1_rhea,17;
+ ep13_1_rhea = 17;
close;
}
else {
@@ -6242,7 +6242,7 @@ mid_camp,247,255,1 script Hue#ep131_rhea02 4_M_LGTGUARD,{
next;
mes "[Hue]";
mes "Please, deliver this file before it's too late. The meeting's gonna begin soon.";
- set ep13_1_rhea,18;
+ ep13_1_rhea = 18;
getitem 6038,1; //Neat_Report
changequest 8203,8204;
close;
@@ -6311,7 +6311,7 @@ mid_camp,247,255,1 script Hue#ep131_rhea02 4_M_LGTGUARD,{
mes "[Hue]";
mes "Please give this report to Ryosen.";
mes "Thank you.";
- set ep13_1_rhea,25;
+ ep13_1_rhea = 25;
getitem 6038,1; //Neat_Report
getitem 12320,1; //Pineapple_Juice
changequest 8208,8209;
@@ -6481,7 +6481,7 @@ mid_camp,222,218,3 script Hansenne#ep131_rhea03 4_M_RACHMAN1,{
mes "[Hansenne]";
mes "You should take a rest, while I'm reading this. Oh, have some Poring Candy from Rune-Midgarts. It's terribly sour and sometimes salty. Funny taste, huh?";
delitem 6036,1; //Invite_To_Meeting
- set ep13_1_rhea,7;
+ ep13_1_rhea = 7;
close;
}
else {
@@ -6497,7 +6497,7 @@ mid_camp,222,218,3 script Hansenne#ep131_rhea03 4_M_RACHMAN1,{
}
}
else if (ep13_1_rhea == 7) {
- set .@shu_agree00,rand(1,5);
+ .@shu_agree00 = rand(1,5);
if (.@shu_agree00 == 1) {
mes "[Hansenne]";
mes "Mmmmmm~";
@@ -6566,7 +6566,7 @@ mid_camp,222,218,3 script Hansenne#ep131_rhea03 4_M_RACHMAN1,{
mes "Ryosen's avery funny guy. Well, he wouldn't know how funny he is...";
mes "Haha, you should tell him that.";
mes "Haha, hahaha, hahahahahahahahaha.";
- set ep13_1_rhea,8;
+ ep13_1_rhea = 8;
getitem 6036,1; //Invite_To_Meeting
close;
}
@@ -6647,7 +6647,7 @@ mid_camp,222,218,3 script Hansenne#ep131_rhea03 4_M_RACHMAN1,{
mes "[Hansenne]";
mes "Maybe we can catch that document with a fishing rod if we're lucky!";
mes "Wow!";
- set ep13_1_rhea,13;
+ ep13_1_rhea = 13;
changequest 8200,8201;
close;
}
@@ -6680,7 +6680,7 @@ mid_camp,222,218,3 script Hansenne#ep131_rhea03 4_M_RACHMAN1,{
mes "[Hansenne]";
mes "He'd scream so hard and the windows might break. But he'll do it.";
mes "Haha, hahaha, hahahahahahahahaha.";
- set ep13_1_rhea,15;
+ ep13_1_rhea = 15;
changequest 8201,8202;
close;
}
@@ -6763,7 +6763,7 @@ mid_camp,222,218,3 script Hansenne#ep131_rhea03 4_M_RACHMAN1,{
mes "[Hansenne]";
mes "He must've been so upset that we all couldn't share that cake. Isn't it kinda cute?";
mes "Haha, hahaha, hahahahahahahahaha.";
- set ep13_1_rhea,23;
+ ep13_1_rhea = 23;
close;
}
else if (ep13_1_rhea == 23) {
@@ -6783,7 +6783,7 @@ mid_camp,222,218,3 script Hansenne#ep131_rhea03 4_M_RACHMAN1,{
mes "[Hansenne]";
mes "Thank you for doing me a favor.";
mes "Haha, hahaha, hahahahahahahahaha.";
- set ep13_1_rhea,24;
+ ep13_1_rhea = 24;
getitem 12321,1; //Spicy_Sandwich
changequest 8207,8208;
close;
@@ -6970,8 +6970,8 @@ mid_camp,1,1,0 script #timer_alba01 CLEAR_NPC,{
stopnpctimer;
next;
mes "Global values have been reset.";
- set $@PartTimeOn,0;
- set $@PartTimeSlots,0;
+ $@PartTimeOn = 0;
+ $@PartTimeSlots = 0;
next;
mes "Recruiting has been reset.";
mes "Timer has started!";
@@ -6984,8 +6984,8 @@ mid_camp,1,1,0 script #timer_alba01 CLEAR_NPC,{
}
OnInit:
- set $@PartTimeOn,0;
- set $@PartTimeSlots,0;
+ $@PartTimeOn = 0;
+ $@PartTimeSlots = 0;
OnEnable:
initnpctimer;
end;
@@ -6995,8 +6995,8 @@ OnStop:
end;
OnTimer1000:
- set $@PartTimeSlots,0;
- set $@PartTimeOn,1;
+ $@PartTimeSlots = 0;
+ $@PartTimeOn = 1;
mapannounce "mid_camp", "Breeder Taab: Attention adventurers in the camp! I'm recruiting 5 part-timers for my breeding farm. Only the first to arrive here will be hired!",bc_map,"0x00ff00";
end;
@@ -7008,7 +7008,7 @@ OnTimer360000:
OnTimer600000:
mapannounce "mid_camp", "Breeder Taab: The recruitment for my breeding farm has ended. I'll see you next time. Thanks!",bc_map,"0x00ff00";
- set $@PartTimeOn,0;
+ $@PartTimeOn = 0;
end;
OnTimer7800000:
@@ -7055,7 +7055,7 @@ mid_camp,143,306,5 script Breeder Taab#ep13_alba 4_M_DST_MASTER,{
}
else {
if ($@PartTimeSlots < 5) {
- set $@PartTimeSlots,$@PartTimeSlots+1;
+ ++$@PartTimeSlots;
mes "[Taab]";
mes "Welcome.";
mes "Your job is simple:";
@@ -7065,7 +7065,7 @@ mid_camp,143,306,5 script Breeder Taab#ep13_alba 4_M_DST_MASTER,{
mes "These are the available jobs.";
next;
if ($@PartTimeSlots == 1) {
- set ep13_alba,1;
+ ep13_alba = 1;
setquest 7042;
mes "[Taab]";
mes "Please bring me 50 Fresh Fish.";
@@ -7083,7 +7083,7 @@ mid_camp,143,306,5 script Breeder Taab#ep13_alba 4_M_DST_MASTER,{
close;
}
else if ($@PartTimeSlots == 2) {
- set ep13_alba,2;
+ ep13_alba = 2;
setquest 7043;
mes "[Taab]";
mes "I've just run out of";
@@ -7098,7 +7098,7 @@ mid_camp,143,306,5 script Breeder Taab#ep13_alba 4_M_DST_MASTER,{
close;
}
else if ($@PartTimeSlots == 3) {
- set ep13_alba,3;
+ ep13_alba = 3;
setquest 7044;
mes "[Taab]";
mes "I've just run out of";
@@ -7125,7 +7125,7 @@ mid_camp,143,306,5 script Breeder Taab#ep13_alba 4_M_DST_MASTER,{
close;
}
else if ($@PartTimeSlots == 4) {
- set ep13_alba,4;
+ ep13_alba = 4;
setquest 7045;
mes "[Taab]";
mes "This is perfect because";
@@ -7148,7 +7148,7 @@ mid_camp,143,306,5 script Breeder Taab#ep13_alba 4_M_DST_MASTER,{
close;
}
else {
- set ep13_alba,5;
+ ep13_alba = 5;
setquest 7046;
mes "[Taab]";
mes "Oh, I always wanted to put something warm on the floor for my creatures.";
@@ -7209,7 +7209,7 @@ mid_camp,143,306,5 script Breeder Taab#ep13_alba 4_M_DST_MASTER,{
mes "How about a spiritual reward?";
next;
delitem 579,50; //Delicious_Fish
- set ep13_alba,6;
+ ep13_alba = 6;
if (checkre(3)) {
getexp 8000,3000;
mes "^4d4dff You have received 8,000 EXP";
@@ -7248,7 +7248,7 @@ mid_camp,143,306,5 script Breeder Taab#ep13_alba 4_M_DST_MASTER,{
next;
delitem 7198,30; //Great_Leaf
delitem 7188,30; //Browny_Root
- set ep13_alba,6;
+ ep13_alba = 6;
if (checkre(3)) {
getexp 9000,4000;
mes "^4d4dff You have received 9,000 EXP";
@@ -7292,7 +7292,7 @@ mid_camp,143,306,5 script Breeder Taab#ep13_alba 4_M_DST_MASTER,{
next;
delitem 528,20; //Monster's_Feed
delitem 537,30; //Pet_Food
- set ep13_alba,6;
+ ep13_alba = 6;
if (checkre(3)) {
getexp 8000,3000;
mes "^4d4dff You have received 8,000 EXP";
@@ -7333,7 +7333,7 @@ mid_camp,143,306,5 script Breeder Taab#ep13_alba 4_M_DST_MASTER,{
next;
delitem 517,50; //Meat
delitem 537,30; //Pet_Food
- set ep13_alba,6;
+ ep13_alba = 6;
if (checkre(3)) {
getexp 8000,3000;
mes "^4d4dff You have received 8,000 EXP";
@@ -7371,7 +7371,7 @@ mid_camp,143,306,5 script Breeder Taab#ep13_alba 4_M_DST_MASTER,{
mes "How about a spiritual reward?";
next;
delitem 6020,30; //Fur
- set ep13_alba,6;
+ ep13_alba = 6;
if (checkre(3)) {
getexp 8000,3000;
mes "^4d4dff You have received 8,000 EXP";
@@ -7403,7 +7403,7 @@ mid_camp,143,306,5 script Breeder Taab#ep13_alba 4_M_DST_MASTER,{
mes "I hope you'll come by";
mes "to help me again.";
erasequest 7047;
- set ep13_alba,0;
+ ep13_alba = 0;
close;
}
else if (.@alba_check == 1) {
@@ -7429,7 +7429,7 @@ mid_camp,143,306,5 script Breeder Taab#ep13_alba 4_M_DST_MASTER,{
mes "I hope you'll come by";
mes "to help me again.";
erasequest 7047;
- set ep13_alba,0;
+ ep13_alba = 0;
close;
}
}
@@ -7514,7 +7514,7 @@ OnStop:
end;
OnTimer3600000:
- set .@monster,rand(1,3);
+ .@monster = rand(1,3);
if (.@monster == 1) {
monster "mid_camp",149,291,"Escaped Tatacho",1986,1,"#monster_master::OnMyMobDead";
mapannounce "mid_camp", "Breeder Taab: Argh! My Tatacho ran away!",bc_map,"0x00ff00";
@@ -7581,7 +7581,7 @@ function Catwarp;
mes "[Cat Hand Agent]";
mes "For more information, please speak to Agent Gyaruk standing down there.";
mes "I'm sure you'll find our business proposition to be very reasonable.";
- set ep13_yong1,1;
+ ep13_yong1 = 1;
close;
case 2:
mes "[Cat Hand Agent]";
@@ -7603,7 +7603,7 @@ function Catwarp;
mes "[Cat Hand Agent]";
mes "For our newcomers, we're offering a location-saving service with which you can save this camp as your returning location.";
mes "Would you like to save your location?";
- set ep13_yong1,3;
+ ep13_yong1 = 3;
next;
switch(select("Save your location:Cancel")) {
case 1:
@@ -8021,7 +8021,7 @@ mid_camp,72,94,4 script Fluffy Gyaruk 4_M_BOSSCAT,{
mes "[Fluffy Gyaruk]";
mes "Please go speak to the Cat Hand Agent over there to use a basic service.";
mes "Oh, and please come back afterwards.";
- set ep13_yong1,2;
+ ep13_yong1 = 2;
close;
case 2:
mes "[Fluffy Gyaruk]";
@@ -8054,7 +8054,7 @@ mid_camp,72,94,4 script Fluffy Gyaruk 4_M_BOSSCAT,{
mes "[Fluffy Gyaruk]";
mes "Excellent.";
mes "For more information about fishing and mining, please speak to the two Cat Agents standing at the river over there.";
- set ep13_yong1,4;
+ ep13_yong1 = 4;
close;
case 2:
mes "[Fluffy Gyaruk]";
@@ -8120,7 +8120,7 @@ mid_camp,69,144,0 script Ferocious Gorurug 4_M_BOSSCAT,{
mes "[Ferocious Gorurug]";
mes "You'll have a hard time to catch them at first, but you'll get better.";
mes "It gets easier with a bit of practice.";
- set ep13_yong1,5;
+ ep13_yong1 = 5;
close;
}
else if (ep13_yong1 == 5) {
@@ -8130,7 +8130,7 @@ mid_camp,69,144,0 script Ferocious Gorurug 4_M_BOSSCAT,{
mes "GOOD JOB!";
delitem 6039,10; //Piece_Of_Fish
getexp (checkre(3))?20000:30000,0;
- set ep13_yong1,10;
+ ep13_yong1 = 10;
setquest 12060;
next;
mes "^0000ffYou gain EXP "+(checkre(3)?"20,000":"30,000")+"^000000";
@@ -8151,7 +8151,7 @@ mid_camp,69,144,0 script Ferocious Gorurug 4_M_BOSSCAT,{
delitem 6039,10; //Piece_Of_Fish
getexp 15000,0;
setquest 12060;
- set ep13_yong1,ep13_yong1+1;
+ ++ep13_yong1;
next;
mes "^0000ffYou gain EXP 15,000^000000";
close;
@@ -8172,7 +8172,7 @@ mid_camp,69,144,0 script Ferocious Gorurug 4_M_BOSSCAT,{
delitem 6039,10; //Piece_Of_Fish
getexp 15000,0;
setquest 12060;
- set ep13_yong1,ep13_yong1+1;
+ ++ep13_yong1;
next;
mes "^0000ffYou gain EXP 15,000^000000";
close;
@@ -8192,7 +8192,7 @@ mid_camp,69,144,0 script Ferocious Gorurug 4_M_BOSSCAT,{
delitem 6039,10; //Piece_Of_Fish
getexp 15000,0;
setquest 12060;
- set ep13_yong1,ep13_yong1+1;
+ ++ep13_yong1;
next;
mes "^0000ffYou gain EXP 15,000^000000";
close;
@@ -8214,7 +8214,7 @@ mid_camp,69,144,0 script Ferocious Gorurug 4_M_BOSSCAT,{
delitem 6039,10; //Piece_Of_Fish
getexp 15000,0;
setquest 12060;
- set ep13_yong1,ep13_yong1+1;
+ ++ep13_yong1;
next;
mes "^0000ffYou gain EXP 1,500^000000";
close;
@@ -8255,29 +8255,29 @@ spl_fild02,314,165,0 script School of Fish#1::Fishinghole CLEAR_NPC,{
if (!questprogress(12060,PLAYTIME) && countitem(6039) < 20) {
specialeffect2 EF_BUBBLE;
specialeffect2 EF_INVENOM;
- set .@fcast,15;
+ .@fcast = 15;
if (isequipped(2550)) //Fisher's_Muffler
- set .@fcast,.@fcast - 2;
+ .@fcast -= 2;
if (isequipped(2443)) //Fish_Shoes
- set .@fcast,.@fcast - 2;
+ .@fcast -= 2;
if (isequipped(2764)) //Small_Fishing_Rod
- set .@fcast,.@fcast - 3;
+ .@fcast -= 3;
if (isequipped(2775)) //Lure
- set .@fcast,.@fcast - 1;
+ .@fcast -= 1;
if (isequipped(1599)) //Ahura_Mazda
- set .@fcast,.@fcast - 3;
+ .@fcast -= 3;
if (isequipped(2199)) //Angra_Manyu
- set .@fcast,.@fcast - 4;
+ .@fcast -= 4;
progressbar "ffff00",.@fcast;
if (ep13_1_rhea == 13) {
if (rand(1,20) == 2) {
getitem 6037,1; //Rough_File
- set ep13_1_rhea,14;
+ ep13_1_rhea = 14;
specialeffect EF_BUBBLE;
mapannounce strcharinfo(3),strcharinfo(0) + " has caught a Messy File!!",bc_map,"0xff77ff";
}
}
- set .@rhea_ran,rand(1,70);
+ .@rhea_ran = rand(1,70);
if (.@rhea_ran < 20) getitem 6039,1; //Piece_Of_Fish
else if (.@rhea_ran == 20) getitem 908,1; //Spawn
else if (.@rhea_ran == 21) getitem 909,1; //Jellopy
@@ -8331,7 +8331,7 @@ mid_camp,66,122,55 script Henry Clifford 4_M_05,{
switch(select("Yes.:No, thanks.")) {
case 1:
delitem 6049,1; //Marlin
- set ep13_yong1,ep13_yong1+2;
+ ep13_yong1 += 2;
mes "[Henry Clifford]";
mes "Thank you for the Marlin.";
mes "I've given you the points in return.";
@@ -8377,7 +8377,7 @@ mid_camp,88,100,55 script Cat Hand Mining Agent 4_CAT,{
delitem 6048,3; //Unidentified_Mineral
getexp (checkre(3))?20000:30000,0;
setquest 12062;
- set ep13_yong1,ep13_yong1+1;
+ ++ep13_yong1;
select("I'm freezing! Take them quickly.");
mes "[Cat Hand Mining Agent]";
mes "Yes, yes~ I've received the mineral samples.";
@@ -8422,7 +8422,7 @@ mid_camp,88,100,55 script Cat Hand Mining Agent 4_CAT,{
if (countitem(6048) < 3 && !questprogress(12062,PLAYTIME)) {
specialeffect2 EF_REPAIRWEAPON;
progressbar "ffff00",10;
- set .@rhea_ran,rand(1,20);
+ .@rhea_ran = rand(1,20);
if (.@rhea_ran < 13) getitem 7049,1; //Stone
else if (.@rhea_ran == 13) getitem 990,1; //Boody_Red
else if (.@rhea_ran == 14) getitem 991,1; //Crystal_Blue
@@ -8474,7 +8474,7 @@ sec_in02,80,171,0 script Piece of crack#sec 2_MONEMUS,{
mes "You can enter the number between 1~3000.";
close;
} else {
- set ep13_yong1,.@input;
+ ep13_yong1 = .@input;
close;
}
}
@@ -8483,7 +8483,7 @@ sec_in02,80,171,0 script Piece of crack#sec 2_MONEMUS,{
//============================================================
mid_campin,90,121,5 script Hibba Agip 4_M_REDSWORD,{
cutin "ep13_captin_edq",2;
- set .@start,(ep13_newbs + ep13_ryu + mao_morocc2 + ep13_1_rhea + ep13_animal + ep13_start);
+ .@start = (ep13_newbs + ep13_ryu + mao_morocc2 + ep13_1_rhea + ep13_animal + ep13_start);
if ((ep13_1_edq == 0) && (.@start > 115)) {
mes "[Hibba Agip]";
mes "*Sigh* Look at me, I used to command the desert of Morroc, but I've been deployed to a world that only God knows where...";
@@ -8539,7 +8539,7 @@ mid_campin,90,121,5 script Hibba Agip 4_M_REDSWORD,{
next;
mes "[Instructor Igrid]";
mes "What are you still doing here? Go, go speak to Abidal.";
- set ep13_1_edq,1;
+ ep13_1_edq = 1;
setquest 3085;
cutin "ep13_captin_edq",255;
close;
@@ -8582,7 +8582,7 @@ mid_campin,90,121,5 script Hibba Agip 4_M_REDSWORD,{
mes "Hmm... Anyways, this is not a difficult mission. All you have to do is deliver this expedition report to officials of three countries of Rune Midgard. Simple right?";
next;
getitem 11012,1; //Expedition_Report
- set ep13_1_edq,3;
+ ep13_1_edq = 3;
changequest 3086,3087;
mes "[Hibba Agip]";
mes "The officials are ^0000FFMinister Laur^000000 of the Rune-Midgart's Kingdom, ^0000FFPriest Nuria^000000 of Arunafeltz, and ^0000FFGerhart^000000 of the Schwatzvalt Republic.";
@@ -8682,7 +8682,7 @@ mid_campin,90,121,5 script Hibba Agip 4_M_REDSWORD,{
next;
mes "[Hibba Agip]";
mes "Let me tell you this: I can care less about justice or righteousness, but loyalty and faithfulness are very important. Keep that in mind for your own good, alright?";
- set ep13_1_edq,61;
+ ep13_1_edq = 61;
changequest 3088,3089;
next;
mes "[Hibba Agip]";
@@ -8765,7 +8765,7 @@ mid_campin,90,121,5 script Hibba Agip 4_M_REDSWORD,{
next;
mes "[Hibba Agip]";
mes "Let me tell you this, loyalty and faithfulness are very, very important. They may cause you hardship sometimes, but those qualities will guarantee you the last laugh.";
- set ep13_1_edq,62;
+ ep13_1_edq = 62;
changequest 3088,3089;
next;
mes "[Hibba Agip]";
@@ -8801,7 +8801,7 @@ mid_campin,90,121,5 script Hibba Agip 4_M_REDSWORD,{
mes "This was finished more quickly than I thought. Let me see...";
next;
delitem 11012,1; //Expedition_Report
- set ep13_1_edq,9;
+ ep13_1_edq = 9;
changequest 3092,3093;
mes "[Hibba Agip]";
mes "It looks alright. I don't have to read this thoroughly because I trust Abidal.";
@@ -8907,7 +8907,7 @@ mid_campin,90,121,5 script Hibba Agip 4_M_REDSWORD,{
else
getexp 2500000,0;
getitem 12110,3; //First_Aid_Kit
- set ep13_1_edq,14;
+ ep13_1_edq = 14;
completequest 3094;
mes "[Hibba Agip]";
mes "Then I'll see you next time. Keep yourself in one piece, alright?";
@@ -8961,7 +8961,7 @@ mid_campin,90,121,5 script Hibba Agip 4_M_REDSWORD,{
next;
mes "[Hibba Agip]";
mes "Find the historian and see if he has any useful information for you.";
- set ins_nyd,2;
+ ins_nyd = 2;
cutin "ep13_captin_edq",255;
break;
}
@@ -9100,7 +9100,7 @@ mid_campin,90,121,5 script Hibba Agip 4_M_REDSWORD,{
next;
mes "[Hibba Agip]";
mes "You have your orders! Now I'm going to look for an adventurer who is willing to be sent to the Sapha.";
- set ins_nyd,81;
+ ins_nyd = 81;
cutin "ep13_captin_edq",255;
break;
case 2:
@@ -9133,7 +9133,7 @@ mid_campin,90,121,5 script Hibba Agip 4_M_REDSWORD,{
next;
mes "[Hibba Agip]";
mes "You have your orders! Now I'm going to look for an adventurer who is willing to be sent to the Laphine.";
- set ins_nyd,82;
+ ins_nyd = 82;
cutin "ep13_captin_edq",255;
break;
case 2:
@@ -9342,7 +9342,7 @@ mid_campin,94,118,3 script Staff Officer Abidal 4_M_SAGE_C,{
mes "[Staff Officer Abidal]";
mes "I'll prepare for your departure.";
mes "Please go speak to the commander.";
- set ep13_1_edq,2;
+ ep13_1_edq = 2;
changequest 3085,3086;
close;
case 2:
@@ -9388,7 +9388,7 @@ mid_campin,94,118,3 script Staff Officer Abidal 4_M_SAGE_C,{
next;
mes "[Staff Officer Abidal]";
mes "Anyways, please bring the pages of the report in ^0000FFincrements of 10^000000 whenever you find them. I'll try to put them in order.";
- set ep13_1_edq,71;
+ ep13_1_edq = 71;
changequest 3089,3090;
close;
}
@@ -9410,7 +9410,7 @@ mid_campin,94,118,3 script Staff Officer Abidal 4_M_SAGE_C,{
next;
mes "[Staff Officer Abidal]";
mes "Anyways, please bring the pages of the report in ^0000FFincrements of 10^000000 whenever you find them. I'll try to put them in order.";
- set ep13_1_edq,72;
+ ep13_1_edq = 72;
changequest 3089,3090;
close;
}
@@ -9441,7 +9441,7 @@ mid_campin,94,118,3 script Staff Officer Abidal 4_M_SAGE_C,{
mes "[Staff Officer Abidal]";
mes "Umm... This page should go here and..";
next;
- set .@ep13_edq_wrong,rand(1,7);
+ .@ep13_edq_wrong = rand(1,7);
if ((countitem(11013) == 0) && (.@ep13_edq_wrong == 1)) {
mes "[Staff Officer Abidal]";
mes "Thank you for your hard work. We were able to restore one volume of the report.";
@@ -9544,7 +9544,7 @@ mid_campin,94,118,3 script Staff Officer Abidal 4_M_SAGE_C,{
mes "[Staff Officer Abidal]";
mes "Umm... This page should go here and..";
next;
- set .@ep13_edq_wrong,rand(1,5);
+ .@ep13_edq_wrong = rand(1,5);
if ((countitem(11013) == 0) && (.@ep13_edq_wrong == 1)) {
mes "[Staff Officer Abidal]";
mes "Thank you for your hard work. We were able to restore one volume of the report.";
@@ -9663,7 +9663,7 @@ mid_campin,94,118,3 script Staff Officer Abidal 4_M_SAGE_C,{
delitem 11015,1; //Expedition_Report_Vol3
delitem 11016,1; //Expedition_Report_Vol4
getitem 11012,1; //Expedition_Report
- set ep13_1_edq,8;
+ ep13_1_edq = 8;
erasequest 3090;
erasequest 3091;
setquest 3092;
@@ -9894,7 +9894,7 @@ mid_camp,206,286,3 script Expedition Messenger 4_M_MOCASS1,{
mes "Argh... " + strcharinfo(0) + ", are you alright? The report... The report...";
next;
delitem 11012,1; //Expedition_Report
- set ep13_1_edq,4;
+ ep13_1_edq = 4;
changequest 3087,3088;
mes "[Expedition Agent]";
mes "We lost the report. The pages are blowing away!";
@@ -9950,7 +9950,7 @@ mid_camp,206,286,3 script Expedition Messenger 4_M_MOCASS1,{
mes "We lost the report. The pages are blowing away!";
next;
delitem 11012,1; //Expedition_Report
- set ep13_1_edq,5;
+ ep13_1_edq = 5;
changequest 3087,3088;
mes "[???]";
mes "Haha, I may have failed to take the report, but it's better destroyed than in your hands!";
@@ -9969,7 +9969,7 @@ mid_camp,206,286,3 script Expedition Messenger 4_M_MOCASS1,{
mes "[Expedition Messenger]";
mes "We must report this to the commander before anything else.";
mes ""+ strcharinfo(0) + ", please report to the commander immidiatly. Let us take care of the rest.";
- set ep13_1_edq,5;
+ ep13_1_edq = 5;
next;
mes "[Expedition Agent]";
mes "Yes, please report to the commander...";
@@ -10094,17 +10094,17 @@ man_fild01,315,95,3 script Expedition Scout#1 4_M_MOC_SOLDIER,{
switch(rand(1,6)) {
case 1:
case 6:
- set .@i,2;
+ .@i = 2;
break;
case 3:
- set .@i,3;
+ .@i = 3;
break;
case 4:
- set .@i,5;
+ .@i = 5;
break;
case 2:
case 5:
- set .@i,0;
+ .@i = 0;
break;
}
mes "[Expedition Scout]";
@@ -10163,11 +10163,11 @@ prt_castle,88,165,3 script Laur 1_M_LIBRARYMASTER,{
mes "I knew it was the wrong idea to out a mercenary in the commander position. See, nothing is done on time. Gosh!";
next;
delitem 11012,1; //Expedition_Report
- if (ep13_1_edq == 9) set ep13_1_edq,101;
- else if (ep13_1_edq == 111) set ep13_1_edq,112;
- else if (ep13_1_edq == 121) set ep13_1_edq,122;
+ if (ep13_1_edq == 9) ep13_1_edq = 101;
+ else if (ep13_1_edq == 111) ep13_1_edq = 112;
+ else if (ep13_1_edq == 121) ep13_1_edq = 122;
else if (ep13_1_edq == 113 || ep13_1_edq == 123) {
- set ep13_1_edq,13;
+ ep13_1_edq = 13;
changequest 3093,3094;
}
mes "...";
@@ -10217,11 +10217,11 @@ ra_temple,122,174,3 script Nuria 4_F_RACHOLD,{
mes "I regret admitting that you've brought it much later than I expected, but... I'm glad it is here safely. Please give it to me.";
next;
delitem 11012,1; //Expedition_Report
- if (ep13_1_edq == 9) set ep13_1_edq,111;
- else if (ep13_1_edq == 101) set ep13_1_edq,102;
- else if (ep13_1_edq == 121) set ep13_1_edq,123;
+ if (ep13_1_edq == 9) ep13_1_edq = 111;
+ else if (ep13_1_edq == 101) ep13_1_edq = 102;
+ else if (ep13_1_edq == 121) ep13_1_edq = 123;
else if (ep13_1_edq == 122 || ep13_1_edq == 103) {
- set ep13_1_edq,13;
+ ep13_1_edq = 13;
changequest 3093,3094;
}
mes "...";
@@ -10263,11 +10263,11 @@ lhz_in01,110,174,5 script Gerhart 4_M_KHKYEL,{
mes "Do you know how long I waited for this report? *Sigh* ...Fine, just give it to me.";
next;
delitem 11012,1; //Expedition_Report
- if (ep13_1_edq == 9) set ep13_1_edq,121;
- else if (ep13_1_edq == 101) set ep13_1_edq,103;
- else if (ep13_1_edq == 111) set ep13_1_edq,113;
+ if (ep13_1_edq == 9) ep13_1_edq = 121;
+ else if (ep13_1_edq == 101) ep13_1_edq = 103;
+ else if (ep13_1_edq == 111) ep13_1_edq = 113;
else if (ep13_1_edq == 102 || ep13_1_edq == 112) {
- set ep13_1_edq,13;
+ ep13_1_edq = 13;
changequest 3093,3094;
}
mes "...";
@@ -10360,7 +10360,7 @@ OnTimer600000:
end;
OnMyMobDead:
- set .@spl_fild03_mob_dead,mobcount("spl_fild03","ep13_spl_fild03_mon_edq::OnMyMobDead");
+ .@spl_fild03_mob_dead = mobcount("spl_fild03","ep13_spl_fild03_mon_edq::OnMyMobDead");
if (mobcount("spl_fild03","ep13_spl_fild03_mon_edq::OnMyMobDead") < 10 && (ep13_1_edq == 71 || ep13_1_edq == 72))
getitem 6040,1; //Some_Of_Report
end;
@@ -10483,7 +10483,7 @@ mid_campin,68,185,3 script Pursuit Party Leader#1 1_F_SIGNZISK,{
mes "What are you still doing here?";
mes "" + strcharinfo(0) + ", your job is to assist Mr. Kidd.";
mes "Please go help him, will you?";
- set mao_morocc2,1;
+ mao_morocc2 = 1;
setquest 7012;
close;
}
@@ -10513,7 +10513,7 @@ mid_campin,68,185,3 script Pursuit Party Leader#1 1_F_SIGNZISK,{
next;
mes "- Her rant doesn't seem to be ending any time soon. You'd better go back and help Mr. Kidd, even if your heart's not in it. -";
next;
- set mao_morocc2,3;
+ mao_morocc2 = 3;
changequest 7013,7014;
next;
mes "[Echinacea]";
@@ -10554,7 +10554,7 @@ mid_campin,68,185,3 script Pursuit Party Leader#1 1_F_SIGNZISK,{
next;
mes "[Echinacea]";
mes "Why don't you go show it to him? He might be able to help Mr. Kidd with what he is trying to do.";
- set mao_morocc2,14;
+ mao_morocc2 = 14;
changequest 7022,7023;
close;
}
@@ -10593,8 +10593,8 @@ mid_campin,68,185,3 script Pursuit Party Leader#1 1_F_SIGNZISK,{
next;
input .@input$;
setarray .@pattern$[0],"SDHF92F-SDF","VWNM94GVWN90","CM3-TRDFGHE0";
- set .@quest, mao_morocc2;
- if (.@quest > 25) set .@quest,.@quest-3;
+ .@quest = mao_morocc2;
+ if (.@quest > 25) .@quest -= 3;
mes "[Echinacea]";
mes "[" + .@input$ + "]";
if (.@input$ == .@pattern$[.@quest-23]) {
@@ -10609,7 +10609,7 @@ mid_campin,68,185,3 script Pursuit Party Leader#1 1_F_SIGNZISK,{
mes "It'll take some time before we get the results.";
if (countitem(6029) > 0)
delitem 6029,countitem(6029); //Morocc_Tracing_Log
- set mao_morocc2,29;
+ mao_morocc2 = 29;
changequest 7031+(.@quest-23),7034;
close;
}
@@ -10623,7 +10623,7 @@ mid_campin,68,185,3 script Pursuit Party Leader#1 1_F_SIGNZISK,{
next;
mes "[Echinacea]";
mes "Go check the number again.";
- if (mao_morocc2 < 26) set mao_morocc2,.@quest+3;
+ if (mao_morocc2 < 26) mao_morocc2 = .@quest+3;
close;
}
}
@@ -10637,7 +10637,7 @@ mid_campin,68,185,3 script Pursuit Party Leader#1 1_F_SIGNZISK,{
mes "[Echinacea]";
mes "To the south of this camp, you'll see a building with a mana detector attached to it.";
mes "Go ask the building manager about the trace results.";
- set mao_morocc2,30;
+ mao_morocc2 = 30;
changequest 7034,7035;
close;
}
@@ -10686,7 +10686,7 @@ mid_campin,68,185,3 script Pursuit Party Leader#1 1_F_SIGNZISK,{
next;
mes "[Echinacea]";
mes "Keep up the good work assisting the explorers in this camp.";
- set mao_morocc2,100;
+ mao_morocc2 = 100;
if (checkre(3))
getexp 120000,20000;
else
@@ -10745,7 +10745,7 @@ mid_campin,68,185,3 script Pursuit Party Leader#1 1_F_SIGNZISK,{
mes "[Echinacea]";
mes "No country wants to start a war, especially when we have a greater common enemy.";
mes "Just focus on what you can do to help us.";
- set mao_morocc2,101;
+ mao_morocc2 = 101;
setquest 7037;
close;
}
@@ -10798,7 +10798,7 @@ mid_campin,68,185,3 script Pursuit Party Leader#1 1_F_SIGNZISK,{
mes "You believe in peace, don't you?";
mes "Tell him that I'm grateful for these sweet potatoes, anyway..";
delitem 549,2; //Nice_Sweet_Potato
- set mao_morocc2,107;
+ mao_morocc2 = 107;
changequest 7040,7041;
close;
}
@@ -10862,7 +10862,7 @@ mid_camp,191,206,3 script Manager#moc2_finder 4_M_EIN_SOLDIER,{
next;
mes "[Manager]";
mes "That's all for today.";
- set mao_morocc2,31;
+ mao_morocc2 = 31;
changequest 7035,7036;
close;
}
@@ -10921,7 +10921,7 @@ mid_camp,199,311,7 script Mr. Kidd#ep13_dan01 4_M_ACROSS,{
next;
mes "[Mr. Kidd]";
mes "If you don't want to help us out then go back to Echinacea and let her know yourself!";
- set mao_morocc2,2;
+ mao_morocc2 = 2;
changequest 7012,7013;
close2;
break;
@@ -10941,7 +10941,7 @@ mid_camp,199,311,7 script Mr. Kidd#ep13_dan01 4_M_ACROSS,{
mes "At Southwest Morroc, you'll find an underground tavern.";
mes "Go find ^4d4dffRin^000000.";
mes "Tell her I've sent you, and she'll take care of you.";
- set mao_morocc2,4;
+ mao_morocc2 = 4;
changequest 7012,7015;
close2;
break;
@@ -10988,7 +10988,7 @@ mid_camp,199,311,7 script Mr. Kidd#ep13_dan01 4_M_ACROSS,{
mes "At Southwest Morroc, you'll find an underground tavern.";
mes "Go find ^4d4dffRin^000000.";
mes "Tell her I've sent you, and she'll take care of you.";
- set mao_morocc2,4;
+ mao_morocc2 = 4;
changequest 7014,7015;
close2;
}
@@ -11066,7 +11066,7 @@ mid_camp,199,311,7 script Mr. Kidd#ep13_dan01 4_M_ACROSS,{
mes "Now, would you leave me alone for a while? I need to write a report based on the findings in this journal.";
delitem 6029,1; //Morocc_Tracing_Log
delitem 6027,1; //Crystal_Of_Feardoom
- set mao_morocc2,10;
+ mao_morocc2 = 10;
if (checkre(3))
getexp 20000,1000;
else
@@ -11093,7 +11093,7 @@ mid_camp,199,311,7 script Mr. Kidd#ep13_dan01 4_M_ACROSS,{
next;
if ($@moc_mao_gate1 == 0) {
warp "que_dan01",32,27;
- set $@moc_mao_gate1,1;
+ $@moc_mao_gate1 = 1;
end;
}
else {
@@ -11178,7 +11178,7 @@ mid_camp,199,311,7 script Mr. Kidd#ep13_dan01 4_M_ACROSS,{
next;
mes "[Mr. Kidd]";
mes "Thanks in advance.";
- set mao_morocc2,13;
+ mao_morocc2 = 13;
changequest 7021,7022;
close2;
}
@@ -11314,7 +11314,7 @@ mid_camp,199,311,7 script Mr. Kidd#ep13_dan01 4_M_ACROSS,{
mes "[Mr. Kidd]";
mes "Can you go back and spy on them a bit more?";
mes "I'll follow you as soon as I report these findings to the higher-ups.";
- set mao_morocc2,19;
+ mao_morocc2 = 19;
changequest 7027,7028;
close2;
}
@@ -11360,7 +11360,7 @@ mid_camp,199,311,7 script Mr. Kidd#ep13_dan01 4_M_ACROSS,{
mes "[Mr. Kidd]";
mes "Oh, and please bring ^4d4dffthis journal to Rin^000000.";
mes "This will be your last assignment from me.";
- set mao_morocc2,21;
+ mao_morocc2 = 21;
getitem 6027,1; //Crystal_Of_Feardoom
getitem 6029,1; //Morocc_Tracing_Log
changequest 7029,7030;
@@ -11464,7 +11464,7 @@ mid_camp,199,311,7 script Mr. Kidd#ep13_dan01 4_M_ACROSS,{
mes "..I guess he's finally made a fire, huh?";
mes "Tell him thanks for these sweet potatoes.";
delitem 549,2; //Nice_Sweet_Potato
- set mao_morocc2,105;
+ mao_morocc2 = 105;
next;
switch(select("Ask about Dandelion.:Ask about Arunafeltz.")) {
case 1:
@@ -11527,7 +11527,7 @@ mid_camp,199,311,7 script Mr. Kidd#ep13_dan01 4_M_ACROSS,{
end;
OnInit:
- set $@moc_mao_gate1,0; //Global Variable
+ $@moc_mao_gate1 = 0; //Global Variable
end;
}
@@ -11538,7 +11538,7 @@ OnTouch:
mes "[Mr. Kidd]";
mes "" + strcharinfo(0) + "? " + strcharinfo(0) + "?!";
mes "Wake up!";
- set mao_morocc2,12;
+ mao_morocc2 = 12;
close;
}
}
@@ -11620,7 +11620,7 @@ mid_camp,256,272,3 script Defaria#moc2 4_M_HUGRANFA,{
next;
mes "[Defaria]";
mes "I'll be waiting for your return.";
- set mao_morocc2,15;
+ mao_morocc2 = 15;
changequest 7023,7024;
close;
case 2:
@@ -11641,7 +11641,7 @@ mid_camp,256,272,3 script Defaria#moc2 4_M_HUGRANFA,{
delitem 7511,30; //Rune_Of_Darkness
delitem 7563,30; //Bloody_Rune
delitem 6028,1; //Seal_Scroll
- set mao_morocc2,16;
+ mao_morocc2 = 16;
changequest 7024,7025;
close;
}
@@ -11688,7 +11688,7 @@ mid_camp,256,272,3 script Defaria#moc2 4_M_HUGRANFA,{
mes "[Defaria]";
mes "Um, do you mind? Would you stop talking to yourself and just leave already?";
mes "I'm sorry, but this old man needs some rest, alright?";
- set mao_morocc2,17;
+ mao_morocc2 = 17;
getitem 14595,1; //Unsealed_Magic_Spell
changequest 7025,7026;
close;
@@ -11766,7 +11766,7 @@ mid_camp,256,272,3 script Defaria#moc2 4_M_HUGRANFA,{
mes "[Defaria]";
mes "Please bring me ^4d4dff20 Sweet Potatoes and 30 Logs^000000.";
mes "I'll be waiting for your return.";
- set mao_morocc2,102;
+ mao_morocc2 = 102;
changequest 7037,7038;
close;
}
@@ -11819,7 +11819,7 @@ mid_camp,256,272,3 script Defaria#moc2 4_M_HUGRANFA,{
mes "I guess my magic hasn't gotten that rusty after all..";
delitem 516,20; //Sweet_Potato
delitem 7201,30; //Log
- set mao_morocc2,103;
+ mao_morocc2 = 103;
close;
}
else {
@@ -11853,7 +11853,7 @@ mid_camp,256,272,3 script Defaria#moc2 4_M_HUGRANFA,{
mes "...Do you mind delivering these to Mr. Kidd?";
next;
mes "- Defaria has given you 2 Nice Sweet Potatoes. -";
- set mao_morocc2,104;
+ mao_morocc2 = 104;
getitem 549,2; //Nice_Sweet_Potato
changequest 7038,7039;
close;
@@ -11900,7 +11900,7 @@ mid_camp,256,272,3 script Defaria#moc2 4_M_HUGRANFA,{
mes "They're cooked very well.";
next;
mes "- You have received 2 steaming hot Nice Sweet Potatoes. -";
- set mao_morocc2,106;
+ mao_morocc2 = 106;
getitem 549,2; //Nice_Sweet_Potato
changequest 7039,7040;
close;
@@ -11935,7 +11935,7 @@ mid_camp,256,272,3 script Defaria#moc2 4_M_HUGRANFA,{
mes "Ah, your sweet potatoes are now roasted very well.";
mes "Here, enjoy them.";
mes "Thank you for trying so hard to please this whimsical old man.";
- set mao_morocc2,108;
+ mao_morocc2 = 108;
getitem 633,5; //Baked_Yam
completequest 7041;
close;
@@ -12153,7 +12153,7 @@ que_job01,82,95,3 script Bar Master#moc2_01 1_ETC_01,{
mes "You can't expect your job to always go smoothly.";
mes "Of course there will be risks.";
mes "Why don't you go pay her a visit?";
- set mao_morocc2,5;
+ mao_morocc2 = 5;
close;
}
else if (mao_morocc2 > 4) {
@@ -12200,7 +12200,7 @@ que_job01,82,95,3 script Bar Master#moc2_01 1_ETC_01,{
mes "I see. So you're a member of the Ash Vacuum expedition.";
mes "Rin is in the inner room.";
mes "...She's been badly injured and is resting in bed. Don't do anything to shock her, alright?";
- set mao_morocc2,5;
+ mao_morocc2 = 5;
close;
}
else {
@@ -12422,14 +12422,14 @@ que_job01,49,49,5 script Tao#dan_09 4_F_YUNYANG,{
que_job01,51,55,0 script que_job01#room_1 WARPNPC,1,1,{
OnInit:
OnReset:
- set $@moc_mao_room1,0; //Global Variable
+ $@moc_mao_room1 = 0; //Global Variable
end;
OnTouch:
mes "[Tao]";
if (prt_curse == 24) {
if ($@moc_mao_room1 == 0) {
- set $@moc_mao_room1,1; //Global Variable
+ $@moc_mao_room1 = 1; //Global Variable
donpcevent " #room1timer::OnEnable";
donpcevent "Marjana#poison::OnEnable";
mes "Ah, that place is protected";
@@ -12452,7 +12452,7 @@ OnTouch:
}
else if (mao_request > 0) {
if ($@moc_mao_room1 == 0) {
- set $@moc_mao_room1,1; //Global Variable
+ $@moc_mao_room1 = 1; //Global Variable
donpcevent " #room1timer::OnEnable";
donpcevent "Valdes#moc_master_1::OnEnable";
mes "Ah, that place is protected";
@@ -12582,13 +12582,13 @@ que_job01,51,44,0 script que_job01#room_2 WARPNPC,1,1,{
OnInit:
OnReset:
- set $@moc_mao_room2,0; //Global Variable
+ $@moc_mao_room2 = 0; //Global Variable
end;
OnTouch:
if ((mao_morocc2 > 4) && (mao_morocc2 < 10)) {
if ($@moc_mao_room2 == 0) {
- set $@moc_mao_room2,1; //Global Variable
+ $@moc_mao_room2 = 1; //Global Variable
donpcevent " #room2timer::OnEnable";
mes "[Tao]";
mes "The room is also sealed with a security magic spell, meow.";
@@ -12609,7 +12609,7 @@ OnTouch:
}
else if (mao_morocc2 == 21) {
if ($@moc_mao_room2 == 0) {
- set $@moc_mao_room2,1; //Global Variable
+ $@moc_mao_room2 = 1; //Global Variable
donpcevent " #room2timer::OnEnable";
donpcevent "Rin#moc_room2_2::OnEnable";
donpcevent "Rayan#moc_room2_2::OnEnable";
@@ -12632,7 +12632,7 @@ OnTouch:
}
else if ((mao_morocc2 > 21) && (mao_morocc2 < 29)) {
if ($@moc_mao_room2 == 0) {
- set $@moc_mao_room2,1; //Global Variable
+ $@moc_mao_room2 = 1; //Global Variable
donpcevent " #room2timer::OnEnable";
donpcevent "Rin#moc_room2_2::OnEnable";
mes "[Tao]";
@@ -12867,7 +12867,7 @@ que_job01,84,17,3 script Rin#moc_room2_1 4_F_ACROSS,{
mes "[Rin]";
mes "How'd you like to conduct an investigation around that area? We might find something..";
mes "Like important clues or where they've headed...";
- set mao_morocc2,6;
+ mao_morocc2 = 6;
next;
mes "[Rin]";
mes "^4d4dffIf you're interested in helping me, I'll continue talking.^000000";
@@ -12906,7 +12906,7 @@ que_job01,84,17,3 script Rin#moc_room2_1 4_F_ACROSS,{
mes "[Rin]";
mes "While you're gone, I'll be preparing a document to send to Mr. Kidd.";
mes "Be safe, and look out for yourself, okay?";
- set mao_morocc2,7;
+ mao_morocc2 = 7;
changequest 7015,7016;
close2;
}
@@ -12974,7 +12974,7 @@ que_job01,84,17,3 script Rin#moc_room2_1 4_F_ACROSS,{
next;
mes "- You received the journal from Rin.";
mes "Instead of a journal, it's more like a bunch of documents being exchanged. -";
- set mao_morocc2,9;
+ mao_morocc2 = 9;
getitem 6029,1; //Morocc_Tracing_Log
changequest 7017,7018;
close2;
@@ -13181,7 +13181,7 @@ que_job01,144,54,3 script Rin#moc_room2_2 4_F_ACROSS,{
mes "...I think he's gone...?";
delitem 6029,1; //Morocc_Tracing_Log
delitem 6027,1; //Crystal_Of_Feardoom
- set mao_morocc2,22;
+ mao_morocc2 = 22;
close2;
}
else {
@@ -13244,15 +13244,15 @@ que_job01,144,54,3 script Rin#moc_room2_2 4_F_ACROSS,{
mes "I'll give you the pattern number of his magic wavelength. Can you give the number to Echinacea?";
mes "She'll take care of the rest.";
next;
- set .@rotto,rand(1,3);
- if (.@rotto == 1) set .@pattern$,"SDHF92F-SDF";
- else if (.@rotto == 2) set .@pattern$,"VWNM94GVWN90";
- else set .@pattern$,"CM3-TRDFGHE0";
+ .@rotto = rand(1,3);
+ if (.@rotto == 1) .@pattern$ = "SDHF92F-SDF";
+ else if (.@rotto == 2) .@pattern$ = "VWNM94GVWN90";
+ else .@pattern$ = "CM3-TRDFGHE0";
mes "[Rin]";
mes "The pattern number is...";
mes "^4d4dff["+.@pattern$+"]^000000";
mes "Don't leave out even one character. Okay?";
- set mao_morocc2,22+.@rotto;
+ mao_morocc2 = 22+.@rotto;
getitem 6029,1; //Morocc_Tracing_Log
changequest 7030,7030+.@rotto;
next;
@@ -13293,9 +13293,9 @@ que_job01,144,54,3 script Rin#moc_room2_2 4_F_ACROSS,{
next;
mes "[Rin]";
mes "Make sure you don't forget it again. The pattern number is...";
- if (mao_morocc2 == 26) set .@pattern$,"SDHF92F-SDF";
- else if (mao_morocc2 == 27) set .@pattern$,"VWNM94GVWN90";
- else set .@pattern$,"CM3-TRDFGHE0";
+ if (mao_morocc2 == 26) .@pattern$ = "SDHF92F-SDF";
+ else if (mao_morocc2 == 27) .@pattern$ = "VWNM94GVWN90";
+ else .@pattern$ = "CM3-TRDFGHE0";
mes "^4d4dff["+.@pattern$+"]^000000. Don't leave out even one character. Okay?";
mes "Got it?";
next;
@@ -13382,7 +13382,7 @@ hu_fild04,235,103,0 script Heap of Earth#mao2_01 CLEAR_NPC,4,4,{
mes "I don't think I'll find anything else here...";
mes "I should go back now.";
mes "I hope Rin will understand.";
- set mao_morocc2,8;
+ mao_morocc2 = 8;
getitem 6027,1; //Crystal_Of_Feardoom
changequest 7016,7017;
close;
@@ -13456,7 +13456,7 @@ OnTouch:
mes "A mysterious force is repelling you, and you're unable to push forward into this area.";
close2;
warp "morocc",100,100;
- set $@moc_mao_gate1,0; //Global Variable
+ $@moc_mao_gate1 = 0; //Global Variable
end;
}
end;
@@ -13489,7 +13489,7 @@ OnTimer307000:
OnTimer308000:
enablenpc "#moc2_event_on";
- set $@moc_mao_gate1,0; //Global Variable
+ $@moc_mao_gate1 = 0; //Global Variable
stopnpctimer;
}
@@ -13632,7 +13632,7 @@ que_dan01,49,36,5 script Corpse#moc2_dead01 4_M_DSTMANDEAD,{
next;
mes "^4d4dffYou have obtained a Sealed Magic Scroll.";
mes "Let's bring this to Kidd.^000000";
- set mao_morocc2,11;
+ mao_morocc2 = 11;
getitem 6028,1; //Seal_Scroll
donpcevent "#moc2_event_on::OnStop";
initnpctimer;
@@ -13705,7 +13705,7 @@ OnTimer10000:
end;
OnTimer11000:
- set $@moc_mao_gate1,0; //Global Variable
+ $@moc_mao_gate1 = 0; //Global Variable
end;
}
@@ -13812,7 +13812,7 @@ OnTouch:
mes "I'd better run!";
next;
mes "- You used a Butterfly Wing.-";
- set mao_morocc2,18;
+ mao_morocc2 = 18;
changequest 7026,7027;
close2;
consumeitem 602; //Wing_Of_Butterfly
@@ -13904,7 +13904,7 @@ que_dan02,115,53,3 script Man#moc2_crazyR01 4_M_DSTMAN,{
cutin "mocseal_kid01",255;
next;
mes "- You watched Mr. Kidd arrest the unconscious Rayan and take out a teleportation item. You decide to return to town. -";
- set mao_morocc2,20;
+ mao_morocc2 = 20;
changequest 7028,7029;
close2;
consumeitem 602; //Wing_Of_Butterfly
@@ -13984,7 +13984,7 @@ prontera,161,192,5 script Ash-Vacuum Warper 4_M_MOC_SOLDIER,{
mes "Ok. I hope you";
mes "enjoy your trip.";
close2;
- set ep13_ryu,100;
+ ep13_ryu = 100;
warp "mid_camp",210,291;
end;
case 2:
diff --git a/npc/quests/quests_13_2.txt b/npc/quests/quests_13_2.txt
index 45a35b73e..9c11d7fb2 100644
--- a/npc/quests/quests_13_2.txt
+++ b/npc/quests/quests_13_2.txt
@@ -419,7 +419,7 @@ man_fild02,132,47,4 duplicate(Cat Hand Agent#spl) Cat Hand Agent#man 4_M_BOSSCAT
if (countitem(6048) < 3 && !questprogress(12062,PLAYTIME)) {
specialeffect2 EF_REPAIRWEAPON;
progressbar "ffff00",10;
- set .@rhea_ran,rand(1,20);
+ .@rhea_ran = rand(1,20);
if (.@rhea_ran < 13) getitem 7049,1; //Stone
else if (.@rhea_ran == 13) getitem 990,1; //Boody_Red
else if (.@rhea_ran == 14) getitem 991,1; //Crystal_Blue
@@ -459,29 +459,29 @@ spl_fild03,226,151,0 script School of Fish#5::FishingHole_spl3 CLEAR_NPC,{
if (!questprogress(12060,PLAYTIME) && countitem(6039) < 20) {
specialeffect2 EF_BUBBLE;
specialeffect2 EF_INVENOM;
- set .@fcast,15;
+ .@fcast = 15;
if (isequipped(2550)) //Fisher's_Muffler
- set .@fcast,.@fcast - 2;
+ .@fcast -= 2;
if (isequipped(2443)) //Fish_Shoes
- set .@fcast,.@fcast - 2;
+ .@fcast -= 2;
if (isequipped(2764)) //Small_Fishing_Rod
- set .@fcast,.@fcast - 3;
+ .@fcast -= 3;
if (isequipped(2775)) //Lure
- set .@fcast,.@fcast - 1;
+ .@fcast -= 1;
if (isequipped(1599)) //Ahura_Mazda
- set .@fcast,.@fcast - 3;
+ .@fcast -= 3;
if (isequipped(2199)) //Angra_Manyu
- set .@fcast,.@fcast - 4;
+ .@fcast -= 4;
progressbar "ffff00",.@fcast;
if (ep13_1_rhea == 13) {
if (rand(1,20) == 2) {
getitem 6037,1; //Rough_File
- set ep13_1_rhea,14;
+ ep13_1_rhea = 14;
specialeffect2 EF_BUBBLE;
mapannounce strcharinfo(3),strcharinfo(0) + " has caught a Loose File.",bc_map,"0xff77ff";
}
}
- set .@rhea_ran,rand(1,70);
+ .@rhea_ran = rand(1,70);
if (.@rhea_ran < 20) getitem 6039,1; //Piece_Of_Fish
else if (.@rhea_ran == 20) getitem 908,1; //Spawn
else if (.@rhea_ran == 21) getitem 909,1; //Jellopy
@@ -497,17 +497,17 @@ spl_fild03,226,151,0 script School of Fish#5::FishingHole_spl3 CLEAR_NPC,{
mes "Nothing was caught.";
close;
}
- set .@rhea_ran5,rand(1,200);
+ .@rhea_ran5 = rand(1,200);
if (.@rhea_ran5 == 3) {
getitem 644,1; //Gift_Box
mapannounce strcharinfo(3),strcharinfo(0) + " has caught a Gift Box.",bc_map,"0x00ffff";
}
- set .@rhea_ran3,rand(1,500);
+ .@rhea_ran3 = rand(1,500);
if (.@rhea_ran3 == 3) {
getitem 603,1; //Old_Blue_Box
mapannounce strcharinfo(3),strcharinfo(0) + " has caught an Old Blue Box.",bc_map,"0x00ffff";
}
- set .@rhea_ran4,rand(1,3000);
+ .@rhea_ran4 = rand(1,3000);
if (.@rhea_ran4 == 3) {
getitem 617,1; //Old_Violet_Box
mapannounce strcharinfo(3),strcharinfo(0) + " has caught an Old Purple Box.",bc_map,"0x44ff44";
@@ -574,7 +574,7 @@ spl_in01,32,306,3 script Splendide Guard#ep13md01 4_M_FAIRYSOLDIER,2,2,{
mes "[Arc]";
mes "Now I clearly understand that you are not sent by the giants of Manuk.";
mes "Thank you for telling me these interesting stories.";
- set ep13_mdrama,1;
+ ep13_mdrama = 1;
close;
case 2:
mes "[Arc]";
@@ -661,7 +661,7 @@ spl_in01,32,306,3 script Splendide Guard#ep13md01 4_M_FAIRYSOLDIER,2,2,{
mes "[Arc]";
mes "Remember " + strcharinfo(0) + "... you must keep this to yourself...";
mes "Please, find her.";
- set ep13_mdrama,2;
+ ep13_mdrama = 2;
setquest 7056;
close;
case 2:
@@ -755,7 +755,7 @@ spl_in01,32,306,3 script Splendide Guard#ep13md01 4_M_FAIRYSOLDIER,2,2,{
mes "Terra!!";
next;
mes "- Arc suddenly began gathering up his gear. -";
- set ep13_mdrama,8;
+ ep13_mdrama = 8;
close;
}
else if (ep13_mdrama == 8) {
@@ -788,7 +788,7 @@ spl_in01,32,306,3 script Splendide Guard#ep13md01 4_M_FAIRYSOLDIER,2,2,{
mes "The higher ups won't just remain still...";
mes "I'm sorry to ask you but...";
mes "Please go and bring her back here...";
- set ep13_mdrama,9;
+ ep13_mdrama = 9;
changequest 7058,7059;
close;
}
@@ -841,7 +841,7 @@ spl_in01,32,306,3 script Splendide Guard#ep13md01 4_M_FAIRYSOLDIER,2,2,{
mes "[Arc]";
mes "Sometimes you can find Yggdrasilberries around there.";
mes "Go find few more and bring them with you. Hurry!";
- set ep13_mdrama,14;
+ ep13_mdrama = 14;
getitem 607,3; //Yggdrasilberry
changequest 7062,7063;
close;
@@ -880,7 +880,7 @@ spl_in01,32,306,3 script Splendide Guard#ep13md01 4_M_FAIRYSOLDIER,2,2,{
mes "Terra's Yai.";
mes "Which is her Private Residence... It's located at the Southeast direction from here.";
mes "I would like to hear a detailed account of what happened.";
- set ep13_mdrama,26;
+ ep13_mdrama = 26;
changequest 7070,7071;
close;
}
@@ -957,7 +957,7 @@ spl_fild02,45,214,0 script ????#ep13_mdplant01 CLEAR_NPC,{
mes "It looks like this is Terra's trace that Arc told me about.";
next;
mes "A knotted leaf is pointing toward the^4d4dff Southern^000000 direction.";
- set ep13_mdrama,3;
+ ep13_mdrama = 3;
changequest 7056,7057;
close2;
}
@@ -1020,7 +1020,7 @@ spl_fild02,328,323,0 script ????#ep13_mdplant04 CLEAR_NPC,{
mes "But who?";
next;
mes "There are footprints heading ^4d4dffNorth^000000.";
- set ep13_mdrama,4;
+ ep13_mdrama = 4;
close;
}
else if (ep13_mdrama > 3) {
@@ -1040,7 +1040,7 @@ spl_fild01,341,109,0 script ????#ep13_mdplant05 CLEAR_NPC,{
mes "These footsteps can't be a Laphine's...";
next;
mes "There are footprints that lead to^4d4dff the Root of a huge tree^000000.";
- set ep13_mdrama,5;
+ ep13_mdrama = 5;
close;
}
else if (ep13_mdrama > 4) {
@@ -1064,7 +1064,7 @@ OnTouch:
switch(select("Follow the trace.:Looks dangerous... head back.")) {
case 1:
mes "You take a one step forward carefully through the muddy roots and slip.";
- set ep13_mdrama,6;
+ ep13_mdrama = 6;
close2;
percentheal -30,0;
warp "nyd_dun01",72,125;
@@ -1133,7 +1133,7 @@ nyd_dun01,58,223,0 script Petrified Sapha#ep13md03 CLEAR_NPC,{
next;
mes "[" + strcharinfo(0) + "]";
mes "Could it be... Terra was fighting this Giant?";
- set ep13_mdrama,7;
+ ep13_mdrama = 7;
changequest 7057,7058;
next;
mes "[" + strcharinfo(0) + "]";
@@ -1163,7 +1163,7 @@ nyd_dun01,58,223,0 script Petrified Sapha#ep13md03 CLEAR_NPC,{
mes "[" + strcharinfo(0) + "]";
mes "I can't just go back to Arc without anything... he'd be so disappointed...";
mes "Hmm, Should I go to the Sapha's village?";
- set ep13_mdrama,10;
+ ep13_mdrama = 10;
changequest 7059,7060;
close;
}
@@ -1205,7 +1205,7 @@ nyd_dun01,58,223,0 script Petrified Sapha#ep13md03 CLEAR_NPC,{
case 3:
mes "You pick up a fragment of Bradium scattered on the ground.";
mes "This should be enough.";
- set ep13_mdrama,22;
+ ep13_mdrama = 22;
getitem 6085,1; //Shaggy_Muffler
getitem 6084,1; //Bradium_Fragments
changequest 7066,7067;
@@ -1227,7 +1227,7 @@ nyd_dun01,58,223,0 script Petrified Sapha#ep13md03 CLEAR_NPC,{
mes "You carefully strip a worn muffler off of the Sapha's neck.";
mes "We will see if this muffler belongs to Ogen or not...";
mes "This should be enough.";
- set ep13_mdrama,22;
+ ep13_mdrama = 22;
getitem 6085,1; //Shaggy_Muffler
getitem 6084,1; //Bradium_Fragments
changequest 7066,7067;
@@ -1295,7 +1295,7 @@ nyd_dun01,58,223,0 script Petrified Sapha#ep13md03 CLEAR_NPC,{
donpcevent "Snorren#ep13md17::OnDisable";
mes "- Snorren stood up with a bitter smile...";
mes "...I should go back too... I'm worried about Terra. -";
- set ep13_mdrama,24;
+ ep13_mdrama = 24;
changequest 7068,7069;
close;
}
@@ -1390,7 +1390,7 @@ manuk,278,177,5 script Villager#ep13_11 4_MAN_PIOM,{
next;
mes "- The Sapha people are not willing to tell you anything. But the";
mes "captured Fairy may be Terra. -";
- set ep13_mdrama,11;
+ ep13_mdrama = 11;
changequest 7060,7061;
close;
case 2:
@@ -1417,7 +1417,7 @@ manuk,278,177,5 script Villager#ep13_11 4_MAN_PIOM,{
next;
mes "- Fortunately, Sapha had thought I could not understand them,";
mes "but they must be talking about Terra... -";
- set ep13_mdrama,11;
+ ep13_mdrama = 11;
changequest 7060,7061;
close;
}
@@ -1488,7 +1488,7 @@ manuk,281,177,3 script Villager#ep13_12 4_MAN_BENKUNI,{
next;
mes "- The Sapha people are not willing to tell you anything. But the";
mes "captured Fairy may be Terra. -";
- set ep13_mdrama,11;
+ ep13_mdrama = 11;
changequest 7060,7061;
close;
case 2:
@@ -1515,7 +1515,7 @@ manuk,281,177,3 script Villager#ep13_12 4_MAN_BENKUNI,{
next;
mes "- Fortunately, Sapha had thought I could not understand them,";
mes "but they must be talking about Terra... -";
- set ep13_mdrama,11;
+ ep13_mdrama = 11;
changequest 7060,7061;
close;
}
@@ -1679,7 +1679,7 @@ man_in01,175,59,5 script Snorren#ep13_13 4_MAN_PIOM,{
mes "Yeah?!";
mes "Then just wait here for a sec!";
mes "I will go and ask Luik about this!";
- set ep13_mdrama,12;
+ ep13_mdrama = 12;
close;
case 2:
mes "[Snorren]";
@@ -1739,7 +1739,7 @@ man_in01,175,59,5 script Snorren#ep13_13 4_MAN_PIOM,{
next;
mes "[" + strcharinfo(0) + "]";
mes "(I think I have no choice but to go back and ask Arc....)";
- set ep13_mdrama,13;
+ ep13_mdrama = 13;
changequest 7061,7062;
close;
}
@@ -1758,9 +1758,9 @@ man_in01,175,59,5 script Snorren#ep13_13 4_MAN_PIOM,{
next;
mes "[Snorren]";
mes "I will take everything you've brought with you!";
- set .@temp_ig,countitem(607);
+ .@temp_ig = countitem(607);
delitem 607,.@temp_ig; //Yggdrasilberry
- set ep13_mdrama,18;
+ ep13_mdrama = 18;
next;
mes "[Snorren]";
mes "Now, Let's go inside!";
@@ -1833,7 +1833,7 @@ man_in01,175,59,5 script Snorren#ep13_13 4_MAN_PIOM,{
mes "[Snorren]";
mes "Come back anytime...";
mes "Ok?";
- set ep13_mdrama,25;
+ ep13_mdrama = 25;
getitem 6080,15; //Manuk_Coin
changequest 7069,7070;
close;
@@ -1964,7 +1964,7 @@ man_in01,22,126,3 script Captured Laphine#ep13md 4_F_FAIRYKID6,{
mes "[Luik]";
mes "Why did she break down like that? What did she say?";
mes "Tell me what she said!!!";
- set ep13_mdrama,20;
+ ep13_mdrama = 20;
close;
case 2:
mes "[Terra]";
@@ -2011,7 +2011,7 @@ man_in01,22,126,3 script Captured Laphine#ep13md 4_F_FAIRYKID6,{
mes "[Luik]";
mes "Why did she break down like that? What did she say?";
mes "Tell me what she said!!!";
- set ep13_mdrama,20;
+ ep13_mdrama = 20;
close;
}
}
@@ -2079,7 +2079,7 @@ man_in01,17,128,5 script Snorren#ep13md_15 4_MAN_PIOM,{
mes "Yeah, Right.";
mes "" + strcharinfo(0) + ", you should try talking to that Laphine...";
mes "Let's hear her story.";
- set ep13_mdrama,19;
+ ep13_mdrama = 19;
changequest 7064,7065;
close;
}
@@ -2147,7 +2147,7 @@ man_in01,17,128,5 script Snorren#ep13md_15 4_MAN_PIOM,{
mes "Please save Ogen.";
delitem 6085,1; //Shaggy_Muffler
delitem 6084,1; //Bradium_Fragments
- set ep13_mdrama,23;
+ ep13_mdrama = 23;
changequest 7067,7068;
close;
}
@@ -2264,7 +2264,7 @@ man_in01,19,126,3 script Luik#ep13md16 4_MAN_GALTUN,{
next;
mes "[" + strcharinfo(0) + "]";
mes "Don't you dare...try to do any harm to Terra.";
- set ep13_mdrama,21;
+ ep13_mdrama = 21;
changequest 7065,7066;
close;
}
@@ -2317,7 +2317,7 @@ man_in01,19,126,3 script Luik#ep13md16 4_MAN_GALTUN,{
mes "Please save Ogen.";
delitem 6085,1; //Shaggy_Muffler
delitem 6084,1; //Bradium_Fragments
- set ep13_mdrama,23;
+ ep13_mdrama = 23;
changequest 7067,7068;
close;
}
@@ -2456,7 +2456,7 @@ spl_in02,236,92,5 script Arc#ep13md_l02 4_M_FAIRYSOLDIER,{
next;
mes "[Arc]";
mes "I'm sorry this is all I can give you for now.";
- set ep13_mdrama,27;
+ ep13_mdrama = 27;
getitem 6081,25; //Splendide_Coin
if (checkre(3))
getexp 120000,10000;
@@ -2485,7 +2485,7 @@ spl_in02,236,92,5 script Arc#ep13md_l02 4_M_FAIRYSOLDIER,{
mes "["+strnpcinfo(1)+"]";
if (strnpcinfo(1) == "Arc") mes "That's what Terra wants too.";
mes "It might be cramped, but you are always welcome to visit us.";
- set ep13_mdrama,28;
+ ep13_mdrama = 28;
close;
}
else if (ep13_mdrama > 27) {
@@ -2561,7 +2561,7 @@ spl_fild01,357,44,0 script ???#ep13mdf01 CLEAR_NPC,{
mes "There's some kind of fruit lying on the ground.";
mes "I see a small berry inside of a big outer shell...";
mes "It is a Yggdrasil!";
- set ep13_mdrama,15;
+ ep13_mdrama = 15;
getitem 607,1; //Yggdrasilberry
getitem 522,1; //Fruit_Of_Mastela
close;
@@ -2569,7 +2569,7 @@ spl_fild01,357,44,0 script ???#ep13mdf01 CLEAR_NPC,{
else if (ep13_mdrama == 15) {
mes "I've already pulled out a Yggdradsil... but is there anyting else..?";
next;
- set .@apple,rand(1,100);
+ .@apple = rand(1,100);
if (.@apple < 50) {
mes "I've been bitten by an unknown insect.";
mes "It hurts!";
@@ -2610,7 +2610,7 @@ spl_fild01,312,79,0 script ???#ep13mdf02 CLEAR_NPC,{
mes "There's some kind of fruit lying on the ground.";
mes "I see a small berry inside of a big outer shell...";
mes "It is a Yggdrasil!";
- set ep13_mdrama,16;
+ ep13_mdrama = 16;
getitem 607,1; //Yggdrasilberry
getitem 522,1; //Fruit_Of_Mastela
close;
@@ -2618,7 +2618,7 @@ spl_fild01,312,79,0 script ???#ep13mdf02 CLEAR_NPC,{
else if (ep13_mdrama == 16) {
mes "I've already pulled out a Yggdradsil... but is there anyting else..?";
next;
- set .@apple,rand(1,100);
+ .@apple = rand(1,100);
if (.@apple < 50) {
mes "I've been bitten by an unknown insect.";
mes "It hurts!";
@@ -2659,7 +2659,7 @@ spl_fild01,329,29,0 script ???#ep13mdf03 CLEAR_NPC,{
mes "There's some kind of fruit lying on the ground.";
mes "I see a small berry inside of a big outer shell...";
mes "It is a Yggdrasil!";
- set ep13_mdrama,17;
+ ep13_mdrama = 17;
getitem 607,1; //Yggdrasilberry
getitem 522,1; //Fruit_Of_Mastela
changequest 7063,7064;
@@ -2673,7 +2673,7 @@ spl_fild01,329,29,0 script ???#ep13mdf03 CLEAR_NPC,{
else if (ep13_mdrama == 17) {
mes "I've already pulled out a Yggdradsil... but is there anyting else..?";
next;
- set .@apple,rand(1,100);
+ .@apple = rand(1,100);
if (.@apple < 50) {
mes "I've been bitten by an unknown insect.";
mes "It hurts!";
@@ -2747,7 +2747,7 @@ manuk,252,116,3 script Manuk Galtun#ep13_2day 4_MAN_GALTUN,{
mes "[Strom]";
mes "There're monsters called ^4d4dffRata^000000 and ^4d4dffDueyrr^000000.";
mes "If you terminate them, I would regard you as a decent and strong person.";
- set ep13_2_days01,1;
+ ep13_2_days01 = 1;
setquest 7074;
setquest 7075;
close;
@@ -2777,7 +2777,7 @@ manuk,252,116,3 script Manuk Galtun#ep13_2day 4_MAN_GALTUN,{
mes "If you need to buy something, you can use them.";
completequest 7074;
completequest 7075;
- set ep13_2_days01,2;
+ ep13_2_days01 = 2;
if (checkre(3))
getexp 50000,30000;
else
@@ -3104,7 +3104,7 @@ mid_camp,146,306,3 script Pet Breeder#ep13_eden01 4_F_SCIENCE,{
mes "This is Rin's cherished treasure box...";
mes "This is enough payment, right?";
completequest 7076;
- set ep13_2_wanted,2;
+ ep13_2_wanted = 2;
getitem 7444,1; //Treasure_Box
close;
}
@@ -3142,7 +3142,7 @@ mid_camp,146,306,3 script Pet Breeder#ep13_eden01 4_F_SCIENCE,{
delitem 6093,10; //Egg_Of_Draco
erasequest 7077;
setquest 7078;
- set ep13_2_dayegg,2;
+ ep13_2_dayegg = 2;
getexp 40000,40000;
getitem 6081,1; //Splendide_Coin
getitem 6080,1; //Manuk_Coin
@@ -3161,7 +3161,7 @@ mid_camp,146,306,3 script Pet Breeder#ep13_eden01 4_F_SCIENCE,{
if (!.@alba_check) {
close2;
erasequest 7078;
- set ep13_2_dayegg,3;
+ ep13_2_dayegg = 3;
end;
}
else if (.@alba_check == 1) {
@@ -3173,7 +3173,7 @@ mid_camp,146,306,3 script Pet Breeder#ep13_eden01 4_F_SCIENCE,{
}
close2;
erasequest 7078;
- set ep13_2_dayegg,3;
+ ep13_2_dayegg = 3;
end;
}
else if (ep13_2_dayegg == 3) {
@@ -3184,7 +3184,7 @@ mid_camp,146,306,3 script Pet Breeder#ep13_eden01 4_F_SCIENCE,{
if (select("Sure.:Sorry, I can't.") == 1) {
mes "[Pinedel]";
mes "Please collect 10 Draco Eggs.";
- set ep13_2_dayegg,1;
+ ep13_2_dayegg = 1;
setquest 7077;
close;
}
@@ -3209,7 +3209,7 @@ mid_camp,146,306,3 script Pet Breeder#ep13_eden01 4_F_SCIENCE,{
mes "[Pinedel]";
mes "Please collect 10 Draco Eggs.";
mes "Let's work together to make them as pets.";
- set ep13_2_dayegg,1;
+ ep13_2_dayegg = 1;
setquest 7077;
close;
}
@@ -3253,7 +3253,7 @@ mid_camp,192,239,4 script Wanted Sign#ep13_2ect01 4_BOARD3,{
mes "Do you accept Rin's request?";
if (select("I accept that request.:No, I can't.") == 1) {
mes "I accepted Rin's request.";
- set ep13_2_wanted,1;
+ ep13_2_wanted = 1;
setquest 7076;
close;
}
@@ -3529,7 +3529,7 @@ mid_camp,197,237,3 script Schwartzvalt Mechanic#1 4_M_LGTMAN,{
mes "[Mechanic Engineer Dorance]";
mes "The ^0000ff Arunafeltz Linguist^000000 should be on the second floor of the Alliance Headquarters.";
setquest 8243;
- set ep13_2_rhea,1;
+ ep13_2_rhea = 1;
close;
}
else if ((ep13_2_rhea > 0) && (ep13_2_rhea < 7)) {
@@ -3582,7 +3582,7 @@ mid_camp,197,237,3 script Schwartzvalt Mechanic#1 4_M_LGTMAN,{
mes "While you are gone, I be here organizing these documents.";
completequest 8248;
setquest 8249;
- set ep13_2_rhea,8;
+ ep13_2_rhea = 8;
close;
}
else if ((ep13_2_rhea > 7) && (ep13_2_rhea < 11)) {
@@ -3626,7 +3626,7 @@ mid_camp,197,237,3 script Schwartzvalt Mechanic#1 4_M_LGTMAN,{
mes "With all preperation done, allow me about one hour to finish this thing.";
completequest 8252;
setquest 8253;
- set ep13_2_rhea,12;
+ ep13_2_rhea = 12;
close;
}
else if (ep13_2_rhea == 12) {
@@ -3694,7 +3694,7 @@ mid_camp,197,237,3 script Schwartzvalt Mechanic#1 4_M_LGTMAN,{
mes "Thank you for helping us out.";
mes "I hope this ring would be a big help for your journey through the other world.";
completequest 8253;
- set ep13_2_rhea,100;
+ ep13_2_rhea = 100;
if (checkre(3))
getexp 200000,5000;
else
@@ -3829,7 +3829,7 @@ mid_campin,168,82,3 script Arunafeltz Linguist#1 4_M_TRAINEE,{
mes "Do me a favor and go outside of the camp, find the fairies and wooden giants, and remember everything that they are saying, word for word so that I can hear what their language sounds like.";
completequest 8243;
setquest 8244;
- set ep13_2_rhea,2;
+ ep13_2_rhea = 2;
close;
}
else {
@@ -3855,7 +3855,7 @@ mid_campin,168,82,3 script Arunafeltz Linguist#1 4_M_TRAINEE,{
mes "Do me a favor and go outside of the camp, find the fairies and wooden giants, and remember everything that they are saying, word for word so that I can hear what their language sounds like.";
completequest 8243;
setquest 8244;
- set ep13_2_rhea,2;
+ ep13_2_rhea = 2;
close;
}
}
@@ -3871,45 +3871,45 @@ mid_campin,168,82,3 script Arunafeltz Linguist#1 4_M_TRAINEE,{
mes "[Linguist Dictionary]";
mes "Now, let's start with the Fairies! What is the fairy's language like? Please write them down here sentence by sentence!";
next;
- set .@spl_score00,0;
+ .@spl_score00 = 0;
input .@input$;
if (.@input$ == "RLGHLRXLA TKANTLFDMS") {
mes "[Linguist Dictionary]";
mes ""+ .@input$ +"....";
mes "And?";
- set .@spl_score01,.@spl_score00+1;
+ .@spl_score01 = .@spl_score00+1;
next;
}
else {
mes ""+ .@input$ +"....";
mes "Mmm... Hmm...?";
- set .@spl_score01,.@spl_score00;
+ .@spl_score01 = .@spl_score00;
next;
}
input .@input$;
if (.@input$ == "WJACK TNAHRDNJSDMFH") {
mes ""+ .@input$ +"....";
mes "And?";
- set .@spl_score02,.@spl_score01+1;
+ .@spl_score02 = .@spl_score01+1;
next;
}
else {
mes ""+ .@input$ +"....";
mes "I see...?";
- set .@spl_score02,.@spl_score01;
+ .@spl_score02 = .@spl_score01;
next;
}
input .@input$;
if ((.@input$ == "WLSGHKWND !!") || (.@input$ == "WLSGHKWND")) {
mes ""+ .@input$ +"....";
mes "Is that all?";
- set .@spl_score03,.@spl_score02+1;
+ .@spl_score03 = .@spl_score02+1;
next;
}
else {
mes ""+ .@input$ +"....";
mes "Is that all?";
- set .@spl_score03,.@spl_score02;
+ .@spl_score03 = .@spl_score02;
next;
}
if (.@spl_score03 > 2) {
@@ -3936,45 +3936,45 @@ mid_campin,168,82,3 script Arunafeltz Linguist#1 4_M_TRAINEE,{
mes "[Linguist Dictionary]";
mes "Good. then next is the Wooden Giants! What's their language like? Write them down sentence by sentence just as you did with the Fairy's.";
next;
- set .@man_score00,0;
+ .@man_score00 = 0;
input .@input$;
if (.@input$ == "TJDTMFJDNS CJFDI") {
mes "[Linguist Dictionary]";
mes ""+ .@input$ +"....";
mes "And?";
- set .@man_score01,.@man_score00+1;
+ .@man_score01 = .@man_score00+1;
next;
}
else {
mes ""+ .@input$ +"....";
mes "And?";
- set .@man_score01,.@man_score00;
+ .@man_score01 = .@man_score00;
next;
}
input .@input$;
if (.@input$ == "TKADLFDMF QKATOS") {
mes ""+ .@input$ +"....";
mes "And?";
- set .@man_score02,.@man_score01+1;
+ .@man_score02 = .@man_score01+1;
next;
}
else {
mes ""+ .@input$ +"....";
mes "And?";
- set .@man_score02,.@man_score01;
+ .@man_score02 = .@man_score01;
next;
}
input .@input$;
if ((.@input$ == "EKDTLSDML DLFMADMS..") || (.@input$ == "EKDTLSDML DLFMADMS")) {
mes ""+ .@input$ +"....";
mes "This is it?";
- set .@man_score03,.@man_score02+1;
+ .@man_score03 = .@man_score02+1;
next;
}
else {
mes ""+ .@input$ +"....";
mes "Is that all?";
- set .@man_score03,.@man_score02;
+ .@man_score03 = .@man_score02;
next;
}
if (.@man_score03 > 2) {
@@ -4005,7 +4005,7 @@ mid_campin,168,82,3 script Arunafeltz Linguist#1 4_M_TRAINEE,{
mes "....Ummmm...";
next;
mes "- Dictionary stared at the paper intently. -";
- set ep13_2_rhea,3;
+ ep13_2_rhea = 3;
close;
}
else {
@@ -4084,7 +4084,7 @@ mid_campin,168,82,3 script Arunafeltz Linguist#1 4_M_TRAINEE,{
mes "It's difficult to continue on a research without some more samples of language. Please do my favor.";
completequest 8244;
setquest 8245;
- set ep13_2_rhea,4;
+ ep13_2_rhea = 4;
close;
}
else if ((ep13_2_rhea > 3) && (ep13_2_rhea < 6)) {
@@ -4119,7 +4119,7 @@ mid_campin,168,82,3 script Arunafeltz Linguist#1 4_M_TRAINEE,{
mes "I wonder what the Mechanic Engineer from the Schwaltzvalt Republic would think... Would you be kind to go ask him?";
completequest 8247;
setquest 8248;
- set ep13_2_rhea,7;
+ ep13_2_rhea = 7;
close;
}
else if ((ep13_2_rhea > 6) && (ep13_2_rhea < 13)) {
@@ -4239,7 +4239,7 @@ mid_camp,147,256,3 script Rune Midgarts Magician#1 4_M_JOB_WIZARD,{
mes "Assassins installed a trap to protect Gems as they bury them.";
completequest 8245;
setquest 8246;
- set ep13_2_rhea,5;
+ ep13_2_rhea = 5;
close;
}
else if (ep13_2_rhea == 5) {
@@ -4270,7 +4270,7 @@ mid_camp,147,256,3 script Rune Midgarts Magician#1 4_M_JOB_WIZARD,{
setquest 8247;
delitem 7575,1; //Red_Jewel_
delitem 7576,1; //Blue_Jewel_
- set ep13_2_rhea,6;
+ ep13_2_rhea = 6;
close;
}
else {
@@ -4333,7 +4333,7 @@ mid_camp,147,256,3 script Rune Midgarts Magician#1 4_M_JOB_WIZARD,{
mes "While you are gone, I will organize the data to put into the Gem.";
completequest 8249;
setquest 8250;
- set ep13_2_rhea,9;
+ ep13_2_rhea = 9;
close;
}
else if (ep13_2_rhea == 9) {
@@ -4370,7 +4370,7 @@ mid_camp,147,256,3 script Rune Midgarts Magician#1 4_M_JOB_WIZARD,{
completequest 8250;
setquest 8251;
delitem 6048,1; //Unidentified_Mineral
- set ep13_2_rhea,10;
+ ep13_2_rhea = 10;
close;
}
else {
@@ -4408,7 +4408,7 @@ mid_camp,147,256,3 script Rune Midgarts Magician#1 4_M_JOB_WIZARD,{
mes "- ^0000ff from Whisper !!^000000 -";
completequest 8251;
setquest 8252;
- set ep13_2_rhea,11;
+ ep13_2_rhea = 11;
close;
}
else {
@@ -4573,7 +4573,7 @@ mid_camp,7,3,0 script Translator Preparation#1 4_M_PAY_SOLDIER,{
mes "[EP13 Translator Quest Preparation]";
mes "First, you must confirm that you are my master.";
next;
- set .@i, callfunc("F_GM_NPC",1854,0);
+ .@i = callfunc("F_GM_NPC",1854,0);
if (.@i == -1) {
mes "[EP 13 Translator Quest Preparation]";
mes "Cancelled";
@@ -4604,7 +4604,7 @@ mid_camp,7,3,0 script Translator Preparation#1 4_M_PAY_SOLDIER,{
}
mes "[EP 13 Translator Quest Preparation]";
mes "Episode 13.1 - The Report Quest Reward Item Received.";
- set ep13_1_edq,14;
+ ep13_1_edq = 14;
close;
case 2:
mes "[EP 13 Translator Quest Preparation]";
@@ -4692,7 +4692,7 @@ man_in01,372,221,5 script Scientist#lifeguard 4_MAN_BENKUNI,{
mes "[Dr. Lifeguard]";
mes "I'll draw a result that can";
mes "satisfy his lead!";
- set ep13_2_tre,1;
+ ep13_2_tre = 1;
close;
}
else if ((ep13_2_tre == 1) || (ep13_2_tre == 100)) {
@@ -4749,7 +4749,7 @@ man_in01,372,221,5 script Scientist#lifeguard 4_MAN_BENKUNI,{
mes "Take it, it shold be";
mes "helpful in collecting";
mes "the minerals I need.";
- set ep13_2_tre,atoi(.@rand_dayq$[2]);
+ ep13_2_tre = atoi(.@rand_dayq$[2]);
setquest 2179+(atoi(.@rand_dayq$[2])-2);
getitem 6076,1; //Portable_Toolbox
close;
@@ -4770,15 +4770,15 @@ man_in01,372,221,5 script Scientist#lifeguard 4_MAN_BENKUNI,{
mes "[Dr. Lifeguard]";
mes "If you want to help my study for the sake of the Sapha, come to me at any time.";
mes "I will be very happy for any help you can give.";
- set .@stone_chk,countitem(6077);
- set .@stoneelse_chk,countitem(6078);
+ .@stone_chk = countitem(6077);
+ .@stoneelse_chk = countitem(6078);
delitem 6077,.@stone_chk; //Rough_Mineral
delitem 6078,.@stoneelse_chk; //Stone_Fragments
delitem 6076,1; //Portable_Toolbox
getitem 6080,3; //Manuk_Coin
getexp 0,(checkre(3))?50000:700000; //unconfirmed (RE)
changequest 2179+(ep13_2_tre-2),2182;
- set ep13_2_tre,100;
+ ep13_2_tre = 100;
close;
}
else {
@@ -4805,9 +4805,9 @@ man_in01,372,221,5 script Scientist#lifeguard 4_MAN_BENKUNI,{
function script find_13_2 {
switch (getarg(0)) {
- case 0: setarray .@check[0],2,10; set .@str$,"Mt. Mjolnir"; break;
- case 1: setarray .@check[0],3,5; set .@str$,"Abyss Lake"; break;
- case 2: setarray .@check[0],4,5; set .@str$,"Thor Volcano"; break;
+ case 0: setarray .@check[0],2,10; .@str$ = "Mt. Mjolnir"; break;
+ case 1: setarray .@check[0],3,5; .@str$ = "Abyss Lake"; break;
+ case 2: setarray .@check[0],4,5; .@str$ = "Thor Volcano"; break;
}
if (ep13_2_tre != .@check[0] || countitem(6076) != 1 || countitem(6077) >= .@check[1]) end;
mes "- Just arrived at "+.@str$+". I think I can find the mineral by using the Mineral Detector in the Portable Toolbox. -";
@@ -4878,7 +4878,7 @@ mjolnir_12,220,37,0 duplicate(mjo_no_find) #mj12_find_3 -1,5,5
else {
mes "- You succeeded to mine minerals. -";
emotion e_ic,1;
- set .@stst,rand(1,5);
+ .@stst = rand(1,5);
if (.@stst == 5) getitem 6077,5; //Rough_Mineral
else if (.@stst == 1) getitem 6077,1; //Rough_Mineral
else getitem 6077,2; //Rough_Mineral
@@ -5229,7 +5229,7 @@ OnTouch:
else {
mes "- You succeeded to mine minerals. -";
emotion e_ic,1;
- set .@stst,rand(1,5);
+ .@stst = rand(1,5);
if (.@stst == 5) getitem 6077,5; //Rough_Mineral
else if (.@stst == 1) getitem 6077,2; //Rough_Mineral
else getitem 6077,1; //Rough_Mineral
@@ -5362,7 +5362,7 @@ OnTouch:
else {
mes "- You succeeded to mine minerals. -";
emotion e_ic,1;
- set .@stst,rand(1,5);
+ .@stst = rand(1,5);
if (.@stst == 5) getitem 6077,5; //Rough_Mineral
else if (.@stst == 1) getitem 6077,2; //Rough_Mineral
else getitem 6077,1; //Rough_Mineral
@@ -5453,7 +5453,7 @@ spl_in01,30,324,3 script High Laphine#grenouille 4_M_FAIRYKID5,{
if (!.@dayq_chk || .@dayq_chk == 2) {
if ((ep13_2_tre1 < 1) || (ep13_2_tre1 == 6)) {
erasequest 2186;
- set ep13_2_tre1,0;
+ ep13_2_tre1 = 0;
mes "[Grenouille]";
mes "I've heard that some strangers from Rune Midgard are around here, it must be you.";
mes "I'm Grenouille, a scientist.";
@@ -5531,7 +5531,7 @@ spl_in01,30,324,3 script High Laphine#grenouille 4_M_FAIRYKID5,{
mes "depending on the Splendide device,";
mes "but ^FF0000the way^000000 can fill";
mes "Splendide by it's scent like it never falls!";
- set ep13_2_tre1,1;
+ ep13_2_tre1 = 1;
setquest 2183;
close;
}
@@ -5563,7 +5563,7 @@ spl_in01,30,324,3 script High Laphine#grenouille 4_M_FAIRYKID5,{
mes "[Grenouille]";
mes "Would you please wait a while?";
changequest 2183,2184;
- set ep13_2_tre1,4;
+ ep13_2_tre1 = 4;
delitem 6079,1; //Flower_Of_Alfheim
close;
}
@@ -5574,7 +5574,7 @@ spl_in01,30,324,3 script High Laphine#grenouille 4_M_FAIRYKID5,{
}
}
else if (ep13_2_tre1 == 4) {
- set .@ttalk,rand(1,10);
+ .@ttalk = rand(1,10);
if (.@ttalk < 8) {
mes "- clitter-clatter -";
next;
@@ -5616,7 +5616,7 @@ spl_in01,30,324,3 script High Laphine#grenouille 4_M_FAIRYKID5,{
mes "Here, I'll give you this perfume,";
mes "help the exhausted soldiers and";
mes "let me know the result, please!";
- set ep13_2_tre1,5;
+ ep13_2_tre1 = 5;
getitem 6082,5; //Spirit_Of_Alfheim
changequest 2184,2185;
close;
@@ -5640,7 +5640,7 @@ spl_in01,30,324,3 script High Laphine#grenouille 4_M_FAIRYKID5,{
mes "This is my reward for you.";
mes "I hope this will be helpful to you.";
mes "If you have something to talk to me about, come to me whenever. Nice to meet you, human from Rune Midgard.";
- set ep13_2_tre1,6;
+ ep13_2_tre1 = 6;
changequest 2185,2186;
getitem 6081,3; //Splendide_Coin
if (checkre(3) == 0)
@@ -5727,7 +5727,7 @@ spl_in02,139,65,3 script Middle-Ranked Laphine#la 4_F_FAIRYKID3,{
mes "Umm.. But I don't have";
mes "any other seed of flower..";
mes "So, just bring this, here you are~";
- set ep13_2_tre1,2;
+ ep13_2_tre1 = 2;
getitem 7193,1; //Germinating_Sprout
close;
}
@@ -5743,7 +5743,6 @@ spl_in02,139,65,3 script Middle-Ranked Laphine#la 4_F_FAIRYKID3,{
mes "Can you believe that right in front of us is a battle field? Though it's very silent and peaceful at the moment. So do I~";
close;
}
-
}
else {
mes "[Middle-Ranked Laphine]";
@@ -5767,7 +5766,7 @@ spl_in02,139,65,3 script Middle-Ranked Laphine#la 4_F_FAIRYKID3,{
mes "a big flower of Alfheim was lied";
mes "in your hand, instead of the seed. -";
delitem 7193,1; //Germinating_Sprout
- set ep13_2_tre1,3;
+ ep13_2_tre1 = 3;
getitem 6079,1; //Flower_Of_Alfheim
close;
}
@@ -6326,7 +6325,7 @@ mid_camp,283,198,5 script Bazett Teablack#ep13bs 4_M_ALCHE_D,{
next;
mes "[Bazett]";
mes "Hopefully I can find what I am looking for with the information you can find.";
- set ep13_2_busut,2;
+ ep13_2_busut = 2;
setquest 11101;
close;
case 2:
@@ -6340,7 +6339,7 @@ mid_camp,283,198,5 script Bazett Teablack#ep13bs 4_M_ALCHE_D,{
next;
mes "[Industrious Man]";
mes "Well if you decide to change your mind, come back to me.";
- set ep13_2_busut,1;
+ ep13_2_busut = 1;
close;
}
break;
@@ -6367,7 +6366,7 @@ mid_camp,283,198,5 script Bazett Teablack#ep13bs 4_M_ALCHE_D,{
next;
mes "[Bazett]";
mes "Hopefully I can find what I am looking for with the information you can find.";
- set ep13_2_busut,2;
+ ep13_2_busut = 2;
setquest 11101;
close;
case 3:
@@ -6399,7 +6398,7 @@ mid_camp,283,198,5 script Bazett Teablack#ep13bs 4_M_ALCHE_D,{
next;
mes "[Industrious Man]";
mes "Well if you decide to change your mind, come back to me.";
- set ep13_2_busut,1;
+ ep13_2_busut = 1;
close;
}
}
@@ -6475,7 +6474,7 @@ mid_camp,283,198,5 script Bazett Teablack#ep13bs 4_M_ALCHE_D,{
next;
mes "[Bazett]";
mes "Hopefully I can find what I am looking for with the information you can find.";
- set ep13_2_busut,2;
+ ep13_2_busut = 2;
setquest 11101;
close;
case 2:
@@ -6500,11 +6499,11 @@ mid_camp,283,198,5 script Bazett Teablack#ep13bs 4_M_ALCHE_D,{
next;
mes "[Bazett]";
mes "Got it? Ok take care and see you soon.";
- set ep13_2_busut,3;
- set ep13_2_bs1,1;
- set ep13_2_bs2,1;
- set ep13_2_bs3,1;
- set ep13_2_bs4,1;
+ ep13_2_busut = 3;
+ ep13_2_bs1 = 1;
+ ep13_2_bs2 = 1;
+ ep13_2_bs3 = 1;
+ ep13_2_bs4 = 1;
getitem 6074,1; //Bazett's_Order
changequest 11101,11102;
close;
@@ -6548,7 +6547,7 @@ mid_camp,283,198,5 script Bazett Teablack#ep13bs 4_M_ALCHE_D,{
mes "You must be tired, go take a rest.";
mes "I'll go prepare new notes.";
mes "You can just go investigate again for me.";
- set ep13_2_busut,7;
+ ep13_2_busut = 7;
erasequest 11102;
setquest 11104;
close;
@@ -6581,7 +6580,7 @@ mid_camp,283,198,5 script Bazett Teablack#ep13bs 4_M_ALCHE_D,{
mes "Ah... this isn't much, but it's a coin that the giants use.";
mes "Maybe you can buy something from them with this.";
delitem 6074,1; //Bazett's_Order
- set ep13_2_busut,7;
+ ep13_2_busut = 7;
if (ep13_2_bs1 == 3) getitem 6080,1; //Manuk_Coin
if (ep13_2_bs2 == 3) getitem 6080,1; //Manuk_Coin
if (ep13_2_bs3 == 3) getitem 6080,1; //Manuk_Coin
@@ -6688,7 +6687,7 @@ manuk,193,135,0 script Worker#ep13bs 4_MAN_PIOM,{
next;
mes "[Gill]";
mes "Sorry, again for making you do this but I will be waiting here for you.";
- set ep13_2_bs1,2;
+ ep13_2_bs1 = 2;
setquest 11105;
close;
}
@@ -6702,8 +6701,8 @@ manuk,193,135,0 script Worker#ep13bs 4_MAN_PIOM,{
mes "It's all because of you, we are able to prevent anything disastrous.";
mes "^0000FFEven though you're also an alien race, but compared to the vile fairies^000000, I'm glad to have met someone like "+strcharinfo(0)+".";
delitem 6032,30; //Horn_Of_Hilsrion
- set ep13_2_bs1,3;
- set ep13_2_busut,4;
+ ep13_2_bs1 = 3;
+ ep13_2_busut = 4;
completequest 11105;
close;
}
@@ -6810,7 +6809,7 @@ manuk,193,135,0 script Worker#ep13bs 4_MAN_PIOM,{
next;
mes "[Gill]";
mes "I'm really sorry, so please hurry.";
- set ep13_2_bs1,2;
+ ep13_2_bs1 = 2;
setquest 11105;
close;
}
@@ -6824,7 +6823,7 @@ manuk,193,135,0 script Worker#ep13bs 4_MAN_PIOM,{
mes "It's all because of you, we are able to prevent anything disastrous.";
mes "^0000FFEven though you're also an alien race, but compared to the vile fairies^000000, I'm glad to have met someone like "+strcharinfo(0)+".";
delitem 6032,30; //Horn_Of_Hilsrion
- set ep13_2_bs1,3;
+ ep13_2_bs1 = 3;
completequest 11105;
close;
}
@@ -6910,8 +6909,8 @@ nyd_dun02,139,274,0 script Strange Device#ep13_in CLEAR_NPC,3,3,{
close;
}
else {
- set $@08_ep13nydun02_in,1;
- set .@way_loot,rand(1,2);
+ $@08_ep13nydun02_in = 1;
+ .@way_loot = rand(1,2);
if (.@way_loot == 1) {
donpcevent "ep13_warp_s1::OnEnable";
donpcevent "ep13_warp_11::OnEnable";
@@ -6940,7 +6939,7 @@ nyd_dun02,139,274,0 script Strange Device#ep13_in CLEAR_NPC,3,3,{
OnTimer70000:
donpcevent "ep13_nd2f_mng::OnReset";
- set $@08_ep13nydun02_in,0;
+ $@08_ep13nydun02_in = 0;
stopnpctimer;
end;
@@ -7290,7 +7289,7 @@ nyd_dun02,1,1,0 script ep13_nd2f_mng CLEAR_NPC,{
switch(select("Yes:No")) {
case 1:
donpcevent "ep13_nd2f_mng::OnReset";
- set $@08_ep13nydun02_in,0;
+ $@08_ep13nydun02_in = 0;
mes "Done.";
close;
case 2:
diff --git a/npc/quests/quests_airship.txt b/npc/quests/quests_airship.txt
index 49478877d..2a3b5103d 100644
--- a/npc/quests/quests_airship.txt
+++ b/npc/quests/quests_airship.txt
@@ -54,7 +54,7 @@ airplane,47,61,7 script Crewman 4_M_ZONDAOYAJI,{
mes "It's a strange favor to ask, but I'll pay you back as soon as you return.";
next;
setquest 2079;
- set kain_ticket, 5;
+ kain_ticket = 5;
mes "^3355FFKain Himere has given you a small box.^000000";
close;
}
@@ -64,7 +64,7 @@ airplane,47,61,7 script Crewman 4_M_ZONDAOYAJI,{
if (kain_ticket == 0) {
switch(select("About the Airship...:Leave a Comment")) {
case 1:
- set kain_ticket, 1;
+ kain_ticket = 1;
mes "[Kain Himere]";
mes "Is this your first time flying? Hahaha, I understand how nervous you might be since I used to feel the same way.";
next;
@@ -122,7 +122,7 @@ airplane,47,61,7 script Crewman 4_M_ZONDAOYAJI,{
} else if (kain_ticket == 1) {
switch(select("About the Airship...:Make a remark")) {
case 1:
- set kain_ticket, 2;
+ kain_ticket = 2;
mes "[Kain Himere]";
mes "You want to hear more";
mes "about the Airship? Hmm, I don't know too many stories that I could tell you.";
@@ -269,7 +269,7 @@ airplane,47,61,7 script Crewman 4_M_ZONDAOYAJI,{
next;
switch(select("Einbroch:Juno")) {
case 1:
- set kain_ticket, 4;
+ kain_ticket = 4;
mes "["+strcharinfo(0)+"]";
mes "I'm heading";
mes "to Einbroch.";
@@ -280,7 +280,7 @@ airplane,47,61,7 script Crewman 4_M_ZONDAOYAJI,{
mes "that thing. Hold on...";
close;
case 2:
- set kain_ticket, 3;
+ kain_ticket = 3;
mes "["+strcharinfo(0)+"]";
mes "I'm heading";
mes "to Juno.";
@@ -299,7 +299,7 @@ airplane,47,61,7 script Crewman 4_M_ZONDAOYAJI,{
next;
switch(select("Einbroch:Juno")) {
case 1:
- set kain_ticket, 4;
+ kain_ticket = 4;
mes "["+strcharinfo(0)+"]";
mes "I'm heading";
mes "to Einbroch.";
@@ -389,7 +389,7 @@ airplane,47,61,7 script Crewman 4_M_ZONDAOYAJI,{
mes "[Kain Himere]";
mes "Would be so kind as to help me by finding that journal and seeing if Tarsha is my daughter?";
changequest 2081,2082;
- set kain_ticket, 11;
+ kain_ticket = 11;
close;
}
} else if (kain_ticket == 11 || kain_ticket == 12) {
@@ -425,7 +425,7 @@ airplane,47,61,7 script Crewman 4_M_ZONDAOYAJI,{
mes "I know this isn't much, but please understand that it's all I can give you. God bless you for your all your help!";
delitem 7276, 1;
completequest 2085;
- set kain_ticket, 15;
+ kain_ticket = 15;
getitem 7311, 4;
close;
} else {
@@ -451,7 +451,7 @@ airplane,47,61,7 script Crewman 4_M_ZONDAOYAJI,{
ein_in01,227,279,3 script #door_ein -1,5,5,{
OnTouch:
if (kain_ticket == 5) {
- set kain_ticket, 6;
+ kain_ticket = 6;
mes "["+strcharinfo(0)+"]";
mes "Excuse me...?";
next;
@@ -498,7 +498,7 @@ OnTouch:
close;
case 2:
changequest 2079,2080;
- set kain_ticket, 7;
+ kain_ticket = 7;
mes "[Elle Cherno]";
mes "This...?";
mes "It's the Miner's Song!";
@@ -548,7 +548,7 @@ OnTouch:
mes "doodled message";
mes "in your hand.^000000";
changequest 2084,2085;
- set kain_ticket, 14;
+ kain_ticket = 14;
getitem 7276, 1; //Picture_Letter
close;
}
@@ -562,7 +562,7 @@ OnTouch:
ein_in01,123,94,1 script Theo Cherno 4_M_REPAIR,{
if (kain_ticket == 7) {
callfunc "F_Cherno";
- set kain_ticket, 8;
+ kain_ticket = 8;
close;
} else if (kain_ticket > 7 && kain_ticket < 10) {
mes "[Theo Cherno]";
@@ -600,7 +600,7 @@ ein_in01,123,94,1 script Theo Cherno 4_M_REPAIR,{
ein_in01,125,99,3 script Tarsha Cherno 4_F_EINWOMAN,{
if (kain_ticket == 7) {
callfunc "F_Cherno";
- set kain_ticket, 8;
+ kain_ticket = 8;
close;
} else if (kain_ticket == 8) {
mes "[Tarsha Cherno]";
@@ -669,7 +669,7 @@ ein_in01,125,99,3 script Tarsha Cherno 4_F_EINWOMAN,{
mes "["+strcharinfo(0)+"]";
mes "I've got to go check something now, but hopefully I'll be back soon with good news!";
changequest 2080,2081;
- set kain_ticket, 10;
+ kain_ticket = 10;
close;
} else if (kain_ticket == 10 || kain_ticket == 11) {
mes "["+strcharinfo(0)+"]";
@@ -737,7 +737,7 @@ ein_in01,125,99,3 script Tarsha Cherno 4_F_EINWOMAN,{
mes "Ah, right.";
mes "Elle wants to see you again. Would you be so kind as to see her before you go?";
changequest 2083,2084;
- set kain_ticket, 13;
+ kain_ticket = 13;
close;
case 3:
mes "^3355FFUh oh...";
@@ -1018,7 +1018,7 @@ ein_in01,121,99,3 script Mirror#ein HIDDEN_NPC,{
mes "^3355FFAfter enjoying that little epiphany, you see a reflection of Tarsha's neck as you set the mirror back down.^000000";
next;
mes "^3355FFAs you take a closer look, you find that there's a strange mark around her neck...^000000";
- set kain_ticket, 9;
+ kain_ticket = 9;
close;
}
}
@@ -1040,7 +1040,7 @@ einbech,45,113,5 script Tree#t1-1::Tree HIDDEN_NPC,{
mes "......";
mes ".........";
next;
- set .@find_diary,rand(1,100);
+ .@find_diary = rand(1,100);
if (.@find_diary > 10) {
mes "^3355ffUnfortunately,";
mes "you weren't able";
@@ -1056,7 +1056,7 @@ einbech,45,113,5 script Tree#t1-1::Tree HIDDEN_NPC,{
next;
mes "^3355FFThat was the last page of the journal. You picked it up so that you can bring it over to ^3131FFTarsha.^000000";
changequest 2082,2083;
- set kain_ticket, 12;
+ kain_ticket = 12;
close;
}
} else if (kain_ticket == 12) {
@@ -1160,7 +1160,7 @@ ein_in01,117,80,5 script Unidentified Machine#as HIDDEN_NPC,{
mes "your items again.";
close;
} else {
- set .@choice, select(getitemname(getbrokenid(1)),getitemname(getbrokenid(2)),
+ .@choice = select(getitemname(getbrokenid(1)),getitemname(getbrokenid(2)),
getitemname(getbrokenid(3)),getitemname(getbrokenid(4)),getitemname(getbrokenid(5)),
getitemname(getbrokenid(6)),getitemname(getbrokenid(7)),getitemname(getbrokenid(8)),
getitemname(getbrokenid(9)),getitemname(getbrokenid(10)));
@@ -1511,7 +1511,7 @@ OnTimer410000:
mapannounce "airplane_01","We will arrive in Izlude shortly.",bc_map,"0x00ff00";
end;
OnTimer420000:
- set $@airplanelocation2,1;
+ $@airplanelocation2 = 1;
donpcevent "#AirshipWarp-3::OnUnhide";
donpcevent "#AirshipWarp-4::OnUnhide";
mapannounce "airplane_01","Welcome to Izlude. Have a safe trip.",bc_map,"0x00ff00";
@@ -1531,7 +1531,7 @@ OnTimer490000:
mapannounce "airplane_01","We will arrive in Juno shortly.",bc_map,"0x70dbdb";
end;
OnTimer500000:
- set $@airplanelocation2,2;
+ $@airplanelocation2 = 2;
donpcevent "#AirshipWarp-3::OnUnhide";
donpcevent "#AirshipWarp-4::OnUnhide";
mapannounce "airplane_01","Welcome to Juno. Have a safe trip.",bc_map,"0x70dbdb";
@@ -1551,7 +1551,7 @@ OnTimer570000:
mapannounce "airplane_01","We will arrive in Rachel shortly.",bc_map,"0xFF8200";
end;
OnTimer580000:
- set $@airplanelocation2,0;
+ $@airplanelocation2 = 0;
donpcevent "#AirshipWarp-3::OnUnhide";
donpcevent "#AirshipWarp-4::OnUnhide";
mapannounce "airplane_01","Welcome to Rachel. Have a safe trip.",bc_map,"0xFF8200";
@@ -1584,7 +1584,7 @@ airplane_01,246,54,3 script Airship Captain#02 4_M_REINDEER,{
close2;
cutin "",255;
end;
-
+
OnInit:
hideonnpc "Airship Captain#02";
end;
@@ -1614,13 +1614,13 @@ airplane_01,238,154,3 script Airship Captain#01 4_M_REINDEER,{
mes "have a question?";
next;
if (lght_air >= 0 && lght_air <= 3 || lght_air == 7) {
- set .@question$, "How does this Airship fly?";
+ .@question$ = "How does this Airship fly?";
} else if (lght_air == 4) {
- set .@question$, "I handed the letter to Captain Ferlock.";
+ .@question$ = "I handed the letter to Captain Ferlock.";
} else if (lght_air == 5) {
- set .@question$, "You finished reading the letter?";
+ .@question$ = "You finished reading the letter?";
} else if (lght_air == 6) {
- set .@question$, "Already finished reading?";
+ .@question$ = "Already finished reading?";
}
switch (select("Y-you're a reindeer?!", .@question$, "No, not really.")) {
case 1:
@@ -1702,7 +1702,7 @@ airplane_01,238,154,3 script Airship Captain#01 4_M_REINDEER,{
end;
case 2:
setquest 8032;
- set lght_air, 2;
+ lght_air = 2;
mes "[Tarlock]";
mes "Ha-hah! I like you";
mes "already! Alright, here's";
@@ -1736,7 +1736,7 @@ airplane_01,238,154,3 script Airship Captain#01 4_M_REINDEER,{
}
}
} else if (lght_air == 4) {
- set lght_air, 5;
+ lght_air = 5;
changequest 8034,8035;
mes "[Tarlock]";
mes "Oh!";
@@ -1749,7 +1749,7 @@ airplane_01,238,154,3 script Airship Captain#01 4_M_REINDEER,{
cutin "",255;
end;
} else if (lght_air == 5) {
- set lght_air, 6;
+ lght_air = 6;
mes "[Tarlock]";
mes "Um... Ha ha ha~!";
mes "This guy, he is a real lover!";
@@ -1835,7 +1835,7 @@ airplane_01,238,154,3 script Airship Captain#01 4_M_REINDEER,{
mes "and writing those long";
mes "letters.";
completequest 8035;
- set lght_air, 7;
+ lght_air = 7;
if (checkre(3))
getexp 20000,1000;
else
@@ -1869,7 +1869,7 @@ airplane_01,238,154,3 script Airship Captain#01 4_M_REINDEER,{
mes "Although that's a secret,";
mes "let me assure you that it's";
mes "nothing weird or dangerous.";
- set lght_air, 1;
+ lght_air = 1;
close2;
cutin "",255;
end;
@@ -1921,7 +1921,7 @@ airplane,236,163,5 script Airship Captain#03 4_M_REINDEER,{
mes "Haha, does it frighten you? This is a magically enchanted book. Once you've written the name in it, you will be able to find the answer you want in an instant.";
next;
mes "[Ferlock]";
- mes "It must have surprised you to find that the people of Schwaltzvalt make use of magical items too.";
+ mes "It must have surprised you to find that the people of Schwaltzvalt make use of magical items too.";
next;
mes "[Ferlock]";
mes "This is something I acquired from an old friend.... Hmm, but that has nothing to do with this.";
@@ -1947,7 +1947,7 @@ airplane,236,163,5 script Airship Captain#03 4_M_REINDEER,{
mes "[Ferlock]";
mes "And if you ever meet him, please send him my gratitude and regards.";
changequest 8045,8046;
- set hg_ma1,5;
+ hg_ma1 = 5;
close2;
cutin "",255;
end;
@@ -2070,7 +2070,7 @@ airplane,236,163,5 script Airship Captain#03 4_M_REINDEER,{
mes "my breath before";
mes "I continue? Yes,";
mes "there's a little more...";
- set lhz_heart,12;
+ lhz_heart = 12;
close2;
cutin "",255;
end;
@@ -2154,7 +2154,7 @@ airplane,236,163,5 script Airship Captain#03 4_M_REINDEER,{
close2;
specialeffect2 EF_ABSORBSPIRITS;
completequest 8043;
- set lhz_heart,13;
+ lhz_heart = 13;
if (checkre(3))
getexp 70000,40000;
else
@@ -2180,13 +2180,13 @@ airplane,236,163,5 script Airship Captain#03 4_M_REINDEER,{
mes "I be of service to you?";
next;
if (lght_air == 2) {
- set .@question2$, "Give him Tarlock's Letter.";
- set .@question3$, "Cancel.";
+ .@question2$ = "Give him Tarlock's Letter.";
+ .@question3$ = "Cancel.";
} else if (lght_air == 3) {
- set .@question2$, "Here are the items I've found.";
- set .@question3$, "Cancel.";
+ .@question2$ = "Here are the items I've found.";
+ .@question3$ = "Cancel.";
} else {
- set .@question2$, "Cancel.";
+ .@question2$ = "Cancel.";
}
switch(select("How does this Airship fly?", .@question2$, .@question3$)) {
case 1:
@@ -2203,7 +2203,7 @@ airplane,236,163,5 script Airship Captain#03 4_M_REINDEER,{
case 2:
if (lght_air == 2) {
changequest 8032,8033;
- set lght_air, 3;
+ lght_air = 3;
mes "^3131FFYou give Captain Ferlock";
mes "the letter that his brother";
mes "Tarlock has written for him.^000000";
@@ -2269,7 +2269,7 @@ airplane,236,163,5 script Airship Captain#03 4_M_REINDEER,{
delitem 7340, 2;
delitem 576, 2;
changequest 8033,8034;
- set lght_air, 4;
+ lght_air = 4;
mes "[Ferlock]";
mes "You brought the items!";
mes "Thank you very much.";
@@ -2404,7 +2404,7 @@ airplane,236,63,4 script Hallen 4_M_KID1,{
mes "believe that? Yeah... Kaci";
mes "doesn't like him so much...";
close2;
- set lhz_heart,1;
+ lhz_heart = 1;
end;
} else if (lhz_heart == 1) {
mes "[Hallen]";
@@ -2454,7 +2454,7 @@ airplane,236,63,4 script Hallen 4_M_KID1,{
mes "Mawong's letter to";
mes "be delivered to Kaci.^000000";
setquest 8036;
- set lhz_heart,2;
+ lhz_heart = 2;
next;
mes "[Hallen]";
mes "Hey, thanks a lot, pal~";
@@ -2510,7 +2510,7 @@ airplane,236,63,4 script Hallen 4_M_KID1,{
mes "I can't think";
mes "that you really";
mes "believe that...";
- set lhz_heart,5;
+ lhz_heart = 5;
close;
case 2:
mes "[Hallen]";
@@ -2529,7 +2529,7 @@ airplane,236,63,4 script Hallen 4_M_KID1,{
mes "too much stuff right now...";
close;
}
- set lhz_heart,5;
+ lhz_heart = 5;
getitem 501,1;
mes "[Hallen]";
mes "I know this isn't";
@@ -2603,7 +2603,7 @@ airplane,236,63,4 script Hallen 4_M_KID1,{
mes "you could find out for me, ";
mes "it'd be a really big help.";
changequest 8038,8039;
- set lhz_heart,6;
+ lhz_heart = 6;
close;
} else if (lhz_heart == 6) {
mes "[Hallen]";
@@ -2655,7 +2655,7 @@ airplane,236,63,4 script Hallen 4_M_KID1,{
mes "have I heard about that";
mes "before? Mm, let me think...";
changequest 8039,8040;
- set lhz_heart,7;
+ lhz_heart = 7;
close;
} else {
select("Actually...");
@@ -2719,8 +2719,8 @@ airplane,236,63,4 script Hallen 4_M_KID1,{
mes "in your inventory for me, okay?";
close;
}
- if (Shinokas_Quest > 9) set lhz_heart,9;
- else set lhz_heart,8;
+ if (Shinokas_Quest > 9) lhz_heart = 9;
+ else lhz_heart = 8;
changequest 8040,8041;
getitem 501,1;
mes "[Hallen]";
@@ -2807,7 +2807,7 @@ airplane,33,69,4 script Kaci 1_F_MERCHANT_01,{
next;
mes "^3355FFSince she's begging, I guess I should send her message.";
changequest 8044,8045;
- set hg_ma1,4;
+ hg_ma1 = 4;
close;
} else if (hg_ma1 == 4) {
mes "[Kaci]";
@@ -2830,7 +2830,7 @@ airplane,33,69,4 script Kaci 1_F_MERCHANT_01,{
mes "But still, he's really busy...";
next;
changequest 8036,8037;
- set lhz_heart,3;
+ lhz_heart = 3;
mes "[Kaci]";
mes "Thank you for bringing";
mes "this to me. If you ever";
@@ -2850,7 +2850,7 @@ airplane,33,69,4 script Kaci 1_F_MERCHANT_01,{
L_Ask:
switch(select("Ask about Hallen:Ask about Mawong:Ask about the Airship")) {
case 1:
- set .@mesa,1;
+ .@mesa = 1;
mes "[Kaci]";
mes "Hallen? Well, he and I are";
mes "pretty close. Did you know";
@@ -2876,7 +2876,7 @@ L_Ask:
next;
break;
case 2:
- set .@mesb,1;
+ .@mesb = 1;
mes "[Kaci]";
mes "Mr. Mawong? Oh, don't get";
mes "the wrong idea! He's my";
@@ -2903,7 +2903,7 @@ L_Ask:
next;
break;
case 3:
- set .@mesc,1;
+ .@mesc = 1;
mes "[Kaci]";
mes "The Airship? It's so";
mes "huge and beautiful, and";
@@ -2942,7 +2942,7 @@ L_Ask:
mes "Have a nice day,";
mes "and I'll see you later~";
changequest 8037,8038;
- set lhz_heart,4;
+ lhz_heart = 4;
close;
} else if (lhz_heart == 8) {
mes "[Kaci]";
@@ -2988,7 +2988,7 @@ L_Ask:
mes "as soon as I can, even if it's";
mes "a heavily restricted area.^000000)";
changequest 8041,8042;
- set lhz_heart,9;
+ lhz_heart = 9;
close;
}
mes "[Kaci]";
@@ -3033,7 +3033,7 @@ OnTouch:
mes "the Password Checker";
mes "device with you into";
mes "the laboratory.^000000";
- set lhz_heart,10;
+ lhz_heart = 10;
close;
}
}
@@ -3081,12 +3081,12 @@ OnTouch:
mes "not enter any number";
mes "more than once. Make";
mes "sure the password is 3 digits.";
- set @retry,0;
+ @retry = 0;
next;
while (1) {
- set @yagu100,rand(1,9);
- set @yagu10,rand(1,9);
- set @yagu1,rand(1,9);
+ @yagu100 = rand(1,9);
+ @yagu10 = rand(1,9);
+ @yagu1 = rand(1,9);
if (((@yagu100 != @yagu10) && (@yagu100 != @yagu1)) && (@yagu10 != @yagu1)) {
break;
}
@@ -3105,9 +3105,9 @@ L_Retry:
mes "3 digit passwords.^000000";
close;
}
- set @input100,@input / 100;
- set @input10,(@input % 100) / 10;
- set @input1,@input % 10;
+ @input100 = @input / 100;
+ @input10 = (@input % 100) / 10;
+ @input1 = @input % 10;
if ((@input100 > 0) && (@input10 > 0) && (@input1 > 0)) {
if ((@input100 != @input10) && (@input100 != @input1) && (@input10 != @input1)) {
break;
@@ -3121,21 +3121,21 @@ L_Retry:
next;
}
}
- set @retry,@retry+1;
+ ++@retry;
mes "[Security System]";
mes "^ff0000"+strcharinfo(0)+"^000000";
mes "has entered the following:";
mes "^0000ff"+@input100+"^000000 - ^0000ff"+@input10+"^000000 - ^0000ff"+@input1+"^000000.";
mes "Please wait for authorization to complete.";
next;
- set @strike,0;
- set @ball,0;
- if (@yagu100 == @input100) set @strike,@strike+1;
- if (@yagu10 == @input10) set @strike,@strike+1;
- if (@yagu1 == @input1) set @strike,@strike+1;
- if ((@yagu100 == @input10) || (@yagu100 == @input1)) set @ball,@ball+1;
- if ((@yagu10 == @input100) || (@yagu10 == @input1)) set @ball,@ball+1;
- if ((@yagu1 == @input100) || (@yagu1 == @input10)) set @ball,@ball+1;
+ @strike = 0;
+ @ball = 0;
+ if (@yagu100 == @input100) @strike += 1;
+ if (@yagu10 == @input10) @strike += 1;
+ if (@yagu1 == @input1) @strike += 1;
+ if ((@yagu100 == @input10) || (@yagu100 == @input1)) @ball += 1;
+ if ((@yagu10 == @input100) || (@yagu10 == @input1)) @ball += 1;
+ if ((@yagu1 == @input100) || (@yagu1 == @input10)) @ball += 1;
if (@strike == 3) {
mes "[Security System]";
mes "Authorization complete.";
@@ -3205,7 +3205,7 @@ L_Retry:
close2;
donpcevent "Ferlock#lab::OnInit";
changequest 8042,8043;
- set lhz_heart,11;
+ lhz_heart = 11;
end;
}
mes "[Password Checker]";
diff --git a/npc/quests/quests_alberta.txt b/npc/quests/quests_alberta.txt
index a26c9c5f0..0dbea9c6a 100644
--- a/npc/quests/quests_alberta.txt
+++ b/npc/quests/quests_alberta.txt
@@ -1064,7 +1064,7 @@ alberta_in,23,104,4 script Grandpa Turtle#tur 2_M_PHARMACIST,{
close;
case 2:
if ((MISC_QUEST & 65536) || TURTLE) {
- if(MISC_QUEST & 65536) set TURTLE,0; //now clear the var
+ if(MISC_QUEST & 65536) TURTLE = 0; //now clear the var
mes "[Grandpa Turtle]";
mes "Well...";
mes "If you go to eastern side of the Alberta port, you should find an old ferryboatman.";
@@ -1089,7 +1089,7 @@ alberta_in,23,104,4 script Grandpa Turtle#tur 2_M_PHARMACIST,{
mes "[Grandpa Turtle]";
mes "Well, then...";
mes "Good luck~";
- set TURTLE,1;
+ TURTLE = 1;
close;
case 3:
mes "[Grandpa Turtle]";
@@ -1429,7 +1429,7 @@ alberta,248,93,4 script Voyage log#tur HIDDEN_NPC,{
mes "^FF3355X : 160 , Y : 81^000000";
next;
mes "^3355FFIn the Voyage log is a thin key marked with a skull. You've taken this Skull key, as it may be of some use later.^000000";
- set TURTLE,2;
+ TURTLE = 2;
close;
case 2:
mes "^3355FFYou notice a page with a stamp shaped like a bird's foot. The black ink smells sort of like fruit.^000000";
@@ -1479,7 +1479,7 @@ alberta,248,93,4 script Voyage log#tur HIDDEN_NPC,{
next;
mes "^3355FFYou've gained^000000";
mes "^3355FFthe Roots key.^000000";
- set TURTLE,3;
+ TURTLE = 3;
close;
case 3:
mes "^3355FFThese pages of this log are soiled with mud, and some of them are missing.^000000";
@@ -1513,7 +1513,7 @@ alberta,248,93,4 script Voyage log#tur HIDDEN_NPC,{
next;
mes "^3355FFYou've gained ^000000";
mes "^3355FFthe Security key^000000";
- set TURTLE,4;
+ TURTLE = 4;
close;
}
}
@@ -1537,8 +1537,8 @@ tur_dun01,160,81,4 script Skull Stone#tur HIDDEN_NPC,{
mes "^3355FFthe stone opened and^000000";
mes "^3355FFsome items popped out!!^000000";
next;
- set MISC_QUEST,MISC_QUEST | 65536;
- set TURTLE,0;
+ MISC_QUEST |= 65536;
+ TURTLE = 0;
switch(rand(1,3)) {
case 1:
getitem 532,5; //Banana_Juice
@@ -1612,7 +1612,7 @@ tur_dun02,132,251,4 script Turtle Tree Roots#tur HIDDEN_NPC,{
mes "^3355FFInside the pile of turtle^000000";
mes "^3355FFcrystals, a scroll is hidden.^000000";
mes "";
- set TURTLE,7;
+ TURTLE = 7;
mes "^3355FFYou've gained a^000000";
mes "^3355FFTurtle Crystal key.^000000";
close;
@@ -1669,7 +1669,7 @@ tur_dun02,46,125,4 script A pile of turtle crystal HIDDEN_NPC,{
mes "^3355FFAt the edge of the crystal^000000";
mes "^3355FFplate, is a long key.^000000";
mes "";
- set TURTLE,8;
+ TURTLE = 8;
mes "^3355FFYou've gained the^000000";
mes "^3355FFTurtle Pillar key.^000000";
close;
@@ -1717,8 +1717,8 @@ tur_dun02,49,158,4 script Turtle Pillar#tur HIDDEN_NPC,{
next;
mes "^3355FFThere are many items^000000";
mes "^3355FFunder the pillar...^000000";
- set MISC_QUEST,MISC_QUEST | 65536;
- set TURTLE,0;
+ MISC_QUEST |= 65536;
+ TURTLE = 0;
switch(rand(1,10)) {
case 1:
getitem 702,1; //Animal_Blood
@@ -1811,7 +1811,7 @@ tur_dun01,203,155,4 script Turtle stone#tur HIDDEN_NPC,{
mes "beneath the line of words,";
mes "rests a brilliant red bead.^000000";
next;
- set TURTLE,10;
+ TURTLE = 10;
mes "^3355FFYou set the red bead to the";
mes "Security key, fitting it";
mes "within one of three tiny holes.^000000";
@@ -1858,7 +1858,7 @@ tur_dun02,75,249,4 script Turtle stone#tur2 HIDDEN_NPC,{
mes "beneath the line of words,";
mes "rests a brilliant yellow bead.";
next;
- set TURTLE,11;
+ TURTLE = 11;
mes "^3355FFYou set the yellow bead";
mes "into the Security key, fitting it";
mes "within one of three tiny holes.^000000";
@@ -1905,7 +1905,7 @@ tur_dun03,118,233,4 script Turtle Stone#tur3 HIDDEN_NPC,{
mes "beneath the line of words,";
mes "rests a brilliant blue bead.^000000";
next;
- set TURTLE,12;
+ TURTLE = 12;
mes "^3355FFYou set the blue bead to the";
mes "into the Security Key, fitting it";
mes "within one of three tiny holes.^000000";
@@ -1945,8 +1945,8 @@ tur_dun04,113,178,4 script Turtle Statue#tur HIDDEN_NPC,{
mes "metal plate. You pull";
mes "it open like a drawer.^000000";
next;
- set MISC_QUEST,MISC_QUEST | 65536;
- set TURTLE,0;
+ MISC_QUEST |= 65536;
+ TURTLE = 0;
if (rand(1,20) == 7) {
switch(rand(1,4)) {
case 1:
@@ -2376,7 +2376,7 @@ alberta_in,131,95,5 script Iromo#ep3_2 4_M_KID1,{
mes "One day, I will surely become...";
mes "..An adventurer... and do many, many things.";
next;
- set ep13_2_hiki,13;
+ ep13_2_hiki = 13;
completequest 10089;
getexp (checkre(3))?8000:80000,0;
mes "[Iromo]";
@@ -2473,7 +2473,7 @@ alberta_in,131,95,5 script Iromo#ep3_2 4_M_KID1,{
mes "Really...? Other than Alberta, and Rune-Midgarts...?";
mes "There are other places...?";
next;
- set ep13_2_hiki,12;
+ ep13_2_hiki = 12;
changequest 10088,10089;
mes "[Iromo]";
mes "But... there will also be many troubles...";
@@ -2504,7 +2504,7 @@ alberta_in,131,95,5 script Iromo#ep3_2 4_M_KID1,{
mes "But...";
mes "He must've forgotten all about me...";
next;
- set ep13_2_hiki,11;
+ ep13_2_hiki = 11;
changequest 10087,10088;
getexp (checkre(3))?6700:67000,0;
mes "[Iromo]";
@@ -2572,7 +2572,7 @@ alberta_in,131,95,5 script Iromo#ep3_2 4_M_KID1,{
mes "...is always the same...";
mes "Get out... I'm not in the mood...";
next;
- set ep13_2_hiki,10;
+ ep13_2_hiki = 10;
changequest 10086,10087;
getexp (checkre(3))?5700:57000,0;
mes "[Iromo]";
@@ -2604,7 +2604,7 @@ alberta_in,131,95,5 script Iromo#ep3_2 4_M_KID1,{
mes "[Iromo]";
mes "Do you have any stories about siblings?";
next;
- set ep13_2_hiki,9;
+ ep13_2_hiki = 9;
changequest 10085,10086;
mes "[Iromo]";
mes "What? Anything to say?";
@@ -2629,7 +2629,7 @@ alberta_in,131,95,5 script Iromo#ep3_2 4_M_KID1,{
mes "being outside.";
mes "I would rather stay at home.";
next;
- set ep13_2_hiki,8;
+ ep13_2_hiki = 8;
changequest 10084,10085;
getexp (checkre(3))?4700:47000,0;
mes "[Iromo]";
@@ -2685,7 +2685,7 @@ alberta_in,131,95,5 script Iromo#ep3_2 4_M_KID1,{
next;
delitem 528,1; //Monster's_Feed
delitem 501,1; //Red_Potion
- set ep13_2_hiki,7;
+ ep13_2_hiki = 7;
changequest 10083,10084;
getexp (checkre(3))?3750:37500,0;
mes "[Iromo]";
@@ -2713,7 +2713,7 @@ alberta_in,131,95,5 script Iromo#ep3_2 4_M_KID1,{
mes "I can stand it.";
next;
if (ep13_2_hiki == 1) {
- set ep13_2_hiki,2;
+ ep13_2_hiki = 2;
changequest 10079,10080;
}
mes "[Iromo]";
@@ -2793,7 +2793,7 @@ alberta_in,120,93,3 script Iromo's Mother#ep3_2 1_M_INNKEEPER,{
mes "he spent all his pocket money,";
mes "but I don't know what he has been eating.";
next;
- set ep13_2_hiki,3;
+ ep13_2_hiki = 3;
mes "[Mother]";
mes "Oh, why don't you ask Iromo's friend?";
mes "I think he would know about his favorite food.";
@@ -2811,7 +2811,7 @@ alberta_in,120,93,3 script Iromo's Mother#ep3_2 1_M_INNKEEPER,{
mes "he spent all his pocket money,";
mes "but I don't know what he has been eating.";
next;
- set ep13_2_hiki,3;
+ ep13_2_hiki = 3;
mes "[Mother]";
mes "Oh, why don't you ask Iromo's friend?";
mes "I think he would know about his favorite food.";
@@ -2829,7 +2829,7 @@ alberta_in,120,93,3 script Iromo's Mother#ep3_2 1_M_INNKEEPER,{
mes "he doesn't go out anymore.";
next;
if (BaseLevel > 40 && !questprogress(10079)) {
- set ep13_2_hiki,1;
+ ep13_2_hiki = 1;
setquest 10079;
}
mes "[Mother]";
@@ -2885,7 +2885,7 @@ alberta,45,106,5 script Little Boy#ep3_2 4_M_KID1,{
mes "I can't understand why he liked";
mes "those foods. He was odd...";
next;
- set ep13_2_hiki,6;
+ ep13_2_hiki = 6;
changequest 10082,10083;
mes "[Little Boy]";
mes "Anyway, I already told you";
@@ -2911,7 +2911,7 @@ alberta,45,106,5 script Little Boy#ep3_2 4_M_KID1,{
mes "Yum Yum...";
next;
delitem 513,1; //Banana
- set ep13_2_hiki,5;
+ ep13_2_hiki = 5;
changequest 10081,10082;
mes "[Little Boy]";
mes "Wait. Wait...";
@@ -2960,7 +2960,7 @@ alberta,45,106,5 script Little Boy#ep3_2 4_M_KID1,{
mes "They don't sell bananas in this village...";
mes "I am eager to have bananas.";
next;
- set ep13_2_hiki,4;
+ ep13_2_hiki = 4;
changequest 10080,10081;
mes "[Little Boy]";
mes "Oh, you will buy me a banana?";
diff --git a/npc/quests/quests_amatsu.txt b/npc/quests/quests_amatsu.txt
index 61c948f6e..96565b8ec 100644
--- a/npc/quests/quests_amatsu.txt
+++ b/npc/quests/quests_amatsu.txt
@@ -135,13 +135,13 @@ amatsu,223,236,3 script Publisher#ama 4_M_JPN,{
mes "This is your reward for you.";
mes "Please continue to enjoy stories~";
mes " ";
- set .@event_momo, event_momo;
- set event_momo,4;
+ .@event_momo = event_momo;
+ event_momo = 4;
completequest 8128;
completequest 8129;
completequest 8130;
if (.@event_momo == 3) {
- set .@gift_1,rand(1,10);
+ .@gift_1 = rand(1,10);
if (.@gift_1 == 1) {
getitem 659,1; //Heart_Of_Her
}
@@ -174,7 +174,7 @@ amatsu,223,236,3 script Publisher#ama 4_M_JPN,{
}
}
else {
- set .@gift_2,rand(1,10);
+ .@gift_2 = rand(1,10);
if (.@gift_2 == 1) {
getitem 622,1; //Rainbow_Carrot
}
@@ -327,7 +327,7 @@ ama_test,52,44,3 script Assistant#ama 4_M_MANAGER,{
mes "Bye-";
close2;
percentheal 100,0;
- set event_momo,0;
+ event_momo = 0;
warp "amatsu",223,230;
end;
}
@@ -452,7 +452,7 @@ OnTouch:
mes "[Grandma & Grandpa]";
mes "So...Do me this favor, kid~";
close2;
- set event_momo,1;
+ event_momo = 1;
if (countitem(9010) > 0 || countitem(9005) > 0 || countitem(9016) > 0) {
disablenpc "Grandpa#ama";
disablenpc "Grandma#ama1";
@@ -473,7 +473,7 @@ OnInit:
OnEnable:
enablenpc "Dokebi#ez";
- set .MyMobs,9;
+ .MyMobs = 9;
monster "ama_test",45,95,"Dokebi",1110,1,"Dokebi#ez::OnMyMobDead";
monster "ama_test",45,99,"Dokebi",1110,1,"Dokebi#ez::OnMyMobDead";
monster "ama_test",47,101,"Dokebi",1110,1,"Dokebi#ez::OnMyMobDead";
@@ -490,14 +490,14 @@ OnReset:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
mapannounce "ama_test","I...I will be baaaack~~~~!!!",bc_map;
enablenpc "Coach#ama";
- set event_momo,2;
+ event_momo = 2;
}
else {
- set .@dokebi_tel,rand(1,4);
+ .@dokebi_tel = rand(1,4);
if (.@dokebi_tel == 1) {
mapannounce "ama_test","!!IT'S A RAID!!!! RUN!!",bc_map;
}
@@ -521,7 +521,7 @@ OnInit:
OnEnable:
enablenpc "Dokebi#hd";
- set .MyMobs,9;
+ .MyMobs = 9;
monster "ama_test",45,95,"Dokebi",1110,1,"Dokebi#hd::OnMyMobDead";
monster "ama_test",45,99,"Dokebi",1110,1,"Dokebi#hd::OnMyMobDead";
monster "ama_test",47,101,"Dokebi",1110,1,"Dokebi#hd::OnMyMobDead";
@@ -538,14 +538,14 @@ OnReset:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
mapannounce "ama_test"," I will be baaaack~~~~!!!",bc_map;
enablenpc "Coach#ama";
- set event_momo,2;
+ event_momo = 2;
}
else {
- set .@dokebi_tel,rand(1,4);
+ .@dokebi_tel = rand(1,4);
if (.@dokebi_tel == 1) {
mapannounce "ama_test","!! IT'S A RAID!!!! RUN!!",bc_map;
}
@@ -674,7 +674,7 @@ OnInit:
OnEnable:
enablenpc "Am Mut#ama";
- set .MyMobs,3;
+ .MyMobs = 3;
monster "ama_test",35,102,"Am Mut",1301,1,"Am Mut#ama::OnMyMobDead";
monster "ama_test",40,91,"Am Mut",1301,1,"Am Mut#ama::OnMyMobDead";
monster "ama_test",56,108,"Am Mut",1301,1,"Am Mut#ama::OnMyMobDead";
@@ -685,12 +685,12 @@ OnReset:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
enablenpc "Coach#after";
}
else {
- set .@am_mut_tel,rand(1,3);
+ .@am_mut_tel = rand(1,3);
if (.@am_mut_tel == 1) {
mapannounce "ama_test"," Augh!! I, I made mistake...!",bc_map;
}
@@ -726,7 +726,7 @@ OnTouch:
mes "I had a great time...";
mes "Don't forget to get your reward~";
close2;
- set event_momo,3;
+ event_momo = 3;
changequest 8129,8130;
warp "amatsu",223,230;
disablenpc "Coach#after";
@@ -822,7 +822,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
mes "Thanks. It's nothing, but";
mes "I will give you my shop's special cuisine, Fish Slice, in return.";
next;
- set fish_r,0;
+ fish_r = 0;
erasequest 10036;
delitem 529,10; //Candy
getitem 544,15; //Fish_Slice
@@ -854,7 +854,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
mes "Thanks. It is nothing, but";
mes "I will give you two sets of Sushi in return.";
next;
- set fish_r,0;
+ fish_r = 0;
erasequest 10037;
delitem 964,10; //Crap_Shell
getitem 551,20; //Shusi
@@ -886,7 +886,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
mes "Thanks. It is nothing but";
mes "I will give you several sets of Sushi in return.";
next;
- set fish_r,0;
+ fish_r = 0;
erasequest 10038;
delitem 961,10; //Conch
getitem 551,30; //Shusi
@@ -918,7 +918,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
mes "Thanks. It is nothing but";
mes "I will give you a large amount of food in return.";
next;
- set fish_r,0;
+ fish_r = 0;
erasequest 10039;
delitem 1023,10; //Fish_Tail
getitem 544,20; //Fish_Slice
@@ -952,7 +952,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
mes "I will give you two sets of Sushi in return.";
next;
delitem 736,1; //White_Platter
- set fish_r,0;
+ fish_r = 0;
erasequest 10040;
getitem 551,20; //Shusi
mes "[Magumagu]";
@@ -1011,7 +1011,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
mes " ";
next;
delitem 950,100; //Heart_Of_Mermaid
- set ama_sushi,4;
+ ama_sushi = 4;
completequest 10041;
getitem 1144,1; //Sasimi
mes "[Magumagu]";
@@ -1074,8 +1074,8 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
mes "You look stuffed...";
mes "Share the rest with your friends and family.";
next;
- set ama_sushi,ama_sushi+1;
- set fish_r,0;
+ ++ama_sushi;
+ fish_r = 0;
erasequest 10041;
mes "[Magumagu]";
mes "Thanks a lot for today! Haha!";
@@ -1211,9 +1211,9 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
mes "Will you do me a favor?";
mes "I will reward you.";
next;
- set .@fish_m1,rand(1,10);
+ .@fish_m1 = rand(1,10);
if (.@fish_m1 == 1 || .@fish_m1 == 2) {
- set fish_r,1;
+ fish_r = 1;
setquest 10036;
mes "[Magumagu]";
mes "I need some candies to make";
@@ -1223,7 +1223,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
mes " ";
}
else if (.@fish_m1 == 3 || .@fish_m1 == 4) {
- set fish_r,2;
+ fish_r = 2;
setquest 10037;
mes "[Magumagu]";
mes "I need some crab shells to make";
@@ -1233,7 +1233,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
mes "Okay?";
}
else if (.@fish_m1 == 5 || .@fish_m1 == 6) {
- set fish_r,3;
+ fish_r = 3;
setquest 10038;
mes "[Magumagu]";
mes "I have used all of my conches.";
@@ -1243,7 +1243,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
mes "Please do me this favor.";
}
else if (.@fish_m1 == 7 || .@fish_m1 == 8) {
- set fish_r,4;
+ fish_r = 4;
setquest 10039;
mes "[Magumagu]";
mes "Decorative fish tails are out of";
@@ -1253,7 +1253,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
mes "Please do me this favor.";
}
else if (.@fish_m1 == 9) {
- set fish_r,5;
+ fish_r = 5;
setquest 10040;
mes "[Magumagu]";
mes "We are missing a platter to serve";
@@ -1264,7 +1264,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
}
else {
if (rand(1,10) == 1) {
- set fish_r,6;
+ fish_r = 6;
setquest 10041;
mes "[Magumagu]";
mes "Don't ask me why...";
@@ -1278,7 +1278,7 @@ ama_in01,162,17,1 script Sushi Master#ama 4_M_JPNOJI2,{
mes "Just keep what I want in mind.";
}
else {
- set fish_r,5;
+ fish_r = 5;
setquest 10040;
mes "[Magumagu]";
mes "We are missing a platter to serve";
@@ -1320,7 +1320,7 @@ amatsu,112,164,4 script Gate Soldier#ama1 8_M_JPNSOLDIER,{
mes " ";
close;
}
-
+
amatsu,119,164,4 script Gate Soldier#ama2 8_M_JPNSOLDIER,{
mes "[Gate Soldier]";
mes "Are you from Rune-Midgard?";
@@ -1335,7 +1335,7 @@ amatsu,119,164,4 script Gate Soldier#ama2 8_M_JPNSOLDIER,{
mes "Amatsu, and intercontinental trade was his idea.";
close;
}
-
+
ama_in02,207,40,6 script Gate Soldier#ama3 8_M_JPNSOLDIER,{
mes "[Gate Soldier]";
mes "Welcome. The lord of the palace";
@@ -1347,7 +1347,7 @@ ama_in02,207,40,6 script Gate Soldier#ama3 8_M_JPNSOLDIER,{
mes "Please enjoy your stay.";
close;
}
-
+
ama_in02,207,49,6 script Gate Soldier#ama4 8_M_JPNSOLDIER,{
mes "[Gate Soldier]";
mes "The lord is really nice guy.";
@@ -1362,14 +1362,14 @@ ama_in02,207,49,6 script Gate Soldier#ama4 8_M_JPNSOLDIER,{
mes " ";
close;
}
-
+
amatsu,164,174,4 script Gate Soldier#ama5 8_M_JPNSOLDIER,{
mes "[Gate Soldier]";
if (event_amatsu == 0) {
mes "You can't enter here.";
mes "The mother of our lord is resting in here. She needs her rest.";
next;
- set event_amatsu,1;
+ event_amatsu = 1;
setquest 8131;
mes "[Gate Soldier]";
mes "She has been sick for months.";
@@ -1400,7 +1400,7 @@ amatsu,164,174,4 script Gate Soldier#ama5 8_M_JPNSOLDIER,{
}
close;
}
-
+
amatsu,171,174,4 script Gate Soldier#ama6 8_M_JPNSOLDIER,{
mes "[Gate Soldier]";
if (event_amatsu == 0) {
@@ -1408,7 +1408,7 @@ amatsu,171,174,4 script Gate Soldier#ama6 8_M_JPNSOLDIER,{
mes "The mother of our lord is resting in here.";
mes " ";
next;
- set event_amatsu,1;
+ event_amatsu = 1;
mes "[Gate Soldier]";
mes "She has been sick for months.";
mes "That is why she is staying in here.";
@@ -1440,7 +1440,7 @@ amatsu,171,174,4 script Gate Soldier#ama6 8_M_JPNSOLDIER,{
}
close;
}
-
+
ama_in02,187,57,2 script Soldier#ama1 8_M_JPNSOLDIER,{
mes "[Ichiro]";
mes "Welcome.";
@@ -1453,7 +1453,7 @@ ama_in02,187,57,2 script Soldier#ama1 8_M_JPNSOLDIER,{
mes "palace. This is all provided by him.";
close;
}
-
+
ama_in02,170,62,4 script Soldier#ama2 8_M_JPNSOLDIER,{
mes "[Jiro]";
mes "I'm Jiro, the administrator";
@@ -1504,7 +1504,7 @@ ama_in02,170,62,4 script Soldier#ama2 8_M_JPNSOLDIER,{
close;
}
}
-
+
ama_in02,37,157,4 script Soldier#ama3 8_M_JPNSOLDIER,{
mes "[Saburo]";
mes "This is the training ground for improving our battle skills.";
@@ -1530,7 +1530,7 @@ ama_in02,37,157,4 script Soldier#ama3 8_M_JPNSOLDIER,{
mes "See ya...";
close;
}
-
+
ama_in02,32,51,6 script Soldier#ama4 8_M_JPNSOLDIER,{
mes "[Shiro]";
mes "*Cough, Cough* What...";
@@ -1549,7 +1549,7 @@ ama_in02,32,51,6 script Soldier#ama4 8_M_JPNSOLDIER,{
mes "*Cough*... *Cough*...";
close;
}
-
+
ama_in02,40,167,3 script Soldier#ama5 8_M_JPNSOLDIER,{
mes "[Goro]";
mes "*Psst*... Please, be quiet.";
@@ -1577,7 +1577,7 @@ ama_in02,40,167,3 script Soldier#ama5 8_M_JPNSOLDIER,{
mes "Just don't tell anyone that I've told you this, okay?";
close;
}
-
+
ama_in02,32,167,5 script Soldier#ama6 8_M_JPNSOLDIER,{
mes "[Rokuro]";
mes "He always talks nonsense.";
@@ -1599,7 +1599,7 @@ ama_in02,32,167,5 script Soldier#ama6 8_M_JPNSOLDIER,{
mes "improve after their visits...";
close;
}
-
+
ama_in02,42,34,2 script Soldier#ama7 8_M_JPNSOLDIER,{
mes "[Shichiro]";
mes "Have a good time.";
@@ -1615,7 +1615,7 @@ ama_in02,42,34,2 script Soldier#ama7 8_M_JPNSOLDIER,{
mes "Have a good day.";
close;
}
-
+
ama_in02,203,156,4 script Soldier#ama8 8_M_JPNSOLDIER,{
mes "[Hachiro]";
mes "My lord is inside.";
@@ -1629,7 +1629,7 @@ ama_in02,203,156,4 script Soldier#ama8 8_M_JPNSOLDIER,{
mes "What could have happened to him...?";
close;
}
-
+
ama_in02,195,156,4 script Soldier#ama9 8_M_JPNSOLDIER,{
mes "[Kyuro]";
mes "This is not good.";
@@ -1644,7 +1644,7 @@ ama_in02,195,156,4 script Soldier#ama9 8_M_JPNSOLDIER,{
mes "him as a soldier.";
close;
}
-
+
ama_in02,115,177,7 script Soldier#ama10 8_M_JPNSOLDIER,{
mes "[Jyuro]";
mes "What are you doing in here?";
@@ -1736,7 +1736,7 @@ ama_in02,115,177,7 script Soldier#ama10 8_M_JPNSOLDIER,{
mes "There are more things to enjoy in town. Have yourself a good time...";
close;
}
-
+
ama_dun01,229,7,0 script Soldier#ama11 8_M_JPNSOLDIER,{
mes "[Jyuro]";
mes "Do you want to go back?";
@@ -1752,7 +1752,7 @@ ama_dun01,229,7,0 script Soldier#ama11 8_M_JPNSOLDIER,{
mes "Take care...";
close;
}
-
+
ama_in02,200,176,4 script Lord of Palace#ama 8_M_JPNMASTER,{
if (event_amatsu == 0) {
mes "[Ishida Yoshinaga]";
@@ -1802,7 +1802,7 @@ ama_in02,200,176,4 script Lord of Palace#ama 8_M_JPNMASTER,{
mes "You, who hail from Rune-Midgard,";
mes "may be able to cure my mother's disease. I will reward you well if you succeed...";
next;
- set event_amatsu,2;
+ event_amatsu = 2;
changequest 8131,8132;
mes "[Ishida Yoshinaga]";
mes "I beg you...Please.";
@@ -1860,7 +1860,7 @@ ama_in02,200,176,4 script Lord of Palace#ama 8_M_JPNMASTER,{
mes "You can go anywhere";
mes "with this ticket.";
next;
- set event_amatsu,6;
+ event_amatsu = 6;
completequest 8135;
delitem 1022,1; //Fox_Tail
getitem 7160,1; //Lord's_Passable_Ticket
@@ -1907,7 +1907,7 @@ ama_in02,200,176,4 script Lord of Palace#ama 8_M_JPNMASTER,{
mes "I have faith in your ability.";
close;
}
-
+
ama_in01,22,111,0 script Grandma#ama2 4_F_JPNOBA,{
if (event_amatsu == 4) {
mes "[....]";
@@ -1923,15 +1923,15 @@ ama_in01,22,111,0 script Grandma#ama2 4_F_JPNOBA,{
select("Taaaah!!");
if ((BaseJob == Job_Priest || BaseJob != Job_Acolyte && BaseJob != Job_Monk) || (countitem(523) < 1 || countitem(948) < 1 || countitem(1029) < 1)) {
if (rand(1,4) == 1)
- set .@fox_kill,0;
+ .@fox_kill = 0;
else
- set .@fox_kill,1;
+ .@fox_kill = 1;
}
else {
if (rand(1,2) == 1)
- set .@fox_kill,0;
+ .@fox_kill = 0;
else
- set .@fox_kill,1;
+ .@fox_kill = 1;
}
if (.@fox_kill == 1) {
mes "[....]";
@@ -1946,7 +1946,7 @@ ama_in01,22,111,0 script Grandma#ama2 4_F_JPNOBA,{
next;
monster "ama_in01",22,111,"Nine Tails",1180,1;
killmonsterall "ama_in01";
- set event_amatsu,5;
+ event_amatsu = 5;
changequest 8134,8135;
getitem 1022,1; //Fox_Tail
mes "[....]";
@@ -2051,7 +2051,7 @@ ama_in01,22,111,0 script Grandma#ama2 4_F_JPNOBA,{
warp "amatsu",167,197;
end;
}
-
+
amatsu,189,166,5 script Kouji#ama 4_M_JPNCHIBI,{
mes "[Kouji]";
mes "Ralralrah Ralralrah Ralralrahralralrah~";
@@ -2065,7 +2065,7 @@ amatsu,189,166,5 script Kouji#ama 4_M_JPNCHIBI,{
mes "That Mommy's love is best for me~";
}
else if (event_amatsu == 2) {
- set event_amatsu,3;
+ event_amatsu = 3;
mes "Priest, Priest~";
mes "A fox is following me!";
mes "It's funny and a little absurd,";
@@ -2106,7 +2106,7 @@ amatsu,189,166,5 script Kouji#ama 4_M_JPNCHIBI,{
mes "Ralralrah Ralralrah Ralralrahralralrah~";
close;
}
-
+
ama_in01,169,173,1 script Shaman#ama 4_F_JPNMU,{
mes "[Tokako]";
mes "Er, I'm not really a shaman...";
@@ -2127,7 +2127,7 @@ ama_in01,169,173,1 script Shaman#ama 4_F_JPNMU,{
mes " ";
close;
}
-
+
ama_in01,180,173,3 script Kitsune Mask#ama 4_M_JPN2,{
if (event_amatsu == 3) {
mes "[Takehue]";
@@ -2167,7 +2167,7 @@ ama_in01,180,173,3 script Kitsune Mask#ama 4_M_JPN2,{
mes " ";
next;
select("Taaaaah!!");
- set event_amatsu,4;
+ event_amatsu = 4;
mes "[Takehue]";
mes "Good. Show that spiritual";
mes "energy to the fox several times.";
diff --git a/npc/quests/quests_ayothaya.txt b/npc/quests/quests_ayothaya.txt
index 2c3225ce2..4135e8f98 100644
--- a/npc/quests/quests_ayothaya.txt
+++ b/npc/quests/quests_ayothaya.txt
@@ -141,7 +141,7 @@ ayothaya,233,105,3 script Powerful-Looking Woman 4_F_THAIAYO,2,2,{
}
delitem 7288,1; //Thai_Ring
changequest 12030,12031;
- set thai_find,3;
+ thai_find = 3;
close;
} else {
mes "[Shuda]";
@@ -321,7 +321,7 @@ ayothaya,233,105,3 script Powerful-Looking Woman 4_F_THAIAYO,2,2,{
mes "And so, that is my quest for you. It should keep you entertained for a while. So get into the water, and I'll supervise from here.";
mes "Oho ho ho ho ho!";
emotion e_heh;
- set thai_find,1;
+ thai_find = 1;
close;
case 2:
mes "[Powerful-Looking Woman]";
@@ -388,7 +388,7 @@ ayothaya,233,105,3 script Powerful-Looking Woman 4_F_THAIAYO,2,2,{
mes "So go and look under the water! There's no water current, so I'm sure it's still there! What are you waiting for, it's should be an easy swim for you! Oho ho ho ho ho!";
if (!questprogress(12029))
setquest 12029;
- set thai_find,1;
+ thai_find = 1;
close;
}
break;
@@ -473,7 +473,7 @@ if (!$@annonactive) {
mes "^3355FFshrubbery, you find";
mes "a small burrow.^000000";
next;
- set $@annonactive,1;
+ $@annonactive = 1;
enablenpc "Haggard Man";
mes "[Haggard Man]";
mes "^666666*Cough cough!*^000000";
@@ -488,7 +488,7 @@ if (!$@annonactive) {
mes "Hey...";
mes "What are you doi--";
next;
- set $@annonactive,0;
+ $@annonactive = 0;
disablenpc "Haggard Man";
mes "^3355FFHe vanished!^000000";
close;
@@ -517,7 +517,7 @@ if (!$@annonactive) {
mes "from beneath.^000000";
next;
if (!rand(0,2)) {
- set $@annonactive,1;
+ $@annonactive = 1;
enablenpc "Haggard Man";
mes "[?]";
mes "^666666*Cough cough*^000000";
@@ -561,7 +561,7 @@ OnTouch:
mes "Strange to see";
mes "a blood stain in";
mes "this kind of place...";
- set thai_find,13;
+ thai_find = 13;
changequest 12033,12034;
close;
}
@@ -710,7 +710,7 @@ ayo_dun02,91,264,3 script Haggard Man 4_M_THAIAYO,{
next;
mes "^3355FFYou feel as though Annon";
mes "realigned every bone in your skeleton, placing them in the right spots. Strangely, you feel intense relaxation and refreshment instead of excruciating pain.";
- set thai_find,14;
+ thai_find = 14;
completequest 12034;
if (checkre(3)) {
if (BaseLevel < 56) getexp 900,0;
@@ -751,7 +751,7 @@ ayo_dun02,91,264,3 script Haggard Man 4_M_THAIAYO,{
mes "before others find me.";
mes "Good day~!";
close2;
- set $@annonactive,0;
+ $@annonactive = 0;
disablenpc "Haggard Man";
end;
} else {
@@ -777,7 +777,7 @@ ayo_dun02,91,264,3 script Haggard Man 4_M_THAIAYO,{
mes "me back inside!";
mes "Wahhhhhh~!";
next;
- set $@annonactive,0;
+ $@annonactive = 0;
disablenpc "Haggard Man";
mes "[" +strcharinfo(0)+ "]";
mes "Okay, it's time";
@@ -812,7 +812,7 @@ ayo_dun02,91,264,3 script Haggard Man 4_M_THAIAYO,{
mes "hide from Shuda.";
mes "^666666*Cries*^000000";
close2;
- set $@annonactive,0;
+ $@annonactive = 0;
disablenpc "Haggard Man";
end;
}
@@ -821,17 +821,17 @@ ayo_dun02,91,264,3 script Haggard Man 4_M_THAIAYO,{
mes "Huh? Who are you?";
mes "This isn't a safe place for a tourists! You should leave right away!";
close2;
- set $@annonactive,0;
+ $@annonactive = 0;
disablenpc "Haggard Man";
end;
}
OnInit:
- set $@annonactive,0;
+ $@annonactive = 0;
disablenpc "Haggard Man";
end;
}
-
+
ayothaya,253,99,3 script Fisherman 4_M_THAIONGBAK,{
if (thai_find == 1) {
mes "[Dannai]";
@@ -863,7 +863,7 @@ ayothaya,253,99,3 script Fisherman 4_M_THAIONGBAK,{
next;
delitem 528,1; //Monster's_Feed
Zeny -= 50;
- set .@randfish,rand(1,100);
+ .@randfish = rand(1,100);
if (.@randfish > 0 && .@randfish < 40) {
mes "^3355FFWhile cooking the Phen, you";
mes "find that it's swallowed a Stone.^000000";
@@ -910,7 +910,7 @@ ayothaya,253,99,3 script Fisherman 4_M_THAIONGBAK,{
mes "^3355FFYou take the";
mes "engagement ring.^000000";
close2;
- set thai_find,2;
+ thai_find = 2;
changequest 12029,12030;
getitem 7288,1; //Thai_Ring
end;
@@ -969,7 +969,7 @@ OnTouch:
if (rand(1,3) < 2) {
emotion e_gasp,1;
mes "^3355FFYou find footprints heading to the ^5C3317North^3355FF. It looks like somebody was in quite a hurry, just like the villager said!^000000";
- set thai_find,5;
+ thai_find = 5;
changequest 12032,12033;
close;
}
@@ -984,7 +984,7 @@ OnTouch:
emotion e_dots,1;
mes "^3355FFYou find another set of footprints. It seems that somebody was running away from something. These prints are heading to the ^5C3317East^3355FF. You'd better follow them to see what";
mes "you can find.^000000";
- set thai_find,6;
+ thai_find = 6;
close;
}
}
@@ -998,7 +998,7 @@ OnTouch:
emotion e_no,1;
mes "^3355FFThe footprints end around this area. Whoever was running must";
mes "have been exhausted and stumbled on something. Perhaps the owner of the footprints is nearby...^000000";
- set thai_find,7;
+ thai_find = 7;
close;
}
}
@@ -1012,7 +1012,7 @@ OnTouch:
emotion e_ic,1;
mes "^3355FFAs you follow the footprints,";
mes "you arrive at the '^5C3317Entrance of the Shrine^3355FF.' Whoever this person was, he just ran into the second level.^000000";
- set thai_find,8;
+ thai_find = 8;
close;
}
}
@@ -1029,7 +1029,7 @@ OnTouch:
mes "anyone would come here. The";
mes "footprints continue towards";
mes "the ^5C3317North^3355FF.^000000";
- set thai_find,9;
+ thai_find = 9;
close;
}
}
@@ -1052,10 +1052,10 @@ OnTouch:
case 1:
mes "["+strcharinfo(0)+"]";
mes "Well, it's probably nothing. But which way should I go now?";
- set thai_find,10;
+ thai_find = 10;
close;
case 2:
- set .@randayo,rand(1,10);
+ .@randayo = rand(1,10);
if (.@randayo < 2) {
mes "["+strcharinfo(0)+"]";
mes "Why, this is a pack of White Potions. Whoever owned these must have dropped these by accident. Hmm, I could use these for later...";
@@ -1067,7 +1067,7 @@ OnTouch:
mes "toward the ^5C3317East^000000.";
mes "I better look";
mes "into this.";
- set thai_find,10;
+ thai_find = 10;
getitem 504,10; //White_Potion
close;
} else if (.@randayo > 2 && .@randayo < 5) {
@@ -1081,7 +1081,7 @@ OnTouch:
mes "toward the ^5C3317East^000000.";
mes "I better look";
mes "into this.";
- set thai_find,10;
+ thai_find = 10;
getitem 503,10; //Yellow potion
close;
} else {
@@ -1100,7 +1100,7 @@ OnTouch:
mes "^3355FFYou find another trail";
mes "of footprints that heads";
mes "towards the ^5C3317East^3355FF.^000000";
- set thai_find,10;
+ thai_find = 10;
close;
}
}
@@ -1120,7 +1120,7 @@ OnTouch:
mes "deep into the dungeon.";
mes "Just looking for this";
mes "guy is exhausting...^000000";
- set thai_find,11;
+ thai_find = 11;
close;
}
}
@@ -1134,7 +1134,7 @@ OnTouch:
emotion e_gasp,1;
mes "^3355FFYou find traces of blood. Whoever was running in this direction may have been wounded. The trail of blood leads to the ^5C3317North^3355FF.^000000";
changequest 12032,12033;
- set thai_find,12;
+ thai_find = 12;
close;
}
}
@@ -1170,11 +1170,11 @@ ayothaya,193,171,3 script Old Man#02 4_M_THAIOLD,{
next;
mes "[Tham]";
mes "Oh well, don't worry. All of our villagers aren't like that. Anyway, I hope you enjoy your travels in Ayotaya.";
- set thai_find,4;
+ thai_find = 4;
changequest 12031,12032;
close;
} else {
- set .@randayo,rand(1,7);
+ .@randayo = rand(1,7);
if (.@randayo < 5) {
mes "[Tham]";
mes "Oh hello~";
@@ -1302,7 +1302,7 @@ ayothaya,83,132,0 script Dusit#thai 4_M_THAIONGBAK,{
next;
mes "[Dusit]";
mes "Ah well, you'll see what I'm talking about. I hope he'll help you learn more about that evil creature.";
- set ayodunquest,1;
+ ayodunquest = 1;
setquest 12035;
close;
}
@@ -1451,7 +1451,7 @@ ayo_in01,181,193,4 script Shaman#thai 4_F_THAISHAMAN,{
mes "Please come back";
mes "when you prepare all";
mes "the materials.";
- set ayodunquest,2;
+ ayodunquest = 2;
changequest 12035,12036;
close;
}
@@ -1490,7 +1490,7 @@ ayo_in01,181,193,4 script Shaman#thai 4_F_THAISHAMAN,{
delitem 7217,1; //Spool
delitem 7190,1; //Solid_Peeling
delitem 523,1; //Holy_Water
- set ayodunquest,3;
+ ayodunquest = 3;
changequest 12036,12037;
getitem 7285,1; //Thread_Skein
next;
@@ -1601,7 +1601,7 @@ ayo_in01,181,193,4 script Shaman#thai 4_F_THAISHAMAN,{
mes "^3366991 Yggdrasil Leaf^000000,";
mes "^3366992 Needle Packet^000000 and";
mes "^3366992 Spool^000000.";
- set ayodunquest,10;
+ ayodunquest = 10;
changequest 12037,12038;
next;
mes "[Boonthom]";
@@ -1636,7 +1636,7 @@ ayo_in01,181,193,4 script Shaman#thai 4_F_THAISHAMAN,{
delitem 7217,2; //Spool
delitem 610,1; //Leaf_Of_Yggdrasil
delitem 523,2; //Holy_Water
- set ayodunquest,11;
+ ayodunquest = 11;
getitem 7287,1; //Thread_Skein_
changequest 12038,12039;
next;
@@ -1736,7 +1736,7 @@ ayo_in01,181,193,4 script Shaman#thai 4_F_THAISHAMAN,{
next;
mes "[Boonthom]";
mes "If you wish to explore the building again, but you don't have any holy thread, feel free to ask me at anytime.";
- set ayodunquest,13;
+ ayodunquest = 13;
completequest 12039;
close;
} else if (ayodunquest > 12) {
@@ -1971,7 +1971,7 @@ ayo_dun01,259,46,0 duplicate(AyoHint) #hint02_3 -1,2,0
// Puzzle pieces
ayo_dun01,198,164,0 script #hun_thai_1 HIDDEN_NPC,{
if (ayodunquest == 3) {
- set ayodunquest,4;
+ ayodunquest = 4;
mes "^3355FFYou find a piece of a stone slate with letters etched on it. It seems to be the 1st part of the slate.^000000";
next;
mes "^3355FFIt reads '^0000FFDo not enter the 2nd underground level^3355FF.' You are unable to read the rest of the message.^000000";
@@ -1983,7 +1983,7 @@ ayo_dun01,198,164,0 script #hun_thai_1 HIDDEN_NPC,{
ayo_dun01,87,16,0 script #hun_thai_2 HIDDEN_NPC,{
if (ayodunquest == 4) {
- set ayodunquest,5;
+ ayodunquest = 5;
mes "^3355FFYou find a piece of a stone slate with letters etched on it. It seems to be the 2nd part of the slate.^000000";
next;
mes "^3355FFIt reads '^0000FF...is danger... You wil...^3355FF.' You are unable to read the rest of the message.^000000";
@@ -1995,7 +1995,7 @@ ayo_dun01,87,16,0 script #hun_thai_2 HIDDEN_NPC,{
ayo_dun01,268,214,0 script #hun_thai_3 HIDDEN_NPC,{
if (ayodunquest == 5) {
- set ayodunquest,6;
+ ayodunquest = 6;
mes "^3355FFYou find a piece of a stone slate with letters etched on it. It seems to be the 3rd part of the slate.^000000";
next;
mes "^3355FFIt reads '^0000FF...encounter... tiger...^3355FF.' You are unable to read the rest of the message.^000000";
@@ -2007,7 +2007,7 @@ ayo_dun01,268,214,0 script #hun_thai_3 HIDDEN_NPC,{
ayo_dun01,147,274,0 script #hun_thai_4 HIDDEN_NPC,{
if (ayodunquest == 6) {
- set ayodunquest,7;
+ ayodunquest = 7;
mes "^3355FFYou find a piece of a stone slate with letters etched on it. It seems to be the 4th part of the slate.^000000";
next;
mes "^3355FFIt reads '^0000FFYou must kill... In order to do... MUST... How to go... the 2nd underground level...^3355FF' You are unable to read the rest of the message.^000000";
@@ -2019,7 +2019,7 @@ ayo_dun01,147,274,0 script #hun_thai_4 HIDDEN_NPC,{
ayo_dun01,99,118,0 script #hun_thai_5 HIDDEN_NPC,{
if (ayodunquest == 7) {
- set ayodunquest,8;
+ ayodunquest = 8;
mes "^3355FFYou find a piece of a stone slate with letters etched on it. It seems to be the 5th part of the slate.^000000";
next;
mes "^3355FFIt reads '^0000FFYou need more... Holy power... in order to...^3355FF' You are unable to read the rest of the message.^000000";
@@ -2031,7 +2031,7 @@ ayo_dun01,99,118,0 script #hun_thai_5 HIDDEN_NPC,{
ayo_dun01,16,188,0 script #hun_thai_6 HIDDEN_NPC,{
if (ayodunquest == 8) {
- set ayodunquest,9;
+ ayodunquest = 9;
setquest 12036;
mes "^3355FFYou find a piece of a stone slate with letters etched on it. It seems to be the last part of the slate.^000000";
next;
@@ -2080,7 +2080,7 @@ ayo_dun02,268,108,0 script #reward_tiger HIDDEN_NPC,{
next;
mes "^3355FFYou pick";
mes "up the box.^000000";
- set ayodunquest,12;
+ ayodunquest = 12;
completequest 12039;
getitem 603,1; //Old_Blue_Box
close;
@@ -2127,7 +2127,7 @@ ayothaya,196,265,3 script Einon#ayo 4_M_THAIOLD,{
mes "visit ^3131FFMali the Spicy^000000.";
next;
emotion e_no1;
- set tomyumgoong,1;
+ tomyumgoong = 1;
setquest 8123;
mes "[Einon]";
mes "She is the best cook when it";
@@ -2218,7 +2218,7 @@ ayo_in01,145,163,3 script Cook#ayo 4_F_THAIGIRL,{
mes "If you mention";
mes "my name, that guy";
mes "might give you a discount.";
- set tomyumgoong,2;
+ tomyumgoong = 2;
changequest 8123,8124;
next;
mes "[Mali the Spicy]";
@@ -2276,7 +2276,7 @@ ayo_in01,145,163,3 script Cook#ayo 4_F_THAIGIRL,{
mes "me some ^CE0000Lemons^000000.";
next;
if (select("Where can I find Lemons?:I hate sour food. I'd better quit!") == 1) {
- set tomyumgoong,4;
+ tomyumgoong = 4;
changequest 8124,8125;
mes "[Mali the Spicy]";
mes "A few days ago, I saw a good";
@@ -2357,7 +2357,7 @@ ayo_in01,145,163,3 script Cook#ayo 4_F_THAIGIRL,{
next;
if (select("Okay, I'll be right back.:Ah, I'm tired now. Let me take a rest first...") == 1) {
delitem 568,10; //Lemon
- set tomyumgoong,6;
+ tomyumgoong = 6;
changequest 8125,8126;
mes "[Mali the Spicy]";
mes "See you in a bit~";
@@ -2455,7 +2455,7 @@ ayo_in01,145,163,3 script Cook#ayo 4_F_THAIGIRL,{
mes " ......";
mes " .........";
next;
- set tomyumgoong,8;
+ tomyumgoong = 8;
completequest 8126;
getitem 566,10; //Tomyumkung
emotion e_no1;
@@ -2547,7 +2547,7 @@ ayothaya,153,86,5 script Thongpool#ayo 4_M_THAIONGBAK,{
if (Zeny > 10999) {
if (MaxWeight - Weight > 3999) {
Zeny -= 11000;
- set tomyumgoong,3;
+ tomyumgoong = 3;
getitem 567,20; //Prawn
emotion e_no1;
mes "[Thongpool]";
@@ -2745,8 +2745,8 @@ OnTouch:
mes "As you kids say,";
mes "^990000Let's get eXtreme!^000000";
next;
- set @user_score,0;
- set @pc_score,0;
+ @user_score = 0;
+ @pc_score = 0;
mes "[Mr. Jun]";
mes "Rock!";
mes "Paper!";
@@ -2757,7 +2757,7 @@ OnTouch:
break;
}
else {
- set .@jun_mark,rand(1,3);
+ .@jun_mark = rand(1,3);
switch(select("Scissors:Rock:Paper")) {
case 1:
if (.@jun_mark == 1) {
@@ -2774,7 +2774,7 @@ OnTouch:
else if (.@jun_mark == 2) {
emotion e_rock;
emotion e_scissors,1;
- set @pc_score,@pc_score + 1;
+ ++@pc_score;
mes "[Mr. Jun]";
mes "Yes...!";
mes "Oh my God, yes!";
@@ -2783,8 +2783,8 @@ OnTouch:
else {
emotion e_paper;
emotion e_scissors,1;
- set @pc_score,@pc_score + 1;
- set @user_score,@user_score + 1;
+ ++@pc_score;
+ ++@user_score;
mes "[Mr. Jun]";
mes "What...?";
mes "I don't believe it!";
@@ -2796,8 +2796,8 @@ OnTouch:
if (.@jun_mark == 1) {
emotion e_scissors;
emotion e_rock,1;
- set @pc_score,@pc_score + 1;
- set @user_score,@user_score + 1;
+ ++@pc_score;
+ ++@user_score;
mes "[Mr. Jun]";
mes "No...!";
mes "Sacrilege!";
@@ -2817,7 +2817,7 @@ OnTouch:
else {
emotion e_paper;
emotion e_rock,1;
- set @pc_score,@pc_score + 1;
+ ++@pc_score;
mes "[Mr. Jun]";
mes "Bwahahaha!";
mes "You lose, kid!";
@@ -2828,7 +2828,7 @@ OnTouch:
if (.@jun_mark == 1) {
emotion e_scissors;
emotion e_paper,1;
- set @pc_score,@pc_score + 1;
+ ++@pc_score;
mes "[Mr. Jun]";
mes "Heh heh~";
mes "Young fool!";
@@ -2837,8 +2837,8 @@ OnTouch:
else if (.@jun_mark == 2) {
emotion e_rock;
emotion e_paper,1;
- set @user_score,@user_score + 1;
- set @pc_score,@pc_score + 1;
+ ++@user_score;
+ ++@pc_score;
mes "[Mr. Jun]";
mes "Noooo...!";
mes "This cannot be!";
@@ -2875,7 +2875,7 @@ OnTouch:
mes "Grab as many as you want!";
mes "^3355FFYou have plucked";
mes "10 Lemons from the tree.^000000";
- set tomyumgoong,5;
+ tomyumgoong = 5;
getitem 568,10; //Lemon
next;
emotion e_dots;
@@ -2942,7 +2942,7 @@ ayothaya,213,94,7 script Merchant#ayo 4_M_THAIAYO,{
if (Zeny > 1999) {
if (MaxWeight - Weight > 1199) {
Zeny -= 2000;
- set tomyumgoong,7;
+ tomyumgoong = 7;
getitem 7286,30; //Chilli
mes "[Merchant Thongdum]";
mes "Thank you.";
diff --git a/npc/quests/quests_comodo.txt b/npc/quests/quests_comodo.txt
index 6faf8f84f..778487881 100644
--- a/npc/quests/quests_comodo.txt
+++ b/npc/quests/quests_comodo.txt
@@ -519,7 +519,7 @@ comodo,206,310,4 script Campground Boy#cmd 4_M_BIBI,{
mes "Would you visit him and see";
mes "what's taking him so long";
mes "to get over here?";
- set dmdswrd_Q,1;
+ dmdswrd_Q = 1;
close;
}
mes "[Rochito]";
@@ -584,7 +584,7 @@ comodo,206,310,4 script Campground Boy#cmd 4_M_BIBI,{
mes "^3355FFYou've received a bottle";
mes "of Mureuchieligu wine to";
mes "deliver to the Comodo Chief.^000000";
- set dmdswrd_Q,3;
+ dmdswrd_Q = 3;
break;
case 3:
mes "[Rochito]";
@@ -706,7 +706,7 @@ comodo,204,310,4 script Camping Youth#cmd 1_M_YOUNGKNIGHT,{
mes "one of the best friends that";
mes "a guy can have! Cheers!";
mes "Hahahaha hahahaha~!";
- set dmdswrd_Q,5;
+ dmdswrd_Q = 5;
next;
mes "[Rockha]";
mes "Ahh, you know what would";
@@ -988,7 +988,7 @@ cmd_in02,32,140,4 script Chief#cmd 1_M_03,{
mes "long since I've seen them, but";
mes "I hope that I get a chance to";
mes "visit them someday soon.";
- set dmdswrd_Q,4;
+ dmdswrd_Q = 4;
break;
case 4:
mes "[Tausupa]";
@@ -1057,7 +1057,7 @@ cmd_in02,32,140,4 script Chief#cmd 1_M_03,{
mes "friends cannot begin the";
mes "barbeque without Comodo's";
mes "world famous seasoning...";
- set dmdswrd_Q,2;
+ dmdswrd_Q = 2;
break;
case 2:
mes "[Tausupa]";
@@ -1156,7 +1156,7 @@ comodo,88,97,4 script Toruna#cmd 4_M_MANAGER,{
mes "here chalk him up to be some";
mes "sort of common loon, but who";
mes "knows? Maybe it does exist...";
- set dmdswrd_Q,6;
+ dmdswrd_Q = 6;
next;
mes "[Toruna]";
mes "Well, you can decide for";
@@ -1245,7 +1245,7 @@ comodo,164,291,4 script Rakusa#cmd 1_F_MERCHANT_01,{
mes "around here? Nope, I thought";
mes "so! Still, I think he really";
mes "believes that it exists...";
- set dmdswrd_Q,7;
+ dmdswrd_Q = 7;
break;
case 7:
mes "[Rakusa]";
@@ -1293,7 +1293,7 @@ comodo,169,284,4 script Kichiri#cmd 4W_M_02,{
mes "Magatu to shut up?";
mes "I just want to drink";
mes "my alcohol in peace!";
- set dmdswrd_Q,8;
+ dmdswrd_Q = 8;
break;
case 8:
mes "[Kichiri]";
@@ -1361,7 +1361,7 @@ comodo,163,280,4 script Magatu#cmd 1_M_JOBTESTER,{
mes "^3355FFYou have received";
mes "Magatu's lucky bottle";
mes "cap to present to Manzi.";
- set dmdswrd_Q,9;
+ dmdswrd_Q = 9;
break;
case 9:
mes "[Magatu]";
@@ -1435,7 +1435,7 @@ cmd_in02,189,99,4 script Manzi#cmd 4_M_03,{
mes "you his lucky bottle cap, so I'm^FFFFFF ^000000 gonna give you my lucky coin!";
mes "The old crone'll recognize it~";
next;
- set dmdswrd_Q,10;
+ dmdswrd_Q = 10;
mes "^3355FFYou received Manzi's";
mes "''lucky coin.'' Strangely";
mes "enough, both sides";
@@ -1561,7 +1561,7 @@ comodo,187,153,4 script Hullaris#cmd 4_F_GODEMOM,{
mes "^3355FFNigirboran^000000. He will judge";
mes "whether you are worthy";
mes "of the Comodo Cheese...";
- set dmdswrd_Q,11;
+ dmdswrd_Q = 11;
next;
mes "[Hullaris]";
mes "Now, you should be";
@@ -1660,7 +1660,7 @@ comodo,187,153,4 script Hullaris#cmd 4_F_GODEMOM,{
mes "body. You feel a powerful, yet";
mes "quiet confidence of being able";
mes "to accomplish anything.^000000";
- set dmdswrd_Q,14;
+ dmdswrd_Q = 14;
next;
mes "[Hullaris]";
mes "Hahahah! So what";
@@ -1740,7 +1740,7 @@ beach_dun3,30,220,4 script Nigirboran#cmd 4_M_BIBI,{
mes "have a fighting chance, right?";
mes "So come back when you're";
mes "ready for the testing~";
- set dmdswrd_Q,12;
+ dmdswrd_Q = 12;
break;
case 12:
mes "[Nigirboran]";
@@ -1830,7 +1830,7 @@ beach_dun3,30,220,4 script Nigirboran#cmd 4_M_BIBI,{
mes "a token button to";
mes "present to Hullaris";
mes "from Nigirboran.^000000";
- set dmdswrd_Q,13;
+ dmdswrd_Q = 13;
next;
mes "[Nigirboran]";
mes "Ah, I almost forgot";
@@ -2010,7 +2010,7 @@ aldebaran,44,53,4 script Meteurengut#cmd 1_M_WIZARD,{
mes "^3355FF1 Rough Elunium^000000,";
mes "^3355FF1 Emerald^000000, and";
mes "^3355FF1 Blue Gemstone^000000.";
- set dmdswrd_Q,15;
+ dmdswrd_Q = 15;
break;
case 15:
if (countitem(717) > 0 && countitem(726) > 0 && countitem(721) > 0 && countitem(640) > 0 && countitem(757) > 0) {
@@ -2026,7 +2026,7 @@ aldebaran,44,53,4 script Meteurengut#cmd 1_M_WIZARD,{
delitem 721,1; //Azure_Jewel
delitem 640,1; //Shining_Stone
delitem 757,1; //Elunium_Stone
- set dmdswrd_Q,16;
+ dmdswrd_Q = 16;
next;
mes "[Meteurengut]";
mes "Would you please bring me";
@@ -2073,7 +2073,7 @@ aldebaran,44,53,4 script Meteurengut#cmd 1_M_WIZARD,{
mes "*^3355FFClang Clang Clang!*";
mes "*Zaaaaaaaaaaaaaap*";
mes "*Ching tink t-t-t-tap*^000000";
- set dmdswrd_Q,17;
+ dmdswrd_Q = 17;
next;
mes "[Meteurengut]";
mes "*Whew* It's finished.";
@@ -2201,12 +2201,12 @@ morocc,201,30,4 script Zaka#cmd 4W_M_03,{
mes "Ah, yes. The first thing";
mes "I need is ^3355FF2 Snake Scales^000000,";
mes "so please bring those soon.";
- set dmdswrd_Q,18;
+ dmdswrd_Q = 18;
break;
case 18:
if (countitem(926) > 1) {
delitem 926,2; //Scale_Of_Snakes
- set dmdswrd_Q,19;
+ dmdswrd_Q = 19;
mes "[Zaka]";
mes "Ah, you've brought";
mes "the Snake Scales? Good,";
@@ -2249,7 +2249,7 @@ morocc,201,30,4 script Zaka#cmd 4W_M_03,{
mes "I finish this part of the process, okay? Wait, actually, I think";
mes "you can take your time...";
delitem 936,1; //Scales_Shell
- set dmdswrd_Q,20;
+ dmdswrd_Q = 20;
close;
}
mes "[Zaka]";
@@ -2270,7 +2270,7 @@ morocc,201,30,4 script Zaka#cmd 4W_M_03,{
mes "I want to ask you to bring me:";
mes "^3355FF1 Stinky Scale^000000. Easy, right?";
delitem 954,1; //Shining_Scales
- set dmdswrd_Q,21;
+ dmdswrd_Q = 21;
next;
mes "[Zaka]";
mes "The energy of a Stinky";
@@ -2303,7 +2303,7 @@ morocc,201,30,4 script Zaka#cmd 4W_M_03,{
mes "the creation of the";
mes "Book of the Lamb.^000000";
delitem 959,1; //Rotten_Scale
- set dmdswrd_Q,22;
+ dmdswrd_Q = 22;
next;
mes "[Zaka]";
mes "What...?!";
@@ -2431,7 +2431,7 @@ comodo,232,87,4 script Won#cmd 1_M_MOC_LORD,{
next;
mes "^3355FFYou receive the";
mes "Stamp of Muriniel.^000000";
- set dmdswrd_Q,23;
+ dmdswrd_Q = 23;
next;
mes "[Won]";
mes "Mysteltainn, Executioner,";
diff --git a/npc/quests/quests_ein.txt b/npc/quests/quests_ein.txt
index 3283266ea..ca27cd431 100644
--- a/npc/quests/quests_ein.txt
+++ b/npc/quests/quests_ein.txt
@@ -100,7 +100,7 @@ einbech,97,167,5 script Cavitar 4_M_EINOLD,{
delitem 7126,40; //Large_Jellopy
delitem 1011,10; //Emveretarcon
delitem 912,10; //Zargon
- set ein_gear1,0;
+ ein_gear1 = 0;
getitem 615,1; // Oridecon
close;
}
@@ -275,7 +275,7 @@ einbech,97,167,5 script Cavitar 4_M_EINOLD,{
mes "as a token of my gratitute.";
mes "If you would, please take this.";
Zeny -= 1000;
- set ein_gear1,2;
+ ein_gear1 = 2;
switch(rand(1,7)) {
case 1:
getitem 7290,1; // Phlogopite
@@ -332,7 +332,7 @@ einbech,97,167,5 script Cavitar 4_M_EINOLD,{
switch(select("Sure~!:No, thanks.")) {
case 1:
Zeny -= 1000;
- set ein_gear1,1;
+ ein_gear1 = 1;
mes "[Cavitar]";
mes "Great...!";
mes "Now I need to go";
@@ -383,10 +383,10 @@ einbech,97,167,5 script Cavitar 4_M_EINOLD,{
mes "10 Zargon?";
next;
switch(select("Sure~!:No, thanks.")) {
- case 1:
+ case 1:
Zeny -= 1000;
- set $einamanoama,$einamanoama + 1;
- set ein_gear1,1;
+ ++$einamanoama;
+ ein_gear1 = 1;
mes "[Cavitar]";
mes "Great...!";
mes "Now I need to go";
@@ -395,7 +395,7 @@ einbech,97,167,5 script Cavitar 4_M_EINOLD,{
mes "gather everything I've";
mes "asked you to bring.";
close;
- case 2:
+ case 2:
mes "[Cavitar]";
mes "I see.";
mes "Well, I understand";
@@ -414,7 +414,7 @@ einbech,97,167,5 script Cavitar 4_M_EINOLD,{
close;
}
}
- }
+ }
case 2:
mes "[Cavitar]";
mes "I understand.";
@@ -424,7 +424,7 @@ einbech,97,167,5 script Cavitar 4_M_EINOLD,{
mes "that I'm desperate...";
close;
}
- case 2:
+ case 2:
mes "[Cavitar]";
mes "You're...";
mes "You're heartless!";
@@ -473,10 +473,10 @@ einbech,97,167,5 script Cavitar 4_M_EINOLD,{
// Uwe Kleine :: ein_anoz
//============================================================
einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
- set EinUwe,0;
+ EinUwe = 0;
if (BaseClass == Job_Blacksmith) {
if (ein_cook > 999) {
- set .@ccc,ein_cook-1000;
+ .@ccc = ein_cook-1000;
if (.@ccc > 199) {
mes "[Uwe]";
mes "Oh hello hello~";
@@ -514,7 +514,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "in your Kafra Storage?";
close;
}
- set ein_cook,219;
+ ein_cook = 219;
getitem 612,10; //Portable_Furnace
mes "[Uwe]";
mes "I had these lying";
@@ -567,7 +567,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "Here's the Coal I promised~";
mes "Oh, and take these Mini Furnaces. They were just lying around, so you know, I thought, well, why don't you take them? *Tee hee hee~*";
delitem 7126,6; //Large_Jellopy
- set ein_cook,219;
+ ein_cook = 219;
getitem 1003,1; //Coal
getitem 612,10; //Portable_Furnace
next;
@@ -625,7 +625,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
else {
mes "I usually give you cutie Blacksmiths 10 Mini Furnaces, but you can have ^EEA9B811^000000. There's the little something extra I was talking about.";
}
- set ein_cook,219;
+ ein_cook = 219;
getitem 612,11; //Portable_Furnace
next;
mes "[Uwe]";
@@ -670,7 +670,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "in your Kafra Storage?";
close;
}
- set ein_cook,219;
+ ein_cook = 219;
getitem 612,5; //Portable_Furnace
next;
mes "[Uwe]";
@@ -681,7 +681,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "[Uwe]";
mes "^666666You didn't bring";
mes "any Large Jellopy...?^000000.";
- set ein_cook,219;
+ ein_cook = 219;
next;
mes "[Uwe]";
mes "It's fine! It's not like I feel ^EEA9B8betrayed^000000 or anything, but I don't need them anymore! Since we're both in the business of smithing, I just hope that you remember to follow through on your favors, 'kay? Buhbye~";
@@ -713,7 +713,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
else {
mes "...You ^EEA9B8naughty girl^000000.";
}
- set ein_cook,219;
+ ein_cook = 219;
getitem 612,10; //Portable_Furnace
next;
mes "[Uwe]";
@@ -741,7 +741,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "Here's the Coal I promised~";
mes "Oh, and take these Mini Furnaces. They were just lying around, so you know, I thought, well, why don't you take them? *Tee hee hee~*";
delitem 7126,6; //Large_Jellopy
- set ein_cook,219;
+ ein_cook = 219;
getitem 1003,1; //Coal
getitem 612,10; //Portable_Furnace
close;
@@ -781,7 +781,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
else {
mes "I usually give you cutie Blacksmiths 10 Mini Furnaces, but you can have ^EEA9B811^000000. There's the little something extra I was talking about.";
}
- set ein_cook,219;
+ ein_cook = 219;
getitem 612,11; //Portable_Furnace
next;
mes "[Uwe]";
@@ -810,7 +810,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
else {
mes "...you ^EEA9B8naughty girl^000000.";
}
- set ein_cook,219;
+ ein_cook = 219;
getitem 612,10; //Portable_Furnace
next;
mes "[Uwe]";
@@ -825,7 +825,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "[Uwe]";
mes "^666666You didn't bring";
mes "any Large Jellopy...?^000000.";
- set ein_cook,219;
+ ein_cook = 219;
next;
mes "[Uwe]";
mes "It's fine! It's not like I feel ^EEA9B8betrayed^000000 or anything, but I don't need them anymore! Since we're both in the business of smithing, I just hope that you remember to follow through on your favors, 'kay? Buhbye~";
@@ -859,7 +859,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "...You ^EEA9B8naughty girl^000000.";
}
}
- set ein_cook,219;
+ ein_cook = 219;
getitem 612,10; //Portable_Furnace
next;
mes "[Uwe]";
@@ -933,7 +933,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "some Emvertarcons today,";
mes "so please have one, 'kay?";
mes "Welcome to Einbroch, cutie~";
- set ein_cook,1;
+ ein_cook = 1;
getitem 1011,1; //Emveretarcon
break;
case 2:
@@ -957,7 +957,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "someone just gave me some";
mes "Steel. Why don't you have 2 of";
mes "them as my little way of saying, ''Welcome to Einbroch, cutie~!''";
- set ein_cook,3;
+ ein_cook = 3;
getitem 998,2; //Iron
break;
case 3:
@@ -994,7 +994,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "some Emvertarcons today,";
mes "so please have one, 'kay?";
mes "Welcome to Einbroch, cutie~";
- set ein_cook,5;
+ ein_cook = 5;
getitem 1011,1; //Emveretarcon
break;
case 4:
@@ -1023,7 +1023,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "Why don't you have one as";
mes "my way of saying ''Welcome";
mes "to Einbroch, sugar honey~''";
- set ein_cook,7;
+ ein_cook = 7;
getitem 613,1; //Iron_Hammer
break;
}
@@ -1165,7 +1165,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "stuff in your Kafra Storage~";
close;
}
- set ein_cook,11;
+ ein_cook = 11;
getitem 614,1; //Golden_Hammer
getitem 613,1; //Iron_Hammer
mes "[Uwe]";
@@ -1278,7 +1278,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "stuff in your Kafra Storage~";
close;
}
- set ein_cook,13;
+ ein_cook = 13;
getitem 614,1; //Golden_Hammer
getitem 613,1; //Iron_Hammer
mes "[Uwe]";
@@ -1394,7 +1394,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "stuff in your Kafra Storage~";
close;
}
- set ein_cook,15;
+ ein_cook = 15;
getitem 614,1; //Golden_Hammer
getitem 613,1; //Iron_Hammer
next;
@@ -1466,7 +1466,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "Never cut corners and always";
mes "dedicate yourself to make the";
mes "very best finished product~";
- set ein_cook,17;
+ ein_cook = 17;
next;
mes "[Uwe]";
mes "Well, that was";
@@ -1659,7 +1659,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "stuff in your Kafra Storage~";
close;
}
- set ein_cook,19;
+ ein_cook = 19;
getitem 614,1; //Golden_Hammer
getitem 613,1; //Iron_Hammer
next;
@@ -2055,7 +2055,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "have some of these";
mes "cookies I just baked~";
next;
- set ein_cook,9;
+ ein_cook = 9;
getitem 538,5; //Well_Baked_Cookie
mes "[Uwe]";
mes "Okay, enjoy!";
@@ -2071,7 +2071,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "just thinking about";
mes "something but now I just";
mes "lost my train of thought.";
- set ein_cook,219;
+ ein_cook = 219;
next;
mes "[Uwe]";
mes "What was I going";
@@ -2083,26 +2083,26 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
}
}
else {
- set .@aaa,ein_cook % 2;
+ .@aaa = ein_cook % 2;
if (.@aaa == 1) {
- set .@bbb,ein_cook;
+ .@bbb = ein_cook;
if (.@bbb > 99) {
- set .@bbb,.@bbb-100;
+ .@bbb -= 100;
if (.@bbb > 99) {
- set .@bbb,.@bbb-100;
+ .@bbb -= 100;
if (.@bbb > 99) {
- set .@ccc,3;
+ .@ccc = 3;
}
else {
- set .@ccc,2;
+ .@ccc = 2;
}
}
else {
- set .@ccc,1;
+ .@ccc = 1;
}
}
else {
- set .@ccc,0;
+ .@ccc = 0;
}
if (.@ccc < 3) {
mes "[Uwe]";
@@ -2112,10 +2112,10 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "we've met somewhere before...";
next;
if (.@ccc == 0) {
- set ein_cook,ein_cook+300;
+ ein_cook += 300;
}
else if (.@ccc == 2) {
- set ein_cook,ein_cook+100;
+ ein_cook += 100;
}
mes "[Uwe]";
mes "Ah...!";
@@ -2343,7 +2343,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
}
}
if (ein_cook > 999) {
- set .@eee,ein_cook-1000;
+ .@eee = ein_cook-1000;
if (.@eee > 199) {
mes "[Uwe]";
mes "Ah, hello again,";
@@ -2688,7 +2688,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "Thank you ^EEA9B8so^000000 much!";
mes "Here's the Coal I promised~";
delitem 7126,6; //Large_Jellopy
- set ein_cook,ein_cook+100;
+ ein_cook += 100;
getitem 1003,1; //Coal
next;
}
@@ -2969,7 +2969,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "things. Get some paper,";
mes "and a pen for this list...";
next;
- set ein_cook,ein_cook+100;
+ ein_cook += 100;
mes "[Uwe]";
mes "Just kidding!";
mes "^333333*Titter~*^000000 I don't need";
@@ -3017,7 +3017,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
switch(select("Um, isn't this a forge?:Ignore him.")) {
case 1:
mes "[Uwe]";
- set ein_cook,1000;
+ ein_cook = 1000;
mes "Is this a forge?";
mes "Oh, sugar honey,";
mes "you haven't been here";
@@ -3158,7 +3158,7 @@ einbroch,215,180,6 script Uwe Kleine#ein 4_M_03,{
mes "things. Get some paper,";
mes "and a pen for this list...";
next;
- set ein_cook,ein_cook+100;
+ ein_cook += 100;
mes "[Uwe]";
mes "Just kidding!";
mes "^333333*Titter~*^000000 I don't need";
@@ -3215,7 +3215,7 @@ einbroch,1,1,0 script Einbroch Smog Alert -1,{
end;
OnEnable:
- set $@AlrdEinPoll,1;
+ $@AlrdEinPoll = 1;
mapannounce "einbroch","This is a state of emercency! Harmful smog is reaching high levels of saturation. Residents of Einbroch must find shelter immediately.",bc_map;
enablenpc "Einbroch Smog Alert";
hideonnpc "Centzu#ein";
@@ -3363,8 +3363,8 @@ OnTimer600000:
hideoffnpc "Paddler#ein";
hideoffnpc "Laboratory Soldier#ein-1";
hideoffnpc "Laboratory Soldier#ein-2";
- set $@AlrdEinPoll,0;
- set $EinPolution,0;
+ $@AlrdEinPoll = 0;
+ $EinPolution = 0;
stopnpctimer;
end;
}
@@ -3372,7 +3372,7 @@ OnTimer600000:
einbroch,132,84,3 script Liotzburg#ein 4_M_YURI,2,2,{
if ((EinFactory == 13) || (EinFactory == 14)) {
changequest 8029,8030;
- set EinFactory,14;
+ EinFactory = 14;
mes "[Liotzburg]";
mes "What...?";
mes "Factory Repair";
@@ -3438,7 +3438,7 @@ OnTouch:
mes "fix this! I gotta hide and find";
mes "someplace safe!";
close2;
- if ($EinPolution > 9 && !$@AlrdEinPoll) {
+ if ($EinPolution > 9 && !$@AlrdEinPoll) {
donpcevent "Einbroch Smog Alert::OnEnable";
hideonnpc "Liotzburg#ein";
}
@@ -3552,9 +3552,9 @@ ein_in01,67,242,3 script Zelmeto 4_M_REPAIR,{
delitem 7325,20; //Tube
delitem 7317,10; //Screw
delitem 7319,10; //Old_Steel_Plate
- set $EinPolution,$EinPolution+1;
+ ++$EinPolution;
completequest 8031;
- set EinFactory,16;
+ EinFactory = 16;
if (checkre(3)) {
if (BaseLevel < 41) getexp 61,0;
else if (BaseLevel < 51) getexp 307,0;
@@ -3643,7 +3643,7 @@ ein_in01,67,242,3 script Zelmeto 4_M_REPAIR,{
mes "we could make those repairs.";
next;
changequest 8030,8031;
- set EinFactory,15;
+ EinFactory = 15;
mes "[Zelmeto]";
mes "But without funds, there's";
mes "no way we can purchase";
@@ -3689,7 +3689,7 @@ ein_in01,67,242,3 script Zelmeto 4_M_REPAIR,{
mes "functioning again.";
next;
changequest 8028,8029;
- set EinFactory,13;
+ EinFactory = 13;
mes "[Zelmeto]";
mes "First, I better";
mes "hurry and request";
@@ -3743,7 +3743,7 @@ ein_in01,67,242,3 script Zelmeto 4_M_REPAIR,{
mes "where it could be now.";
next;
changequest 8026,8027;
- set EinFactory,11;
+ EinFactory = 11;
mes "[Zelmeto]";
mes "Still, I'm sure that";
mes "it's inside the building,";
@@ -3796,7 +3796,7 @@ ein_in01,67,242,3 script Zelmeto 4_M_REPAIR,{
mes "be able to find it pretty easily.";
next;
changequest 8024,8025;
- set EinFactory,9;
+ EinFactory = 9;
mes "[Zelmeto]";
mes "Thanks again";
mes "for your help,";
@@ -3851,7 +3851,7 @@ ein_in01,67,242,3 script Zelmeto 4_M_REPAIR,{
mes "and fix it right away.";
next;
changequest 8022,8023;
- set EinFactory,7;
+ EinFactory = 7;
mes "[Zelmeto]";
mes "Thanks again";
mes "in advance.";
@@ -3899,7 +3899,7 @@ ein_in01,67,242,3 script Zelmeto 4_M_REPAIR,{
mes "operating fine for now...";
next;
changequest 8020,8021;
- set EinFactory,5;
+ EinFactory = 5;
mes "[Zelmeto]";
mes "We need to ensure that";
mes "it's stable, reliable and";
@@ -3951,7 +3951,7 @@ ein_in01,67,242,3 script Zelmeto 4_M_REPAIR,{
mes "report it to me. I know it might seem fine now, but I want to prevent an accident if I can.";
next;
changequest 8018,8019;
- set EinFactory,3;
+ EinFactory = 3;
mes "[Zelmeto]";
mes "Thank you";
mes "in advance,";
@@ -4044,7 +4044,7 @@ ein_in01,67,242,3 script Zelmeto 4_M_REPAIR,{
mes "You should find it easily.";
next;
setquest 8017;
- set EinFactory,1;
+ EinFactory = 1;
mes "[Zelmeto]";
mes "When you finish your";
mes "inspection, report back";
@@ -4076,7 +4076,7 @@ ein_in01,67,242,3 script Zelmeto 4_M_REPAIR,{
ein_in01,49,232,3 script 2nd Control Panel#ins HIDDEN_NPC,{
if ((EinFactory == 1) || (EinFactory == 2)) {
changequest 8017,8018;
- set EinFactory,2;
+ EinFactory = 2;
mes "^3355FFIt's the 2nd control panel";
mes "Zelmeto asked you to inspect.";
mes "It looks totally broken: screws";
@@ -4091,7 +4091,7 @@ ein_in01,49,232,3 script 2nd Control Panel#ins HIDDEN_NPC,{
ein_in01,108,217,3 script 3rd Pressure Governor#1 HIDDEN_NPC,{
if ((EinFactory == 3) || (EinFactory == 4)) {
changequest 8019,8020;
- set EinFactory,4;
+ EinFactory = 4;
mes "^3355FFAt first glance, this";
mes "pressure governor looks";
mes "perfectly fine. But after you";
@@ -4107,7 +4107,7 @@ ein_in01,108,217,3 script 3rd Pressure Governor#1 HIDDEN_NPC,{
ein_in01,62,258,3 script Main Control Panel#ins HIDDEN_NPC,{
if ((EinFactory == 5) || (EinFactory == 6)) {
changequest 8021,8022;
- set EinFactory,6;
+ EinFactory = 6;
mes "^3355FFThe main control panel";
mes "doesn't look like it has";
mes "any problems. But after";
@@ -4123,7 +4123,7 @@ ein_in01,62,258,3 script Main Control Panel#ins HIDDEN_NPC,{
ein_in01,46,197,3 script Conveyor#ins HIDDEN_NPC,{
if ((EinFactory == 7) || (EinFactory == 8)) {
changequest 8023,8024;
- set EinFactory,8;
+ EinFactory = 8;
mes "^3355FFThe conveyor's movements";
mes "look jittery and clumsy. The";
mes "mechanical arm also doesn't";
@@ -4138,7 +4138,7 @@ ein_in01,46,197,3 script Conveyor#ins HIDDEN_NPC,{
ein_in01,100,266,3 script Pipe#ins HIDDEN_NPC,{
if ((EinFactory == 9) || (EinFactory == 10)) {
changequest 8025,8026;
- set EinFactory,10;
+ EinFactory = 10;
mes "^3355FFThe inspection of this";
mes "pipe didn't take very long.";
mes "It's bloated and worn out";
@@ -4154,7 +4154,7 @@ ein_in01,100,266,3 script Pipe#ins HIDDEN_NPC,{
ein_in01,95,239,3 script Conveyor#ins2 HIDDEN_NPC,{
if ((EinFactory == 11) || (EinFactory == 12)) {
changequest 8027,8028;
- set EinFactory,12;
+ EinFactory = 12;
mes "^3355FFThis conveyor seems";
mes "to have similar problems";
mes "as its smaller version. Its";
@@ -4168,7 +4168,7 @@ ein_in01,95,239,3 script Conveyor#ins2 HIDDEN_NPC,{
// Administrator NPC used to rig the invasion in Einbroch.
sec_in02,127,86,3 script Factory Quest Test 4_M_REPAIR,{
- set .@i, callfunc("F_GM_NPC",8028,0,0,9000);
+ .@i = callfunc("F_GM_NPC",8028,0,0,9000);
if (.@i == -2) {
mes "[Test1]";
mes "Boo~ya.";
@@ -4198,14 +4198,14 @@ sec_in02,127,86,3 script Factory Quest Test 4_M_REPAIR,{
mes "Okay...!";
mes "It's been";
mes "changed to ''0.''";
- set $EinPolution,0;
+ $EinPolution = 0;
close;
case 2:
mes "[Test2]";
mes "Okay...!";
mes "It's been";
mes "changed to ''10.''";
- set $EinPolution,10;
+ $EinPolution = 10;
close;
case 3:
donpcevent "Einbroch Smog Alert::OnEnable";
@@ -4393,7 +4393,7 @@ einbech,165,105,7 script Buender Hikeman#ein 4_M_EINOLD,{
mes "Then I learned...";
mes "You planned it all along.";
setquest 2071;
- set Shinokas_Quest,1;
+ Shinokas_Quest = 1;
close2;
cutin "ein_hicman",255;
end;
@@ -4505,7 +4505,7 @@ einbech,165,105,7 script Buender Hikeman#ein 4_M_EINOLD,{
mes "provoke the old man anymore,";
mes "intentionally or not.^000000";
changequest 2071,2072;
- set Shinokas_Quest,2;
+ Shinokas_Quest = 2;
close2;
cutin "ein_hicman",255;
end;
@@ -4664,7 +4664,7 @@ einbech,165,105,7 script Buender Hikeman#ein 4_M_EINOLD,{
close2;
cutin "ein_hicman",255;
completequest 2078;
- set Shinokas_Quest,11;
+ Shinokas_Quest = 11;
if (checkre(3)) {
if (BaseLevel < 70) getexp 30000,30000;
else if ((BaseLevel > 69) && (BaseLevel < 80)) getexp 40000,40000;
@@ -4742,7 +4742,7 @@ ein_in01,231,163,7 script Sick Old Man#ein 4_M_DIEMAN,{
close;
}
else if (Shinokas_Quest == 2) {
- set einbech,0;
+ einbech = 0;
mes "[Sick Old Man]";
mes "...!";
next;
@@ -4788,7 +4788,7 @@ ein_in01,231,163,7 script Sick Old Man#ein 4_M_DIEMAN,{
mes "^3355FFIt doesn't seem";
mes "like this old man";
mes "is telling the truth...^000000";
- set einbech,0;
+ einbech = 0;
next;
}
else {
@@ -4800,7 +4800,7 @@ ein_in01,231,163,7 script Sick Old Man#ein 4_M_DIEMAN,{
mes "what the hell";
mes "you're talking";
mes "about!";
- set .@einbech,.@einbech+1;
+ ++.@einbech;
next;
break;
case 2:
@@ -4809,7 +4809,7 @@ ein_in01,231,163,7 script Sick Old Man#ein 4_M_DIEMAN,{
mes "W-why would you";
mes "even ask me that";
mes "kind of question?!";
- set .@einbech,.@einbech+1;
+ ++.@einbech;
next;
break;
case 3:
@@ -4823,7 +4823,7 @@ ein_in01,231,163,7 script Sick Old Man#ein 4_M_DIEMAN,{
mes "like this old man";
mes "is telling the truth...^000000";
if (.@einbech > 0) {
- set .@einbech,0;
+ .@einbech = 0;
}
next;
break;
@@ -4900,7 +4900,7 @@ ein_in01,231,163,7 script Sick Old Man#ein 4_M_DIEMAN,{
mes "happened. But it's a";
mes "long story...";
changequest 2072,2073;
- set Shinokas_Quest,3;
+ Shinokas_Quest = 3;
close;
}
else if (Shinokas_Quest == 3) {
@@ -4979,7 +4979,7 @@ ein_in01,231,163,7 script Sick Old Man#ein 4_M_DIEMAN,{
mes "I'm too old and weak to leave";
mes "this house, and there's the chance that those men will find me. If you can sympathize with my situation, please find out if the Kapellthaine family has any unique ores...";
changequest 2073,2074;
- set Shinokas_Quest,4;
+ Shinokas_Quest = 4;
close;
}
else if (Shinokas_Quest == 4) {
@@ -5025,7 +5025,7 @@ ein_in01,231,163,7 script Sick Old Man#ein 4_M_DIEMAN,{
mes "Factory for that ore as";
mes "soon as you can.";
changequest 2074,2075;
- set Shinokas_Quest,6;
+ Shinokas_Quest = 6;
close;
}
else if (Shinokas_Quest == 6) {
@@ -5106,7 +5106,7 @@ ein_in01,231,163,7 script Sick Old Man#ein 4_M_DIEMAN,{
mes "of place. But I'm sure";
mes "you'll figure something out.";
changequest 2075,2076;
- set Shinokas_Quest,7;
+ Shinokas_Quest = 7;
close;
}
}
@@ -5235,7 +5235,7 @@ ein_in01,231,163,7 script Sick Old Man#ein 4_M_DIEMAN,{
mes "Why, God?";
mes "Why...";
changequest 2077,2078;
- set Shinokas_Quest,10;
+ Shinokas_Quest = 10;
close;
}
else if (Shinokas_Quest > 9) {
@@ -5273,7 +5273,7 @@ ein_in01,32,133,7 script Maid#ein 4_F_EINWOMAN,{
mes "special or otherwise, here";
mes "in the manor. What exactly";
mes "do you need them for?";
- set Shinokas_Quest,5;
+ Shinokas_Quest = 5;
close;
}
else {
@@ -5322,7 +5322,7 @@ ein_in01,254,35,1 script Scientist#ein 4_M_ALCHE_B,{
mes "flirting with that";
mes "woman. God...!";
mes "I'm like, so teed off!";
- set Shinokas_Quest,8;
+ Shinokas_Quest = 8;
close;
case 2:
mes "[Scientist]";
@@ -5357,7 +5357,7 @@ ein_in01,266,27,3 script Unknown Stuff#ein HIDDEN_NPC,{
mes "and folds of barbed wire.^000000";
close;
}
-
+
einbroch,51,46,5 script Laboratory Soldier#ein-1 4_M_EIN_SOLDIER,{
mes "[Laboratory Soldier]";
mes "This area";
@@ -5366,7 +5366,7 @@ einbroch,51,46,5 script Laboratory Soldier#ein-1 4_M_EIN_SOLDIER,{
mes "immediately.";
close;
}
-
+
einbroch,51,56,5 script Laboratory Soldier#ein-2 4_M_EIN_SOLDIER,{
mes "[Laboratory Soldier]";
mes "Yuck...!";
@@ -5572,7 +5572,7 @@ airplane,31,77,5 script Drunken Man#ein 4_M_YURI,{
mes "of ^3131FFYmir's Heart^333333. I better";
mes "tell Shinokas about this.)^000000";
changequest 2076,2077;
- set Shinokas_Quest,9;
+ Shinokas_Quest = 9;
close;
case 2:
mes "[Drunken Man]";
@@ -5692,12 +5692,12 @@ OnTouch:
mes "Failure to do so will result";
mes "in lockout. Please wait.";
next;
- set .@startseconds,gettime(3)*60*60+gettime(2)*60+gettime(1);
+ .@startseconds = gettime(3)*60*60+gettime(2)*60+gettime(1);
mes "[Security System]";
switch(rand(1,7)) {
case 1:
- set .@word1$,"burrdingdingdilidingdingphoohudaambandoorabambarambambamburanbamding";
- set .@word2$,"burapaphurarlandreamduranbatuhiwooikabamturubamdingding";
+ .@word1$ = "burrdingdingdilidingdingphoohudaambandoorabambarambambamburanbamding";
+ .@word2$ = "burapaphurarlandreamduranbatuhiwooikabamturubamdingding";
mes "^3CBCBC"+.@word1$+"^000000";
next;
input .@input1$;
@@ -5705,8 +5705,8 @@ OnTouch:
mes "^FF1493"+.@word2$+"^000000";
break;
case 2:
- set .@word1$,"...silence. quiet benevolence... soul mate... wonder. enigma... cloud.";
- set .@word2$,"opeN,Open!op3n.openOpen0p3nOpEn0pen`open'0Pen open?open!111OPENSESAME";
+ .@word1$ = "...silence. quiet benevolence... soul mate... wonder. enigma... cloud.";
+ .@word2$ = "opeN,Open!op3n.openOpen0p3nOpEn0pen`open'0Pen open?open!111OPENSESAME";
mes "^3CBCBC"+.@word1$+"^000000";
next;
input .@input1$;
@@ -5714,8 +5714,8 @@ OnTouch:
mes "^FF1493"+.@word2$+"^000000";
break;
case 3:
- set .@word1$,"Coboman no chikara-yumei na chikara-daiookii na chikara da ze! COBO ON";
- set .@word2$,"hfjdkeldjsieldjshfjdjeiskdlefvbd";
+ .@word1$ = "Coboman no chikara-yumei na chikara-daiookii na chikara da ze! COBO ON";
+ .@word2$ = "hfjdkeldjsieldjshfjdjeiskdlefvbd";
mes "^3CBCBC"+.@word1$+"^000000";
next;
input .@input1$;
@@ -5723,8 +5723,8 @@ OnTouch:
mes "^FF1493"+.@word2$+"^000000";
break;
case 4:
- set .@word1$,"belief love luck grimace sweat rush folktale rodimus optimus bumblebee";
- set .@word2$,"LiGhTsPeEd RiGhT SPEed LeFT TURn RiGhT BuRn OrIGInAL GaNgSteR SmACk";
+ .@word1$ = "belief love luck grimace sweat rush folktale rodimus optimus bumblebee";
+ .@word2$ = "LiGhTsPeEd RiGhT SPEed LeFT TURn RiGhT BuRn OrIGInAL GaNgSteR SmACk";
mes "^3CBCBC"+.@word1$+"^000000";
next;
input .@input1$;
@@ -5732,8 +5732,8 @@ OnTouch:
mes "^FF1493"+.@word2$+"^000000";
break;
case 5:
- set .@word1$,"By the power of p-po-poi-po-poi-poin-poing GOD-POING. I NEVER LOSE!";
- set .@word2$,"uNflAPPaBLe LoVaBLe SeCreTs AnD BoWLiNg aGaINST tHe KarMA of YoUtH";
+ .@word1$ = "By the power of p-po-poi-po-poi-poin-poing GOD-POING. I NEVER LOSE!";
+ .@word2$ = "uNflAPPaBLe LoVaBLe SeCreTs AnD BoWLiNg aGaINST tHe KarMA of YoUtH";
mes "^3CBCBCBy the power of p-po-poi-po-poi-poin-poing";
mes "GOD-POING. I NEVER LOSE!^000000";
next;
@@ -5742,8 +5742,8 @@ OnTouch:
mes "^FF1493"+.@word2$+"^000000";
break;
case 6:
- set .@word1$,"You give me no choice. I guess it's time for me to reveal my secret...";
- set .@word2$,"fReeDoM eCstAcy JoUrnaLiSm ArMpIt DisCoverY hEaDaChE MoonbeAmS jUsTiCE";
+ .@word1$ = "You give me no choice. I guess it's time for me to reveal my secret...";
+ .@word2$ = "fReeDoM eCstAcy JoUrnaLiSm ArMpIt DisCoverY hEaDaChE MoonbeAmS jUsTiCE";
mes "^3CBCBC"+.@word1$+"^000000";
next;
input .@input1$;
@@ -5751,8 +5751,8 @@ OnTouch:
mes "^800080"+.@word2$+"^000000";
break;
case 7:
- set .@word1$,"I'm the King of All Weirdos! Now you know of my true power. Obey~!";
- set .@word2$,"0uNflAPPaBLe LoVaBLe SeCreTs AnD BoWLiNg aGaINST tHe KarMA of YoUtH";
+ .@word1$ = "I'm the King of All Weirdos! Now you know of my true power. Obey~!";
+ .@word2$ = "0uNflAPPaBLe LoVaBLe SeCreTs AnD BoWLiNg aGaINST tHe KarMA of YoUtH";
mes "^3CBCBC"+.@word1$+"^000000";
next;
input .@input1$;
@@ -5761,8 +5761,8 @@ OnTouch:
}
next;
input .@input2$;
- set .@endtime,gettime(3)*60*60+gettime(2)*60+gettime(1);
- set .@time,.@endtime-.@startseconds;
+ .@endtime = gettime(3)*60*60+gettime(2)*60+gettime(1);
+ .@time = .@endtime-.@startseconds;
mes "[Security System]";
if ((.@input1$ == .@word1$) && (.@input2$ == .@word2$)) {
if (.@time > 60) {
@@ -5936,7 +5936,7 @@ ein_in01,31,138,3 script Calla#ein 4_F_01,{
mes "Wait. Now I just";
mes "feel goooood~";
percentheal 100,0;
- set EIN_LOVERQ,17;
+ EIN_LOVERQ = 17;
if (checkre(3)) {
if (BaseLevel < 41) getexp 61,0;
else if (BaseLevel < 61) getexp 600,0;
@@ -6003,7 +6003,7 @@ ein_in01,31,138,3 script Calla#ein 4_F_01,{
mes "I really miss him a lot.";
mes "^333333*Sob Sob...*^000000";
delitem 712,1; //Flower
- set EIN_LOVERQ,6;
+ EIN_LOVERQ = 6;
changequest 8079,808;
close;
}
@@ -6037,7 +6037,7 @@ ein_in01,31,138,3 script Calla#ein 4_F_01,{
mes "try to make it to Klitzer";
mes "this time? Thank you";
mes "for your help~";
- set EIN_LOVERQ,3;
+ EIN_LOVERQ = 3;
changequest 8078,8077;
getitem 1901,1; //Violin
close;
@@ -6080,7 +6080,7 @@ ein_in01,31,138,3 script Calla#ein 4_F_01,{
mes "I used to play this for him";
mes "all the time...";
next;
- set EIN_LOVERQ,3;
+ EIN_LOVERQ = 3;
changequest 8076,8077;
getitem 1901,1; //Violin
mes "[Calla]";
@@ -6109,7 +6109,7 @@ ein_in01,31,138,3 script Calla#ein 4_F_01,{
mes "much less change things here...";
next;
if (EIN_LOVERQ == 0) {
- set EIN_LOVERQ,1;
+ EIN_LOVERQ = 1;
}
mes "[Calla]";
mes "How is it like?";
@@ -6171,7 +6171,7 @@ ein_in01,200,101,5 script Klitzer#ein 4_M_EINMAN2,{
mes "that it's pretty rare. It may";
mes "even be useful to you later~";
delitem 7170,1; //Tuxedo
- set EIN_LOVERQ,16;
+ EIN_LOVERQ = 16;
changequest 8087,8088;
switch(rand(1,7)) {
case 1:
@@ -6269,7 +6269,7 @@ ein_in01,200,101,5 script Klitzer#ein 4_M_EINMAN2,{
mes "Wow. This is so sudden!";
mes "W-what should I do?";
next;
- set EIN_LOVERQ,14;
+ EIN_LOVERQ = 14;
changequest 8085,8086;
mes "[Klitzer]";
mes "This monkey suit";
@@ -6318,7 +6318,7 @@ ein_in01,200,101,5 script Klitzer#ein 4_M_EINMAN2,{
mes "person, I can at least send";
mes "my regards if you help me.";
next;
- set EIN_LOVERQ,7;
+ EIN_LOVERQ = 7;
changequest 8080,8081;
mes "[Klitzer]";
mes "I feel so much";
@@ -6411,7 +6411,7 @@ ein_in01,200,101,5 script Klitzer#ein 4_M_EINMAN2,{
mes "That's the stuff!";
percentheal 100,0;
delitem 1901,1; //Violin
- set EIN_LOVERQ,5;
+ EIN_LOVERQ = 5;
changequest 8077,8079;
if (checkre(3)) {
if (BaseLevel < 41) getexp 61,0;
@@ -6474,7 +6474,7 @@ ein_in01,200,101,5 script Klitzer#ein 4_M_EINMAN2,{
mes "a complete idiot. But I'd";
mes "give anything to see her...";
next;
- set EIN_LOVERQ,2;
+ EIN_LOVERQ = 2;
setquest 8076;
mes "[Klitzer]";
mes "Just...";
@@ -6553,7 +6553,7 @@ OnTouch:
mes "Make sure that if this punk";
mes "wakes up, it won't be today!";
delitem 1901,1; //Violin
- set EIN_LOVERQ,4;
+ EIN_LOVERQ = 4;
changequest 8077,8078;
percentheal -90,0;
close2;
@@ -6668,7 +6668,7 @@ ein_in01,31,151,3 script Satra#ein 4_F_EINWOMAN,{
mes "marry that oafish Megass~";
next;
delitem 1003,10; //Coal
- set EIN_LOVERQ,13;
+ EIN_LOVERQ = 13;
changequest 8084,8085;
mes "[Satra]";
mes "Anyway, when you next";
@@ -6754,7 +6754,7 @@ ein_in01,31,151,3 script Satra#ein 4_F_EINWOMAN,{
mes "chance to prove their worth.";
next;
delitem 1003,10; //Coal
- set EIN_LOVERQ,12;
+ EIN_LOVERQ = 12;
mes "[Satra]";
mes "Why should I deprive";
mes "the lowly of my gracious";
@@ -6836,7 +6836,7 @@ ein_in01,31,151,3 script Satra#ein 4_F_EINWOMAN,{
mes "living here than in Einbech.";
next;
delitem 1003,10; //Coal
- set EIN_LOVERQ,11;
+ EIN_LOVERQ = 11;
mes "[Satra]";
mes "Goodness, I believe";
mes "it's time for a spot of tea~";
@@ -6894,7 +6894,7 @@ ein_in01,31,151,3 script Satra#ein 4_F_EINWOMAN,{
mes "and Jawaii is very lovely.";
next;
delitem 1003,10; //Coal
- set EIN_LOVERQ,10;
+ EIN_LOVERQ = 10;
changequest 8083,8084;
mes "[Satra]";
mes "Well, I shall try to";
@@ -7045,7 +7045,7 @@ ein_in01,31,151,3 script Satra#ein 4_F_EINWOMAN,{
mes "for someone like yourself, but";
mes "this kind of task will require";
mes "some effort on your part.";
- set EIN_LOVERQ,9;
+ EIN_LOVERQ = 9;
changequest 8082,8083;
next;
mes "[Satra]";
@@ -7120,7 +7120,7 @@ ein_in01,191,102,5 script Kaijeta#ein 4_F_EINOLD,{
mes "things like choosing clothing.";
mes "He gets so nervous about it!";
next;
- set EIN_LOVERQ,15;
+ EIN_LOVERQ = 15;
changequest 8086,8087;
mes "[Kaijeta]";
mes "A man should wear nice";
@@ -7167,7 +7167,7 @@ ein_in01,191,102,5 script Kaijeta#ein 4_F_EINOLD,{
mes "when his heart's broken. And";
mes "I still have no idea how he got together with such a rich woman.";
next;
- set EIN_LOVERQ,8;
+ EIN_LOVERQ = 8;
mes "[Kaijeta]";
mes "Do you have any idea";
mes "how we can put an end";
diff --git a/npc/quests/quests_geffen.txt b/npc/quests/quests_geffen.txt
index 9c73d6c9f..03bcebac5 100644
--- a/npc/quests/quests_geffen.txt
+++ b/npc/quests/quests_geffen.txt
@@ -233,22 +233,22 @@ geffen,122,77,4 script Nia#yagu 8_F_GIRL,{
mes "Number Match game. Please";
mes "try to guess my number, okay?";
mes "If you want to cancel, then please enter a number greater than 1,000.";
- set .@practice,1;
+ .@practice = 1;
break;
case 3:
mes "[Nia]";
mes "Great, let's play Number Match!";
mes "You will have 5 chances to guess the number that I'm thinking of.";
mes "If you want to cancel, then please enter a number greater than 1,000.";
- set .@practice,0;
+ .@practice = 0;
break;
case 4:
- set .@name_record$, $050908_minus1_yagu$;
+ .@name_record$ = $050908_minus1_yagu$;
if (.@name_record$ == "") //custom
- set .@name_record$,"(null)";
- set .@score_record, $050908_minus1_yagu;
- set .@score_min, .@score_record / 60;
- set .@score_sec, .@score_record % 60;
+ .@name_record$ = "(null)";
+ .@score_record = $050908_minus1_yagu;
+ .@score_min = .@score_record / 60;
+ .@score_sec = .@score_record % 60;
mes "[Nia]";
mes "^ff0000" + .@name_record$ + "^000000 is the";
mes "record holder for the Number";
@@ -268,12 +268,12 @@ geffen,122,77,4 script Nia#yagu 8_F_GIRL,{
// Generate 3 digits of a number.
while(1) {
- set .@yagu100, rand(1,9);
- set .@yagu10, rand(1,9);
- set .@yagu1, rand(1,9);
+ .@yagu100 = rand(1,9);
+ .@yagu10 = rand(1,9);
+ .@yagu1 = rand(1,9);
if ((.@yagu100 != .@yagu10) && (.@yagu100 != .@yagu1) && (.@yagu10 != .@yagu1)) {
// Store the actual number (unofficial).
- set .@yagu, (100*.@yagu100) + (10*.@yagu10) + .@yagu1;
+ .@yagu = (100*.@yagu100) + (10*.@yagu10) + .@yagu1;
break;
}
}
@@ -281,7 +281,7 @@ geffen,122,77,4 script Nia#yagu 8_F_GIRL,{
// The official time calculation is based on ServerTime,
// an int HHMMSS equivalent to atoi(gettimestr("%H%M%S",7)).
// UNIX time is really a better way to do this.
- set .@start_time, gettimetick(2);
+ .@start_time = gettimetick(2);
while(1) {
@@ -293,9 +293,9 @@ geffen,122,77,4 script Nia#yagu 8_F_GIRL,{
mes "Number Match game.";
close;
}
- set .@input100, .@input / 100;
- set .@input10, (.@input % 100) / 10;
- set .@input1, .@input % 10;
+ .@input100 = .@input / 100;
+ .@input10 = (.@input % 100) / 10;
+ .@input1 = .@input % 10;
if ((.@input100 > 0) && (.@input10 > 0) && (.@input1 > 0)) {
if ((.@input100 != .@input10) && (.@input100 != .@input1) && (.@input10 != .@input1))
break;
@@ -309,7 +309,7 @@ geffen,122,77,4 script Nia#yagu 8_F_GIRL,{
next;
}
- set .@retry, .@retry+1;
+ .@retry = .@retry+1;
mes "[Nia]";
mes "^ff0000"+strcharinfo(0)+"^000000,";
mes "your guess is ^0000ff"+.@input+"^000000.";
@@ -318,22 +318,22 @@ geffen,122,77,4 script Nia#yagu 8_F_GIRL,{
next;
// Correct digits in correct locations.
- set .@strike,0;
+ .@strike = 0;
if (.@yagu100 == .@input100)
- set .@strike, .@strike+1;
+ .@strike += 1;
if (.@yagu10 == .@input10)
- set .@strike, .@strike+1;
+ .@strike += 1;
if (.@yagu1 == .@input1)
- set .@strike, .@strike+1;
+ .@strike += 1;
// Correct digits in incorrect locations.
- set .@ball,0;
+ .@ball = 0;
if ((.@yagu100 == .@input10) || (.@yagu100 == .@input1))
- set .@ball, .@ball+1;
+ .@ball += 1;
if ((.@yagu10 == .@input100) || (.@yagu10 == .@input1))
- set .@ball, .@ball+1;
+ .@ball += 1;
if ((.@yagu1 == .@input100) || (.@yagu1 == .@input10))
- set .@ball, .@ball+1;
+ .@ball += 1;
if (.@strike == 3) {
if (.@practice) {
@@ -348,22 +348,22 @@ geffen,122,77,4 script Nia#yagu 8_F_GIRL,{
} else {
// Calculate final time and check against the previous record.
- set .@end_time, gettimetick(2);
+ .@end_time = gettimetick(2);
if (.@end_time < .@start_time)
- set .@end_time, .@end_time + 3600;
- set .@total_time, .@end_time - .@start_time;
- set .@total_min, .@total_time / 60;
- set .@total_sec, .@total_time % 60;
- set .@name_record$, $050908_minus1_yagu$;
+ .@end_time += 3600;
+ .@total_time = .@end_time - .@start_time;
+ .@total_min = .@total_time / 60;
+ .@total_sec = .@total_time % 60;
+ .@name_record$ = $050908_minus1_yagu$;
if (.@name_record$ == "") //custom
- set .@name_record$,"(null)";
- set .@score_record, $050908_minus1_yagu;
- set .@score_min, .@score_record / 60;
- set .@score_sec, .@score_record % 60;
+ .@name_record$ = "(null)";
+ .@score_record = $050908_minus1_yagu;
+ .@score_min = .@score_record / 60;
+ .@score_sec = .@score_record % 60;
if (.@score_record >= .@total_time || !.@score_record) { //custom (second condition)
- set $050908_minus1_yagu$, strcharinfo(0);
- set $050908_minus1_yagu, .@total_time;
+ $050908_minus1_yagu$ = strcharinfo(0);
+ $050908_minus1_yagu = .@total_time;
mes "[Nia]";
mes "Great! You guessed";
mes "my number, which was";
diff --git a/npc/quests/quests_gonryun.txt b/npc/quests/quests_gonryun.txt
index f5c1fe522..039732025 100644
--- a/npc/quests/quests_gonryun.txt
+++ b/npc/quests/quests_gonryun.txt
@@ -22,7 +22,7 @@
gon_in,17,93,5 script Chief#gon 4_M_TWMASKMAN,{
if (BaseLevel > 50) {
if (b_sword == 0) {
- set b_sword,1;
+ b_sword = 1;
mes "[Shi Yan Wen]";
mes "Hmm...?";
mes "Oh, hello there~";
@@ -100,7 +100,7 @@ gon_in,17,93,5 script Chief#gon 4_M_TWMASKMAN,{
mes "happened... Well, if you see";
mes "any suspicious characters around,";
mes "or find what was stolen, please let me know.";
- set b_sword,3;
+ b_sword = 3;
close;
case 2:
mes "[Shi Yan Wen]";
@@ -124,7 +124,7 @@ gon_in,17,93,5 script Chief#gon 4_M_TWMASKMAN,{
mes "um..Thank you.";
mes "If you somehow come across it,";
mes "please let me know.";
- set b_sword,11;
+ b_sword = 11;
close;
}
mes "[Shi Yan Wen]";
@@ -136,7 +136,7 @@ gon_in,17,93,5 script Chief#gon 4_M_TWMASKMAN,{
next;
mes "[Shi Yan Wen]";
mes "If you would help me find the sword, I will surely repay you for your efforts.";
- set b_sword,3;
+ b_sword = 3;
close;
case 3:
mes "[Shi Yan Wen]";
@@ -161,7 +161,7 @@ gon_in,17,93,5 script Chief#gon 4_M_TWMASKMAN,{
mes "Um..Thank you.";
mes "If you somehow come across it,";
mes "please let me know.";
- set b_sword,11;
+ b_sword = 11;
close;
}
mes "[Shi Yan Wen]";
@@ -173,7 +173,7 @@ gon_in,17,93,5 script Chief#gon 4_M_TWMASKMAN,{
next;
mes "[Shi Yan Wen]";
mes "If you would help me find the sword, I will surely repay you for your efforts.";
- set b_sword,3;
+ b_sword = 3;
close;
}
case 3:
@@ -192,7 +192,7 @@ gon_in,17,93,5 script Chief#gon 4_M_TWMASKMAN,{
mes "So far, it looks like";
mes "you're doing good work.";
mes "Take this old family medicine, it might be of use sometime soon.";
- set b_sword,7;
+ b_sword = 7;
getitem 504,3; //White_Potion
close;
case 7:
@@ -250,7 +250,7 @@ gon_in,17,93,5 script Chief#gon 4_M_TWMASKMAN,{
mes "would have never found it.";
mes "Please accept this as a";
mes "token of my gratitude...";
- set b_sword,15;
+ b_sword = 15;
getitem 603,1; //Old_Blue_Box
next;
mes "[Shi Yan Wen]";
@@ -285,7 +285,7 @@ gon_in,17,93,5 script Chief#gon 4_M_TWMASKMAN,{
mes "Oh, one last thing. This is";
mes "but a trinket, but please";
mes "accept this gift from me.";
- set b_sword,14;
+ b_sword = 14;
getitem 603,1; //Old_Blue_Box
close;
case 11:
@@ -305,7 +305,7 @@ gon_in,17,93,5 script Chief#gon 4_M_TWMASKMAN,{
mes "[Shi Yan Wen]";
mes "Here...take this.";
mes "Have a good time in Kunlun~";
- set b_sword,13;
+ b_sword = 13;
getitem 504,1; //White_Potion
close;
case 13:
@@ -370,7 +370,7 @@ gon_in,17,93,5 script Chief#gon 4_M_TWMASKMAN,{
mes "This is a small gift for you.";
mes "Please take it as thanks for a job well done!";
delitem 1123,1; //Haedonggum
- set b_sword,33;
+ b_sword = 33;
getitem 2404,1; //Shoes_
next;
mes "[Shi Yan Wen]";
@@ -456,7 +456,7 @@ gon_in,152,35,4 script Hostess#gon 4_F_GON,{
mes "I better watch out...";
mes "Oh, what am I saying?";
mes "Enjoy your time in my shop...hehe~";
- set b_sword,2;
+ b_sword = 2;
close;
case 3:
mes "[Mei Yen Fang]";
@@ -473,7 +473,7 @@ gon_in,152,35,4 script Hostess#gon 4_F_GON,{
mes "He seems to know about what";
mes "happened last night, but...";
mes "He's been drinking all night long.";
- set b_sword,4;
+ b_sword = 4;
close;
}
if (b_sword > 3 && b_sword < 11) {
@@ -552,11 +552,11 @@ gon_in,165,16,4 script Man in hangover#gon 4_M_ALCHE_A,{
mes "[Xue Bong]";
mes "C'mon, man...";
mes "I...I'm in freakin' pain here...";
- set b_sword,12;
+ b_sword = 12;
close;
case 2:
delitem 506,1; //Green_Potion
- set b_sword,5;
+ b_sword = 5;
mes "[Xue Bong]";
mes "Oh man...thanks.";
mes "I thought you were teasing me.";
@@ -588,7 +588,7 @@ gon_in,165,16,4 script Man in hangover#gon 4_M_ALCHE_A,{
mes "whether it was a man,";
mes "a poring, or if I had just";
mes "drank too much..eheh.";
- set b_sword,6;
+ b_sword = 6;
close;
}
mes "[Xue Bong]";
@@ -600,7 +600,7 @@ gon_in,165,16,4 script Man in hangover#gon 4_M_ALCHE_A,{
}
case 2:
delitem 506,1; //Green_Potion
- set b_sword,5;
+ b_sword = 5;
emotion e_thx;
mes "[Xue Bong]";
mes "Whew, Thanks!";
@@ -642,7 +642,7 @@ gon_in,165,16,4 script Man in hangover#gon 4_M_ALCHE_A,{
mes "disappeared. I'm not";
mes "sure if it was a human or an";
mes "animal...";
- set b_sword,6;
+ b_sword = 6;
next;
mes "[Xue Bong]";
mes "Anything else I can help you with?";
@@ -726,7 +726,7 @@ gon_in,165,16,4 script Man in hangover#gon 4_M_ALCHE_A,{
mes "outside. I have no idea";
mes "whether it was a man, a poring,";
mes "or if I just had too much to drink...heheh~";
- set b_sword,6;
+ b_sword = 6;
close;
case 2:
mes "[Xue Bong]";
@@ -841,7 +841,7 @@ OnTimer3000:
gon_dun01,202,25,0 script #getitem1-1 HIDDEN_NPC,2,1,{
if (b_sword != 7) end;
- set b_sword,8;
+ b_sword = 8;
mes "You found a ^FF0000piece of blade^000000.";
mes "Seems like it's a part of the sword you've been looking for.";
close;
@@ -909,7 +909,7 @@ OnTimer3000:
gon_dun01,190,159,0 script #getitem1-2 HIDDEN_NPC,2,1,{
if (b_sword != 7) end;
- set b_sword,8;
+ b_sword = 8;
mes "You found a ^FF0000piece of blade^000000.";
mes "Seems like it's a part of the sword you've been looking for.";
close;
@@ -977,7 +977,7 @@ OnTimer3000:
gon_dun01,164,53,0 script #getitem1-3 HIDDEN_NPC,2,1,{
if (b_sword != 7) end;
- set b_sword,8;
+ b_sword = 8;
mes "You found a ^FF0000piece of blade^000000.";
mes "Seems like it's a part of the sword you've been looking for.";
close;
@@ -1045,7 +1045,7 @@ OnTimer3000:
gon_dun01,134,183,0 script #getitem1-4 HIDDEN_NPC,2,1,{
if (b_sword != 7) end;
- set b_sword,8;
+ b_sword = 8;
mes "You found a ^FF0000piece of blade^000000.";
mes "Seems like it's a part of the sword you've been looking for.";
close;
@@ -1113,7 +1113,7 @@ OnTimer3000:
gon_dun01,140,257,0 script #getitem1-5 HIDDEN_NPC,2,1,{
if (b_sword != 7) end;
- set b_sword,8;
+ b_sword = 8;
mes "You found a ^FF0000piece of blade^000000.";
mes "Seems like it's a part of the sword you've been looking for.";
close;
@@ -1189,7 +1189,7 @@ OnTimer3000:
gon_dun02,202,25,0 script #getitem2-1 HIDDEN_NPC,2,1,{
if (b_sword != 8) end;
- set b_sword,9;
+ b_sword = 9;
mes "You found a ^FF0000piece of blade^000000.";
mes "Seems like it's a part of the sword you've been looking for.";
close;
@@ -1257,7 +1257,7 @@ OnTimer3000:
gon_dun02,265,201,0 script #getitem2-2 HIDDEN_NPC,2,1,{
if (b_sword != 8) end;
- set b_sword,9;
+ b_sword = 9;
mes "You found a ^FF0000piece of blade^000000.";
mes "Seems like it's a part of the sword you've been looking for.";
close;
@@ -1325,7 +1325,7 @@ OnTimer3000:
gon_dun02,247,128,0 script #getitem2-3 HIDDEN_NPC,2,1,{
if (b_sword != 8) end;
- set b_sword,9;
+ b_sword = 9;
mes "You found a ^FF0000piece of blade^000000.";
mes "Seems like it's a part of the sword you've been looking for.";
close;
@@ -1393,7 +1393,7 @@ OnTimer3000:
gon_dun02,149,75,0 script #getitem2-4 HIDDEN_NPC,2,1,{
if (b_sword != 8) end;
- set b_sword,9;
+ b_sword = 9;
mes "You found a ^FF0000piece of blade^000000.";
mes "Seems like it's a part of the sword you've been looking for.";
close;
@@ -1461,7 +1461,7 @@ OnTimer3000:
gon_dun02,23,106,0 script #getitem2-5 HIDDEN_NPC,2,1,{
if (b_sword != 8) end;
- set b_sword,9;
+ b_sword = 9;
mes "You found a ^FF0000piece of blade^000000.";
mes "Seems like it's a part of the sword you've been looking for.";
close;
@@ -1529,7 +1529,7 @@ OnTimer3000:
gon_dun02,249,40,0 script #getitem2-6 HIDDEN_NPC,2,1,{
if (b_sword != 8) end;
- set b_sword,9;
+ b_sword = 9;
mes "You found a ^FF0000piece of blade^000000.";
mes "Seems like it's a part of the sword you've been looking for.";
close;
@@ -1605,7 +1605,7 @@ OnTimer3000:
gon_dun03,10,74,0 script #getitem3-1 HIDDEN_NPC,2,1,{
if (b_sword != 9) end;
- set b_sword,10;
+ b_sword = 10;
mes "You found a ^FF0000piece of blade^000000.";
mes "Seems like it's a part of the sword you've been looking for.";
next;
@@ -1677,7 +1677,7 @@ OnTimer3000:
gon_dun03,199,102,0 script #getitem3-2 HIDDEN_NPC,2,1,{
if (b_sword != 9) end;
- set b_sword,10;
+ b_sword = 10;
mes "You found a ^FF0000piece of blade^000000.";
mes "Seems like it's a part of the sword you've been looking for.";
next;
@@ -1749,7 +1749,7 @@ OnTimer3000:
gon_dun03,14,163,0 script #getitem3-3 HIDDEN_NPC,2,1,{
if (b_sword != 9) end;
- set b_sword,10;
+ b_sword = 10;
mes "You found a ^FF0000piece of blade^000000.";
mes "Seems like it's a part of the sword you've been looking for.";
next;
@@ -1821,7 +1821,7 @@ OnTimer3000:
gon_dun03,156,263,0 script #getitem3-4 HIDDEN_NPC,2,1,{
if (b_sword != 9) end;
- set b_sword,10;
+ b_sword = 10;
mes "You found a ^FF0000piece of blade^000000.";
mes "Seems like it's a part of the sword you've been looking for.";
next;
@@ -1893,7 +1893,7 @@ OnTimer3000:
gon_dun03,170,90,0 script #getitem3-5 HIDDEN_NPC,2,1,{
if (b_sword != 9) end;
- set b_sword,10;
+ b_sword = 10;
mes "You found a ^FF0000piece of blade^000000.";
mes "Seems like it's a part of the sword you've been looking for.";
next;
@@ -1965,7 +1965,7 @@ OnTimer3000:
gon_dun03,68,39,0 script #getitem3-6 HIDDEN_NPC,1,2,{
if (b_sword != 9) end;
- set b_sword,10;
+ b_sword = 10;
mes "You found a ^FF0000piece of blade^000000.";
mes "Seems like it's a part of the sword you've been looking for.";
next;
@@ -2037,7 +2037,7 @@ OnTimer3000:
gon_dun03,68,213,0 script #getitem3-7 HIDDEN_NPC,1,2,{
if (b_sword != 9) end;
- set b_sword,10;
+ b_sword = 10;
mes "You found a ^FF0000piece of blade^000000.";
mes "Seems like it's a part of the sword you've been looking for.";
next;
@@ -2216,7 +2216,7 @@ gonryun,100,241,0 script Stranger#gnbs 4_M_JOB_KNIGHT1,{
mes "see for myself that";
mes "you're really interested";
mes "in helping others.";
- set b_sword,16;
+ b_sword = 16;
close;
}
mes "[Zuo Hei]";
@@ -2242,7 +2242,7 @@ gonryun,100,241,0 script Stranger#gnbs 4_M_JOB_KNIGHT1,{
mes "Why don't you go and take care of them first.";
mes "Once you start to help someone,";
mes "you can't just quit halfway.";
- set b_sword,16;
+ b_sword = 16;
close;
case 2:
mes "[Zuo Hei]";
@@ -2252,7 +2252,7 @@ gonryun,100,241,0 script Stranger#gnbs 4_M_JOB_KNIGHT1,{
mes "Why don't you go and take care of them first.";
mes "Once you start to help someone,";
mes "you can't just quit halfway.";
- set b_sword,16;
+ b_sword = 16;
close;
case 3:
mes "[Zuo Hei]";
@@ -2272,7 +2272,7 @@ gonryun,100,241,0 script Stranger#gnbs 4_M_JOB_KNIGHT1,{
mes "you'll need a very skilled smith.";
mes "Go to ^FF0000Geffen^000000, you'll find someone";
mes "who can help you.";
- set b_sword,17;
+ b_sword = 17;
close;
}
mes "[Zuo Hei]";
@@ -2302,7 +2302,7 @@ gonryun,100,241,0 script Stranger#gnbs 4_M_JOB_KNIGHT1,{
mes "keep the promises they make.";
mes "You'll not get any information from me.";
mes "Don't ever bother me again.";
- set b_sword,15;
+ b_sword = 15;
close;
}
break;
@@ -2355,7 +2355,7 @@ gonryun,100,241,0 script Stranger#gnbs 4_M_JOB_KNIGHT1,{
mes "you'll need a very skilled smith.";
mes "Go to ^FF0000Geffen^000000, you'll find someone";
mes "who can help you.";
- set b_sword,17;
+ b_sword = 17;
close;
}
mes "[Zuo Hei]";
@@ -2386,7 +2386,7 @@ gonryun,100,241,0 script Stranger#gnbs 4_M_JOB_KNIGHT1,{
mes "I don't like people who fail";
mes "to keep their promises.";
mes "You'll not get any information from me. Don't ever bother me again.";
- set b_sword,15;
+ b_sword = 15;
close;
}
}
@@ -2440,7 +2440,7 @@ geffen_in,71,112,2 script Blacksmith#SaYumMoon 4_M_JOB_BLACKSMITH,{
mes "I'm sorry, but we're closed.";
mes "Come again another time.";
mes "Goodbye.";
- set b_sword,18;
+ b_sword = 18;
close;
}
mes "[Aumgarl]";
@@ -2458,7 +2458,7 @@ geffen_in,71,112,2 script Blacksmith#SaYumMoon 4_M_JOB_BLACKSMITH,{
mes "Like I said, we're closed!";
mes "Come back later.";
if (rand(1,8) == 7) {
- set b_sword,19;
+ b_sword = 19;
mes "Didn't you hear me?! Sheesh!";
}
close2;
@@ -2649,7 +2649,7 @@ geffen_in,71,112,2 script Blacksmith#SaYumMoon 4_M_JOB_BLACKSMITH,{
mes "[Aumgarl]";
mes "Thank you...";
mes "Thank you...";
- set b_sword,20;
+ b_sword = 20;
close;
}
mes "[Aumgarl]";
@@ -2772,7 +2772,7 @@ geffen_in,71,112,2 script Blacksmith#SaYumMoon 4_M_JOB_BLACKSMITH,{
mes "Whenever you have a favor to ask,";
mes "come and find me. I'll do";
mes "my best to help you.";
- set b_sword,29;
+ b_sword = 29;
close;
case 2:
mes "[Aumgarl]";
@@ -2840,7 +2840,7 @@ geffen_in,71,112,2 script Blacksmith#SaYumMoon 4_M_JOB_BLACKSMITH,{
mes "But these are the necessary";
mes "supplies we need to repair the sword.";
mes "I'll go find some other materials.";
- set b_sword,30;
+ b_sword = 30;
close;
}
case 29:
@@ -2924,7 +2924,7 @@ geffen_in,71,112,2 script Blacksmith#SaYumMoon 4_M_JOB_BLACKSMITH,{
mes "These are necessary supplies.";
mes "We need them to repair the sword.";
mes "I'll go find some other materials.";
- set b_sword,30;
+ b_sword = 30;
close;
}
case 30:
@@ -2940,7 +2940,7 @@ geffen_in,71,112,2 script Blacksmith#SaYumMoon 4_M_JOB_BLACKSMITH,{
delitem 1005,1; //Hammer_Of_Blacksmith
delitem 1000,2; //Star_Crumb
delitem 7098,5; //Live_Coal
- set b_sword,31;
+ b_sword = 31;
close;
}
mes "[Aumgarl]";
@@ -2980,7 +2980,7 @@ geffen_in,71,112,2 script Blacksmith#SaYumMoon 4_M_JOB_BLACKSMITH,{
next;
mes "'You received repaired";
mes "'^FF0000SaYumMoon's sword^000000'.";
- set b_sword,32;
+ b_sword = 32;
getitem 1123,1; //Haedonggum
close;
}
@@ -3100,7 +3100,7 @@ geffen_in,106,106,7 script Girl#gnbs2 4_M_KID2,{
mes "After taking the medicine, Lyroo";
mes "fell asleep.^000000";
delitem 606,1; //Aloebera
- set b_sword,28;
+ b_sword = 28;
close;
}
mes "[Lyroo]";
@@ -3152,7 +3152,7 @@ prontera,275,86,2 script Young man#SaYumMoon 4W_M_01,{
mes "[Neil]";
mes "It was a miracle!";
mes "I'm so happy to be alive!";
- if (b_sword == 20) set b_sword,21;
+ if (b_sword == 20) b_sword = 21;
close;
}
@@ -3187,7 +3187,7 @@ yuno,208,164,4 script Active little girl#gnbs 4W_F_01,{
mes "She's probably at home after";
mes "coming back from some trip.";
mes "Haha~";
- if (b_sword == 21) set b_sword,22;
+ if (b_sword == 21) b_sword = 22;
if (rand(1,2) == 2) {
next;
mes "[Hisa]";
@@ -3259,7 +3259,7 @@ yuno_in01,99,101,4 script Doctor#gnbs 4_F_ALCHE,{
next;
mes "[Cylrnel]";
mes "Without the exact symptoms, I can't make an accurate diagnosis.";
- set b_sword,24;
+ b_sword = 24;
close;
}
mes "[Cylrnel]";
@@ -3302,7 +3302,7 @@ yuno_in01,99,101,4 script Doctor#gnbs 4_F_ALCHE,{
next;
mes "[Cylrnel]";
mes "Without the exact symptoms, I can't make an accurate diagnosis.";
- set b_sword,24;
+ b_sword = 24;
close;
}
mes "[Cylrnel]";
@@ -3369,21 +3369,21 @@ yuno_in01,99,101,4 script Doctor#gnbs 4_F_ALCHE,{
next;
mes "[Cylrnel]";
mes "First, how was her body temperature?";
- set sick,0;
+ sick = 0;
next;
switch(select("Very hot.:Very cold.:Normal.:Turns hot and cold repeatedly.")) {
case 1:
- set .@sick1$,"Very hot.";
+ .@sick1$ = "Very hot.";
break;
case 2:
- set .@sick1$,"Very cold.";
+ .@sick1$ = "Very cold.";
break;
case 3:
- set .@sick1$,"Normal.";
+ .@sick1$ = "Normal.";
break;
case 4:
- set .@sick1$,"Turns hot and cold repeatedly";
- set .@sick,.@sick+1;
+ .@sick1$ = "Turns hot and cold repeatedly";
+ ++.@sick;
break;
}
mes "[Cylrnel]";
@@ -3392,17 +3392,17 @@ yuno_in01,99,101,4 script Doctor#gnbs 4_F_ALCHE,{
next;
switch(select("No sweating at all.:Sweating all over the body.:Runny nose.:No tears, sweats at all.")) {
case 1:
- set .@sick2$,"No sweating at all.";
- set .@sick,.@sick+1;
+ .@sick2$ = "No sweating at all.";
+ ++.@sick;
break;
case 2:
- set .@sick2$,"Sweating all over the body.";
+ .@sick2$ = "Sweating all over the body.";
break;
case 3:
- set .@sick2$,"Runny nose.";
+ .@sick2$ = "Runny nose.";
break;
case 4:
- set .@sick2$,"No tears, sweats at all.";
+ .@sick2$ = "No tears, sweats at all.";
break;
}
mes "[Cylrnel]";
@@ -3411,17 +3411,17 @@ yuno_in01,99,101,4 script Doctor#gnbs 4_F_ALCHE,{
next;
switch(select("Nothing in particular.:Becomes paralyzed often.:Muscles became soft.:Muscles became hard.")) {
case 1:
- set .@sick3$,"Nothing in particular.";
+ .@sick3$ = "Nothing in particular.";
break;
case 2:
- set .@sick3$,"Becomes paralyzed often.";
- set .@sick,.@sick+1;
+ .@sick3$ = "Becomes paralyzed often.";
+ ++.@sick;
break;
case 3:
- set .@sick3$,"Muscles became soft.";
+ .@sick3$ = "Muscles became soft.";
break;
case 4:
- set .@sick3$,"Muscles became hard.";
+ .@sick3$ = "Muscles became hard.";
break;
}
mes "[Cylrnel]";
@@ -3429,17 +3429,17 @@ yuno_in01,99,101,4 script Doctor#gnbs 4_F_ALCHE,{
next;
switch(select("Stomach hurts like it's been stabbed by a knife.:Head hurts like it's been smashed by a hammer.:Heart beats irregularly.:Has difficulty in breathing.")) {
case 1:
- set .@sick4$,"Stomach hurts like it's been stabbed by a knife.";
+ .@sick4$ = "Stomach hurts like it's been stabbed by a knife.";
break;
case 2:
- set .@sick4$,"Head hurts like it's been smashed by a hammer.";
+ .@sick4$ = "Head hurts like it's been smashed by a hammer.";
break;
case 3:
- set .@sick4$,"Heart beats irregularly.";
- set .@sick,.@sick+1;
+ .@sick4$ = "Heart beats irregularly.";
+ ++.@sick;
break;
case 4:
- set .@sick4$,"Has difficulty in breathing.";
+ .@sick4$ = "Has difficulty in breathing.";
break;
}
mes "[Cylrnel]";
@@ -3489,7 +3489,7 @@ yuno_in01,99,101,4 script Doctor#gnbs 4_F_ALCHE,{
mes "10 Witch Starsands";
mes "5 Burning Hearts";
mes "5 Ice Cubics";
- set b_sword,26;
+ b_sword = 26;
next;
mes "[Cylrnel]";
mes "Wrote them down?";
@@ -3512,7 +3512,7 @@ yuno_in01,99,101,4 script Doctor#gnbs 4_F_ALCHE,{
mes "5 Witch Starsands";
mes "3 Burning Hearts";
mes "3 Ice Cubics";
- set b_sword,25;
+ b_sword = 25;
next;
mes "[Cylrnel]";
mes "Wrote them down?";
@@ -3557,7 +3557,7 @@ yuno_in01,99,101,4 script Doctor#gnbs 4_F_ALCHE,{
delitem 1061,5; //Starsand_Of_Witch
delitem 7097,3; //Burning_Heart
delitem 7066,3; //Ice_Piece
- set b_sword,24;
+ b_sword = 24;
next;
mes "[Cylrnel]";
mes "I've chosen the ingredients";
@@ -3619,7 +3619,7 @@ yuno_in01,99,101,4 script Doctor#gnbs 4_F_ALCHE,{
delitem 1061,10; //Starsand_Of_Witch
delitem 7097,5; //Burning_Heart
delitem 7066,5; //Ice_Piece
- set b_sword,27;
+ b_sword = 27;
getitem 606,1; //Aloebera
close;
}
@@ -3687,7 +3687,7 @@ OnTouch:
if (rand(1,10) == 10) {
mes "[??????]";
mes "I am very busy right now. Please leave.";
- set b_sword,23;
+ b_sword = 23;
close;
}
mes "[??????]";
@@ -3710,7 +3710,7 @@ gonryun,237,226,3 script Han Ran Jiao#gon 4_M_TWMIDMAN,{
mes "my irreplaceable knife! Ahhhhhh!";
next;
if (BaseLevel >= 20) {
- set nakha,1;
+ nakha = 1;
mes "[Han Ran Jiao]";
mes "I need to go down to get it";
mes "but...the monsters...";
@@ -3756,7 +3756,7 @@ gonryun,237,226,3 script Han Ran Jiao#gon 4_M_TWMIDMAN,{
mes "knife to me?";
next;
if (select("Return the knife.:Refuse.") == 1) {
- set nakha,3;
+ nakha = 3;
delitem 1201,1; //Knife
mes "[Han Ran Jiao]";
mes "Thank you! Thank you so much!";
@@ -3800,7 +3800,7 @@ gonryun,237,226,3 script Han Ran Jiao#gon 4_M_TWMIDMAN,{
gon_fild01,245,257,0 script #gonknife HIDDEN_NPC,3,3,{
OnTouch:
if (nakha == 1) {
- set nakha,2;
+ nakha = 2;
mes "^3355FFHm? What's this?";
mes " ";
mes "Something was hidden beneath the leaves...^000000";
diff --git a/npc/quests/quests_hugel.txt b/npc/quests/quests_hugel.txt
index bab833ac0..a9505a624 100644
--- a/npc/quests/quests_hugel.txt
+++ b/npc/quests/quests_hugel.txt
@@ -71,7 +71,7 @@ hu_in01,387,245,0 script Allen Schuwell 4_M_DIEMAN,2,2,{
mes "you should be able to";
mes "find Postell. Tell him that";
mes "I need my ''Kolbun A'' now!";
- set hg_herb,1;
+ hg_herb = 1;
setquest 8053;
next;
mes "[Allen]";
@@ -173,7 +173,7 @@ hu_in01,387,245,0 script Allen Schuwell 4_M_DIEMAN,2,2,{
mes "not survive! A-adventurer, would^FFFFFF ^000000 you please stay by my side until";
mes "my son arrives? P-please?";
next;
- set hg_herb,3;
+ hg_herb = 3;
changequest 8054,8055;
mes "[" +strcharinfo(0)+ "]";
mes "......";
@@ -205,7 +205,7 @@ hu_in01,387,245,0 script Allen Schuwell 4_M_DIEMAN,2,2,{
mes "''Withstander'' medicine...";
mes "from... Drawer... H-heeelp me!";
mes "Adventurer! H-Heeeeelp~!";
- set hg_herb,4;
+ hg_herb = 4;
changequest 8055,8056;
close;
} else if (hg_herb == 4) {
@@ -232,7 +232,7 @@ hu_in01,387,245,0 script Allen Schuwell 4_M_DIEMAN,2,2,{
mes "Ah, wh-what a relief. It looks";
mes "like I-I live to see another";
mes "day. Th-thank you so much...";
- set hg_herb,7;
+ hg_herb = 7;
close;
} else if (hg_herb == 7) {
mes "[Allen]";
@@ -253,7 +253,7 @@ hu_in01,387,245,0 script Allen Schuwell 4_M_DIEMAN,2,2,{
mes "My son Postell, he should";
mes "be coming soon. Thank you";
mes "for being so patient with me...";
- set hg_herb,10;
+ hg_herb = 10;
close;
}
mes "[Allen]";
@@ -267,7 +267,7 @@ hu_in01,387,245,0 script Allen Schuwell 4_M_DIEMAN,2,2,{
mes "[" +strcharinfo(0)+ "]";
mes "(^333333Your son Postell";
mes "better get here soon!^000000)";
- set hg_herb,7;
+ hg_herb = 7;
close;
} else if (hg_herb == 10) {
mes "[Allen]";
@@ -327,7 +327,7 @@ hu_in01,387,245,0 script Allen Schuwell 4_M_DIEMAN,2,2,{
mes "It won't take long, so don't";
mes "stress yourself about it.";
close2;
- set hg_herb,11;
+ hg_herb = 11;
disablenpc "Postell Schuwell#D";
emotion e_swt,1;
emotion e_swt;
@@ -347,7 +347,7 @@ hu_in01,387,245,0 script Allen Schuwell 4_M_DIEMAN,2,2,{
mes "you. Please take a look inside";
mes "the medicine drawer, and help";
mes "yourself to whatever you like~";
- set hg_herb,12;
+ hg_herb = 12;
changequest 8055,8056;
close;
} else if (hg_herb == 12) {
@@ -395,7 +395,7 @@ OnTouch:
mes "W-Withstander...!";
mes "I need m-my Withstander!";
mes "P-please! ^333333*Cough cough!*^000000";
- set hg_herb,5;
+ hg_herb = 5;
donpcevent "#DrawerOpener::OnEnable";
close;
} else if (hg_herb == 7) {
@@ -406,11 +406,10 @@ OnTouch:
mes "attack?! Please, g-get me";
mes "another dose of Withstander,";
mes "just to be on the safe side!";
- set hg_herb,8;
+ hg_herb = 8;
donpcevent "#DrawerOpener::OnEnable";
close;
}
-
}
hu_in01,385,247,5 script Postell Schuwell#D 4W_M_01,{
@@ -485,7 +484,7 @@ hu_fild06,34,123,3 script Postell Schuwell 4W_M_01,{
mes "get himself into any";
mes "more trouble? I'd really";
mes "appreciate it if you do.";
- set hg_herb,2;
+ hg_herb = 2;
changequest 8053,8054;
close;
case 2:
@@ -518,7 +517,7 @@ hu_fild06,34,123,3 script Postell Schuwell 4W_M_01,{
hu_in01,370,255,3 script Upper Drawer#First HIDDEN_WARP_NPC,2,2,{
OnTouch:
- set .@rand,rand(1,7);
+ .@rand = rand(1,7);
if (hg_herb < 5) {
mes "^3355FFThere are several";
mes "books and a few";
@@ -532,9 +531,9 @@ OnTouch:
mes "is gone! It's a miracle!";
mes "Maybe I'll just take the";
mes "Withstander later...";
- set hg_herb,4;
+ hg_herb = 4;
next;
- set .@rand,rand(1,7);
+ .@rand = rand(1,7);
if (.@rand == 4) {
mes "^3355FFYou find an old book";
mes "inside the drawer.^000000";
@@ -584,7 +583,7 @@ OnTouch:
mes "is gone! It's a miracle!";
mes "Maybe I'll just take the";
mes "Withstander later...";
- set hg_herb,7;
+ hg_herb = 7;
next;
if (.@rand == 4) {
mes "^3355FFYou find an old book";
@@ -634,7 +633,7 @@ OnTouch:
mes "inside the drawer.^000000";
close2;
specialeffect EF_CONE;
- set hg_herb,13;
+ hg_herb = 13;
getitem 603,1; //Old Blue Box
getexp (checkre(3))?5000:50000,0;
completequest 8056;
@@ -685,12 +684,12 @@ OnTouch:
if (hg_herb == 5) {
mes "^3355FFYou take out one dose of";
mes "Withstander from the drawer.^000000";
- set hg_herb,6;
+ hg_herb = 6;
close;
} else if (hg_herb == 8) {
mes "^3355FFYou take out one dose of";
mes "Withstander from the drawer.^000000";
- set hg_herb,9;
+ hg_herb = 9;
close;
} else {
mes "^3355FFThere are several books";
@@ -846,7 +845,7 @@ ein_in01,16,36,3 script Morriphen 4_M_04,{
mes "Thanks so much.";
mes "^333333*Cough Cough*";
mes "*Cough Cough*^000000";
- set hg_bio,1;
+ hg_bio = 1;
setquest 11009;
close;
}
@@ -938,7 +937,7 @@ ein_in01,16,36,3 script Morriphen 4_M_04,{
mes "way. I'll hurry as fast as";
mes "I can back to Hugel to";
mes "give Siria this medicine.";
- set hg_bio,7;
+ hg_bio = 7;
changequest 11014,11015;
close;
} else if (hg_bio == 7) {
@@ -1216,7 +1215,7 @@ ein_in01,16,36,3 script Morriphen 4_M_04,{
mes "Just get better so that";
mes "I won't have to worry";
mes "about you. Take care~";
- set hg_bio,9;
+ hg_bio = 9;
getexp (checkre(3))?70000:700000,0;
completequest 11016;
close;
@@ -1341,7 +1340,7 @@ hu_in01,326,307,3 script Siria 4_F_01,{
mes "to come here, then I'll";
mes "trust you too. ^333333*Cough*^000000";
mes "Thank you so much...";
- set hg_bio,2;
+ hg_bio = 2;
changequest 11009,11010;
close;
} else if (hg_bio == 2) {
@@ -1411,7 +1410,7 @@ hu_in01,326,307,3 script Siria 4_F_01,{
mes "destroyed their lives. I just--";
mes "I just... I just need to relax.";
mes "Thank you for everything...";
- set hg_bio,8;
+ hg_bio = 8;
getexp (checkre(3))?30000:500000,0;
changequest 11015,11016;
close;
@@ -1523,7 +1522,7 @@ lighthalzen,88,79,7 script Dono 4_M_03,{
mes "hard, but I've got no choice.";
mes "If you don't hurry, then";
mes "those two will die, simple^FFFFFF ^000000 as that. I'll wait for you here.";
- set hg_bio,3;
+ hg_bio = 3;
changequest 11010,11011;
close;
} else if (hg_bio == 1) {
@@ -1546,7 +1545,7 @@ lighthalzen,88,79,7 script Dono 4_M_03,{
delitem 7053,5; //Brigan
delitem 7054,5; //Cyfar
delitem 935,20; //Shell
- set hg_bio,4;
+ hg_bio = 4;
changequest 11011,11012;
mes "[Dono]";
mes "Good, good, you've brought";
@@ -1685,7 +1684,7 @@ lighthalzen,88,79,7 script Dono 4_M_03,{
mes "If he gets upset, and";
mes "stresses himself to death,";
mes "my work will be for nothing.";
- set hg_bio,6;
+ hg_bio = 6;
changequest 11013,11014;
close;
} else if (hg_bio == 6) {
@@ -1813,7 +1812,7 @@ lhz_in03,193,28,3 script Makkie 4_M_01,{
next;
mes "^3355FFYou receive a small bag";
mes "of Red Plant Stem Powder.^000000";
- set hg_bio,5;
+ hg_bio = 5;
changequest 11012,11013;
next;
mes "["+strcharinfo(0)+"]";
@@ -1935,7 +1934,7 @@ hugel,70,137,5 script Shede 4_F_CAPEGIRL,{
mes "Can you please go gather \"^3131FF5 Moks Mushroom Solution^000000\" from \"^3131FFMoks Mushrooms^000000\"?";
mes "You will find the mushrooms in fields near Hugel.";
mes "I hope that you will bring their solution as quickly as you can!";
- set hg_tre,10;
+ hg_tre = 10;
close2;
cutin "",255;
end;
@@ -1985,7 +1984,7 @@ hugel,70,137,5 script Shede 4_F_CAPEGIRL,{
mes "you will find clams near the ferry.";
mes "Please gather ^3131FF5 Clam Flesh^000000 from the clams.";
mes "Please hurry!";
- set hg_tre,20;
+ hg_tre = 20;
close2;
cutin "",255;
end;
@@ -2025,7 +2024,7 @@ hugel,70,137,5 script Shede 4_F_CAPEGIRL,{
mes "["+strcharinfo(0)+"]";
mes "'......I am confused...Does she love him or hate him?'";
emotion e_dots,1;
- set hg_tre,30;
+ hg_tre = 30;
close2;
cutin "",255;
end;
@@ -2065,7 +2064,7 @@ hugel,70,137,5 script Shede 4_F_CAPEGIRL,{
mes "Now, I can bake the Mushroom Flavor Cookies for uncle Hollun.";
mes "Thank you so much.";
emotion e_heh;
- set hg_tre,40;
+ hg_tre = 40;
close2;
cutin "",255;
end;
@@ -2075,7 +2074,7 @@ hugel,70,137,5 script Shede 4_F_CAPEGIRL,{
mes "Now, I can bake the best cookies of mine and compete with Agette!";
mes "Thank you so much.";
emotion e_heh;
- set hg_tre,40;
+ hg_tre = 40;
close2;
cutin "",255;
end;
@@ -2090,7 +2089,7 @@ hugel,70,137,5 script Shede 4_F_CAPEGIRL,{
mes "(If he knew what ingredients she used for the cookies,)";
mes "(I am pretty sure that at least he will remember her face to avoid next time...)'";
emotion e_dots,1;
- set hg_tre,40;
+ hg_tre = 40;
close2;
cutin "",255;
end;
@@ -2103,7 +2102,7 @@ hugel,70,137,5 script Shede 4_F_CAPEGIRL,{
mes "[Shede]";
mes "If you have some time, why don't you go spend some time with him?";
mes "I know that he will appreciate it.";
- set hg_tre,41;
+ hg_tre = 41;
close2;
cutin "",255;
end;
@@ -2199,7 +2198,7 @@ hu_in01,256,40,3 script Herico 4_M_HUGRANFA,{
next;
mes "[Herico]";
mes "Perhaps we will learn something from each other's story.";
- set hg_tre,42;
+ hg_tre = 42;
close2;
cutin "",255;
end;
@@ -2243,7 +2242,7 @@ hu_in01,256,40,3 script Herico 4_M_HUGRANFA,{
mes "Please find out the secret about the airship and the island.";
mes "Then I will tell you my stories.";
mes "I hope that you will do your best to find out the secret.";
- set hg_tre,43;
+ hg_tre = 43;
close2;
cutin "",255;
end;
@@ -2278,7 +2277,7 @@ hu_in01,256,40,3 script Herico 4_M_HUGRANFA,{
mes "[Herico]";
mes "Well, this is time for me to tell you my story.";
mes "I hope that you will enjoy it.";
- set hg_tre,44;
+ hg_tre = 44;
close2;
cutin "",255;
end;
@@ -2395,7 +2394,7 @@ hu_in01,256,40,3 script Herico 4_M_HUGRANFA,{
mes "who still remembers about the rebellion.";
mes "If you find him, please ask him if he knows whereabouts of the rebellion survivors,";
mes "so that you can find out what happened to Sage Varmunt and his research documents.";
- set hg_tre,45;
+ hg_tre = 45;
close2;
cutin "",255;
end;
@@ -2585,7 +2584,7 @@ hu_in01,256,40,3 script Herico 4_M_HUGRANFA,{
mes "Science is to benefit humankinds,";
mes "not to harm them. I think that something must be done.";
mes "Can you bring me a glass of water?";
- set hg_tre,50;
+ hg_tre = 50;
close2;
cutin "",255;
end;
@@ -2637,7 +2636,7 @@ hu_in01,256,40,3 script Herico 4_M_HUGRANFA,{
next;
mes "[Herico]";
mes "Let's discuss further what we should do.";
- set hg_tre,51;
+ hg_tre = 51;
close2;
cutin "",255;
end;
@@ -2659,7 +2658,7 @@ hu_in01,256,40,3 script Herico 4_M_HUGRANFA,{
mes "It is where their filthy ambitions are reflected on.";
mes "Please sneak into the laboratory";
mes "and bring ^FF0000their research data^000000 to me.";
- set hg_tre,52;
+ hg_tre = 52;
close2;
cutin "",255;
end;
@@ -2722,7 +2721,7 @@ hu_in01,256,40,3 script Herico 4_M_HUGRANFA,{
mes "that you are the only hope that I have.";
mes "Please stop them from performing experimental research on living bodies!";
delitem 7342,1; //File Folder
- set hg_tre,54;
+ hg_tre = 54;
close2;
cutin "",255;
end;
@@ -2804,7 +2803,7 @@ hu_in01,256,40,3 script Herico 4_M_HUGRANFA,{
mes "Let's see how well he can handle it.";
mes "I appreciate you for doing everything for me so far,";
mes "I really appreciate it.";
- set hg_tre,56;
+ hg_tre = 56;
getitem 7342,1;
close2;
cutin "",255;
@@ -2977,7 +2976,7 @@ lhz_in03,39,44,3 script Enquro Carson 4W_M_01,{
mes "People keep talking about the pub's best drink,";
mes "and I wonder how delicious the drink will be.";
mes "Can you please get me the drink? Hahaha, thanks!";
- set hg_tre,46;
+ hg_tre = 46;
close;
case 2:
mes "[Enquro Carson]";
@@ -3042,7 +3041,7 @@ lhz_in03,39,44,3 script Enquro Carson 4W_M_01,{
mes "I released the personal information at my discretion,";
mes "and I know that I am not allowed to do that. Hehe.";
emotion e_gg;
- set hg_tre,47;
+ hg_tre = 47;
delitem 12112,1; //Tropical Sograt
delitem 12113,1; //Vermilion on the Beach
close;
@@ -3168,7 +3167,7 @@ hu_in01,310,380,5 script Girl#hugel 4_F_HUGIRL,{
mes "Sure!";
mes "It is filled with books, and they don't look that interesting.";
mes "But, can you be careful to treat the shelf? It is a keepsake from my father.";
- set hg_tre,48;
+ hg_tre = 48;
close;
} else if (hg_tre > 48) {
mes "[Wintzil Trony]";
@@ -3403,7 +3402,7 @@ hu_in01,317,312,0 script Book HIDDEN_NPC,{
mes " ";
mes "My arm is throbbing with pain again. The history of mercenary soldiers ended, and I need to rest.";
mes "I hope that this will be the last page of my journal.";
- if (hg_tre == 48) set hg_tre,49;
+ if (hg_tre == 48) hg_tre = 49;
next;
mes "- The journal was ended at the page. -";
next;
@@ -3508,7 +3507,7 @@ hu_fild06,168,359,3 script Moks Mushrooms#Mush1 HIDDEN_NPC,{
}
mes "- You have successfully gathered mushrooms. -";
specialeffect2 EF_VALLENTINE2;
- set hg_tre,hg_tre+1;
+ ++hg_tre;
if (hg_tre == 11)
mes "Collected Moks Mushroom Solution: 1ea ";
else if (hg_tre == 12)
@@ -3563,7 +3562,7 @@ hu_fild06,194,341,3 script Moks Mushrooms#Mush2 HIDDEN_NPC,{
}
mes "- You have successfully gathered mushrooms. -";
specialeffect2 EF_VALLENTINE2;
- set hg_tre,hg_tre+1;
+ ++hg_tre;
if (hg_tre == 11)
mes "Collected Moks Mushroom Solution: 1ea ";
else if (hg_tre == 12)
@@ -3618,7 +3617,7 @@ hu_fild06,198,339,3 script Moks Mushrooms#Mush3 HIDDEN_NPC,{
}
mes "- You have successfully gathered mushrooms. -";
specialeffect2 EF_VALLENTINE2;
- set hg_tre,hg_tre+1;
+ ++hg_tre;
if (hg_tre == 11)
mes "Collected Moks Mushroom Solution: 1ea ";
else if (hg_tre == 12)
@@ -3673,7 +3672,7 @@ hugel,209,163,3 script Clam#C1 HIDDEN_NPC,{
}
mes "- You have successfully gathered Clam Flesh. -";
specialeffect2 EF_VALLENTINE2;
- set hg_tre,hg_tre+1;
+ ++hg_tre;
if (hg_tre == 21)
mes "Collected Clam Flesh: 1ea ";
else if (hg_tre == 22)
@@ -3728,7 +3727,7 @@ hugel,203,166,3 script Clam#C2 HIDDEN_NPC,{
}
mes "- You have successfully gathered Clam Flesh. -";
specialeffect2 EF_VALLENTINE2;
- set hg_tre,hg_tre+1;
+ ++hg_tre;
if (hg_tre == 21)
mes "Collected Clam Flesh: 1ea ";
else if (hg_tre == 22)
@@ -3783,7 +3782,7 @@ hugel,217,158,3 script Clam#C3 HIDDEN_NPC,{
}
mes "- You have successfully gathered Clam Flesh. -";
specialeffect2 EF_VALLENTINE2;
- set hg_tre,hg_tre+1;
+ ++hg_tre;
if (hg_tre == 21)
mes "Collected Clam Flesh: 1ea ";
else if (hg_tre == 22)
@@ -3838,7 +3837,7 @@ hugel,204,150,3 script Clam#C4 HIDDEN_NPC,{
}
mes "- You have successfully gathered Clam Flesh. -";
specialeffect2 EF_VALLENTINE2;
- set hg_tre,hg_tre+1;
+ ++hg_tre;
if (hg_tre == 21)
mes "Collected Clam Flesh: 1ea ";
else if (hg_tre == 22)
@@ -3893,7 +3892,7 @@ hu_fild06,155,309,1 script Moks Bugs#Bug1 THIEF_BUG_,{
}
mes "- You have successfully gathered Moks Bugs Shells. -";
specialeffect2 EF_VALLENTINE2;
- set hg_tre,hg_tre+1;
+ ++hg_tre;
if (hg_tre == 31)
mes "Collected Moks Bugs Shells: 1ea ";
else if (hg_tre == 32)
@@ -3948,7 +3947,7 @@ hu_fild06,218,320,1 script Moks Bugs#Bug2 THIEF_BUG_,{
}
mes "- You have successfully gathered Moks Bugs Shells. -";
specialeffect2 EF_VALLENTINE2;
- set hg_tre,hg_tre+1;
+ ++hg_tre;
if (hg_tre == 31)
mes "Collected Moks Bugs Shells: 1ea ";
else if (hg_tre == 32)
@@ -4003,7 +4002,7 @@ hu_fild06,249,329,1 script Moks Bugs#Bug3 THIEF_BUG_,{
}
mes "- You have successfully gathered Moks Bugs Shells. -";
specialeffect2 EF_VALLENTINE2;
- set hg_tre,hg_tre+1;
+ ++hg_tre;
if (hg_tre == 31)
mes "Collected Moks Bugs Shells: 1ea ";
else if (hg_tre == 32)
@@ -4058,7 +4057,7 @@ hu_fild06,218,373,1 script Moks Bugs#Bug4 THIEF_BUG_,{
}
mes "- You have successfully gathered Moks Bugs Shells. -";
specialeffect2 EF_VALLENTINE2;
- set hg_tre,hg_tre+1;
+ ++hg_tre;
if (hg_tre == 31)
mes "Collected Moks Bugs Shells: 1ea ";
else if (hg_tre == 32)
@@ -4096,7 +4095,7 @@ lhz_in01,214,129,0 script A Pile of Paper HIDDEN_NPC,{
next;
mes "["+strcharinfo(0)+"]";
mes "Good, I must take this with me.";
- set hg_tre,53;
+ hg_tre = 53;
getitem 7342,1; //File folder
donpcevent "HuMSpawner::OnMonster";
close;
@@ -4119,7 +4118,7 @@ OnTimer60000:
killmonster "lhz_in01","HuMSpawner::OnMonsterDead";
stopnpctimer;
end;
-
+
OnMonsterDead:
end;
}
@@ -4139,7 +4138,7 @@ lhz_dun02,244,226,0 script Unethical Machine HIDDEN_NPC,{
enablenpc "HiddenExplosion";
mapannounce "lhz_dun02","Beep------------------ ",1,0x99CCFF;
delitem 7138,1; //Marine sphere bottle
- set hg_tre,55;
+ hg_tre = 55;
close;
} else {
mes "- You were staggered for the fact that";
@@ -4153,7 +4152,7 @@ lhz_dun02,244,227,0 script HiddenExplosion HIDDEN_WARP_NPC,5,5,{
OnInit:
disablenpc "HiddenExplosion";
end;
-
+
OnTouch:
percentheal -10,0;
specialeffect EF_HIT5;
@@ -4180,7 +4179,7 @@ hu_in01,377,106,3 script Pub Granny 4_F_HUGRANMA,{
hugel,198,169,0 script #HugelTree HIDDEN_WARP_NPC,2,2,{
if (BaseLevel > 49) {
if (!hg_memory) {
- set hg_memory,1;
+ hg_memory = 1;
setquest 8057;
mes "^3355FFFor some reason, you";
mes "feel very warm, safe,";
@@ -4242,7 +4241,7 @@ hugel,191,172,3 script Manainne 4_F_HUGRANMA,1,{
mes "so cruel and selfish!";
mes "Right now he's surveying";
mes "the land for construction...";
- set hg_memory,2;
+ hg_memory = 2;
changequest 8057,8058;
close;
} else if (hg_memory == 2) {
@@ -4284,7 +4283,7 @@ hugel,191,172,3 script Manainne 4_F_HUGRANMA,1,{
mes "He's completely changed.";
mes "My sister would be rolling";
mes "in her grave, seeing him now...";
- set hg_memory,6;
+ hg_memory = 6;
changequest 8061,8062;
close;
} else if (hg_memory == 6) {
@@ -4311,7 +4310,7 @@ hugel,191,172,3 script Manainne 4_F_HUGRANMA,1,{
mes "cutting down our tree, but";
mes "this is almost too much.";
next;
- set hg_memory,8;
+ hg_memory = 8;
mes "[Manainne]";
mes "Gosh, all that talk";
mes "about Nifflheim is...";
@@ -4343,7 +4342,7 @@ hugel,191,172,3 script Manainne 4_F_HUGRANMA,1,{
mes "[Manainne]";
mes "...!";
next;
- set hg_memory,9;
+ hg_memory = 9;
mes "[Manainne]";
mes "......";
mes "..........";
@@ -4385,7 +4384,7 @@ hugel,191,172,3 script Manainne 4_F_HUGRANMA,1,{
mes "I can't believe you'd...";
mes "Knock it off right now!";
next;
- set hg_memory,10;
+ hg_memory = 10;
mes "[El Schatt]";
mes "Look, out of my respect";
mes "for you and the relationship";
@@ -4483,7 +4482,7 @@ hugel,191,172,3 script Manainne 4_F_HUGRANMA,1,{
mes "believe. I want to";
mes "believe it so badly...";
mes "Is it really you?";
- set hg_memory,11;
+ hg_memory = 11;
close;
} else if (hg_memory == 11) {
mes "[Manainne]";
@@ -4544,7 +4543,7 @@ niflheim,90,106,3 script A Spirit#HQuest 4_NFWISP,{
mes "me... Just go back to ";
mes "the living... to Hugel...";
mes "Let me send you there...";
- set hg_memory,7;
+ hg_memory = 7;
changequest 8062,8063;
close2;
warp "hugel",78,148;
@@ -4573,7 +4572,7 @@ niflheim,90,106,3 script A Spirit#HQuest 4_NFWISP,{
hugel,100,103,3 script Perfitz 4_M_LGTGRAND,{
if (hg_memory == 3) {
- set hg_memory,4;
+ hg_memory = 4;
mes "[Perfitz]";
mes "I'm pleased that my son has";
mes "finally set his mind on the";
@@ -4658,7 +4657,7 @@ hugel,196,164,3 script El Schatt 1_M_04,{
mes "entire community. We should've";
mes "done this a long time ago...";
next;
- set hg_memory,3;
+ hg_memory = 3;
mes "[El Schatt]";
mes "C'mon... Take a look";
mes "around. I won't deny that";
@@ -4684,7 +4683,7 @@ hugel,196,164,3 script El Schatt 1_M_04,{
mes "it's just a waste of space...";
close;
} else if (hg_memory == 4) {
- set hg_memory,5;
+ hg_memory = 5;
mes "[El Schatt]";
mes "You've spoken with my father?";
mes "Hmpf! Don't tell me you're here";
@@ -4855,7 +4854,7 @@ hugel,196,164,3 script El Schatt 1_M_04,{
mes "^333333*Sniff*^000000 She had to go back...";
next;
specialeffect2 EF_CONE;
- set hg_memory,12;
+ hg_memory = 12;
getexp (checkre(3))?8000:50000,0;
completequest 8063;
getitem 603,1; //Old Blue Box
@@ -4935,7 +4934,7 @@ hugel,107,67,3 script Torpy 4_M_KID1,{
mes "sure that I can find at";
mes "least one of them just";
mes "outside of town.";
- set hg_ubu01,1;
+ hg_ubu01 = 1;
setquest 12044;
close;
case 2:
@@ -4963,7 +4962,7 @@ hugel,107,67,3 script Torpy 4_M_KID1,{
mes "outside of town?";
mes "*Sob* Okay, I hope my";
mes "Daddy comes back soon...";
- set hg_ubu01,3;
+ hg_ubu01 = 3;
changequest 12045,12046;
close;
} else if (hg_ubu01 == 6) {
@@ -4997,7 +4996,7 @@ hugel,107,67,3 script Torpy 4_M_KID1,{
mes "Hee hee~ Once I find";
mes "my Daddy, he has to get me";
mes "a girlfriend! He promised~!^000000";
- set hg_ubu01,7;
+ hg_ubu01 = 7;
close;
} else if (hg_ubu01 == 7) {
mes "[Torpy]";
@@ -5034,7 +5033,7 @@ hugel,107,67,3 script Torpy 4_M_KID1,{
mes "Maybe I should pick her...";
mes "Yeah, I'll pick the perfectest";
mes "girl that I can find! Yaaay~";
- set hg_ubu01,9;
+ hg_ubu01 = 9;
close;
} else if (hg_ubu01 == 9) {
emotion e_dots,1;
@@ -5123,7 +5122,7 @@ hu_fild06,190,367,3 script Torpy's Mom 4_F_GODEMOM,{
mes "home soon? Also, if you see";
mes "my husband inside town, tell";
mes "him that he better come home!";
- set hg_ubu01,2;
+ hg_ubu01 = 2;
changequest 12044,12045;
close;
} else if (hg_ubu01 == 2) {
@@ -5151,7 +5150,7 @@ hu_fild06,190,367,3 script Torpy's Mom 4_F_GODEMOM,{
mes "you accept this as our thanks.";
mes "Goodbye for now, adventurer~";
specialeffect2 (hg_ubu01 == 6)?EF_CONE:EF_MVP;
- set hg_ubu01,8;
+ hg_ubu01 = 8;
completequest 12048;
getitem 12065,3; //Green Salad
getexp (checkre(3))?5000:50000,0;
@@ -5221,7 +5220,7 @@ hugel,100,176,3 script Suspicious Barrel HIDDEN_NPC,{
mes "It's... It's the";
mes "o-only... possible...";
mes "Way... P-please help...";
- set hg_ubu01,4;
+ hg_ubu01 = 4;
changequest 12046,12047;
close;
case 2:
@@ -5254,7 +5253,7 @@ hugel,100,176,3 script Suspicious Barrel HIDDEN_NPC,{
mes "into the barrel where";
mes "it was quickly devoured.^000000";
delitem 12051,1; //Steamed crab nippers
- set hg_ubu01,5;
+ hg_ubu01 = 5;
next;
mes "[Strange Man]";
mes "Ha ha ha!";
@@ -5302,7 +5301,7 @@ hugel,100,176,3 script Suspicious Barrel HIDDEN_NPC,{
mes "into the barrel where";
mes "it was quickly devoured.^000000";
delitem 12051,1; //Steamed crab nippers
- set hg_ubu01,5;
+ hg_ubu01 = 5;
next;
mes "[Strange Man]";
mes "Ha ha ha!";
@@ -5412,7 +5411,7 @@ hugel,100,174,3 script Strange Man#Hugel 4_M_HUMAN_01,{
mes "with my son, and if I lose";
mes "this game of Hide-and-Seek...";
mes "Well, I just can't lose! Bye!";
- set hg_ubu01,6;
+ hg_ubu01 = 6;
changequest 12047,12048;
next;
mes "^3355FFTorpy's father has";
@@ -5434,17 +5433,17 @@ hugel,100,174,3 script Strange Man#Hugel 4_M_HUMAN_01,{
mes "have to eat again for days!";
close;
}
-
+
OnEnable:
enablenpc "Strange Man#Hugel";
disablenpc "Suspicious Barrel";
initnpctimer;
end;
-
+
OnInit:
disablenpc "Strange Man#Hugel";
end;
-
+
OnTimer60000:
stopnpctimer;
disablenpc "Strange Man#Hugel";
@@ -5511,7 +5510,7 @@ hu_in01,15,372,3 script Cellette Lavit 1_F_MERCHANT_02,{
mes "my friend Neha. I'm grateful";
mes "that she's a regular customer--";
mes "she's a good friend, but I'm sure^FFFFFF ^000000 that she loves the soup as well.";
- set hg_odeng,1;
+ hg_odeng = 1;
setquest 8064;
getitem 584,1; //Fish_Ball_Soup
close;
@@ -5522,7 +5521,7 @@ hu_in01,15,372,3 script Cellette Lavit 1_F_MERCHANT_02,{
mes "another one of my regulars.";
mes "He's been buying my soup ever";
mes "since I helped him start his^FFFFFF ^000000 business. Nice of him, isn't it?";
- set hg_odeng,2;
+ hg_odeng = 2;
setquest 8065;
getitem 584,1; //Fish_Ball_Soup
close;
@@ -5534,7 +5533,7 @@ hu_in01,15,372,3 script Cellette Lavit 1_F_MERCHANT_02,{
mes "But... Be careful. She's got";
mes "a thing about punctuality.";
mes "Just try not to be late...";
- set hg_odeng,3;
+ hg_odeng = 3;
setquest 8066;
getitem 584,1; //Fish_Ball_Soup
close;
@@ -5546,7 +5545,7 @@ hu_in01,15,372,3 script Cellette Lavit 1_F_MERCHANT_02,{
mes "nitpicky... And he likes to";
mes "have everything in such";
mes "and such and order...";
- set hg_odeng,4;
+ hg_odeng = 4;
setquest 8067;
getitem 584,1; //Fish_Ball_Soup
close;
@@ -5636,7 +5635,7 @@ hu_in01,15,372,3 script Cellette Lavit 1_F_MERCHANT_02,{
mes "Well, I don't think I can";
mes "trust somebody like you";
mes "with any deliveries...";
- set hg_odeng,5;
+ hg_odeng = 5;
close;
}
}
@@ -5677,7 +5676,7 @@ hu_in01,15,372,3 script Cellette Lavit 1_F_MERCHANT_02,{
mes "Well, I don't think I can";
mes "trust somebody like you";
mes "with any deliveries...";
- set hg_odeng,5;
+ hg_odeng = 5;
close;
}
}
@@ -5719,7 +5718,7 @@ hu_in01,15,372,3 script Cellette Lavit 1_F_MERCHANT_02,{
mes "Well, I don't think I can";
mes "trust somebody like you";
mes "with any deliveries...";
- set hg_odeng,5;
+ hg_odeng = 5;
close;
}
}
@@ -5760,7 +5759,7 @@ hu_in01,15,372,3 script Cellette Lavit 1_F_MERCHANT_02,{
mes "Well, I don't think I can";
mes "trust somebody like you";
mes "with any deliveries...";
- set hg_odeng,5;
+ hg_odeng = 5;
close;
}
}
@@ -5780,7 +5779,7 @@ hu_in01,15,372,3 script Cellette Lavit 1_F_MERCHANT_02,{
mes "you! Ah, before I forget, here";
mes "is your Fish Cake Soup. Thank";
mes "you so much for your help~";
- set hg_odeng,0;
+ hg_odeng = 0;
for (.@i = 8072; .@i <= 8075; ++.@i) {
if (questprogress(.@i))
erasequest .@i;
@@ -5838,7 +5837,7 @@ hugel,76,134,3 script Neha 4W_F_01,{
completequest .@i;
}
setquest 8068;
- set hg_odeng,6;
+ hg_odeng = 6;
close;
} else {
mes "[Neha]";
@@ -5879,7 +5878,7 @@ hugel,76,134,3 script Neha 4W_F_01,{
mes "you come deliver my soup again~";
delitem 1960,1; //Whip
delitem 584,1; //Fish_Ball_Soup
- set hg_odeng,10;
+ hg_odeng = 10;
changequest 8068,8072;
close;
} else {
@@ -5926,7 +5925,7 @@ hugel,87,139,3 script Maewan 4_M_04,{
mes "alright? Oh, and don't";
mes "eat my soup before";
mes "you deliver it to me!";
- set hg_odeng,7;
+ hg_odeng = 7;
changequest 8065,8069;
close;
} else {
@@ -5950,7 +5949,7 @@ hugel,87,139,3 script Maewan 4_M_04,{
mes "Thanks again for delivering~";
delitem 584,1; //Fish_Ball_Soup
delitem 7015,1; //Bookclip in memory
- set hg_odeng,10;
+ hg_odeng = 10;
changequest 8069,8073;
close;
} else {
@@ -5979,7 +5978,6 @@ hugel,87,139,3 script Maewan 4_M_04,{
mes "all sorts of new things~";
close;
}
-
}
hugel,84,125,3 script Layoma 8_F_GIRL,{
@@ -6000,7 +5998,7 @@ hugel,84,125,3 script Layoma 8_F_GIRL,{
mes "dependable to me. Erm, bring";
mes "me ^FF00001 Mushroom Spore^000000, and";
mes "I'll forget this whole thing.";
- set hg_odeng,8;
+ hg_odeng = 8;
changequest 8066,8070;
close;
} else {
@@ -6027,7 +6025,7 @@ hugel,84,125,3 script Layoma 8_F_GIRL,{
mes "please tell her to not to come^FFFFFF ^000000 home so late all the time, okay?";
delitem 921,1; //Mushroom_Spore
delitem 584,1; //Fish_Ball_Soup
- set hg_odeng,10;
+ hg_odeng = 10;
changequest 8070,8074;
close;
} else {
@@ -6048,7 +6046,6 @@ hugel,84,125,3 script Layoma 8_F_GIRL,{
mes "that's a pretty exciting life!";
close;
}
-
}
hugel,102,161,3 script Erjan 4W_SAILOR,{
@@ -6069,7 +6066,7 @@ hugel,102,161,3 script Erjan 4W_SAILOR,{
mes "I command you to bring me";
mes "the commoner's ^FF0000China^000000!";
next;
- set hg_odeng,9;
+ hg_odeng = 9;
changequest 8067,8071;
mes "[Erjan]";
mes "Realize that I'm compromising";
@@ -6113,7 +6110,7 @@ hugel,102,161,3 script Erjan 4W_SAILOR,{
mes "with my noble thanks.";
delitem 736,1; //White_Platter
delitem 584,1; //Fish_Ball_Soup
- set hg_odeng,10;
+ hg_odeng = 10;
changequest 8071,8075;
close;
} else {
@@ -6169,7 +6166,7 @@ yuno,111,156,3 script Euslan 4_F_01,{
mes "been so long since";
mes "someone has tried";
mes "to speak to her.^000000";
- set hg_ma1,1;
+ hg_ma1 = 1;
close;
}
} else if (hg_ma1 == 1) {
@@ -6239,7 +6236,7 @@ yuno,111,156,3 script Euslan 4_F_01,{
mes "coming home?";
mes "I'm so worried...";
mes "^333333*Cough Cough*^000000";
- set hg_ma1,2;
+ hg_ma1 = 2;
close;
case 2:
mes "[Euslan]";
@@ -6280,7 +6277,7 @@ yuno,111,156,3 script Euslan 4_F_01,{
mes "know as soon as you can,";
mes "okay? Thanks for cheering";
mes "me up, "+strcharinfo(0)+".";
- set hg_ma1,3;
+ hg_ma1 = 3;
setquest 8044;
close;
}
@@ -6349,7 +6346,7 @@ yuno,111,156,3 script Euslan 4_F_01,{
mes "know as soon as you can,";
mes "okay? Thanks for cheering";
mes "me up, "+strcharinfo(0)+".";
- set hg_ma1,3;
+ hg_ma1 = 3;
setquest 8044;
close;
}
@@ -6408,7 +6405,7 @@ yuno,111,156,3 script Euslan 4_F_01,{
mes "of your way. Still, I'd really";
mes "appreciate your help if you";
mes "happen to pass through Hugel.";
- set hg_ma1,6;
+ hg_ma1 = 6;
changequest 8046,8047;
close;
} else if (hg_ma1 == 6 || hg_ma1 == 7) {
@@ -6462,7 +6459,7 @@ yuno,111,156,3 script Euslan 4_F_01,{
mes "your safety in your adventures.";
mes "Take care of yourself...";
close2;
- set hg_ma1,13;
+ hg_ma1 = 13;
completequest 8052;
specialeffect EF_ABSORBSPIRITS;
if (checkre(3))
@@ -6478,7 +6475,6 @@ yuno,111,156,3 script Euslan 4_F_01,{
mes "relaxed than she used to be.^000000";
close;
}
-
}
que_bingo,49,12,0 script #Hg_Quest HIDDEN_WARP_NPC,4,4,{
@@ -6540,12 +6536,11 @@ que_bingo,53,190,7 script Eukran 4_M_TWTEAMAN,{
mes "would Thierry go to such a";
mes "dangerous place? No one goes^FFFFFF ^000000 to the Odin Shrine for no reason.";
close2;
- set hg_ma1,8;
+ hg_ma1 = 8;
changequest 8047,8048;
warp "que_bingo",37,24;
end;
}
-
}
odin_tem01,129,127,0 script HiddenActivator#Hugel HIDDEN_WARP_NPC,3,3,{
@@ -6609,7 +6604,7 @@ OnTimer180000:
disablenpc "Young Man#Hu_Quest";
stopnpctimer;
end;
-
+
OnInit:
disablenpc "Young Man#Hu_Quest";
end;
@@ -6649,7 +6644,7 @@ odin_tem01,130,134,4 script Young Man#Hu_Quest 4_M_TWBOY,{
mes "Euslan's disease. It's not";
mes "curable by modern medicine...";
close2;
- set hg_ma1,9;
+ hg_ma1 = 9;
changequest 8048,8049;
end;
} else if (hg_ma1 == 9) {
@@ -6778,7 +6773,7 @@ odin_tem01,130,134,4 script Young Man#Hu_Quest 4_M_TWBOY,{
mes "If they get me, I'll never be";
mes "able to make the medicine!";
close2;
- set hg_ma1,11;
+ hg_ma1 = 11;
changequest 8050,8051;
end;
} else if (hg_ma1 == 11) {
@@ -6831,7 +6826,7 @@ odin_tem01,130,134,4 script Young Man#Hu_Quest 4_M_TWBOY,{
mes "has made to give to Euslan.^000000";
close2;
delitem 7511,5; //Rune_Of_Darkness
- set hg_ma1,12;
+ hg_ma1 = 12;
changequest 8051,8052;
end;
} else if (hg_ma1 == 12) {
@@ -6851,7 +6846,6 @@ odin_tem01,130,134,4 script Young Man#Hu_Quest 4_M_TWBOY,{
mes "I swear I'll come home to you!";
close;
}
-
}
odin_tem01,111,144,0 script HiddenHugel HIDDEN_WARP_NPC,2,2,{
@@ -6883,7 +6877,7 @@ OnTouch:
mes "you better go tell him";
mes "about this right now!^000000";
close2;
- set hg_ma1,10;
+ hg_ma1 = 10;
changequest 8049,8050;
end;
}
@@ -6918,7 +6912,7 @@ hugel,56,104,3 script Kurupe 4_M_SEAMAN,3,3,{
mes "so I really need Burupu back!";
mes "You should be able to find him";
mes "somewhere just outside of town.";
- set hg_milk,2;
+ hg_milk = 2;
setquest 12040;
close;
case 2:
@@ -6957,7 +6951,7 @@ hugel,56,104,3 script Kurupe 4_M_SEAMAN,3,3,{
mes "much! Please milk Booboo";
mes "right away, and get me";
mes "some delicious milk~";
- set hg_milk,7;
+ hg_milk = 7;
close;
} else if (hg_milk == 7) {
mes "[Kurupe]";
@@ -6986,7 +6980,7 @@ hugel,56,104,3 script Kurupe 4_M_SEAMAN,3,3,{
mes "after you store some items into kafra storage.";
close;
}
- set hg_milk,9;
+ hg_milk = 9;
specialeffect2 EF_CONE;
getexp (checkre(3))?10000:100000,0;
getitem 12063,3;
@@ -7016,7 +7010,7 @@ hugel,56,104,3 script Kurupe 4_M_SEAMAN,3,3,{
mes "to come in today, and then";
mes "come back to me. Then, I'll";
mes "let you milk Booboo the cow.";
- set hg_milk,10;
+ hg_milk = 10;
close;
case 2:
mes "[Kurupe]";
@@ -7056,7 +7050,7 @@ hugel,56,104,3 script Kurupe 4_M_SEAMAN,3,3,{
mes "now would you please";
mes "milk Booboo the cow?";
mes "Thanks once again~";
- set hg_milk,12;
+ hg_milk = 12;
close;
} else if (hg_milk == 12) {
mes "[Kurupe]";
@@ -7072,7 +7066,7 @@ hugel,56,104,3 script Kurupe 4_M_SEAMAN,3,3,{
mes "see, what would be good to";
mes "give you as payment. Hmm...";
next;
- set .@milkreward,rand(1,10);
+ .@milkreward = rand(1,10);
if (.@milkreward < 5) {
mes "[Kurupe]";
mes "You know what?";
@@ -7091,7 +7085,7 @@ hugel,56,104,3 script Kurupe 4_M_SEAMAN,3,3,{
mes "after you store some items into kafra storage.";
close;
}
- set hg_milk,9;
+ hg_milk = 9;
erasequest 12043;
getitem 519,5; //Milk
close;
@@ -7112,7 +7106,7 @@ hugel,56,104,3 script Kurupe 4_M_SEAMAN,3,3,{
mes "after you store some items into kafra storage.";
close;
}
- set hg_milk,9;
+ hg_milk = 9;
erasequest 12043;
getitem 502,5; //Orange_Potion
close;
@@ -7134,12 +7128,12 @@ hugel,56,104,3 script Kurupe 4_M_SEAMAN,3,3,{
mes "after you store some items into kafra storage.";
close;
}
- set hg_milk,9;
+ hg_milk = 9;
erasequest 12043;
getitem 503,5; //Yellow_Potion
close;
} else {
- set .@milkreward,rand(1,10);
+ .@milkreward = rand(1,10);
if (.@milkreward < 7) {
mes "[Kurupe]";
mes "Hey, why don't you";
@@ -7158,7 +7152,7 @@ hugel,56,104,3 script Kurupe 4_M_SEAMAN,3,3,{
mes "after you store some items into kafra storage.";
close;
}
- set hg_milk,9;
+ hg_milk = 9;
erasequest 12043;
getitem 518,3; //Honey
close;
@@ -7180,7 +7174,7 @@ hugel,56,104,3 script Kurupe 4_M_SEAMAN,3,3,{
mes "after you store some items into kafra storage.";
close;
}
- set hg_milk,9;
+ hg_milk = 9;
erasequest 12043;
getitem 12111,1; //Food_Package
close;
@@ -7210,7 +7204,7 @@ OnTouch:
mes "to work? Burupu,";
mes "where are you?!";
emotion e_swt,0;
- set hg_milk,1;
+ hg_milk = 1;
close;
}
}
@@ -7239,7 +7233,7 @@ hu_fild06,217,270,3 script Burupu 4_M_HUBOY,3,3,{
mes "town, and I saw all those";
mes "Swordmen, I knew it'd be";
mes "my destiny! Forget ranching,^FFFFFF ^000000 I'm gonna wield a frickin' sword!";
- set hg_milk,4;
+ hg_milk = 4;
close;
} else if (hg_milk == 4) {
mes "[Burupu]";
@@ -7265,7 +7259,7 @@ hu_fild06,217,270,3 script Burupu 4_M_HUBOY,3,3,{
mes "me a Rapier with 2 Slots";
mes "as soon as you can! I can't";
mes "wait to start training with it!";
- set hg_milk,5;
+ hg_milk = 5;
changequest 12040,12041;
close;
@@ -7296,7 +7290,7 @@ hu_fild06,217,270,3 script Burupu 4_M_HUBOY,3,3,{
mes "I'm gonna start training";
mes "with it right now!";
delitem 1110,1; //Lapier
- set hg_milk,6;
+ hg_milk = 6;
changequest 12041,12042;
next;
mes "[Burupu]";
@@ -7328,7 +7322,7 @@ hu_fild06,217,270,3 script Burupu 4_M_HUBOY,3,3,{
mes "time to work on my fencing.";
mes "All right, now I can focus";
mes "completely on my training!";
- set hg_milk,11;
+ hg_milk = 11;
close;
} else {
mes "[Burupu]";
@@ -7355,7 +7349,7 @@ OnTouch:
mes "sword?! I mean, I'm getting";
mes "tired of making all my own";
mes "whooshing sounds and effects.";
- set hg_milk,3;
+ hg_milk = 3;
emotion e_an,0;
close;
} else if (hg_milk == 5) {
@@ -7591,7 +7585,7 @@ L_MilkCow:
mes "[Mrs. Booboo]";
switch(rand(1,6)) {
case 1:
- set .@cowsong$,"Brrbrr";
+ .@cowsong$ = "Brrbrr";
mes "^ff0000Brr~ Brrboo~ Boobooboo~^000000";
mes "^0000ffBrrrrrr~ Booboo~ Boorrboo~^000000";
mes "^ff0000Booruboorubrr~ Rrrrboo~^000000";
@@ -7600,7 +7594,7 @@ L_MilkCow:
mes "^0000ffBoo! B! Boo~~~^000000";
break;
case 2:
- set .@cowsong$,"Brrrrrr";
+ .@cowsong$ = "Brrrrrr";
mes "^ff0000Brr~ Brrboo~ Boobooboo~^000000";
mes "^0000ffRrrururu~ Booboo~ Boorrboo~^000000";
mes "^ff0000Booruboorubrr~ Rrrrboo~^000000";
@@ -7609,7 +7603,7 @@ L_MilkCow:
mes "^0000ffBoo! B! Boo~~~^000000";
break;
case 3:
- set .@cowsong$,"Rrrrboo";
+ .@cowsong$ = "Rrrrboo";
mes "^ff0000Brr~ Brrbrr~ Boobooboo~^000000";
mes "^0000ffBrrrrrr~ Booboo~ Boorrboo~^000000";
mes "^ff0000Booruboorubrr~ Rurub~^000000";
@@ -7618,7 +7612,7 @@ L_MilkCow:
mes "^0000ffBoo! B! Boo~^000000";
break;
case 4:
- set .@cowsong$,"Boobooru";
+ .@cowsong$ = "Boobooru";
mes "^ff0000Brr~ Brrbrr~ Boobooboo~^000000";
mes "^0000ffBrrrrrr~ Booboo~ Boorrboo~^000000";
mes "^ff0000Booruboorubrr~ Rrrrboo~^000000";
@@ -7627,7 +7621,7 @@ L_MilkCow:
mes "^0000ffBoo! B! Boo~^000000";
break;
case 5:
- set .@cowsong$,"Boobooboo";
+ .@cowsong$ = "Boobooboo";
mes "^ff0000Brr~ Brrbrr~ Boobooboo~^000000";
mes "^0000ffBrrrrrr~ Booboo~ Boorrboo~^000000";
mes "^ff0000Booruboorubrr~ Rrrrboo~^000000";
@@ -7636,7 +7630,7 @@ L_MilkCow:
mes "^0000ffBoo! B! Boo~^000000";
break;
case 6:
- set .@cowsong$,"B";
+ .@cowsong$ = "B";
mes "^ff0000Brr~ Brrbrr~ Boobooboo~^000000";
mes "^0000ffBrrrrrr~ Booboo~ Boorrboo~^000000";
mes "^ff0000Booruboorubrr~ Rrrrboo~^000000";
@@ -7660,8 +7654,8 @@ L_MilkCow:
mes "you were able to milk";
mes "her. Now, you should";
mes "report to Kurupe.^000000";
- if (hg_milk == 12) set hg_milk,13;
- else set hg_milk,8;
+ if (hg_milk == 12) hg_milk = 13;
+ else hg_milk = 8;
setquest 12043;
close;
}
@@ -7684,7 +7678,7 @@ hugel,91,152,1 script Sign 2_BULLETIN_BOARD,{
mes "for the Odin Shrine Expedition.";
mes " ";
mes "- Shrine Expedition Dept.";
- if (!hg_odin) set hg_odin,1;
+ if (!hg_odin) hg_odin = 1;
close;
}
mes "Join our magician";
@@ -7770,7 +7764,7 @@ hu_in01,19,161,0 script Alex 1_F_SIGNZISK,{
mes "if you'd want to work for us.";
mes "Please talk to the Boatman";
mes "to travel to the shrine, okay?";
- set hg_odin,2;
+ hg_odin = 2;
setquest 11000;
close2;
cutin "",255;
@@ -7842,7 +7836,7 @@ hu_in01,19,161,0 script Alex 1_F_SIGNZISK,{
mes "from the shrine. Don't worry,";
mes "I'll make sure that you're";
mes "rewarded for your efforts.";
- set hg_odin,4;
+ hg_odin = 4;
changequest 11000,11001;
next;
mes "[Alex]";
@@ -7952,7 +7946,7 @@ hu_in01,19,161,0 script Alex 1_F_SIGNZISK,{
case 2:
if (countitem(7511) > 4) {
delitem 7511,5; //Rune_Of_Darkness
- set hg_odin,6; //Old_Blue_Box
+ hg_odin = 6; //Old_Blue_Box
changequest 11000,11002;
getitem 603,1;
mes "[Alex]";
@@ -8215,7 +8209,7 @@ hu_in01,14,11,4 script Laura 1_F_GYPSY,{
mes "and survey the area for your";
mes "own benefit. Talk to the Boatman,^FFFFFF ^000000 and he'll take you there, okay?";
mes "Hurry up and come back soon!";
- set hg_odin,12;
+ hg_odin = 12;
setquest 11003;
close2;
cutin "hu_laura04.bmp",255;
@@ -8330,7 +8324,7 @@ hu_in01,14,11,4 script Laura 1_F_GYPSY,{
mes "RIGHT?!";
next;
select("Yeah, yeah, whatever.:Sure thing.:I s-s-s-suppose...!:Yes, Ma'am!");
- set hg_odin,17;
+ hg_odin = 17;
cutin "hu_laura04.bmp",2;
mes "[Laura]";
mes "Good.";
@@ -8443,7 +8437,7 @@ hu_in01,14,11,4 script Laura 1_F_GYPSY,{
cutin "hu_laura04.bmp",255;
end;
case 3:
- set hg_odin,14;
+ hg_odin = 14;
changequest 11003,11004;
mes "[Laura]";
mes "That's what I've been";
@@ -8505,7 +8499,7 @@ hu_in01,14,11,4 script Laura 1_F_GYPSY,{
case 2:
if (countitem(7511) > 4) {
delitem 7511,5; //Rune_Of_Darkness
- set hg_odin,16;
+ hg_odin = 16;
changequest 11004,11005;
getitem 603,1; //Old_Blue_Box
mes "[Laura]";
@@ -8710,7 +8704,7 @@ hu_in01,14,11,4 script Laura 1_F_GYPSY,{
mes "RIGHT?!";
next;
select("Yeah, yeah, whatever.:Sure thing.:I s-s-s-suppose...!:Yes, Ma'am!");
- set hg_odin,17;
+ hg_odin = 17;
for(.@i = 11002; .@i <= 11005; ++.@i) {
if (questprogress(.@i) && questprogress(.@i) != 2)
completequest .@i;
@@ -8761,7 +8755,6 @@ hu_in01,14,11,4 script Laura 1_F_GYPSY,{
mes "finish their guardian research?";
mes "What else did you learn?";
next;
-
case 2:
mes "["+strcharinfo(0)+"]";
mes "Well, have you";
@@ -8785,7 +8778,6 @@ hu_in01,14,11,4 script Laura 1_F_GYPSY,{
mes "Um, really...";
next;
break;
-
case 2:
mes "["+strcharinfo(0)+"]";
mes "Er, you see...";
@@ -8793,7 +8785,6 @@ hu_in01,14,11,4 script Laura 1_F_GYPSY,{
mes "about Ymir's Heart...";
next;
break;
-
case 3:
mes "["+strcharinfo(0)+"]";
mes "You know the expression,";
@@ -8801,7 +8792,6 @@ hu_in01,14,11,4 script Laura 1_F_GYPSY,{
mes "is?'' Er, well, Ymir's Heart...";
next;
break;
-
case 4:
mes "["+strcharinfo(0)+"]";
mes "The truth is,";
@@ -8843,7 +8833,7 @@ hu_in01,14,11,4 script Laura 1_F_GYPSY,{
mes "I investigate the Schwaltzvalt";
mes "Research Team. I'm sorry, but";
mes "you're the only one I can ask.";
- set hg_odin,20;
+ hg_odin = 20;
changequest 11006,11007;
close2;
cutin "hu_laura04.bmp",255;
@@ -8956,7 +8946,7 @@ OnTouch:
mes "[Ashe]";
mes "......?";
next;
- set hg_odin,19;
+ hg_odin = 19;
mes "[Ashe]";
mes "......";
mes ".........";
@@ -8975,7 +8965,6 @@ hu_in01,16,20,4 script Ashe 4_F_SISTER,{
mes "this area. Have you come to";
mes "assist in the expedition?";
close;
-
case 1:
mes "[Ashe]";
mes "Oh, you've here in response";
@@ -9007,7 +8996,6 @@ hu_in01,16,20,4 script Ashe 4_F_SISTER,{
mes "secrets of the past, then";
mes "please speak to Ms. Laurence.";
close;
-
case 2:
case 12:
mes "[Ashe]";
@@ -9015,7 +9003,6 @@ hu_in01,16,20,4 script Ashe 4_F_SISTER,{
mes "Odin Shrine? Good luck,";
mes "and be careful, alright?";
close;
-
case 3:
case 13:
mes "[Ashe]";
@@ -9025,7 +9012,6 @@ hu_in01,16,20,4 script Ashe 4_F_SISTER,{
mes "your talent can be";
mes "a really big help to us!";
close;
-
case 4:
mes "[Ashe]";
mes "Hm? You've decided to";
@@ -9035,7 +9021,6 @@ hu_in01,16,20,4 script Ashe 4_F_SISTER,{
mes "upset by that. Well, it's fine";
mes "with me. I don't really care.";
close;
-
case 5:
mes "[Ashe]";
mes "How's the work coming";
@@ -9045,7 +9030,6 @@ hu_in01,16,20,4 script Ashe 4_F_SISTER,{
mes "that one person's victory";
mes "in research is victory for all.";
close;
-
case 6:
mes "[Ashe]";
mes "How's the work coming";
@@ -9055,13 +9039,11 @@ hu_in01,16,20,4 script Ashe 4_F_SISTER,{
mes "that one person's victory";
mes "in research is victory for all.";
close;
-
case 14:
mes "[Ashe]";
mes "Please keep up";
mes "the good work~";
close;
-
case 15:
if (countitem(7511) > 4)
{
@@ -9077,7 +9059,6 @@ hu_in01,16,20,4 script Ashe 4_F_SISTER,{
mes "look very well. Did";
mes "something happen?";
close;
-
case 16:
mes "[Ashe]";
mes "I know that Ms. Laurence";
@@ -9087,7 +9068,6 @@ hu_in01,16,20,4 script Ashe 4_F_SISTER,{
mes "work. Thank you so much for";
mes "all of your efforts~";
close;
-
case 17:
mes "[Ashe]";
mes "Why does Ms. Laurence";
@@ -9095,14 +9075,12 @@ hu_in01,16,20,4 script Ashe 4_F_SISTER,{
mes "I honestly think this";
mes "rivalry is awfully petty...";
close;
-
case 19:
mes "[Ashe]";
mes "Ehm...";
mes "Don't worry";
mes "about it~";
close;
-
case 20:
mes "[Ashe]";
mes "Please don't ask";
@@ -9268,7 +9246,7 @@ hu_in01,159,84,3 script Laura#2 1_F_GYPSY,{
mes "Yeah, this is none";
mes "of your business!";
next;
- set hg_odin,25;
+ hg_odin = 25;
mes "[Ashe]";
mes "Oh... Oh, dear!";
close2;
@@ -9321,7 +9299,7 @@ hu_in01,162,85,4 script Ashe#2 4_F_SISTER,{
mes "ever see each other, so thank";
mes "you for all your help, friend.";
next;
- set hg_odin,59;
+ hg_odin = 59;
changequest 11007,11008;
mes "[Ashe]";
mes "Don't worry, my comrade";
@@ -9362,7 +9340,7 @@ OnTouch:
mes "ever see each other, so thank";
mes "you for all your help, friend.";
next;
- set hg_odin,59;
+ hg_odin = 59;
mes "[Ashe]";
mes "Don't worry, my comrade";
mes "at Morroc's South Gate will";
@@ -9440,7 +9418,6 @@ OnTouch:
mes "members of ''Secret Wing.''";
next;
break;
-
case 2:
mes "[???]";
mes "She'll be fine. If you're that";
@@ -9481,7 +9458,7 @@ OnTouch:
mes "that archaeologist, Laura.";
next;
getexp (checkre(3))?100000:700000,0;
- set hg_odin,60;
+ hg_odin = 60;
completequest 11008;
mes "[???]";
mes "...Thanks for";
@@ -9508,7 +9485,6 @@ hugel,209,109,2 script Boatman#hugel 4_M_SEAMAN,{
mes "to return and just";
mes "let me know.";
close;
-
case 2:
if (Zeny < 800)
{
@@ -9527,10 +9503,10 @@ hugel,209,109,2 script Boatman#hugel 4_M_SEAMAN,{
mes "the Odin Shrine soon~";
close2;
Zeny -= 800;
- if (hg_odin == 2) set hg_odin,3;
- else if (hg_odin == 4) set hg_odin,5;
- else if (hg_odin == 12) set hg_odin,13;
- else if (hg_odin == 14) set hg_odin,15;
+ if (hg_odin == 2) hg_odin = 3;
+ else if (hg_odin == 4) hg_odin = 5;
+ else if (hg_odin == 12) hg_odin = 13;
+ else if (hg_odin == 14) hg_odin = 15;
warp "odin_tem01",100,146;
end;
}
@@ -9551,7 +9527,6 @@ odin_tem01,93,146,4 script Boatman 4_M_SEAMAN,{
mes "when you're ready to";
mes "leave this dangerous place.";
close;
-
case 2:
mes "[Boatman]";
mes "Alright then,";
@@ -9616,7 +9591,7 @@ OnTouch:
break;
}
disablenpc "warpinside#1";
- set hg_odin,21;
+ hg_odin = 21;
warp "que_hugel",36,179;
end;
}
@@ -9648,7 +9623,7 @@ OnTouch:
break;
}
disablenpc "warpinside#2";
- set hg_odin,21;
+ hg_odin = 21;
warp "que_hugel",36,179;
end;
}
@@ -9680,7 +9655,7 @@ OnTouch:
break;
}
disablenpc "warpinside#3";
- set hg_odin,21;
+ hg_odin = 21;
warp "que_hugel",36,179;
end;
}
@@ -9712,7 +9687,7 @@ OnTouch:
break;
}
disablenpc "warpinside#4";
- set hg_odin,21;
+ hg_odin = 21;
warp "que_hugel",36,179;
end;
}
@@ -9744,7 +9719,7 @@ OnTouch:
break;
}
disablenpc "warpinside#5";
- set hg_odin,21;
+ hg_odin = 21;
warp "que_hugel",36,179;
end;
}
@@ -9806,7 +9781,7 @@ OnTouch:
mes "["+strcharinfo(0)+"]";
mes "Wa...waaaahhhh!";
close2;
- set hg_odin,22;
+ hg_odin = 22;
warp "que_hugel",163,31;
end;
}
@@ -9841,7 +9816,7 @@ OnTouch:
mes "["+strcharinfo(0)+"]";
mes "Waaaaahhhh!";
close2;
- set hg_odin,23;
+ hg_odin = 23;
warp "odin_tem03",264,260;
end;
}
@@ -9922,7 +9897,7 @@ OnTouch:
mes "...............................";
mes "Wait... You hear that?";
next;
- set hg_odin,18;
+ hg_odin = 18;
mes "[Alex]";
mes "We'll continue this";
mes "conversation later.";
diff --git a/npc/quests/quests_izlude.txt b/npc/quests/quests_izlude.txt
index 3b20a85bf..e7fa7ac3f 100644
--- a/npc/quests/quests_izlude.txt
+++ b/npc/quests/quests_izlude.txt
@@ -69,7 +69,7 @@
mes "Fine fine. Me, being the captain of a ship, can afford to bring you there at a lower price. How does 250 Zeny sound?";
next;
if (select("Alrighty~!:Bah, what a rip off!!") == 1) {
- set MISC_QUEST,MISC_QUEST | 16;
+ MISC_QUEST |= 16;
if (Zeny < 250) {
mes "[Edgar]";
mes "Um...";
diff --git a/npc/quests/quests_juperos.txt b/npc/quests/quests_juperos.txt
index e842882fe..e2a28024c 100644
--- a/npc/quests/quests_juperos.txt
+++ b/npc/quests/quests_juperos.txt
@@ -143,7 +143,7 @@ yuno_in04,190,125,4 script Scholar 8_F_GIRL,{
mes "service of his royal majesty,";
mes "the wise and benevolent";
mes "King Tristram III.";
- set yuno_hist,2;
+ yuno_hist = 2;
next;
mes "[Fayruz]";
mes "Well, "+strcharinfo(0)+",";
@@ -246,7 +246,7 @@ yuno_in04,190,125,4 script Scholar 8_F_GIRL,{
mes "''You will see him, the one";
mes "who was vain and extravagant,";
mes "with your own eyes at the place where the light passes through.";
- set yuno_hist,4;
+ yuno_hist = 4;
next;
mes "[Fayruz]";
mes "Ah, usually, descriptions";
@@ -407,7 +407,7 @@ yuno_in04,190,125,4 script Scholar 8_F_GIRL,{
mes "last time is really helping me";
mes "in my research. If you get the";
mes "chance, please bring me more!";
- set yuno_hist,7;
+ yuno_hist = 7;
next;
mes "[Fayruz]";
mes "This new data is adding";
@@ -458,7 +458,7 @@ yuno_in04,190,125,4 script Scholar 8_F_GIRL,{
mes "Alright. Okay. Yes.";
mes "Yes! Of course, how";
mes "could I not see it before!";
- set yuno_hist,9;
+ yuno_hist = 9;
next;
mes "[Fayruz]";
mes "I'll be with you";
@@ -576,8 +576,8 @@ function script Func_JupHist {
mes "and you awaken from the trance,";
mes "gently brought back to reality.^000000";
delitem getarg(0),1;
- set yuno_hist,5;
- set jupe_hist,getarg(1);
+ yuno_hist = 5;
+ jupe_hist = getarg(1);
getexp (checkre(3))?10000:100000,0;
next;
mes "[Fayruz]";
@@ -640,20 +640,20 @@ function script Func_JupHist {
mes "mankind that can't be ignored.";
if (countitem(getarg(0))) {
delitem getarg(0),1;
- if (getarg(0) == 7352) set jupe_hist,jupe_hist +1;
- else set jupe_hist,jupe_hist +2;
+ if (getarg(0) == 7352) jupe_hist += 1;
+ else jupe_hist += 2;
}
else if (countitem(getarg(1))) {
delitem getarg(1),1;
- if (getarg(1) == 7353) set jupe_hist,jupe_hist +2;
- else set jupe_hist,jupe_hist +4;
+ if (getarg(1) == 7353) jupe_hist += 2;
+ else jupe_hist += 4;
}
else {
delitem getarg(2),1;
- if (getarg(2) == 7354) set jupe_hist,jupe_hist +4;
- else set jupe_hist,jupe_hist +8;
+ if (getarg(2) == 7354) jupe_hist += 4;
+ else jupe_hist += 8;
}
- set yuno_hist,6;
+ yuno_hist = 6;
getexp (checkre(3))?10000:100000,0;
next;
mes "[Fayruz]";
@@ -767,17 +767,17 @@ function script Func_JupHist {
mes "like the strange and grotesque.";
if (countitem(getarg(0))) {
delitem getarg(0),1;
- if (getarg(0) == 7352) set jupe_hist,jupe_hist +1;
- else if (getarg(0) == 7353) set jupe_hist,jupe_hist +2;
- else set jupe_hist,jupe_hist +4;
+ if (getarg(0) == 7352) jupe_hist += 1;
+ else if (getarg(0) == 7353) jupe_hist += 2;
+ else jupe_hist += 4;
}
else if (countitem(getarg(1))) {
delitem getarg(1),1;
- if (getarg(1) == 7353) set jupe_hist,jupe_hist +2;
- else if (getarg(1) == 7354) set jupe_hist,jupe_hist +4;
- else set jupe_hist,jupe_hist +8;
+ if (getarg(1) == 7353) jupe_hist += 2;
+ else if (getarg(1) == 7354) jupe_hist += 4;
+ else jupe_hist += 8;
}
- set yuno_hist,8;
+ yuno_hist = 8;
getexp (checkre(3))?10000:100000,0;
next;
mes "[Fayruz]";
@@ -869,11 +869,11 @@ function script Func_JupHist {
mes "feeling of indefatigable";
mes "hope and inspiration...";
mes "You can make it if you try!^000000";
- if (getarg(0) == 7352) set jupe_hist,jupe_hist+1;
- else if (getarg(0) == 7353) set jupe_hist,jupe_hist+2;
- else if (getarg(0) == 7354) set jupe_hist,jupe_hist+4;
- else set jupe_hist,jupe_hist+8;
- set yuno_hist,10;
+ if (getarg(0) == 7352) jupe_hist += 1;
+ else if (getarg(0) == 7353) jupe_hist += 2;
+ else if (getarg(0) == 7354) jupe_hist += 4;
+ else jupe_hist += 8;
+ yuno_hist = 10;
delitem getarg(0),1;
getexp (checkre(3))?10000:100000,0;
next;
@@ -1134,7 +1134,7 @@ yuno_in04,186,125,4 script Bundle of Files HIDDEN_NPC,{
mes "may be able to learn much";
mes "from that ancient city's ruins.";
mes "..................^000000";
- if (!yuno_hist) set yuno_hist,1;
+ if (!yuno_hist) yuno_hist = 1;
next;
mes "["+strcharinfo(0)+"]";
mes "This...";
@@ -1296,7 +1296,7 @@ juperos_01,99,112,4 script Bronze Statue#1 CLEAR_NPC,{
mes "Okay, I guess I'll go back";
mes "to the Juno Library and";
mes "tell her what I found.";
- set yuno_hist,3;
+ yuno_hist = 3;
close;
}
mes "["+strcharinfo(0)+"]";
@@ -1706,7 +1706,7 @@ OnEnable:
end;
OnTimer5000:
- set .MyMobs,3;
+ .MyMobs = 3;
monster "juperos_02",24,275,"1st Gate Switch",1674,1,"3F Gate Switch#jupe::OnMyMobDead";
monster "juperos_02",240,29,"2nd Gate Switch",1674,1,"3F Gate Switch#jupe::OnMyMobDead";
monster "juperos_02",282,183,"3rd Gate Switch",1674,1,"3F Gate Switch#jupe::OnMyMobDead";
@@ -1714,7 +1714,7 @@ OnTimer5000:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs == 2)
mapannounce "juperos_02","Who are you to come here?",bc_map,"0xFF0000";
else if (.MyMobs == 1)
@@ -1954,7 +1954,7 @@ OnTouch:
donpcevent "Red Alarm On#1-1::OnEnable";
disablenpc "Red Alarm#1-1";
donpcevent "#hole#1-1::OnStop_Timer";
- set $@JupreArea1InUse,1;
+ $@JupreArea1InUse = 1;
disablenpc "#hole#1-1";
end;
}
@@ -2009,7 +2009,7 @@ OnDisable:
OnEnable:
enablenpc "Monster1#1-1";
initnpctimer;
- set .MyMobs,8;
+ .MyMobs = 8;
monster "jupe_area1",30,263,"Security Guard",1675,1,"Monster1#1-1::OnMyMobDead";
monster "jupe_area1",30,262,"Security Guard",1669,1,"Monster1#1-1::OnMyMobDead";
monster "jupe_area1",30,261,"Security Guard",1675,1,"Monster1#1-1::OnMyMobDead";
@@ -2022,7 +2022,7 @@ OnEnable:
OnTimer300000:
mapannounce "jupe_area1","Do you realize this is a hallucination?",bc_map,"0xFF0000";
- set $@JupreArea1InUse,0;
+ $@JupreArea1InUse = 0;
end;
OnTimer300002:
@@ -2032,7 +2032,7 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
donpcevent "Monster2#1-1::OnEnable";
disablenpc "Monster1#1-1";
@@ -2070,7 +2070,7 @@ OnTimer7000:
mapannounce "jupe_area1","Just how strong you are!",bc_map,"0xFF0000";
soundeffectall "jupe_warning.wav",0,"jupe_area1";
soundeffectall "jupe_warning.wav",0,"jupe_area1";
- set .MyMobs,8;
+ .MyMobs = 8;
monster "jupe_area1",30,238,"Security Guard",1675,1,"Monster2#1-1::OnMyMobDead";
monster "jupe_area1",31,238,"Security Guard",1669,1,"Monster2#1-1::OnMyMobDead";
monster "jupe_area1",32,238,"Security Guard",1675,1,"Monster2#1-1::OnMyMobDead";
@@ -2083,7 +2083,7 @@ OnTimer7000:
OnTimer300000:
mapannounce "jupe_area1","Bwahaha! You're only good at running away!",bc_map,"0xFF0000";
- set $@JupreArea1InUse,0;
+ $@JupreArea1InUse = 0;
end;
OnTimer300002:
@@ -2093,12 +2093,12 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
mapannounce "jupe_area1","Zzzzt. Zzzzt..... ",bc_map,"0xFF0000";
disablenpc "Monster2#1-1";
enablenpc "#hole#1-1";
- set $@JupreArea1InUse,0;
+ $@JupreArea1InUse = 0;
stopnpctimer;
}
end;
@@ -2244,7 +2244,7 @@ OnInit:
end;
OnTouch:
- set $@JupreArea1InUse,1;
+ $@JupreArea1InUse = 1;
donpcevent "Red Alarm On#1-2::OnEnable";
disablenpc "Red Alarm#1-2";
disablenpc "#hole#1-2";
@@ -2297,7 +2297,7 @@ OnDisable:
OnEnable:
initnpctimer;
enablenpc "Monster1#1-2";
- set .MyMobs,8;
+ .MyMobs = 8;
monster "jupe_area1",30,176,"High Guard",1669,1,"Monster1#1-2::OnMyMobDead";
monster "jupe_area1",31,176,"High Guard",1675,1,"Monster1#1-2::OnMyMobDead";
monster "jupe_area1",32,176,"High Guard",1669,1,"Monster1#1-2::OnMyMobDead";
@@ -2310,7 +2310,7 @@ OnEnable:
OnTimer300000:
mapannounce "jupe_area1","I can't believe how cowardly you really are...",bc_map,"0xFF0000";
- set $@JupreArea1InUse,0;
+ $@JupreArea1InUse = 0;
end;
OnTimer300002:
@@ -2320,7 +2320,7 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
donpcevent "Monster2#1-2::OnEnable";
disablenpc "Monster1#1-2";
@@ -2354,7 +2354,7 @@ OnTimer4000:
OnTimer6000:
mapannounce "jupe_area1","I was called Vesper Newton. Hahah, they called me a mad man back then.",bc_map,"0xFF0000";
- set .MyMobs,13;
+ .MyMobs = 13;
monster "jupe_area1",30,152,"Security Guard",1669,1,"Monster2#1-2::OnMyMobDead";
monster "jupe_area1",31,152,"Security Guard",1675,1,"Monster2#1-2::OnMyMobDead";
monster "jupe_area1",32,152,"Security Guard",1669,1,"Monster2#1-2::OnMyMobDead";
@@ -2372,7 +2372,7 @@ OnTimer6000:
OnTimer300000:
mapannounce "jupe_area1","...Not yet.",bc_map,"0xFF0000";
- set $@JupreArea1InUse,0;
+ $@JupreArea1InUse = 0;
end;
OnTimer300002:
@@ -2382,12 +2382,12 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
mapannounce "jupe_area1","Not yet!",bc_map,"0xFF0000";
disablenpc "Monster2#1-2";
enablenpc "#hole#1-2";
- set $@JupreArea1InUse,0;
+ $@JupreArea1InUse = 0;
stopnpctimer;
}
end;
@@ -2531,7 +2531,7 @@ OnInit:
end;
OnTouch:
- set $@JupreArea1InUse,1;
+ $@JupreArea1InUse = 1;
donpcevent "Red Alarm On#1-3::OnEnable";
disablenpc "Red Alarm#1-3";
disablenpc "#hole#1-3";
@@ -2584,7 +2584,7 @@ OnDisable:
OnEnable:
initnpctimer;
enablenpc "Monster1#1-3";
- set .MyMobs,8;
+ .MyMobs = 8;
monster "jupe_area1",30,89,"Security Guard",1675,1,"Monster1#1-3::OnMyMobDead";
monster "jupe_area1",31,89,"Security Guard",1669,1,"Monster1#1-3::OnMyMobDead";
monster "jupe_area1",32,89,"Security Guard",1675,1,"Monster1#1-3::OnMyMobDead";
@@ -2597,7 +2597,7 @@ OnEnable:
OnTimer300000:
mapannounce "jupe_area1","Zzzzt...Zzzzt....",bc_map,"0xFF0000";
- set $@JupreArea1InUse,0;
+ $@JupreArea1InUse = 0;
end;
OnTimer300002:
@@ -2606,7 +2606,7 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
donpcevent "Monster2#1-3::OnEnable";
disablenpc "Monster1#1-3";
@@ -2640,7 +2640,7 @@ OnTimer5000:
OnTimer8000:
mapannounce "jupe_area1","You're wrong! Welcome to Hell!",bc_map,"0xFF0000";
- set .MyMobs,15;
+ .MyMobs = 15;
monster "jupe_area1",42,64,"Security Guard",1669,1,"Monster2#1-3::OnMyMobDead";
monster "jupe_area1",43,64,"Security Guard",1675,1,"Monster2#1-3::OnMyMobDead";
monster "jupe_area1",44,64,"Security Guard",1669,1,"Monster2#1-3::OnMyMobDead";
@@ -2660,7 +2660,7 @@ OnTimer8000:
OnTimer300000:
mapannounce "jupe_area1","Do you still have your courage? Come. Prove it.",bc_map,"0xFF0000";
- set $@JupreArea1InUse,0;
+ $@JupreArea1InUse = 0;
end;
OnTimer300002:
@@ -2670,12 +2670,12 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
mapannounce "jupe_area1","Do you still have your courage? Come. Prove it.",bc_map,"0xFF0000";
disablenpc "Monster2#1-3";
enablenpc "#hole#1-3";
- set $@JupreArea1InUse,0;
+ $@JupreArea1InUse = 0;
stopnpctimer;
}
end;
@@ -2824,7 +2824,7 @@ OnEnable:
end;
OnTouch:
- set $@JupreArea1InUse,1;
+ $@JupreArea1InUse = 1;
donpcevent "Red Alarm On#1-4::OnEnable";
disablenpc "Red Alarm#1-4";
disablenpc "#hole#1-4";
@@ -2877,7 +2877,7 @@ OnDisable:
OnEnable:
initnpctimer;
enablenpc "Monster1#1-4";
- set .MyMobs,8;
+ .MyMobs = 8;
monster "jupe_area1",92,154,"Security Guard",1669,1,"Monster1#1-4::OnMyMobDead";
monster "jupe_area1",96,154,"Security Guard",1675,1,"Monster1#1-4::OnMyMobDead";
monster "jupe_area1",100,154,"Security Guard",1669,1,"Monster1#1-4::OnMyMobDead";
@@ -2890,7 +2890,7 @@ OnEnable:
OnTimer300000:
mapannounce "jupe_area1","Zzzzt...Zzzzt....",bc_map,"0xFF0000";
- set $@JupreArea1InUse,0;
+ $@JupreArea1InUse = 0;
end;
OnTimer300002:
@@ -2900,7 +2900,7 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
donpcevent "Monster2#1-4::OnEnable";
disablenpc "Monster1#1-4";
@@ -2934,7 +2934,7 @@ OnTimer4000:
OnTimer6000:
mapannounce "jupe_area1","I will be waiting for you!",bc_map,"0xFF0000";
- set .MyMobs,10;
+ .MyMobs = 10;
monster "jupe_area1",104,161,"Security Guard",1675,1,"Monster2#1-4::OnMyMobDead";
monster "jupe_area1",108,161,"Security Guard",1669,1,"Monster2#1-4::OnMyMobDead";
monster "jupe_area1",111,161,"Security Guard",1675,1,"Monster2#1-4::OnMyMobDead";
@@ -2948,7 +2948,7 @@ OnTimer6000:
end;
OnTimer300000:
- set $@JupreArea1InUse,0;
+ $@JupreArea1InUse = 0;
mapannounce "jupe_area1","It's funny... Isn't it?",bc_map,"0xFF0000";
end;
@@ -2958,12 +2958,12 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
mapannounce "jupe_area1","It's funny... Isn't it?",bc_map,"0xFF0000";
disablenpc "Monster2#1-4";
enablenpc "#hole#1-4";
- set $@JupreArea1InUse,0;
+ $@JupreArea1InUse = 0;
stopnpctimer;
}
end;
@@ -3163,7 +3163,7 @@ OnTouch:
donpcevent "Red Alarm On#2-1::OnEnable";
disablenpc "Red Alarm#2-1";
donpcevent "#hole#2-1::OnStop_Timer";
- set $@JupreArea2InUse,1;
+ $@JupreArea2InUse = 1;
disablenpc "#hole#2-1";
end;
}
@@ -3218,7 +3218,7 @@ OnDisable:
OnEnable:
enablenpc "Monster1#2-1";
initnpctimer;
- set .MyMobs,8;
+ .MyMobs = 8;
monster "jupe_area2",126,252,"Security Guard",1669,1,"Monster1#2-1::OnMyMobDead";
monster "jupe_area2",127,252,"Security Guard",1675,1,"Monster1#2-1::OnMyMobDead";
monster "jupe_area2",128,252,"Security Guard",1669,1,"Monster1#2-1::OnMyMobDead";
@@ -3231,7 +3231,7 @@ OnEnable:
OnTimer300000:
mapannounce "jupe_area2","Do you realize this is a hallucination?",bc_map,"0xFF0000";
- set $@JupreArea2InUse,0;
+ $@JupreArea2InUse = 0;
end;
OnTimer300002:
@@ -3241,7 +3241,7 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
donpcevent "Monster2#2-1::OnEnable";
disablenpc "Monster1#2-1";
@@ -3279,7 +3279,7 @@ OnTimer7000:
mapannounce "jupe_area2","Just how strong you are!",bc_map,"0xFF0000";
soundeffectall "jupe_warning.wav",0,"jupe_area2";
soundeffectall "jupe_warning.wav",0,"jupe_area2";
- set .MyMobs,8;
+ .MyMobs = 8;
monster "jupe_area2",126,236,"Security Guard",1675,1,"Monster2#2-1::OnMyMobDead";
monster "jupe_area2",127,236,"Security Guard",1669,1,"Monster2#2-1::OnMyMobDead";
monster "jupe_area2",128,236,"Security Guard",1675,1,"Monster2#2-1::OnMyMobDead";
@@ -3292,7 +3292,7 @@ OnTimer7000:
OnTimer300000:
mapannounce "jupe_area2","Bwahaha! You're only good at running away!",bc_map,"0xFF0000";
- set $@JupreArea2InUse,0;
+ $@JupreArea2InUse = 0;
end;
OnTimer300002:
@@ -3302,12 +3302,12 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
mapannounce "jupe_area2","Zzzzt. Zzzzt..... ",bc_map,"0xFF0000";
disablenpc "Monster2#2-1";
enablenpc "#hole#2-1";
- set $@JupreArea2InUse,0;
+ $@JupreArea2InUse = 0;
stopnpctimer;
}
end;
@@ -3453,7 +3453,7 @@ OnInit:
end;
OnTouch:
- set $@JupreArea2InUse,1;
+ $@JupreArea2InUse = 1;
donpcevent "Red Alarm On#2-2::OnEnable";
disablenpc "Red Alarm#2-2";
disablenpc "#hole#2-2";
@@ -3506,7 +3506,7 @@ OnDisable:
OnEnable:
initnpctimer;
enablenpc "Monster1#2-2";
- set .MyMobs,8;
+ .MyMobs = 8;
monster "jupe_area2",126,176,"High Guard",1669,1,"Monster1#2-2::OnMyMobDead";
monster "jupe_area2",127,176,"High Guard",1675,1,"Monster1#2-2::OnMyMobDead";
monster "jupe_area2",128,176,"High Guard",1669,1,"Monster1#2-2::OnMyMobDead";
@@ -3519,7 +3519,7 @@ OnEnable:
OnTimer300000:
mapannounce "jupe_area2","I can't believe how cowardly you really are...",bc_map,"0xFF0000";
- set $@JupreArea2InUse,0;
+ $@JupreArea2InUse = 0;
end;
OnTimer300002:
@@ -3529,7 +3529,7 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
donpcevent "Monster2#2-2::OnEnable";
disablenpc "Monster1#2-2";
@@ -3563,7 +3563,7 @@ OnTimer4000:
OnTimer6000:
mapannounce "jupe_area2","I was called Vesper Newton. Hahah, they called me a mad man back then.",bc_map,"0xFF0000";
- set .MyMobs,13;
+ .MyMobs = 13;
monster "jupe_area2",126,156,"Security Guard",1675,1,"Monster2#2-2::OnMyMobDead";
monster "jupe_area2",127,156,"Security Guard",1669,1,"Monster2#2-2::OnMyMobDead";
monster "jupe_area2",128,156,"Security Guard",1675,1,"Monster2#2-2::OnMyMobDead";
@@ -3581,7 +3581,7 @@ OnTimer6000:
OnTimer300000:
mapannounce "jupe_area2","...Not yet.",bc_map,"0xFF0000";
- set $@JupreArea2InUse,0;
+ $@JupreArea2InUse = 0;
end;
OnTimer300002:
@@ -3591,12 +3591,12 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
mapannounce "jupe_area2","Not yet!",bc_map,"0xFF0000";
disablenpc "Monster2#2-2";
enablenpc "#hole#2-2";
- set $@JupreArea2InUse,0;
+ $@JupreArea2InUse = 0;
stopnpctimer;
}
end;
@@ -3740,7 +3740,7 @@ OnInit:
end;
OnTouch:
- set $@JupreArea2InUse,1;
+ $@JupreArea2InUse = 1;
donpcevent "Red Alarm On#2-3::OnEnable";
disablenpc "Red Alarm#2-3";
disablenpc "#hole#2-3";
@@ -3794,7 +3794,7 @@ OnDisable:
OnEnable:
initnpctimer;
enablenpc "Monster1#2-3";
- set .MyMobs,8;
+ .MyMobs = 8;
monster "jupe_area2",126,89,"Security Guard",1675,1,"Monster1#2-3::OnMyMobDead";
monster "jupe_area2",127,89,"Security Guard",1669,1,"Monster1#2-3::OnMyMobDead";
monster "jupe_area2",128,89,"Security Guard",1675,1,"Monster1#2-3::OnMyMobDead";
@@ -3807,7 +3807,7 @@ OnEnable:
OnTimer300000:
mapannounce "jupe_area2","Zzzzt...Zzzzt....",bc_map,"0xFF0000";
- set $@JupreArea2InUse,0;
+ $@JupreArea2InUse = 0;
end;
OnTimer300002:
@@ -3816,7 +3816,7 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
donpcevent "Monster2#2-3::OnEnable";
disablenpc "Monster1#2-3";
@@ -3850,7 +3850,7 @@ OnTimer5000:
OnTimer8000:
mapannounce "jupe_area2","You're wrong! Welcome to Hell!",bc_map,"0xFF0000";
- set .MyMobs,16;
+ .MyMobs = 16;
monster "jupe_area2",114,64,"Security Guard",1675,1,"Monster2#2-3::OnMyMobDead";
monster "jupe_area2",115,64,"Security Guard",1669,1,"Monster2#2-3::OnMyMobDead";
monster "jupe_area2",116,64,"Security Guard",1675,1,"Monster2#2-3::OnMyMobDead";
@@ -3871,7 +3871,7 @@ OnTimer8000:
OnTimer300000:
mapannounce "jupe_area2","Do you still have your courage? Come. Prove it.",bc_map,"0xFF0000";
- set $@JupreArea2InUse,0;
+ $@JupreArea2InUse = 0;
end;
OnTimer300002:
@@ -3881,17 +3881,17 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
mapannounce "jupe_area2","Do you still have your courage? Come. Prove it.",bc_map,"0xFF0000";
disablenpc "Monster2#2-3";
enablenpc "#hole#2-3";
- set $@JupreArea2InUse,0;
+ $@JupreArea2InUse = 0;
stopnpctimer;
}
end;
}
-
+
//============================================================
// Security Checkpoint 2-4
//============================================================
@@ -4035,7 +4035,7 @@ OnEnable:
end;
OnTouch:
- set $@JupreArea2InUse,1;
+ $@JupreArea2InUse = 1;
donpcevent "Red Alarm On#2-4::OnEnable";
disablenpc "Red Alarm#2-4";
disablenpc "#hole#2-4";
@@ -4088,7 +4088,7 @@ OnDisable:
OnEnable:
initnpctimer;
enablenpc "Monster1#2-4";
- set .MyMobs,8;
+ .MyMobs = 8;
monster "jupe_area2",75,161,"Security Guard",1675,1,"Monster1#2-4::OnMyMobDead";
monster "jupe_area2",72,161,"Security Guard",1669,1,"Monster1#2-4::OnMyMobDead";
monster "jupe_area2",71,161,"Security Guard",1675,1,"Monster1#2-4::OnMyMobDead";
@@ -4101,7 +4101,7 @@ OnEnable:
OnTimer300000:
mapannounce "jupe_area2","Zzzzt...Zzzzt....",bc_map,"0xFF0000";
- set $@JupreArea2InUse,0;
+ $@JupreArea2InUse = 0;
end;
OnTimer300002:
@@ -4111,7 +4111,7 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
donpcevent "Monster2#2-4::OnEnable";
disablenpc "Monster1#2-4";
@@ -4145,7 +4145,7 @@ OnTimer4000:
OnTimer6000:
mapannounce "jupe_area2","I will be waiting for you!",bc_map,"0xFF0000";
- set .MyMobs,12;
+ .MyMobs = 12;
monster "jupe_area2",63,161,"Security Guard",1675,1,"Monster2#2-4::OnMyMobDead";
monster "jupe_area2",61,161,"Security Guard",1669,1,"Monster2#2-4::OnMyMobDead";
monster "jupe_area2",59,161,"Security Guard",1675,1,"Monster2#2-4::OnMyMobDead";
@@ -4161,7 +4161,7 @@ OnTimer6000:
end;
OnTimer300000:
- set $@JupreArea2InUse,0;
+ $@JupreArea2InUse = 0;
mapannounce "jupe_area2","It's funny... Isn't it?",bc_map,"0xFF0000";
end;
@@ -4171,12 +4171,12 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
mapannounce "jupe_area2","It's funny... Isn't it?",bc_map,"0xFF0000";
disablenpc "Monster2#2-4";
enablenpc "#hole#2-4";
- set $@JupreArea2InUse,0;
+ $@JupreArea2InUse = 0;
stopnpctimer;
}
end;
@@ -4309,7 +4309,7 @@ jupe_ele_r,51,98,0 script Switch#ufe CLEAR_NPC,{
mes "ground begins to shake";
mes "violently. This isn't normal!^000000";
next;
- set $@JupeElevatorInUse,1;
+ $@JupeElevatorInUse = 1;
disablenpc "Switch#ufe";
enablenpc "Switch On#ufe";
initnpctimer;
@@ -4408,7 +4408,7 @@ OnInit:
end;
OnEnable:
- set .MyMobs,9;
+ .MyMobs = 9;
enablenpc "Elevator Guard1#ufe";
initnpctimer;
end;
@@ -4454,7 +4454,7 @@ OnTimer120000:
enablenpc "Switch#ufe";
disablenpc "Switch On#ufe";
donpcevent "Annihilation#ufe::OnEnable";
- set $@JupeElevatorInUse,0;
+ $@JupeElevatorInUse = 0;
end;
OnTimer120005:
@@ -4463,7 +4463,7 @@ OnTimer120005:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
donpcevent "Elevator Safety#ufe::OnEnable";
stopnpctimer;
@@ -4546,7 +4546,7 @@ OnEnable:
OnTimer1000:
mapwarp "jupe_ele_r", "jupe_ele",42,47;
- set $@JupeElevatorInUse2,0;
+ $@JupeElevatorInUse2 = 0;
donpcevent "TimeOut#ufe::OnEnable";
donpcevent "Guard-1#ufe::OnEnable";
end;
@@ -4577,8 +4577,8 @@ OnTimer59000:
donpcevent "Guard-3#ufe::OnDisable";
donpcevent "Guard-4#ufe::OnDisable";
stopnpctimer;
- set $@JupeElevatorInUse2,0;
- set $@JupeElevatorInUse,0;
+ $@JupeElevatorInUse2 = 0;
+ $@JupeElevatorInUse = 0;
disablenpc "Switch On#ufe";
enablenpc "Switch#ufe";
}
@@ -4626,8 +4626,8 @@ OnTimer142000:
disablenpc "GuardEnd#ufe";
disablenpc "4F Enter#ufe";
donpcevent "TimeOut#ufe::OnDisable";
- set $@JupeElevatorInUse2,0;
- set $@JupeElevatorInUse,0;
+ $@JupeElevatorInUse2 = 0;
+ $@JupeElevatorInUse = 0;
disablenpc "Switch On#ufe";
enablenpc "Switch#ufe";
stopnpctimer;
@@ -4656,7 +4656,7 @@ OnTimer8000:
end;
OnTimer12000:
- set .MyMobs,8;
+ .MyMobs = 8;
monster "jupe_ele",48,44,"Guard",1675,1,"Guard-1#ufe::OnMyMobDead";
monster "jupe_ele",45,42,"Guard",1669,1,"Guard-1#ufe::OnMyMobDead";
monster "jupe_ele",38,42,"Guard",1675,1,"Guard-1#ufe::OnMyMobDead";
@@ -4665,7 +4665,7 @@ OnTimer12000:
monster "jupe_ele",38,53,"Guard",1669,1,"Guard-1#ufe::OnMyMobDead";
monster "jupe_ele",45,53,"Guard",1675,1,"Guard-1#ufe::OnMyMobDead";
monster "jupe_ele",48,51,"Guard",1669,1,"Guard-1#ufe::OnMyMobDead";
- set $@JupeElevatorInUse2,1;
+ $@JupeElevatorInUse2 = 1;
end;
OnTimer30000:
@@ -4676,7 +4676,7 @@ OnTimer30000:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
if ($@JupeElevatorInUse2 == 1) {
donpcevent "Guard-2#ufe::OnEnable";
@@ -4715,7 +4715,7 @@ OnTimer11000:
end;
OnTimer12000:
- set .MyMobs,8;
+ .MyMobs = 8;
monster "jupe_ele",48,44,"Guard",1683,1,"Guard-2#ufe::OnMyMobDead";
monster "jupe_ele",45,42,"Guard",1669,1,"Guard-2#ufe::OnMyMobDead";
monster "jupe_ele",38,42,"Guard",1683,1,"Guard-2#ufe::OnMyMobDead";
@@ -4724,7 +4724,7 @@ OnTimer12000:
monster "jupe_ele",38,53,"Guard",1669,1,"Guard-2#ufe::OnMyMobDead";
monster "jupe_ele",45,53,"Guard",1683,1,"Guard-2#ufe::OnMyMobDead";
monster "jupe_ele",48,51,"Guard",1669,1,"Guard-2#ufe::OnMyMobDead";
- set $@JupeElevatorInUse2,2;
+ $@JupeElevatorInUse2 = 2;
end;
OnTimer30000:
@@ -4735,7 +4735,7 @@ OnTimer30000:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
if ($@JupeElevatorInUse2 == 2) {
donpcevent "Guard-3#ufe::OnEnable";
@@ -4770,7 +4770,7 @@ OnTimer8000:
end;
OnTimer12000:
- set .MyMobs,8;
+ .MyMobs = 8;
monster "jupe_ele",48,44,"Guard",1675,1,"Guard-3#ufe::OnMyMobDead";
monster "jupe_ele",45,42,"Guard",1669,1,"Guard-3#ufe::OnMyMobDead";
monster "jupe_ele",38,42,"Guard",1683,1,"Guard-3#ufe::OnMyMobDead";
@@ -4779,7 +4779,7 @@ OnTimer12000:
monster "jupe_ele",38,53,"Guard",1683,1,"Guard-3#ufe::OnMyMobDead";
monster "jupe_ele",45,53,"Guard",1675,1,"Guard-3#ufe::OnMyMobDead";
monster "jupe_ele",48,51,"Guard",1669,1,"Guard-3#ufe::OnMyMobDead";
- set $@JupeElevatorInUse2,3;
+ $@JupeElevatorInUse2 = 3;
end;
OnTimer30000:
@@ -4790,7 +4790,7 @@ OnTimer30000:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
if ($@JupeElevatorInUse2 == 3) {
donpcevent "Guard-4#ufe::OnEnable";
@@ -4822,7 +4822,7 @@ OnTimer5000:
end;
OnTimer8000:
- set .MyMobs,8;
+ .MyMobs = 8;
monster "jupe_ele",48,44,"Guard",1684,1,"Guard-4#ufe::OnMyMobDead";
monster "jupe_ele",45,42,"Guard",1669,1,"Guard-4#ufe::OnMyMobDead";
monster "jupe_ele",38,42,"Guard",1684,1,"Guard-4#ufe::OnMyMobDead";
@@ -4831,11 +4831,11 @@ OnTimer8000:
monster "jupe_ele",38,53,"Guard",1669,1,"Guard-4#ufe::OnMyMobDead";
monster "jupe_ele",45,53,"Guard",1683,1,"Guard-4#ufe::OnMyMobDead";
monster "jupe_ele",48,51,"Guard",1675,1,"Guard-4#ufe::OnMyMobDead";
- set $@JupeElevatorInUse2,4;
+ $@JupeElevatorInUse2 = 4;
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
if (getvariableofnpc(.MyMobs,"Guard-1#ufe") < 1 && getvariableofnpc(.MyMobs,"Guard-2#ufe") < 1 && getvariableofnpc(.MyMobs,"Guard-3#ufe") < 1) {
donpcevent "GuardEnd#ufe::OnEnable";
@@ -4897,8 +4897,8 @@ OnTimer25000:
end;
OnTimer26000:
- set $@JupeElevatorInUse2,0;
- set $@JupeElevatorInUse,0;
+ $@JupeElevatorInUse2 = 0;
+ $@JupeElevatorInUse = 0;
disablenpc "Switch On#ufe";
enablenpc "Switch#ufe";
donpcevent "GuardEnd#ufe::OnDisable";
@@ -5005,20 +5005,20 @@ sec_in02,39,167,0 script Juperos Manager 4_F_OPERATION,{
next;
switch(select("jupe_Area1:jupe_Area2:jupe_ele_r:jupe_ele")) {
case 1:
- set .@loc$,"jupe_Area1";
- set .@var$,"$@JupreArea1InUse";
+ .@loc$ = "jupe_Area1";
+ .@var$ = "$@JupreArea1InUse";
break;
case 2:
- set .@loc$,"jupe_Area2";
- set .@var$,"$@JupreArea2InUse";
+ .@loc$ = "jupe_Area2";
+ .@var$ = "$@JupreArea2InUse";
break;
case 3:
- set .@loc$,"jupe_ele_r";
- set .@var$,"$@JupeElevatorInUse";
+ .@loc$ = "jupe_ele_r";
+ .@var$ = "$@JupeElevatorInUse";
break;
case 4:
- set .@loc$,"jupe_ele";
- set .@var$,"$@JupeElevatorInUse2";
+ .@loc$ = "jupe_ele";
+ .@var$ = "$@JupeElevatorInUse2";
break;
}
mes "[Juperos Manager]";
diff --git a/npc/quests/quests_lighthalzen.txt b/npc/quests/quests_lighthalzen.txt
index 6ed364ed5..9d236e831 100644
--- a/npc/quests/quests_lighthalzen.txt
+++ b/npc/quests/quests_lighthalzen.txt
@@ -37,14 +37,14 @@ lighthalzen,1,1,0 script Law Enforcement -1,{
OnEnable:
mapannounce "lighthalzen","Attention, citizens. Our security has been breached and the city is in Gangster Alert status. Please find shelter immediately!",bc_map;
initnpctimer;
- for (set .@i, 0; .@i < 30; set .@i, .@i + 1)
+ for (.@i = 0; .@i < 30; ++.@i)
monster "lighthalzen",0,0,"Gangster",1592,1,"Law Enforcement::OnMyMobDead";
end;
OnTimer220000:
killmonster "lighthalzen","Law Enforcement::OnMyMobDead";
mapannounce "lighthalzen","Attention, citizens. Our law enforcement department has successfully contained the situation. Alert status has been canceled.",bc_map;
- set $@Lhz_Gangster_Alert, 0;
+ $@Lhz_Gangster_Alert = 0;
stopnpctimer;
end;
@@ -82,7 +82,7 @@ lighthalzen,267,200,3 script Guard#lhz01 4_M_LGTGUARD,{
mes "around here. But how can";
mes "so many sneak through us?";
donpcevent "Law Enforcement::OnEnable";
- set $@Lhz_Gangster_Alert, 100;
+ $@Lhz_Gangster_Alert = 100;
close;
}
if (gettime(3) >= 22 || gettime(3) < 2) {
@@ -95,7 +95,7 @@ lighthalzen,267,200,3 script Guard#lhz01 4_M_LGTGUARD,{
mes "the perfect opportunity";
mes "to sneak past him.^000000";
close2;
- set $@Lhz_Gangster_Alert, $@Lhz_Gangster_Alert + 1;
+ ++$@Lhz_Gangster_Alert;
warp "lighthalzen",303,229;
end;
}
@@ -104,7 +104,7 @@ lighthalzen,267,200,3 script Guard#lhz01 4_M_LGTGUARD,{
mes "and is looking elsewhere. Now's";
mes "your chance to sneak past him!^000000";
close2;
- set $@Lhz_Gangster_Alert, $@Lhz_Gangster_Alert + 1;
+ ++$@Lhz_Gangster_Alert;
warp "lighthalzen",303,229;
end;
}
@@ -149,7 +149,7 @@ lighthalzen,294,223,7 script Guard#lhz02 4_M_LGTGUARD,{
mes "around here. But how can";
mes "so many sneak through us?";
donpcevent "Law Enforcement::OnEnable";
- set $@Lhz_Gangster_Alert, 100;
+ $@Lhz_Gangster_Alert = 100;
close;
}
if (gettime(3) >= 22 || gettime(3) < 2) {
@@ -162,7 +162,7 @@ lighthalzen,294,223,7 script Guard#lhz02 4_M_LGTGUARD,{
mes "the perfect opportunity";
mes "to sneak past him.^000000";
close2;
- set $@Lhz_Gangster_Alert, $@Lhz_Gangster_Alert + 1;
+ ++$@Lhz_Gangster_Alert;
warp "lighthalzen",260,199;
end;
}
@@ -171,7 +171,7 @@ lighthalzen,294,223,7 script Guard#lhz02 4_M_LGTGUARD,{
mes "and is looking elsewhere. Now's";
mes "your chance to sneak past him!^000000";
close2;
- set $@Lhz_Gangster_Alert, $@Lhz_Gangster_Alert + 1;
+ ++$@Lhz_Gangster_Alert;
warp "lighthalzen",260,199;
end;
}
@@ -191,8 +191,8 @@ lighthalzen,294,223,7 script Guard#lhz02 4_M_LGTGUARD,{
lighthalzen,341,224,3 script Fishbone 4_M_LGTGUARD,{
// Retain prior position in quest.
if (piciburn) {
- set lhz_sincube,piciburn;
- set piciburn,0;
+ lhz_sincube = piciburn;
+ piciburn = 0;
}
// Quest is finished.
if (MISC_QUEST&512) {
@@ -221,7 +221,7 @@ lighthalzen,341,224,3 script Fishbone 4_M_LGTGUARD,{
mes "Is there something";
mes "on my face? Quit looking";
mes "at me and let me do my work.";
- set lhz_sincube,1;
+ lhz_sincube = 1;
close;
}
else if (lhz_sincube == 1) {
@@ -230,7 +230,7 @@ lighthalzen,341,224,3 script Fishbone 4_M_LGTGUARD,{
mes "You're still looking";
mes "at me. Quit it. I'm busy";
mes "here and you're bothering me.";
- set lhz_sincube,2;
+ lhz_sincube = 2;
close;
}
else if (lhz_sincube == 2) {
@@ -324,7 +324,7 @@ lighthalzen,341,224,3 script Fishbone 4_M_LGTGUARD,{
mes "and just trust anyone who";
mes "wants to know a secret";
mes "route. Now get outta here!";
- set lhz_sincube,3;
+ lhz_sincube = 3;
close;
}
else if (lhz_sincube == 3) {
@@ -340,7 +340,7 @@ lighthalzen,341,224,3 script Fishbone 4_M_LGTGUARD,{
mes "and stop begging, okay?";
mes "You're only embarassing";
mes "yourself! Good grief...";
- set lhz_sincube,4;
+ lhz_sincube = 4;
close;
}
else if (lhz_sincube == 4) {
@@ -414,7 +414,7 @@ lighthalzen,341,224,3 script Fishbone 4_M_LGTGUARD,{
mes "But you gotta have";
mes "exactly 20 Jellopy on";
mes "you, okay? Seeya pal~";
- set lhz_sincube,5;
+ lhz_sincube = 5;
setquest 12014;
close;
}
@@ -469,7 +469,7 @@ lighthalzen,341,224,3 script Fishbone 4_M_LGTGUARD,{
mes "then I'll tell you what you";
mes "really need to know.";
delitem 909,20; //Jellopy
- set lhz_sincube,6;
+ lhz_sincube = 6;
close;
}
mes "[Fishbone]";
@@ -520,7 +520,7 @@ lighthalzen,341,224,3 script Fishbone 4_M_LGTGUARD,{
mes "Okay then,";
mes "here we go!";
close2;
- set lhz_sincube,7;
+ lhz_sincube = 7;
switch(rand(1,3)) {
case 1: warp "lhz_cube",67,193; break;
case 2: warp "lhz_cube",66,136; break;
@@ -560,7 +560,7 @@ lighthalzen,341,224,3 script Fishbone 4_M_LGTGUARD,{
mes "Get ready, 'cuz";
mes "here we go...!";
close2;
- set lhz_sincube,7;
+ lhz_sincube = 7;
switch(rand(1,3)) {
case 1: warp "lhz_cube",67,193; break;
case 2: warp "lhz_cube",66,136; break;
@@ -676,7 +676,7 @@ lhz_cube,237,198,0 script Bundle of Files#cube HIDDEN_NPC,{
mes "drops to the ground";
mes "with a clink. You decide";
mes "to keep this ^000000Red Key^3355FF.^000000";
- set lhz_secret01,1;
+ lhz_secret01 = 1;
}
close;
}
@@ -737,18 +737,18 @@ lhz_cube,234,202,0 script Picture#cube HIDDEN_NPC,{
mes "find that the following";
mes "numbers are written:^000000";
mes " ";
- set .@number_rand,rand(1,3);
+ .@number_rand = rand(1,3);
if (.@number_rand == 1) {
mes "4 3 2 9 1 6 8 2 7";
- set lhz_secret01,3;
+ lhz_secret01 = 3;
}
else if (.@number_rand == 2) {
mes "3 6 4 1 2 8 7 1 5";
- set lhz_secret01,4;
+ lhz_secret01 = 4;
}
else {
mes "4 9 3 7 6 2 8 6 6";
- set lhz_secret01,5;
+ lhz_secret01 = 5;
}
close;
}
@@ -813,7 +813,7 @@ lhz_cube,242,201,0 script Drawer#cube HIDDEN_NPC,{
mes "^000000Jackknife^3355FF that you decide";
mes "to take. After all, it might";
mes "be handy sometime.^000000";
- set lhz_secret01,2;
+ lhz_secret01 = 2;
}
else {
mes "^3355FFUnfortunately, you";
@@ -851,7 +851,7 @@ lhz_cube,248,179,0 script Chest#cube HIDDEN_NPC,{
mes "an ounce of guilt, you";
mes "pick up the utility ^000000Axe^3355FF";
mes "and claim it as your own.^000000";
- set lhz_sincube,8;
+ lhz_sincube = 8;
}
close;
}
@@ -863,7 +863,7 @@ lhz_cube,248,179,0 script Chest#cube HIDDEN_NPC,{
}
lhz_cube,237,183,0 script Barrel#cube HIDDEN_NPC,{
- set number_line,0;
+ number_line = 0;
if (lhz_sincube < 8) {
mes "^3355FFYou have";
mes "found a shabbily";
@@ -894,7 +894,7 @@ lhz_cube,237,183,0 script Barrel#cube HIDDEN_NPC,{
mes "of the metal plate on";
mes "top of the box you found,";
mes "like some kind of keypad...^000000";
- set lhz_sincube,9;
+ lhz_sincube = 9;
}
else {
mes "^3355FFDoing that probably won't";
@@ -911,7 +911,7 @@ lhz_cube,237,183,0 script Barrel#cube HIDDEN_NPC,{
mes "you can only enter single";
mes "digit numbers at one time...^000000";
next;
- for( set $@i, 0; .@i < 9; set .@i, .@i + 1 )
+ for( $@i = 0; .@i < 9; ++.@i )
input .@input;
mes "^3355FFNothing happened...^000000";
close;
@@ -928,16 +928,16 @@ lhz_cube,237,183,0 script Barrel#cube HIDDEN_NPC,{
mes "metal plate on top of the box";
mes "you found inside the keg.^000000";
next;
- for( set $@i, 0; .@i < 9; set .@i, .@i + 1 ) {
+ for( $@i = 0; .@i < 9; ++.@i ) {
input .@input;
- if (.@input == .@numbers[.@i]) set .@number_line,.@number_line+1;
+ if (.@input == .@numbers[.@i]) .@number_line += 1;
}
if (.@number_line == 9) {
mes "^3355FFThe metal plate slides";
mes "open and you find a key";
mes "Key inside the box. You";
mes "to keep this ^000000Yellow Key^3355FF.^000000";
- set lhz_secret01,6;
+ lhz_secret01 = 6;
}
else {
mes "^3355FFNothing happened.";
@@ -994,7 +994,7 @@ lhz_cube,224,192,0 script Power Generator#cube HIDDEN_NPC,{
mes "^3355FFYou notice that the";
mes "^000000Status Light ^3355FFnext to the";
mes "bed has now turned off.^000000";
- set lhz_secret01,7;
+ lhz_secret01 = 7;
}
else {
mes "^3355FFNothing happened.";
@@ -1034,7 +1034,7 @@ lhz_cube,244,201,0 script Status Light#cube HIDDEN_NPC,{
mes "Status Light's bulb";
mes "and discover another key.";
mes "You obtained a ^000000Black Key^3355FF.^000000";
- set lhz_secret01,8;
+ lhz_secret01 = 8;
}
close;
}
@@ -1065,7 +1065,7 @@ lhz_cube,234,200,0 script Desk#cube HIDDEN_NPC,{
mes "that you decide to keep.";
mes "You never know when";
mes "you'll need one of those.^000000";
- set lhz_secret02,1;
+ lhz_secret02 = 1;
}
else {
mes "^3355FFThis is where you";
@@ -1130,7 +1130,7 @@ lhz_cube,234,200,0 script Desk#cube HIDDEN_NPC,{
mes "to the sum of its parts.";
mes "You are now the proud";
mes "bearer of a ^000000Long Stick^3355FF.^000000";
- set lhz_secret02,3;
+ lhz_secret02 = 3;
close;
case 3:
mes "^3355FFThis desk drawer is";
@@ -1200,7 +1200,7 @@ lhz_cube,247,198,0 script Bed#cube HIDDEN_NPC,{
mes "keep. You never know";
mes "when certain, seemingly";
mes "useless objects will save you.^000000";
- set lhz_secret02,2;
+ lhz_secret02 = 2;
}
close;
}
@@ -1229,7 +1229,7 @@ lhz_cube,247,198,0 script Bed#cube HIDDEN_NPC,{
mes "to the sum of its parts.";
mes "You are now the proud";
mes "bearer of a ^000000Long Stick^3355FF.^000000";
- set lhz_secret02,3;
+ lhz_secret02 = 3;
}
close;
}
@@ -1298,7 +1298,7 @@ lhz_cube,247,198,0 script Bed#cube HIDDEN_NPC,{
mes "it under the bed towards you.";
mes "You now possess the ^000000Cube^3355FF";
mes "that was under the bed.^000000";
- set lhz_secret02,4;
+ lhz_secret02 = 4;
}
else {
mes "^3355FFUnfortunately,";
@@ -1344,7 +1344,7 @@ lhz_cube,229,184,0 script Goblet#cube HIDDEN_NPC,{
mes "rid of that rust somehow.";
mes "Perhaps you can dip the key";
mes "in some corrosive chemical?^000000";
- set lhz_secret03,1;
+ lhz_secret03 = 1;
}
close;
}
@@ -1386,7 +1386,7 @@ lhz_cube,231,202,0 script Chemicals#cube HIDDEN_NPC,{
mes "again. Now that it is clean,";
mes "the Rusty Key has become";
mes "a sparkling ^000000Green Key^3355FF.^000000";
- set lhz_secret03,2;
+ lhz_secret03 = 2;
}
else {
mes "^3355FFWhatever you tried to";
@@ -1434,7 +1434,7 @@ lhz_cube,249,191,0 script Cabinet#cube HIDDEN_NPC,{
mes "one of the drawer keyholes.";
mes "You open the drawer and";
mes "obtain a strange ^000000Polygon^3355FF.^000000";
- set lhz_secret03,3;
+ lhz_secret03 = 3;
}
else {
mes "^3355FFWhatever you tried";
@@ -1489,7 +1489,7 @@ lhz_cube,224,197,0 script Experiment Tube#cube HIDDEN_NPC,{
mes "the experiment tube to open";
mes "and reveal an ^000000Oval^3355FF which you";
mes "you choose to take with you.^000000";
- set lhz_secret01,9;
+ lhz_secret01 = 9;
}
else {
mes "^3355FFNothing happened...^000000";
@@ -1528,11 +1528,11 @@ lhz_cube,224,197,0 script Experiment Tube#cube HIDDEN_NPC,{
mes "of winding stairs...^000000";
close2;
//remove variables that are no longer used.
- set lhz_sincube,0;
- set lhz_secret01,0;
- set lhz_secret02,0;
- set lhz_secret03,0;
- set MISC_QUEST,MISC_QUEST|512;
+ lhz_sincube = 0;
+ lhz_secret01 = 0;
+ lhz_secret02 = 0;
+ lhz_secret03 = 0;
+ MISC_QUEST |= 512;
warp "lhz_cube",177,13;
end;
}
@@ -1581,7 +1581,7 @@ lhz_cube,248,193,0 script Box#cube1 HIDDEN_NPC,{
mes "^3355FFYou insert the Oval";
mes "into the Oval shaped";
mes "hole where it fits perfectly.^000000";
- set lhz_secret01,10;
+ lhz_secret01 = 10;
close;
}
mes "^3355FFNothing happened.^000000";
@@ -1607,7 +1607,7 @@ lhz_cube,248,193,0 script Box#cube1 HIDDEN_NPC,{
mes "and it clicks into place.";
mes "Your formal Kindergarten";
mes "training is finally justified.^000000";
- set lhz_secret02,5;
+ lhz_secret02 = 5;
close;
}
mes "^3355FFNothing happened.^000000";
@@ -1637,7 +1637,7 @@ lhz_cube,248,193,0 script Box#cube1 HIDDEN_NPC,{
mes "nondescript Polygonal hole.";
mes "The Polygon fits perfectly,";
mes "almost as if it were destiny.^000000";
- set lhz_secret03,4;
+ lhz_secret03 = 4;
close;
}
mes "^3355FFNothing happened.^000000";
@@ -1670,7 +1670,7 @@ lhz_cube,248,193,0 script Box#cube1 HIDDEN_NPC,{
mes "You pocket this ^000000Laboratory";
mes "Permit^3355FF, knowing that you";
mes "will be needing it later.";
- set lhz_sincube,10;
+ lhz_sincube = 10;
getitem 2657,1; //Lab_Passport
}
close;
@@ -1949,9 +1949,9 @@ OnTouch:
mes "what do you say?";
next;
switch(select("Give me 1.:Give me 2.:Give me 3.:No, I'm fine.")) {
- case 1: set .@number,1; set .@price,15000*1; break;
- case 2: set .@number,2; set .@price,15000*2; break;
- case 3: set .@number,3; set .@price,15000*3; break;
+ case 1: .@number = 1; .@price = 15000*1; break;
+ case 2: .@number = 2; .@price = 15000*2; break;
+ case 3: .@number = 3; .@price = 15000*3; break;
case 4:
mes "[Suspicious Guy]";
mes "Well...";
@@ -2123,7 +2123,7 @@ lhz_in02,201,210,5 script Digotz 4_M_LGTMAN,{
mes "courtesy to a man who";
mes "dearly loved his friends.^000000";
next;
- set friendship,15;
+ friendship = 15;
changequest 12005,12006;
getitem 1201,1; //Knife
close;
@@ -2255,7 +2255,7 @@ lhz_in02,201,210,5 script Digotz 4_M_LGTMAN,{
mes "it's not like that oath really";
mes "means anything now, does it?";
next;
- set friendship,13;
+ friendship = 13;
mes "[Digotz]";
mes "That does it. I'm gonna";
mes "go see that Maku. I don't";
@@ -2331,7 +2331,7 @@ lhz_in02,201,210,5 script Digotz 4_M_LGTMAN,{
mes "mediate if we got into some";
mes "argument. Still, he couldn't";
mes "do anything about Maku now...";
- set friendship,7;
+ friendship = 7;
changequest 12002,12003;
next;
mes "[Digotz]";
@@ -2443,7 +2443,7 @@ lhz_in02,201,210,5 script Digotz 4_M_LGTMAN,{
mes "^FF0000Not to mention an apology!";
mes "^FF0000But who cares what you think?!";
mes "I'm so goddamn happy without you!^000000";
- set friendship,4;
+ friendship = 4;
close;
}
if (friendship == 2) {
@@ -2493,7 +2493,7 @@ lhz_in02,201,210,5 script Digotz 4_M_LGTMAN,{
mes "the fact me and Maku aren't";
mes "pals anymore. You know what?";
mes "Just forget everything I said.";
- set friendship,2;
+ friendship = 2;
changequest 12000,12001;
close;
}
@@ -2694,7 +2694,7 @@ lighthalzen,337,232,3 script Maku 4_M_LGTPOOR,{
cutin "lhz_macu07",255;
next;
delitem 7351,1; //Friend's_Diary
- set friendship,14;
+ friendship = 14;
if (checkre(3)) {
if (BaseLevel > 90) getexp 70000,0;
else if (BaseLevel > 75) getexp 40000,0;
@@ -2784,7 +2784,7 @@ lighthalzen,337,232,3 script Maku 4_M_LGTPOOR,{
mes "of fights. I really miss that";
mes "guy. Still, he ain't around...";
next;
- set friendship,6;
+ friendship = 6;
mes "[Maku]";
mes "Damn those guards!";
mes "If they weren't there,";
@@ -2869,7 +2869,7 @@ lighthalzen,337,232,3 script Maku 4_M_LGTPOOR,{
next;
input .@input$;
if (.@input$ == "I'm so goddamn happy without you!") {
- set friendship,5;
+ friendship = 5;
cutin "lhz_macu06",2;
mes "[Maku]";
mes "That's it.";
@@ -2953,7 +2953,7 @@ lighthalzen,337,232,3 script Maku 4_M_LGTPOOR,{
mes "long time since we hung";
mes "out and he probably hates";
mes "my penniless guts and...";
- set friendship,3;
+ friendship = 3;
changequest 12001,12002;
next;
mes "[Maku]";
@@ -3008,7 +3008,7 @@ lighthalzen,337,232,3 script Maku 4_M_LGTPOOR,{
mes "to someone I just met";
mes "anyway? Sure, we all";
mes "do it, but still...";
- set friendship,1;
+ friendship = 1;
setquest 12000;
next;
mes "[Maku]";
@@ -3062,7 +3062,7 @@ lighthalzen,337,232,3 script Maku 4_M_LGTPOOR,{
mes "to someone I just met";
mes "anyway? Sure, we all";
mes "do it, but still...";
- set friendship,1;
+ friendship = 1;
next;
mes "[Maku]";
mes "Well, when you get";
@@ -3092,7 +3092,7 @@ yuno_in04,107,14,5 script Student 4_M_SAGE_A,{
mes "Still, students like Benkaistein can tune out the whole world";
mes "when they study hard enough...";
next;
- set friendship,8;
+ friendship = 8;
mes "[Joey Choryee]";
mes "Benkaistein...?";
mes "He's in the north part";
@@ -3146,7 +3146,7 @@ yuno_in04,96,106,5 script Passionate Student 4_M_SAGE_A,{
mes "go back and forth between the";
mes "rich and poor areas as my thanks.";
next;
- set friendship,16;
+ friendship = 16;
completequest 12006;
if (checkre(3)) {
if (BaseLevel > 90) getexp 70000,0;
@@ -3197,7 +3197,7 @@ yuno_in04,96,106,5 script Passionate Student 4_M_SAGE_A,{
mes "remind them of all the good";
mes "times we used to share.";
next;
- set friendship,12;
+ friendship = 12;
changequest 12004,12005;
mes "[Benkaistein]";
mes "Anyway, this should at";
@@ -3247,7 +3247,7 @@ yuno_in04,96,106,5 script Passionate Student 4_M_SAGE_A,{
mes "two to make up, but I also need";
mes "to finish this thesis. Let's see... What can I possibly do from here?";
next;
- set friendship,10;
+ friendship = 10;
changequest 12003,12004;
mes "[Benkaistein]";
mes "Oh, I know what I can do!";
@@ -3313,7 +3313,7 @@ yuno_in04,96,106,5 script Passionate Student 4_M_SAGE_A,{
mes "I-I'm trying to study!";
mes "No, wait. Have you been";
mes "calling me all this time?";
- set friendship,9;
+ friendship = 9;
close;
}
mes "[Passionate Student]";
@@ -3341,7 +3341,7 @@ yuno_in04,168,117,3 script Book#lhz HIDDEN_NPC,{
close;
}
if (friendship == 10) {
- set friendship,11;
+ friendship = 11;
getitem 7351,1; //Friend's_Diary
mes "^3355FFThis book is labeled,";
mes "''Benkaistein's Journal";
@@ -3364,11 +3364,11 @@ OnTouch_:
if (countitem(7345) > 0 ) {
if (lhz_curse == 0) {
soundeffect "loli_ruri_stand.wav",0;
- set lhz_curse,1;
+ lhz_curse = 1;
setquest 2086;
}
else if (lhz_curse < 26) {
- set @lhz_ghost,rand(1,5);
+ @lhz_ghost = rand(1,5);
sc_start SC_CURSE,1000,0;
soundeffect "loli_ruri_stand.wav",0;
if (@lhz_ghost == 1) {
@@ -3404,11 +3404,11 @@ OnTouch_:
if (countitem(7345) > 0 ) {
if (lhz_curse == 0) {
soundeffect "tao_gunka_stand.wav",0;
- set lhz_curse,1;
+ lhz_curse = 1;
setquest 2086;
}
else if (lhz_curse < 26) {
- set @lhz_ghost,rand(1,10);
+ @lhz_ghost = rand(1,10);
sc_start SC_CURSE,1000,0;
soundeffect "tao_gunka_stand.wav",0;
if (@lhz_ghost == 1) {
@@ -3444,11 +3444,11 @@ OnTouch_:
if (countitem(7345) > 0 ) {
if (lhz_curse == 0) {
soundeffect "tao_gunka_stand.wav",0;
- set lhz_curse,1;
+ lhz_curse = 1;
setquest 2086;
}
else if (lhz_curse < 26) {
- set @lhz_ghost,rand(1,10);
+ @lhz_ghost = rand(1,10);
sc_start SC_CURSE,1000,0;
soundeffect "tao_gunka_stand.wav",0;
if (@lhz_ghost == 1) {
@@ -3523,7 +3523,7 @@ OnTouch_:
close2;
sc_end SC_BLIND;
sc_start SC_CURSE,5000,0;
- if (!lhz_spi01) set lhz_spi01,1;
+ if (!lhz_spi01) lhz_spi01 = 1;
}
}
end;
@@ -3602,7 +3602,7 @@ OnTouch_:
soundeffect "tao_gunka_stand.wav",0;
sc_end SC_BLIND;
sc_start SC_CURSE,5000,0;
- if (!lhz_spi02) set lhz_spi02,1;
+ if (!lhz_spi02) lhz_spi02 = 1;
}
}
end;
@@ -3648,7 +3648,7 @@ OnTouch_:
soundeffect "loli_ruri_stand.wav",0;
sc_end SC_BLIND;
sc_start SC_CURSE,3000,0;
- if (!lhz_spi03) set lhz_spi03,1;
+ if (!lhz_spi03) lhz_spi03 = 1;
}
}
end;
@@ -3707,7 +3707,7 @@ OnTouch_:
soundeffect "tao_gunka_stand.wav",0;
sc_end SC_BLIND;
sc_start SC_CURSE,5000,0;
- if (!lhz_spi04) set lhz_spi04,1;
+ if (!lhz_spi04) lhz_spi04 = 1;
}
}
end;
@@ -3761,7 +3761,7 @@ OnTouch_:
soundeffect "tao_gunka_stand.wav",0;
sc_end SC_BLIND;
sc_start SC_CURSE,3000,0;
- if (lhz_curse == 6) set lhz_curse,7;
+ if (lhz_curse == 6) lhz_curse = 7;
}
}
end;
@@ -3845,7 +3845,7 @@ OnTouch_:
soundeffect "tao_gunka_stand.wav",0;
sc_end SC_BLIND;
sc_start SC_CURSE,3000,0;
- if (lhz_curse == 11) set lhz_curse,12;
+ if (lhz_curse == 11) lhz_curse = 12;
}
}
end;
@@ -3991,7 +3991,7 @@ lhz_que01,21,31,5 script #li_Varmunt 4_M_SAGE_C,{
mes "...";
mes "......";
mes ".........";
- set lhz_curse,13;
+ lhz_curse = 13;
close2;
warp "lhz_in01",206,129;
end;
@@ -4126,7 +4126,7 @@ lhz_que01,29,24,3 script #li_researcher 4_M_SAGE_A,{
mes "...";
mes "......";
mes ".........";
- set lhz_curse,13;
+ lhz_curse = 13;
close2;
warp "lhz_in01",206,129;
end;
@@ -4297,7 +4297,7 @@ lhz_que01,99,74,5 script #li_Man 1_M_02,{
mes "No matter how hard you try,";
mes "you can't open its clasp to see";
mes "what this pendant contains.^000000";
- set lhz_curse,17;
+ lhz_curse = 17;
changequest 2090,2091;
getitem 7341,1; //Worn_Out_Pendant
close2;
@@ -4443,7 +4443,7 @@ lighthalzen,346,263,3 script Elder#lhz 4_F_EINOLD,{
mes "I hope you can appease";
mes "the wrath of these spirits...";
mes "But as long as you let them guide you, you ought to be safe.";
- set lhz_curse,6;
+ lhz_curse = 6;
changequest 2086,2087;
close;
case 2:
@@ -4500,7 +4500,7 @@ lighthalzen,346,263,3 script Elder#lhz 4_F_EINOLD,{
mes "It won't be long until";
mes "the spirits are consumed";
mes "by their supernatural rage...";
- set lhz_curse,18;
+ lhz_curse = 18;
changequest 2091,2092;
close;
case 2:
@@ -4563,7 +4563,7 @@ lighthalzen,346,263,3 script Elder#lhz 4_F_EINOLD,{
mes "revealing a picture of a happy";
mes "couple. Somehow, the girl in";
mes "the picture, sitting uncomfortably^FFFFFF^3355FF in an old chair, looks familiar...^000000";
- set lhz_curse,19;
+ lhz_curse = 19;
changequest 2092,2093;
delitem 523,5; //Holy_Water
delitem 744,1; //Bunch_Of_Flowers
@@ -4869,7 +4869,7 @@ lhz_in03,32,162,3 script Crippled Girl#li_tre 1_M_INNKEEPER,{
mes "Well...";
mes "This is awkward.";
delitem 7341,1; //Worn_Out_Pendant
- set lhz_curse,24;
+ lhz_curse = 24;
close;
}
else {
@@ -4990,7 +4990,7 @@ lhz_in03,32,162,3 script Crippled Girl#li_tre 1_M_INNKEEPER,{
mes "Sheesh.";
mes "Don't kill the";
mes "messenger.";
- set lhz_curse,20;
+ lhz_curse = 20;
close2;
warp "lighthalzen",322,323;
end;
@@ -5083,7 +5083,7 @@ lhz_in03,32,162,3 script Crippled Girl#li_tre 1_M_INNKEEPER,{
mes "["+strcharinfo(0)+"]";
mes "Yes, I'm sure of that.";
delitem 7341,1; //Worn_Out_Pendant
- set lhz_curse,25;
+ lhz_curse = 25;
close;
case 2:
mes "["+strcharinfo(0)+"]";
@@ -5120,7 +5120,7 @@ lhz_in03,32,162,3 script Crippled Girl#li_tre 1_M_INNKEEPER,{
mes "[Setsu]";
mes "I'll try hard!";
delitem 7341,1; //Worn_Out_Pendant
- set lhz_curse,25;
+ lhz_curse = 25;
close;
}
}
@@ -5161,7 +5161,7 @@ lighthalzen,324,322,0 script #li_door WARPNPC,2,2,{
OnTouch_:
if ((lhz_curse > 19) && (lhz_curse < 23)) {
mes "^3355FFThe door is locked.^000000";
- set lhz_curse,lhz_curse+1;
+ lhz_curse = lhz_curse+1;
close;
}
else if (lhz_curse > 23) {
@@ -5187,7 +5187,7 @@ OnTouch_:
end;
}
-lhz_in03,12,162,0 warp #to_lhz 1,1,lighthalzen,321,322
+lhz_in03,12,162,0 warp #to_lhz 1,1,lighthalzen,321,322
lighthalzen,319,321,0 script #li_bother -1,2,2,{ //3,3
OnTouch_:
@@ -5226,7 +5226,7 @@ OnTouch_:
mes "is tied to the ^FF0000Rekenber";
mes "Corporation^000000 and that";
mes "^FF0000Regenschirm Laboratory^000000.";
- set lhz_curse,26;
+ lhz_curse = 26;
changequest 2093,2094;
if (checkre(3)) {
if (BaseLevel < 70) getexp 30000,30000;
@@ -5326,7 +5326,7 @@ lhz_in01,114,181,5 script Representative#li_01 1_F_LIBRARYGIRL,{
mes "the hallway to the left in";
mes "order to find our Library.";
mes "Thank you and have a nice day.";
- set lhz_curse,8;
+ lhz_curse = 8;
changequest 2087,2088;
close;
}
@@ -5440,8 +5440,8 @@ lhz_in01,27,247,5 script Representative#li_02 1_F_LIBRARYGIRL,{
mes "Regenschirm. It was his work";
mes "in science that enabled the";
mes "Rekenber Corporation to grow into the nation's biggest company.";
- if (lhz_curse == 8) set lhz_curse,9;
- else if (lhz_curse == 9) set lhz_curse,10;
+ if (lhz_curse == 8) lhz_curse = 9;
+ else if (lhz_curse == 9) lhz_curse = 10;
next;
break;
case 2:
@@ -5459,8 +5459,8 @@ lhz_in01,27,247,5 script Representative#li_02 1_F_LIBRARYGIRL,{
mes "you can imagine. Remember";
mes "that Rekenber is the name";
mes "that you can trust.";
- if (lhz_curse == 8) set lhz_curse,9;
- else if (lhz_curse == 9) set lhz_curse,10;
+ if (lhz_curse == 8) lhz_curse = 9;
+ else if (lhz_curse == 9) lhz_curse = 10;
next;
break;
}
@@ -5575,7 +5575,7 @@ lhz_in01,25,251,3 script Rekenber Guidebook#li HIDDEN_NPC,{
mes "by making the ancient power";
mes "of the gods more accessible";
mes "by means of new technologies.";
- if (lhz_curse == 10) set lhz_curse,11;
+ if (lhz_curse == 10) lhz_curse = 11;
next;
mes "..............";
close;
@@ -5604,7 +5604,7 @@ lhz_in01,273,121,1 script Mad Scientist#li 4_LGTSCIENCE,{
mes "I've fired? Get lost, or I'll";
mes "treat you to the pain of";
mes "being eaten alive!";
- set lhz_curse,14;
+ lhz_curse = 14;
close;
}
}
@@ -5632,7 +5632,7 @@ lhz_in01,273,121,1 script Mad Scientist#li 4_LGTSCIENCE,{
mes "thing I must collect. Yes, yes.";
mes "Here's a hint... It's round...";
mes "Shiny... Kids love playing games with them! Oh, I said too much!";
- set lhz_curse,15;
+ lhz_curse = 15;
changequest 2089,2090;
close;
case 2:
@@ -5715,7 +5715,7 @@ lhz_in01,273,121,1 script Mad Scientist#li 4_LGTSCIENCE,{
mes "them. Not that I cause them";
mes "undue suffering or anything...";
next;
- set .@exit,1;
+ .@exit = 1;
break;
}
if (.@exit) break;
@@ -5755,7 +5755,7 @@ lhz_in01,273,121,1 script Mad Scientist#li 4_LGTSCIENCE,{
mes "on schedule. I can't afford";
mes "the leisure of speaking with";
mes "you any longer. Bweh heh heh!";
- set lhz_curse,16;
+ lhz_curse = 16;
close;
}
else {
@@ -5798,7 +5798,7 @@ lhz_in01,286,226,3 script Secretary Slierre#li 4_F_ZONDAGIRL,{
mes "specifically targeted that";
mes "area in order to provide ample";
mes "opportunity for employment.";
- set lhz_curse,27;
+ lhz_curse = 27;
close;
case 2:
mes "[Sueii Slierre]";
@@ -5833,7 +5833,7 @@ lhz_in01,286,226,3 script Secretary Slierre#li 4_F_ZONDAGIRL,{
mes "to assist you if you have";
mes "more inquiries regarding";
mes "the Regenschirm Laboratory.";
- set lhz_curse,28;
+ lhz_curse = 28;
close;
case 2:
mes "[Sueii Slierre]";
@@ -6050,7 +6050,7 @@ lhz_in01,286,226,3 script Secretary Slierre#li 4_F_ZONDAGIRL,{
mes "merits an investigation.";
mes "I'll let you know if we";
mes "find anything significant...";
- set lhz_curse,30;
+ lhz_curse = 30;
close;
}
else {
@@ -6060,7 +6060,7 @@ lhz_in01,286,226,3 script Secretary Slierre#li 4_F_ZONDAGIRL,{
mes "seem to be carrying anything";
mes "that can be construed as proof.";
mes "I suggest you bring something that actually supports your claim.";
- set lhz_curse,29;
+ lhz_curse = 29;
close;
}
break;
@@ -6070,7 +6070,7 @@ lhz_in01,286,226,3 script Secretary Slierre#li 4_F_ZONDAGIRL,{
mes "I'd like to get back on";
mes "task. Please excuse me.";
close2;
- set lhz_curse,30;
+ lhz_curse = 30;
end;
}
break;
@@ -6158,7 +6158,7 @@ lhz_in01,286,226,3 script Secretary Slierre#li 4_F_ZONDAGIRL,{
mes "merits an investigation.";
mes "I'll let you know if we";
mes "find anything significant...";
- set lhz_curse,30;
+ lhz_curse = 30;
close;
}
else {
@@ -6169,14 +6169,14 @@ lhz_in01,286,226,3 script Secretary Slierre#li 4_F_ZONDAGIRL,{
mes "allay my doubts about your";
mes "claim. Now, if you'll excuse";
mes "me, I need to get back on task.";
- set lhz_curse,29;
+ lhz_curse = 29;
close2;
warp "lhz_in01",228,226;
end;
}
}
else if (lhz_curse == 30) {
- set .@li_keka,rand(1,10);
+ .@li_keka = rand(1,10);
if (.@li_keka > 7) {
if (checkweight(1201,1) == 0) {
mes "[Sueii Slierre]";
@@ -6218,7 +6218,7 @@ lhz_in01,286,226,3 script Secretary Slierre#li 4_F_ZONDAGIRL,{
mes "on people! Anyway, please";
mes "accept this as a token of";
mes "our gratitude, adventurer.";
- set lhz_curse,31;
+ lhz_curse = 31;
changequest 2094,2095;
getitem 603,1; //Old_Blue_Box
getitem 12016,10; //Speed_Up_Potion
@@ -6271,7 +6271,7 @@ OnTouch_:
mes "his stacks of well organized";
mes "files remain here in the lab.^000000";
if (lhz_curse == 31) {
- set lhz_curse,32;
+ lhz_curse = 32;
completequest 2095;
}
close;
@@ -6389,7 +6389,7 @@ lighthalzen,179,170,4 script Ordinary Man 4W_M_02,{
mes "Ha ha ha!";
mes "Anyway, I hope you";
mes "have a good day today~";
- set lhz_boss,1;
+ lhz_boss = 1;
close;
}
else if(lhz_boss == 1)
@@ -6453,7 +6453,7 @@ lighthalzen,179,170,4 script Ordinary Man 4W_M_02,{
mes "have mistaken me";
mes "for somebody else!";
mes "Now, if you'll excuse me...";
- set lhz_boss,3;
+ lhz_boss = 3;
next;
mes "^3355FFEven if it wasn't";
mes "Ghalstein that you";
@@ -6533,7 +6533,7 @@ lighthalzen,179,170,4 script Ordinary Man 4W_M_02,{
mes "some time to think";
mes "about how I can best";
mes "handle this situation.";
- set lhz_boss,4;
+ lhz_boss = 4;
close;
case 2:
@@ -6715,7 +6715,7 @@ lighthalzen,179,170,4 script Ordinary Man 4W_M_02,{
mes "I'll give you a moment to";
mes "steady yourself before we";
mes "talk about our mission.";
- set lhz_boss,5;
+ lhz_boss = 5;
close;
}
break;
@@ -6732,7 +6732,6 @@ lighthalzen,179,170,4 script Ordinary Man 4W_M_02,{
{
case 1:
break;
-
case 2:
mes "[Ghalstein]";
mes "Very good.";
@@ -6753,7 +6752,7 @@ lighthalzen,179,170,4 script Ordinary Man 4W_M_02,{
mes "I'll give you a moment to";
mes "steady yourself before we";
mes "talk about our mission.";
- set lhz_boss,5;
+ lhz_boss = 5;
close;
}
@@ -6791,7 +6790,7 @@ lighthalzen,179,170,4 script Ordinary Man 4W_M_02,{
mes "thoughts hazier until it begins";
mes "to feel like your entire mind";
mes "is getting bleached somehow.^000000";
- set lhz_boss,0;
+ lhz_boss = 0;
close2;
warp "lighthalzen",217,313;
end;
@@ -6851,7 +6850,7 @@ lighthalzen,179,170,4 script Ordinary Man 4W_M_02,{
mes "maybe you can find a";
mes "contact who can sneak";
mes "you inside the Laboratory.";
- set lhz_boss,6;
+ lhz_boss = 6;
changequest 12015,12016;
close;
}
@@ -6901,7 +6900,7 @@ lighthalzen,179,170,4 script Ordinary Man 4W_M_02,{
delitem 7346,1; //Pile_Of_Ymir_Heart
delitem 7347,10; //Lab_Staff_Record
delitem 7345,10; //Armlet_Of_Prisoner
- set lhz_boss,8;
+ lhz_boss = 8;
getitem 7348,1; //Indication_Of_Member01
changequest 12016,12017;
close;
@@ -7001,7 +7000,7 @@ lighthalzen,179,170,4 script Ordinary Man 4W_M_02,{
mes "to do so much, but ultimately,";
mes "we weren't able to accomplish";
mes "what we set out to do. Still...";
- set lhz_boss,44;
+ lhz_boss = 44;
getitem 617,1; //Old_Violet_Box
getexp (checkre(3))?180000:1800000,0;
completequest 12028;
@@ -7054,7 +7053,6 @@ OnTouch:
mes "awfully familiar...";
mes "But what do I care?)";
close;
-
case 2:
mes "["+strcharinfo(0)+"]";
mes "(This is too weird.";
@@ -7106,7 +7104,7 @@ OnTouch:
mes "Whoever it belonged";
mes "to is gone! What's";
mes "going on here?^000000";
- set lhz_boss,2;
+ lhz_boss = 2;
setquest 12015;
close;
}
@@ -7186,7 +7184,7 @@ yuno_fild04,165,245,4 script Dismal Guy 4_M_ORIENT02,{
mes "you're the one I've been";
mes "waiting here for. Alright,";
mes "just give me a second...";
- set lhz_boss,9;
+ lhz_boss = 9;
close;
case 2:
@@ -7253,7 +7251,7 @@ yuno_fild04,165,245,4 script Dismal Guy 4_M_ORIENT02,{
mes "bring back any information";
mes "he may have for us. Remember,";
mes "because of his position, you can only see him during certain hours.";
- set lhz_boss,10;
+ lhz_boss = 10;
close;
}
else if(lhz_boss == 10)
@@ -7278,7 +7276,7 @@ yuno_fild04,165,245,4 script Dismal Guy 4_M_ORIENT02,{
mes "you'll only be allowed to see";
mes "him from ^FF00008:00 PM to 11:00 PM^000000,";
mes "and from ^FF000011:00 AM to 2:00PM PST^000000.Good luck on this mission, friend.";
- set lhz_boss,11;
+ lhz_boss = 11;
changequest 12017,12018;
close;
}
@@ -7482,7 +7480,7 @@ yuno_pre,69,20,4 script Secretary#1 4_F_LGTGIRL,{
mes "to trouble you. Thank";
mes "you so much for your help.";
delitem 7342,1;
- set lhz_boss,17;
+ lhz_boss = 17;
close;
}
else if(lhz_boss < 21)
@@ -7510,33 +7508,33 @@ yuno_pre,69,20,4 script Secretary#1 4_F_LGTGIRL,{
else if(hg_tre == 56)
{
mes "[Hes O'Neil]";
- mes "The President has given the order that ";
- mes "nobody is allowed to enter this place.";
- next;
- mes "["+strcharinfo(0)+"]";
- mes "However, you will change your mind after listening to my explanation.";
- next;
- mes "[Hes O'Neil]";
- mes "...............";
- mes "Is it something very important?";
- next;
- mes "["+strcharinfo(0)+"]";
- mes "It is the most important thing.";
- next;
- mes "[Hes O'Neil]";
- mes "Alright then, there you go.";
- mes "(Whisper) I hope you will become his source of strength.";
- close2;
- warp "yuno_pre",113,53;
- end;
+ mes "The President has given the order that ";
+ mes "nobody is allowed to enter this place.";
+ next;
+ mes "["+strcharinfo(0)+"]";
+ mes "However, you will change your mind after listening to my explanation.";
+ next;
+ mes "[Hes O'Neil]";
+ mes "...............";
+ mes "Is it something very important?";
+ next;
+ mes "["+strcharinfo(0)+"]";
+ mes "It is the most important thing.";
+ next;
+ mes "[Hes O'Neil]";
+ mes "Alright then, there you go.";
+ mes "(Whisper) I hope you will become his source of strength.";
+ close2;
+ warp "yuno_pre",113,53;
+ end;
}
else if(hg_tre > 56)
{
mes "[Hes O'Neil]";
mes "The president said that you're welcome to visit him anytime.";
close2;
- warp "yuno_pre",113,53;
- end;
+ warp "yuno_pre",113,53;
+ end;
}
else
{
@@ -7567,7 +7565,7 @@ yuno_pre,95,71,5 script Guard 4_M_EIN_SOLDIER,{
}
else if(lhz_boss == 11 || lhz_boss == 12)
{
- if(lhz_boss == 12) set @visit_pre,rand(1,10);
+ if(lhz_boss == 12) @visit_pre = rand(1,10);
if(@visit_pre == 7)
{
mes "[?????]";
@@ -7610,7 +7608,7 @@ yuno_pre,95,71,5 script Guard 4_M_EIN_SOLDIER,{
mes "[Guard]";
mes "Take care,";
mes "Mr. Keshnaar.";
- set lhz_boss,13;
+ lhz_boss = 13;
disablenpc "A Fine Gentleman";
close;
@@ -7620,7 +7618,7 @@ yuno_pre,95,71,5 script Guard 4_M_EIN_SOLDIER,{
mes "Currently, the president";
mes "is seeing another guest.";
mes "Thank you for your patience.";
- if(lhz_boss == 11) set lhz_boss,12;
+ if(lhz_boss == 11) lhz_boss = 12;
close;
}
else if(lhz_boss == 13)
@@ -7663,7 +7661,7 @@ yuno_pre,95,71,5 script Guard 4_M_EIN_SOLDIER,{
mes "the Rekenber Corporation.";
mes "He often visits the president";
mes "to discuss various issues.";
- set lhz_boss,14;
+ lhz_boss = 14;
close;
}
}
@@ -7851,7 +7849,7 @@ L_Mission:
mes "Alright, give me a second";
mes "to search for this file before";
mes "I explain the mission.";
- set lhz_boss,15;
+ lhz_boss = 15;
close2;
cutin "",255;
end;
@@ -7881,7 +7879,7 @@ L_Mission:
mes "folder to ^FF0000Ms. Hes O'Neil^000000";
mes "for me before you leave.";
mes "Thank you very much.";
- set lhz_boss,16;
+ lhz_boss = 16;
getitem 7342,1; //File01
changequest 12018,12019;
close2;
@@ -7938,7 +7936,7 @@ L_Mission:
mes "say that with pride. L-let";
mes "me check the files a minute...";
delitem 7343,1;
- set lhz_boss,22;
+ lhz_boss = 22;
close2;
cutin "",255;
end;
@@ -7985,8 +7983,8 @@ L_Mission:
mes "to discover Shinokas before";
mes "we can get him to talk.";
changequest 12022,12023;
- if(Shinokas_Quest == 11) set lhz_boss,24;
- else set lhz_boss,23;
+ if(Shinokas_Quest == 11) lhz_boss = 24;
+ else lhz_boss = 23;
close2;
cutin "",255;
end;
@@ -8047,7 +8045,7 @@ L_Mission:
mes "She'll know exactly";
mes "who you are and";
mes "how to help you.";
- set lhz_boss,26;
+ lhz_boss = 26;
completequest 12023;
setquest 12024;
close2;
@@ -8160,7 +8158,7 @@ L_Mission:
mes "new developments in the";
mes "investigation involving";
mes "Shinokas and his secret...";
- set lhz_boss,25;
+ lhz_boss = 25;
close2;
cutin "",255;
end;
@@ -8205,7 +8203,7 @@ L_Mission:
mes "She'll know exactly";
mes "who you are and";
mes "how to help you.";
- set lhz_boss,26;
+ lhz_boss = 26;
completequest 12023;
setquest 12024;
close2;
@@ -8283,7 +8281,7 @@ L_Mission:
mes "received some critically";
mes "important intel to give you.";
delitem 7344,1;
- set lhz_boss,38;
+ lhz_boss = 38;
close2;
cutin "",255;
end;
@@ -8343,7 +8341,7 @@ L_Mission:
mes "know more about how";
mes "all of this happened...";
delitem 7343,1;
- set lhz_boss,40;
+ lhz_boss = 40;
close2;
cutin "",255;
end;
@@ -8375,7 +8373,7 @@ L_Mission:
mes "...Yes, sir.";
mes "Right away.";
next;
- set lhz_boss,42;
+ lhz_boss = 42;
close2;
cutin "",255;
end;
@@ -8480,7 +8478,7 @@ L_Mission:
mes "here too. Go and talk to";
mes "^3355FFGhalstein^000000 again. It's time";
mes "we let you loose, adventurer.";
- set lhz_boss,43;
+ lhz_boss = 43;
completequest 12028;
close2;
cutin "",255;
@@ -8571,7 +8569,7 @@ L_Mission:
mes "[Karl]";
mes "Thank you so much. ";
mes "You can count on me to right what was wrong.";
- set hg_tre,57;
+ hg_tre = 57;
delitem 7342,1; //File01
getexp (checkre(3))?200000:2000000,0;
getitem 617,1;
@@ -8894,7 +8892,7 @@ aldeba_in,155,240,5 script Kafra Employee#l2 4_F_AGENTKAFRA,{
mes "He's seriously wounded,";
mes "so please hurry before";
mes "the enemy can get to him...";
- set lhz_boss,18;
+ lhz_boss = 18;
changequest 12019,12020;
close;
}
@@ -8970,7 +8968,7 @@ aldeba_in,155,240,5 script Kafra Employee#l2 4_F_AGENTKAFRA,{
mes "sacrifice before we can allow ourselves the luxury of mourning";
mes "our loss. Let me read these files first before you deliver them...";
delitem 7343,1;
- set lhz_boss,20;
+ lhz_boss = 20;
close;
}
else if(lhz_boss == 20)
@@ -8982,7 +8980,7 @@ aldeba_in,155,240,5 script Kafra Employee#l2 4_F_AGENTKAFRA,{
mes "whom I am talking about.";
mes "The Secret Wing is counting";
mes "on you, brave adventurer.";
- set lhz_boss,21;
+ lhz_boss = 21;
getitem 7343,1; //File02
changequest 12021,12022;
next;
@@ -9071,7 +9069,7 @@ lhz_fild02,228,214,0 script Wounded Man 4_M_DIEMAN,{
mes "If you came a little later,";
mes "I'd be a goner. H-here,";
mes "t-take this with you...";
- set lhz_boss,19;
+ lhz_boss = 19;
getitem 7343,1; //File02
changequest 12020,12021;
next;
@@ -9095,7 +9093,6 @@ lhz_fild02,228,214,0 script Wounded Man 4_M_DIEMAN,{
mes "Jargeah just passed";
mes "out in a very ugly way.";
close;
-
case 2:
mes "^3355FFAnd so you left the";
mes "wounded man alone. Not";
@@ -9188,7 +9185,7 @@ lhz_fild01,66,219,4 script Mysterious Woman 4_F_AGENTKAFRA,{
mes "He'll explain everything else,";
mes "so be careful and don't let";
mes "them get suspicious of you!";
- set lhz_boss,27;
+ lhz_boss = 27;
changequest 12024,12025;
close2;
disablenpc "Mysterious Woman";
@@ -9227,7 +9224,7 @@ lhz_fild01,66,219,4 script Mysterious Woman 4_F_AGENTKAFRA,{
mes "have to check on the president";
mes "for me first. Plus, this new";
mes "intel needs to be confirmed...";
- set lhz_boss,37;
+ lhz_boss = 37;
close2;
disablenpc "Mysterious Woman";
end;
@@ -9254,7 +9251,7 @@ lhz_fild01,66,219,4 script Mysterious Woman 4_F_AGENTKAFRA,{
mes "you've got to give this";
mes "file to the president as";
mes "quickly as you can. Hurry!";
- set lhz_boss,39;
+ lhz_boss = 39;
getitem 7343,1;
close2;
disablenpc "Mysterious Woman";
@@ -9333,7 +9330,7 @@ lhz_fild01,66,219,4 script Mysterious Woman 4_F_AGENTKAFRA,{
mes "[Esuna]";
mes "For now, this is";
mes "goodbye. Take care...";
- set lhz_boss,41;
+ lhz_boss = 41;
changequest 12027,12028;
close2;
disablenpc "Mysterious Woman";
@@ -9497,7 +9494,7 @@ lhz_in01,285,169,3 script Researcher#2 4_LGTSCIENCE,{
mes "but you'll only be able to";
mes "stick around for 3 minutes";
mes "at a time. The Secret Archive is to the right of this laboratory.";
- set lhz_boss,28;
+ lhz_boss = 28;
getitem 7349,1; //Indication_Of_Member02
changequest 12025,12026;
next;
@@ -9591,7 +9588,7 @@ lhz_in01,285,169,3 script Researcher#2 4_LGTSCIENCE,{
mes "found her last time. She'll";
mes "know that you're coming.";
delitem 7349,1; //Indication_Of_Member02
- set lhz_boss,36;
+ lhz_boss = 36;
changequest 12026,12027;
close;
}
@@ -9615,7 +9612,7 @@ lhz_in01,187,31,0 script #Sneak HIDDEN_NPC,4,3,{
OnTouch:
if((lhz_boss > 27) && (lhz_boss < 35))
{
- set @sneaktime,gettimetick(0) % 100;
+ @sneaktime = gettimetick(0) % 100;
if((@sneaktime > 10 && @sneaktime < 59) || (@sneaktime < -10 && @sneaktime > -59))
{
mes "^3355FFAs you approach";
@@ -9701,7 +9698,7 @@ L_Enter:
mes "will be automatically sent";
mes "outside for security reasons.";
close2;
- set lhz_boss,29;
+ lhz_boss = 29;
donpcevent "Timer_Sneak::OnEnter";
warp "lhz_in01",177,35;
end;
@@ -9721,7 +9718,7 @@ L_Enter:
mes "screech after you input";
mes "the password. You really";
mes "should try to input it again.^000000";
- set @sneakerror,@sneakerror +1;
+ ++@sneakerror;
next;
if(@sneakerror > 2)
{
@@ -9824,7 +9821,7 @@ L_Search:
mes "Kafra Corporation and";
mes "Cool Event Corp are";
mes "located in Arena 3-2.^000000";
- set lhz_boss,30;
+ lhz_boss = 30;
close;
}
else if(@sneaksearch$ == "shinokas")
@@ -9833,7 +9830,7 @@ L_Search:
mes "Documents regarding";
mes "Shinokas are located";
mes "in Arena 1-5.^000000";
- set lhz_boss,31;
+ lhz_boss = 31;
close;
}
else if((@sneaksearch$ == "stein") || (@sneaksearch$ == "STEIN") || (@sneaksearch$ == "S.T.E.I.N"))
@@ -9865,7 +9862,7 @@ L_Search:
mes "more highly classified files";
mes "on Weierstrass, please use";
mes "a higher security archive.^000000";
- set lhz_boss,32;
+ lhz_boss = 32;
close;
}
else if(@sneaksearch$ == "einbroch")
@@ -9874,7 +9871,7 @@ L_Search:
mes "Documents regarding";
mes "Einbroch are stored";
mes "in Area 6-1.^000000";
- set lhz_boss,33;
+ lhz_boss = 33;
close;
}
else if(@sneaksearch$ == "lighthalzen")
@@ -9883,7 +9880,7 @@ L_Search:
mes "Documents regarding";
mes "Lighthalzen are stored";
mes "in Area 3-3.^000000";
- set lhz_boss,34;
+ lhz_boss = 34;
close;
}
else if(@sneaksearch$ == "rekenber")
@@ -10003,7 +10000,7 @@ lhz_in01,184,40,0 script Area 1-5 HIDDEN_NPC,{
mes "of Ymir's Heart. Apparently,";
mes "a beast from Einbroch folk";
mes "lore inhabited the area...^000000";
- set lhz_boss,35;
+ lhz_boss = 35;
getitem 7344,1;
close;
}
@@ -10280,7 +10277,7 @@ lhz_dun02,282,278,0 script Broken Machine HIDDEN_NPC,{
mes "He was probably right";
mes "not to describe it to you.";
mes "Words alone aren't enough...^000000";
- set lhz_boss,7;
+ lhz_boss = 7;
getitem 7346,1;
close;
@@ -10321,10 +10318,10 @@ sec_in02,17,170,4 script boss::lght_boss_admin 1_M_SIGNMONK,{
break;
case 2:
input .@input,0,1000;
- set lght_boss,.@input;
+ lght_boss = .@input;
break;
case 3:
- set Shinokas_Quest,11;
+ Shinokas_Quest = 11;
close;
}
mes " ";
@@ -10499,7 +10496,7 @@ lhz_in01,174,258,3 script Young Man#reken 4_M_LGTGUARD,{
mes "Damn it! Just... Don't come";
mes "back. I can't work like this...";
next;
- set lhz_rekenber,22;
+ lhz_rekenber = 22;
getexp (checkre(3))?55000:550000,0;
completequest 12013;
cutin "lhz_kaz01",2;
@@ -10584,7 +10581,7 @@ lhz_in01,174,258,3 script Young Man#reken 4_M_LGTGUARD,{
mes "that, can't you? Anyway, you";
mes "can handle those thugs, right?";
next;
- set lhz_rekenber,17;
+ lhz_rekenber = 17;
getexp (checkre(3))?45000:450000,0;
cutin "lhz_kaz10",2;
mes "[Kazien]";
@@ -10676,7 +10673,7 @@ lhz_in01,174,258,3 script Young Man#reken 4_M_LGTGUARD,{
mes "another package destined";
mes "for the Rune-Midgarts Kingdom.";
next;
- set lhz_rekenber,12;
+ lhz_rekenber = 12;
changequest 5005,5006;
getexp (checkre(3))?40000:400000,0;
cutin "lhz_kaz03",2;
@@ -10731,7 +10728,7 @@ lhz_in01,174,258,3 script Young Man#reken 4_M_LGTGUARD,{
mes "he asks you to do, come back";
mes "to me for another job, okay?";
next;
- set lhz_rekenber,8;
+ lhz_rekenber = 8;
changequest 12008,12010;
cutin "lhz_kaz01",2;
mes "[Kazien]";
@@ -10756,7 +10753,7 @@ lhz_in01,174,258,3 script Young Man#reken 4_M_LGTGUARD,{
mes "remember at all. Oooh, I hate";
mes "being this busy, I can't focus!";
next;
- set lhz_rekenber,0;
+ lhz_rekenber = 0;
erasequest 12009;
mes "[Kazien]";
mes "Arrgh, this is not good.";
@@ -10852,7 +10849,7 @@ lhz_in01,174,258,3 script Young Man#reken 4_M_LGTGUARD,{
mes "me! How am I supposed";
mes "to trust you now?";
next;
- set lhz_rekenber,7;
+ lhz_rekenber = 7;
cutin "lhz_kaz06",2;
mes "[Kazien]";
mes "Oh... You...";
@@ -10889,7 +10886,7 @@ lhz_in01,174,258,3 script Young Man#reken 4_M_LGTGUARD,{
mes "Laboratory Guard, but";
mes "he wouldn't even let me in.";
next;
- set lhz_rekenber,6;
+ lhz_rekenber = 6;
changequest 12008,12009;
cutin "lhz_kaz10",2;
mes "[Kazien]";
@@ -10975,7 +10972,7 @@ lhz_in01,174,258,3 script Young Man#reken 4_M_LGTGUARD,{
mes "his order^000000. We pride ourselves";
mes "in our clients' confidentiality, so keep it secret, got it?";
next;
- set lhz_rekenber,3;
+ lhz_rekenber = 3;
changequest 12007,12008;
mes "[Kazien]";
mes "I'll just be waiting";
@@ -11043,7 +11040,7 @@ lhz_in01,174,258,3 script Young Man#reken 4_M_LGTGUARD,{
switch( select( "Yes, of course.","Nope, I love giving away secrets." ) )
{
case 1:
- set lhz_rekenber,2;
+ lhz_rekenber = 2;
mes "[Kazien]";
mes "Great, great.";
mes "I guess we can just";
@@ -11106,7 +11103,7 @@ lighthalzen,141,162,3 script Old Man#reken 4_M_03,{
mes "required for some positions.";
next;
if(!lhz_rekenber) {
- set lhz_rekenber,1;
+ lhz_rekenber = 1;
setquest 12007;
}
mes "[Old Man]";
@@ -11162,7 +11159,7 @@ einbroch,55,52,3 script Laboratory Guard#reken 852,{
mes "working here. Anyway,";
mes "I still can't allow you to";
mes "enter the laboratory.";
- set lhz_rekenber,4;
+ lhz_rekenber = 4;
changequest 12008,12010;
close;
@@ -11174,11 +11171,10 @@ einbroch,55,52,3 script Laboratory Guard#reken 852,{
mes "trouble getting past this";
mes "guard. Otherwise, I might";
mes "never finish this job!^000000)";
- set lhz_rekenber,5;
+ lhz_rekenber = 5;
changequest 12008,12010;
close;
}
-
case 2:
mes "[" + strcharinfo(0) + "]";
mes "Whoa, I'm leaving!";
@@ -11187,7 +11183,7 @@ einbroch,55,52,3 script Laboratory Guard#reken 852,{
mes "trouble getting past this";
mes "guard. Otherwise, I might";
mes "never finish this job!^000000)";
- set lhz_rekenber,5;
+ lhz_rekenber = 5;
changequest 12008,12010;
close;
}
@@ -11276,7 +11272,7 @@ airplane_01,96,48,3 script Man#Lyozien 4_M_LGTGUARD,{
mes "idea, then I don't wanna find";
mes "out for myself. Oh, hey...";
next;
- set lhz_rekenber,20;
+ lhz_rekenber = 20;
getitem 504,1; //White_Potion
cutin "lhz_ryo12",2;
mes "[Lyozien]";
@@ -11310,7 +11306,7 @@ airplane_01,96,48,3 script Man#Lyozien 4_M_LGTGUARD,{
mes "let them damage the packages!";
close2;
cutin "",255;
- set lhz_rekenber,19;
+ lhz_rekenber = 19;
donpcevent "#bully2::OnEnter";
donpcevent "Man#Lyozien::OnStop";
end;
@@ -11342,7 +11338,7 @@ airplane_01,96,48,3 script Man#Lyozien 4_M_LGTGUARD,{
mes "boxes, I don't ever wanna";
mes "disappoint him, you know?";
next;
- set lhz_rekenber,18;
+ lhz_rekenber = 18;
cutin "lhz_ryo10",2;
mes "[Lyozien]";
mes "Anyway, that's";
@@ -11384,7 +11380,7 @@ airplane_01,96,48,3 script Man#Lyozien 4_M_LGTGUARD,{
mes "to know. Man, it's good";
mes "that you're working for us.";
mes "Those thugs frighten me...";
- set lhz_rekenber,16;
+ lhz_rekenber = 16;
cutin "lhz_ryo01",2;
mes "[Lyozien]";
mes "Now I feeel much more secure.";
@@ -11433,7 +11429,7 @@ airplane_01,96,48,3 script Man#Lyozien 4_M_LGTGUARD,{
mes "or that the packages must";
mes "be destroyed. Boy, I sure";
mes "am glad that you're here!";
- set lhz_rekenber,14;
+ lhz_rekenber = 14;
close2;
cutin "",255;
end;
@@ -11468,7 +11464,7 @@ airplane_01,96,48,3 script Man#Lyozien 4_M_LGTGUARD,{
mes "sure they don't get them!";
close2;
cutin "",255;
- set lhz_rekenber,13;
+ lhz_rekenber = 13;
donpcevent "Man#Lyozien::OnStop";
donpcevent "#bully1::OnEnter";
end;
@@ -11521,7 +11517,7 @@ airplane_01,96,48,3 script Man#Lyozien 4_M_LGTGUARD,{
mes "sort of situation, right? You";
mes "know, embarassing orders...";
next;
- set lhz_rekenber,11;
+ lhz_rekenber = 11;
changequest 12011,12012;
cutin "lhz_ryo01",2;
mes "[Lyozien]";
@@ -11604,7 +11600,7 @@ airplane_01,96,48,3 script Man#Lyozien 4_M_LGTGUARD,{
mes "to go to Izlude, find Mr. Ahman";
mes "at the Airport, and tell him that his orders have safely arrived.";
next;
- set lhz_rekenber,9;
+ lhz_rekenber = 9;
changequest 12010,12011;
cutin "lhz_ryo11",2;
mes "[Lyozien]";
@@ -11678,7 +11674,7 @@ OnStop:
mes "time to relax on the Airship.";
mes "Oh, and don't worry, I'll";
mes "take care of the packages.";
- set lhz_rekenber,21;
+ lhz_rekenber = 21;
close;
}
else if (lhz_rekenber > 15 && lhz_rekenber < 20)
@@ -11723,7 +11719,7 @@ OnStop:
mes "I had some idea of what";
mes "they were up to, really.";
next;
- set lhz_rekenber,15;
+ lhz_rekenber = 15;
mes "[Ahman]";
mes "For now, you should";
mes "go and report to Lyozien.";
@@ -11809,7 +11805,7 @@ OnStop:
mes "worry about it. Thank you for";
mes "notifying me about the delivery.^FFFFFF ^000000 Now, you should go back and ";
mes "tell Lyozien. Take care now~";
- set lhz_rekenber,10;
+ lhz_rekenber = 10;
changequest 12012,12013;
close;
}
@@ -11827,21 +11823,21 @@ airplane_01,1,1,1 script #bully1 -1,{
OnInit:
disablenpc "#bully1";
end;
-
+
OnEnter:
enablenpc "#bully1";
initnpctimer;
monster "airplane_01",96,53,"Thug",1592,1,"#bully1::OnMyMobDead";
monster "airplane_01",87,47,"Thug",1592,1,"#bully1::OnMyMobDead";
- set .bullymobs,2;
+ .bullymobs = 2;
end;
-
+
OnReset:
killmonster "airplane_01","#bully1::OnMyMobDead";
end;
OnMyMobDead:
- set .bullymobs,.bullymobs -1;
+ --.bullymobs;
if(.bullymobs < 1)
{
mes "[Bully]";
@@ -11856,7 +11852,7 @@ OnMyMobDead:
stopnpctimer;
}
end;
-
+
OnTimer120000:
donpcevent "#bully1::OnReset";
donpcevent "#bully1::OnInit";
@@ -11870,22 +11866,22 @@ airplane_01,2,2,1 script #bully2 -1,{
OnInit:
disablenpc "#bully2";
end;
-
+
OnEnter:
enablenpc "#bully2";
initnpctimer;
monster "airplane_01",96,53,"Thug",1592,1,"#bully2::OnMyMobDead";
monster "airplane_01",87,47,"Thug",1592,1,"#bully2::OnMyMobDead";
monster "airplane_01",97,43,"Thug",1592,1,"#bully2::OnMyMobDead";
- set .bullymobs,3;
+ .bullymobs = 3;
end;
-
+
OnReset:
killmonster "airplane_01","#bully2::OnMyMobDead";
end;
OnMyMobDead:
- set .bullymobs,.bullymobs -1;
+ --.bullymobs;
if(.bullymobs < 1)
{
mes "^3355FFHey-- there's a slit";
@@ -11899,7 +11895,7 @@ OnMyMobDead:
stopnpctimer;
}
end;
-
+
OnTimer120000:
donpcevent "#bully2::OnReset";
donpcevent "#bully2::OnInit";
@@ -11910,7 +11906,7 @@ OnTimer120000:
airplane_01,99,47,3 script #packidentity HIDDEN_WARP_NPC,2,2,{
end;
-
+
OnInit:
disablenpc "#packidentity";
end;
@@ -11961,7 +11957,7 @@ OnTouch:
mes "[Kazien]";
mes "Answer me! Answer me! Answer meee!";
next;
- set lhz_rekenber,23;
+ lhz_rekenber = 23;
cutin "",255;
mes "[" + strcharinfo(0) + "]";
mes ".............Damn it.";
@@ -11997,7 +11993,7 @@ OnTouch:
mes "is world peace if I'm not even";
mes "alive to enjoy it, huh?";
next;
- set lhz_rekenber,23;
+ lhz_rekenber = 23;
cutin "",255;
mes "[" + strcharinfo(0) + "]";
mes "......";
@@ -12014,7 +12010,7 @@ airplane_01,10,10,3 script #LyozienSwitch HIDDEN_NPC,{
mes "Input password.";
mes "Enter 0 to cancel.";
next;
- set .@i, callfunc("F_GM_NPC",1028,0,0,4000);
+ .@i = callfunc("F_GM_NPC",1028,0,0,4000);
if (.@i == -2) {
mes "[Lyozien Switch]";
mes "Incorrect.";
@@ -12033,11 +12029,11 @@ airplane_01,10,10,3 script #LyozienSwitch HIDDEN_NPC,{
next;
switch(select("On:OFF")) {
case 1:
- set .@str$,"activated";
+ .@str$ = "activated";
donpcevent "Man#Lyozien::OnEnable";
break;
case 2:
- set .@str$,"deactivated";
+ .@str$ = "deactivated";
donpcevent "Man#Lyozien::OnDisable";
break;
}
diff --git a/npc/quests/quests_louyang.txt b/npc/quests/quests_louyang.txt
index e15780c5e..789c3b447 100644
--- a/npc/quests/quests_louyang.txt
+++ b/npc/quests/quests_louyang.txt
@@ -60,7 +60,7 @@ OnTouch:
next;
mes "^3131FFYou have failed^000000";
mes "^3131FFto steal the pot.^000000";
- set ch_tre,1;
+ ch_tre = 1;
close;
}
}
@@ -73,7 +73,7 @@ OnTouch:
next;
mes "^3131FFYou have failed^000000";
mes "^3131FFto steal the pot.^000000";
- set ch_tre,1;
+ ch_tre = 1;
close;
}
}
@@ -86,7 +86,7 @@ OnTouch:
next;
mes "^3131FFYou have failed^000000";
mes "^3131FFto steal the pot.^000000";
- set ch_tre,1;
+ ch_tre = 1;
close;
}
}
@@ -104,7 +104,7 @@ OnTouch:
next;
mes "^3131FFYou have failed^000000";
mes "^3131FFto steal the pot.^000000";
- set ch_tre,1;
+ ch_tre = 1;
close;
}
}
@@ -148,7 +148,7 @@ OnTouch:
next;
mes "^3131FFYou have failed^000000";
mes "^3131FFto steal the pot.^000000";
- set ch_tre,1;
+ ch_tre = 1;
close;
}
}
@@ -162,7 +162,7 @@ OnTouch:
next;
mes "^3131FFYou have failed^000000";
mes "^3131FFto steal the pot.^000000";
- set ch_tre,1;
+ ch_tre = 1;
close;
}
}
@@ -176,7 +176,7 @@ OnTouch:
next;
mes "^3131FFYou have failed^000000";
mes "^3131FFto steal the pot.^000000";
- set ch_tre,1;
+ ch_tre = 1;
close;
}
}
@@ -194,7 +194,7 @@ OnTouch:
next;
mes "^3131FFYou have failed^000000";
mes "^3131FFto steal the pot.^000000";
- set ch_tre,1;
+ ch_tre = 1;
close;
}
}
@@ -244,7 +244,7 @@ OnTouch:
next;
mes "^3131FFYou have failed^000000";
mes "^3131FFto steal the pot.^000000";
- set ch_tre,1;
+ ch_tre = 1;
close;
}
}
@@ -258,7 +258,7 @@ OnTouch:
next;
mes "^3131FFYou have failed^000000";
mes "^3131FFto steal the pot.^000000";
- set ch_tre,1;
+ ch_tre = 1;
close;
}
}
@@ -272,7 +272,7 @@ OnTouch:
next;
mes "^3131FFYou have failed^000000";
mes "^3131FFto steal the pot.^000000";
- set ch_tre,1;
+ ch_tre = 1;
close;
}
}
@@ -291,7 +291,7 @@ OnTouch:
next;
mes "^3131FFYou have failed^000000";
mes "^3131FFto steal the pot.^000000";
- set ch_tre,1;
+ ch_tre = 1;
close;
}
}
@@ -377,7 +377,7 @@ OnTouch:
next;
mes "^3131FFYou have failed^000000";
mes "^3131FFto steal the pot.^000000";
- set ch_tre,1;
+ ch_tre = 1;
warp "louyang",280,161;
close;
}
@@ -392,7 +392,7 @@ OnTouch:
next;
mes "^3131FFYou have failed^000000";
mes "^3131FFto steal the pot.^000000";
- set ch_tre,1;
+ ch_tre = 1;
warp "louyang",280,161;
close;
}
@@ -407,7 +407,7 @@ OnTouch:
next;
mes "^3131FFYou have failed^000000";
mes "^3131FFto steal the pot.^000000";
- set ch_tre,1;
+ ch_tre = 1;
warp "louyang",280,161;
close;
}
@@ -426,7 +426,7 @@ OnTouch:
next;
mes "^3131FFYou have failed^000000";
mes "^3131FFto steal the pot.^000000";
- set ch_tre,1;
+ ch_tre = 1;
warp "louyang",280,161;
close;
}
@@ -437,12 +437,12 @@ OnTouch:
lou_fild01,195,177,5 script Jiu Lian Bu#1-1 4_M_CHN8GUEK,{
//Remove outdated variables and attempt to preserve prior quest progress.
- if (QL_ACCEPTSOUP) set ch_tre,1;
- if (QL_GOTDRAGONSOUP) set ch_tre,2;
- if (QL_GOTFAKESOUP) set ch_tre,3;
- if (QL_SOUPQUEST) set ch_tre,4;
- if (QL_SOUP2) set ch_tre,5;
- set QL_ACCEPTSOUP,0; set QL_GOTDRAGONSOUP,0; set QL_GOTFAKESOUP,0; set QL_SOUPQUEST,0; set QL_SOUP2,0;
+ if (QL_ACCEPTSOUP) ch_tre = 1;
+ if (QL_GOTDRAGONSOUP) ch_tre = 2;
+ if (QL_GOTFAKESOUP) ch_tre = 3;
+ if (QL_SOUPQUEST) ch_tre = 4;
+ if (QL_SOUP2) ch_tre = 5;
+ QL_ACCEPTSOUP = 0; QL_GOTDRAGONSOUP = 0; QL_GOTFAKESOUP = 0; QL_SOUPQUEST = 0; QL_SOUP2 = 0;
if (ch_tre == 0) {
mes "[Jiu Lian Bu]";
@@ -512,7 +512,7 @@ lou_fild01,195,177,5 script Jiu Lian Bu#1-1 4_M_CHN8GUEK,{
next;
mes "[Jiu Lian Bu]";
mes "When you finally steal the broth, make sure you bring it without spilling any. Okay? Good luck~";
- set ch_tre,1;
+ ch_tre = 1;
close;
}
mes "[Jiu Lian Bu]";
@@ -551,7 +551,7 @@ lou_fild01,195,177,5 script Jiu Lian Bu#1-1 4_M_CHN8GUEK,{
mes "Ohhhh man....";
mes "This is soooo not Dragon Soup Broth. Sorry, but would you go";
mes "and try to get it again?";
- set ch_tre,1;
+ ch_tre = 1;
close;
}
else if (ch_tre == 3) {
@@ -574,7 +574,7 @@ lou_fild01,195,177,5 script Jiu Lian Bu#1-1 4_M_CHN8GUEK,{
next;
mes "[Jiu Lian Bu]";
mes "Good job, chum! Heh heh heh, because you risked your neck for me, I'm gonna show you an awesome place! Just follow me~";
- set ch_tre,4;
+ ch_tre = 4;
close2;
warp "lou_fild01",180,170;
end;
@@ -668,7 +668,7 @@ lou_fild01,175,173,3 script Jiu Lian Bu#1-2 4_M_CHN8GUEK,{
mes "[Jiu Lian Bu]";
mes "So from now on, whenever you";
mes "wanna relieve yourself of stress, come see me and we'll come back to this place. Call it my way of saying thanks.";
- set ch_tre,5;
+ ch_tre = 5;
close;
}
else if (ch_tre == 5) {
@@ -754,10 +754,10 @@ lou_in02,50,185,5 script Pot#1 HIDDEN_NPC,{
mes "away from this restaurant";
mes "without getting caught...^000000";
if (rand(1,4) < 4) {
- set ch_tre,2;
+ ch_tre = 2;
}
else {
- set ch_tre,3;
+ ch_tre = 3;
}
close;
}
@@ -826,10 +826,10 @@ lou_in02,49,185,5 script Pot#2 HIDDEN_NPC,{
mes "away from this restaurant";
mes "without getting caught...^000000";
if (rand(1,4) < 4) {
- set ch_tre,2;
+ ch_tre = 2;
}
else {
- set ch_tre,3;
+ ch_tre = 3;
}
close;
}
@@ -904,7 +904,7 @@ OnTouch:
next;
mes "^3131FFYou have failed^000000";
mes "^3131FFto steal the pot.^000000";
- set ch_tre,1;
+ ch_tre = 1;
close;
}
}
@@ -918,7 +918,7 @@ OnTouch:
next;
mes "^3131FFYou have failed^000000";
mes "^3131FFto steal the pot.^000000";
- set ch_tre,1;
+ ch_tre = 1;
close;
}
}
@@ -932,7 +932,7 @@ OnTouch:
next;
mes "^3131FFYou have failed^000000";
mes "^3131FFto steal the pot.^000000";
- set ch_tre,1;
+ ch_tre = 1;
close;
}
}
@@ -1111,7 +1111,7 @@ lou_in02,265,69,5 script Doctor#lyang 4_F_CHNDOCTOR,{
next;
mes "[Hua Tuo]";
mes "If pressed the wrong way, it can cause death. But between 5:15 am and 7:15 am, it's just a weak point.";
- set ch_par,1;
+ ch_par = 1;
close;
}
else if (ch_par == 1) {
@@ -1193,7 +1193,7 @@ lou_in02,265,69,5 script Doctor#lyang 4_F_CHNDOCTOR,{
mes "I am sorry for causing you";
mes "so much trouble, but if you'll excuse me, I have other patients waiting. Please hurry back with";
mes "the medicine!";
- set ch_par,2;
+ ch_par = 2;
setquest 11044;
close;
}
@@ -1283,7 +1283,7 @@ lou_in02,265,69,5 script Doctor#lyang 4_F_CHNDOCTOR,{
mes "This medicine is not that";
mes "great, but it's an old family secret. I hope it will be useful to you if you find yourself in great danger.";
delitem 7252,1; //Herb_Medicine
- set ch_par,10;
+ ch_par = 10;
completequest 11056;
getitem 679,2; //Gold_Pill
getexp (checkre(3))?1000:10000,0;
@@ -1323,7 +1323,7 @@ lou_in02,265,69,5 script Doctor#lyang 4_F_CHNDOCTOR,{
mes "^3355FF20 Brown Root^000000,";
mes "^3355FF10 Sprout^000000 and";
mes "^3355FF5 Honey Pot^000000.";
- set ch_par,17;
+ ch_par = 17;
changequest 11056,11057;
close;
}
@@ -1402,7 +1402,7 @@ lou_in02,265,69,5 script Doctor#lyang 4_F_CHNDOCTOR,{
mes "It's not much, but this medicine";
mes "is an old family secret. I hope that it will be of use to you in dangerous situations.";
delitem 7252,1; //Herb_Medicine
- set ch_par,10;
+ ch_par = 10;
completequest 11056;
getitem 679,2; //Gold_Pill
getexp (checkre(3))?1000:10000,0;
@@ -1433,7 +1433,7 @@ lou_in02,265,69,5 script Doctor#lyang 4_F_CHNDOCTOR,{
mes "^3355FF20 Brown Root^000000,";
mes "^3355FF10 Sprout^000000 and";
mes "^3355FF5 Honey Pot^000000.";
- set ch_par,17;
+ ch_par = 17;
close;
}
else if (ch_par == 17) {
@@ -1457,7 +1457,7 @@ lou_in02,265,69,5 script Doctor#lyang 4_F_CHNDOCTOR,{
delitem 7193,10; //Germinating_Sprout
delitem 7121,5; //Honey_Jar
delitem 7252,1; //Herb_Medicine
- set ch_par,18;
+ ch_par = 18;
completequest 11057;
getitem 679,5; //Gold_Pill
getexp (checkre(3))?10000:30000,0;
@@ -1506,7 +1506,7 @@ lou_in02,272,55,0 script Familiar-Looking Patient 4_M_NFMAN,{
mes "Ummm....";
mes "^666666*Cough...cough...*^000000";
emotion e_omg;
- set ch_par,1;
+ ch_par = 1;
close;
}
else if (ch_par < 18) {
@@ -1555,7 +1555,7 @@ lou_in02,248,166,2 script Tool Shop Master#lou 4_M_CHNOLD,{
mes "[Wang Chuiyi]";
mes "You can find the storage on";
mes "the opposite side of this building. There, you'll see a guy named Jiang Xiayou. Go ahead and ask him for the stuff you need.";
- set ch_par,3;
+ ch_par = 3;
changequest 11044,11045;
close;
}
@@ -1661,25 +1661,25 @@ lou_in02,201,166,4 script Storage Keeper#lou 4_M_CHN8GUEK,{
mes "[Jiang Xiayou]";
mes "This is important,";
mes "So don't forget this.";
- set .@paper_j,rand(10,13);
+ .@paper_j = rand(10,13);
if (.@paper_j == 10) {
mes "When the guy asks what you need, you tell him: '^ff0000Residence Transfer Application^000000.' Just like that.";
- set ch_par,5;
+ ch_par = 5;
changequest 11045,11046;
}
else if (.@paper_j == 11) {
mes "When the guy asks what you need, you tell him: '^ff0000Summer SAT Class Application^000000.' Got it?";
- set ch_par,6;
+ ch_par = 6;
changequest 11045,11047;
}
else if (.@paper_j == 12) {
mes "When the guy asks what you need, you tell him: '^ff0000Sandy Dust Phenomenon Report^000000.' Easy, right?";
- set ch_par,7;
+ ch_par = 7;
changequest 11045,11048;
}
else if (.@paper_j == 13) {
mes "When the guy asks what you need, you tell him: '^ff0000Communication Proposal^000000.' Just like that?";
- set ch_par,8;
+ ch_par = 8;
changequest 11045,11049;
}
next;
@@ -1695,7 +1695,7 @@ lou_in02,201,166,4 script Storage Keeper#lou 4_M_CHN8GUEK,{
mes "[Jiang Xiayou]";
mes "The medicines you're looking for might be around here, so look around. If it weren't for the doctor, I wouldn't even let you hang around, you know that?";
emotion e_pif;
- set ch_par,4;
+ ch_par = 4;
changequest 11045,11050;
close;
}
@@ -1811,7 +1811,7 @@ lou_in02,201,166,4 script Storage Keeper#lou 4_M_CHN8GUEK,{
mes "[Jiang Xiayou]";
mes "Ah! Here you go. Even if it was kind of annoying to do, I guess";
mes "we gotta help each other, right? Alright then, I'll see ya around.";
- set ch_par,16;
+ ch_par = 16;
changequest 11055,11056;
getitem 7252,1; //Herb_Medicine
close;
@@ -1887,19 +1887,19 @@ lou_in02,210,47,0 script City Hall Officer#lou 4_M_CHNSOLDIER,{
mes "^333333When you go up stairs, another officer will give you the document you want.^000000 ^666666*Ahem*^000000 Louyang thanks you!";
Zeny -= .@input;
if (ch_par == 5) {
- set ch_par,11;
+ ch_par = 11;
changequest 11046,11051;
}
else if (ch_par == 6) {
- set ch_par,12;
+ ch_par = 12;
changequest 11047,11052;
}
else if (ch_par == 7) {
- set ch_par,13;
+ ch_par = 13;
changequest 11048,11053;
}
else if (ch_par == 8) {
- set ch_par,14;
+ ch_par = 14;
changequest 11049,11054;
}
close;
@@ -2078,19 +2078,19 @@ lou_in02,156,38,0 script Studying Officer#lou 4_M_CHNMAN,{
switch (ch_par) {
case 11:
if (.@input$ == "Residence Transfer Application")
- set .@paper,1;
+ .@paper = 1;
break;
case 12:
if (.@input$ == "Summer SAT Class Application")
- set .@paper,1;
+ .@paper = 1;
break;
case 13:
if (.@input$ == "Sandy Dust Phenomenon Report")
- set .@paper,1;
+ .@paper = 1;
break;
case 14:
if (.@input$ == "Communication Proposal")
- set .@paper,1;
+ .@paper = 1;
break;
}
mes "[Huang Zhishu]";
@@ -2125,7 +2125,7 @@ lou_in02,156,38,0 script Studying Officer#lou 4_M_CHNMAN,{
mes "[Huang Zhishu]";
mes "Here it is. A few days ago, someone asked me for the same document,";
mes "so I was able to find it again pretty easily. I hope it's useful to you.";
- set ch_par,15;
+ ch_par = 15;
for (.@i = 11051; .@i <= 11054; ++.@i) {
if (questprogress(.@i) && questprogress(.@i) != 2)
completequest .@i;
@@ -2169,7 +2169,7 @@ lou_in02,204,169,0 script Supply Stack#1lou HIDDEN_NPC,{
mes "*Rummage rummage*";
mes "*Rummage rummage*";
mes "You found a medicine.^000000";
- set ch_par,9;
+ ch_par = 9;
changequest 11050,11056;
getitem 7252,1; //Herb_Medicine
next;
@@ -2219,7 +2219,7 @@ lou_in02,207,168,0 script Supply Stack#5lou HIDDEN_NPC,{
mes "*Rummage rummage*";
mes "*Rummage rummage*";
mes "You found a medicine.^000000";
- set ch_par,9;
+ ch_par = 9;
changequest 11050,11056;
getitem 7252,1; //Herb_Medicine
next;
@@ -2271,7 +2271,7 @@ lou_in02,206,163,0 script Supply Stack#4lou HIDDEN_NPC,{
mes "*Rummage rummage*";
mes "*Rummage rummage*";
mes "You found a medicine.^000000";
- set ch_par,9;
+ ch_par = 9;
changequest 11050,11056;
getitem 7252,1; //Herb_Medicine
next;
@@ -2323,7 +2323,7 @@ lou_in02,198,170,0 script Supply Stack#3lou HIDDEN_NPC,{
mes "*Rummage rummage*";
mes "*Rummage rummage*";
mes "You found a medicine.^000000";
- set ch_par,9;
+ ch_par = 9;
changequest 11050,11056;
getitem 7252,1; //Herb_Medicine
next;
@@ -2375,7 +2375,7 @@ lou_in02,192,170,0 script Supply Stack#2 HIDDEN_NPC,{
mes "*Rummage rummage*";
mes "*Rummage rummage*";
mes "You found a medicine.^000000";
- set ch_par,9;
+ ch_par = 9;
changequest 11050,11056;
getitem 7252,1; //Herb_Medicine
next;
@@ -2417,11 +2417,11 @@ lou_in02,203,159,0 warp Storage Warp#4 1,1,louyang,129,118
lou_in02,123,39,4 script Poison King#lou 4_M_CHNOLD,{
// Attempt to preserve prior quest progress.
if (ch_poison == 0 && CL_POISONKING != 0) {
- if (QL_POISONKING <= 12) set ch_poison,QL_POISONKING;
- else if (QL_POISONKING == 16) set ch_poison,19;
- else if (QL_POISONKING >= 17) set ch_poison,20;
+ if (QL_POISONKING <= 12) ch_poison = QL_POISONKING;
+ else if (QL_POISONKING == 16) ch_poison = 19;
+ else if (QL_POISONKING >= 17) ch_poison = 20;
// Remove outdated variable.
- set QL_POISONKING,0;
+ QL_POISONKING = 0;
}
if (checkweight(1201,1) == 0) {
mes "^3355FF * Wait a minute! *";
@@ -2473,18 +2473,18 @@ lou_in02,123,39,4 script Poison King#lou 4_M_CHNOLD,{
mes "mind helping me";
mes "memorize this poem...";
next;
- set .@question_poet,rand(1,4);
+ .@question_poet = rand(1,4);
if (.@question_poet == 1) {
mes "[Nagash Arses]";
mes "'^3355FFAs I lay^000000 ^3355FFlooking up at the moonlight^000000.' In this first line, what word should be in [ ]?";
next;
if (select("on the ground:with you:in bed:in the stars") == 3)
- set .@answer_poet,.@answer_poet + 10;
+ .@answer_poet += 10;
mes "[Nagash Arses]";
mes "'^3355FFIt looks like the^000000 ^3355FFon the ground^000000.' In the second line, which word should be in [ ]?";
next;
if (select("frost:dew:pebbles:snow") == 1)
- set .@answer_poet,.@answer_poet + 10;
+ .@answer_poet += 10;
mes "[Nagash Arses]";
mes "Now to see if you see really understand the poem. It's no use to just know the words. They must be a part of you as well.";
next;
@@ -2492,20 +2492,20 @@ lou_in02,123,39,4 script Poison King#lou 4_M_CHNOLD,{
mes "How would you describe the overall mood and tone of the speaker of this poem?";
next;
if (select("Romantic:Wistful:Regretful:Passionate") == 2)
- set .@answer_poet,.@answer_poet + 10;
+ .@answer_poet += 10;
mes "[Nagash Arses]";
mes "What do you think is the";
mes "major theme of this poem?";
next;
if (select("Tragedy:Separation:Love:Revenge:Buddy Cop Film") == 2)
- set .@answer_poet,.@answer_poet + 10;
+ .@answer_poet += 10;
next;
mes "[Nagash Arses]";
mes "Ha ha ha! You understand this poem well! Now, would you repeat the first line for me again?";
next;
if (.@answer_poet > 30) {
if (select("When I lay in bed looking up at the moon light:When I lay in bed thinking of the moon light:As I lay in bed looking up at the moonlight:As I lay in bed thinking of the moonlight") == 3) {
- set ch_poison,2;
+ ch_poison = 2;
}
}
else {
@@ -2524,12 +2524,12 @@ lou_in02,123,39,4 script Poison King#lou 4_M_CHNOLD,{
mes "'^3355FFIt looks like the^000000 ^3355FFon the ground^000000.' In the second line, which word should be in [ ]?";
next;
if (select("frost:dew:pebbles:snow") == 1)
- set .@answer_poet,.@answer_poet + 10;
+ .@answer_poet += 10;
mes "[Nagash Arses]";
mes "'^3355FFI lower my head feeling^000000 [ ].' Which word should be in [ ]?";
next;
if (select("homesick.:drowsy:loneliness.:heartbroken.") == 1)
- set .@answer_poet,.@answer_poet + 10;
+ .@answer_poet += 10;
next;
mes "[Nagash Arses]";
mes "Now to see if you see really understand the poem. It's no use to just know the words. To know this poem by heart is to truly take it to heart.";
@@ -2541,19 +2541,19 @@ lou_in02,123,39,4 script Poison King#lou 4_M_CHNOLD,{
mes "gazing at the moon?";
next;
if (select("In his hometown.:In jail.:In the depths of the cosmos.:In bed.") == 4)
- set .@answer_poet,.@answer_poet + 10;
+ .@answer_poet += 10;
mes "[Nagash Arses]";
mes "Although this poem is only four lines long, its structure can be easily classified. How would you describe this poem's structure?";
next;
if (select("Why, it's a sonnet.:It's prose with erratic caesuras.:It's a quatrain, of course.:Iambic pentameter?") == 3)
- set .@answer_poet,.@answer_poet + 10;
+ .@answer_poet += 10;
next;
mes "[Nagash Arses]";
mes "Ha ha ha! You understand this poem well! Now, would you repeat the first line for me again?";
next;
if (.@answer_poet > 30) {
if (select("It looks like the frost on the ground:It looks like an icicle on the ground:It looks as though shining:It looks like the frost in the sky") == 1) {
- set ch_poison,2;
+ ch_poison = 2;
}
}
else {
@@ -2572,13 +2572,13 @@ lou_in02,123,39,4 script Poison King#lou 4_M_CHNOLD,{
mes "'^3355FFIt looks like the^000000 ^3355FFon the ground^000000.' In the second line, which word should be in [ ]?";
next;
if (select("frost:dew:pebbles:snow") == 1)
- set .@answer_poet,.@answer_poet + 10;
+ .@answer_poet += 10;
next;
mes "[Nagash Arses]";
mes "'^3355FFI lower my head feeling^000000 [ ].' Which word should be in [ ]?";
next;
if (select("homesick.:drowsy:loneliness.:heartbroken.") == 1)
- set .@answer_poet,.@answer_poet + 10;
+ .@answer_poet += 10;
next;
mes "[Nagash Arses]";
mes "Now to see if you see really understand the poem. It's not enough to just know the words. You must know what they truly mean.";
@@ -2587,19 +2587,19 @@ lou_in02,123,39,4 script Poison King#lou 4_M_CHNOLD,{
mes "In the first two lines, what two images are being linked by the poet?";
next;
if (select("Bed and ground:Frost and hometown:Gloomy:Smokey:Moonlight and frost") == 5)
- set .@answer_poet,.@answer_poet + 10;
+ .@answer_poet += 10;
mes "[Nagash Arses]";
mes "In this land, the image of the moon often appears in poems expressing separation, longing and homesickness. Why would gazing at the moon offer comfort?";
next;
if (select("The rabbit on the moon grants wishes.:Its sheer beauty eases any anxiety.:Because it wanes and waxes.:All places and peoples share the same moon.") == 4)
- set .@answer_poet,.@answer_poet + 10;
+ .@answer_poet += 10;
next;
mes "[Nagash Arses]";
mes "Ha ha ha! You understand this poem well! Now, would you repeat the third line for me again?";
next;
if (.@answer_poet > 30) {
if (select("I look up at the bright moon:I lift my head to look at the bright moon:I turn my head to look at the bright moon:I face the bright moon") == 2) {
- set ch_poison,2;
+ ch_poison = 2;
}
}
else {
@@ -2619,13 +2619,13 @@ lou_in02,123,39,4 script Poison King#lou 4_M_CHNOLD,{
mes "which word should be in [ ]?";
next;
if (select("frost:dew:pebbles:snow") == 1)
- set .@answer_poet,.@answer_poet + 10;
+ .@answer_poet += 10;
next;
mes "[Nagash Arses]";
mes "'^3355FFI lift my^000000 ^3355FFto look at the bright moon^000000.' In the third line, which word should be in [ ]?";
next;
if (select("eyes:head:gaze:sights") == 2)
- set .@answer_poet,.@answer_poet + 10;
+ .@answer_poet += 10;
next;
mes "[Nagash Arses]";
mes "Now to see if you see really understand the poem. It's no";
@@ -2635,20 +2635,20 @@ lou_in02,123,39,4 script Poison King#lou 4_M_CHNOLD,{
mes "What do you think is the major theme of this poem?";
next;
if (select("Tragedy:Separation:Love:Revenge:Buddy Cop Film") == 2)
- set .@answer_poet,.@answer_poet + 10;
+ .@answer_poet += 10;
next;
mes "[Nagash Arses]";
mes "Why might be one reason why the bright moonlight looks like frost on the ground to the poet?";
next;
if (select("He's looking through a frosty window.:A bright moon glimmers like icicles.:He's homesick, so the moonlight looks cold:It's called 'poetic license.'") == 3)
- set .@answer_poet,.@answer_poet + 10;
+ .@answer_poet += 10;
next;
mes "[Nagash Arses]";
mes "Ha ha ha! You understand this poem well! Now, would you repeat the last line for me again?";
next;
if (.@answer_poet > 30) {
if (select("I cry for my home town.:I lower my head feeling homesick.:I miss my home town.:I sob feeling homesick.") == 2) {
- set ch_poison,2;
+ ch_poison = 2;
}
}
else {
@@ -2823,7 +2823,7 @@ lou_in02,123,39,4 script Poison King#lou 4_M_CHNOLD,{
mes "home town. I miss the heat";
mes "of the desert and the glare";
mes "of the blazing sun...";
- set ch_poison,3;
+ ch_poison = 3;
close;
}
else {
@@ -2914,7 +2914,7 @@ lou_in02,123,39,4 script Poison King#lou 4_M_CHNOLD,{
mes "[Nagash Arses]";
mes "Go find my last disciple,";
mes "^0000FFSong Zhi Du^000000, as he may tell you something useful. He's working at the doctor's office. If it weren't for him, I'd be starving now.";
- set ch_poison,5;
+ ch_poison = 5;
setquest 11070;
close;
}
@@ -3005,7 +3005,7 @@ lou_in02,123,39,4 script Poison King#lou 4_M_CHNOLD,{
mes "[Nagash Arses]";
mes "Even to this day, the police are hounding after me. I really want to tell the lord of Louyang that I'm innocent, but it may be";
mes "too late now...";
- set ch_poison,4;
+ ch_poison = 4;
close;
}
else {
@@ -3072,7 +3072,7 @@ lou_in02,123,39,4 script Poison King#lou 4_M_CHNOLD,{
mes "Let's not talk about this any longer. It's reminding me of";
mes "my worst memories.";
next;
- set ch_poison,1;
+ ch_poison = 1;
if (BaseClass == Job_Thief) {
mes "[Nagash Arses]";
mes "Ah, you look just like I did when";
@@ -3198,7 +3198,7 @@ lou_in02,123,39,4 script Poison King#lou 4_M_CHNOLD,{
mes "Will you...";
mes "Will you excuse";
mes "me for a second...?";
- set ch_poison,15;
+ ch_poison = 15;
changequest 11077,11078;
close;
}
@@ -3284,7 +3284,7 @@ lou_in02,123,39,4 script Poison King#lou 4_M_CHNOLD,{
mes "For my sake, as well";
mes "as that of my disciple,";
mes "Louyang's leader must live...";
- set ch_poison,16;
+ ch_poison = 16;
changequest 11078,11079;
close;
}
@@ -3315,7 +3315,7 @@ lou_in02,123,39,4 script Poison King#lou 4_M_CHNOLD,{
mes "^3355FFYou obtained";
mes "^0000FFPoison King,";
mes "Nagash Arses' Jounal^000000.";
- set ch_poison,18;
+ ch_poison = 18;
changequest 11080,11081;
close;
}
@@ -3357,7 +3357,7 @@ lou_in02,123,39,4 script Poison King#lou 4_M_CHNOLD,{
next;
mes "^3355FFYou grow dizzy, but you also feel like you're becoming more powerful and gaining experience.^000000";
next;
- set ch_poison,20;
+ ch_poison = 20;
changequest 11082,11083;
if (checkre(3)) {
if (BaseLevel < 56) getexp 1050,0;
@@ -3419,7 +3419,7 @@ lou_in02,253,45,0 script Employee#poison 4_M_CHNMAN,{
}
else {
if (rand(1,4) > 2) {
- set .@r_o_o_f,.@r_o_o_f + 1;
+ ++.@r_o_o_f;
mes "[Song Zhi Du]";
mes "Let's see, there's that medicine, and then the medicine over here...";
next;
@@ -3593,7 +3593,7 @@ lou_in02,253,45,0 script Employee#poison 4_M_CHNMAN,{
mes "Go do whatever";
mes "you were going to do.";
mes "I'm just disappointed...";
- set ch_poison,6;
+ ch_poison = 6;
changequest 11070,11071;
close;
}
@@ -3610,7 +3610,7 @@ lou_in02,253,45,0 script Employee#poison 4_M_CHNMAN,{
next;
mes "[Song Zhi Du]";
mes "Since my body is so frail, I can't bear the tension and rage of seeing my lifelong enemy face to face.";
- set ch_poison,8;
+ ch_poison = 8;
changequest 11070,11073;
close;
}
@@ -3639,7 +3639,7 @@ lou_in02,253,45,0 script Employee#poison 4_M_CHNMAN,{
mes "10 Venom Canine,";
mes "10 Empty Potion,";
mes "30 Green Potion^000000.";
- set ch_poison,7;
+ ch_poison = 7;
changequest 11071,11072;
next;
mes "[Song Zhi Du]";
@@ -3652,7 +3652,7 @@ lou_in02,253,45,0 script Employee#poison 4_M_CHNMAN,{
mes "make you understand how I feel.";
specialeffect EF_ENDURE;
close2;
- set ch_poison,6;
+ ch_poison = 6;
changequest 11070,11071;
end;
}
@@ -3668,7 +3668,7 @@ lou_in02,253,45,0 script Employee#poison 4_M_CHNMAN,{
delitem 937,10; //Posionous_Canine
delitem 1093,10; //Empty_Potion
delitem 506,30; //Green_Potion
- set ch_poison,8;
+ ch_poison = 8;
changequest 11072,11073;
mes "[Song Zhi Du]";
mes "Ah...";
@@ -3755,7 +3755,7 @@ lou_in02,253,45,0 script Employee#poison 4_M_CHNMAN,{
emotion e_omg;
mes "[Song Zhi Du]";
mes "No!! I failed again! ^666666*Sigh...*^000000 And I spent a long time preparing all of those materials...";
- set ch_poison,10;
+ ch_poison = 10;
changequest 11074,11075;
close;
}
@@ -3845,7 +3845,7 @@ lou_in02,253,45,0 script Employee#poison 4_M_CHNMAN,{
mes "I made it!";
mes "Now, revenge will be mine!";
next;
- set ch_poison,11;
+ ch_poison = 11;
getitem 678,2; //Poison_Bottle
mes "[Song Zhi Du]";
mes "Hahaha! Now, please";
@@ -3941,7 +3941,7 @@ lou_in02,253,45,0 script Employee#poison 4_M_CHNMAN,{
mes "Hahaha...!";
mes "Master, I did it!";
mes "Your disciple Song Zhi Du made the world's deadliest poison for you!";
- set ch_poison,12;
+ ch_poison = 12;
changequest 11075,11076;
close;
}
@@ -3997,7 +3997,7 @@ lou_in02,253,45,0 script Employee#poison 4_M_CHNMAN,{
mes "[Song Zhi Du]";
mes "But before you go, let me give you some poison and a medicinal pill.";
mes "I made these with the leftover materials and medicine in the storage.";
- set ch_poison,14;
+ ch_poison = 14;
getitem 678,3; //Poison_Bottle
next;
mes "[Song Zhi Du]";
@@ -4074,7 +4074,7 @@ lou_in02,253,45,0 script Employee#poison 4_M_CHNMAN,{
mes "Also, I hope you will";
mes "take these, since I don't";
mes "need them any longer.";
- set ch_poison,21;
+ ch_poison = 21;
completequest 11083;
getitem 678,5; //Poison_Bottle
next;
@@ -4184,7 +4184,7 @@ lou_fild01,224,348,0 script Lady#delivery 4_F_CHNDRESS3,{
mes "please bring this to";
mes "Song Zhi Du.";
mes "Take care!";
- set ch_poison,9;
+ ch_poison = 9;
changequest 11073,11074;
close;
}
@@ -4347,7 +4347,7 @@ lou_in01,107,163,0 script #lou_drink1 HIDDEN_NPC,{
next;
mes "^3355FFYou put the deadly poison into the bottle.^000000";
delitem 678,1; //Poison_Bottle
- set ch_poison,13;
+ ch_poison = 13;
changequest 11076,11077;
close;
}
@@ -4360,7 +4360,7 @@ lou_in01,107,163,0 script #lou_drink1 HIDDEN_NPC,{
mes "^3355FFYou take the drink bottle and replace it with a bottle filled with Sticky Mucus. Hopefully Bai Long won't notice!^000000";
delitem 938,1; //Sticky_Mucus
delitem 713,1; //Empty_Bottle
- set ch_poison,17;
+ ch_poison = 17;
changequest 11079,11080;
close;
}
@@ -4463,7 +4463,7 @@ lou_in01,99,158,4 script Lord#bailong 4_M_CHNGENERL,{
next;
mes "[Lord Bai Long]";
mes "Please, take this as a token of gratitute. And please deliver this letter to Nagash and Song Zhi Du for me.";
- set ch_poison,19;
+ ch_poison = 19;
changequest 11081,11802;
getitem 603,1; //Old_Blue_Box
next;
@@ -4635,13 +4635,13 @@ lou_in02,77,37,7 script Hermit 4_M_CHNOLD,{
mes "I understand if you need time to decide. If you do decide to join us, please return. Time is on our side, after all.";
close;
case 2:
- set QL_REVOL,1;
+ QL_REVOL = 1;
mes "[Sun Mao]";
mes strcharinfo(0)+ "...!";
mes "Your name is now engraved on this bloody pledge board. We will fight together to the death for Louyang's future!";
next;
getpartymember(getcharid(1));
- set @partymember,$@partymembercount;
+ @partymember = $@partymembercount;
if (getpartyleader(getcharid(1),1) == getcharid(0) || !@partymember) {
mes "[Sun Mao]";
mes "Now, the most important thing for our cause is to gather more recruits and increase our numbers. Please find others who will join us in our fight.";
@@ -4675,11 +4675,11 @@ lou_in02,77,37,7 script Hermit 4_M_CHNOLD,{
close;
}
getpartymember(getcharid(1));
- set @partymember,$@partymembercount;
+ @partymember = $@partymembercount;
if (QL_REVOL < 8) {
if (@partymember == QL_REVOL +1) {
if (@partymember != 8) {
- set QL_REVOL,QL_REVOL +1;
+ QL_REVOL += 1;
mes "[Sun Mao]";
mes "Oh, you brought a new comrade! Welcome. Please help your friend understand our intentions before joining us.";
next;
@@ -4749,7 +4749,7 @@ lou_in02,77,37,7 script Hermit 4_M_CHNOLD,{
mes "[Sun Mao]";
mes "Since flammable chemicals are not allowed inside government offices, you must keep them well hidden. If the chemicals are equally divided among the eight of you, we might succeed!";
next;
- set QL_REVOL,8;
+ QL_REVOL = 8;
getitem 7068,8; //Burn_Tree
getitem 7096,8; //Cold_Magma
getitem 7004,8; //Mud_Lump
@@ -4821,8 +4821,8 @@ lou_in02,77,37,7 script Hermit 4_M_CHNOLD,{
mes "Finally, we have a weapon to mete out severe retribution to our enemies, the corrupt government officials and the evil martial arts organizations! I appreciate your help, comrades.";
next;
delitem 7204,countitem(7204);
- set ch_make,0;
- set QL_REVOL,9;
+ ch_make = 0;
+ QL_REVOL = 9;
getitem 668,8;
mes "[Sun Mao]";
mes "Please take these funds and share them with your party members. I hope that all of you will lend your power to our cause once again.";
@@ -4847,7 +4847,7 @@ lou_in02,77,37,7 script Hermit 4_M_CHNOLD,{
}
} else {
if (ch_make == 1) {
- set ch_make,0;
+ ch_make = 0;
mes "[Sun Mao]";
mes "Ah...";
mes "You have";
@@ -4867,7 +4867,7 @@ lou_in02,77,37,7 script Hermit 4_M_CHNOLD,{
lou_in01,43,147,3 script Gunpowder Expert 4_M_ALCHE_C,{
if (ch_make == 0) {
getpartymember(getcharid(1));
- set @partymember,$@partymembercount;
+ @partymember = $@partymembercount;
if (!QL_REVOL) {
mes "[Hao Chenryu]";
mes "Who...";
@@ -4887,7 +4887,7 @@ lou_in01,43,147,3 script Gunpowder Expert 4_M_ALCHE_C,{
mes "Mao's plans are flawless,";
mes "so I'm sticking to the scenario he's drawn up. You're either improvising needlessly, or you're not really my comrade...";
close;
- } else if (countitem(7068) && countitem(7096) && countitem(7004)) {
+ } else if (countitem(7068) && countitem(7096) && countitem(7004)) {
mes "[Hao Chenryu]";
mes "Ah, I see that Mao";
mes "has sent you. I'm sorry";
@@ -4908,7 +4908,7 @@ lou_in01,43,147,3 script Gunpowder Expert 4_M_ALCHE_C,{
delitem 7004,1; //Mud_Lump
mes "[Hao Chenryu]";
mes "I don't want you to be caught if the soldiers inspect your goods. It will be better if one of you carry a Cart and hide the gunpowder in there.";
- set ch_make,1;
+ ch_make = 1;
getitem 7204,1; //Gunpowder
close;
case 2:
diff --git a/npc/quests/quests_morocc.txt b/npc/quests/quests_morocc.txt
index b4e788568..77708ab31 100644
--- a/npc/quests/quests_morocc.txt
+++ b/npc/quests/quests_morocc.txt
@@ -666,13 +666,13 @@ que_job01,49,49,5 script Tao#dan_09 4_F_YUNYANG,{
que_job01,51,55,0 script que_job01#room_1 WARPNPC,1,1,{
OnReset:
- set $@maobar_room,0;
+ $@maobar_room = 0;
end;
OnTouch:
if (prt_curse == 24) {
if ($@maobar_room == 0) {
- set $@maobar_room,1;
+ $@maobar_room = 1;
donpcevent " #room1timer::OnEnable";
donpcevent "Marjana#poison::OnEnable";
mes "[Tao]";
@@ -697,7 +697,7 @@ OnTouch:
}
else if (mao_request > 0) {
if ($@maobar_room == 0) {
- set $@maobar_room,1;
+ $@maobar_room = 1;
donpcevent " #room1timer::OnEnable";
donpcevent "Valdes#moc_master_1::OnEnable";
mes "[Tao]";
@@ -946,14 +946,14 @@ moc_fild20,354,183,3 script Continental Guard#01::MocConGuard 4_M_MOC_SOLDIER,3,
case 2:
if ($@re_moc < 3) {
getpartymember(getcharid(1));
- set .@partymembercount,$@partymembercount;
+ .@partymembercount = $@partymembercount;
copyarray .@partymembername$[0],$@partymembername$[0],.@partymembercount;
while (.@partymembercount >= 0) {
- set .@name$,.@partymembername$[.@partymembercount];
+ .@name$ = .@partymembername$[.@partymembercount];
if (isloggedin(getcharid(3,.@name$))) {
- set .@onlinemembers,.@onlinemembers + 1;
+ ++.@onlinemembers;
}
- set .@partymembercount,.@partymembercount - 1;
+ --.@partymembercount;
}
if ((.@onlinemembers > 1) && (countitem(7826) > 0)) {
mes "[Continental Guard]";
@@ -1009,14 +1009,14 @@ moc_fild20,354,183,3 script Continental Guard#01::MocConGuard 4_M_MOC_SOLDIER,3,
mes "Ah, you're an adventurer working for the Continental Guard. Nice to meet you. Feel free to ask me if you need my assistance.";
next;
getpartymember(getcharid(1));
- set .@partymembercount,$@partymembercount;
+ .@partymembercount = $@partymembercount;
copyarray .@partymembername$[0],$@partymembername$[0],.@partymembercount;
while (.@partymembercount >= 0) {
- set .@name$,.@partymembername$[.@partymembercount];
+ .@name$ = .@partymembername$[.@partymembercount];
if (isloggedin(getcharid(3,.@name$))) {
- set .@onlinemembers,.@onlinemembers + 1;
+ ++.@onlinemembers;
}
- set .@partymembercount,.@partymembercount - 1;
+ --.@partymembercount;
}
switch(select("Enter the First Field to Investigate:Enter the Second Field to Investigate:Return to Morroc's Accident Site:Cancel Conversation")) {
case 1:
@@ -1117,12 +1117,12 @@ moc_fild20,203,336,5 duplicate(MocConGuard) Continental Guard#07 4_M_MOC_SOLDIER
moc_fild20,215,336,3 duplicate(MocConGuard) Continental Guard#08 4_M_MOC_SOLDIER,3,3
- script Continental Messenger#00::ConMessenger 4_M_MOCASS1,3,3,{
- set .@area$,strnpcinfo(2);
- if (.@area$ == "01") { set .@area$,"Prontera"; }
- else if (.@area$ == "02") { set .@area$,"Geffen"; }
- else if (.@area$ == "03") { set .@area$,"Payon"; }
- else if (.@area$ == "04") { set .@area$,"Alberta"; }
- else if (.@area$ == "05") { set .@area$,"Al De Baran"; }
+ .@area$ = strnpcinfo(2);
+ if (.@area$ == "01") { .@area$ = "Prontera"; }
+ else if (.@area$ == "02") { .@area$ = "Geffen"; }
+ else if (.@area$ == "03") { .@area$ = "Payon"; }
+ else if (.@area$ == "04") { .@area$ = "Alberta"; }
+ else if (.@area$ == "05") { .@area$ = "Al De Baran"; }
if (BaseLevel > 79) {
mes "[Continental Guard Messenger]";
mes "Good day, "+ strcharinfo(0) +". We don't have the luxury of time in this dire situation so I'll try to make this quick.";
@@ -1247,7 +1247,7 @@ morocc,176,103,3 script Continental Official 4_M_SAGE_A,{
next;
mes "[Continental Guard Official]";
mes "Now please go speak to Chief Balrog of the Continental Guard. You can find him in the center.";
- set rebirth_moc_edq,1;
+ rebirth_moc_edq = 1;
setquest 3050;
close;
}
@@ -1397,7 +1397,7 @@ morocc,159,113,3 script Chief Balrog 4_M_CRU_OLD,{
case 2:
mes "[Chief Balrog]";
mes "Excellent! Bring back ^0000FF30 Live Coals^000000. I'll be waiting for your return.";
- set rebirth_moc_edq,2;
+ rebirth_moc_edq = 2;
changequest 3050,3051;
close;
}
@@ -1479,7 +1479,7 @@ morocc,159,113,3 script Chief Balrog 4_M_CRU_OLD,{
mes "[Chief Balrog]";
mes "Please bring me ^0000FF50 Glacial Hearts^000000. The faster you get them here, the better.";
delitem 7098,30; //Live_Coal
- set rebirth_moc_edq,3;
+ rebirth_moc_edq = 3;
changequest 3051,3052;
close;
}
@@ -1505,7 +1505,7 @@ morocc,159,113,3 script Chief Balrog 4_M_CRU_OLD,{
mes "Well... It looks like you earned this.";
delitem 7561,50; //Ice_Heart
getitem 7826,1; //Continental_Guard_Paper
- set rebirth_moc_edq,4;
+ rebirth_moc_edq = 4;
changequest 3052,3053;
next;
mes "[" + strcharinfo(0) + "]";
@@ -1617,7 +1617,7 @@ morocc,159,113,3 script Chief Balrog 4_M_CRU_OLD,{
next;
delitem 7820,1; //Morroc_Skin
getexp (checkre(3))?200000:2000000,0;
- set rebirth_moc_edq,7;
+ rebirth_moc_edq = 7;
changequest 3055,3056;
mes "[Chief Balrog]";
mes "I've prepared a few things to give as a reward for you. Let's see... I have three items. Which one do you like to receive?";
@@ -1639,7 +1639,7 @@ morocc,159,113,3 script Chief Balrog 4_M_CRU_OLD,{
mes "Great, then I'll reward you with the Seal of Continental Guard. Congratulations.";
next;
getitem 2730,1; //Morroc_Seal
- set rebirth_moc_edq,8;
+ rebirth_moc_edq = 8;
completequest 3056;
mes "[Chief Balrog]";
mes "I hope you keep in mind that our battle is far from over. Our enemy is the king of demons... I fear that Satan Morroc will return someday soon.";
@@ -1671,7 +1671,7 @@ morocc,159,113,3 script Chief Balrog 4_M_CRU_OLD,{
mes "Great, then I'll reward you with a Morroc Charm Stone. Congratulations.";
next;
getitem 2731,1; //Morroc_Charm_Stone
- set rebirth_moc_edq,8;
+ rebirth_moc_edq = 8;
completequest 3056;
mes "[Chief Balrog]";
mes "I hope you keep in mind that our battle is far from over. Our enemy is the king of demons... I fear that Satan Morroc will return someday soon.";
@@ -1703,7 +1703,7 @@ morocc,159,113,3 script Chief Balrog 4_M_CRU_OLD,{
mes "Great, then I'll reward you with a Morroc Ring. Congratulations.";
next;
getitem 2732,1; //Morroc_Ring
- set rebirth_moc_edq,8;
+ rebirth_moc_edq = 8;
completequest 3056;
mes "[Chief Balrog]";
mes "I hope you keep in mind that our battle is far from over. Our enemy is the king of demons... I fear that Satan Morroc will return someday soon.";
@@ -1751,7 +1751,7 @@ morocc,159,113,3 script Chief Balrog 4_M_CRU_OLD,{
mes "Great, then I'll reward you with the Seal of Continental Guard. Congratulations.";
next;
getitem 2730,1; //Morroc_Seal
- set rebirth_moc_edq,8;
+ rebirth_moc_edq = 8;
completequest 3056;
mes "[Chief Balrog]";
mes "I hope you keep in mind that our battle is far from over. Our enemy is the king of demons... I fear that Satan Morroc will return someday soon.";
@@ -1783,7 +1783,7 @@ morocc,159,113,3 script Chief Balrog 4_M_CRU_OLD,{
mes "Great, then I'll reward you with a Morroc Charm Stone. Congratulations.";
next;
getitem 2731,1; //Morroc_Charm_Stone
- set rebirth_moc_edq,8;
+ rebirth_moc_edq = 8;
completequest 3056;
mes "[Chief Balrog]";
mes "I hope you keep in mind that our battle is far from over. Our enemy is the king of demons... I fear that Satan Morroc will return someday soon.";
@@ -1815,7 +1815,7 @@ morocc,159,113,3 script Chief Balrog 4_M_CRU_OLD,{
mes "Great, then I'll reward you with a Morroc Ring. Congratulations.";
next;
getitem 2732,1; //Morroc_Ring
- set rebirth_moc_edq,8;
+ rebirth_moc_edq = 8;
completequest 3056;
mes "[Chief Balrog]";
mes "I hope you keep in mind that our battle is far from over. Our enemy is the king of demons... I fear that Satan Morroc will return someday soon.";
@@ -1859,13 +1859,13 @@ morocc,159,113,3 script Chief Balrog 4_M_CRU_OLD,{
moc_fild21,38,193,0 script Morocc Timer#edq -1,6,6,{
//OnInit:
-// set $@re_moc,0;
-// set $@re_moc_time$,"";
+// $@re_moc = 0;
+// $@re_moc_time$ = "";
// end;
OnTouch:
if ($@re_moc == 0) {
- set $@re_moc,1;
+ $@re_moc = 1;
donpcevent "Satan Broadcast#edq::OnEnable";
}
end;
@@ -1909,7 +1909,7 @@ moc_fild21,178,239,0 script Group of Evil#edq CLEAR_NPC,1,1,{
mes "Wah...!";
close2;
if($@re_moc == 1) {
- set $@re_moc,2;
+ $@re_moc = 2;
donpcevent "Satan Summon#edq::OnEnable";
}
end;
@@ -1927,7 +1927,7 @@ OnInit:
OnEnable:
enablenpc "Group of Evil#edq";
- set $@re_moc_time$,"";
+ $@re_moc_time$ = "";
end;
OnDisable:
@@ -1944,7 +1944,7 @@ moc_fild21,177,239,0 script Time-Space Gap#edq CLEAR_NPC,1,1,{
next;
mes "You stretch your hand and pick up a lusterless fragment.";
getitem 7820,1; //Morroc_Skin
- set rebirth_moc_edq,6;
+ rebirth_moc_edq = 6;
changequest 3053,3055;
close;
}
@@ -1968,16 +1968,16 @@ OnDisable:
stopnpctimer;
disablenpc "Time-Space Gap#edq";
donpcevent "Group of Evil#edq::OnEnable";
- set $@re_moc,0;
+ $@re_moc = 0;
end;
OnTimer1800000:
- set $@re_moc,4;
+ $@re_moc = 4;
end;
OnTimer21600000:
stopnpctimer;
- set $@re_moc,0;
+ $@re_moc = 0;
donpcevent "Time-Space Gap#edq::OnDisable";
end;
}
@@ -1996,13 +1996,13 @@ OnEnable:
OnDisable:
stopnpctimer;
killmonster "moc_fild21","Satan Summon#edq::OnMyMobDead";
- set $@re_moc,0;
+ $@re_moc = 0;
disablenpc "Satan Summon#edq";
end;
OnMyMobDead:
- set $@re_moc,3;
- set $@re_moc_time$, gettimestr("%H%M%S",7);
+ $@re_moc = 3;
+ $@re_moc_time$ = gettimestr("%H%M%S",7);
mapannounce "moc_fild21","I'll let live just a little longer. You'll never find me through this time-space gap!",bc_map,"0xFFFF00";
donpcevent "Time-Space Gap#edq::OnEnable";
donpcevent "Satan Broadcast#edq::OnDisable";
@@ -2018,7 +2018,7 @@ OnTimer5415000:
mapannounce "moc_fild21","I don't have time for this! Go away!",bc_map,"0xFFFF00";
stopnpctimer;
killmonster "moc_fild21","Satan Summon#edq::OnMyMobDead";
- set $@re_moc,0;
+ $@re_moc = 0;
donpcevent "Satan Summon#edq::OnDisable";
end;
}
@@ -2235,7 +2235,7 @@ moc_ruins,137,70,3 script Book-Touching Man#garas 1_M_02,{
mes "[Benjamin]";
mes "Thank you so much! Then remember this title: 'The Crow of the Fate' written by 'Oliver Hilpert.' I'm sure you can find it in Prontera Library.";
mes "Hehehe, Mammi! I'm almost there!";
- set barmunt_crow,1;
+ barmunt_crow = 1;
setquest 2063;
close;
case 2:
@@ -2337,7 +2337,7 @@ moc_ruins,137,70,3 script Book-Touching Man#garas 1_M_02,{
}
mes "^660000Quickly blinking his eyes, he made you take Mammi's picture book in your arms";
mes "demanding that you must encase the book so it would not be damaged.^000000";
- set barmunt_crow,11;
+ barmunt_crow = 11;
getitem 7795,1; //Mami_Photo_Album
next;
mes "[Benjamin]";
@@ -2395,7 +2395,7 @@ moc_ruins,137,70,3 script Book-Touching Man#garas 1_M_02,{
mes "I'm going to see her tomorrow as soon as the morning comes! Mammi, I'm coming!";
delitem 7797,1; //Author_Memo
delitem 7796,1; //Author_Autograph
- set barmunt_crow,16;
+ barmunt_crow = 16;
if (checkre(3))
getexp 90000,90000;
else
@@ -2528,7 +2528,7 @@ prt_in,179,92,3 script Library Curator#garas 1_M_LIBRARYMASTER,{
mes "Well, Juno is quite far from here, but if you're really enthusiastic about reading such a popular book, it should be worthwile.";
next;
mes "^660000The book isn't for you, but you believe in 100% customer satisfaction. Let's go to Juno Library now.^000000";
- set barmunt_crow,2;
+ barmunt_crow = 2;
changequest 2063,2064;
close;
case 2:
@@ -2644,7 +2644,7 @@ yuno,333,210,5 script Library Master#garas 1_M_LIBRARYMASTER,{
next;
mes "^660000He sounded sincere, but it doesn't sound like that kind of broth would even be effective...^000000";
emotion e_dots,1;
- set barmunt_crow,3;
+ barmunt_crow = 3;
close;
}
else {
@@ -2744,7 +2744,7 @@ OnTouch:
next;
mes "^660000He sounded sincere, but it doesn't sound like that kind of broth would even be effective...^000000";
emotion e_dots,1;
- set barmunt_crow,3;
+ barmunt_crow = 3;
close;
}
end;
@@ -2864,7 +2864,7 @@ yuno_in04,100,5,3 script Hot Bestseller Corner HIDDEN_NPC,{
mes "^FF0000-- BEEP --^000000";
next;
mes "^660000You were about to pull out the book, complaining and grumbling, when suddenly it felt as if your brain exploded. You black out...^000000";
- set barmunt_crow,4;
+ barmunt_crow = 4;
close2;
specialeffect2 EF_BASH3D2;
warp "que_ba",247,33;
@@ -2969,7 +2969,7 @@ OnTouch2:
next;
mes "'^660000Now I wonder if the scene is describing an accident that really happened in the past. If there was such big fire, I'm sure I can verify it in a newspaper.";
mes "...I just want to know it out of curiosity...^000000'";
- set barmunt_crow,7;
+ barmunt_crow = 7;
changequest 2064,2065;
close;
}
@@ -2992,7 +2992,7 @@ yuno_in04,117,102,3 script Old News Scrapbook CLEAR_NPC,{
next;
mes "...................................";
next;
- set .@newspp,rand(1,10);
+ .@newspp = rand(1,10);
if ((.@newspp == 1) || (.@newspp == 2)) {
mes "- Page 1 -";
mes "Renowned Assassin Sieglinde: 'I serve you only.'";
@@ -3072,7 +3072,7 @@ yuno_in04,117,102,3 script Old News Scrapbook CLEAR_NPC,{
mes "["+ strcharinfo(0) +"]";
mes "I can't believe this is happening!";
mes "Think hard... It was ^FF0000an area connected to a northern cave^000000.";
- set barmunt_crow,8;
+ barmunt_crow = 8;
changequest 2065,2066;
close;
}
@@ -3195,7 +3195,7 @@ yuno_in04,169,123,3 script Suspicious Man#oliver_h 4_M_ATEIL,{
close2;
specialeffect2 EF_ENHANCE;
delitem 7795,1; //Mami_Photo_Album
- set barmunt_crow,14;
+ barmunt_crow = 14;
getitem 7796,1; //Author_Autograph
getitem 7797,1; //Author_Memo
getitem 617,1; //Old_Violet_Box
@@ -3321,7 +3321,7 @@ yuno_in04,169,123,3 script Suspicious Man#oliver_h 4_M_ATEIL,{
next;
mes "["+ strcharinfo(0) +"]";
mes "That was pretty fun, but also pretty tiring. Where should I head for my next adventure?";
- set barmunt_crow,15;
+ barmunt_crow = 15;
completequest 2068;
close2;
cutin "",255;
@@ -3527,7 +3527,7 @@ yuno_in04,167,120,3 script Worn-out Book#garas HIDDEN_NPC,{
mes "[Oliver Hilpert]";
mes "Okay... I see...";
emotion e_sob;
- set barmunt_crow,13;
+ barmunt_crow = 13;
close2;
cutin "",255;
end;
@@ -3565,7 +3565,7 @@ yuno_in04,167,120,3 script Worn-out Book#garas HIDDEN_NPC,{
close2;
specialeffect2 EF_ENHANCE;
delitem 7795,1; //Mami_Photo_Album
- set barmunt_crow,14;
+ barmunt_crow = 14;
getitem 7796,1; //Author_Autograph
getitem 7797,1; //Author_Memo
getitem 617,1; //Old_Violet_Box
@@ -3699,7 +3699,7 @@ OnTouch:
mes "[Male]";
mes "Eva!! We don't have time to save all of them! Come here!";
if (barmunt_crow == 4) {
- set barmunt_crow,5;
+ barmunt_crow = 5;
}
sc_start SC_BLIND,600000,0,10000;
close2;
@@ -3743,7 +3743,7 @@ OnTouch:
mes "^660000They seemed completely oblivious of your presence, and headed north.^000000";
next;
mes "^660000You were looking at their backs as they left, and then noticed that you were holding the book you were reading in your hands. Then....^000000";
- set barmunt_crow,6;
+ barmunt_crow = 6;
specialeffect2 EF_FLASHER;
close2;
warp "yuno_in04",100,3;
@@ -3790,7 +3790,7 @@ OnTouch:
next;
mes "^660000He could not finish his words before flames swallowed him up. At the same time, you were...^000000";
specialeffect EF_METEORSTORM;
- set barmunt_crow,12;
+ barmunt_crow = 12;
close2;
warp "yuno_in04",108,57;
}
@@ -3959,7 +3959,7 @@ cave,82,97,3 script Cave Settler#g1 4_M_CAVE1,3,3,{
next;
mes "^660000The stern-looking man examined you, and then stepped to the side, allowing you to pass.";
mes "You clenched your fists in nervousness, and then started up the dark stairwell.^000000";
- set barmunt_crow,9;
+ barmunt_crow = 9;
close2;
warp "cave",82,105;
end;
@@ -4048,7 +4048,7 @@ OnTouch:
next;
mes "^660000The stern-looking man examined you, and then stepped to the side, allowing you to pass.";
mes "You clenched your fists in nervousness, and then started up the dark stairwell.^000000";
- set barmunt_crow,9;
+ barmunt_crow = 9;
close2;
warp "cave",82,105;
end;
@@ -4200,7 +4200,7 @@ cave,22,186,3 script Monsterous Man#zid 4_M_MUT1,{
next;
break;
case 4:
- set .@exitloop,1;
+ .@exitloop = 1;
break;
}
if (.@exitloop) break;
@@ -4247,7 +4247,7 @@ cave,22,186,3 script Monsterous Man#zid 4_M_MUT1,{
mes "^660000Zid turned his head away from you. You're still not sure if all of this is really happening. It's all so surreal...^000000";
next;
mes "^660000Frustrated by the conversation with Zid, you have decided to go back to Morroc and forget everything.^000000";
- set barmunt_crow,10;
+ barmunt_crow = 10;
changequest 2066,2067;
close;
}
@@ -4354,7 +4354,7 @@ prontera,153,353,4 script Messenger#prince1 8W_SOLDIER,{
mes "The King's position cannot";
mes "be empty for too long.";
mes "Now, the debate over selecting our next King is actively in progress. Please give us a hand with this, for the tomorrow of Rune Midgarts.";
- set nk_prince,1;
+ nk_prince = 1;
setquest 10000;
close;
case 2:
@@ -4386,7 +4386,7 @@ prontera,153,353,4 script Messenger#prince1 8W_SOLDIER,{
mes "Please...Please...";
mes "Lend a hand for the future";
mes "of the Rune Midgarts kingdom.";
- set nk_prince,1;
+ nk_prince = 1;
setquest 10000;
close;
}
@@ -4421,7 +4421,7 @@ prontera,153,353,4 script Messenger#prince1 8W_SOLDIER,{
mes "you have to do in court.";
mes "I hope you will help bring";
mes "peace to Rune Midgarts.";
- set nk_prince,1;
+ nk_prince = 1;
setquest 10000;
close;
}
@@ -4549,13 +4549,13 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
next;
switch(select("Strength and characteristics of the monster.:Efficiency of the hunt.:What we can get from the hunt.")) {
case 1:
- set .@int,.@int+10;
+ .@int += 10;
break;
case 2:
- set .@solid,.@solid+10;
+ .@solid += 10;
break;
case 3:
- set .@brave,.@brave+10;
+ .@brave += 10;
break;
}
mes "[Inspector]";
@@ -4564,13 +4564,13 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
next;
switch(select("Keep fighting until we can do it.:Find a new place and try differently.:Stop hunting and replenish.")) {
case 1:
- set .@brave,.@brave+10;
+ .@brave += 10;
break;
case 2:
- set .@int,.@int+10;
+ .@int += 10;
break;
case 3:
- set .@solid,.@solid+10;
+ .@solid += 10;
break;
}
mes "[Inspector]";
@@ -4578,13 +4578,13 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
next;
switch(select("Share it as agreed prior.:I don't want to care for sharing.:Give it to the member that needs it.")) {
case 1:
- set .@int,.@int+10;
+ .@int += 10;
break;
case 2:
- set .@solid,.@solid+10;
+ .@solid += 10;
break;
case 3:
- set .@brave,.@brave+10;
+ .@brave += 10;
break;
}
mes "[Inspector]";
@@ -4593,13 +4593,13 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
next;
switch(select("Priest, healer class.:Hunter, damage dealer.:Lord Knight, tanker.")) {
case 1:
- set .@int,.@int+10;
+ .@int += 10;
break;
case 2:
- set .@brave,.@brave+10;
+ .@brave += 10;
break;
case 3:
- set .@solid,.@solid+10;
+ .@solid += 10;
break;
}
mes "[Inspector]";
@@ -4607,13 +4607,13 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
next;
switch(select("A strong person.:An experienced person.:A kind person.")) {
case 1:
- set .@brave,.@brave+10;
+ .@brave += 10;
break;
case 2:
- set .@int,.@int+10;
+ .@int += 10;
break;
case 3:
- set .@solid,.@solid+10;
+ .@solid += 10;
break;
}
mes "[Inspector]";
@@ -4622,13 +4622,13 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
next;
switch(select("Relationships with people.:Plenty of information gathering.:Discernment and driving force.")) {
case 1:
- set .@solid,.@solid+10;
+ .@solid += 10;
break;
case 2:
- set .@int,.@int+10;
+ .@int += 10;
break;
case 3:
- set .@brave,.@brave+10;
+ .@brave += 10;
break;
}
mes "[Inspector]";
@@ -4636,13 +4636,13 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
next;
switch(select("Refer to a past failure.:Hesitating is the worst thing.:You are not alone.")) {
case 1:
- set .@int,.@int+10;
+ .@int += 10;
break;
case 2:
- set .@brave,.@brave+10;
+ .@brave += 10;
break;
case 3:
- set .@solid,.@solid+10;
+ .@solid += 10;
break;
}
mes "[Inspector]";
@@ -4651,13 +4651,13 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
next;
switch(select("Growth of oneself.:World peace.:The pursuit of truth.")) {
case 1:
- set .@brave,.@brave+10;
+ .@brave += 10;
break;
case 2:
- set .@solid,.@solid+10;
+ .@solid += 10;
break;
case 3:
- set .@int,.@int+10;
+ .@int += 10;
break;
}
mes "[Inspector]";
@@ -4667,13 +4667,13 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
next;
switch(select("Map:Flint:Weapon")) {
case 1:
- set .@int,.@int+10;
+ .@int += 10;
break;
case 2:
- set .@solid,.@solid+10;
+ .@solid += 10;
break;
case 3:
- set .@brave,.@brave+10;
+ .@brave += 10;
break;
}
mes "[Inspector]";
@@ -4681,13 +4681,13 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
next;
switch(select("Love story.:Heroic epic.:Religious tale.")) {
case 1:
- set .@solid,.@solid+10;
+ .@solid += 10;
break;
case 2:
- set .@brave,.@brave+10;
+ .@brave += 10;
break;
case 3:
- set .@int,.@int+10;
+ .@int += 10;
break;
}
mes "[Inspector]";
@@ -4697,13 +4697,13 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
next;
switch(select("Attack first.:Observe from a distance.:Flee away.")) {
case 1:
- set .@brave,.@brave+10;
+ .@brave += 10;
break;
case 2:
- set .@int,.@int+10;
+ .@int += 10;
break;
case 3:
- set .@solid,.@solid+10;
+ .@solid += 10;
break;
}
mes "[Inspector]";
@@ -4712,13 +4712,13 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
next;
switch(select("Dominate countries by reinforcing militia.:Advancement of economy and technology.:Keep public security firm.")) {
case 1:
- set .@brave,.@brave+10;
+ .@brave += 10;
break;
case 2:
- set .@int,.@int+10;
+ .@int += 10;
break;
case 3:
- set .@solid,.@solid+10;
+ .@solid += 10;
break;
}
mes "[Inspector]";
@@ -4803,7 +4803,7 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
mes "[Inspector]";
mes "Ah, you've spent a long time with me. You must be very tired. Before starting work, if you need some preparation, take off now and come back to me later. I will be waiting here for you.";
next;
- set nk_prince,4;
+ nk_prince = 4;
changequest 10000,10003;
close;
}
@@ -4824,7 +4824,7 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
mes "bring 2 ^ff0000Reins^000000.";
mes "If you can do this mission,";
mes "I will respect your strength.";
- set nk_prince,2;
+ nk_prince = 2;
changequest 10000,10001;
next;
mes "[Inspector]";
@@ -4850,7 +4850,7 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
mes "[Inspector]";
mes "Alright, good. You proved your strength for yourself. Now you passed one exam. All but one.";
delitem 1064,2; //Reins
- set nk_prince,3;
+ nk_prince = 3;
changequest 10001,10002;
next;
mes "[Inspector]";
@@ -4887,13 +4887,13 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
next;
switch(select("Strength and characteristics of the monster.:Efficiency of the hunt.:What we can get from the hunt.")) {
case 1:
- set .@int,.@int+10;
+ .@int += 10;
break;
case 2:
- set .@solid,.@solid+10;
+ .@solid += 10;
break;
case 3:
- set .@brave,.@brave+10;
+ .@brave += 10;
break;
}
mes "[Inspector]";
@@ -4902,13 +4902,13 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
next;
switch(select("Keep fighting until we can do it.:Find a new place and try differently.:Stop hunting and replenish.")) {
case 1:
- set .@brave,.@brave+10;
+ .@brave += 10;
break;
case 2:
- set .@int,.@int+10;
+ .@int += 10;
break;
case 3:
- set .@solid,.@solid+10;
+ .@solid += 10;
break;
}
mes "[Inspector]";
@@ -4916,13 +4916,13 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
next;
switch(select("Share it as agreed prior.:I don't want to care for sharing.:Give it to the member that needs it.")) {
case 1:
- set .@int,.@int+10;
+ .@int += 10;
break;
case 2:
- set .@solid,.@solid+10;
+ .@solid += 10;
break;
case 3:
- set .@brave,.@brave+10;
+ .@brave += 10;
break;
}
mes "[Inspector]";
@@ -4931,13 +4931,13 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
next;
switch(select("Priest, healer class.:Hunter, damage dealer.:Lord Knight, tanker.")) {
case 1:
- set .@int,.@int+10;
+ .@int += 10;
break;
case 2:
- set .@brave,.@brave+10;
+ .@brave += 10;
break;
case 3:
- set .@solid,.@solid+10;
+ .@solid += 10;
break;
}
mes "[Inspector]";
@@ -4945,13 +4945,13 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
next;
switch(select("A strong person.:An experienced person.:A kind person.")) {
case 1:
- set .@brave,.@brave+10;
+ .@brave += 10;
break;
case 2:
- set .@int,.@int+10;
+ .@int += 10;
break;
case 3:
- set .@solid,.@solid+10;
+ .@solid += 10;
break;
}
mes "[Inspector]";
@@ -4960,13 +4960,13 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
next;
switch(select("Relationships with people.:Plenty of information gathering.:Discernment and driving force.")) {
case 1:
- set .@solid,.@solid+10;
+ .@solid += 10;
break;
case 2:
- set .@int,.@int+10;
+ .@int += 10;
break;
case 3:
- set .@brave,.@brave+10;
+ .@brave += 10;
break;
}
mes "[Inspector]";
@@ -4974,13 +4974,13 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
next;
switch(select("Refer to a past failure.:Hesitating is the worst thing.:You are not alone.")) {
case 1:
- set .@int,.@int+10;
+ .@int += 10;
break;
case 2:
- set .@brave,.@brave+10;
+ .@brave += 10;
break;
case 3:
- set .@solid,.@solid+10;
+ .@solid += 10;
break;
}
mes "[Inspector]";
@@ -4989,13 +4989,13 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
next;
switch(select("Growth of oneself.:World peace.:The pursuit of truth.")) {
case 1:
- set .@brave,.@brave+10;
+ .@brave += 10;
break;
case 2:
- set .@solid,.@solid+10;
+ .@solid += 10;
break;
case 3:
- set .@int,.@int+10;
+ .@int += 10;
break;
}
mes "[Inspector]";
@@ -5005,13 +5005,13 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
next;
switch(select("Map:Flint:Weapon")) {
case 1:
- set .@int,.@int+10;
+ .@int += 10;
break;
case 2:
- set .@solid,.@solid+10;
+ .@solid += 10;
break;
case 3:
- set .@brave,.@brave+10;
+ .@brave += 10;
break;
}
mes "[Inspector]";
@@ -5019,13 +5019,13 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
next;
switch(select("Love story.:Heroic epic.:Religious tale.")) {
case 1:
- set .@solid,.@solid+10;
+ .@solid += 10;
break;
case 2:
- set .@brave,.@brave+10;
+ .@brave += 10;
break;
case 3:
- set .@int,.@int+10;
+ .@int += 10;
break;
}
mes "[Inspector]";
@@ -5035,13 +5035,13 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
next;
switch(select("Attack first.:Observe from a distance.:Flee away.")) {
case 1:
- set .@brave,.@brave+10;
+ .@brave += 10;
break;
case 2:
- set .@int,.@int+10;
+ .@int += 10;
break;
case 3:
- set .@solid,.@solid+10;
+ .@solid += 10;
break;
}
mes "[Inspector]";
@@ -5050,13 +5050,13 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
next;
switch(select("Dominate countries by reinforcing militia.:Advancement of economy and technology.:Keep public security firm.")) {
case 1:
- set .@brave,.@brave+10;
+ .@brave += 10;
break;
case 2:
- set .@int,.@int+10;
+ .@int += 10;
break;
case 3:
- set .@solid,.@solid+10;
+ .@solid += 10;
break;
}
mes "[Inspector]";
@@ -5141,7 +5141,7 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
mes "[Inspector]";
mes "Ah, you've spent a long time with me. You must be very tired. Before starting work, if you need some preparation, take off now and come back to me later. I will be waiting here for you.";
next;
- set nk_prince,4;
+ nk_prince = 4;
changequest 10002,10003;
close;
}
@@ -5176,7 +5176,7 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
mes "[Inspector]";
mes "So this time, the Court decided to change its ways, giving the opportunity to appraise the candidates to famous and devoted adventurers like yourself. That's why you are here.";
next;
- set .@prince,1;
+ .@prince = 1;
break;
case 2:
mes "[Inspector]";
@@ -5215,7 +5215,7 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
mes "[Inspector]";
mes "Please behave accordingly.";
mes "Thanks for your effort.";
- set nk_prince,5;
+ nk_prince = 5;
completequest 10003;
setquest 10005;
setquest 10006;
@@ -5283,7 +5283,7 @@ prt_castle,117,163,5 script Inspector#prince 4_M_SAGE_C,{
else if (BaseLevel >= 99) getexp 1100000,0;
else getexp 300000,0;
}
- set nk_prince,8;
+ nk_prince = 8;
completequest 10025;
close;
}
@@ -5380,7 +5380,7 @@ prt_castle,272,375,4 script Prince 4_M_SITDOWN,{
mes "[Erich]";
mes "That's enough.";
mes "You can ask information about me to my servant. I will take a rest.";
- set nk_prince,6;
+ nk_prince = 6;
completequest 10011;
if (questprogress(10005) == 2 && questprogress(10006) == 2 && questprogress(10007) == 2 && questprogress(10008) == 2
&& questprogress(10009) == 2 && questprogress(10010) == 2 && questprogress(10011) == 2) {
@@ -5541,7 +5541,7 @@ prt_castle,339,202,3 script Prince#urgen 4_M_4THPRIN1,{
next;
mes "[Urugen]";
mes "I became timid, gradually, in phases. I feel awe from men and women both, regardless of sexuality.";
- set .@p_a,1;
+ .@p_a = 1;
next;
break;
case 2:
@@ -5550,7 +5550,7 @@ prt_castle,339,202,3 script Prince#urgen 4_M_4THPRIN1,{
next;
mes "[Urugen]";
mes "The presence of such a gorgeous king like me will be the light for people and the hope and reason for their lives.";
- set .@p_b,1;
+ .@p_b = 1;
next;
break;
case 3:
@@ -5559,7 +5559,7 @@ prt_castle,339,202,3 script Prince#urgen 4_M_4THPRIN1,{
next;
mes "[Urugen]";
mes "In every case, there is an exception, like you in this court. Can you stand away from me a bit more? Because of your odor, I can hardly breathe.";
- set .@p_c,1;
+ .@p_c = 1;
next;
break;
case 4:
@@ -5809,7 +5809,7 @@ prt_castle,391,205,3 script Prince#poe 4_M_6THPRIN1,{
mes "Ah, of course, 7 is the middle number. 7 means no success or no failure. The goal of this game is to give the right answer 2 times in a row. Let's begin!";
next;
while(.@wincount < 2) {
- set .@card,rand(1,13);
+ .@card = rand(1,13);
mes "[Poe]";
mes "Yes, now choose one";
mes "from higher and lower.";
@@ -5825,7 +5825,7 @@ prt_castle,391,205,3 script Prince#poe 4_M_6THPRIN1,{
mes "It is..." + .@card + "!!";
next;
if (.@card > 7) {
- set .@wincount,.@wincount+1;
+ ++.@wincount;
mes "[Poe]";
mes "Whooah, you gave the right answer!";
if (.@wincount == 2) {
@@ -5860,7 +5860,7 @@ prt_castle,391,205,3 script Prince#poe 4_M_6THPRIN1,{
mes "It is..." + .@card + "!!";
next;
if (.@card < 7) {
- set .@wincount,.@wincount+1;
+ ++.@wincount;
mes "[Poe]";
mes "Whooah, you gave the right answer!";
if (.@wincount == 2) {
@@ -5920,7 +5920,7 @@ prt_castle,391,205,3 script Prince#poe 4_M_6THPRIN1,{
mes "[Poe]";
mes "Hey it's cool, huh?";
mes "We have same tastes, haven't we?";
- set .@p_a,1;
+ .@p_a = 1;
next;
break;
case 2:
@@ -5943,7 +5943,7 @@ prt_castle,391,205,3 script Prince#poe 4_M_6THPRIN1,{
mes "Ah, those last words";
mes "are off-the-record.";
mes "I don't want to be bothered by my family.";
- set .@p_b,1;
+ .@p_b = 1;
next;
break;
case 3:
@@ -5956,7 +5956,7 @@ prt_castle,391,205,3 script Prince#poe 4_M_6THPRIN1,{
next;
mes "[Poe]";
mes "But many say, about my character, that I am addicted to gambling. I am just full of a challenging spirit and I like raking in money! I am a free-spirited normal man.";
- set .@p_c,1;
+ .@p_c = 1;
next;
break;
case 4:
@@ -6192,7 +6192,7 @@ prt_castle,314,373,4 script Prince#eisen 4_M_1STPRIN1,{
next;
mes "[Ahrum]";
mes "We were close friends. Unlike me, he is kind and compassionate; a distinct official of public affairs. When he has to be strict, he turns strict with everyone.";
- set nkprince_eisen,4;
+ nkprince_eisen = 4;
close;
}
else if (nkprince_eisen == 4) {
@@ -6256,7 +6256,7 @@ prt_castle,314,373,4 script Prince#eisen 4_M_1STPRIN1,{
mes "[Ernst]";
mes "Now, let me return to my room. Keep up the good work, appraiser.";
donpcevent "Prince#another_ern::OnDisable";
- set nkprince_eisen,6;
+ nkprince_eisen = 6;
close;
}
else if (nkprince_eisen == 6) {
@@ -6268,7 +6268,7 @@ prt_castle,314,373,4 script Prince#eisen 4_M_1STPRIN1,{
mes "I worry about your words...";
mes "What do you want to say this time?...";
mes "Have you seen him, appraiser?";
- set nkprince_eisen,7;
+ nkprince_eisen = 7;
changequest 10012,10016;
close;
}
@@ -6306,7 +6306,7 @@ prt_castle,314,373,4 script Prince#eisen 4_M_1STPRIN1,{
next;
mes "[Ahrum]";
mes "I am very sorry, but I want to be left alone. Leave me alone, right now!";
- set nkprince_eisen,9;
+ nkprince_eisen = 9;
close2;
warp "prt_castle",318,273;
end;
@@ -6387,7 +6387,7 @@ prt_castle,314,373,4 script Prince#eisen 4_M_1STPRIN1,{
next;
mes "(dagger thrusting sound)";
specialeffect EF_HIT2;
- set nkprince_eisen,14;
+ nkprince_eisen = 14;
donpcevent "Prince#another_ern::OnDisable";
donpcevent "Prince#another_ern1::OnEnable";
close;
@@ -6476,8 +6476,8 @@ prt_castle,314,373,4 script Prince#eisen 4_M_1STPRIN1,{
mes "[Ernst]";
mes "Brotherrrrrrrr!!!";
next;
- set nkprince_eisen,15;
- set nk_prince,7;
+ nkprince_eisen = 15;
+ nk_prince = 7;
donpcevent "Prince#another_ern1::OnDisable";
changequest 10024,10025;
close2;
@@ -6615,10 +6615,10 @@ prt_castle,314,373,4 script Prince#eisen 4_M_1STPRIN1,{
mes "Okay...";
mes "as you please.";
if (nkprince_eisen == 2) {
- set nkprince_eisen,3;
+ nkprince_eisen = 3;
}
else {
- set nkprince_eisen,1;
+ nkprince_eisen = 1;
}
completequest 10005;
if (questprogress(10005) == 2 && questprogress(10006) == 2 && questprogress(10007) == 2 && questprogress(10008) == 2
@@ -6674,7 +6674,7 @@ prt_castle,368,312,4 script Prince#ern 4_M_2NDPRIN1,{
next;
mes "[Ernst]";
mes "It seems that even brother Ahrum hasn't met with him. Hmm...";
- set nkprince_eisen,7;
+ nkprince_eisen = 7;
changequest 10012,10016;
close;
}
@@ -6686,7 +6686,7 @@ prt_castle,368,312,4 script Prince#ern 4_M_2NDPRIN1,{
next;
mes "[Ernst]";
mes "Hmm...I don't have any more words to say. Moreover, Ahrum seems to be strange these days. I worry about that. I hope it's not a big deal.";
- set nkprince_eisen,10;
+ nkprince_eisen = 10;
changequest 10017,10004;
close;
}
@@ -6802,10 +6802,10 @@ prt_castle,368,312,4 script Prince#ern 4_M_2NDPRIN1,{
mes "[Ernst]";
mes "Yes, then, see you later.";
if (nkprince_eisen == 1) {
- set nkprince_eisen,3;
+ nkprince_eisen = 3;
}
else {
- set nkprince_eisen,2;
+ nkprince_eisen = 2;
}
completequest 10006;
if (questprogress(10005) == 2 && questprogress(10006) == 2 && questprogress(10007) == 2 && questprogress(10008) == 2
@@ -6888,7 +6888,7 @@ OnTouch:
mes "[" + strcharinfo(0) + "]";
mes "(Is this the conspiracy of two families? What the hell..)";
changequest 10016,10017;
- set nkprince_eisen,8;
+ nkprince_eisen = 8;
close;
}
}
@@ -6996,7 +6996,7 @@ prt_castle,314,371,0 script Prince#another_ern 4_M_2NDPRIN1,{
next;
mes "(dagger thrusting sound)";
specialeffect EF_HIT2;
- set nkprince_eisen,14;
+ nkprince_eisen = 14;
donpcevent "Prince#another_ern::OnDisable";
donpcevent "Prince#another_ern1::OnEnable";
close;
@@ -7063,7 +7063,7 @@ prt_castle,314,371,0 script Prince#another_ern 4_M_2NDPRIN1,{
mes "[Ernst]";
mes "Now, let me return to my room. Keep up the good work, appraiser.";
donpcevent "Prince#another_ern::OnDisable";
- set nkprince_eisen,6;
+ nkprince_eisen = 6;
close;
}
@@ -7163,8 +7163,8 @@ prt_castle,314,372,0 script Prince#another_ern1 4_M_2NDPRIN1,{
mes "[Ernst]";
mes "Brotherrrrrrrr!!!";
next;
- set nkprince_eisen,15;
- set nk_prince,7;
+ nkprince_eisen = 15;
+ nk_prince = 7;
donpcevent "Prince#another_ern1::OnDisable";
changequest 10024,10025;
close2;
@@ -7221,7 +7221,7 @@ prt_castle,272,372,1 script Prince#eisen1 4_M_1STPRIN1,{
if (questprogress(10018) == 2 && questprogress(10019) == 2 && questprogress(10020) == 2
&& questprogress(10021) == 2 && questprogress(10022) == 2) {
setquest 10023;
- set nkprince_eisen,11;
+ nkprince_eisen = 11;
}
donpcevent "Prince#eisen1::OnDisable";
close;
@@ -7275,7 +7275,7 @@ prt_castle,336,202,7 script Prince#eisen2 4_M_1STPRIN1,{
if (questprogress(10018) == 2 && questprogress(10019) == 2 && questprogress(10020) == 2
&& questprogress(10021) == 2 && questprogress(10022) == 2) {
setquest 10023;
- set nkprince_eisen,11;
+ nkprince_eisen = 11;
}
donpcevent "Prince#eisen2::OnDisable";
close;
@@ -7326,7 +7326,7 @@ prt_castle,286,201,7 script Prince#eisen3 4_M_1STPRIN1,{
if (questprogress(10018) == 2 && questprogress(10019) == 2 && questprogress(10020) == 2
&& questprogress(10021) == 2 && questprogress(10022) == 2) {
setquest 10023;
- set nkprince_eisen,11;
+ nkprince_eisen = 11;
}
donpcevent "Prince#eisen3::OnDisable";
close;
@@ -7386,7 +7386,7 @@ prt_castle,388,205,6 script Prince#eisen4 4_M_1STPRIN1,{
if (questprogress(10018) == 2 && questprogress(10019) == 2 && questprogress(10020) == 2
&& questprogress(10021) == 2 && questprogress(10022) == 2) {
setquest 10023;
- set nkprince_eisen,11;
+ nkprince_eisen = 11;
}
donpcevent "Prince#eisen4::OnDisable";
close;
@@ -7446,7 +7446,7 @@ prt_castle,364,372,1 script Prince#eisen5 4_M_1STPRIN1,{
if (questprogress(10018) == 2 && questprogress(10019) == 2 && questprogress(10020) == 2
&& questprogress(10021) == 2 && questprogress(10022) == 2) {
setquest 10023;
- set nkprince_eisen,11;
+ nkprince_eisen = 11;
}
donpcevent "Prince#eisen5::OnDisable";
close;
@@ -7534,7 +7534,7 @@ prt_castle,368,310,1 script Prince#eisen6 4_M_1STPRIN1,{
mes "[Ernst]";
mes "Ahrum... Ahrum...";
changequest 10023,10024;
- set nkprince_eisen,13;
+ nkprince_eisen = 13;
donpcevent "Prince#eisen6::OnDisable";
close;
@@ -7555,11 +7555,11 @@ prt_castle,318,276,0 script #eisen WARPNPC,1,1,{
OnTouch:
if ((nkprince_eisen == 4) || (nkprince_eisen == 5)) {
donpcevent "Prince#another_ern::OnEnable";
- set nkprince_eisen,5;
+ nkprince_eisen = 5;
warp "prt_castle",318,368;
}
else if ((nkprince_eisen == 9) || (nkprince_eisen == 10) || (nkprince_eisen == 11) || (nkprince_eisen == 12)) {
- set .@armkoe,rand(1,4);
+ .@armkoe = rand(1,4);
if (.@armkoe == 1) {
mes "-You can hear Ahrum's voice";
mes "before going into his room";
@@ -7745,7 +7745,7 @@ OnTouch:
mes "[" + strcharinfo(0) + "]";
mes "Who is going to have the throne instead of him?";
next;
- set nk_prince,9;
+ nk_prince = 9;
mes "[" + strcharinfo(0) + "]";
mes "Oh no...";
close;
diff --git a/npc/quests/quests_moscovia.txt b/npc/quests/quests_moscovia.txt
index 9303eda67..eeaa34276 100644
--- a/npc/quests/quests_moscovia.txt
+++ b/npc/quests/quests_moscovia.txt
@@ -174,10 +174,10 @@ moscovia,171,71,3 script Berbayeff#npc 4_M_RUSMAN2,{
mes "And on that day,";
mes "I'll definitely go up to that";
mes "island... and verify it with my own eyes!";
- set mos_whale_edq,1;
+ mos_whale_edq = 1;
close;
} else if (mos_whale_edq == 1) {
- set .@speak,rand(1,5);
+ .@speak = rand(1,5);
if (.@speak < 3) {
mes "[Berbayeff]";
mes "Clearly, I want to prove";
@@ -388,7 +388,7 @@ moscovia,135,49,5 script Mr. Ibanoff#npc 4_M_RUSBALD,{
mes "adventure story... eh? ~";
mes "If you ever need anything,";
mes "come talk to me whenever, hahaha!";
- set mos_whale_edq,2;
+ mos_whale_edq = 2;
close;
}
if (mos_whale_edq == 2) {
@@ -441,7 +441,7 @@ moscovia,135,49,5 script Mr. Ibanoff#npc 4_M_RUSBALD,{
mes "When you've prepared all the";
mes "materials, bring them to me. I'll";
mes "repair the ship.";
- set mos_whale_edq,3;
+ mos_whale_edq = 3;
close;
}
emotion e_ag;
@@ -472,7 +472,7 @@ moscovia,135,49,5 script Mr. Ibanoff#npc 4_M_RUSBALD,{
delitem 7317,10; //Screw
delitem 7325,5; //Tube
delitem 7312,10; //Jubilee
- set mos_whale_edq,4;
+ mos_whale_edq = 4;
mes "[Mr. Ibanoff]";
mes "Okay, we are at the ready.";
mes "When would you like to depart?";
@@ -592,7 +592,7 @@ moscovia,135,49,5 script Mr. Ibanoff#npc 4_M_RUSBALD,{
mes "And if you have any plans to go";
mes "back to the island, I want to go";
mes "together with you! Eh? Hahaha!";
- set mos_whale_edq,16;
+ mos_whale_edq = 16;
close;
} else if (mos_whale_edq < 18) {
mes "[Mr. Ibanoff]";
@@ -629,7 +629,7 @@ moscovia,135,49,5 script Mr. Ibanoff#npc 4_M_RUSBALD,{
next;
mes "[Mr. Ibanoff]";
mes "Again, let's get the ship ready and sail before the sun sets!";
- set mos_whale_edq,19;
+ mos_whale_edq = 19;
close;
}
mes "[Mr. Ibanoff]";
@@ -665,7 +665,7 @@ moscovia,135,49,5 script Mr. Ibanoff#npc 4_M_RUSBALD,{
mes "I don't care... Wherever you have";
mes "been, it's very good to see you";
mes "again.";
- set mos_whale_edq,19;
+ mos_whale_edq = 19;
next;
mes "[Mr. Ibanoff]";
mes "I can guess you'd like to go to";
@@ -691,7 +691,7 @@ moscovia,135,49,5 script Mr. Ibanoff#npc 4_M_RUSBALD,{
mes "directions. Let's leave";
mes "immediately, as soon as you are";
mes "ready.";
- set mos_whale_edq,33;
+ mos_whale_edq = 33;
close;
} else if (mos_whale_edq < 39) {
mes "[Mr. Ibanoff]";
@@ -743,13 +743,13 @@ moscovia,135,49,5 script Mr. Ibanoff#npc 4_M_RUSBALD,{
mes "[Mr. Ibanoff]";
mes "What's going on?";
mes "You should ride a ship now? Let's ready to leave hurry up.";
- set mos_whale_edq,4;
+ mos_whale_edq = 4;
close;
} else if (mos_whale_edq > 200 && mos_whale_edq < 300) {
mes "[Mr. Ibanoff]";
mes "What's going on?";
mes "You should ride a ship now? Let's ready to leave hurry up.";
- set mos_whale_edq,19;
+ mos_whale_edq = 19;
close;
}
if ((gettime(3) >= 0 && gettime(3) < 3) || (gettime(3) >= 6 && gettime(3) < 9) || (gettime(3) >= 12 && gettime(3) < 15) || (gettime(3) >= 18 && gettime(3) < 21)) {
@@ -809,7 +809,7 @@ mosk_ship,98,110,3 script Mr. Ibanoff#npc2 4_M_RUSBALD,{
mes "[Mr. Ibanoff]";
mes "At first, hold the rudder to go";
mes "forward, to the east.";
- set mos_whale_edq,5;
+ mos_whale_edq = 5;
close;
} else if (mos_whale_edq == 5) {
mes "[Mr. Ibanoff]";
@@ -818,13 +818,13 @@ mosk_ship,98,110,3 script Mr. Ibanoff#npc2 4_M_RUSBALD,{
mes "East.";
close;
} else if (mos_whale_edq == 6 || mos_whale_edq == 21) {
- set .@r,(mos_whale_edq == 21)?3:4;
+ .@r = (mos_whale_edq == 21)?3:4;
if (rand(1,.@r) == 3) {
mes "[Mr. Ibanoff]";
mes "Hm. The sea currents have changed.";
mes "Adjust the rudder forward to the";
mes "North, to follow the currents.";
- set mos_whale_edq,mos_whale_edq+1;
+ ++mos_whale_edq;
close;
}
mes "[Mr. Ibanoff]";
@@ -862,7 +862,7 @@ mosk_ship,98,110,3 script Mr. Ibanoff#npc2 4_M_RUSBALD,{
mes "that... Hey! You...";
mes "Go around the deck to look more";
mes "carefully! Go!";
- set mos_whale_edq,12;
+ mos_whale_edq = 12;
donpcevent "#findship::OnEnable";
close;
} else if (mos_whale_edq == 12) {
@@ -892,7 +892,7 @@ mosk_ship,98,110,3 script Mr. Ibanoff#npc2 4_M_RUSBALD,{
mes "[Mr. Ibanoff]";
mes "At first, hold the rudder to go";
mes "forward, to the east.";
- set mos_whale_edq,20;
+ mos_whale_edq = 20;
close;
} else if (mos_whale_edq == 20) {
mes "[Mr. Ibanoff]";
@@ -936,7 +936,7 @@ mosk_ship,98,110,3 script Mr. Ibanoff#npc2 4_M_RUSBALD,{
mes "can return without problems.";
mes "I will pray for you.";
mes "See you next time.";
- set mos_whale_edq,30;
+ mos_whale_edq = 30;
close2;
warp "mosk_fild01",93,94;
end;
@@ -952,13 +952,13 @@ mosk_ship,98,110,3 script Mr. Ibanoff#npc2 4_M_RUSBALD,{
S_D_1:
if (rand(1,getarg(0)) == 3) {
- set .@ship2,rand(4);
+ .@ship2 = rand(4);
setarray .@d$[0],"East","West","South","North";
mes "[Mr. Ibanoff]";
mes "Hm. The sea currents have changed.";
mes "Adjust the rudder forward to the";
mes .@d$[.@ship2]+", to follow the currents.";
- set mos_whale_edq,getarg(.@ship2+1);
+ mos_whale_edq = getarg(.@ship2+1);
close;
}
mes "[Mr. Ibanoff]";
@@ -969,7 +969,7 @@ S_D_1:
mes "[Mr. Ibanoff]";
mes "We had better keep sailing on this heading for now.";
close;
-
+
S_D_2:
setarray .@d$[0],"East","West","South","North";
mes "[Mr. Ibanoff]";
@@ -1117,22 +1117,22 @@ mosk_ship,101,111,4 script rudder#ship HIDDEN_NPC,{
mes "I'll forgive you this once, but go";
mes "back now.";
close2;
- //set mos_whale_edq,4; lol, why is this here?
+ //mos_whale_edq = 4; lol, why is this here?
warp "moscovia",162,56;
end;
-
+
S_Rud1:
mes "Which way?";
next;
setarray .@d$[1],"East","West","South","North";
- set .@j, select(implode(.@d$,":")) - 1;
+ .@j = select(implode(.@d$,":")) - 1;
if (.@j == getarg(0)) {
mes "[Mr. Ibanoff]";
mes "Good. Firstly, we should";
mes "keep heading "+strtolower(.@d$[getarg(0)])+" this way.";
mes "When I give the order,";
mes "please adjust the rudder again.";
- if (getarg(1) == 2) set .@r,rand(1,4);
+ if (getarg(1) == 2) .@r = rand(1,4);
if (getarg(1) == 2 && .@r == 3) {
next;
mes "[Mr. Ibanoff]";
@@ -1145,10 +1145,10 @@ S_Rud1:
mes "These monsters are like none I have";
mes "ever encountered! Be careful! We";
mes "must repulse these monsters!";
- set $@mos1_edq,$@mos1_edq+1;
+ ++$@mos1_edq;
donpcevent "Baehideun3#ship::OnEnable";
}
- set mos_whale_edq,(getarg(1) == 2)?((mos_whale_edq >= 241)?((.@r != 3)?26:25):((.@r != 3)?10:11)):mos_whale_edq + 1;
+ mos_whale_edq = (getarg(1) == 2)?((mos_whale_edq >= 241)?((.@r != 3)?26:25):((.@r != 3)?10:11)):mos_whale_edq + 1;
close;
}
mes "[Mr. Ibanoff]";
@@ -1156,13 +1156,13 @@ S_Rud1:
mes "You should sail in the right";
mes "direction! To the "+strtolower(.@d$[getarg(0)])+"!";
if (getarg(1) >= 1) {
- set .@r,(getarg(1) == 1)?5:4;
+ .@r = (getarg(1) == 1)?5:4;
if (rand(1,.@r) <= 2) {
next;
mes "[Mr. Ibanoff]";
mes "Oh no! Monsters have appeared!";
mes "Let's get ready to fight! Hurry!";
- set $@mos1_edq,$@mos1_edq+1;
+ ++$@mos1_edq;
donpcevent "Baehideun1#ship::OnEnable";
}
}
@@ -1261,14 +1261,14 @@ mosk_fild01,86,104,3 script Aged Stranger#npc 4_M_GUSLIMAN,{
mes "You can relax.";
next;
callsub S_AS_3;
- set mos_whale_edq,14;
+ mos_whale_edq = 14;
close2;
sleep2 20000;
- set mos_whale_edq,15;
+ mos_whale_edq = 15;
end;
} else if (mos_whale_edq == 14) {
callsub S_AS_3;
- set mos_whale_edq,15;
+ mos_whale_edq = 15;
close;
} else if (mos_whale_edq == 15) {
mes "[Aged Stranger]";
@@ -1403,7 +1403,7 @@ mosk_fild01,86,104,3 script Aged Stranger#npc 4_M_GUSLIMAN,{
mes "Tell me whenever you're ready, and";
mes "I'll send you back to the";
mes "mainland.";
- set mos_whale_edq,31;
+ mos_whale_edq = 31;
close;
} else if (mos_whale_edq == 31) {
mes "[Aged Stranger]";
@@ -1421,7 +1421,7 @@ mosk_fild01,86,104,3 script Aged Stranger#npc 4_M_GUSLIMAN,{
mes "[Aged Stranger]";
mes "I see. If so, let's go.";
next;
- set mos_whale_edq,32;
+ mos_whale_edq = 32;
callsub S_AS_3;
close2;
warp "moscovia",162,56;
@@ -1441,7 +1441,7 @@ mosk_fild01,86,104,3 script Aged Stranger#npc 4_M_GUSLIMAN,{
delitem 7197,20; //Tough_Vines
delitem 7106,20; //Goat's_Horn
delitem 7065,10; //Sea_Otter_Leather
- set mos_whale_edq,34;
+ mos_whale_edq = 34;
mes "[Aged Stranger]";
mes "Wait for a moment until I make the";
mes "instrument successfully.";
@@ -1487,7 +1487,7 @@ mosk_fild01,86,104,3 script Aged Stranger#npc 4_M_GUSLIMAN,{
mes "which comes from a faraway land of";
mes "the ancestors of Moscovia.";
getitem GUSLI, 1;
- set mos_whale_edq,35;
+ mos_whale_edq = 35;
next;
mes "[Aged Stranger]";
mes "I am the last person who has";
@@ -1665,7 +1665,7 @@ mosk_fild01,86,104,3 script Aged Stranger#npc 4_M_GUSLIMAN,{
end;
}
end;
-
+
S_AS_1:
if (rand(1,3) == 2) {
soundeffect "mos_gusli1.wav",0;
@@ -1688,7 +1688,7 @@ S_AS_1:
mes "[Aged Stranger]";
mes "With your ability to play, surely";
mes "you can win the admiration of all.";
- set mos_whale_edq,38;
+ mos_whale_edq = 38;
close;
}
mes "[Aged Stranger]";
@@ -1702,9 +1702,9 @@ S_AS_1:
mes "I will check on you again.";
mes "If you practice, you will be good";
mes "at it in no time.";
- set mos_whale_edq,37;
+ mos_whale_edq = 37;
close;
-
+
S_AS_2:
mes "[Aged Stranger]";
mes "So, what will you do now?";
@@ -1756,7 +1756,7 @@ S_AS_2:
mes "[Aged Stranger]";
mes "Okay. If you are ready to play the";
mes "Gusli, let me know.";
- set mos_whale_edq,36;
+ mos_whale_edq = 36;
close;
case 3:
mes "[Aged Stranger]";
@@ -1794,7 +1794,7 @@ S_AS_2:
warp "moscovia",162,56;
end;
}
-
+
S_AS_3:
soundeffect "mos_gusli1.wav",0;
mes "-The old man starts to play";
@@ -1885,7 +1885,7 @@ mosk_in,131,92,3 script Csar Alexsay III#npc 4_M_RUSKING,{
mes "And, when you succeed in";
mes "banishing winter with magic,";
mes "announce that to me immediately.";
- set mos_nowinter,14;
+ mos_nowinter = 14;
close;
}
}
@@ -1893,7 +1893,7 @@ mosk_in,131,92,3 script Csar Alexsay III#npc 4_M_RUSKING,{
mes "I said to bring me";
mes "40 Yaga's Pestles";
mes "from the Baba Yaga.";
- set mos_nowinter,13;
+ mos_nowinter = 13;
close;
} else if (mos_nowinter == 13) {
mes "[Csar Alexsay III]";
@@ -1928,7 +1928,7 @@ mosk_in,131,92,3 script Csar Alexsay III#npc 4_M_RUSKING,{
mes "[Csar Alexsay III]";
mes "If you do that, I will arrest you immediately!";
mes "So take care of yourself.";
- set mos_nowinter,14;
+ mos_nowinter = 14;
close;
}
mes "[Csar Alexsay III]";
@@ -1998,7 +1998,7 @@ mosk_in,131,92,3 script Csar Alexsay III#npc 4_M_RUSKING,{
mes "Here, take it.";
mes "I give it as an atonement";
mes "to make my people happy.";
- set mos_nowinter,21;
+ mos_nowinter = 21;
getitem 603,1;
next;
mes "[Csar Alexsay III]";
@@ -2105,7 +2105,7 @@ mosk_in,131,92,3 script Csar Alexsay III#npc 4_M_RUSKING,{
mes "You got it, traveler?";
mes "You have a heavy responsibility.";
mes "Bring evidence of this whale island to me, to provide me with some relief. Now go.";
- set mos_whale_edq,18;
+ mos_whale_edq = 18;
close;
} else if (mos_whale_edq > 17 && mos_whale_edq < 35) {
mes "[Csar Alexsay III]";
@@ -2191,7 +2191,7 @@ mosk_in,131,92,3 script Csar Alexsay III#npc 4_M_RUSKING,{
mes "Even though I regard as your effort for the time so, award you. Take it and go out.";
getitem 12702,1; //Old_Bleu_Box
getexp (checkre(3))?50000:500000,0;
- set mos_whale_edq,39;
+ mos_whale_edq = 39;
close;
}
mes "[Csar Alexsay III]";
@@ -2219,7 +2219,7 @@ mosk_in,131,92,3 script Csar Alexsay III#npc 4_M_RUSKING,{
mes "Even though I regard as your effort for the time so, award you. Take it.";
getitem 12702,1; //Old_Bleu_Box
getexp (checkre(3))?70000:700000,0;
- set mos_whale_edq,40;
+ mos_whale_edq = 40;
close;
}
mes "[Csar Alexsay III]";
@@ -2301,7 +2301,7 @@ mosk_in,131,92,3 script Csar Alexsay III#npc 4_M_RUSKING,{
mes "efforts, in the name of the Csar.";
getitem 617,1; //Old_Violet_Box
getexp (checkre(3))?100000:1200000,0;
- set mos_whale_edq,41;
+ mos_whale_edq = 41;
close;
}
mes "[Csar Alexsay III]";
@@ -2424,7 +2424,7 @@ mosk_in,127,89,3 script Prime Minister Dmitree#m 4_M_RUSMAN1,{
next;
mes "[Prime Minister Dmitree]";
mes "I will admit you. If our dear Csar is satisfied with your story, he will give you a big prize.";
- set mos_whale_edq,17;
+ mos_whale_edq = 17;
close;
} else if (mos_whale_edq == 17) {
mes "[Prime Minister Dmitree]";
@@ -2522,7 +2522,7 @@ OnTouch:
mosk_ship,1,1,4 script Baehideun#ship -1,{
OnInit:
- set $@mos1_edq,0;
+ $@mos1_edq = 0;
end;
}
@@ -2539,7 +2539,7 @@ OnEnable:
OnDisable:
disablenpc "#findship";
- set $@mos1_edq,0;
+ $@mos1_edq = 0;
end;
OnTouch:
@@ -2559,7 +2559,7 @@ OnTouch:
mes "[Mr. Ibanoff]";
mes "Watch out! "+strcharinfo(0)+"!";
mes "Ah... That... That is... What...";
- set mos_whale_edq,13;
+ mos_whale_edq = 13;
close2;
warp "mosk_fild01",95,93;
end;
@@ -2575,40 +2575,40 @@ OnInit:
disablenpc strnpcinfo(0);
stopnpctimer;
end;
-
+
OnEnable:
enablenpc strnpcinfo(0);
- set .@c,charat(strnpcinfo(0),9);
+ .@c = charat(strnpcinfo(0),9);
switch (.@c) {
case 1: setarray .@m, 89,112,1425,85,110,1425; break;
case 2: setarray .@m, 89,112,1425,80,110,1426,83,114,1426,85,110,1425; break;
case 3: setarray .@m, 85,111,1451,89,112,1543,90,106,1543; break;
case 4: setarray .@m, 85,111,1451,89,112,1543,90,106,1543; break;
}
- for (set .@i, 0; .@i < getarraysize(.@m); set .@i, .@i + 3)
+ for (.@i = 0; .@i < getarraysize(.@m); .@i += 3)
monster "mosk_ship",.@m[.@i],.@m[.@i+1],"Sea Monster",.@m[.@i+2],1,strnpcinfo(0)+"::OnMyMobDead";
initnpctimer;
end;
OnDisable:
- set $@mos1_edq,0;
+ $@mos1_edq = 0;
stopnpctimer;
disablenpc strnpcinfo(0);
end;
OnMyMobDead:
if (!mobcount("mosk_ship",strnpcinfo(0)+"::OnMyMobDead")) {
- set $@mos1_edq,0;
+ $@mos1_edq = 0;
mes "[Mr. Ibanoff]";
mes "Now that all the monsters are gone,";
mes "we can start sailing again";
mes "normally.";
- set .@c,charat(strnpcinfo(0),9);
+ .@c = charat(strnpcinfo(0),9);
switch (.@c) {
case 1: break;
case 2: break;
- case 3: set mos_whale_edq,11; break;
- case 4: set mos_whale_edq,26; break;
+ case 3: mos_whale_edq = 11; break;
+ case 4: mos_whale_edq = 26; break;
}
donpcevent strnpcinfo(0)+"::OnDisable";
close;
@@ -2617,7 +2617,7 @@ OnMyMobDead:
OnTimer300000:
killmonster "mosk_ship",strnpcinfo(0)+"::OnMyMobDead";
- set $@mos1_edq,0;
+ $@mos1_edq = 0;
donpcevent strnpcinfo(0)+"::OnDisable";
end;
}
@@ -2701,7 +2701,7 @@ function script F_MOS_1 {
mes "Oh, God, You're so kind";
mes "Mikhail is such a timid boy. I guess he didn't leave this village.";
mes "Please bring him to me, then~";
- set mos_swan,1;
+ mos_swan = 1;
close;
}
@@ -2755,7 +2755,7 @@ mosk_in,144,279,5 script Gallina#mos 4_F_RUSWOMAN1,{
mes "[Gallina]";
mes "Well, now I have to get to work!";
mes "I'll make you my hotcakes someday. Please visit me later";
- set mos_swan,100;
+ mos_swan = 100;
getexp (checkre(3))?90000:1000000,0;
close;
}
@@ -2870,7 +2870,7 @@ mosk_in,148,274,1 script Anna#mos 4_F_RUSCHILD,{
next;
mes "["+strcharinfo(0)+"]";
mes "It's the only clue, I guess I'll go to ^3131FFInn 'Sticky Herb Tree'^000000?";
- if (mos_swan == 2) set mos_swan,3;
+ if (mos_swan == 2) mos_swan = 3;
next;
break;
case 4:
@@ -2962,9 +2962,9 @@ mosk_in,136,279,3 script Bed#mos1 HIDDEN_NPC,{
mes "- You come near the bed to look it over. -";
next;
while (.@c < 2) {
- for (set .@i, 0; .@i < 4; set .@i, .@i + 1)
+ for (.@i = 0; .@i < 4; ++.@i)
mes " .............. ";
- set .@c, .@c + 1;
+ ++.@c;
next;
}
mes "- You didn't find anything -";
@@ -2984,7 +2984,7 @@ mosk_in,205,268,3 script Fire pot#mos HIDDEN_NPC,{
mes "- It's a fire pot that is used when Gallina bakes hotcakes.";
mes "It seems that this has not been used for a long time.";
mes "I think I should ask his family where he might have fun off to -";
- set mos_swan,2;
+ mos_swan = 2;
close;
} else if (mos_swan > 1 && mos_swan < 11) {
mes "- It's a fire pot that is used when Gallina bakes hotcakes.";
@@ -3001,9 +3001,9 @@ mosk_in,205,268,3 script Fire pot#mos HIDDEN_NPC,{
mes "- You come near the pot to look it over. -";
next;
while (.@c < 2) {
- for (set .@i, 0; .@i < 4; set .@i, .@i + 1)
+ for (.@i = 0; .@i < 4; ++.@i)
mes " .............. ";
- set .@c, .@c + 1;
+ .@c += 1;
next;
}
mes "- As you look it over very carefully, you find some pieces of bread on the floor around the fire pot! -";
@@ -3094,7 +3094,7 @@ mosk_in,205,268,3 script Fire pot#mos HIDDEN_NPC,{
next;
mes "- I need to know what's required for the paste.";
mes "I'll ask that guy ^3131FFMr. Victor^000000 about them. -";
- set mos_swan,12;
+ mos_swan = 12;
close;
break;
case 2:
@@ -3149,7 +3149,7 @@ mosk_in,205,268,3 script Fire pot#mos HIDDEN_NPC,{
mes "[Mikhail]";
mes "Now I'm gonna give this back to Mom.";
donpcevent "Mikhail#mos::OnInit";
- set mos_swan,25;
+ mos_swan = 25;
delitem 7764,1;
close;
}
@@ -3242,7 +3242,7 @@ mosk_in,135,191,5 script Landlord#mos 4_F_RUSWOMAN3,{
mes "Come on, please follow me with your luggage.";
mes "Oh, let me carry them. Hohoho, you must be exhausted.";
mes "I wish you a good night's rest. Hohoho.";
- set mos_swan,4;
+ mos_swan = 4;
close2;
Zeny -= 5000;
percentheal 100,100;
@@ -3309,7 +3309,7 @@ mosk_in,135,191,5 script Landlord#mos 4_F_RUSWOMAN3,{
mes "[Landlord]";
mes "I was unkind to make you stay here but wasn't it easier for you? hoho.";
mes "When it gets dark, promise me to come here again. Hoho";
- set mos_swan,7;
+ mos_swan = 7;
close;
break;
case 3:
@@ -3387,14 +3387,14 @@ mosk_in,141,212,3 script Pub Owner#mos 4_M_RUSBALD,{
next;
mes "[Pub Owner]";
mes "You're welcome.";
- set mos_swan,8;
+ mos_swan = 8;
close;
}
mes "[Pub Owner]";
mes "Although you may be an experienced adventurer, you look so young.";
mes "I recommend you these drinks. Which one will you take?";
next;
- set .@j, select("Milk - 1000z:Sticky_Herb juice - 1000z:They are all expensive!") - 1;
+ .@j = select("Milk - 1000z:Sticky_Herb juice - 1000z:They are all expensive!") - 1;
if (.@j == 2) {
mes "[Pub Owner]";
mes "Hahaha, too much for you eh cheapskate.";
@@ -3402,7 +3402,7 @@ mosk_in,141,212,3 script Pub Owner#mos 4_M_RUSBALD,{
}
if (Zeny > 999) {
Zeny -= 1000;
- set mos_swan,9;
+ mos_swan = 9;
if (!.@j) getitem 519,1; else getitem 531,1;
mes "[Pub Owner]";
mes "Here you are. This is what you ordered.";
@@ -3465,7 +3465,7 @@ mosk_in,141,212,3 script Pub Owner#mos 4_M_RUSBALD,{
case 1:
if (Zeny > 999) {
Zeny -= 1000;
- set mos_swan,9;
+ mos_swan = 9;
getitem 519,1;
mes "[Pub Owner]";
mes "Here you are. This is what you ordered.";
@@ -3479,7 +3479,7 @@ mosk_in,141,212,3 script Pub Owner#mos 4_M_RUSBALD,{
case 2:
if (Zeny > 999) {
Zeny -= 1000;
- set mos_swan,9;
+ mos_swan = 9;
getitem 531,1;
mes "[Pub Owner]";
mes "Here you are. This is what you ordered.";
@@ -3603,7 +3603,7 @@ mosk_in,147,202,3 script Victor#mos 4_M_RUSMAN2,{
next;
mes "[Victor]";
mes "He might've just hidden himself somewhere, haha!";
- set mos_swan,10;
+ mos_swan = 10;
close;
} else if (mos_swan == 10 || mos_swan == 11) {
mes "[Victor]";
@@ -3640,7 +3640,7 @@ mosk_in,147,202,3 script Victor#mos 4_M_RUSMAN2,{
next;
mes "[Victor]";
mes "You should bring ^3131FF'10 sticky herbs'^000000 and ^3131FF 1 medicine bowl^000000 to me.";
- set mos_swan,13;
+ mos_swan = 13;
close;
} else if (mos_swan > 12 && mos_swan < 23) {
mes "[Victor]";
@@ -3659,10 +3659,10 @@ mosk_in,147,202,3 script Victor#mos 4_M_RUSMAN2,{
mes "[Victor]";
mes "Give me the stuff! I'll make it quickly. You're annoying me!";
next;
- for (set .@i, 0; .@i < 3; set .@i, .@i + 1)
+ for (.@i = 0; .@i < 3; ++.@i)
mes "- He's making adhesive with a crunching sound -";
next;
- for (set .@i, 0; .@i < 4; set .@i, .@i + 1)
+ for (.@i = 0; .@i < 4; ++.@i)
mes "- And he may be rubbing something -";
next;
mes "[Victor]";
@@ -3671,7 +3671,7 @@ mosk_in,147,202,3 script Victor#mos 4_M_RUSMAN2,{
mes "Please leave!";
delitem 7763,10;
delitem 7134,1;
- set mos_swan,24;
+ mos_swan = 24;
getitem 7764,1;
close;
}
@@ -3720,7 +3720,7 @@ OnTouch:
next;
mes "["+strcharinfo(0)+"]";
mes "Ok, I guess I will go to the landlord to get some info.";
- set mos_swan,5;
+ mos_swan = 5;
close;
}
@@ -3739,7 +3739,7 @@ mosk_dun03,153,90,3 script Bubbling Swamp#mos1 CLEAR_NPC,{
next;
mes "["+strcharinfo(0)+"]";
mes "I don't see any traces of Mikhail. I think I should go back and check his house one more time.";
- set mos_swan,11;
+ mos_swan = 11;
close;
} else if (mos_swan == 11 && mos_swan == 12) {
mes "- You can see a small muddy swamp -";
@@ -3757,11 +3757,11 @@ mosk_dun03,153,90,3 script Bubbling Swamp#mos1 CLEAR_NPC,{
mes "- You have pricked your finger on a Sticky Herb. -";
if (mos_swan == 22) {
getitem 7763,1;
- set mos_swan,23;
+ mos_swan = 23;
close;
}
getitem 7763,1;
- set mos_swan,mos_swan+1;
+ ++mos_swan;
close;
}
mes "- You have pricked your finger on a Green Herb. -";
@@ -3794,7 +3794,7 @@ mosk_in,211,259,5 script Larissa#mos_01 4_F_RUSWOMAN2,{
mes "[Larissa]";
mes "Here you are. This special pancake is for you.";
mes "It will be very delicious.";
- set mos_swan,101;
+ mos_swan = 101;
getitem 592,5;
getitem 593,5;
next;
@@ -3915,7 +3915,7 @@ mosk_in,211,259,5 script Larissa#mos_01 4_F_RUSWOMAN2,{
break;
}
setarray .@di,7031,1,519,2,504,2,548,1,1019,1,518,1;
- for (set .@i, 0; .@i < getarraysize(.@di); set .@i, .@i + 2)
+ for (.@i = 0; .@i < getarraysize(.@di); .@i += 2)
delitem .@n[.@i],.@n[.@i+1];
getitem .@n,.@n[1];
close;
@@ -3980,7 +3980,6 @@ moscovia,208,182,7 script Acorn Dealer#mos 4_M_RUSMAN1,{
mes "You can't buy more than 500.";
next;
}
-
}
if (!checkweight(1026, .@input)) {
mes "[Acorn Dealer]";
@@ -3991,7 +3990,7 @@ moscovia,208,182,7 script Acorn Dealer#mos 4_M_RUSMAN1,{
mes "right here.";
close;
}
- set .@price, .@input * 100;
+ .@price = .@input * 100;
if (Zeny < .@price) {
mes "[Acorn Dealer]";
mes "Hello? You've turned pale! Are you ok??";
@@ -4036,8 +4035,8 @@ OnTouch:
next;
mes "- After eating the acorn up, the squirrel dances around wildly. Suddenly it curls its body and throws something up with a spit-spit sound -";
delitem 1026,20;
- set .@cyworld,rand(1,1000);
- set .@stworld,rand(1,150);
+ .@cyworld = rand(1,1000);
+ .@stworld = rand(1,150);
if (.@cyworld > 0 && .@cyworld < 100) getitem 733,1;
else if (.@cyworld == 100) {
if (.@stworld > 0 && .@stworld < 90) callsub S_BS_1,.@stworld;
@@ -4046,14 +4045,14 @@ OnTouch:
} else if (.@cyworld == 200) {
if (.@stworld > 0 && .@stworld < 90) callsub S_BS_1,.@stworld;
else if (.@stworld > 89 && .@stworld < 100) getitem 731,1;
- else set .@stonez1,rand(1,10);
+ else .@stonez1 = rand(1,10);
if (.@stonez1 < 6) getitem 7290,1;
else if (.@stonez1 > 5 && .@stonez1 < 8) getitem 7297,1;
else getitem 7292,1;
} else if (.@cyworld == 300) {
if (.@stworld > 0 && .@stworld < 90) callsub S_BS_1,.@stworld;
else if (.@stworld > 89 && .@stworld < 100) getitem 732,1;
- else set .@stonez2,rand(1,10);
+ else .@stonez2 = rand(1,10);
if (.@stonez2 < 6) getitem 7291,1;
else getitem 7294,1;
} else if (.@cyworld == 400) {
@@ -4105,9 +4104,9 @@ OnTouch:
}
mes "- The squirrel looks at the acorn which you held for a while but it turned its head with indifference. -";
close;
-
+
S_BS_1:
- set .@stworld, getarg(0);
+ .@stworld = getarg(0);
if (.@stworld < 10) getitem 718,1;
else if (.@stworld < 20) getitem 719,1;
else if (.@stworld < 30) getitem 720,1;
@@ -4133,7 +4132,7 @@ mosk_in,215,46,5 script #babayaga -1,7,7,{
OnTouch:
if (!mos_nowinter) {
if (countitem(7762) > 39 && BaseLevel > 59) {
- set mos_nowinter,2;
+ mos_nowinter = 2;
mes "[Baba Yaga, the Horrible]";
mes "Who the hell are you?";
mes "You want me to kick your ass!";
@@ -4155,8 +4154,8 @@ OnTouch:
mes "I don't know where you got";
mes "those Yaga Pestles, but";
mes "give them back to me!";
- set mos_nowinter,1;
- set .@getback,rand(1,20);
+ mos_nowinter = 1;
+ .@getback = rand(1,20);
delitem 7762,.@getback;
close2;
warp "mosk_dun02",53,217;
@@ -4165,13 +4164,13 @@ OnTouch:
mes "[Baba Yaga, the Horrible]";
mes "Who the hell are you?";
mes "You want me to kick your ass!";
- set mos_nowinter,1;
+ mos_nowinter = 1;
close2;
warp "mosk_dun02",53,217;
end;
} else if (mos_nowinter == 1) {
if (countitem(7762) > 39 && BaseLevel > 59) {
- set mos_nowinter,2;
+ mos_nowinter = 2;
mes "[Baba Yaga, the Horrible]";
mes "Who the hell are you.";
mes "You want me to kick your ass!";
@@ -4305,14 +4304,14 @@ mosk_in,215,46,5 script Baba Yaga, the Horrible 4_F_BABAYAGA,{
mes "Please, don't kill me...";
next;
mes "'Hmmm, what should I do...'";
- set mos_nowinter,4;
+ mos_nowinter = 4;
close;
}
mes "[Baba Yaga, the Horrible]";
mes "Akkk... What on earth did you do to me...";
next;
mes "Hmm... What do you want...";
- set mos_nowinter,3;
+ mos_nowinter = 3;
close;
} else if (mos_nowinter == 3) {
mes "[Baba Yaga, the Horrible]";
@@ -4357,7 +4356,7 @@ mosk_in,215,46,5 script Baba Yaga, the Horrible 4_F_BABAYAGA,{
mes "Please, don't kill me...";
next;
mes "'Hmm... what should I do...'";
- set mos_nowinter,4;
+ mos_nowinter = 4;
close;
}
mes "[Baba Yaga, the Horrible]";
@@ -4423,7 +4422,7 @@ mosk_in,215,46,5 script Baba Yaga, the Horrible 4_F_BABAYAGA,{
mes "Cough, cough,";
mes "I am coughing now, so do not disturb me,";
mes "you write them down.";
- set .@plus1,1;
+ .@plus1 = 1;
next;
} else {
mes "[Baba Yaga, the Horrible]";
@@ -4481,7 +4480,7 @@ mosk_in,215,46,5 script Baba Yaga, the Horrible 4_F_BABAYAGA,{
mes "10 Burning Heart^000000 and,";
mes "a 1, 2, or 3 carat";
mes "^ff00001 Diamond^000000.";
- set mos_nowinter,6;
+ mos_nowinter = 6;
next;
} else {
mes "[Baba Yaga, the Horrible]";
@@ -4501,7 +4500,7 @@ mosk_in,215,46,5 script Baba Yaga, the Horrible 4_F_BABAYAGA,{
mes "10 Burning Heart^000000 and,";
mes "a 1, 2, or 3 carat";
mes "^ff0000Diamond^000000.";
- set mos_nowinter,7;
+ mos_nowinter = 7;
next;
}
mes "[Baba Yaga, the Horrible]";
@@ -4518,19 +4517,19 @@ mosk_in,215,46,5 script Baba Yaga, the Horrible 4_F_BABAYAGA,{
mes "all of the items?";
next;
setarray .@n, 940,20,908,5,7006,20,1061,10,7041,10,938,10,1051,1,990,5,7097,10;
- for (set .@i, 0; .@i < getarraysize(.@n); set .@i, .@i + 2) {
+ for (.@i = 0; .@i < getarraysize(.@n); .@i += 2) {
if (countitem(.@n[.@i]) < .@n[.@i+1]) {
- set .@f, 1;
+ .@f = 1;
break;
}
}
if (!.@f && (countitem(730) || countitem(731) || countitem(732))) {
- for (set .@i, 0; .@i < getarraysize(.@n); set .@i, .@i + 2)
+ for (.@i = 0; .@i < getarraysize(.@n); .@i += 2)
delitem .@n[.@i],.@n[.@i+1];
if (countitem(730)) delitem 730,1;
else if (countitem(731)) delitem 731,1;
else if (countitem(732)) delitem 732,1;
- set mos_nowinter,8;
+ mos_nowinter = 8;
mes "[Baba Yaga, the Horrible]";
mes "Right, you got them all.";
mes "With this amount.. For some time...";
@@ -4613,19 +4612,19 @@ mosk_in,215,46,5 script Baba Yaga, the Horrible 4_F_BABAYAGA,{
mes "all of them?";
next;
setarray .@n, 940,20,908,5,7006,20,1061,10,7041,10,1051,1,990,5,7097,10;
- for (set .@i, 0; .@i < getarraysize(.@n); set .@i, .@i + 2) {
+ for (.@i = 0; .@i < getarraysize(.@n); .@i += 2) {
if (countitem(.@n[.@i]) < .@n[.@i+1]) {
- set .@f, 1;
+ .@f = 1;
break;
}
}
if (!.@f && (countitem(730) || countitem(731) || countitem(732))) {
- for (set .@i, 0; .@i < getarraysize(.@n); set .@i, .@i + 2)
+ for (.@i = 0; .@i < getarraysize(.@n); .@i += 2)
delitem .@n[.@i],.@n[.@i+1];
if (countitem(730)) delitem 730,1;
else if (countitem(731)) delitem 731,1;
else if (countitem(732)) delitem 732,1;
- set mos_nowinter,8;
+ mos_nowinter = 8;
mes "[Baba Yaga, the Horrible]";
mes "Right, you got them all.";
mes "With this amount.. For some time......";
@@ -4762,7 +4761,7 @@ mosk_in,215,46,5 script Baba Yaga, the Horrible 4_F_BABAYAGA,{
next;
mes "[Baba Yaga, the Horrible]";
mes "Take care of yourself, cough, cough.";
- set mos_nowinter,10;
+ mos_nowinter = 10;
close;
}
mes "[Baba Yaga, the Horrible]";
@@ -4860,7 +4859,7 @@ mosk_in,215,46,5 script Baba Yaga, the Horrible 4_F_BABAYAGA,{
mes "The magic is complete.";
mes "Do your best,";
mes "Cough!";
- set mos_nowinter,15;
+ mos_nowinter = 15;
close;
} else if (mos_nowinter == 15 || mos_nowinter == 16) {
mes "[Baba Yaga, the Horrible]";
@@ -4888,7 +4887,7 @@ mosk_in,215,46,5 script Baba Yaga, the Horrible 4_F_BABAYAGA,{
mes "[Baba Yaga, the Horrible]";
mes "Well, try it again.";
mes "We still have enough materials.";
- set mos_nowinter,16;
+ mos_nowinter = 16;
close;
} else if (mos_nowinter == 18) {
mes "[Baba Yaga, the Horrible]";
@@ -4910,7 +4909,7 @@ mosk_in,215,46,5 script Baba Yaga, the Horrible 4_F_BABAYAGA,{
mes "will be happening,";
mes "forever.";
getitem 7765,1;
- set mos_nowinter,19;
+ mos_nowinter = 19;
close;
} else if (mos_nowinter == 19) {
mes "[Baba Yaga, the Horrible]";
@@ -4955,7 +4954,7 @@ S_BY_1:
mes "I don't remember";
mes "where it is.";
mes "Could you please come back later?";
- set mos_nowinter,5;
+ mos_nowinter = 5;
close;
}
@@ -5026,7 +5025,7 @@ mosk_in,217,45,0 script #book_russia HIDDEN_NPC,{
mes "I'll mark this spot.";
mes "so I can easily find the mixing";
mes "process next time...";
- set mos_nowinter,16;
+ mos_nowinter = 16;
next;
mes "^0000ffSeasonal Magic^000000:^ff0000Eternal Summer^000000";
mes "First of all, you need to put and";
@@ -5224,24 +5223,24 @@ mosk_in,221,43,0 script #bowl HIDDEN_NPC,{
next;
switch(select("Put the materials in it.:Pour water in it.:Stir it up.:It is over!")) {
case 1:
- set .@m, select (implode(.@m$,":")) - 1;
+ .@m = select (implode(.@m$,":")) - 1;
if ((!.@m && .@bat) || (.@m == 1 && .@mush) || (.@m == 2 && .@locker)) specialeffect EF_POISONHIT;
else {
specialeffect EF_SMOKE;
- if (!.@m) set .@bat,.@bat+1;
- if (.@m == 1) set .@mush,.@mush+1;
- if (.@m == 2) set .locker,.@locker+1;
- set .@maho,.@maho+1;
+ if (!.@m) .@bat += 1;
+ if (.@m == 1) .@mush += 1;
+ if (.@m == 2) .@locker += 1;
+ ++.@maho;
}
if (.@m >= 3) specialeffect EF_POISONHIT;
- set .@nankai,.@nankai+1;
+ ++.@nankai;
mes "-I put the "+.@m$[.@m]+" in the pot.";
mes "Its smell slightly changes.-";
next;
break;
case 2:
specialeffect EF_POISONHIT;
- set .@nankai,.@nankai+1;
+ ++.@nankai;
mes "-I pour water in the pot a little.";
mes "The liquid has become thin.";
mes "No other remarkable changes";
@@ -5250,7 +5249,7 @@ mosk_in,221,43,0 script #bowl HIDDEN_NPC,{
break;
case 3:
specialeffect EF_POISONHIT;
- set .@nankai,.@nankai+1;
+ ++.@nankai;
mes "-I stir it up";
mes "with a stick several times.";
mes "No other remarkable changes";
@@ -5262,7 +5261,7 @@ mosk_in,221,43,0 script #bowl HIDDEN_NPC,{
mes "["+strcharinfo(0)+"]";
mes "I will tell Baba Yaga that";
mes "the work has been done.";
- set mos_nowinter,17;
+ mos_nowinter = 17;
close;
}
if (.@nankai == 3) break;
@@ -5281,25 +5280,25 @@ mosk_in,221,43,0 script #bowl HIDDEN_NPC,{
next;
switch(select("Put the materials in it.:Pour water in it.:Stir it up.:It is over!")) {
case 1:
- set .@m, select (implode(.@m$,":")) - 1;
+ .@m = select (implode(.@m$,":")) - 1;
if (.@m >= 3) {
if (.@nankai == 5 || .@nankai == 6) {
if ((.@m == 3 && .@star) || (.@m == 4 && .@sand)) specialeffect EF_POISONHIT;
else {
specialeffect EF_SMOKE;
- set .@maho,.@maho+1;
- if (.@m == 3) set .@star,.@star+1;
- if (.@m == 4) set .@sand,.@sand+1;
- set .@w, 1;
+ ++.@maho;
+ if (.@m == 3) .@star += 1;
+ if (.@m == 4) .@sand += 1;
+ .@w = 1;
}
} else {
specialeffect EF_POISONHIT;
- if (.@m == 3) set .@star,.@star+1;
- if (.@m == 4) set .@sand,.@sand+1;
+ if (.@m == 3) .@star += 1;
+ if (.@m == 4) .@sand += 1;
}
next;
} else specialeffect EF_POISONHIT;
- set .@nankai,.@nankai+1;
+ ++.@nankai;
mes "-I put the "+.@m$[.@m]+" in the pot.";
mes (.@m <= 2)?"It's smell drastically changes.-":"Its "+((.@w)?"smell":"color")+" slightly changes.-";
break;
@@ -5310,13 +5309,13 @@ mosk_in,221,43,0 script #bowl HIDDEN_NPC,{
mes "something in the cloudy liquid";
mes "has changed.-";
specialeffect EF_DRAGONSMOKE;
- set .@maho,.@maho+1;
- set .@nankai,.@nankai+1;
+ ++.@maho;
+ ++.@nankai;
next;
} else {
specialeffect EF_POISONHIT;
mes "-I pour water in the pot and, the liquid gets thin.-";
- set .@nankai,.@nankai+1;
+ ++.@nankai;
next;
}
break;
@@ -5335,8 +5334,8 @@ mosk_in,221,43,0 script #bowl HIDDEN_NPC,{
mes "brighter and";
mes "its smell gets";
mes "more bearable.";
- set .@maho,.@maho+1;
- set .@nankai,.@nankai+1;
+ ++.@maho;
+ ++.@nankai;
next;
} else if (!.@input) {
mes "-I won't stir it up.-";
@@ -5351,7 +5350,7 @@ mosk_in,221,43,0 script #bowl HIDDEN_NPC,{
next;
mes "-I stir it up really hard.";
mes "It is boiled.-";
- set .@nankai,.@nankai+1;
+ ++.@nankai;
next;
}
} else {
@@ -5359,7 +5358,7 @@ mosk_in,221,43,0 script #bowl HIDDEN_NPC,{
next;
mes "["+strcharinfo(0)+"]";
mes "Something changed?";
- set .@nankai,.@nankai+1;
+ ++.@nankai;
next;
}
break;
@@ -5367,7 +5366,7 @@ mosk_in,221,43,0 script #bowl HIDDEN_NPC,{
mes "["+strcharinfo(0)+"]";
mes "I will tell Baba Yaga that";
mes "it has been done.";
- set mos_nowinter,17;
+ mos_nowinter = 17;
specialeffect EF_POISONATTACK;
close;
}
@@ -5384,7 +5383,7 @@ mosk_in,221,43,0 script #bowl HIDDEN_NPC,{
mes "the pot has changed enough.";
mes "Let's go on to the next stage.-";
next;
- set .@w, 0;
+ .@w = 0;
while(1) {
mes "-Well, What am I going to do?-";
next;
@@ -5392,34 +5391,34 @@ mosk_in,221,43,0 script #bowl HIDDEN_NPC,{
case 1:
if (.@nankai != 11) {
setarray .@m2$, "Witched Starsand","Fine Grit","Detonator","Red Blood","Burning Heart";
- set .@m, select (implode(.@m2$,":")) - 1;
+ .@m = select (implode(.@m2$,":")) - 1;
if ((.@m == 2 && .@nankai == 9) || (.@m == 3 && .@nankai == 8) || (.@m == 4 && .@nankai == 10)) {
specialeffect EF_SMOKE;
- set .@maho,.@maho+1;
+ ++.@maho;
} else {
specialeffect EF_POISONHIT;
- set .@w, 1;
+ .@w = 1;
}
if (.@m <= 1) specialeffect EF_POISONHIT;
- set .@nankai,.@nankai+1;
+ ++.@nankai;
mes "-I put the "+.@m2$[.@m]+" in the pot.";
mes (.@m <= 1)?"Its smell slightly changes.-":((.@w)?"The smell gets worse.-":"The smell has been changed a little.-");
} else {
setarray .@m3$, "Witched Starsand","Fine Grit","Detonator","Red Blood","Burning Heart","Piece Of Diamond";
- set .@m, select (implode(.@m3$,":")) - 1;
+ .@m = select (implode(.@m3$,":")) - 1;
if (.@m != 5) specialeffect EF_POISONHIT;
else {
- set .@maho,.@maho+1;
+ ++.@maho;
specialeffect EF_SMOKE;
}
- set .@nankai,.@nankai+1;
+ ++.@nankai;
mes "-I put "+((.@m == 5)?"a":"the")+" "+.@m3$[.@m]+" in the pot.";
mes (.@m == 5)?"The solution alters in color.-":"The smell gets worse.-";
}
next;
break;
case 2:
- set .@nankai,.@nankai+1;
+ ++.@nankai;
mes "-I pour water in the pot a little.";
mes "The smell gets better.-";
next;
@@ -5437,8 +5436,8 @@ mosk_in,221,43,0 script #bowl HIDDEN_NPC,{
specialeffect EF_WIND;
mes "-Stirring up makes it";
mes "brighter.-";
- set .@maho,.@maho+1;
- set .@nankai,.@nankai+1;
+ ++.@maho;
+ ++.@nankai;
next;
} else if (.@input == 0) {
mes "-I won't stir it up.-";
@@ -5453,7 +5452,7 @@ mosk_in,221,43,0 script #bowl HIDDEN_NPC,{
next;
mes "-I stir it up really hard.";
mes "It is boiled.-";
- set .@nankai,.@nankai+1;
+ ++.@nankai;
next;
}
} else {
@@ -5461,7 +5460,7 @@ mosk_in,221,43,0 script #bowl HIDDEN_NPC,{
next;
mes "["+strcharinfo(0)+"]";
mes "Something changed?";
- set .@nankai,.@nankai+1;
+ ++.@nankai;
next;
}
break;
@@ -5469,12 +5468,12 @@ mosk_in,221,43,0 script #bowl HIDDEN_NPC,{
mes "-It seems that the work is over.";
mes "I need to show this to Baba Yaga.-";
if (.@maho == 12) {
- set mos_nowinter,18;
+ mos_nowinter = 18;
specialeffect EF_GASPUSH;
close;
}
specialeffect EF_POISONATTACK;
- set mos_nowinter,17;
+ mos_nowinter = 17;
close;
}
}
@@ -5498,7 +5497,7 @@ moscovia,224,190,0 script #nowinterplz CLEAR_NPC,{
mes "Secret Medicine.-";
delitem 7765,1;
specialeffect EF_BARRIER;
- set mos_nowinter,20;
+ mos_nowinter = 20;
next;
mes "-You feel like your";
mes "body is heating up.";
@@ -5535,15 +5534,15 @@ moscovia,252,203,5 script A Little Girl#mos1 4_F_RUSCHILD,{
mes "that she is real.";
close;
}
- set .@kid,rand(1,100);
+ .@kid = rand(1,100);
select("Do you like the warm weather, little girl?");
if (.@kid > 70) {
mes "[Yosefina]";
mes "Yes, I like it very much~";
mes "I never want it to leave. I don't want winter to come.";
specialeffect2 EF_SUMMONSLAVE;
- set mos_kid,1;
- if (mos_middle == 1 && mos_elder == 1) set mos_nowinter,11;
+ mos_kid = 1;
+ if (mos_middle == 1 && mos_elder == 1) mos_nowinter = 11;
close;
}
mes "[Yosefina]";
@@ -5576,15 +5575,15 @@ moscovia,233,204,3 script A Young Man#mos2 4_M_RUSMAN2,{
close;
}
select("You don't like winter, do you?");
- set .@kid,rand(1,100);
+ .@kid = rand(1,100);
if (.@kid > 70) {
mes "[Fedor]";
mes "No, I don't like the cold winter.";
mes "And I get angry when";
mes "seeing couples.";
specialeffect2 EF_SUMMONSLAVE;
- set mos_middle,1;
- if (mos_kid == 1 && mos_elder == 1) set mos_nowinter,11;
+ mos_middle = 1;
+ if (mos_kid == 1 && mos_elder == 1) mos_nowinter = 11;
close;
}
mes "[Fedor]";
@@ -5624,8 +5623,8 @@ moscovia,219,229,5 script A Middle-Aged Man#mos3 4_M_RUSBALD,{
mes "when it comes again.";
mes "I don't want winter to come.";
specialeffect2 EF_SUMMONSLAVE;
- set mos_elder,1;
- if (mos_kid == 1 && mos_middle == 1) set mos_nowinter,11;
+ mos_elder = 1;
+ if (mos_kid == 1 && mos_middle == 1) mos_nowinter = 11;
close;
}
mes "[Viktor]";
@@ -5688,8 +5687,8 @@ moscovia,255,203,3 script A Little Boy#mos4 4_M_RUSCHILD,{
mes "[Vasili]";
mes "If winter is gone,";
mes "it is much easier to go on adventures.";
- set mos_kid,1;
- if (mos_middle == 1 && mos_elder == 1) set mos_nowinter,11;
+ mos_kid = 1;
+ if (mos_middle == 1 && mos_elder == 1) mos_nowinter = 11;
close;
}
mes "[Vasili]";
@@ -5737,8 +5736,8 @@ moscovia,204,188,5 script A Lady#mos5 4_F_RUSWOMAN1,{
mes "[Katya]";
mes "I wish that winter never comes back and";
mes "I could see sunflowers everyday.";
- set mos_middle,1;
- if (mos_kid == 1 && mos_elder == 1) set mos_nowinter,11;
+ mos_middle = 1;
+ if (mos_kid == 1 && mos_elder == 1) mos_nowinter = 11;
close;
}
mes "[Katya]";
@@ -5778,8 +5777,8 @@ moscovia,167,97,3 script A Lady#mos6 4_F_RUSWOMAN3,{
mes "[Roza]";
mes "Whoever likes the cold and dark winter?";
mes "I hope this weather last forever.";
- set mos_elder,1;
- if (mos_kid == 1 && mos_middle == 1) set mos_nowinter,11;
+ mos_elder = 1;
+ if (mos_kid == 1 && mos_middle == 1) mos_nowinter = 11;
close;
}
mes "[Roza]";
@@ -5836,9 +5835,9 @@ moscovia,202,102,3 script A Little Boy#mos7 4_M_RUSCHILD,{
mes "If winter never comes";
mes "I can have";
mes "fun all the time...";
- set mos_kid,1;
+ mos_kid = 1;
if (mos_middle == 1 && mos_elder == 1) {
- set mos_nowinter,11;
+ mos_nowinter = 11;
}
close;
}
@@ -5894,8 +5893,8 @@ moscovia,220,172,3 script A Young Man#mos8 4_M_RUSMAN2,{
mes "Hu, if the weather everday was as good as lately,";
mes "I would like to go out a lot more.";
mes "I hate winter...";
- set mos_middle,1;
- if (mos_kid == 1 && mos_elder == 1) set mos_nowinter,11;
+ mos_middle = 1;
+ if (mos_kid == 1 && mos_elder == 1) mos_nowinter = 11;
close;
}
mes "[Ilyav]";
@@ -5933,8 +5932,8 @@ moscovia,253,175,3 script A Man#mos9 4_M_RUSBALD,{
mes "In winter, fishing is more difficult,";
mes "anyway, it is bad for us.";
mes "I think it would be ok if we never had winter again.";
- set mos_elder,1;
- if (mos_kid == 1 && mos_middle == 1) set mos_nowinter,11;
+ mos_elder = 1;
+ if (mos_kid == 1 && mos_middle == 1) mos_nowinter = 11;
close;
}
mes "[Orek]";
@@ -5989,8 +5988,8 @@ moscovia,168,135,3 script A Lady#mos10 4_F_RUSWOMAN3,{
mes "[Kyra]";
mes "It is good to stay with my family, but";
mes "nobody likes the cold winter.";
- set mos_elder,1;
- if (mos_kid == 1 && mos_middle == 1) set mos_nowinter,11;
+ mos_elder = 1;
+ if (mos_kid == 1 && mos_middle == 1) mos_nowinter = 11;
close;
}
mes "[Kyra]";
@@ -6038,8 +6037,8 @@ moscovia,192,80,3 script A Lady#mos11 4_F_RUSWOMAN1,{
mes "If the summer continues to last,";
mes "I can see them all the time...";
specialeffect2 EF_SUMMONSLAVE;
- set mos_middle,1;
- if (mos_kid == 1 && mos_elder == 1) set mos_nowinter,11;
+ mos_middle = 1;
+ if (mos_kid == 1 && mos_elder == 1) mos_nowinter = 11;
close;
}
mes "[Sabina]";
@@ -6094,8 +6093,8 @@ moscovia,211,215,5 script A Young Man#mos12 4_M_RUSMAN1,{
mes "my life will be in an amorous mood.";
mes "Hahaha!";
mes "I don't want winter to come.";
- set mos_middle,1;
- if (mos_kid == 1 && mos_elder == 1) set mos_nowinter,11;
+ mos_middle = 1;
+ if (mos_kid == 1 && mos_elder == 1) mos_nowinter = 11;
close;
}
mes "[Izlof]";
@@ -6143,8 +6142,8 @@ moscovia,149,112,3 script A Man#mos13 4_M_RUSBALD,{
mes "I hope that this warm weather";
mes "will last forever.";
mes "I hate the cold winter.";
- set mos_elder,1;
- if (mos_kid == 1 && mos_middle == 1) set mos_nowinter,11;
+ mos_elder = 1;
+ if (mos_kid == 1 && mos_middle == 1) mos_nowinter = 11;
close;
}
mes "[Lev]";
@@ -6194,8 +6193,8 @@ moscovia,196,71,3 script A Young Man#mos14 4_M_RUSMAN2,{
mes "[Fredek]";
mes "I hope that winter never comes.";
mes "It is my dream.";
- set mos_middle,1;
- if (mos_kid == 1 && mos_elder == 1) set mos_nowinter,11;
+ mos_middle = 1;
+ if (mos_kid == 1 && mos_elder == 1) mos_nowinter = 11;
close;
}
mes "[Fredek]";
@@ -6245,8 +6244,8 @@ moscovia,234,168,5 script A Man#mos15 4_M_RUSBALD,{
mes "if winter never came again.";
mes "But, design of coldness is";
mes "winter itself, isn't it?";
- set mos_elder,1;
- if (mos_kid == 1 && mos_middle == 1) set mos_nowinter,11;
+ mos_elder = 1;
+ if (mos_kid == 1 && mos_middle == 1) mos_nowinter = 11;
close;
}
mes "[Gavrel]";
@@ -6295,8 +6294,8 @@ moscovia,228,80,3 script A Little Boy#mos16 4_M_RUSCHILD,{
mes "It is natural to like the summer.";
mes "Do you think";
mes "the winter should come again?";
- set mos_kid,1;
- if (mos_middle == 1 && mos_elder == 1) set mos_nowinter,11;
+ mos_kid = 1;
+ if (mos_middle == 1 && mos_elder == 1) mos_nowinter = 11;
close;
}
mes "[Rurik]";
@@ -6359,7 +6358,7 @@ OnTouch:
mes "["+strcharinfo(0)+"]";
mes "Here it is.";
mes "That was easy to find.";
- set mos_nowinter,9;
+ mos_nowinter = 9;
getitem 7761,1;
close;
}
@@ -6367,7 +6366,7 @@ OnTouch:
mes "["+strcharinfo(0)+"]";
mes "Ah, I got it!";
mes "I better get out of here quickly.";
- set mos_nowinter,9;
+ mos_nowinter = 9;
getitem 7761,1;
close;
}
@@ -6459,21 +6458,21 @@ mosk_in,131,92,3 script #Csar -1,7,7,{
mes "And, when you succeed in";
mes "banishing winter with magic,";
mes "announce that to me immediately.";
- set mos_nowinter,14;
+ mos_nowinter = 14;
close;
}
mes "[Csar Alexsay III]";
mes "I said to bring me";
mes "40 Yaga's Pestles";
mes "from the Baba Yaga.";
- set mos_nowinter,13;
+ mos_nowinter = 13;
close;
}
mes "[Csar Alexsay III]";
mes "I said to bring me";
mes "40 Yaga's Pestles";
mes "from the Baba Yaga.";
- set mos_nowinter,13;
+ mos_nowinter = 13;
close;
}
end;
@@ -6659,7 +6658,7 @@ mosk_fild02,198,252,3 script Sage#rus01 4_M_SAGE_C,{
next;
mes "[Sage]";
mes "But, don't worry about me. I know my way around here and am not afraid of monsters, haha.";
- set rhea_rus_main,1;
+ rhea_rus_main = 1;
close;
}
mes "[Sage]";
@@ -6758,7 +6757,7 @@ mosk_dun01,169,162,0 script Mysterious Stone#rus02 HIDDEN_NPC,{
mes "- !!!!!! -";
emotion e_omg,1;
donpcevent "Gray Wolf#rus03::OnEnable";
- set rhea_rus_main,2;
+ rhea_rus_main = 2;
close;
}
} else if (rhea_rus_main == 3 || rhea_rus_main == 4) {
@@ -6771,7 +6770,7 @@ mosk_dun01,169,162,0 script Mysterious Stone#rus02 HIDDEN_NPC,{
next;
mes "- You carefully read the stone -";
mes "- and decide to wait -";
- if (rhea_rus_main == 3) set rhea_rus_main,4;
+ if (rhea_rus_main == 3) rhea_rus_main = 4;
donpcevent "Gray Wolf#rus03::OnEnable";
close;
}
@@ -6810,7 +6809,7 @@ mosk_dun01,167,160,3 script Gray Wolf#rus03 4_RUS_DWOLF,{
mes "[Gray Wolf]";
mes "I'm warning you again!";
mes "Unless you want to be killed, leave now.";
- set rhea_rus_main,3;
+ rhea_rus_main = 3;
emotion e_omg,1;
specialeffect2 EF_HIT2;
percentheal -50,0;
@@ -6873,7 +6872,7 @@ mosk_dun01,167,160,3 script Gray Wolf#rus03 4_RUS_DWOLF,{
next;
mes "- He turns his back to me -";
mes "- I jump up and suddenly -";
- set rhea_rus_main,5;
+ rhea_rus_main = 5;
donpcevent "Gray Wolf#rus03::OnDisable";
close2;
warp "mosk_dun01",46,253;
@@ -6910,7 +6909,7 @@ mosk_dun01,45,259,0 script Wall#rus04 HIDDEN_NPC,{
emotion e_what,1;
close;
} else if (rhea_rus_main == 5) {
- set .@speak01,rand(1,3);
+ .@speak01 = rand(1,3);
if (.@speak01 == 3) {
mes "["+ strcharinfo(0) +"]";
mes "...?!";
@@ -6960,7 +6959,7 @@ mosk_dun01,45,259,0 script Wall#rus04 HIDDEN_NPC,{
mes "[Girl's Voice]";
mes "Please don't forget about me.";
donpcevent "Gray Wolf#rus05::OnDisable";
- set rhea_rus_main,6;
+ rhea_rus_main = 6;
close;
} else if (rhea_rus_main > 5 && rhea_rus_main < 8) {
mes "[Girl's Voice]";
@@ -7038,7 +7037,7 @@ mosk_dun01,45,259,0 script Wall#rus04 HIDDEN_NPC,{
mes "I can feel Koshei's energy.. It is not a time to use the key...";
close;
}
- set $@rus_req02,1;
+ $@rus_req02 = 1;
mes "[Girl's Voice]";
mes "Did you get the key?";
next;
@@ -7069,7 +7068,7 @@ mosk_dun01,45,259,0 script Wall#rus04 HIDDEN_NPC,{
next;
mes "[Girl's Voice]";
mes "You must've said it wrong...";
- set $@rus_req02,0;
+ $@rus_req02 = 0;
close;
}
mes "- The wind disappears and -";
@@ -7126,7 +7125,7 @@ mosk_dun01,45,259,0 script Wall#rus04 HIDDEN_NPC,{
mes "[Koshei, the Immortal]";
mes "Stop! Where do you think you're going?!!!";
delitem 7876,1;
- set rhea_rus_main,48;
+ rhea_rus_main = 48;
monster "mosk_dun01",45,256,"Koshei, the Immortal",1890,1,"Wall#rus04::OnMyMobDead";
donpcevent "Koshei#rus47::OnEnable";
close;
@@ -7166,7 +7165,7 @@ mosk_dun01,45,259,0 script Wall#rus04 HIDDEN_NPC,{
next;
mes "[Gray Wolf]";
mes "I can't keep her alive for much longer. You must find Baba Yaga.";
- set rhea_rus_main,49;
+ rhea_rus_main = 49;
close2;
donpcevent "Gray Wolf#rus05::OnDisable";
end;
@@ -7300,8 +7299,8 @@ mosk_dun01,45,259,0 script Wall#rus04 HIDDEN_NPC,{
next;
mes "[Maria Morebna]";
mes "It's been a long time since I've felt the sunlight, fresh wind and the scent of grass. I'm so grateful.";
- set rhea_rus_main,52;
- set .@rus_food,rand(1,6);
+ rhea_rus_main = 52;
+ .@rus_food = rand(1,6);
switch (rand(1,6)) {
case 1: getitem 12093,1; break;
case 2: getitem 12088,1; break;
@@ -7356,7 +7355,7 @@ mosk_dun01,45,259,0 script Wall#rus04 HIDDEN_NPC,{
OnInit:
enablenpc "Wall#rus04";
- set $@rus_req02,0;
+ $@rus_req02 = 0;
end;
OnEnable:
@@ -7369,7 +7368,7 @@ OnDisable:
OnMyMobDead:
donpcevent "Koshei#rus47::OnDisable";
- set $@rus_req02,0;
+ $@rus_req02 = 0;
stopnpctimer;
announce "Koshei, the Immortal : Keeeek, you, cursed human.. I'll never give up!!! We'll see who's smiling in the end!!!",bc_map,0xCE3131;
end;
@@ -7523,7 +7522,7 @@ moscovia,178,127,0 script The Blacksmith#rus06 1_M_SMITH,{
mes "[The Blacksmith]";
mes "Bahahaha~";
mes "I promise you, I'll explain when you bring the ^0000ff25 Steel^000000 to me. Please just get the Steel and come back.";
- set rhea_rus_main,7;
+ rhea_rus_main = 7;
close;
} else if (rhea_rus_main == 7) {
if (countitem(999) > 24) {
@@ -7572,7 +7571,7 @@ moscovia,178,127,0 script The Blacksmith#rus06 1_M_SMITH,{
mes "Bahahaha~";
mes "And don't forget to wear these!";
delitem 999,25;
- set rhea_rus_main,8;
+ rhea_rus_main = 8;
if (BaseClass == Job_Merchant || BaseClass == Job_Swordman || BaseClass == Job_Thief || BaseClass == Job_Archer || BaseClass == Job_Ninja || BaseClass == Job_Gunslinger) getitem 2429,1; else getitem 2430,1; close;
}
mes "[The Blacksmith]";
@@ -7633,7 +7632,7 @@ moscovia,178,127,0 script The Blacksmith#rus06 1_M_SMITH,{
mes "The forest is dangerous. Be very careful in there!";
mes "Ah and you shouldn't be needing those Steel Boots anymore. Good luck!";
if (countitem(2429)) delitem 2429,1; else delitem 2430,1;
- set rhea_rus_main,9;
+ rhea_rus_main = 9;
close;
}
mes "[The Blacksmith]";
@@ -7803,7 +7802,7 @@ moscovia,206,81,0 script Vassili Grandpapa#rus07 4_M_05,{
next;
mes "[Vassili Grandpapa]";
mes "She disappeared soon... after Now all I have is Ryubaba. She is also pretty and smart but nothing can relieve the sadnesss in my heart from losing Mashenka...";
- set rhea_rus_ring,1;
+ rhea_rus_ring = 1;
close;
} else if (rhea_rus_ring && rhea_rus_ring < 8) {
mes "[Vassili Grandpapa]";
@@ -7929,7 +7928,7 @@ moscovia,206,81,0 script Vassili Grandpapa#rus07 4_M_05,{
mes "[Vassili Grandpapa]";
mes "...It is my fault that this tragedy between my daughters happened. I will spend the rest of my life trying to make up for it...";
delitem 7883,1; //Pointed_Wooden_Flute
- set rhea_rus_ring,10;
+ rhea_rus_ring = 10;
getitem 7877,1; //Red_Ring
if (checkre(3)) {
if (BaseLevel < 56) getexp 470,0;
@@ -8040,7 +8039,7 @@ moscovia,213,216,3 script Ryubaba#rus08 4_F_RUSWOMAN2,{
mes "[Ryubaba]";
mes "What!? You bastard!!";
mes "I hate you! Get out of my face!";
- set rhea_rus_ring,2;
+ rhea_rus_ring = 2;
close2;
warp "moscovia",220,210;
end;
@@ -8051,7 +8050,7 @@ moscovia,213,216,3 script Ryubaba#rus08 4_F_RUSWOMAN2,{
next;
mes "[Ryubaba]";
mes "Huhu, oh you jest. You know what you're talking about. Ah, this is a Choco drink that I have made. Give it a taste, isn't it good?";
- set rhea_rus_ring,4;
+ rhea_rus_ring = 4;
getitem 573,1;
close;
} else if (rhea_rus_ring == 2) {
@@ -8073,7 +8072,7 @@ moscovia,213,216,3 script Ryubaba#rus08 4_F_RUSWOMAN2,{
mes "[Ryubaba]";
mes "Ok. Well, I forgive you.";
if (countitem(748)) delitem 748,1; else delitem 749,1;
- set rhea_rus_ring,4;
+ rhea_rus_ring = 4;
close;
}
mes "[Ryubaba]";
@@ -8125,7 +8124,7 @@ moscovia,213,216,3 script Ryubaba#rus08 4_F_RUSWOMAN2,{
next;
mes "[Ryubaba]";
mes "Right... Let me finish talking. We tried searching for her but we couldn't find her. She must have been wearing the ring when she disappeared around the marsh.";
- set rhea_rus_ring,5;
+ rhea_rus_ring = 5;
close;
} else if (rhea_rus_ring > 4 && rhea_rus_ring < 7) {
mes "[Ryubaba]";
@@ -8236,7 +8235,7 @@ moscovia,213,216,3 script Ryubaba#rus08 4_F_RUSWOMAN2,{
next;
mes "[Ryubaba]";
mes "W, wait!!!";
- set rhea_rus_ring,8;
+ rhea_rus_ring = 8;
close2;
warp "moscovia",203,80;
end;
@@ -8247,7 +8246,7 @@ moscovia,213,216,3 script Ryubaba#rus08 4_F_RUSWOMAN2,{
mes "[Ryubaba]";
mes "I have to repent for my sins and atone for them for the rest of my life.";
delitem 7883,1; //Pointed_Wooden_Flute
- set rhea_rus_ring,9;
+ rhea_rus_ring = 9;
getitem 7877,1; //Red_Ring
if (checkre(3)) {
if (BaseLevel < 56) getexp 470,0;
@@ -8353,7 +8352,7 @@ moscovia,223,210,3 script Little Boy#rus09 4_M_RUSCHILD,{
mes "[Little Boy]";
mes "Sister Ryubaba likes presents! Especially flowers such as roses. She believes that they resemble her.";
if (countitem(529)) delitem 529,1; else delitem 538,1;
- set rhea_rus_ring,3;
+ rhea_rus_ring = 3;
close;
}
mes "[Little Boy]";
@@ -8423,7 +8422,7 @@ mosk_fild02,157,233,0 script Shepherdess#rus10 1_F_04,{
next;
mes "[Shepherdess]";
mes "I am an excellent flute player! If you get me enough Pointed Branches, I will make a flute from them and play beautiful music for you. Please~!";
- set rhea_rus_ring,6;
+ rhea_rus_ring = 6;
close;
} else if (rhea_rus_ring == 6) {
if (countitem(7882) > 24) {
@@ -8477,7 +8476,7 @@ mosk_fild02,157,233,0 script Shepherdess#rus10 1_F_04,{
mes "- ^0000ffShepherdess gives me the^000000 -";
mes "- ^0000ff'Pointed Wooden Flute'!!^000000 -";
delitem 7882,25;
- set rhea_rus_ring,7;
+ rhea_rus_ring = 7;
getitem 7883,1;
close;
}
@@ -8604,7 +8603,7 @@ moscovia,166,145,1 script Worried Mother#rus19 4_F_RUSWOMAN3,{
next;
mes "[Worried Mother]";
mes "Please, please find my daughter.";
- set rhea_rus_hair,1;
+ rhea_rus_hair = 1;
close;
} else if (rhea_rus_hair == 1) {
mes "[Worried Mother]";
@@ -8627,7 +8626,7 @@ moscovia,166,145,1 script Worried Mother#rus19 4_F_RUSWOMAN3,{
next;
mes "[Worried Mother]";
mes "I'm not sure where she would be but it has to be somewhere near water. Please, find where my daughter is. I beg of you.";
- set rhea_rus_hair,2;
+ rhea_rus_hair = 2;
close;
} else if (rhea_rus_hair > 1 && rhea_rus_hair < 9) {
mes "[Worried Mother]";
@@ -8732,7 +8731,7 @@ OnTouch:
mes "- As soon as you touch the -";
mes "- cool damp hair, you seem -";
mes "- the feel the sadness within -";
- set rhea_rus_hair,9;
+ rhea_rus_hair = 9;
getitem 7878,2;
close;
} else if (rhea_rus_hair > 8) {
@@ -8846,7 +8845,7 @@ mosk_fild02,124,202,3 script Lusalka#rus23 4_F_RUSGREEN,{
mes "- ^0000ffI recieve the^000000 -";
mes "- ^0000ffgolden earrings^000000 -";
mes "- ^0000fffrom Lusalka!^000000 -";
- set rhea_rus_hair,3;
+ rhea_rus_hair = 3;
donpcevent "Lusalka#rus23::OnDisable";
close;
} else if (rhea_rus_hair > 2 && rhea_rus_hair < 7) {
@@ -8926,7 +8925,7 @@ mosk_fild02,124,202,3 script Lusalka#rus23 4_F_RUSGREEN,{
mes "["+ strcharinfo(0) +"]";
mes "W, who are you!? Ahkkk!!";
sc_start SC_BLIND,10000,0;
- set rhea_rus_hair,8;
+ rhea_rus_hair = 8;
donpcevent "Lusalka#rus23::OnDisable";
close;
} else if (rhea_rus_hair > 7) {
@@ -9058,7 +9057,7 @@ prontera,228,279,3 script Wanderer#rus24 4_M_RUSMAN2,{
mes "Though, he did tell";
mes "me that he wanted";
mes "to travel to a desert.";
- set rhea_rus_hair,4;
+ rhea_rus_hair = 4;
close;
} else if (rhea_rus_hair > 3 && rhea_rus_hair < 7) {
mes "[A Wanderer from a strange land]";
@@ -9138,7 +9137,7 @@ morocc,165,82,0 script Morroc Villager#rus25 1_M_02,{
next;
mes "[Morroc Villager]";
mes "Yep that's gotta be who you're looking for. I can see his gloomy face right now... that poor sad man.";
- set rhea_rus_hair,5;
+ rhea_rus_hair = 5;
close;
} else if (rhea_rus_hair > 4 && rhea_rus_hair < 7) {
mes "[Morroc Villager]";
@@ -9242,7 +9241,7 @@ moc_pryd04,126,120,0 script Soldier#rus26 4_M_RUSMAN1,{
mes "[A gloomy looking soldier]";
mes "I, I was a coward. I was too afraid of drowning to pull her out of the marsh. Too afraid of....";
mes "Oh... Svetlana!!!";
- set rhea_rus_hair,6;
+ rhea_rus_hair = 6;
close;
} else if (rhea_rus_hair == 6) {
if (getequipid(EQI_SHOES) != 2429) {
@@ -9278,7 +9277,7 @@ moc_pryd04,126,120,0 script Soldier#rus26 4_M_RUSMAN1,{
next;
mes "[A gloomy looking soldier]";
mes "Before the full moon, I will be back to Moscovia and meet her. I will come back so strong and happy that when I go to see her she will not suffer anymore.";
- set rhea_rus_hair,7;
+ rhea_rus_hair = 7;
close;
} else if (rhea_rus_hair == 7) {
mes "[A gloomy looking soldier]";
@@ -9364,7 +9363,7 @@ OnTouch:
next;
mes "[Voice unidentified]";
mes "Show me what you can do.";
- set rhea_rus_quiz,1;
+ rhea_rus_quiz = 1;
close;
}
}
@@ -9411,16 +9410,16 @@ mosk_que,45,131,0 script Stone Furnace#rus28 HIDDEN_NPC,{
mes "[Marozka's Guard]";
mes "How did this rat get inside the cave?!";
announce "Marozka's Guard : Invader! Search the whole cave!!",bc_map,0x87CEEB;
- set rhea_rus_quiz,2;
+ rhea_rus_quiz = 2;
initnpctimer;
monster "mosk_que",49,156,"Marozka's Guard",1889,1,"Stone Furnace#rus28::OnMyMobDead";
- set $@rus_req01,1;
+ $@rus_req01 = 1;
close;
}
mes "[Marozka's Guard]";
mes "How did this rat get inside the cave?!";
announce "Marozka's Guard : Invader! Search the whole cave!!",bc_map,0x87CEEB;
- set rhea_rus_quiz,2;
+ rhea_rus_quiz = 2;
close;
}
}
@@ -9428,17 +9427,17 @@ mosk_que,45,131,0 script Stone Furnace#rus28 HIDDEN_NPC,{
close;
OnInit:
- set $@rus_req01,0;
+ $@rus_req01 = 0;
end;
OnMyMobDead:
stopnpctimer;
- set $@rus_req01,0;
+ $@rus_req01 = 0;
announce "Mazroka : You are truly brave. When you get the cookies and apples, come to see me.",bc_map,0x87CEEB;
end;
OnTimer300000:
- set $@rus_req01,0;
+ $@rus_req01 = 0;
killmonster "mosk_que","Stone Furnace#rus28::OnMyMobDead";
end;
}
@@ -9473,7 +9472,7 @@ mosk_que,56,202,0 script Occult Apple Tree#rus29 HIDDEN_NPC,{
}
mes "- ^0000ff You get 100 Apples !!^000000 -";
announce "Mazroka : You are truly brave. When you get the cookies and apples, come to see me.",bc_map,0x87CEEB;
- set rhea_rus_quiz,3;
+ rhea_rus_quiz = 3;
close;
}
}
@@ -9520,16 +9519,16 @@ mosk_fild02,243,270,0 script Marozka#rus31 4_M_LGTGRAND,{
next;
mes "[Marozka]";
mes "I will begin making it now... let me see... Could you please come back to me in an hour?";
- set rhea_rus_quiz,4;
- set rus_time01,gettime(3);
- set rus_time02,gettime(4);
+ rhea_rus_quiz = 4;
+ rus_time01 = gettime(3);
+ rus_time02 = gettime(4);
close;
} else if (rhea_rus_quiz == 4) {
if (rus_time01 < gettime(3) || rus_time02 < gettime(4) || (rus_time02 == 6 && gettime(4) == 0)) {
mes "[Marozka]";
mes "Ah, just in time.";
mes "I have finally finished making the 'Golden Thread'. Just wait one more second and it'll be ready.";
- set rhea_rus_quiz,28;
+ rhea_rus_quiz = 28;
close;
}
mes "[Marozka]";
@@ -9561,7 +9560,7 @@ mosk_fild02,243,270,0 script Marozka#rus31 4_M_LGTGRAND,{
next;
mes "[Marozka]";
mes "That was a test of your strength. Now you must pass the test of mind and wisdom.";
- set rhea_rus_quiz,29;
+ rhea_rus_quiz = 29;
close;
} else if (rhea_rus_quiz == 29) {
if (getequipid(EQI_SHOES) != 2429) {
@@ -9582,32 +9581,32 @@ mosk_fild02,243,270,0 script Marozka#rus31 4_M_LGTGRAND,{
mes "[Marozka]";
mes "You will... Ok, let's get to it. You must answer all of these questions correctly in order to pass the test.";
next;
- set .@rus_quiz01,0;
+ .@rus_quiz01 = 0;
mes "[Marozka]";
mes "What is deaf, dumb, and blind and always tells the truth?";
next;
- set .@j,select("A Poring:A Picky:A Mirror:A Tree");
- set .@rus_quiz01,(.@j==3)?.@rus_quiz01+1:.@rus_quiz01;
+ .@j = select("A Poring:A Picky:A Mirror:A Tree");
+ .@rus_quiz01 = (.@j==3)?.@rus_quiz01+1:.@rus_quiz01;
mes "[Marozka]";
mes "If 4 cats can catch 4 mice every 4 minutes, what is the minimum number of cats needed to get 10 mice in 10 minutes?";
next;
- set .@j,select("4:5:6:10");
- set .@rus_quiz01,(.@j==1)?.@rus_quiz01+1:.@rus_quiz01;
+ .@j = select("4:5:6:10");
+ .@rus_quiz01 = (.@j==1)?.@rus_quiz01+1:.@rus_quiz01;
mes "[Marozka]";
mes "Which of these gets shorter during winter and longer during summer?";
next;
- set .@j,select("Sky:Day:Waves:Wind");
- set .@rus_quiz01,(.@j==2)?.@rus_quiz01+1:.@rus_quiz01;
+ .@j = select("Sky:Day:Waves:Wind");
+ .@rus_quiz01 = (.@j==2)?.@rus_quiz01+1:.@rus_quiz01;
mes "[Marozka]";
mes "Doris Etticoat, wears a petticoat and has a red nose; the longer she stands, the shorter she grows. What is she?";
next;
- set .@j,select("A Star:A Candle:A Sword:The Moon");
- set .@rus_quiz01,(.@j==2)?.@rus_quiz01+1:.@rus_quiz01;
+ .@j = select("A Star:A Candle:A Sword:The Moon");
+ .@rus_quiz01 = (.@j==2)?.@rus_quiz01+1:.@rus_quiz01;
mes "[Marozka]";
mes "My top and bottom are twins of a kind. The middle of me makes one body combined. If I stand tall and still, run faster I will. What am I?";
next;
- set .@j,select("A Woman:Valkyrie:The Moon:An Hourglass");
- set .@rus_quiz01,(.@j==4)?.@rus_quiz01+1:.@rus_quiz01;
+ .@j = select("A Woman:Valkyrie:The Moon:An Hourglass");
+ .@rus_quiz01 = (.@j==4)?.@rus_quiz01+1:.@rus_quiz01;
mes "[Marozka]";
mes "Now let's see how you did.";
next;
@@ -9628,7 +9627,7 @@ mosk_fild02,243,270,0 script Marozka#rus31 4_M_LGTGRAND,{
next;
mes "[Marozka]";
mes "I hope you help Maria with your strength and kindness.";
- set rhea_rus_quiz,30;
+ rhea_rus_quiz = 30;
getitem 7879,10;
close;
}
@@ -9743,7 +9742,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
delitem 7877,1;
delitem 7878,2;
delitem 7879,10;
- set rhea_rus_main,10;
+ rhea_rus_main = 10;
close;
} else if (rhea_rus_main == 10) {
mes "[Baba Yaga]";
@@ -9761,7 +9760,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
next;
mes "[Baba Yaga]";
mes "Ok! Move, move! You better be quick or I will find a way to punish you. Ehehehehehe.";
- set rhea_rus_main,11;
+ rhea_rus_main = 11;
close;
} else if (BaseClass == Job_Acolyte) {
mes "[Baba Yaga]";
@@ -9769,7 +9768,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
next;
mes "[Baba Yaga]";
mes "Ok! Move, move! You better be quick or I will find a way to punish you. Ehehehehehe.";
- set rhea_rus_main,16;
+ rhea_rus_main = 16;
close;
} else if (BaseClass == Job_Thief) {
mes "[Baba Yaga]";
@@ -9777,7 +9776,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
next;
mes "[Baba Yaga]";
mes "Ok! Move, move! You better be quick or I will find a way to punish you. Ehehehehehe.";
- set rhea_rus_main,21;
+ rhea_rus_main = 21;
close;
} else if (BaseClass == Job_Mage) {
mes "[Baba Yaga]";
@@ -9785,7 +9784,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
next;
mes "[Baba Yaga]";
mes "Ok! Move, move! You better be quick or I will find a way to punish you. Ehehehehehe.";
- set rhea_rus_main,26;
+ rhea_rus_main = 26;
close;
} else if (BaseClass == Job_Swordman) {
mes "[Baba Yaga]";
@@ -9793,7 +9792,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
next;
mes "[Baba Yaga]";
mes "Ok! Move, move! You better be quick or I will find a way to punish you. Ehehehehehe.";
- set rhea_rus_main,31;
+ rhea_rus_main = 31;
close;
}
mes "[Baba Yaga]";
@@ -9801,7 +9800,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
next;
mes "[Baba Yaga]";
mes "Ok! Move, move! You better be quick or I will find a way to punish you. Ehehehehehe.";
- set rhea_rus_main,36;
+ rhea_rus_main = 36;
close;
} else if (rhea_rus_main > 10 && rhea_rus_main < 16) {
mes "[Baba Yaga]";
@@ -9845,7 +9844,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
mes "'Keep off the grass!!!'";
specialeffect EF_BEGINSPELL4;
delitem 7881,1;
- set rhea_rus_main,28;
+ rhea_rus_main = 28;
monster "mosk_dun02",52,210,"Violent Gardener",1493,1,"Baba Yaga#rus32::OnMyMobDead";
monster "mosk_dun02",53,210,"Dangerous Gardener",1500,1,"Baba Yaga#rus32::OnMyMobDead";
monster "mosk_dun02",54,210,"Brutal Gardener",1497,1,"Baba Yaga#rus32::OnMyMobDead";
@@ -9871,7 +9870,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
mes "[Baba Yaga]";
mes "'There is an order for you to open your eyes!!!'";
specialeffect2 EF_BEGINSPELL3;
- set rhea_rus_main,29;
+ rhea_rus_main = 29;
monster "mosk_dun02",52,210,"Alarm to 5 minutes",1193,1,"Baba Yaga#rus32::OnMyMobDead";
monster "mosk_dun02",53,210,"Alarm on time",1193,1,"Baba Yaga#rus32::OnMyMobDead";
monster "mosk_dun02",54,210,"Alarm past 5 minutes",1193,1,"Baba Yaga#rus32::OnMyMobDead";
@@ -9903,7 +9902,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
next;
mes "[Baba Yaga]";
mes "Huh, I can make it for you right now. You have a violent temper.";
- set rhea_rus_main,44;
+ rhea_rus_main = 44;
close;
} else if (rhea_rus_main > 30 && rhea_rus_main < 36) {
mes "[Baba Yaga]";
@@ -9928,7 +9927,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
next;
mes "[Baba Yaga]";
mes "Here, help Maria with this key and watch out for Koshei. He is very dangerous. Kehehehehehe.";
- set rhea_rus_main,47;
+ rhea_rus_main = 47;
getitem 7876,1;
close;
} else if (rhea_rus_main == 42) {
@@ -9943,7 +9942,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
next;
mes "[Baba Yaga]";
mes "Here, help Maria with this key and watch out for Koshei. He is very dangerous. Kehehehehehe.";
- set rhea_rus_main,47;
+ rhea_rus_main = 47;
getitem 7876,1;
close;
} else if (rhea_rus_main == 43) {
@@ -9960,7 +9959,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
mes "[Baba Yaga]";
mes "Here, help Maria with this key and watch out for Koshei. He is very dangerous. Kehehehehehe.";
delitem 7880,1;
- set rhea_rus_main,47;
+ rhea_rus_main = 47;
getitem 7876,1;
close;
}
@@ -9985,7 +9984,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
next;
mes "[Baba Yaga]";
mes "Here, help Maria with this key and watch out for Koshei. He is very dangerous. Kehehehehehe.";
- set rhea_rus_main,47;
+ rhea_rus_main = 47;
getitem 7876,1;
close;
} else if (rhea_rus_main == 45) {
@@ -10000,7 +9999,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
next;
mes "[Baba Yaga]";
mes "Here, help Maria with this key and watch out for Koshei. He is very dangerous. Kehehehehehe.";
- set rhea_rus_main,47;
+ rhea_rus_main = 47;
getitem 7876,1;
close;
} else if (rhea_rus_main == 46) {
@@ -10015,7 +10014,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
next;
mes "[Baba Yaga]";
mes "Here, help Maria with this key and watch out for Koshei. He is very dangerous. Kehehehehehe.";
- set rhea_rus_main,47;
+ rhea_rus_main = 47;
getitem 7876,1;
close;
} else if (rhea_rus_main > 46 && rhea_rus_main < 49) {
@@ -10053,7 +10052,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
next;
mes "[Baba Yaga]";
mes "Bring them to me quickly! Time is running out!";
- set rhea_rus_main,50;
+ rhea_rus_main = 50;
close;
} else if (rhea_rus_main == 50) {
if (countitem(523) && countitem(12020) && countitem(610) > 1 && countitem(520) > 9) {
@@ -10105,7 +10104,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
delitem 12020,1;
delitem 610,2;
delitem 520,10;
- set rhea_rus_main,51;
+ rhea_rus_main = 51;
close;
}
mes "[Baba Yaga]";
@@ -10157,7 +10156,7 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
next;
mes "[Baba Yaga]";
mes "Whenever you come to me, I will make you potions with just a few materials and a small fee. I hope that this will be of help to you. Kehehehehehe.";
- set rhea_rus_main,53;
+ rhea_rus_main = 53;
close;
} else if (rhea_rus_main > 52) {
mes "[Baba Yaga]";
@@ -10167,25 +10166,25 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
case 1:
if (countitem(501) > 0 && countitem(1092) > 0 && countitem(7134) > 0 && countitem(512) > 4) {
if (Zeny > 19) {
- set .@red_potion01,countitem(501);
- set .@red_tube01,countitem(1092);
- set .@red_cup01,countitem(7134);
- set .@red_apple01,countitem(512);
- set .@red_zeny01,Zeny;
+ .@red_potion01 = countitem(501);
+ .@red_tube01 = countitem(1092);
+ .@red_cup01 = countitem(7134);
+ .@red_apple01 = countitem(512);
+ .@red_zeny01 = Zeny;
while(1) {
if (!.@red_potion01 || !.@red_tube01 || !.@red_cup01 || .@red_apple01 < 5 || .@red_zeny01 < 20) break;
else {
- set .@red_slim01,.@red_slim01+1;
- set .@red_potion01,.@red_potion01-1;
- set .@redpotion_send,.@redpotion_send+1;
- set .@red_tube01,.@red_tube01-1;
- set .@redtube_send,.@redtube_send+1;
- set .@red_cup01,.@red_cup01-1;
- set .@redcup_send,.@redcup_send+1;
- set .@red_apple01,.@red_apple01-5;
- set .@redapple_send,.@redapple_send+5;
- set .@red_zeny01,.@red_zeny01-20;
- set .@redzeny_sen,.@redzeny_send+20;
+ .@red_slim01 += 1;
+ .@red_potion01 -= 1;
+ .@redpotion_send += 1;
+ .@red_tube01 -= 1;
+ .@redtube_send += 1;
+ .@red_cup01 -= 1;
+ .@redcup_send += 1;
+ .@red_apple01 -= 5;
+ .@redapple_send += 5;
+ .@red_zeny01 -= 20;
+ .@redzeny_send += 20;
}
}
mes "[Baba Yaga]";
@@ -10212,12 +10211,12 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
next;
} else break;
}
- set .@redpotion_send,.@input;
- set .@redtube_send,.@input;
- set .@redcup_send,.@input;
- set .@redapple_send,.@input * 5;
- set .@redzeny_send,.@input * 20;
- set .@total_red01,.@input;
+ .@redpotion_send = .@input;
+ .@redtube_send = .@input;
+ .@redcup_send = .@input;
+ .@redapple_send = .@input * 5;
+ .@redzeny_send = .@input * 20;
+ .@total_red01 = .@input;
if (countitem(501) < .@redpotion_send || countitem(1092) < .@redtube_send || countitem(7134) < .@redcup_send || countitem(512) < .@redapple_send || Zeny < .@redzeny_send) {
mes "[Baba Yaga]";
mes "Where are the materials?";
@@ -10254,25 +10253,25 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
case 2:
if (countitem(503) && countitem(1092) && countitem(7134) && countitem(513) > 9) {
if (Zeny > 49) {
- set .@yell_potion01,countitem(503);
- set .@yell_tube01,countitem(1092);
- set .@yell_cup01,countitem(7134);
- set .@yell_banana01,countitem(513);
- set .@yell_zeny01,Zeny;
+ .@yell_potion01 = countitem(503);
+ .@yell_tube01 = countitem(1092);
+ .@yell_cup01 = countitem(7134);
+ .@yell_banana01 = countitem(513);
+ .@yell_zeny01 = Zeny;
while(1) {
if (!.@yell_potion01 || !.@yell_tube01 || !.@yell_cup01 || .@yell_banana01 < 10 || .@yell_zeny01 < 50) break;
else {
- set .@yell_slim01,.@yell_slim01+1;
- set .@yell_potion01,.@yell_potion01-1;
- set .@yellpotion_send,.@yellpotion_send+1;
- set .@yell_tube01,.@yell_tube01-1;
- set .@yelltube_send,.@yelltube_send+1;
- set .@yell_cup01,.@yell_cup01-1;
- set .@yellcup_send,.@yellcup_send+1;
- set .@yell_banana01,.@yell_banana01-10;
- set .@yellbanana_send,.@yellbanana_send+10;
- set .@yell_zeny01,.@yell_zeny01-50;
- set .@yellzeny_send,.@yellzeny_send+50;
+ ++.@yell_slim01;
+ --.@yell_potion01;
+ ++.@yellpotion_send;
+ --.@yell_tube01;
+ ++.@yelltube_send;
+ --.@yell_cup01;
+ ++.@yellcup_send;
+ .@yell_banana01 -= 10;
+ .@yellbanana_send += 10;
+ .@yell_zeny01 -= 50;
+ .@yellzeny_send += 50;
}
}
mes "[Baba Yaga]";
@@ -10299,12 +10298,12 @@ mosk_dun02,48,214,5 script Baba Yaga#rus32 4_F_BABAYAGA,{
next;
} else break;
}
- set .@yellpotion_send,.@input;
- set .@yelltube_send,.@input;
- set .@yellcup_send,.@input;
- set .@yellbanana_send,.@input*10;
- set .@yellzeny_send,.@input*50;
- set .@total_yell01,.@input;
+ .@yellpotion_send = .@input;
+ .@yelltube_send = .@input;
+ .@yellcup_send = .@input;
+ .@yellbanana_send = .@input*10;
+ .@yellzeny_send = .@input*50;
+ .@total_yell01 = .@input;
if (countitem(503) < .@yellpotion_send || countitem(1092) < .@yelltube_send || countitem(7134) < .@yellcup_send || countitem(513) < .@yellbanana_send || Zeny < .@yellzeny_send) {
mes "[Baba Yaga]";
mes "Where are the materials?";
@@ -10459,7 +10458,7 @@ OnTouch:
next;
mes "["+ strcharinfo(0) +"]";
mes "Ok, then. Let's get back to Baba Yaga...";
- set rhea_rus_main,41;
+ rhea_rus_main = 41;
close;
} else if (rhea_rus_main == 41) {
mes "[Cow]";
@@ -10558,7 +10557,7 @@ OnTouch:
next;
mes "["+ strcharinfo(0) +"]";
mes "Ok, then. Let's get back to Baba Yaga...";
- set rhea_rus_main,41;
+ rhea_rus_main = 41;
close;
} else if (rhea_rus_main == 41) {
mes "[Cow]";
@@ -10646,7 +10645,7 @@ OnTouch:
next;
mes "["+ strcharinfo(0) +"]";
mes "Ok, then. Let's get back to Baba Yaga...";
- set rhea_rus_main,41;
+ rhea_rus_main = 41;
close;
} else if (rhea_rus_main == 41) {
mes "[Cow]";
@@ -10701,7 +10700,7 @@ mosk_dun02,65,232,0 script Noisy Coffin#rus36 4_NFCOFFIN,{
next;
mes "[Noisy Coffin]";
mes "Heek, heeee! Heeeeeek!";
- set rhea_rus_main,18;
+ rhea_rus_main = 18;
next;
} else {
mes "["+ strcharinfo(0) +"]";
@@ -10732,7 +10731,7 @@ mosk_dun02,65,232,0 script Noisy Coffin#rus36 4_NFCOFFIN,{
next;
mes "[Noisy Coffin]";
mes "Heek, heeee! Heeeeeek!";
- set rhea_rus_main,19;
+ rhea_rus_main = 19;
next;
} else {
mes "["+ strcharinfo(0) +"]";
@@ -10764,7 +10763,7 @@ mosk_dun02,65,232,0 script Noisy Coffin#rus36 4_NFCOFFIN,{
mes "[Noisy Coffin]";
mes "Heek, heeee! Heeeeeek!";
delitem 523,1;
- set rhea_rus_main,17;
+ rhea_rus_main = 17;
next;
} else {
mes "["+ strcharinfo(0) +"]";
@@ -10804,7 +10803,7 @@ mosk_dun02,65,232,0 script Noisy Coffin#rus36 4_NFCOFFIN,{
mes "[Noisy Coffin]";
mes "Heeeek! Heeeeeee!!!! I am scared! Stop it!!";
specialeffect EF_HOLYHIT;
- set rhea_rus_main,20;
+ rhea_rus_main = 20;
next;
} else {
mes "["+ strcharinfo(0) +"]";
@@ -10827,7 +10826,7 @@ mosk_dun02,65,232,0 script Noisy Coffin#rus36 4_NFCOFFIN,{
if (rhea_rus_main < 20) {
mes "["+ strcharinfo(0) +"]";
mes "... Not effective...";
- set rhea_rus_main,16;
+ rhea_rus_main = 16;
close;
}
mes "["+ strcharinfo(0) +"]";
@@ -10840,7 +10839,7 @@ mosk_dun02,65,232,0 script Noisy Coffin#rus36 4_NFCOFFIN,{
mes "["+ strcharinfo(0) +"]";
mes "Hu, the job has been done.";
mes "Let's get back to Baba Yaga.";
- set rhea_rus_main,42;
+ rhea_rus_main = 42;
close;
} else if (rhea_rus_main == 20) {
mes "["+ strcharinfo(0) +"]";
@@ -10853,7 +10852,7 @@ mosk_dun02,65,232,0 script Noisy Coffin#rus36 4_NFCOFFIN,{
mes "["+ strcharinfo(0) +"]";
mes "Hu, the job has been done.";
mes "Let's get back to Baba Yaga.";
- set rhea_rus_main,42;
+ rhea_rus_main = 42;
close;
} else if (rhea_rus_main == 42) {
mes "["+ strcharinfo(0) +"]";
@@ -10911,7 +10910,7 @@ treasure01,165,58,0 script Old Treasure Box#rus37 HIDDEN_NPC,{
mes "- The light reflected goes to the woman shape and fumes comes from the box and it opens !! -";
next;
mes "- ^0000ff You find Baba Yaga's spoon !!^000000 -";
- set rhea_rus_main,43;
+ rhea_rus_main = 43;
getitem 7880,1;
close;
} else if (rhea_rus_main == 43) {
@@ -11008,7 +11007,7 @@ treasure01,24,39,0 script Old Bed#rus38 HIDDEN_NPC,{
next;
mes "["+ strcharinfo(0) +"]";
mes "Eek, it would be best to run away now!";
- set rhea_rus_main,22;
+ rhea_rus_main = 22;
close2;
warp "treasure01",68,28;
end;
@@ -11051,7 +11050,7 @@ treasure01,98,119,0 script Dirty Wall#rus39 HIDDEN_NPC,{
next;
mes "["+ strcharinfo(0) +"]";
mes "...What is this talking about...?";
- if (rhea_rus_main == 22) set rhea_rus_main,23;
+ if (rhea_rus_main == 22) rhea_rus_main = 23;
close;
}
end;
@@ -11066,7 +11065,7 @@ treasure01,61,183,0 script Old_Wooden_Box#rus40 HIDDEN_NPC,{
mes "- You take out something glimmering from the box -";
next;
mes "- ^0000ffYou find the handle of a broken key !!^000000 -";
- set rhea_rus_main,24;
+ rhea_rus_main = 24;
close;
}
mes "- You try to put your hand inside it but the gap is too small to do it -";
@@ -11092,7 +11091,7 @@ treasure01,27,115,0 script Opened Treasure Chest#41 HIDDEN_NPC,{
mes "["+ strcharinfo(0) +"]";
mes "...!? What is this?!";
next;
- set .@russ_key02,rand(1,7);
+ .@russ_key02 = rand(1,7);
if (rand(1,7) == 3) {
mes "- ^0000ffYou find the handle of a broken key in the junk !!^000000 -";
next;
@@ -11115,7 +11114,7 @@ treasure01,27,115,0 script Opened Treasure Chest#41 HIDDEN_NPC,{
mes "Eh, this may be...";
next;
mes "- You adjust the piece of the broken key with the its handle and they make a sound and become a key !!-";
- set rhea_rus_main,25;
+ rhea_rus_main = 25;
close;
} else if (rhea_rus_main > 24 && rhea_rus_main < 26) {
mes "- The junk box containig the piece of the broken key -";
@@ -11187,7 +11186,7 @@ amatsu,233,234,3 script Momotoro Publisher#rus42 4_F_JPN2,{
mes "[Momotoro Publisher]";
mes "Thank you for buying our books. If you need more books, contact us please.";
Zeny -= 5000;
- set rhea_rus_main,27;
+ rhea_rus_main = 27;
getitem 7881,1;
close;
} else if (rhea_rus_main > 26 && rhea_rus_main < 31) {
@@ -11223,7 +11222,7 @@ mosk_dun02,57,220,0 script House Ghost Jar#rus43 HIDDEN_NPC,{
mes "- You kick the jar -";
mes "- it rolls to the floor -";
mes "- as bugs come out!! -";
- set rhea_rus_main,32;
+ rhea_rus_main = 32;
monster "mosk_dun02",58,220,"Thief Bug Male",1054,1,"House Ghost Jar#rus43::OnMyMobDead";
monster "mosk_dun02",59,220,"Ancient Worm",1305,1,"House Ghost Jar#rus43::OnMyMobDead";
monster "mosk_dun02",60,220,"Thief Bug Male",1054,1,"House Ghost Jar#rus43::OnMyMobDead";
@@ -11261,7 +11260,7 @@ mosk_dun02,57,220,0 script House Ghost Jar#rus43 HIDDEN_NPC,{
}
mes "[House Ghost]";
mes "What about a card game? I was good at those games! Ah, where are my cards? Wait here! I'll find them!";
- set rhea_rus_main,33;
+ rhea_rus_main = 33;
close;
} else if (rhea_rus_main == 33) {
mes "[House Ghost]";
@@ -11274,8 +11273,8 @@ mosk_dun02,57,220,0 script House Ghost Jar#rus43 HIDDEN_NPC,{
mes "["+ strcharinfo(0) +"]";
mes "Ok! It will be fun. Let's do it.";
next;
- set .@rugame_turn01,0;
- set .@ruuser_score01,0;
+ .@rugame_turn01 = 0;
+ .@ruuser_score01 = 0;
while(.@rugame_turn01 != 5) {
mes "[House Ghost]";
mes "Ok, first let me shuffle these cards around.";
@@ -11303,7 +11302,7 @@ mosk_dun02,57,220,0 script House Ghost Jar#rus43 HIDDEN_NPC,{
mes "What is this card?";
cutin "sorry.bmp",4;
next;
- set .@rucard_game01,rand(1,3);
+ .@rucard_game01 = rand(1,3);
switch(select("Poring:Angeling:Ghostring")) {
case 1:
mes "["+ strcharinfo(0) +"]";
@@ -11321,8 +11320,8 @@ mosk_dun02,57,220,0 script House Ghost Jar#rus43 HIDDEN_NPC,{
mes "[House Ghost]";
mes "You got it right. You are good.";
mes "Can you do it next time?";
- set .@rugame_turn01,.@rugame_turn01+1;
- set .@ruuser_score01,.@ruuser_score01+1;
+ ++.@rugame_turn01;
+ ++.@ruuser_score01;
cutin "",255;
next;
} else {
@@ -11336,7 +11335,7 @@ mosk_dun02,57,220,0 script House Ghost Jar#rus43 HIDDEN_NPC,{
mes "[House Ghost]";
mes "Huuu...";
mes "Better luck next time!";
- set .@rugame_turn01,.@rugame_turn01+1;
+ ++.@rugame_turn01;
cutin "",255;
next;
}
@@ -11357,8 +11356,8 @@ mosk_dun02,57,220,0 script House Ghost Jar#rus43 HIDDEN_NPC,{
mes "[House Ghost]";
mes "You got it right. You are good.";
mes "Can you do it next time?";
- set .@rugame_turn01,.@rugame_turn01+1;
- set .@ruuser_score01,.@ruuser_score01+1;
+ ++.@rugame_turn01;
+ ++.@ruuser_score01;
cutin "",255;
next;
} else {
@@ -11372,7 +11371,7 @@ mosk_dun02,57,220,0 script House Ghost Jar#rus43 HIDDEN_NPC,{
mes "[House Ghost]";
mes "Huuu...";
mes "Better luck next time!";
- set .@rugame_turn01,.@rugame_turn01+1;
+ ++.@rugame_turn01;
cutin "",255;
next;
}
@@ -11393,8 +11392,8 @@ mosk_dun02,57,220,0 script House Ghost Jar#rus43 HIDDEN_NPC,{
mes "[House Ghost]";
mes "You got it right. You are good.";
mes "Can you do it next time?";
- set .@rugame_turn01,.@rugame_turn01+1;
- set .@ruuser_score01,.@ruuser_score01+1;
+ ++.@rugame_turn01;
+ ++.@ruuser_score01;
cutin "",255;
next;
} else {
@@ -11408,7 +11407,7 @@ mosk_dun02,57,220,0 script House Ghost Jar#rus43 HIDDEN_NPC,{
mes "[House Ghost]";
mes "Huuu...";
mes "Better luck next time!";
- set .@rugame_turn01,.@rugame_turn01+1;
+ ++.@rugame_turn01;
cutin "",255;
next;
}
@@ -11417,7 +11416,7 @@ mosk_dun02,57,220,0 script House Ghost Jar#rus43 HIDDEN_NPC,{
if (.@ruuser_score01 == 3) {
mes "[House Ghost]";
mes "You are better than I thought.";
- set rhea_rus_main,34;
+ rhea_rus_main = 34;
close;
}
mes "["+ strcharinfo(0) +"]";
@@ -11457,7 +11456,7 @@ mosk_dun02,57,220,0 script House Ghost Jar#rus43 HIDDEN_NPC,{
next;
mes "[House Ghost]";
mes "I will never forget your kindness of entertaining me.";
- set rhea_rus_main,45;
+ rhea_rus_main = 45;
close;
} else if (rhea_rus_main == 45) {
mes "[House Ghost]";
@@ -11523,7 +11522,7 @@ payon,65,119,0 script Broom Grandma#rus44 1_F_ORIENT_04,{
next;
mes "[Broom Grandma]";
mes "Ah.. What should I do...";
- set rhea_rus_main,37;
+ rhea_rus_main = 37;
close;
} else if (rhea_rus_main > 36 && rhea_rus_main < 41) {
mes "[Broom Grandma]";
@@ -11579,7 +11578,7 @@ pay_dun04,163,186,0 script Ghost Tree#rus45 HIDDEN_NPC,{
next;
mes "[Ghost Tree]";
mes "Eh.. Let's see. This will be a good start! Let's get started if you are ready!";
- set rhea_rus_main,38;
+ rhea_rus_main = 38;
close;
} else if (rhea_rus_main == 38) {
mes "[Ghost Tree]";
@@ -11609,15 +11608,15 @@ pay_dun04,163,186,0 script Ghost Tree#rus45 HIDDEN_NPC,{
mes "[Ghost Tree]";
mes "Ok then, who was the first?!";
next;
- set .@rus_kafra01,0;
+ .@rus_kafra01 = 0;
input .@input$;
if (.@input$ == "Curly Sue") {
- set .@rus_kafra01,.@rus_kafra01+1;
+ ++.@rus_kafra01;
mes "["+ strcharinfo(0) +"]";
mes ""+ .@input$ +" !!";
next;
} else {
- set .@rus_kafra01,.@rus_kafra01;
+ //.@rus_kafra01 = .@rus_kafra01;
mes "["+ strcharinfo(0) +"]";
mes ""+ .@input$ +"!!";
next;
@@ -11627,12 +11626,12 @@ pay_dun04,163,186,0 script Ghost Tree#rus45 HIDDEN_NPC,{
next;
input .@input$;
if (.@input$ == "Jasmine") {
- set .@rus_kafra01,.@rus_kafra01+1;
+ ++.@rus_kafra01;
mes "["+ strcharinfo(0) +"]";
mes ""+ .@input$ +" !!";
next;
} else {
- set .@rus_kafra01,.@rus_kafra01;
+ //.@rus_kafra01 = .@rus_kafra01;
mes "["+ strcharinfo(0) +"]";
mes ""+ .@input$ +"!!";
next;
@@ -11642,12 +11641,12 @@ pay_dun04,163,186,0 script Ghost Tree#rus45 HIDDEN_NPC,{
next;
input .@input$;
if (.@input$ == "Roxie") {
- set .@rus_kafra01,.@rus_kafra01+1;
+ ++.@rus_kafra01;
mes "["+ strcharinfo(0) +"]";
mes ""+ .@input$ +" !!";
next;
} else {
- set .@rus_kafra01,.@rus_kafra01;
+ //.@rus_kafra01 = .@rus_kafra01;
mes "["+ strcharinfo(0) +"]";
mes ""+ .@input$ +"!!";
next;
@@ -11657,12 +11656,12 @@ pay_dun04,163,186,0 script Ghost Tree#rus45 HIDDEN_NPC,{
next;
input .@input$;
if (.@input$ == "Pavianne") {
- set .@rus_kafra01,.@rus_kafra01+1;
+ ++.@rus_kafra01;
mes "["+ strcharinfo(0) +"]";
mes ""+ .@input$ +" !!";
next;
} else {
- set .@rus_kafra01,.@rus_kafra01;
+ //.@rus_kafra01 = .@rus_kafra01;
mes "["+ strcharinfo(0) +"]";
mes ""+ .@input$ +"!!";
next;
@@ -11672,12 +11671,12 @@ pay_dun04,163,186,0 script Ghost Tree#rus45 HIDDEN_NPC,{
next;
input .@input$;
if (.@input$ == "Blossom") {
- set .@rus_kafra01,.@rus_kafra01+1;
+ ++.@rus_kafra01;
mes "["+ strcharinfo(0) +"]";
mes ""+ .@input$ +" !!";
next;
} else {
- set .@rus_kafra01,.@rus_kafra01;
+ //.@rus_kafra01 = .@rus_kafra01;
mes "["+ strcharinfo(0) +"]";
mes ""+ .@input$ +"!!";
next;
@@ -11701,7 +11700,7 @@ pay_dun04,163,186,0 script Ghost Tree#rus45 HIDDEN_NPC,{
mes "[Ghost Tree]";
mes "Ok, let's see if you are good next time.";
mes "Gear yourself up!";
- set rhea_rus_main,39;
+ rhea_rus_main = 39;
close;
} else if (rhea_rus_main == 39) {
mes "[Ghost Tree]";
@@ -11761,7 +11760,7 @@ pay_dun04,163,186,0 script Ghost Tree#rus45 HIDDEN_NPC,{
next;
mes "[Ghost Tree]";
mes "Gear yourself up and come to me again!";
- set rhea_rus_main,40;
+ rhea_rus_main = 40;
close;
} else if (rhea_rus_main == 40) {
mes "[Ghost Tree]";
@@ -11776,8 +11775,8 @@ pay_dun04,163,186,0 script Ghost Tree#rus45 HIDDEN_NPC,{
mes "["+ strcharinfo(0) +"]";
mes "Ok! I will do it!";
next;
- set .@rustree_turn01,0;
- set .@rususer_score01,0;
+ .@rustree_turn01 = 0;
+ .@rususer_score01 = 0;
while(.@rustree_turn01 != 3) {
mes "[Ghost Tree]";
mes "I cast first.";
@@ -11785,7 +11784,7 @@ pay_dun04,163,186,0 script Ghost Tree#rus45 HIDDEN_NPC,{
mes "- Ghost Tree casts a dice. The dice falls down, rotates and stops there-";
specialeffect EF_STUNATTACK;
next;
- set .@tree_dice01,rand(1,6);
+ .@tree_dice01 = rand(1,6);
setarray .@emo[1], 58,59,60,61,62,63;
mes "[Ghost Tree]";
mes "I've got ^0000ffNumber "+.@tree_dice01+"^000000.";
@@ -11797,7 +11796,7 @@ pay_dun04,163,186,0 script Ghost Tree#rus45 HIDDEN_NPC,{
mes "-You cast a dice. The dice falls down, rotates and stops there-";
specialeffect2 EF_STUNATTACK;
next;
- set .@rus_dice01,rand(1,6);
+ .@rus_dice01 = rand(1,6);
mes "["+ strcharinfo(0) +"]";
mes "Let's see...";
next;
@@ -11809,15 +11808,15 @@ pay_dun04,163,186,0 script Ghost Tree#rus45 HIDDEN_NPC,{
next;
mes "[Ghost Tree]";
mes "You seem lucky...";
- set .@rustree_turn01,.@rustree_turn01+1;
- set .@rususer_score01,.@rususer_score01+1;
+ ++.@rustree_turn01;
+ ++.@rususer_score01;
next;
} else {
mes "Let's see................... It is ^0000ff "+.@rus_dice01+" ^000000...";
mes "[Ghost Tree]";
mes "Huuu...";
emotion e_heh;
- set .@rustree_turn01,.@rustree_turn01+1;
+ ++.@rustree_turn01;
next;
}
}
@@ -11832,7 +11831,7 @@ pay_dun04,163,186,0 script Ghost Tree#rus45 HIDDEN_NPC,{
mes "I can say that you are fun. If possible, play with me again. And take them.";
next;
mes "- ^0000ff You receive the best broom from Payon !!^000000 - ";
- set rhea_rus_main,46;
+ rhea_rus_main = 46;
close;
}
mes "[Ghost Tree]";
@@ -11856,7 +11855,7 @@ mosk_dun01,3,3,3 script Koshei GlobalVar#admin 4_F_RUSCHILD,{
callfunc "F_GM_NPC";
mes "[Koshei GlobalVar]";
mes "Please enter the password";
- set .@i, callfunc("F_GM_NPC","orchid",1);
+ .@i = callfunc("F_GM_NPC","orchid",1);
next;
if (.@i == 0) {
mes "[Koshei GlobalVar]";
@@ -11890,13 +11889,13 @@ mosk_dun01,3,3,3 script Koshei GlobalVar#admin 4_F_RUSCHILD,{
case 1:
mes "[Koshei GlobalVar]";
mes "GlobalVar $@rus_req02 will now be set to '0'";
- set $@rus_req02,0;
+ $@rus_req02 = 0;
donpcevent "Koshei#rus47::OnDisable";
close;
case 2:
mes "[Koshei GlobalVar]";
mes "GlobalVar $@rus_req02 will now be set to '1'";
- set $@rus_req02,1;
+ $@rus_req02 = 1;
donpcevent "Koshei#rus47::OnEnable";
close;
case 3:
diff --git a/npc/quests/quests_nameless.txt b/npc/quests/quests_nameless.txt
index 109a97f7e..55d689ec5 100644
--- a/npc/quests/quests_nameless.txt
+++ b/npc/quests/quests_nameless.txt
@@ -78,7 +78,7 @@ OnTouch:
mes "your arrival at ^6B8E23Prontera";
mes "Church^000000. Please visit him";
mes "as soon as you can.";
- set aru_monas,1;
+ aru_monas = 1;
setquest 17000;
close2;
hideonnpc "Agent#pc1";
@@ -132,7 +132,7 @@ cmd_in02,174,89,7 script Ordinary Man#pc1 4W_M_01,{
mes "want anyone else to";
mes "overhear us talking.";
close2;
- set aru_monas,3;
+ aru_monas = 3;
warp "cmd_in02",110,53;
end;
}
@@ -193,7 +193,7 @@ cmd_in02,111,52,3 script Ordinary Man#pc2 4W_M_01,{
mes "I'm prohibited from entering";
mes "Arunafeltz so I wasn't able";
mes "to investigate any further.";
- set aru_monas,4;
+ aru_monas = 4;
changequest 17001,17002;
close;
}
@@ -234,7 +234,7 @@ ra_in01,308,59,1 script Waiter#pc 4_M_RACHMAN2,{
mes "[Waiter]";
mes "Right this way.";
close2;
- set aru_monas,7;
+ aru_monas = 7;
switch(rand(1,4)) {
case 1: warp "ra_in01",303,43; end;
case 2: warp "ra_in01",304,43; end;
@@ -434,7 +434,7 @@ OnTouch:
mes "I've never tasted anything";
mes "like it! It's almost like";
mes "a dessert. God, it's good!";
- set aru_monas,8;
+ aru_monas = 8;
changequest 17003,17004;
if (Zeny > 3000) {
Zeny -= 3000;
@@ -471,7 +471,7 @@ ve_in,78,314,5 script Magistrate#Aru 4_M_DST_GRAND,{
mes "concern, but I'm really not";
mes "comfortable talking to complete";
mes "strangers about my problems.";
- set aru_monas,9;
+ aru_monas = 9;
changequest 17004,17005;
close;
}
@@ -515,7 +515,7 @@ ve_in,78,314,5 script Magistrate#Aru 4_M_DST_GRAND,{
mes "from a higher ranking officer.^000000";
mes "Oh, and you're prohibited";
mes "asking anyone else, so behave.";
- set aru_monas,11;
+ aru_monas = 11;
changequest 17006,17007;
close;
}
@@ -611,7 +611,7 @@ ve_in,78,314,5 script Magistrate#Aru 4_M_DST_GRAND,{
mes "we have to capture the";
mes "smugglers again? I don't";
mes "know what's going on...";
- set aru_monas,14;
+ aru_monas = 14;
changequest 17009,17010;
next;
mes "[Al Hamad]";
@@ -681,7 +681,7 @@ ve_in,81,296,3 script Soldier#Aru 4_M_DST_MASTER,{
mes "know if he was able to finish";
mes "interrogating the smugglers.";
mes "I'm not sure if he did since the smugglers were taken away.";
- set aru_monas,10;
+ aru_monas = 10;
changequest 17005,17006;
close;
}
@@ -723,7 +723,7 @@ ve_in,239,115,0 script Drunkard#Aru 4_M_DESERT,{
mes "Hah hah! He--*Hic*";
mes "He thought he saw a ^DBDB70ghost^000000!";
mes "Bwah hah hah! Oooog... Hey...";
- set aru_monas,15;
+ aru_monas = 15;
changequest 17010,17011;
next;
mes "["+strcharinfo(0)+"]";
@@ -834,7 +834,7 @@ ve_fild07,125,128,0 script Boat#Aru HIDDEN_NPC,{
mes "Hold on to something:";
mes "this will probably be";
mes "a pretty rocky ride...";
- set aru_monas,17;
+ aru_monas = 17;
changequest 17012,17013;
close2;
hideonnpc "Secret Agent#Aru";
@@ -902,7 +902,7 @@ ve_fild07,128,130,1 script Secret Agent#Aru 4W_M_01,{
mes "Hold on to something:";
mes "this will probably be";
mes "a pretty rocky ride...";
- set aru_monas,17;
+ aru_monas = 17;
changequest 17012,17013;
close2;
hideonnpc "Secret Agent#Aru";
@@ -1012,7 +1012,7 @@ nameless_i,127,207,0 script Dead Crow#Aru HIDDEN_NPC,{
mes "assails the back of your";
mes "head as you fall into";
mes "unconsciousness...^000000";
- set aru_monas,18;
+ aru_monas = 18;
close2;
warp "nameless_in",15,60;
end;
@@ -1093,7 +1093,7 @@ OnTouch:
mes "[" +strcharinfo(0)+ "]";
mes "I guess you'll have to go";
mes "right up to him and ask.";
- set aru_monas,19;
+ aru_monas = 19;
close;
}
}
@@ -1127,7 +1127,7 @@ OnTouch:
end;
OnMyMobDead:
- set @aru_monas_kill,1;
+ @aru_monas_kill = 1;
enablenpc "Out_from_Monastery";
end;
}
@@ -1137,7 +1137,7 @@ nameless_in,12,37,0 script Out_from_Monastery WARPNPC,1,1,{
OnTouch:
if (aru_monas == 19) {
- set aru_monas,20;
+ aru_monas = 20;
warp "nameless_n",168,252;
end;
}
@@ -1181,7 +1181,7 @@ OnTouch:
mes "like this. I'm going to wait";
mes "for you in the boat. Learn";
mes "what you need to learn, and then come back safe, "+strcharinfo(0)+".";
- set aru_monas,21;
+ aru_monas = 21;
changequest 17013,17014;
close2;
hideonnpc "Larjes#Monastery2";
@@ -1294,7 +1294,7 @@ nameless_n,259,218,3 script Larjes#Boat1 4W_M_01,{
mes "Anyway, we better get";
mes "going... This is huge!";
delitem 7726,1; //Token_Of_King
- set aru_monas,25;
+ aru_monas = 25;
changequest 17016,17017;
getexp (checkre(3))?100000:1000000,0;
close;
@@ -1341,7 +1341,7 @@ abbey02,224,70,0 script Books#Mona1 HIDDEN_NPC,{
mes "these old, moldy books.^000000";
next;
if(select("Examine Book:Ignore")==1) {
- set aru_monas,22;
+ aru_monas = 22;
changequest 17014,17015;
getitem 7755,1; // Reasearch_Note
readbook 7755,1;
@@ -1390,7 +1390,7 @@ abbey03,232,233,4 script Man#King 4_M_TRISTAN,{
mes "^3355FFAs you touch him, the";
mes "man suddenly jumps";
mes "up with a crazed yowl.^000000";
- set aru_monas,23;
+ aru_monas = 23;
monster "abbey03",232,232,"Dead King",1875,1,"Man#King::OnMyMobDead";
initnpctimer;
hideonnpc "Man#King";
@@ -1439,7 +1439,7 @@ abbey03,232,232,4 script Dead Man#King 4_M_TRISTAN,{
mes "This medal...";
mes "This means that";
mes "this man is...!";
- set aru_monas,24;
+ aru_monas = 24;
getitem 7726,1; //Token_of_King
changequest 17015,17016;
hideonnpc "Dead Man#King";
@@ -1499,21 +1499,21 @@ sec_in02,15,15,4 script boss::boss_aru_monas 1_M_SIGNMONK,{
close;
case 2:
input .@input,0,1000;
- set aru_monas, .@input;
+ aru_monas = .@input;
mes " ";
mes ""+aru_monas;
close;
case 3:
input .@input,0,1000;
- set prt_curse, .@input;
+ prt_curse = .@input;
mes " ";
mes ""+prt_curse;
close;
case 4:
- set prt_curse,61;
- set ra_tem_q,12; //TODO: Doesn't match Athena's current script.
- set rachel_camel,25;
- set lost_boy,0;
+ prt_curse = 61;
+ ra_tem_q = 12; //TODO: Doesn't match Athena's current script.
+ rachel_camel = 25;
+ lost_boy = 0;
close;
}
}
@@ -1641,7 +1641,7 @@ ra_temple,165,57,5 script Niren#ss 4_F_MADAME,{
mes "position. I'm sorry. Please";
mes "come back and tell me if";
mes "you learn anything there.";
- set aru_monas,13;
+ aru_monas = 13;
changequest 17008,17009;
next;
mes "[Niren]";
@@ -1709,7 +1709,7 @@ ra_temple,165,57,5 script Niren#ss 4_F_MADAME,{
mes "to handle it if another threat";
mes "comes from that place.";
delitem 7755,1; //Research_Note
- set aru_monas,26;
+ aru_monas = 26;
completequest 17017;
getexp (checkre(3))?50000:500000,0;
close2;
@@ -1798,7 +1798,7 @@ ra_temple,165,57,5 script Niren#ss 4_F_MADAME,{
mes "Priestess Niren's mind.";
mes "For now, you'd better talk";
mes "to High Priest Zhed.^000000";
- set aru_em,11;
+ aru_em = 11;
changequest 2132,2133;
close2;
}
@@ -1863,7 +1863,7 @@ ra_temple,165,57,5 script Niren#ss 4_F_MADAME,{
mes "Would you give me some";
mes "time to myself? I'll let you";
mes "know once I've made a decision.";
- set aru_em,14;
+ aru_em = 14;
close2;
}
else if (aru_em == 14) {
@@ -1949,7 +1949,7 @@ ra_temple,165,57,5 script Niren#ss 4_F_MADAME,{
mes "Sure thing. You";
mes "can count on me!";
emotion e_no1,1;
- set aru_em,15;
+ aru_em = 15;
changequest 2134,2135;
close2;
}
@@ -2062,7 +2062,7 @@ ra_temple,165,57,5 script Niren#ss 4_F_MADAME,{
mes "a girl named Ishmael in a";
mes "village in North Rachel.";
mes "I hope she'll help us...";
- set aru_em,17;
+ aru_em = 17;
getitem 7343,1; //File02
changequest 2136,2137;
close2;
@@ -2132,7 +2132,7 @@ ra_temple,165,57,5 script Niren#ss 4_F_MADAME,{
mes "Priest Vildt realizes";
mes "what we are doing.";
delitem 7343,1; //File02
- set aru_em,20;
+ aru_em = 20;
changequest 2139,2140;
close2;
}
@@ -2183,7 +2183,7 @@ ra_temple,165,57,5 script Niren#ss 4_F_MADAME,{
mes "that it's the first time";
mes "that you've seen that";
mes "expression on her face.^000000";
- set aru_em,23;
+ aru_em = 23;
getexp (checkre(3))?100000:1000000,0;
changequest 2141,2142;
close2;
@@ -2304,7 +2304,7 @@ moc_ruins,77,167,4 script Foreign Merchant#aru1 4_M_MASKMAN,5,5,{
mes "near the pond in the middle";
mes "of Morroc? Before I leave,";
mes "I want to taste that drink...";
- set aru_em,1;
+ aru_em = 1;
setquest 2129;
close;
}
@@ -2402,7 +2402,7 @@ moc_ruins,77,167,4 script Foreign Merchant#aru1 4_M_MASKMAN,5,5,{
mes "Now why don't you";
mes "speak to him now?";
mes "Good luck!";
- set aru_em,8;
+ aru_em = 8;
changequest 2130,2131;
close;
case 2:
@@ -2449,7 +2449,7 @@ OnTouch:
moc_ruins,86,149,0 script #ForeignMerchant1 -1,3,3,{
OnTouch:
if (aru_em == 4) {
- set aru_em,5;
+ aru_em = 5;
}
end;
}
@@ -2457,15 +2457,15 @@ OnTouch:
moc_ruins,88,136,0 script #ForeignMerchant2 -1,3,3,{
OnTouch:
if (aru_em == 1) {
- set aru_em,2;
+ aru_em = 2;
}
else if (aru_em == 5) {
- set .@nawara,rand(1,10);
+ .@nawara = rand(1,10);
if (.@nawara < 5) {
hideoffnpc "Foreign Merchant#aru2";
}
else {
- set aru_em,2;
+ aru_em = 2;
}
}
end;
@@ -2474,7 +2474,7 @@ OnTouch:
moc_ruins,106,133,0 script #ForeignMerchant3 -1,3,3,{
OnTouch:
if (aru_em == 2) {
- set aru_em,3;
+ aru_em = 3;
}
end;
}
@@ -2482,7 +2482,7 @@ OnTouch:
moc_ruins,115,147,0 script #ForeignMerchant4 -1,3,3,{
OnTouch:
if (aru_em == 3) {
- set aru_em,4;
+ aru_em = 4;
}
end;
}
@@ -2552,7 +2552,7 @@ moc_ruins,101,133,7 script Foreign Merchant#aru2 4_M_MIDDLE,{
mes "of the famous fruit wine";
mes "from the old man. That";
mes "guy's pretty nice!^000000";
- set aru_em,7;
+ aru_em = 7;
hideonnpc "Foreign Merchant#aru2";
changequest 2129,2130;
close;
@@ -2633,7 +2633,7 @@ ra_temin,103,151,7 script Female Follower#em 4_F_MASK,{
mes "be best if you catch her";
mes "before she's surrounded";
mes "by Freya's followers.";
- set aru_em,10;
+ aru_em = 10;
close;
}
else if (aru_em == 10) {
@@ -2743,7 +2743,7 @@ ra_fild03,139,355,5 script Ishmael#em 4_F_CHILD,{
mes "High Priestess Niren...";
mes "I can't let her down after";
mes "she's been so good to us...";
- set aru_em,18;
+ aru_em = 18;
delitem 7343,1; //File02
changequest 2137,2138;
close;
@@ -2831,7 +2831,7 @@ ra_fild03,139,355,5 script Ishmael#em 4_F_CHILD,{
mes "written approval for";
mes "vacation from Ishmael.^000000";
delitem 725,1; //Red_Jewel
- set aru_em,19;
+ aru_em = 19;
getitem 7343,1; //File02
changequest 2138,2139;
close;
@@ -3142,7 +3142,7 @@ OnTouch:
mes "for you, and you feel a strong";
mes "aura of warmth and kindness";
mes "permeate your entire being.^000000";
- set aru_em,22;
+ aru_em = 22;
changequest 2140,2141;
close2;
warp "rachel",142,136;
@@ -3239,7 +3239,7 @@ comodo,224,187,3 script Muff 4_M_04,{
mes "asking you for help,";
mes "but you don't look like";
mes "you could handle it. Sorry.";
- set diamond_edq,3;
+ diamond_edq = 3;
close;
}
else {
@@ -3297,7 +3297,7 @@ comodo,224,187,3 script Muff 4_M_04,{
mes "to repay you. Please";
mes "help me if you can!";
setquest 3100;
- set diamond_edq,1;
+ diamond_edq = 1;
close;
case 2:
mes "[Muff]";
@@ -3399,7 +3399,7 @@ comodo,224,187,3 script Muff 4_M_04,{
mes "of debt to get my collateral";
mes "back from that Belder.";
setquest 3100;
- set diamond_edq,1;
+ diamond_edq = 1;
close;
case 2:
mes "[Muff]";
@@ -3481,7 +3481,7 @@ comodo,224,187,3 script Muff 4_M_04,{
mes "debt. I'll be waiting for";
mes "you right here, okay?";
changequest 3102,3103;
- set diamond_edq,6;
+ diamond_edq = 6;
close;
case 2:
mes "[Muff]";
@@ -3491,7 +3491,7 @@ comodo,224,187,3 script Muff 4_M_04,{
mes "I'm sure you've got other";
mes "problems. If you change your";
mes "mind, though, just come back.";
- set diamond_edq,5;
+ diamond_edq = 5;
close;
}
}
@@ -3513,7 +3513,7 @@ comodo,224,187,3 script Muff 4_M_04,{
mes "debt. I'll be waiting for";
mes "you right here, okay?";
changequest 3102,3103;
- set diamond_edq,6;
+ diamond_edq = 6;
close;
case 2:
mes "[Muff]";
@@ -3551,7 +3551,7 @@ comodo,224,187,3 script Muff 4_M_04,{
mes "Here, please take these as";
mes "a meager reward for your help.";
completequest 3109;
- set diamond_edq,14;
+ diamond_edq = 14;
getitem 603,1; //Old_Blue_Box
getitem 608,4; //Seed_Of_Yggdrasil
next;
@@ -3571,7 +3571,7 @@ comodo,224,187,3 script Muff 4_M_04,{
mes "You'd better go back";
mes "to Dorian... Hopefully";
mes "you left it with him!";
- set diamond_edq,10;
+ diamond_edq = 10;
close;
}
if (diamond_edq > 13) {
@@ -3731,7 +3731,7 @@ cmd_fild01,55,160,0 script Heap of Earth CLEAR_NPC,{
mes "I dropped it! I have to";
mes "try to dig it up again...";
changequest 3100,3101;
- set diamond_edq,2;
+ diamond_edq = 2;
close;
case 2:
mes "[" + strcharinfo(0) + "]";
@@ -3756,7 +3756,7 @@ cmd_fild01,55,160,0 script Heap of Earth CLEAR_NPC,{
mes "I can for now. I should";
mes "bring this back to Muff.";
changequest 3101,3102;
- set diamond_edq,4;
+ diamond_edq = 4;
close;
}
if (diamond_edq > 3) {
@@ -3922,7 +3922,7 @@ cmd_fild01,55,160,0 script Heap of Earth CLEAR_NPC,{
mes "repair the Mystic";
mes "Dryer de Elegance.";
changequest 3103,3104;
- set diamond_edq,9;
+ diamond_edq = 9;
close;
}
else {
@@ -3942,7 +3942,7 @@ cmd_fild01,55,160,0 script Heap of Earth CLEAR_NPC,{
mes "Ah! This wound! It's so...";
mes "Alas! It's too emotional!";
mes "I am seriously hurt!";
- set diamond_edq,7;
+ diamond_edq = 7;
//PushPC 4 3
close;
}
@@ -3955,7 +3955,7 @@ cmd_fild01,55,160,0 script Heap of Earth CLEAR_NPC,{
mes "Your comment offends me!";
mes "I'm no mere engineer...";
mes "I'm a true virtuoso!";
- set diamond_edq,7;
+ diamond_edq = 7;
//PushPC 4 3
close;
case 3:
@@ -4053,7 +4053,7 @@ cmd_fild01,55,160,0 script Heap of Earth CLEAR_NPC,{
mes "and don't insult my pride";
mes "again. When you are ready,";
mes "please come talk to me.";
- set diamond_edq,6;
+ diamond_edq = 6;
close;
}
if (diamond_edq) == 9 {
@@ -4077,7 +4077,7 @@ cmd_fild01,55,160,0 script Heap of Earth CLEAR_NPC,{
delitem 723,2; //Cardinal_Jewel
delitem 716,5; //Red_Gemstone
changequest 3104,3105;
- set diamond_edq,10;
+ diamond_edq = 10;
mes "[Dorian]";
mes "I expect you to fail";
mes "a few times, but the";
@@ -4222,7 +4222,7 @@ cmd_fild01,55,160,0 script Heap of Earth CLEAR_NPC,{
mes "I didn't really design it for the^FFFFFF ^000000 common user in mind. Well,";
mes "why don't you try it again?";
erasequest 3106;
- set diamond_edq,10;
+ diamond_edq = 10;
close;
}
if (diamond_edq) == 12 {
@@ -4241,7 +4241,7 @@ cmd_fild01,55,160,0 script Heap of Earth CLEAR_NPC,{
mes "switch. Simple, yes?";
erasequest 3106;
changequest 3105,3108;
- set diamond_edq,13;
+ diamond_edq = 13;
next;
mes "[Dorian]";
mes "Well, I'm afraid my";
@@ -4294,13 +4294,13 @@ izlude_in,113,66,0 script Strange Machine HIDDEN_NPC,{
close;
}
if (diamond_edq) == 10 {
- set .@bolt_rand,rand(2,5);
+ .@bolt_rand = rand(2,5);
mes "^3355FFThis must be Dorian's";
mes "Mystic Dryer de Elegance.";
mes "What do you want to do?^000000";
next;
while(1) {
- set .@switch_sound,rand(1,4);
+ .@switch_sound = rand(1,4);
switch(select("Check the Machine:Replace the Engine:Tighten the Screw:Press a Switch")) {
case 1:
if (.@hit_status == 0) {
@@ -4318,7 +4318,7 @@ izlude_in,113,66,0 script Strange Machine HIDDEN_NPC,{
mes "It clicks into place";
mes "inside the engine core.^000000";
next;
- set .@engine,.@engine+1;
+ ++.@engine;
}
else if (engine > 0) {
mes "^3355FFThe ruby in the";
@@ -4338,14 +4338,14 @@ izlude_in,113,66,0 script Strange Machine HIDDEN_NPC,{
mes "^3355FF*Krrrr-Krrrrr*^000000";
mes "^3355FF*Krrrr-Krrrrr*^000000";
next;
- set .@bolt,.@bolt+1;
+ ++.@bolt;
}
else if ((.@engine == 1) && (.@bolt == .@bolt_rand)) {
mes "^3355FF*Krrrr-Krrrrr*^000000";
mes "^0000FF*Click*^000000";
next;
- set .@bolt,.@bolt+1;
- set .@bolt_suc,.@bolt_suc+1;
+ ++.@bolt;
+ ++.@bolt_suc;
}
else if ((.@engine == 1) && (.@bolt > .@bolt_rand)) {
mes "^3355FF*Krrrr-Krrrrr*^000000";
@@ -4357,7 +4357,7 @@ izlude_in,113,66,0 script Strange Machine HIDDEN_NPC,{
mes "You should go back";
mes "to Dorian for help.^000000";
setquest 3106;
- set diamond_edq,11;
+ diamond_edq = 11;
close;
}
else {
@@ -4395,7 +4395,7 @@ izlude_in,113,66,0 script Strange Machine HIDDEN_NPC,{
mes "first so that you can";
mes "use this machine.^000000";
setquest 3107;
- set diamond_edq,12;
+ diamond_edq = 12;
close;
}
else if ((.@engine == 1) && (.@bolt_suc == 1)) {
@@ -4419,7 +4419,7 @@ izlude_in,113,66,0 script Strange Machine HIDDEN_NPC,{
mes "stop. That was the wrong";
mes "switch. You'd better ask Dorian... ^FFFFFF ^000000";
setquest 3106;
- set diamond_edq,11;
+ diamond_edq = 11;
close;
case 1:
if (.@red >= 0) {
@@ -4432,7 +4432,7 @@ izlude_in,113,66,0 script Strange Machine HIDDEN_NPC,{
mes "It looks like you";
mes "chose the right switch.^000000";
next;
- set .@red,.@red+1;
+ ++.@red;
}
else {
mes "^3355FF*Whiz Whiz*^000000";
@@ -4445,7 +4445,7 @@ izlude_in,113,66,0 script Strange Machine HIDDEN_NPC,{
mes "stop. That was the wrong";
mes "switch. You'd better ask Dorian... ^FFFFFF ^000000";
setquest 3106;
- set diamond_edq,11;
+ diamond_edq = 11;
close;
}
break;
@@ -4471,7 +4471,7 @@ izlude_in,113,66,0 script Strange Machine HIDDEN_NPC,{
mes "stop. That was the wrong";
mes "switch. You'd better ask Dorian... ^FFFFFF ^000000";
setquest 3106;
- set diamond_edq,11;
+ diamond_edq = 11;
close;
case 2:
if (.@blue >= 0) {
@@ -4484,7 +4484,7 @@ izlude_in,113,66,0 script Strange Machine HIDDEN_NPC,{
mes "It looks like you";
mes "chose the right switch.^000000";
next;
- set .@blue,.@blue+1;
+ ++.@blue;
}
else {
mes "^3355FF*Whiz Whiz*^000000";
@@ -4497,7 +4497,7 @@ izlude_in,113,66,0 script Strange Machine HIDDEN_NPC,{
mes "stop. That was the wrong";
mes "switch. You'd better ask Dorian... ^FFFFFF ^000000";
setquest 3106;
- set diamond_edq,11;
+ diamond_edq = 11;
close;
}
break;
@@ -4522,7 +4522,7 @@ izlude_in,113,66,0 script Strange Machine HIDDEN_NPC,{
mes "stop. That was the wrong";
mes "switch. You'd better ask Dorian... ^FFFFFF ^000000";
setquest 3106;
- set diamond_edq,11;
+ diamond_edq = 11;
close;
case 3:
if (.@yellow >= 0) {
@@ -4535,7 +4535,7 @@ izlude_in,113,66,0 script Strange Machine HIDDEN_NPC,{
mes "It looks like you";
mes "chose the right switch.^000000";
next;
- set .@yellow,.@yellow+1;
+ ++.@yellow;
}
else {
mes "^3355FF*Whiz Whiz*^000000";
@@ -4548,7 +4548,7 @@ izlude_in,113,66,0 script Strange Machine HIDDEN_NPC,{
mes "stop. That was the wrong";
mes "switch. You'd better ask Dorian... ^FFFFFF ^000000";
setquest 3106;
- set diamond_edq,11;
+ diamond_edq = 11;
close;
}
break;
@@ -4574,7 +4574,7 @@ izlude_in,113,66,0 script Strange Machine HIDDEN_NPC,{
mes "stop. That was the wrong";
mes "switch. You'd better ask Dorian... ^FFFFFF ^000000";
setquest 3106;
- set diamond_edq,11;
+ diamond_edq = 11;
close;
case 4:
if (.@green >= 0) {
@@ -4587,7 +4587,7 @@ izlude_in,113,66,0 script Strange Machine HIDDEN_NPC,{
mes "It looks like you";
mes "chose the right switch.^000000";
next;
- set .@green,.@green+1;
+ ++.@green;
}
else {
mes "^3355FF*Whiz Whiz*^000000";
@@ -4600,7 +4600,7 @@ izlude_in,113,66,0 script Strange Machine HIDDEN_NPC,{
mes "stop. That was the wrong";
mes "switch. You'd better ask Dorian... ^FFFFFF ^000000";
setquest 3106;
- set diamond_edq,11;
+ diamond_edq = 11;
close;
}
break;
@@ -4765,7 +4765,7 @@ moc_ruins,152,147,5 script Ibrahim 4_M_JOB_HUNTER,3,3,{
mes "here. I hope you come";
mes "back with some good news.";
setquest 3110;
- set diamond_edq,15;
+ diamond_edq = 15;
close;
case 2:
mes "[Ibrahim]";
@@ -4964,7 +4964,7 @@ moc_ruins,152,147,5 script Ibrahim 4_M_JOB_HUNTER,3,3,{
mes "it's enough for what you";
mes "did, but I hope you like it.";
completequest 3118;
- set diamond_edq,26;
+ diamond_edq = 26;
getitem 732,2; //Crystal_Jewel__
getitem 603,1; //Old_Blue_Box
next;
@@ -5041,7 +5041,7 @@ moc_ruins,152,147,5 script Ibrahim 4_M_JOB_HUNTER,3,3,{
mes "dimaond. Why don't you ask";
mes "them if they'll buy that";
mes "Unlucky Emerald from you?";
- set jewel_nd,1;
+ jewel_nd = 1;
close;
case 2:
mes "[Ibrahim]";
@@ -5059,7 +5059,7 @@ moc_ruins,152,147,5 script Ibrahim 4_M_JOB_HUNTER,3,3,{
mes "I highly recommend consulting";
mes "him since he's been invaluable";
mes "in my own jewel research.";
- set jewel_nd,10;
+ jewel_nd = 10;
close;
}
}
@@ -5140,7 +5140,7 @@ moc_ruins,152,147,5 script Ibrahim 4_M_JOB_HUNTER,3,3,{
mes "him a message ahead of";
mes "time so that he'll know to";
mes "expect your arrival, okay?";
- set jewel_nd,9;
+ jewel_nd = 9;
close;
}
else if ((jewel_nd == 9) || (jewel_nd == 10)) {
@@ -5304,7 +5304,7 @@ alberta,102,80,3 script Jhonnita 4_M_04,{
mes "shop! Go... Go to Payon";
mes "and talk to Kimeunbang!";
mes "Y-yeah, and don't come back!";
- set jewel_nd,2;
+ jewel_nd = 2;
close;
}
else {
@@ -5388,7 +5388,7 @@ payon,69,65,5 script Kimeunbang 4_M_ORIENT02,{
mes "jewelers are as greedy";
mes "as you think we are. Heh.";
getitem 722,1; //Scarlet_Jewel
- set diamond_edq,16;
+ diamond_edq = 16;
close;
case 2:
mes "[Kimeunbang]";
@@ -5431,7 +5431,7 @@ payon,69,65,5 script Kimeunbang 4_M_ORIENT02,{
mes "It's... It's too big of";
mes "a risk. The rumors I keep";
mes "hearing, they're just horrible.";
- set jewel_nd,2;
+ jewel_nd = 2;
close;
}
else {
@@ -5522,7 +5522,7 @@ geffen,128,153,3 script Leblo 4_M_ALCHE_D,{
mes "I hope. Anyway, her name is";
mes "^0000FFWola^000000, and she's in Payon.";
changequest 3110,3111;
- set diamond_edq,17;
+ diamond_edq = 17;
close;
case 2:
mes "[Leblo]";
@@ -5599,7 +5599,7 @@ geffen,128,153,3 script Leblo 4_M_ALCHE_D,{
mes "Pretty useful info, huh?";
mes "Take care, my friend.";
changequest 3114,3115;
- set diamond_edq,22;
+ diamond_edq = 22;
close;
}
if (diamond_edq == 22) {
@@ -5644,7 +5644,7 @@ geffen,128,153,3 script Leblo 4_M_ALCHE_D,{
mes "break it to you, but I hear";
mes "that thing has an awful curse.";
mes "See what you can do about that!";
- set jewel_nd,2;
+ jewel_nd = 2;
close;
}
else {
@@ -5795,7 +5795,7 @@ payon_in03,167,149,3 script Wola 1_F_ORIENT_01,2,2,{
mes "["+ strcharinfo(0) +"]";
mes "You... You got it.";
changequest 3111,3112;
- set diamond_edq,19;
+ diamond_edq = 19;
close;
}
if (diamond_edq == 19) {
@@ -5850,7 +5850,7 @@ payon_in03,167,149,3 script Wola 1_F_ORIENT_01,2,2,{
mes "forgot about that for a while.";
mes "What did you say exactly?";
changequest 3112,3113;
- set diamond_edq,20;
+ diamond_edq = 20;
next;
switch(select("Will you go out with me?:Leblo's back medicine?")) {
case 1:
@@ -5916,7 +5916,7 @@ payon_in03,167,149,3 script Wola 1_F_ORIENT_01,2,2,{
mes "to get back to work: please";
mes "take care of yourself!";
changequest 3113,3114;
- set diamond_edq,21;
+ diamond_edq = 21;
close;
}
}
@@ -6004,7 +6004,7 @@ payon_in03,167,149,3 script Wola 1_F_ORIENT_01,2,2,{
mes "to get back to work: please";
mes "take care of yourself!";
changequest 3113,3114;
- set diamond_edq,21;
+ diamond_edq = 21;
close;
}
}
@@ -6028,7 +6028,7 @@ OnTouch:
mes "Oh, how can this be";
mes "happening? What ";
mes "should I do?";
- set diamond_edq,18;
+ diamond_edq = 18;
close;
}
end;
@@ -6129,7 +6129,7 @@ in_rogue,366,46,3 script Rogue Investigator 4_M_ROGUE,{
mes "find anything there, but";
mes "you can go check it out. ";
changequest 3115,3116;
- set diamond_edq,23;
+ diamond_edq = 23;
close;
}
else {
@@ -6201,7 +6201,7 @@ in_rogue,366,46,3 script Rogue Investigator 4_M_ROGUE,{
mes "Comodo where I doubt you'll";
mes "find anything. But who knows? ";
changequest 3115,3116;
- set diamond_edq,23;
+ diamond_edq = 23;
close;
}
else {
@@ -6312,7 +6312,7 @@ cmd_in02,69,188,1 script Small Safe CLEAR_NPC,{
mes "return this big diamond";
mes "to Ibrahim as soon as I can.";
changequest 3117,3118;
- set diamond_edq,25;
+ diamond_edq = 25;
close;
}
if ((diamond_edq < 22) && (diamond_edq > 24)) {
@@ -6372,7 +6372,7 @@ cmd_in02,80,189,0 script Odd Switch#Switch2 CLEAR_NPC,{
mes "^3355FF*Click Click*^000000";
next;
changequest 3116,3117;
- set diamond_edq,24;
+ diamond_edq = 24;
mes "[" + strcharinfo(0) + "]";
mes "That sound...!";
mes "Something happened,";
@@ -6418,7 +6418,7 @@ prontera,150,326,0 script Wanted Notice#edq HIDDEN_NPC,{
mes "of Forbidden Mystery, one";
mes "of the kingdom's treasures.";
setquest 3119;
- set zdan_edq,1;
+ zdan_edq = 1;
close;
}
else if (zdan_edq > 18) {
@@ -6512,7 +6512,7 @@ prontera,148,326,3 script Chief Officer#edq 4_M_JOB_KNIGHT2,{
mes "Martha, and Catfoii a.k.a.";
mes "Catfoii must be captured!";
changequest 3119,3120;
- set zdan_edq,2;
+ zdan_edq = 2;
close;
}
if ((zdan_edq == 1) && (BaseLevel < 70)) {
@@ -6686,7 +6686,7 @@ prontera,148,326,3 script Chief Officer#edq 4_M_JOB_KNIGHT2,{
mes "of Rune-Midgarts history.";
mes "Congratulations! ";
completequest 3134;
- set zdan_edq,19;
+ zdan_edq = 19;
getexp (checkre(3))?100000:1000000,0;
close;
}
@@ -6750,7 +6750,7 @@ prt_in,168,18,1 script Valdes 1_M_YOUNGKNIGHT,2,2,{
mes "I'll tell you want you really";
mes "wanna know. Heh heh~ ^666666*Hic!*^000000";
changequest 3120,3121;
- set zdan_edq,3;
+ zdan_edq = 3;
close;
case 2:
mes "[Valdes]";
@@ -6840,7 +6840,7 @@ prt_in,168,18,1 script Valdes 1_M_YOUNGKNIGHT,2,2,{
mes "^666666*Sigh*^000000 I think I'll go rest";
mes "a bit now. Good luck!";
changequest 3121,3122;
- set zdan_edq,4;
+ zdan_edq = 4;
close;
}
else {
@@ -6934,7 +6934,7 @@ in_rogue,359,116,3 script Marybell 4_F_ROGUE,{
mes "investigating the Z Gang for";
mes "the Rogue Guild and Valdes.";
changequest 3122,3123;
- set zdan_edq,5;
+ zdan_edq = 5;
break;
case 2:
mes "[Marybell]";
@@ -6997,7 +6997,7 @@ in_rogue,359,116,3 script Marybell 4_F_ROGUE,{
mes "on your arm... You really";
mes "beat him? How the hell--?";
next;
- set zdan_edq,8;
+ zdan_edq = 8;
mes "[Marybell]";
mes "Wait, lemme check";
mes "and make sure. Yeap.";
@@ -7046,7 +7046,7 @@ in_rogue,359,116,3 script Marybell 4_F_ROGUE,{
mes "but I don't think they're";
mes "that... Calculating.";
next;
- set .@a,.@a+1;
+ ++.@a;
break;
case 2:
mes "[Marybell]";
@@ -7057,7 +7057,7 @@ in_rogue,359,116,3 script Marybell 4_F_ROGUE,{
mes "like diamonds, rubies,";
mes "emeralds. Not sure why...";
next;
- set .@b,.@b+1;
+ ++.@b;
break;
case 3:
mes "[Marybell]";
@@ -7084,7 +7084,7 @@ in_rogue,359,116,3 script Marybell 4_F_ROGUE,{
mes "on where the Z Gang is";
mes "hiding. Worth a shot, yeah?";
next;
- set .@c,.@c+1;
+ ++.@c;
break;
case 4:
if ((.@a > 0) && (.@b > 0) && (.@c > 0)) {
@@ -7102,7 +7102,7 @@ in_rogue,359,116,3 script Marybell 4_F_ROGUE,{
mes "luck finding those Z Gang";
mes "guys. And take care!";
changequest 3125,3126;
- set zdan_edq,9;
+ zdan_edq = 9;
close;
}
else {
@@ -7184,7 +7184,7 @@ in_rogue,359,116,3 script Marybell 4_F_ROGUE,{
mes "Would you talk to Gooho";
mes "Ahn and see what he found?";
changequest 3128,3129;
- set zdan_edq,12;
+ zdan_edq = 12;
close;
}
if ((zdan_edq > 11) && (zdan_edq < 14)) {
@@ -7228,7 +7228,7 @@ in_rogue,359,116,3 script Marybell 4_F_ROGUE,{
mes "whoever finds 'em first gets";
mes "dibs on beating them up!";
changequest 3131,3132;
- set zdan_edq,15;
+ zdan_edq = 15;
close;
}
if ((zdan_edq > 14) && (zdan_edq < 18)) {
@@ -7378,7 +7378,7 @@ payon,244,62,3 script Moonho Ahn 4_M_HUGRANFA,{
mes "game? When you return,";
mes "we'll be ready to play~";
changequest 3123,3124;
- set zdan_edq,6;
+ zdan_edq = 6;
close;
}
}
@@ -7400,10 +7400,10 @@ payon,244,62,3 script Moonho Ahn 4_M_HUGRANFA,{
mes "Odd or Even?";
next;
while(1) {
- set .@number,rand(1,2);
+ .@number = rand(1,2);
input .@input$;
if (((.@input$ == "Odd") && (.@number == 1)) || ((.@input$ == "Even") && (.@number == 2))) {
- set .@number_right,.@number_right+1;
+ ++.@number_right;
mes "[Moonho Ahn]";
mes "^0000ff"+.@input$+"^000000?";
mes "Okay, you won.";
@@ -7416,7 +7416,7 @@ payon,244,62,3 script Moonho Ahn 4_M_HUGRANFA,{
}
}
else if (((.@input$ == "Odd") && (.@number == 2)) || ((.@input$ == "Even") && (.@number == 1))) {
- set .@number_false,.@number_false+1;
+ ++.@number_false;
mes "[Moonho Ahn]";
mes "Well, it's ^0000FFEven^000000.";
mes "I won.";
@@ -7434,7 +7434,7 @@ payon,244,62,3 script Moonho Ahn 4_M_HUGRANFA,{
mes "However, the game has";
mes "just started. The next";
mes "round will be mine~";
- set .@win,.@win+1;
+ ++.@win;
next;
break;
}
@@ -7444,7 +7444,7 @@ payon,244,62,3 script Moonho Ahn 4_M_HUGRANFA,{
mes "this round. I guess";
mes "my gambling skills";
mes "haven't left me yet~";
- set .@lose,.@lose+1;
+ ++.@lose;
next;
break;
}
@@ -7467,10 +7467,10 @@ payon,244,62,3 script Moonho Ahn 4_M_HUGRANFA,{
mes "["+ strcharinfo(0) +"]";
mes "(^666666What should I guess?^000000)";
next;
- set .@amuro,rand(1,2);
+ .@amuro = rand(1,2);
if (select("Odd:Even") == 1) {
if (.@amuro == 1) {
- set .@number_false_2,.@number_false_2+1;
+ ++.@number_false_2;
mes "[Moonho Ahn]";
mes "Let's see...";
mes "It's ^0000FFOdd^000000, isn't it?";
@@ -7481,7 +7481,7 @@ payon,244,62,3 script Moonho Ahn 4_M_HUGRANFA,{
next;
}
else if (.@amuro == 2) {
- set .@number_right_2,.@number_right_2+1;
+ ++.@number_right_2;
mes "[Moonho Ahn]";
mes "Let's see...";
mes "It's Even, isn't it?";
@@ -7492,7 +7492,7 @@ payon,244,62,3 script Moonho Ahn 4_M_HUGRANFA,{
next;
}
if (.@number_right_2 == 2) {
- set .@win,.@win+1;
+ ++.@win;
mes "[Moonho Ahn]";
mes "Nice job. I didn't";
mes "expect for you to";
@@ -7502,7 +7502,7 @@ payon,244,62,3 script Moonho Ahn 4_M_HUGRANFA,{
break;
}
else if (.@number_false_2 == 2) {
- set .@lose,.@lose+1;
+ ++.@lose;
mes "[Moonho Ahn]";
mes "Hahaha! I'm sorry, but";
mes "I won. I guess I still got it!";
@@ -7512,7 +7512,7 @@ payon,244,62,3 script Moonho Ahn 4_M_HUGRANFA,{
}
else {
if (.@amuro == 1) {
- set .@number_right_2,.@number_right_2+1;
+ ++.@number_right_2;
mes "[Moonho Ahn]";
mes "Let's see...";
mes "It's odd, isn't it?";
@@ -7523,7 +7523,7 @@ payon,244,62,3 script Moonho Ahn 4_M_HUGRANFA,{
next;
}
else if (.@amuro == 2) {
- set .@number_false_2,.@number_false_2+1;
+ ++.@number_false_2;
mes "[Moonho Ahn]";
mes "Let's see...";
mes "It's ^0000FFEven^000000, isn't it?";
@@ -7534,7 +7534,7 @@ payon,244,62,3 script Moonho Ahn 4_M_HUGRANFA,{
next;
}
if (.@number_right_2 == 2) {
- set .@win,.@win+1;
+ ++.@win;
mes "[Moonho Ahn]";
mes "Nice job. I didn't";
mes "expect for you to";
@@ -7544,7 +7544,7 @@ payon,244,62,3 script Moonho Ahn 4_M_HUGRANFA,{
break;
}
else if (.@number_false_2 == 2) {
- set .@lose,.@lose+1;
+ ++.@lose;
mes "[Moonho Ahn]";
mes "Hahaha! I'm sorry, but";
mes "I won. I guess I still got it!";
@@ -7601,7 +7601,7 @@ payon,244,62,3 script Moonho Ahn 4_M_HUGRANFA,{
mes "played with a worthy";
mes "opponent. Thank you~";
changequest 3124,3125;
- set zdan_edq,7;
+ zdan_edq = 7;
close;
}
else if (.@lose == 2) {
@@ -7639,10 +7639,10 @@ payon,244,62,3 script Moonho Ahn 4_M_HUGRANFA,{
mes "Odd or Even?^000000";
next;
while(1) {
- set .@number,rand(1,2);
+ .@number = rand(1,2);
input .@input$;
if (((.@input$ == "Odd") && (.@number == 1)) || ((.@input$ == "Even") && (.@number == 2))) {
- set .@number_right_3,.@number_right_3+1;
+ ++.@number_right_3;
mes "[Moonho Ahn]";
mes "^0000FF"+.@input$+"^000000?";
mes "Okay, you won.";
@@ -7655,7 +7655,7 @@ payon,244,62,3 script Moonho Ahn 4_M_HUGRANFA,{
}
}
else if (((.@input$ == "Odd") && (.@number == 2)) || ((.@input$ == "Even") && (.@number == 1))) {
- set .@number_false_3,.@number_false_3+1;
+ ++.@number_false_3;
mes "[Moonho Ahn]";
mes "Well, it's ^0000FF"+.@input$+"^000000.";
mes "Looks like I won.";
@@ -7670,7 +7670,7 @@ payon,244,62,3 script Moonho Ahn 4_M_HUGRANFA,{
if (.@number_right_3 == 2) {
mes "[Moonho Ahn]";
mes "Oh... You won...";
- set .@win,.@win+1;
+ ++.@win;
next;
break;
}
@@ -7678,7 +7678,7 @@ payon,244,62,3 script Moonho Ahn 4_M_HUGRANFA,{
mes "[Moonho Ahn]";
mes "Hahaha! I'm sorry, but";
mes "I won. I guess I still got it!";
- set .@lose,.@lose+1;
+ ++.@lose;
next;
break;
}
@@ -7738,7 +7738,7 @@ payon,244,62,3 script Moonho Ahn 4_M_HUGRANFA,{
mes "played with a worthy";
mes "opponent. Thank you~";
changequest 3124,3125;
- set zdan_edq,7;
+ zdan_edq = 7;
close;
}
else if (.@lose == 2) {
@@ -7891,7 +7891,7 @@ payon,192,176,3 script Gooho Ahn 4_M_KHKYEL,{
mes "to decrypt the rest of";
mes "this secret Z Gang letter.";
changequest 3129,3130;
- set zdan_edq,13;
+ zdan_edq = 13;
close;
}
}
@@ -7994,7 +7994,7 @@ payon,192,176,3 script Gooho Ahn 4_M_KHKYEL,{
mes "^0000ffAynoen hwo sspotp uys^000000";
mes "^0000ffwlil eb kckide on htier ssa!^000000";
changequest 3130,3131;
- set zdan_edq,14;
+ zdan_edq = 14;
close;
}
else {
@@ -8046,7 +8046,7 @@ payon,192,176,3 script Gooho Ahn 4_M_KHKYEL,{
moc_ruins,90,67,3 script Suspicious Man#1 4W_M_03,2,2,{
if ((zdan_edq == 9) && ($@zdan == 0)) {
- set $@zdan,1;
+ $@zdan = 1;
initnpctimer;
mes "[????]";
mes "I know you've";
@@ -8063,7 +8063,7 @@ moc_ruins,90,67,3 script Suspicious Man#1 4W_M_03,2,2,{
mes "Run awaaaaay!";
hideoffnpc "Suspicious Man#2";
hideonnpc "Suspicious Man#1";
- set $@zdan,0;
+ $@zdan = 0;
stopnpctimer;
next;
mes "[" + strcharinfo(0) + "]";
@@ -8087,7 +8087,7 @@ moc_ruins,90,67,3 script Suspicious Man#1 4W_M_03,2,2,{
mes "He can't have gotten too far:";
mes "I have a chance to catch him!";
changequest 3126,3127;
- set zdan_edq,10;
+ zdan_edq = 10;
close;
}
if ((zdan_edq == 9) && ($@zdan > 0)) {
@@ -8114,7 +8114,7 @@ moc_ruins,90,67,3 script Suspicious Man#1 4W_M_03,2,2,{
close;
}
if ((zdan_edq == 10) && ($@zdan == 0 )) {
- set $@zdan,1;
+ $@zdan = 1;
initnpctimer;
mes "[????]";
mes "Eeek...!";
@@ -8200,8 +8200,8 @@ moc_ruins,90,67,3 script Suspicious Man#1 4W_M_03,2,2,{
mes "Marybell, and see if she's";
mes "learned any new information.";
changequest 3127,3128;
- set zdan_edq,11;
- set $@zdan,0;
+ zdan_edq = 11;
+ $@zdan = 0;
stopnpctimer;
close;
}
@@ -8238,12 +8238,12 @@ moc_ruins,90,67,3 script Suspicious Man#1 4W_M_03,2,2,{
close;
OnTimer30000:
- set $@zdan,0;
+ $@zdan = 0;
end;
OnTouch:
if ((zdan_edq == 9) && ($@zdan == 0)) {
- set $@zdan,1;
+ $@zdan = 1;
initnpctimer;
mes "[????]";
mes "I know you've";
@@ -8260,7 +8260,7 @@ OnTouch:
mes "Run awaaaaay!";
hideoffnpc "Suspicious Man#2";
hideonnpc "Suspicious Man#1";
- set $@zdan,0;
+ $@zdan = 0;
stopnpctimer;
next;
mes "[" + strcharinfo(0) + "] ";
@@ -8284,7 +8284,7 @@ OnTouch:
mes "He can't have gotten too far:";
mes "I have a chance to catch him!";
changequest 3126,3127;
- set zdan_edq,10;
+ zdan_edq = 10;
close;
}
end;
@@ -8293,7 +8293,7 @@ OnTouch:
//Incorrect position.
moc_ruins,78,167,3 script Suspicious Man#2 4W_M_03,2,2,{
if ((zdan_edq == 9) && ($@zdan == 0)) {
- set $@zdan,1;
+ $@zdan = 1;
initnpctimer;
mes "[????]";
mes "I know you've";
@@ -8310,7 +8310,7 @@ moc_ruins,78,167,3 script Suspicious Man#2 4W_M_03,2,2,{
mes "Run awaaaaay!";
hideoffnpc "Suspicious Man#1";
hideonnpc "Suspicious Man#2";
- set $@zdan,0;
+ $@zdan = 0;
stopnpctimer;
next;
mes "[" + strcharinfo(0) + "] ";
@@ -8334,11 +8334,11 @@ moc_ruins,78,167,3 script Suspicious Man#2 4W_M_03,2,2,{
mes "He can't have gotten too far:";
mes "I have a chance to catch him!";
changequest 3126,3127;
- set zdan_edq,10;
+ zdan_edq = 10;
close;
}
if ((zdan_edq == 10) && ($@zdan == 0)) {
- set $@zdan,1;
+ $@zdan = 1;
initnpctimer;
mes "[????]";
mes "Eeek...!";
@@ -8424,8 +8424,8 @@ moc_ruins,78,167,3 script Suspicious Man#2 4W_M_03,2,2,{
mes "Marybell, and see if she's";
mes "learned any new information.";
changequest 3127,3128;
- set zdan_edq,11;
- set $@zdan,0;
+ zdan_edq = 11;
+ $@zdan = 0;
stopnpctimer;
close;
}
@@ -8487,12 +8487,12 @@ OnInit:
end;
OnTimer30000:
- set $@zdan,0;
+ $@zdan = 0;
end;
OnTouch:
if ((zdan_edq == 9) && ($@zdan == 0)) {
- set $@zdan,1;
+ $@zdan = 1;
initnpctimer;
mes "[????]";
mes "I know you've";
@@ -8509,7 +8509,7 @@ OnTouch:
mes "Run awaaaaay!";
hideoffnpc "Suspicious Man#1";
hideonnpc "Suspicious Man#2";
- set $@zdan,0;
+ $@zdan = 0;
stopnpctimer;
next;
mes "[" + strcharinfo(0) + "] ";
@@ -8533,7 +8533,7 @@ OnTouch:
mes "He can't have gotten too far:";
mes "I have a chance to catch him!";
changequest 3126,3127;
- set zdan_edq,10;
+ zdan_edq = 10;
close;
}
end;
@@ -8605,7 +8605,7 @@ moc_fild17,209,235,0 script Odd Slab HIDDEN_NPC,4,4,{
mes "Um... Now what...?";
next;
if ($@door2 == 0) {
- set $@door2,1;
+ $@door2 = 1;
mes "Waaaah! Waaah!";
next;
mes "[" + strcharinfo(0) + "]";
@@ -8613,7 +8613,7 @@ moc_fild17,209,235,0 script Odd Slab HIDDEN_NPC,4,4,{
mes "happening?! I'm being";
mes "sucked away somewhere!";
changequest 3132,3133;
- set zdan_edq,16;
+ zdan_edq = 16;
close2;
warp "z_agit",98,40;
end;
@@ -8646,7 +8646,7 @@ moc_fild17,209,235,0 script Odd Slab HIDDEN_NPC,4,4,{
mes "thing isn't working now.";
mes "Hello? What happened to you?";
mes "Hey! Talk to me, will you?";
- set $@door2,0;
+ $@door2 = 0;
close;
}
}
@@ -8659,7 +8659,7 @@ moc_fild17,209,235,0 script Odd Slab HIDDEN_NPC,4,4,{
mes "thing isn't working now.";
mes "Hello? What happened to you?";
mes "Hey! Talk to me, will you?";
- set $@door2,0;
+ $@door2 = 0;
close;
}
}
@@ -8672,7 +8672,7 @@ moc_fild17,209,235,0 script Odd Slab HIDDEN_NPC,4,4,{
mes "thing isn't working now.";
mes "Hello? What happened to you?";
mes "Hey! Talk to me, will you?";
- set $@door2,0;
+ $@door2 = 0;
close;
}
}
@@ -8708,9 +8708,9 @@ moc_fild17,209,235,0 script Odd Slab HIDDEN_NPC,4,4,{
close;
OnInit:
- set $@zdan,0;
- set $@door2,0;
- set $@mosnter,0;
+ $@zdan = 0;
+ $@door2 = 0;
+ $@mosnter = 0;
end;
//OnTouch2:
@@ -8730,7 +8730,7 @@ OnTouch:
z_agit,98,44,0 script EntranceCheck#1 -1,10,10,{
OnTouch:
if (((zdan_edq == 15) || (zdan_edq == 16)) && ($@monster_zgang == 0)) {
- set $@monster_zgang,1;
+ $@monster_zgang = 1;
donpcevent "#zdan_broad::OnEnable";
}
else if (((zdan_edq == 15) || (zdan_edq == 16)) && ($@monster_zgang > 0)) {
@@ -8749,8 +8749,8 @@ OnTouch:
mes "terribly wrong, hasn't";
mes "it? Let me go baaaack~!";
close2;
- set $@monster_zgang,0;
- set $@door2,0;
+ $@monster_zgang = 0;
+ $@door2 = 0;
warp "moc_fild17",209,235;
}
end;
@@ -8759,7 +8759,7 @@ OnTouch:
z_agit,98,92,0 script EntranceCheck#2 -1,10,10,{
OnTouch:
if (((zdan_edq == 15) || (zdan_edq == 16)) && ($@monster_zgang == 0)) {
- set $@monster_zgang,1;
+ $@monster_zgang = 1;
donpcevent "#zdan_broad::OnEnable";
}
else if (((zdan_edq == 15) || (zdan_edq == 16)) && ($@monster_zgang > 0)) {
@@ -8778,8 +8778,8 @@ OnTouch:
mes "terribly wrong, hasn't";
mes "it? Let me go baaaack~! ";
close2;
- set $@monster_zgang,0;
- set $@door2,0;
+ $@monster_zgang = 0;
+ $@door2 = 0;
warp "moc_fild17",209,235;
}
end;
@@ -8844,8 +8844,8 @@ OnTimer21000:
OnTimer300000:
killmonster "z_agit","#ZGuard::OnMyMobDead";
donpcevent "#zdan_broad::OnDisable";
- set $@monster_zgang,0;
- set $@door2,0;
+ $@monster_zgang = 0;
+ $@door2 = 0;
end;
OnTimer350000:
@@ -8853,8 +8853,8 @@ OnTimer350000:
hideonnpc "Louis";
hideonnpc "Martha";
hideonnpc "Catfoii";
- set $@monster_zgang,0;
- set $@door2,0;
+ $@monster_zgang = 0;
+ $@door2 = 0;
end;
}
@@ -8878,7 +8878,7 @@ OnDisable:
OnReset:
killmonster "z_agit","#ZGuard::OnMyMobDead";
- set $@monster_zgang,0;
+ $@monster_zgang = 0;
end;
OnMyMobDead:
@@ -8910,7 +8910,7 @@ OnMyMobDead:
mes "[Louis]";
mes "Huh? Why...?";
next;
- set zdan_edq,17;
+ zdan_edq = 17;
donpcevent "#ZGuard::OnDisable";
hideoffnpc "Louis";
hideoffnpc "Martha";
@@ -8923,8 +8923,8 @@ OnTimer300000:
mapwarp "z_agit","moc_fild17",209,235;
donpcevent "#zdan_broad::OnDisable";
killmonster "z_agit","#ZGuard::OnMyMobDead";
- set $@monster_zgang,0;
- set $@door2,0;
+ $@monster_zgang = 0;
+ $@door2 = 0;
donpcevent "#ZGuard::OnDisable";
stopnpctimer;
end;
@@ -9021,10 +9021,10 @@ z_agit,97,101,3 script Louis 4_M_RACHMAN1,{
close2;
getitem 7724,1; //Forbidden_Secret_Art
changequest 3133,3134;
- set zdan_edq,18;
+ zdan_edq = 18;
mapwarp "z_agit","moc_fild17",209,235;
- set $@monster_zgang,0;
- set $@door2,0;
+ $@monster_zgang = 0;
+ $@door2 = 0;
hideonnpc "Louis";
hideonnpc "Martha";
hideonnpc "Catfoii";
@@ -9037,9 +9037,9 @@ z_agit,97,101,3 script Louis 4_M_RACHMAN1,{
mes "Something has gone";
mes "terribly wrong, hasn't";
mes "it? Let me go baaaack~! ";
- set zdan_edq,15;
- set $@monster_zgang,0;
- set $@door2,0;
+ zdan_edq = 15;
+ $@monster_zgang = 0;
+ $@door2 = 0;
close2;
warp "moc_fild17",209,235;
end;
@@ -9144,10 +9144,10 @@ z_agit,99,101,3 script Martha 4W_F_01,{
close2;
getitem 7724,1; //Forbidden_Secret_Art
changequest 3133,3134;
- set zdan_edq,18;
+ zdan_edq = 18;
mapwarp "z_agit","moc_fild17",209,235;
- set $@monster_zgang,0;
- set $@door2,0;
+ $@monster_zgang = 0;
+ $@door2 = 0;
hideonnpc "Louis";
hideonnpc "Martha";
hideonnpc "Catfoii";
@@ -9161,9 +9161,9 @@ z_agit,99,101,3 script Martha 4W_F_01,{
mes "Something has gone";
mes "terribly wrong, hasn't";
mes "it? Let me go baaaack~! ";
- set zdan_edq,15;
- set $@monster_zgang,0;
- set $@door2,0;
+ zdan_edq = 15;
+ $@monster_zgang = 0;
+ $@door2 = 0;
close2;
warp "moc_fild17",209,235;
end;
@@ -9264,10 +9264,10 @@ z_agit,95,101,3 script Catfoii 4_CAT,{
close2;
getitem 7724,1; //Forbidden_Secret_Art
changequest 3133,3134;
- set zdan_edq,18;
+ zdan_edq = 18;
mapwarp "z_agit","moc_fild17",209,235;
- set $@monster_zgang,0;
- set $@door2,0;
+ $@monster_zgang = 0;
+ $@door2 = 0;
hideonnpc "Louis";
hideonnpc "Martha";
hideonnpc "Catfoii";
@@ -9281,9 +9281,9 @@ z_agit,95,101,3 script Catfoii 4_CAT,{
mes "Something has gone";
mes "terribly wrong, hasn't";
mes "it? Let me go baaaack~! ";
- set zdan_edq,15;
- set $@monster_zgang,0;
- set $@door2,0;
+ zdan_edq = 15;
+ $@monster_zgang = 0;
+ $@door2 = 0;
close2;
warp "moc_fild17",209,235;
end;
@@ -9355,7 +9355,7 @@ morocc,143,63,3 script Ragged Man#nd 4_M_MIDDLE,{
mes "that I was going to let you";
mes "in on, but if you don't want";
mes "to share, then neither do I!";
- set treasure_nd,1;
+ treasure_nd = 1;
close;
case 2:
mes "[Ragged Man]";
@@ -9376,7 +9376,7 @@ morocc,143,63,3 script Ragged Man#nd 4_M_MIDDLE,{
mes "If you had given me 1,200";
mes "zeny, I would have tipped";
mes "you off to something big...";
- set treasure_nd,1;
+ treasure_nd = 1;
close;
}
else {
@@ -9417,7 +9417,7 @@ morocc,143,63,3 script Ragged Man#nd 4_M_MIDDLE,{
mes "easily, but who knows? Maybe";
mes "he might slip, and accidentally";
mes "give you some kind of clue.";
- set treasure_nd,2;
+ treasure_nd = 2;
close;
}
}
@@ -9488,7 +9488,7 @@ morocc,143,63,3 script Ragged Man#nd 4_M_MIDDLE,{
mes "easily, but who knows? Maybe";
mes "he might slip, and accidentally";
mes "give you some kind of clue.";
- set treasure_nd,2;
+ treasure_nd = 2;
close;
}
case 2:
@@ -9603,7 +9603,7 @@ morocc,102,298,3 script Man#zgang 4W_M_02,{
mes "you to trust me now,";
mes "I suppose. But what can";
mes "you gain by walking away?";
- set treasure_nd,3;
+ treasure_nd = 3;
close;
case 2:
mes "[Man]";
@@ -9636,7 +9636,7 @@ morocc,102,298,3 script Man#zgang 4W_M_02,{
mes "^FF00002 Pearls^000000, and";
mes "^FF00002 Zargons^000000, we can talk";
mes "business further. Got it?";
- set treasure_nd,4;
+ treasure_nd = 4;
next;
mes "[Man]";
mes "Hey, I might be losing out";
@@ -9701,7 +9701,7 @@ morocc,102,298,3 script Man#zgang 4W_M_02,{
mes "^FF00002 Pearls^000000, and";
mes "^FF00002 Zargons^000000, we can talk";
mes "business further. Got it?";
- set treasure_nd,4;
+ treasure_nd = 4;
next;
mes "[Man]";
mes "Hey, I might be losing out";
@@ -9726,7 +9726,7 @@ morocc,102,298,3 script Man#zgang 4W_M_02,{
delitem 722,2; //Scarlet_Jewel
delitem 912,2; //Zargon
delitem 934,20; //Mementos
- set treasure_nd,5;
+ treasure_nd = 5;
next;
mes "[Man]";
mes "The treasure is buried";
@@ -9821,7 +9821,7 @@ morocc,102,298,3 script Man#zgang 4W_M_02,{
mes "a bit from the west. Maybe";
mes "he's over in Comodo?";
next;
- set .@joho1,1;
+ .@joho1 = 1;
break;
case 2:
if (treasure_nd == 7) {
@@ -9851,15 +9851,15 @@ morocc,102,298,3 script Man#zgang 4W_M_02,{
mes "^3355FFThe torn document";
mes "is labeled ''^FF0000[Open^3355FF.''^000000";
next;
- set treasure_nd,7;
- set .@joho2,1;
+ treasure_nd = 7;
+ .@joho2 = 1;
}
else {
mes "^3355FFThe torn document";
mes "is labeled ''^FF0000[Unlock^3355FF.''^000000";
next;
- set treasure_nd,8;
- set .@joho2,1;
+ treasure_nd = 8;
+ .@joho2 = 1;
}
}
}
@@ -9985,14 +9985,14 @@ comodo,339,224,3 script Man in Hiding#nd 4_M_SITDOWN,{
mes "^3355FFYou received a torn";
mes "document that reads";
mes "''^FF0000Seseame]^000000.''";
- set treasure_nd,10;
+ treasure_nd = 10;
next;
}
else {
mes "^3355FFYou received a torn";
mes "document that reads";
mes "''^FF0000Treasure]^000000.''";
- set treasure_nd,9;
+ treasure_nd = 9;
next;
}
mes "[Man in Hiding]";
@@ -10052,14 +10052,14 @@ comodo,339,224,3 script Man in Hiding#nd 4_M_SITDOWN,{
mes "^3355FFYou received a torn";
mes "document that reads";
mes "''^FF0000Sesame]^000000.''";
- set treasure_nd,10;
+ treasure_nd = 10;
next;
}
else {
mes "^3355FFYou received a torn";
mes "document that reads";
mes "''^FF0000Treasure]^000000.''";
- set treasure_nd,9;
+ treasure_nd = 9;
next;
}
mes "[Man in Hiding]";
@@ -10158,7 +10158,7 @@ moc_fild18,108,116,0 script #treasure CLEAR_NPC,{
mes "There's some magical";
mes "aura surrounding the chest";
mes "that might be stopping you.^000000";
- set treasure_nd,6;
+ treasure_nd = 6;
close;
}
else if (treasure_nd == 6) {
@@ -10187,7 +10187,7 @@ moc_fild18,108,116,0 script #treasure CLEAR_NPC,{
next;
input .@input$;
getpartymember(getcharid(1));
- set .@partymembercount,$@partymembercount;
+ .@partymembercount = $@partymembercount;
if (.@partymembercount > 1) {
if (((.@input$ == "OpenSesame") && (treasure_nd == 9)) || ((.@input$ == "UnlockTreasure") && (treasure_nd == 10))) {
mes "^3355FFThe Z Gang must have split";
@@ -10201,10 +10201,10 @@ moc_fild18,108,116,0 script #treasure CLEAR_NPC,{
mes "the chest opens, and";
mes "you grab all the loot inside.^000000";
if (zdan_edq == 0) {
- set treasure_nd,11;
+ treasure_nd = 11;
}
else {
- set treasure_nd,12;
+ treasure_nd = 12;
}
getitem 7725,1; //Unlucky_Emerald
getitem 604,1; //Branch_Of_Dead_Tree
@@ -10242,7 +10242,7 @@ moc_fild18,108,116,0 script #treasure CLEAR_NPC,{
mes "whoever it was left";
mes "telltale signs of";
mes "his presence.^000000";
- set treasure_nd,12;
+ treasure_nd = 12;
close;
}
}
@@ -10273,7 +10273,7 @@ comodo,139,184,3 script Scholar#zgang 2_M_SAGE_B,{
mes "to just the right person if you";
mes "wanted to learn more about";
mes "the emerald that you found.";
- set jewel_nd,11;
+ jewel_nd = 11;
close;
}
else if (jewel_nd == 10) {
@@ -10303,7 +10303,7 @@ comodo,139,184,3 script Scholar#zgang 2_M_SAGE_B,{
mes "Would you mind coming";
mes "back later? I'm not sure";
mes "where I misplaced my notes...";
- set jewel_nd,11;
+ jewel_nd = 11;
close;
}
else if (jewel_nd == 11) {
@@ -10376,7 +10376,7 @@ comodo,139,184,3 script Scholar#zgang 2_M_SAGE_B,{
mes "And I'm sure he'll be pretty";
mes "excited to see that you have";
mes "the Unlucky Emerald with you.";
- set jewel_nd,12;
+ jewel_nd = 12;
close;
}
else if (jewel_nd == 12) {
@@ -10468,7 +10468,7 @@ alberta_in,70,109,5 script Shaman 4_M_UMOLDMAN,{
mes "200,000 zeny for the service.";
mes "It's expensive, but I'm saving";
mes "your life and risking mine.";
- set jewel_nd,13;
+ jewel_nd = 13;
close;
}
else {
@@ -10500,7 +10500,7 @@ alberta_in,70,109,5 script Shaman 4_M_UMOLDMAN,{
mes "free of your curse, and I can";
mes "buy some Prontera real estate.";
Zeny -= 200000;
- set jewel_nd,14;
+ jewel_nd = 14;
next;
mes "[Shaman]";
mes "Please come back soon";
@@ -10533,7 +10533,7 @@ alberta_in,70,109,5 script Shaman 4_M_UMOLDMAN,{
mes "200,000 zeny. I think...";
mes "I think I need 100,000 zeny";
mes "more for this to be effective.";
- set jewel_nd,15;
+ jewel_nd = 15;
close;
}
else if (jewel_nd == 15) {
@@ -10551,7 +10551,7 @@ alberta_in,70,109,5 script Shaman 4_M_UMOLDMAN,{
mes "spirits will be more";
mes "cooperative this time.";
Zeny -= 100000;
- set jewel_nd,16;
+ jewel_nd = 16;
next;
mes "[Shaman]";
mes "Yes, the vindictive";
@@ -10615,7 +10615,7 @@ alberta_in,70,109,5 script Shaman 4_M_UMOLDMAN,{
mes "to be kept waiting! Don't";
mes "question this great irony,";
mes "and get those items now!";
- set jewel_nd,17;
+ jewel_nd = 17;
close;
}
else if (jewel_nd == 17) {
@@ -10661,7 +10661,7 @@ alberta_in,70,109,5 script Shaman 4_M_UMOLDMAN,{
mes "might know more about this";
mes "specific jewel. Hopefully,";
mes "he will have the answer.";
- set jewel_nd,18;
+ jewel_nd = 18;
next;
mes "[Shaman]";
mes "For now, the jewel's";
@@ -10724,7 +10724,7 @@ alberta_in,70,109,5 script Shaman 4_M_UMOLDMAN,{
mes "the spirit realm. However,";
mes "I wasn't lying. My honor";
mes "as a shaman is at stake!";
- set jewel_nd,20;
+ jewel_nd = 20;
next;
mes "[Shaman]";
mes "In fact, I'll prove it to you";
@@ -10776,7 +10776,7 @@ alberta_in,70,109,5 script Shaman 4_M_UMOLDMAN,{
mes "Hmpf! That arrogant";
mes "archaeologist! He doesn't";
mes "know what he's talking about!";
- set jewel_nd,21;
+ jewel_nd = 21;
close;
}
else {
@@ -10887,7 +10887,7 @@ yuno_in04,38,48,3 script Archeologist 1_M_JOBTESTER,{
mes "but that happens to be my";
mes "professional opinion,";
mes "based on my research.";
- set jewel_nd,19;
+ jewel_nd = 19;
close;
case 2:
mes "[Archeologist]";
@@ -10949,7 +10949,7 @@ yuno_in04,38,48,3 script Archeologist 1_M_JOBTESTER,{
mes "in the field west of Geffen";
mes "that you were talking about.";
mes "Let me see if I can find them.";
- set jewel_nd,24;
+ jewel_nd = 24;
close;
}
else if (jewel_nd == 24) {
@@ -10984,7 +10984,7 @@ yuno_in04,38,48,3 script Archeologist 1_M_JOBTESTER,{
mes "that lives in Prontera now.";
mes "It might be a good idea to";
mes "see if you can talk to him.";
- set jewel_nd,25;
+ jewel_nd = 25;
close;
}
else if (jewel_nd == 25) {
@@ -11097,7 +11097,7 @@ prontera,140,304,5 script Old Soldier 4_M_HUOLDARMY,{
mes "about this story. There's";
mes "much you can learn from";
mes "other people's experiences.";
- set jewel_nd,26;
+ jewel_nd = 26;
close;
}
}
@@ -11177,7 +11177,7 @@ prontera,140,304,5 script Old Soldier 4_M_HUOLDARMY,{
mes "fight temptation, to keep";
mes "their focus. That guy...";
mes "He wasn't cut out to fight.";
- set jewel_nd,30;
+ jewel_nd = 30;
next;
if (countitem(7725) > 0) {
mes "[Retired Soldier]";
@@ -11196,7 +11196,7 @@ prontera,140,304,5 script Old Soldier 4_M_HUOLDARMY,{
mes "to resist its curse, you know,";
mes "if it actually exists.";
delitem 7725,1; //Unlucky_Emerald
- set jewel_nd,31;
+ jewel_nd = 31;
getitem 603,1; //Old_Blue_Box
if (checkre(3)) {
if (BaseLevel < 66) getitem 607,1; //Yggdrasilberry
@@ -11251,7 +11251,7 @@ prontera,140,304,5 script Old Soldier 4_M_HUOLDARMY,{
else if (jewel_nd == 30) {
if (countitem(7725) > 0) {
delitem 7725,1; //Unlucky_Emerald
- set jewel_nd,31;
+ jewel_nd = 31;
getitem 603,1; //Old_Blue_Box
if (checkre(3)) {
if (BaseLevel < 66) getitem 607,1; //Yggdrasilberry
@@ -11361,7 +11361,7 @@ gef_fild08,182,185,0 script The Wanderer 8_DOPPEL,{
mes "And then... We... We...";
mes "I... It hurts too much";
mes "to recall what happened...";
- set jewel_nd,22;
+ jewel_nd = 22;
hideonnpc "The Wanderer";
stopnpctimer;
close;
@@ -11388,7 +11388,7 @@ gef_fild08,182,185,0 script The Wanderer 8_DOPPEL,{
mes "[The Wanderer]";
mes "Just let me return";
mes "to my slumber.";
- set jewel_nd,23;
+ jewel_nd = 23;
close;
}
else if (jewel_nd == 25) {
@@ -11428,7 +11428,7 @@ gef_fild08,182,185,0 script The Wanderer 8_DOPPEL,{
mes "adventurer, and don't";
mes "reopen the wounds of";
mes "the past anymore.";
- set jewel_nd,27;
+ jewel_nd = 27;
next;
while(1) {
if (select("You killed your comrades!:Do you remember your last moment?") == 1) {
@@ -11459,7 +11459,7 @@ gef_fild08,182,185,0 script The Wanderer 8_DOPPEL,{
mes "[The Wanderer]";
mes "No, it can't have been.";
mes "A human soldier like me?";
- set jewel_nd,28;
+ jewel_nd = 28;
next;
break;
}
@@ -11500,7 +11500,7 @@ gef_fild08,182,185,0 script The Wanderer 8_DOPPEL,{
mes "Stop it! I couldn't...";
mes "Get out of here now!";
mes "You're trying to trick me!";
- set jewel_nd,29;
+ jewel_nd = 29;
hideonnpc "The Wanderer";
stopnpctimer;
close;
@@ -11541,7 +11541,7 @@ gef_fild08,182,185,0 script The Wanderer 8_DOPPEL,{
mes "[The Wanderer]";
mes "No, it can't have been.";
mes "A human soldier like me?";
- set jewel_nd,28;
+ jewel_nd = 28;
next;
break;
}
@@ -11582,7 +11582,7 @@ gef_fild08,182,185,0 script The Wanderer 8_DOPPEL,{
mes "Stop it! I couldn't...";
mes "Get out of here now!";
mes "You're trying to trick me!";
- set jewel_nd,29;
+ jewel_nd = 29;
hideonnpc "The Wanderer";
stopnpctimer;
close;
@@ -11619,7 +11619,7 @@ gef_fild08,182,185,0 script The Wanderer 8_DOPPEL,{
mes "Stop it! I couldn't...";
mes "Get out of here now!";
mes "You're trying to trick me!";
- set jewel_nd,29;
+ jewel_nd = 29;
hideonnpc "The Wanderer";
stopnpctimer;
close;
@@ -11721,7 +11721,7 @@ prontera,163,204,3 script Man from Morroc 4W_M_03,{
mes "of the Rogue agents dispatched";
mes "in the other towns? Then you'll";
mes "know what I'm talking about!";
- set rumour_nd,1;
+ rumour_nd = 1;
close;
}
else if (rumour_nd == 1) {
@@ -11826,7 +11826,7 @@ in_rogue,355,28,5 script Rogue Agent 2_M_THIEFMASTER,{
mes "I need you to go on a bit";
mes "of a trip for me, so get";
mes "some provisions ready, yeah?";
- set rumour_nd,2;
+ rumour_nd = 2;
}
close;
}
@@ -11853,7 +11853,7 @@ in_rogue,355,28,5 script Rogue Agent 2_M_THIEFMASTER,{
mes "not enough instruction,";
mes "but that's just the first";
mes "step, anyway. Good luck.";
- set rumour_nd,3;
+ rumour_nd = 3;
close;
}
else if (rumour_nd == 3) {
@@ -11888,7 +11888,7 @@ in_rogue,355,28,5 script Rogue Agent 2_M_THIEFMASTER,{
next;
mes "^3355FFYou received";
mes "another folded note.^000000";
- set rumour_nd,25;
+ rumour_nd = 25;
close;
}
else if (rumour_nd == 25) {
@@ -11918,7 +11918,7 @@ in_rogue,355,28,5 script Rogue Agent 2_M_THIEFMASTER,{
mes "gift, but maybe you'll";
mes "like it. If not, don't";
mes "lemme know. Got it?";
- set rumour_nd,22;
+ rumour_nd = 22;
getitem 644,1; //Gift_Box
close;
}
@@ -11930,7 +11930,7 @@ in_rogue,355,28,5 script Rogue Agent 2_M_THIEFMASTER,{
mes "gift, but maybe you'll";
mes "like it. If not, don't";
mes "lemme know. Got it?";
- set rumour_nd,22;
+ rumour_nd = 22;
getitem 644,1; //Gift_Box
close;
}
@@ -11992,7 +11992,7 @@ aldebaran,114,56,5 script Rogue Agent#nd0 4_M_ROGUE,{
next;
mes "^3355FFYou received a";
mes "tightly folded note.^000000";
- set rumour_nd,4;
+ rumour_nd = 4;
close;
}
else {
@@ -12025,7 +12025,7 @@ aldebaran,114,56,5 script Rogue Agent#nd0 4_M_ROGUE,{
next;
mes "^3355FFYou received a";
mes "tightly folded note.^000000";
- set rumour_nd,24;
+ rumour_nd = 24;
close;
}
}
@@ -12057,7 +12057,7 @@ aldebaran,114,56,5 script Rogue Agent#nd0 4_M_ROGUE,{
mes "this is for me. You might";
mes "wanna try one of the other";
mes "Rogue agents around, okay?";
- set rumour_nd,17;
+ rumour_nd = 17;
close;
}
else if (rumour_nd > 21) {
@@ -12145,7 +12145,7 @@ geffen,91,36,5 script Rogue Guild Agent#nd1 4_M_ROGUE,{
mes "calm down, and not panick.";
mes "Hurry it up before a riot";
mes "breaks out or somethin'.";
- set rumour_nd,5;
+ rumour_nd = 5;
close;
}
else {
@@ -12174,7 +12174,7 @@ geffen,91,36,5 script Rogue Guild Agent#nd1 4_M_ROGUE,{
delitem 1038,1; //Petite_DiablOfs_Horn
delitem 1060,1; //Golden_Hair
delitem 1059,1; //Transparent_Cloth
- set rumour_nd,6;
+ rumour_nd = 6;
mes "[Agent]";
mes "Thanks. This stuff";
mes "should help the people";
@@ -12270,7 +12270,7 @@ geffen,91,36,5 script Rogue Guild Agent#nd1 4_M_ROGUE,{
mes "calm down, and not panick.";
mes "Hurry it up before a riot";
mes "breaks out or somethin'.";
- set rumour_nd,5;
+ rumour_nd = 5;
close;
}
else {
@@ -12305,7 +12305,7 @@ geffen,91,36,5 script Rogue Guild Agent#nd1 4_M_ROGUE,{
mes "calm down, and not panick.";
mes "Hurry it up before a riot";
mes "breaks out or somethin'.";
- set rumour_nd,26;
+ rumour_nd = 26;
close;
}
}
@@ -12333,7 +12333,7 @@ geffen,91,36,5 script Rogue Guild Agent#nd1 4_M_ROGUE,{
delitem 1038,2; //Petite_DiablOfs_Horn
delitem 1060,3; //Golden_Hair
delitem 1059,1; //Transparent_Cloth
- set rumour_nd,6;
+ rumour_nd = 6;
mes "[Agent]";
mes "Thanks. This stuff";
mes "should help the people";
@@ -12394,7 +12394,7 @@ geffen,91,36,5 script Rogue Guild Agent#nd1 4_M_ROGUE,{
delitem 1038,2; //Petite_DiablOfs_Horn
delitem 1060,3; //Golden_Hair
delitem 1059,1; //Transparent_Cloth
- set rumour_nd,6;
+ rumour_nd = 6;
mes "[Agent]";
mes "Thanks. This stuff";
mes "should help the people";
@@ -12538,7 +12538,7 @@ payon,209,44,5 script Rogue Guild Agent#nd2 4_M_ROGUE,{
mes "Uh...";
mes "You mind reading";
mes "this note to me?";
- set rumour_nd,7;
+ rumour_nd = 7;
next;
mes "[" + strcharinfo(0) + "]";
mes "Let's see,";
@@ -12552,7 +12552,7 @@ payon,209,44,5 script Rogue Guild Agent#nd2 4_M_ROGUE,{
mes "I'm the Payon agent.";
mes "I guess we gotta work";
mes "together from now on.";
- set rumour_nd,8;
+ rumour_nd = 8;
close;
case 2:
mes "[Agent]";
@@ -12566,7 +12566,7 @@ payon,209,44,5 script Rogue Guild Agent#nd2 4_M_ROGUE,{
mes "When you're ready to get";
mes "to business, come back";
mes "and we'll talk, okay?";
- set rumour_nd,8;
+ rumour_nd = 8;
close;
}
}
@@ -12589,7 +12589,7 @@ payon,209,44,5 script Rogue Guild Agent#nd2 4_M_ROGUE,{
mes "I'm the Payon agent.";
mes "I guess we gotta work";
mes "together from now on.";
- set rumour_nd,8;
+ rumour_nd = 8;
close;
case 2:
mes "[Agent]";
@@ -12603,7 +12603,7 @@ payon,209,44,5 script Rogue Guild Agent#nd2 4_M_ROGUE,{
mes "When you're ready to get";
mes "to business, come back";
mes "and we'll talk, okay?";
- set rumour_nd,8;
+ rumour_nd = 8;
close;
}
}
@@ -12636,7 +12636,7 @@ payon,209,44,5 script Rogue Guild Agent#nd2 4_M_ROGUE,{
mes "I meant to say ^0000FFGreen";
mes "Herbs^000000. Bring me ^0000FF1 Green";
mes "Herb^000000, okay? *Phew~*";
- set rumour_nd,9;
+ rumour_nd = 9;
close;
}
else {
@@ -12647,7 +12647,7 @@ payon,209,44,5 script Rogue Guild Agent#nd2 4_M_ROGUE,{
mes "deadly now. I want you";
mes "to bring me a ^FF0000Red Herb^000000";
mes "so that we can fix this!";
- set rumour_nd,10;
+ rumour_nd = 10;
close;
}
}
@@ -12659,7 +12659,7 @@ payon,209,44,5 script Rogue Guild Agent#nd2 4_M_ROGUE,{
next;
if (countitem(511) > 0) {
delitem 511,1; //Green_Herb
- set rumour_nd,11;
+ rumour_nd = 11;
mes "[Agent]";
mes "Alright, it's gonna take";
mes "a while to neutralize all";
@@ -12700,7 +12700,7 @@ payon,209,44,5 script Rogue Guild Agent#nd2 4_M_ROGUE,{
mes "some time to draw a report,";
mes "and then come back later, 'kay?";
delitem 511,1; //Green_Herb
- set rumour_nd,11;
+ rumour_nd = 11;
close;
}
else {
@@ -12715,7 +12715,7 @@ payon,209,44,5 script Rogue Guild Agent#nd2 4_M_ROGUE,{
mes "biggie. Hey, bring me";
mes "a Green Herb, will you?";
mes "That's the one I wanted.";
- set rumour_nd,9;
+ rumour_nd = 9;
close;
}
}
@@ -12729,7 +12729,7 @@ payon,209,44,5 script Rogue Guild Agent#nd2 4_M_ROGUE,{
mes "some time to draw a report,";
mes "and then come back later, 'kay?";
delitem 511,1; //Green_Herb
- set rumour_nd,11;
+ rumour_nd = 11;
close;
}
else {
@@ -12784,7 +12784,7 @@ payon,209,44,5 script Rogue Guild Agent#nd2 4_M_ROGUE,{
mes "Don't worry, I got";
mes "that one too! All you";
mes "gotta do is bring Alcohol~";
- set rumour_nd,12;
+ rumour_nd = 12;
close;
}
else {
@@ -12792,7 +12792,7 @@ payon,209,44,5 script Rogue Guild Agent#nd2 4_M_ROGUE,{
mes "Alright, just bring";
mes "me an Alcohol, and";
mes "I'll take care of the rest.";
- set rumour_nd,13;
+ rumour_nd = 13;
close;
}
}
@@ -12808,7 +12808,7 @@ payon,209,44,5 script Rogue Guild Agent#nd2 4_M_ROGUE,{
mes "have to do is wait.";
mes "Nice work, partner.";
delitem 970,1; //Alchol
- set rumour_nd,15;
+ rumour_nd = 15;
close;
}
else {
@@ -12831,7 +12831,7 @@ payon,209,44,5 script Rogue Guild Agent#nd2 4_M_ROGUE,{
mes "have to do is wait.";
mes "Nice work, partner.";
delitem 970,1; //Alchol
- set rumour_nd,14;
+ rumour_nd = 14;
close;
}
else {
@@ -12864,7 +12864,7 @@ payon,209,44,5 script Rogue Guild Agent#nd2 4_M_ROGUE,{
mes "I won't screw it up";
mes "this time. We'll";
mes "do this for sure~";
- set rumour_nd,12;
+ rumour_nd = 12;
close;
}
else if (rumour_nd == 15) {
@@ -12892,7 +12892,7 @@ payon,209,44,5 script Rogue Guild Agent#nd2 4_M_ROGUE,{
mes "^3355FFYou received a note that";
mes "communicates solely";
mes "through doodles.^000000";
- set rumour_nd,18;
+ rumour_nd = 18;
close;
}
else {
@@ -12904,7 +12904,7 @@ payon,209,44,5 script Rogue Guild Agent#nd2 4_M_ROGUE,{
mes "^3355FFYou received a note that";
mes "communicates solely";
mes "through doodles.^000000";
- set rumour_nd,16;
+ rumour_nd = 16;
emotion e_heh;
close;
}
@@ -12924,7 +12924,7 @@ payon,209,44,5 script Rogue Guild Agent#nd2 4_M_ROGUE,{
mes "take it? Oh! That's why!";
mes "I meant Comodo! You gotta";
mes "go to Comodo! Heh, my bad~";
- set rumour_nd,18;
+ rumour_nd = 18;
close;
}
else if (rumour_nd == 18) {
@@ -13036,7 +13036,7 @@ comodo,233,199,5 script Rogue Guild Agent#nd3 1_M_SIGNROGUE,{
mes "monster masks^000000.";
mes "Just 2, and make";
mes "sure they're scary.";
- set rumour_nd,19;
+ rumour_nd = 19;
close;
case 2:
mes "[Agent]";
@@ -13142,7 +13142,7 @@ comodo,233,199,5 script Rogue Guild Agent#nd3 1_M_SIGNROGUE,{
mes "agent over there, will you?";
mes "Oh, and take this food";
mes "with my apologies, 'kay?";
- set .@sorry_item,rand(1,6);
+ .@sorry_item = rand(1,6);
if (.@sorry_item == 1) {
getitem 12044,1; //Str_Dish04
}
@@ -13177,7 +13177,7 @@ comodo,233,199,5 script Rogue Guild Agent#nd3 1_M_SIGNROGUE,{
mes "Rogue agent over there.";
mes "Oh, and mum's the word";
mes "on my little mistake~";
- set rumour_nd,20;
+ rumour_nd = 20;
close;
}
else {
@@ -13277,7 +13277,7 @@ morocc,116,39,3 script Rogue Guild Agent#nd4 4_M_YOYOROGUE,{
mes "[Agent]";
mes "Heh! Keep up";
mes "the good work~";
- set rumour_nd,21;
+ rumour_nd = 21;
close;
}
else {
@@ -13299,7 +13299,7 @@ morocc,116,39,3 script Rogue Guild Agent#nd4 4_M_YOYOROGUE,{
mes "[Agent]";
mes "Heh! Keep up";
mes "the good work~";
- set rumour_nd,21;
+ rumour_nd = 21;
close;
}
}
diff --git a/npc/quests/quests_niflheim.txt b/npc/quests/quests_niflheim.txt
index b2cda90e8..8020e9db5 100644
--- a/npc/quests/quests_niflheim.txt
+++ b/npc/quests/quests_niflheim.txt
@@ -30,7 +30,7 @@
// Piano Quest :: nif_ryu
//============================================================
niflheim,224,243,3 script Alreg#nif 4_M_NFDEADMAN,{
- if (nif_piano) set nif_piano,0;
+ if (nif_piano) nif_piano = 0;
mes "[Alreg]";
mes "Me like meat, muheh.";
mes "You! Look tempting.";
@@ -51,7 +51,7 @@ niflheim,224,243,3 script Alreg#nif 4_M_NFDEADMAN,{
mes "good. Alreg give you this";
mes "for payback. Present!";
mes "*Burrrp*";
- set nif_esc,rand(1,2);
+ nif_esc = rand(1,2);
getitem 7184,1; //Piano_Keyboard
close;
}
@@ -86,19 +86,19 @@ nif_in,105,81,3 script Crayu#nif 4_M_NFDEADMAN2,{
mes "Okay, wait! Here's a test for you!";
switch(rand(1,4)) {
case 1:
- set .@songline$,"Mountain sunset to the west";
+ .@songline$ = "Mountain sunset to the west";
mes "Write down the first line of the song.";
break;
case 2:
- set .@songline$,"Where the purple dusk falls";
+ .@songline$ = "Where the purple dusk falls";
mes "Write down the second line of the song.";
break;
case 3:
- set .@songline$,"Surrounded by beautiful melody";
+ .@songline$ = "Surrounded by beautiful melody";
mes "Write down the third line of the song.";
break;
case 4:
- set .@songline$,"You become the key that ignores its master";
+ .@songline$ = "You become the key that ignores its master";
mes "Write down the fourth line of the song.";
break;
}
@@ -112,8 +112,8 @@ nif_in,105,81,3 script Crayu#nif 4_M_NFDEADMAN2,{
mes "favorite guests. Here's a";
mes "little reward for you.";
next;
- if (nif_esc == 1) set nif_esc,3;
- else set nif_esc,6;
+ if (nif_esc == 1) nif_esc = 3;
+ else nif_esc = 6;
getitem 7184,1; //Piano_Keyboard
mes "[Crayu]";
mes "Lastly, I hope you will show your";
@@ -153,7 +153,7 @@ nif_in,31,20,3 script Kuzkahina#nif 4_M_NFDEADMAN2,{
mes "[Kuzkahina]";
mes "Hey you! Make yourself useful";
mes "and throw this away when you leave.";
- set nif_esc,nif_esc+2;
+ nif_esc += 2;
getitem 7184,1; //Piano_Keyboard
next;
mes "[Kuzkahina]";
@@ -185,9 +185,9 @@ OnTouch:
mes "^3355FFWould you like to pick it up?^000000";
if (select("Yes:No") == 1) {
if (nif_esc < 10)
- set nif_esc,nif_esc+2;
+ nif_esc += 2;
else if (nif_esc == 10)
- set nif_esc,11;
+ nif_esc = 11;
getitem 7184,1; //Piano_Keyboard
}
close;
@@ -206,7 +206,7 @@ OnTouch:
next;
mes "^3355FFWould you like to pick it up?^000000";
if (select("Yes:No") == 1) {
- set nif_esc,nif_esc+2;
+ nif_esc += 2;
getitem 7184,1; //Piano_Keyboard
}
close;
@@ -232,7 +232,7 @@ OnTouch:
close;
}
if (nif_esc == 11 && countitem(7184) > 5) {
- set nif_esc,12;
+ nif_esc = 12;
delitem 7184,6; //Piano_Keyboard
mes "^3355FFYou took the keys you've found";
mes "and inserted them into";
@@ -259,8 +259,8 @@ OnTouch:
soundeffect "complete.wav",0;
next;
if (nif_esc == 12) {
- set MISC_QUEST,MISC_QUEST | 32;
- set nif_piano, 0;
+ MISC_QUEST |= 32;
+ nif_piano = 0;
}
mes "^3355FFYou begin to feel dizzy and";
mes "your body feels as if it were";
@@ -353,7 +353,7 @@ prt_in,161,20,3 script Erious#nif 4_F_03,{
mes "a month ago was all my fault.";
mes "Thank you for your help,";
mes "and please take care.";
- set nif_revive,1;
+ nif_revive = 1;
setquest 11038;
close;
}
@@ -432,8 +432,8 @@ prt_in,161,20,3 script Erious#nif 4_F_03,{
mes "as a token of my gratitute.";
next;
if (checkweight(610,26)) {
- set MISC_QUEST,MISC_QUEST | 16384;
- set nif_revive,0;
+ MISC_QUEST |= 16384;
+ nif_revive = 0;
completequest 11043;
getitem 607,2; //Yggdrasilberry
getitem 608,2; //Seed_Of_Yggdrasil
@@ -477,8 +477,8 @@ prt_in,161,20,3 script Erious#nif 4_F_03,{
mes "gratitute.";
next;
if (checkweight(610,10)) {
- set MISC_QUEST,MISC_QUEST | 16384;
- set nif_revive,0;
+ MISC_QUEST |= 16384;
+ nif_revive = 0;
completequest 11042;
getitem 610,10; //Leaf_Of_Yggdrasil
mes "[Erious]";
@@ -542,7 +542,7 @@ umbala,215,181,3 script Billik 4_M_JOB_KNIGHT1,{
mes "likes roses a lot, so bring a rose";
mes "for him. That way, he'll know for";
mes "sure that I've sent you.";
- set nif_revive,2;
+ nif_revive = 2;
changequest 11038,11039;
next;
mes "[Billik]";
@@ -602,7 +602,7 @@ niflheim,153,215,3 script Feylin 4_M_NFDEADMAN2,{
mes "you came here for nothing. I hope";
mes "you go back to where you came";
mes "from before it's too late.";
- set nif_revive,3;
+ nif_revive = 3;
changequest 11039,11040;
close;
}
@@ -626,7 +626,7 @@ niflheim,153,215,3 script Feylin 4_M_NFDEADMAN2,{
mes "But I surely wouldn't have told";
mes "you. Besides, speaking about";
mes "such things is taboo.";
- set nif_revive,4;
+ nif_revive = 4;
changequest 11040,11041;
close;
}
@@ -671,7 +671,7 @@ niflheim,153,215,3 script Feylin 4_M_NFDEADMAN2,{
mes "Woombah woombah hoombabah!";
mes "Yeeeeep!";
next;
- set .@nif_revive1,rand(1,100);
+ .@nif_revive1 = rand(1,100);
if (.@nif_revive1 > 0) && (.@nif_revive1 < 88) {
mes "[Feylin]";
mes "...I am sorry.";
@@ -681,7 +681,7 @@ niflheim,153,215,3 script Feylin 4_M_NFDEADMAN2,{
emotion e_omg;
delitem 748,1; //Witherless_Rose
delitem 610,10; //Leaf_Of_Yggdrasil
- set nif_revive,5;
+ nif_revive = 5;
changequest 11041,11042;
percentheal -99,0;
next;
@@ -725,7 +725,7 @@ niflheim,153,215,3 script Feylin 4_M_NFDEADMAN2,{
mes "live the rest of his life happily";
mes "with someone else. Oh, also let";
mes "him know that I forgive him.";
- set nif_revive,6;
+ nif_revive = 6;
changequest 11040,11043;
getitem 934,1; //Mementos
next;
diff --git a/npc/quests/quests_prontera.txt b/npc/quests/quests_prontera.txt
index a7bcecf3c..1258b2876 100644
--- a/npc/quests/quests_prontera.txt
+++ b/npc/quests/quests_prontera.txt
@@ -124,7 +124,7 @@ prt_in,88,105,2 script Recruiter 8W_SOLDIER,{
}
S_Volunteer:
- set MISC_QUEST,MISC_QUEST | 8;
+ MISC_QUEST |= 8;
mes "[Recruiter]";
mes "Your registration...";
mes "is now complete.";
@@ -396,7 +396,7 @@ prontera,248,212,3 script Busy Boy#prt 4_M_KID1,3,3,{
mes "business, I know, but";
mes "I'm just so desperate...";
emotion e_sob;
- set prt_curse,2;
+ prt_curse = 2;
close;
}
else if (prt_curse == 2) {
@@ -482,7 +482,7 @@ OnTouch:
mes "might really break";
mes "something if you're";
mes "always that careless!";
- set prt_curse,1;
+ prt_curse = 1;
close;
}
mes "[Busy-Looking Boy]";
@@ -530,7 +530,7 @@ OnTouch:
mes "business, I know, but";
mes "I'm just so desperate...";
emotion e_sob;
- set prt_curse,2;
+ prt_curse = 2;
close;
}
else if (prt_curse == 3) {
@@ -562,7 +562,7 @@ S_GetBooks:
mes "careful with them! Anyway,";
mes "thanks for doing this for me.";
mes "I was really at my wit's end...";
- set prt_curse,3;
+ prt_curse = 3;
getitem 7431,1; //Books
close;
}
@@ -713,7 +713,7 @@ yuno,311,195,3 script Historian#prt01 4_M_SAGE_A,{
mes "to stay and chat for a bit?";
mes "Just give me a minute to get";
mes "a cool drink of water first~";
- set prt_curse,4;
+ prt_curse = 4;
delitem 7431,1; //Books
close;
}
@@ -834,7 +834,7 @@ yuno,311,195,3 script Historian#prt01 4_M_SAGE_A,{
mes "praise the 7 warriors' exploits";
mes "through this song. Isn't that";
mes "interesting to know about?";
- set prt_curse,5;
+ prt_curse = 5;
close;
}
else if (prt_curse == 5) {
@@ -860,7 +860,7 @@ yuno,311,195,3 script Historian#prt01 4_M_SAGE_A,{
mes "Ah, her name is Rodafrian.";
mes "I'm certain you can find her";
mes "somewhere in that desert town.";
- set prt_curse,6;
+ prt_curse = 6;
getitem 7342,1; //File01
close;
}
@@ -1064,7 +1064,7 @@ morocc_in,45,126,3 script Historian#prt02 4_F_GON,{
mes "right at all. Are you sure";
mes "that's the lyric you heard?";
delitem 7342,1; //File01
- set prt_curse,7;
+ prt_curse = 7;
close;
}
@@ -1083,7 +1083,7 @@ morocc_in,45,126,3 script Historian#prt02 4_F_GON,{
mes "["+strcharinfo(0)+"]";
input .@line$;
if (.@line$ == "The great serpent swallowed the sea.") {
- set .@total,.@total+1;
+ .@total += 1;
mes "*The great serpent*";
mes "*swallowed the sea.*";
}
@@ -1091,7 +1091,7 @@ morocc_in,45,126,3 script Historian#prt02 4_F_GON,{
input .@line$;
if (.@line$ == "The eagle of the rainbow swallowed the serpent.") {
- set .@total,.@total+1;
+ .@total += 1;
mes "*The eagle of the rainbow*";
mes "*swallowed the serpent.*";
}
@@ -1099,14 +1099,14 @@ morocc_in,45,126,3 script Historian#prt02 4_F_GON,{
input .@line$;
if (.@line$ == "Then the eagle built its nest.") {
- set .@total,.@total+1;
+ .@total += 1;
mes "*Then the eagle built its nest.*";
}
else mes "*"+.@line$+"*";
input .@line$;
if (.@line$ == "A nest upon the swallowed sea.") {
- set .@total,.@total+1;
+ .@total += 1;
mes "*A nest upon the swallowed sea.*";
}
else mes "*"+.@line$+"*";
@@ -1128,7 +1128,7 @@ morocc_in,45,126,3 script Historian#prt02 4_F_GON,{
mes "at all. Are you sure those";
mes "are the lyrics you heard?";
delitem 7342,1; //File01
- set prt_curse,7;
+ prt_curse = 7;
close;
}
@@ -1251,10 +1251,10 @@ morocc_in,45,126,3 script Historian#prt02 4_F_GON,{
mes "Oh well, I guess I better head";
mes "back to the priests...)^000000";
if (prt_curse == 30) {
- set prt_curse,31;
+ prt_curse = 31;
changequest 18042,18044;
} else {
- set prt_curse,60;
+ prt_curse = 60;
changequest 18051,18052;
}
close;
@@ -1282,10 +1282,10 @@ morocc_in,45,126,3 script Historian#prt02 4_F_GON,{
mes "For now, it would be best";
mes "to return to Father Bamph.^000000";
if (prt_curse == 30) {
- set prt_curse,40;
+ prt_curse = 40;
changequest 18042,18045;
} else {
- set prt_curse,56;
+ prt_curse = 56;
completequest 18051;
}
close;
@@ -1361,7 +1361,7 @@ S_GiveName:
mes "need to know this song's lyrics";
mes "for the sake of my research...";
if (getarg(0) == 1) delitem 7342,1; //File01
- set prt_curse,8;
+ prt_curse = 8;
changequest 18031,18032;
close;
}
@@ -1500,7 +1500,7 @@ mjolnir_01,135,168,3 script Historian#prt03 4_M_SAGE_A,{
mes "find what you're looking";
mes "for. Good luck in your";
mes "travels, adventurer.";
- set prt_curse,11;
+ prt_curse = 11;
changequest 18032,18033;
close;
}
@@ -1519,7 +1519,7 @@ S_Song:
mes "["+strcharinfo(0)+"]";
input .@line$;
if (.@line$ == "The great serpent swallowed the sea.") {
- set .@total,.@total+1;
+ .@total += 1;
mes "*The great serpent*";
mes "*swallowed the sea.*";
}
@@ -1527,21 +1527,21 @@ S_Song:
input .@line$;
if (.@line$ == "The eagle of the rainbow swallowed the serpent.") {
- set .@total,.@total+1;
+ .@total += 1;
mes "*The eagle of the rainbow*";
mes "*swallowed the serpent.*";
}
else mes "*"+.@line$+"*";
input .@line$;
- if (.@line$ == "Then the eagle built its nest.") set .@total,.@total+1;
+ if (.@line$ == "Then the eagle built its nest.") .@total += 1;
mes "*"+.@line$+"*";
input .@line$;
- if (.@line$ == "A nest upon the swallowed sea.") set .@total,.@total+1;
+ if (.@line$ == "A nest upon the swallowed sea.") .@total += 1;
mes "*"+.@line$+"*";
- if (.@total == 4) set prt_curse,10;
+ if (.@total == 4) prt_curse = 10;
else {
next;
mes "["+strcharinfo(0)+"]";
@@ -1549,7 +1549,7 @@ S_Song:
mes "I think I messed up!";
mes "(Those weren't the";
mes "correct lyrics...)";
- set prt_curse,9;
+ prt_curse = 9;
}
close;
}
@@ -1692,7 +1692,7 @@ mjolnir_01,313,269,5 script Dazed Boy#prt 4_M_KID1,{
next;
mes "[Exhausted-Looking Woman]";
mes "........";
- set prt_curse,12;
+ prt_curse = 12;
close;
}
mes "[Exhausted-Looking Woman]";
@@ -1710,7 +1710,7 @@ mjolnir_01,313,269,5 script Dazed Boy#prt 4_M_KID1,{
mes "swallowed the serpent.";
mes "Then snake scales grew on";
mes "the eagle, and it slowly died.";
- set prt_curse,12;
+ prt_curse = 12;
close;
}
mes "[Absent-Minded Boy]";
@@ -1849,7 +1849,7 @@ mjolnir_01,316,268,3 script Exhausted-Looking Woman 4_F_CAPEGIRL,{
next;
mes "[Exhausted-Looking Woman]";
mes "........";
- set prt_curse,12;
+ prt_curse = 12;
close;
}
mes "[Exhausted-Looking Woman]";
@@ -1867,7 +1867,7 @@ mjolnir_01,316,268,3 script Exhausted-Looking Woman 4_F_CAPEGIRL,{
mes "swallowed the serpent.";
mes "Then snake scales grew on";
mes "the eagle, and it slowly died.";
- set prt_curse,12;
+ prt_curse = 12;
close;
}
mes "[Exhausted-Looking Woman]";
@@ -1943,7 +1943,7 @@ mjolnir_01,316,268,3 script Exhausted-Looking Woman 4_F_CAPEGIRL,{
mes "herbs to Prontera Church";
mes "before I talk to Rodafrian.)^000000";
getitem 7432,1; //Leather_Pouch
- set prt_curse,13;
+ prt_curse = 13;
changequest 18033,18034;
close;
}
@@ -2042,7 +2042,7 @@ mjolnir_01,316,268,3 script Exhausted-Looking Woman 4_F_CAPEGIRL,{
mes "to Prontera Church";
mes "and let Father Bamph";
mes "know about this information.)^000000";
- set prt_curse,17;
+ prt_curse = 17;
changequest 18035,18036;
close;
}
@@ -2119,17 +2119,17 @@ mjolnir_01,316,268,3 script Exhausted-Looking Woman 4_F_CAPEGIRL,{
mes "this burdensome guilt...";
mes "Thank you, kind adventurer~";
if (prt_curse == 35) {
- set prt_curse,36;
+ prt_curse = 36;
completequest 18050;
} else if (prt_curse == 44) {
- set prt_curse,45;
+ prt_curse = 45;
completequest 18049;
} else {
next;
mes "^3355FFNow, you can return to";
mes "Rodafrian, the historian";
mes "stationed in Morroc.^000000";
- set prt_curse,55;
+ prt_curse = 55;
changequest 18049,18051;
}
@@ -2271,7 +2271,7 @@ prt_church,185,106,3 script Father Bamph 1_M_PASTOR,{
mes "Well then, adventurer, give";
mes "me the opportunity to tell you";
mes "something very important. But, you must not tell anyone else...";
- set prt_curse,14;
+ prt_curse = 14;
delitem 7432,1; //Leather_Pouch
close;
}
@@ -2377,7 +2377,7 @@ prt_church,185,106,3 script Father Bamph 1_M_PASTOR,{
mes "listen to what we have";
mes "to ask from here on...";
emotion e_dots;
- set prt_curse,15;
+ prt_curse = 15;
close;
}
else if (prt_curse == 15) {
@@ -2456,7 +2456,7 @@ prt_church,185,106,3 script Father Bamph 1_M_PASTOR,{
mes "and the song, or if she can";
mes "remember anything that happened";
mes "after the exorcism failed...";
- set prt_curse,16;
+ prt_curse = 16;
changequest 18034,18035;
close;
}
@@ -2497,7 +2497,7 @@ prt_church,185,106,3 script Father Bamph 1_M_PASTOR,{
mes "Just use the switch hidden";
mes "within the bookshelf and";
mes "I will meet you there.";
- set prt_curse,18;
+ prt_curse = 18;
changequest 18036,18037;
close;
}
@@ -2534,7 +2534,7 @@ prt_church,185,106,3 script Father Bamph 1_M_PASTOR,{
mes "can learn anything about how";
mes "we can verify whether poison";
mes "was used to kill the princes?";
- set prt_curse,23;
+ prt_curse = 23;
changequest 18039,18040;
close;
}
@@ -2568,7 +2568,7 @@ prt_church,185,106,3 script Father Bamph 1_M_PASTOR,{
mes "Gemstone and 1 Green Potion";
mes "to the secret ceremonial grounds as soon as you can? I will wait";
mes "over there for you once again.";
- set prt_curse,32;
+ prt_curse = 32;
changequest 18044,18046;
close;
}
@@ -2609,7 +2609,7 @@ prt_church,185,106,3 script Father Bamph 1_M_PASTOR,{
mes "that I cannot personally thank";
mes "you for all of your help. I'm very grateful for what you have done,";
mes "adventurer. May safety accompany you on all of your journeys.";
- set prt_curse,35;
+ prt_curse = 35;
changequest 18047,18050;
close;
}
@@ -2642,7 +2642,7 @@ prt_church,185,106,3 script Father Bamph 1_M_PASTOR,{
mes "Gemstone^000000 and ^3131FF1 Green Potion^000000";
mes "to the secret ceremonial grounds as soon as you can? I will wait";
mes "over there for you once again.";
- set prt_curse,41;
+ prt_curse = 41;
changequest 18045,18046;
close;
}
@@ -2682,9 +2682,9 @@ prt_church,185,106,3 script Father Bamph 1_M_PASTOR,{
mes "you for all of your help. I'm very grateful for what you have done,";
mes "adventurer. May safety accompany you on all of your journeys.";
if (prt_curse == 43)
- set prt_curse,44;
+ prt_curse = 44;
else
- set prt_curse,54;
+ prt_curse = 54;
changequest 18047,18049;
getexp (checkre(3))?90000:1600000,0;
close;
@@ -2720,7 +2720,7 @@ prt_church,185,106,3 script Father Bamph 1_M_PASTOR,{
mes "Gemstone^000000 and ^3131FF1 Green Potion^000000";
mes "to the secret ceremonial grounds as soon as you can? I will wait";
mes "over there for you once again.";
- set prt_curse,51;
+ prt_curse = 51;
changequest 18043,18046;
close;
}
@@ -2775,7 +2775,7 @@ prt_church,185,106,3 script Father Bamph 1_M_PASTOR,{
mes "you refrain from entering the";
mes "secret ceremonial grounds";
mes "from now on. Thanks again for your help, "+strcharinfo(0)+".";
- set prt_curse,61;
+ prt_curse = 61;
completequest 18052;
close;
}
@@ -2819,7 +2819,7 @@ prt_church,185,106,3 script Father Bamph 1_M_PASTOR,{
mes "speak to our informant, ^6B8E23Larjes^000000,";
mes "and he will assist you in your";
mes "search for the lost official.";
- set aru_monas,2;
+ aru_monas = 2;
changequest 17000,17001;
close;
}
@@ -2849,7 +2849,7 @@ prt_church,185,106,3 script Father Bamph 1_M_PASTOR,{
mes "think they would make";
mes "their move so soon. Hmm...";
mes "Give me a moment to think.";
- set aru_monas,5;
+ aru_monas = 5;
close;
}
else if (aru_monas == 5) {
@@ -2893,7 +2893,7 @@ prt_church,185,106,3 script Father Bamph 1_M_PASTOR,{
mes "Please accept this money";
mes "to cover your Airship fee.";
mes "Thank you, and good luck.";
- set aru_monas,6;
+ aru_monas = 6;
Zeny += (checkre(0)?5000:1500);
changequest 17002,17003;
close;
@@ -3010,7 +3010,7 @@ prt_church,184,110,3 script Father Biscuss 1_M_PASTOR,{
mes "on behalf of the Prontera";
mes "Church, I want to thank";
mes "you for all of your help.";
- set prt_curse,36;
+ prt_curse = 36;
completequest 18048;
getexp (checkre(3))?90000:1600000,0;
close;
@@ -3076,7 +3076,7 @@ prt_church,16,114,4 script Father Bamph#tomb 1_M_PASTOR,{
mes "that were killed during";
mes "the exorcism. Please take";
mes "a look at the body to the left.";
- set prt_curse,19;
+ prt_curse = 19;
close;
}
else if (prt_curse == 19) {
@@ -3137,9 +3137,9 @@ prt_church,16,114,4 script Father Bamph#tomb 1_M_PASTOR,{
mes "and to think about all of";
mes "this carefully. For now,";
mes "let's go back upstairs.";
- if (prt_curse == 33) set prt_curse,34;
- else if (prt_curse == 42) set prt_curse,43;
- else set prt_curse,53;
+ if (prt_curse == 33) prt_curse = 34;
+ else if (prt_curse == 42) prt_curse = 43;
+ else prt_curse = 53;
close;
}
else if (prt_curse == 43 || prt_curse == 53) {
@@ -3169,7 +3169,7 @@ prt_church,19,111,5 script #prince1 4_M_LIEMAN,{
mes "pulling up the sleeve, you";
mes "note that the mark resembles";
mes "the scales of a serpent.^000000";
- set prt_curse,20;
+ prt_curse = 20;
changequest 18037,18038;
close;
}
@@ -3230,7 +3230,7 @@ prt_church,21,111,5 script #prince2 4_M_LIEMAN,{
mes "that a conspiracy may be";
mes "involved. Let's go check";
mes "the body of the third prince.";
- set prt_curse,21;
+ prt_curse = 21;
changequest 18038,18039;
close;
}
@@ -3307,7 +3307,7 @@ prt_church,24,111,5 script #prince3 4_M_LIEMAN,{
mes "continue this conversation";
mes "outside, shall we? I'd prefer";
mes "not to disturb these bodies...";
- set prt_curse,22;
+ prt_curse = 22;
close;
}
else if (prt_curse == 22) {
@@ -3339,9 +3339,9 @@ prt_church,24,111,5 script #prince3 4_M_LIEMAN,{
mes "fade until they disappear.^000000";
delitem 506,1; //Green_Potion
delitem 715,1; //Yellow_Gemstone
- if (prt_curse == 32) set prt_curse,33;
- else if (prt_curse == 41) set prt_curse,42;
- else set prt_curse,52;
+ if (prt_curse == 32) prt_curse = 33;
+ else if (prt_curse == 41) prt_curse = 42;
+ else prt_curse = 52;
changequest 18046,18047;
close;
}
@@ -3401,7 +3401,7 @@ moc_fild16,201,295,5 script Assassin Guildsman#poiso 4_M_ACROSS,{
mes "in the 7 o'clock direction";
mes "in Morroc. Go find someone";
mes "named ^3131FFMarjana^000000 inside.";
- set prt_curse,24;
+ prt_curse = 24;
changequest 18040,18041;
close;
}
@@ -3525,7 +3525,7 @@ que_job01,10,16,5 script Marjana#poison 4_F_ACROSS,{
mes "won't work if too much time";
mes "has passed after the murder.";
mes "You better try this soon...";
- set prt_curse,25;
+ prt_curse = 25;
close;
}
@@ -3588,7 +3588,7 @@ OnTouch:
mes "She's much closer than";
mes "Father Bamph, so I guess";
mes "that I'll go talk to her first.";
- set prt_curse,30;
+ prt_curse = 30;
changequest 18041,18042;
close;
}
@@ -3598,7 +3598,7 @@ OnTouch:
mes "and investigate the princes'";
mes "bodies. I better head over";
mes "to Prontera right away.";
- set prt_curse,50;
+ prt_curse = 50;
changequest 18041,18043;
close;
}
diff --git a/npc/quests/quests_rachel.txt b/npc/quests/quests_rachel.txt
index a450ee8b0..935568c28 100644
--- a/npc/quests/quests_rachel.txt
+++ b/npc/quests/quests_rachel.txt
@@ -106,7 +106,7 @@ ra_in01,384,246,3 script Vincent#ra_in01 1_M_01,{
mes "he has run away somewhere.";
mes "You might want to question the";
mes "other servants of his whereabouts. Thanks again for your help.";
- set lost_boy,1;
+ lost_boy = 1;
setquest 8089;
close;
}
@@ -261,7 +261,7 @@ ra_in01,384,246,3 script Vincent#ra_in01 1_M_01,{
mes "job. Besides, Phobe is";
mes "just a kid, so he's probably";
mes "hiding somewhere in town.";
- set lost_boy,8;
+ lost_boy = 8;
changequest 8094,8095;
close;
}
@@ -347,7 +347,7 @@ ra_in01,384,246,3 script Vincent#ra_in01 1_M_01,{
mes "You want me to tell";
mes "Jenny about Phobe?";
mes "Sure, sure, I'll do that.";
- set lost_boy,10;
+ lost_boy = 10;
changequest 8097,8097;
close;
}
@@ -408,7 +408,7 @@ ra_in01,384,246,3 script Vincent#ra_in01 1_M_01,{
mes "I don't know what's inside,";
mes "but I know these items are";
mes "quite valuable nowadays...";
- set lost_boy,12;
+ lost_boy = 12;
changequest 8098,8099;
getitem 617,1; //Old_Violet_Box
next;
@@ -491,7 +491,7 @@ rachel,114,232,3 script Logan#ra_in01 4_M_LGTMAN,{
mes "You could ask Mr. Manson";
mes "inside the mansion. He's";
mes "been working here for a while.";
- set lost_boy,2;
+ lost_boy = 2;
changequest 8089,8090;
close;
}
@@ -589,7 +589,7 @@ ra_in01,372,200,3 script Manson#ra_in01 4_M_MIDDLE,{
mes "She's working in the garden";
mes "now, and she'd appreciate";
mes "your help in finding Phobe.";
- set lost_boy,3;
+ lost_boy = 3;
changequest 8090,8091;
close;
}
@@ -672,7 +672,7 @@ rachel,48,237,3 script Jenny#ra_in01 4_F_KHELLISIA,{
mes "Oh... That's a good idea.";
mes "Alright, I guess I can go";
mes "to the market and ask around.";
- set lost_boy,4;
+ lost_boy = 4;
changequest 8091,8092;
close;
}
@@ -768,7 +768,7 @@ rachel,48,237,3 script Jenny#ra_in01 4_F_KHELLISIA,{
mes "this way, I couldn't be";
mes "happier. Thank you for";
mes "all of your help, adventurer~";
- set lost_boy,11;
+ lost_boy = 11;
changequest 8097,8098;
}
close;
@@ -873,7 +873,7 @@ rachel,138,73,5 script Idle Merchant#ra_in01 4_M_03,{
mes "merchants about that";
mes "missing boy. Er, but";
mes "good luck selling that.";
- set lost_boy,5;
+ lost_boy = 5;
close;
}
else if (lost_boy >= 5) {
@@ -944,7 +944,7 @@ rachel,120,47,3 script Idle Merchant#ra_in01_2 4_M_03,{
mes "him. Oh, and be careful";
mes "in that ice cave. That place";
mes "can be plenty dangerous.";
- set lost_boy,6;
+ lost_boy = 6;
changequest 8092,8093;
close;
}
@@ -1071,7 +1071,7 @@ ra_fild01,245,325,3 script Suspicious Man#ra_in01 4_M_RASWORD,{
mes "I'm going to talk";
mes "to Vincent and make";
mes "him explain everything.";
- set lost_boy,7;
+ lost_boy = 7;
changequest 8093,8094;
close;
}
@@ -1182,7 +1182,7 @@ rachel,263,32,3 script Kid#ra_in01 4_M_RACHMAN1,{
mes "return home for now, so";
mes "you should bring this red";
mes "jewel back to Vincent.^000000";
- set lost_boy,9;
+ lost_boy = 9;
changequest 8095,8096;
close;
}
@@ -1247,7 +1247,7 @@ ra_in01,235,194,5 script Katinshuell 4_M_RACHMAN1,{
mes "in the past. If you want to";
mes "turn me in, go ahead...";
delitem 1201,1; //Knife
- set rach_vice,22;
+ rach_vice = 22;
changequest 8121,8122;
close;
}
@@ -1306,7 +1306,7 @@ ra_in01,235,194,5 script Katinshuell 4_M_RACHMAN1,{
mes "unbearable! I haven't been";
mes "able to sleep... That's why";
mes "I had to leave Lighthalzen.";
- set rach_vice,21;
+ rach_vice = 21;
next;
mes "[" + strcharinfo(0) + "]";
mes "......";
@@ -1408,7 +1408,7 @@ ra_in01,235,194,5 script Katinshuell 4_M_RACHMAN1,{
mes "my fault! I was desperate!";
mes "You don't understand how";
mes "I used to live, you d-don't--!";
- set rach_vice,21;
+ rach_vice = 21;
next;
mes "[" + strcharinfo(0) + "]";
mes "Huh...?";
@@ -1433,7 +1433,7 @@ ra_in01,235,194,5 script Katinshuell 4_M_RACHMAN1,{
mes "[Katinshuell]";
mes "I... I don't have";
mes "to tell you anything!";
- set rach_vice,20;
+ rach_vice = 20;
changequest 8120,8121;
next;
mes "[" + strcharinfo(0) + "]";
@@ -1500,7 +1500,7 @@ ra_in01,235,194,5 script Katinshuell 4_M_RACHMAN1,{
mes "What happened when";
mes "Bruspetti confronted";
mes "you at Freya's Spring?";
- set rach_vice,19;
+ rach_vice = 19;
next;
mes "[Katinshuell]";
mes ".........";
@@ -1522,7 +1522,7 @@ ra_in01,235,194,5 script Katinshuell 4_M_RACHMAN1,{
mes "Fine, if you're not going to";
mes "talk, then I'm going to flip";
mes "through this diary for answers.";
- set rach_vice,18;
+ rach_vice = 18;
close;
}
else if (rach_vice == 16) {
@@ -1679,7 +1679,7 @@ ra_in01,235,194,5 script Katinshuell 4_M_RACHMAN1,{
mes "you became worried about another possibility.";
mes "So you were plotting to get rid of the possibility, too.";
next;
- set rach_vice,17;
+ rach_vice = 17;
mes "[Katinshuell]";
mes "No! Stop it! Stop!";
mes "Are you implying that";
@@ -1781,7 +1781,7 @@ ra_in01,235,194,5 script Katinshuell 4_M_RACHMAN1,{
mes "[Katinshuell]";
mes "......!";
delitem 7571,1; //Diary_Of_Blue
- set rach_vice,16;
+ rach_vice = 16;
changequest 8119,8120;
close;
}
@@ -1829,7 +1829,7 @@ ra_in01,235,194,5 script Katinshuell 4_M_RACHMAN1,{
mes "What? I don't understand you...";
close;
}
- set rach_vice,11;
+ rach_vice = 11;
changequest 8114,8115;
mes "[Katinshuell]";
mes "You happy, now?";
@@ -1864,7 +1864,7 @@ ra_in01,235,194,5 script Katinshuell 4_M_RACHMAN1,{
mes "can't handle. Me and my";
mes "girlfriend are history now.";
mes "It's over between us.";
- set rach_vice,4;
+ rach_vice = 4;
changequest 8107,8108;
close;
}
@@ -1915,7 +1915,7 @@ ra_in01,235,194,5 script Katinshuell 4_M_RACHMAN1,{
mes "away from other people,";
mes "and to be left all alone for";
mes "some semblance of peace.";
- if (friendship > 10) set rach_vice,1;
+ if (friendship > 10) rach_vice = 1;
close;
}
mes "[Katinshuell]";
@@ -2055,7 +2055,7 @@ ra_in01,250,19,3 script Mr. Shendar 4_M_MIDDLE,{
mes "father. Besides, adventurers";
mes "like you can offer her the";
mes "best protection...";
- set rach_vice,14;
+ rach_vice = 14;
changequest 8117,8118;
close;
}
@@ -2105,7 +2105,7 @@ ra_in01,250,19,3 script Mr. Shendar 4_M_MIDDLE,{
mes "Oh, but how a father";
mes "worries. Will my sweet,";
mes "darling Bruspetti be alright?";
- set rach_vice,9;
+ rach_vice = 9;
changequest 8112,8113;
close;
}
@@ -2124,7 +2124,7 @@ ra_in01,250,19,3 script Mr. Shendar 4_M_MIDDLE,{
mes "distinctively pleasant";
mes "scent about them. I guess";
mes "it must be pheremonal?";
- set rach_vice,5;
+ rach_vice = 5;
changequest 8108,8109;
close;
}
@@ -2170,7 +2170,7 @@ ra_in01,250,19,3 script Mr. Shendar 4_M_MIDDLE,{
mes "awful long time, but she's";
mes "also an adult now. I... I guess";
mes "she should be just fine.";
- set rach_vice,2;
+ rach_vice = 2;
setquest 8106;
close;
}
@@ -2246,7 +2246,7 @@ rachel,73,244,3 script Lachellen 4_F_SHABBY,{
mes "so you look like a real loser";
mes "if you go there alone. That's";
mes "why I want a boyfriend now...";
- set rach_vice,12;
+ rach_vice = 12;
changequest 8115,8116;
next;
}
@@ -2316,7 +2316,7 @@ rachel,73,244,3 script Lachellen 4_F_SHABBY,{
mes "and her boyfriend usually";
mes "went on dates, you might";
mes "be able to find something.";
- set rach_vice,7;
+ rach_vice = 7;
changequest 8110,8111;
close;
}
@@ -2335,7 +2335,7 @@ rachel,73,244,3 script Lachellen 4_F_SHABBY,{
mes "she's also admitted that";
mes "she doesn't know much about";
mes "him. Let's see... He grew up in Lighthalzen? That's all she knows.";
- set rach_vice,3;
+ rach_vice = 3;
changequest 8106,8107;
close;
}
@@ -2452,7 +2452,7 @@ rachel,266,35,3 script Grandma#rachel 4_F_RACHOLD,{
mes "to let go of whatever's";
mes "bothering you, and just";
mes "enjoy life as it is now.";
- set rach_vice,13;
+ rach_vice = 13;
changequest 8116,8117;
close;
}
@@ -2484,7 +2484,7 @@ OnTouch:
mes "Wait, could this be";
mes "the scent that Bruspetti's";
mes "father mentioned earlier?";
- set rach_vice,6;
+ rach_vice = 6;
changequest 8109,8110;
close;
}
@@ -2526,7 +2526,7 @@ OnTouch:
mes "anyone accountable for this?";
mes "Who would be to blame?";
next;
- set rach_vice,24;
+ rach_vice = 24;
completequest 8122;
if (checkre(3)) {
if (BaseLevel > 90) getexp 130000,0;
@@ -2563,7 +2563,7 @@ OnTouch:
mes "Yes, I wouldn't want";
mes "to get myself drowned.";
next;
- set rach_vice,23;
+ rach_vice = 23;
mes "[Grandma]";
mes "Drowned...? I just";
mes "wouldn't want you to";
@@ -2603,7 +2603,7 @@ OnTouch:
next;
mes "[" + strcharinfo(0) + "]";
mes "Ah, I see.";
- set rach_vice,8;
+ rach_vice = 8;
changequest 8111,8112;
close;
}
@@ -2620,7 +2620,7 @@ ra_in01,255,25,0 script Book#ra_in HIDDEN_NPC,{
close;
}
else if (rach_vice == 14) {
- set rach_vice,15;
+ rach_vice = 15;
changequest 8118,8119;
getitem 7571,1; //Diary_Of_Blue
mes "^3355FFThis must be";
@@ -2638,7 +2638,7 @@ ra_in01,255,25,0 script Book#ra_in HIDDEN_NPC,{
mes "would make you feel";
mes "like a real creep.";
mes "So don't touch it.^000000";
- set rach_vice,10;
+ rach_vice = 10;
changequest 8113,8114;
close;
}
@@ -2796,7 +2796,7 @@ rachel,157,183,3 script Sincere Follower Urstia 4_F_MASK1,{
mes "our loving goddess Freya.";
setquest 2109;
getitem 7572,1; //Magic_Necklace
- set ice_necklace_q,1;
+ ice_necklace_q = 1;
close2;
cutin "",255;
end;
@@ -2834,7 +2834,7 @@ rachel,157,183,3 script Sincere Follower Urstia 4_F_MASK1,{
mes " what you have done for me.";
delitem 7573,1; //Magic_Necklace_
getexp (checkre(3))?90000:700000,0;
- set ice_necklace_q,6;
+ ice_necklace_q = 6;
completequest 2113;
next;
mes "["+strcharinfo(0)+"]";
@@ -3062,7 +3062,7 @@ ice_dun02,120,105,3 script Man Stuck in Ice#cave 4_M_FROZEN1,5,5,{
mes "this prison of ice. He can";
mes "be found near Freya's Spring:";
mes "beseech him on my behalf!";
- set ice_necklace_q,2;
+ ice_necklace_q = 2;
changequest 2109,2110;
close2;
cutin "",255;
@@ -3185,7 +3185,7 @@ ice_dun02,120,105,3 script Man Stuck in Ice#cave 4_M_FROZEN1,5,5,{
mes "And please don't mention";
mes "the fact that I trapped myself";
mes "in ice to anyone else, okay?";
- set ice_necklace_q,5;
+ ice_necklace_q = 5;
changequest 2112,2113;
delitem 7569,1; //Hammer_Of_Wind
delitem 7572,1; //Magic_Necklace
@@ -3295,7 +3295,7 @@ rachel,265,98,3 script Hamion#aru 4_M_RACHMAN2,{
mes "not one of those smithing tools.";
mes "I'd help you if I could, but...";
mes "I'm just smart, not strong.";
- set ice_necklace_q,3;
+ ice_necklace_q = 3;
changequest 2110,2111;
close;
}
@@ -3365,7 +3365,7 @@ rachel,265,98,3 script Hamion#aru 4_M_RACHMAN2,{
delitem 1354,1; //Hammer
delitem 996,5; //Rough_Wind
delitem 7433,1; //Scroll
- set ice_necklace_q,4;
+ ice_necklace_q = 4;
changequest 2111,2112;
getitem 7569,1; //Hammer_of_Wind
close;
@@ -3441,7 +3441,7 @@ rachel,113,96,5 script Mohadian 4_M_MIDDLE,10,10,{
mes "by hunting the snow monsters";
mes "in the Ice Cave. Remember, I'll";
mes "pay you 375 zeny for each one!";
- set ice_necklace_q,7;
+ ice_necklace_q = 7;
close;
}
else if (ice_necklace_q == 7) {
@@ -3468,8 +3468,8 @@ rachel,113,96,5 script Mohadian 4_M_MIDDLE,10,10,{
mes "Wine. Anyway, let me see";
mes "how many you've brought me.";
next;
- set .@hearts,countitem(7561);
- set .@totalprice,375*.@hearts;
+ .@hearts = countitem(7561);
+ .@totalprice = 375*.@hearts;
mes "[Mohadian]";
mes .@hearts +" Glacial Hearts";
mes "at 375 zeny each...";
@@ -3509,7 +3509,7 @@ ice_dun03,126,126,3 script Blazing Fire#ice1 4_NFWISP,{
mes "flickers before extinguising.^000000";
delitem 7574,1; //Freezing Snow Powder
hideonnpc "Blazing Fire#ice1";
- set $@ktullanux_summon,$@ktullanux_summon+1;
+ ++$@ktullanux_summon;
if ($@ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart";
}
else if (countitem(7562) > 0) {
@@ -3520,7 +3520,7 @@ ice_dun03,126,126,3 script Blazing Fire#ice1 4_NFWISP,{
mes "extinguising.^000000";
delitem 7562,1; //Ice Scale
hideonnpc "Blazing Fire#ice1";
- set $@ktullanux_summon,$@ktullanux_summon+1;
+ ++$@ktullanux_summon;
if ($@ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart";
close;
}
@@ -3546,7 +3546,7 @@ ice_dun03,172,126,0 script Blazing Fire#ice2 4_NFWISP,{
mes "flickers before extinguising.^000000";
delitem 7574,1; //Freezing Snow Powder
hideonnpc "Blazing Fire#ice2";
- set $@ktullanux_summon,$@ktullanux_summon+1;
+ ++$@ktullanux_summon;
if ($@ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart";
}
else if (countitem(7562) > 0) {
@@ -3557,7 +3557,7 @@ ice_dun03,172,126,0 script Blazing Fire#ice2 4_NFWISP,{
mes "extinguising.^000000";
delitem 7562,1; //Ice Scale
hideonnpc "Blazing Fire#ice2";
- set $@ktullanux_summon,$@ktullanux_summon+1;
+ ++$@ktullanux_summon;
if ($@ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart";
close;
}
@@ -3582,7 +3582,7 @@ ice_dun03,172,172,0 script Blazing Fire#ice3 4_NFWISP,{
mes "flickers before extinguising.^000000";
delitem 7574,1; //Freezing Snow Powder
hideonnpc "Blazing Fire#ice3";
- set $@ktullanux_summon,$@ktullanux_summon+1;
+ ++$@ktullanux_summon;
if ($@ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart";
}
else if (countitem(7562) > 0) {
@@ -3593,7 +3593,7 @@ ice_dun03,172,172,0 script Blazing Fire#ice3 4_NFWISP,{
mes "extinguising.^000000";
delitem 7562,1; //Ice Scale
hideonnpc "Blazing Fire#ice3";
- set $@ktullanux_summon,$@ktullanux_summon+1;
+ ++$@ktullanux_summon;
if ($@ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart";
close;
}
@@ -3618,7 +3618,7 @@ ice_dun03,127,172,0 script Blazing Fire#ice4 4_NFWISP,{
mes "flickers before extinguising.^000000";
delitem 7574,1; //Freezing Snow Powder
hideonnpc "Blazing Fire#ice4";
- set $@ktullanux_summon,$@ktullanux_summon+1;
+ ++$@ktullanux_summon;
if ($@ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart";
}
else if (countitem(7562) > 0) {
@@ -3629,7 +3629,7 @@ ice_dun03,127,172,0 script Blazing Fire#ice4 4_NFWISP,{
mes "extinguising.^000000";
delitem 7562,1; //Ice Scale
hideonnpc "Blazing Fire#ice4";
- set $@ktullanux_summon,$@ktullanux_summon+1;
+ ++$@ktullanux_summon;
if ($@ktullanux_summon == 4) donpcevent "ice_boss#broad::OnStart";
close;
}
@@ -3699,14 +3699,14 @@ OnMyMobDead:
OnTimer7200000:
stopnpctimer;
- set $@ktullanux_summon,0;
+ $@ktullanux_summon = 0;
hideoffnpc "Blazing Fire#ice1";
hideoffnpc "Blazing Fire#ice2";
hideoffnpc "Blazing Fire#ice3";
hideoffnpc "Blazing Fire#ice4";
end;
}
-
+
ice_dun03,1,175,3 script #ice_sec -1,{
OnStart:
initnpctimer;
@@ -4002,7 +4002,7 @@ ra_temple,116,174,3 script Nemma#ra_temple 4_F_TRAINEE,{
mes "this long, and I really need";
mes "to go inside. ^333333*Sob*^000000 P-Panno!";
mes "Panno, I neeeed heeeeelp~!";
- set ra_tem_q,1;
+ ra_tem_q = 1;
goto L_End;
}
else if ((ra_tem_q >= 1) && (ra_tem_q < 10)) {
@@ -4082,7 +4082,7 @@ ra_temple,116,174,3 script Nemma#ra_temple 4_F_TRAINEE,{
mes "a lot of Firecrackers,";
mes "like, ^FF000020 of them^000000! Thank";
mes "you thank you thank you!";
- set ra_tem_q,13;
+ ra_tem_q = 13;
goto L_End;
}
else if (ra_tem_q == 13) {
@@ -4099,7 +4099,7 @@ ra_temple,116,174,3 script Nemma#ra_temple 4_F_TRAINEE,{
cutin "ra_nemma04",2;
delitem 12018,20; //Fire_Cracker
getexp (checkre(3))?50000:200000,0;
- set ra_tem_q,14;
+ ra_tem_q = 14;
mes "[Priestess Nemma]";
mes "Yay!";
mes "Firecrackers!";
@@ -4192,10 +4192,10 @@ S_Donate:
mes "donate if you can, okay?";
return;
}
- set $rachel_donate,$rachel_donate+getarg(0);
+ $rachel_donate += getarg(0);
getitem 7570,getarg(0); //Temple_Lottery_Ticket
Zeny -= getarg(0)*50000;
- set ra_have_donated,1;
+ ra_have_donated = 1;
if ($rachel_donate > 9999) {
cutin "ra_nemma03",2;
mes "[Priestess Nemma]";
@@ -4208,7 +4208,7 @@ S_Donate:
return;
}
else {
- set .@Remaining,10000-$rachel_donate;
+ .@Remaining = 10000-$rachel_donate;
cutin "ra_nemma03",2;
mes "[Priestess Nemma]";
mes "Thank you so much! We'll be";
@@ -4370,7 +4370,7 @@ rachel,243,37,3 script Kid#Candy Addict 4_M_CHILD1,{
mes "[Kid]";
mes "Oooh, I hate you";
mes "now! Leave me alone!";
- set ra_tem_q,2;
+ ra_tem_q = 2;
close;
}
mes "[Kid]";
@@ -4454,7 +4454,7 @@ rachel,243,37,3 script Kid#Candy Addict 4_M_CHILD1,{
mes "If you're not,";
mes "then I'm gonna";
mes "be madder at you!";
- set ra_tem_q,2;
+ ra_tem_q = 2;
break;
}
}
@@ -4545,7 +4545,7 @@ OnTouch:
if (ra_tem_q == 2) {
mes "^3355FFIt's strangely";
mes "dark in here.^000000";
- set ra_tem_q,3;
+ ra_tem_q = 3;
close;
}
end;
@@ -4559,7 +4559,7 @@ OnTouch:
mes "towards the chapel. It";
mes "sounds like there are";
mes "several other people here.^000000";
- set ra_tem_q,4;
+ ra_tem_q = 4;
close;
}
end;
@@ -4570,7 +4570,7 @@ OnTouch:
if (ra_tem_q == 4) {
mes "^3355FFYou hear noises of some";
mes "commotion from the stairs.^000000";
- set ra_tem_q,5;
+ ra_tem_q = 5;
close;
}
end;
@@ -4587,7 +4587,7 @@ OnTouch:
mes "fall from the stairs,";
mes "followed by noises that";
mes "sound like a scuffle.^000000";
- set ra_tem_q,6;
+ ra_tem_q = 6;
close;
}
end;
@@ -4611,7 +4611,7 @@ OnTouch:
mes "^3355FFIt smells a little bit";
mes "like copper or iron. Blood";
mes "has probably been spilled here.^000000";
- set ra_tem_q,7;
+ ra_tem_q = 7;
close;
}
else {
@@ -4641,7 +4641,7 @@ OnTouch:
mes "than can be contained in just";
mes "one person. You'd better get";
mes "out of here before it's too late.^000000";
- set ra_tem_q,8;
+ ra_tem_q = 8;
close;
}
else {
@@ -4686,7 +4686,7 @@ OnTouch:
mes "Panno's voice! But isn't";
mes "she just outside the door?";
mes "What exactly was she saying?";
- set ra_tem_q,9;
+ ra_tem_q = 9;
close;
}
end;
@@ -4706,7 +4706,7 @@ que_rachel,169,18,0 script Quest Temple Exit#ra_tem WARPNPC,2,2,{
mes "with all of your might...";
if (ra_tem_q == 9) {
close2;
- set ra_tem_q,10;
+ ra_tem_q = 10;
warp "ra_temple",119,175;
end;
}
@@ -4724,7 +4724,7 @@ que_rachel,169,18,0 script Quest Temple Exit#ra_tem WARPNPC,2,2,{
mes "^3355FFYou angrily kick the gate...";
if (ra_tem_q == 9) {
close2;
- set ra_tem_q,10;
+ ra_tem_q = 10;
warp "ra_temple",119,175;
end;
}
@@ -4746,7 +4746,7 @@ que_rachel,169,18,0 script Quest Temple Exit#ra_tem WARPNPC,2,2,{
}
ra_temin,277,159,3 script High Priest Zhed#rachel 4_M_RACHOLD1,{
- if ((ra_tem_q > 14) || (MISC_QUEST&8192)) set lost_boy,14;
+ if ((ra_tem_q > 14) || (MISC_QUEST&8192)) lost_boy = 14;
if (checkweight(908,200) == 0) {
mes "^3355FFWait a second!";
mes "Right now, you're carrying";
@@ -4838,7 +4838,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 4_M_RACHOLD1,{
mes "be with you, "+strcharinfo(0)+".";
close2;
cutin "",255;
- set lost_boy,13;
+ lost_boy = 13;
completequest 8099;
specialeffect2 EF_ABSORBSPIRITS;
getexp (checkre(3))?90000:900000,0;
@@ -5005,8 +5005,8 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 4_M_RACHOLD1,{
mes "Priest's recommendation.^000000";
close2;
cutin "",255;
- set ra_tem_q,15;
- set lost_boy,14;
+ ra_tem_q = 15;
+ lost_boy = 14;
setquest 8100;
end;
}
@@ -5090,7 +5090,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 4_M_RACHOLD1,{
close2;
cutin "",255;
select("Okay.");
- set ra_tem_q,18;
+ ra_tem_q = 18;
warp "ra_temin",297,156;
end;
}
@@ -5161,7 +5161,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 4_M_RACHOLD1,{
mes "just go there. Who'll stop you?^000000";
close2;
cutin "",255;
- set ra_tem_q,20;
+ ra_tem_q = 20;
changequest 8103,8104;
end;
}
@@ -5261,8 +5261,8 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 4_M_RACHOLD1,{
mes "I need to go lay down now,";
mes "so if you'll let me rest...";
close2;
- set MISC_QUEST,MISC_QUEST | 8192;
- set ra_tem_q,0;
+ MISC_QUEST |= 8192;
+ ra_tem_q = 0;
cutin "",255;
completequest 8105;
specialeffect2 EF_ABSORBSPIRITS;
@@ -5336,7 +5336,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 4_M_RACHOLD1,{
mes "Why don't you speak to Niren?";
mes "I'm sure that she can tell you";
mes "more about what happened.";
- set aru_monas,12;
+ aru_monas = 12;
changequest 17007,17008;
next;
mes "[High Priest Zhed]";
@@ -5576,7 +5576,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 4_M_RACHOLD1,{
mes "of a really good way";
mes "for you to infiltrate";
mes "that place. Hmmmm...";
- set aru_vol,1;
+ aru_vol = 1;
setquest 2114;
close2;
cutin "",255;
@@ -5749,7 +5749,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 4_M_RACHOLD1,{
mes "best chance of entering the Thor";
mes "Volcano camp without suspicion.";
delitem 7342,1; //File01
- set aru_vol,6;
+ aru_vol = 6;
changequest 2115,2116;
}
else {
@@ -5824,7 +5824,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 4_M_RACHOLD1,{
mes "I will be contacting you again.";
mes "Together, we can protect";
mes "peace between our nations.";
- set aru_vol,27;
+ aru_vol = 27;
completequest 60213;
getexp (checkre(3))?20000:200000,0;
close2;
@@ -6079,7 +6079,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 4_M_RACHOLD1,{
mes "she is away somewhere";
mes "on business. She is highly";
mes "loved by the people, you know.";
- set aru_em,9;
+ aru_em = 9;
}
else if ((aru_em == 9) || (aru_em == 10)) {
mes "[High Priest Zhed]";
@@ -6126,7 +6126,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 4_M_RACHOLD1,{
mes "I'm going to write";
mes "a letter that I want";
mes "you to give to Niren.";
- set aru_em,12;
+ aru_em = 12;
}
else if(aru_em == 12) {
cutin "ra_gman",2;
@@ -6139,7 +6139,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 4_M_RACHOLD1,{
next;
mes "^3355FFYou received a letter for";
mes "Niren from High Priest Zhed.^000000";
- set aru_em,13;
+ aru_em = 13;
}
else if((aru_em == 13) || (aru_em == 14)) {
mes "[High Priest Zhed]";
@@ -6188,7 +6188,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 4_M_RACHOLD1,{
mes "Let's receive an";
mes "audience with the";
mes "pope, shall we?";
- set aru_em,21;
+ aru_em = 21;
}
else if(aru_em == 21) {
mes "[High Priest Zhed]";
@@ -6265,7 +6265,7 @@ ra_temin,277,159,3 script High Priest Zhed#rachel 4_M_RACHOLD1,{
mes "thank you for your heroism.";
mes "Your place in Valhalla is";
mes "already assured, I'm sure.";
- set aru_em,24;
+ aru_em = 24;
getexp (checkre(3))?150000:1500000,0;
}
else {
@@ -6514,7 +6514,7 @@ ra_temin,170,46,3 script Panno#rachel 4_F_TRAINEE,{
next;
mes "[Priestess Panno]";
mes ".........";
- set ra_tem_q,11;
+ ra_tem_q = 11;
goto L_End;
}
}
@@ -6649,7 +6649,7 @@ ra_temin,170,46,3 script Panno#rachel 4_F_TRAINEE,{
mes "sure we'll end up dead.";
mes "Excuse me now, I need";
mes "to get back to work.";
- set ra_tem_q,12;
+ ra_tem_q = 12;
goto L_End;
}
cutin "ra_fano02",2;
@@ -6690,9 +6690,9 @@ L_Lottery:
mes "gratitude. May Freya smile";
mes "upon you for your generosity...";
delitem 7570,1;
- set .@bonus_donate,rand(100);
+ .@bonus_donate = rand(100);
if (.@bonus_donate == 99) {
- set .@bonus_donate2,rand(100);
+ .@bonus_donate2 = rand(100);
if (.@bonus_donate2 > 0 && .@bonus_donate2 < 11) getitem 616,1; //Old Card Album 0.1%
else if (.@bonus_donate2 > 10 && .@bonus_donate2 < 31) getitem 617,1; //Old Violet Box 0.2%
else if (.@bonus_donate2 > 30 && .@bonus_donate2 < 61) getitem 603,1; //Old Blue Box 0.3%
@@ -6750,7 +6750,7 @@ ra_temin,134,128,3 script Pope's Office Guard#rac::raofficeguard 4_M_MASK1,{
mes "enter and see the pope";
mes "Welcome, brave "+strcharinfo(0)+".";
close2;
- set ra_tem_q,16;
+ ra_tem_q = 16;
delitem 7561,40; //Ice_Heart
end;
}
@@ -6955,7 +6955,7 @@ ra_temsky,99,99,5 script Pope#rachel 4_F_ARUNA_POP,{
mes "This is goodbye for now...";
close2;
cutin "",255;
- set ra_tem_q,17;
+ ra_tem_q = 17;
changequest 8100,8101;
end;
}
@@ -7013,7 +7013,7 @@ ra_temsky,99,99,5 script Pope#rachel 4_F_ARUNA_POP,{
mes "like that. ^666666*Sigh*^000000 I'm feeling";
mes "pretty exhausted. I better...";
mes "I better get some rest...";
- set aru_em,16;
+ aru_em = 16;
close2;
cutin "",255;
end;
@@ -7236,7 +7236,7 @@ OnTouch:
mes "What could she possibly mean?";
mes "For now, you may as well";
mes "talk to High Priest Zhed.^000000";
- set ra_tem_q,19;
+ ra_tem_q = 19;
changequest 8102,8103;
close;
}
@@ -7262,7 +7262,7 @@ OnTouch:
mes "identify it as a small key.";
mes "Perhaps you can use it to";
mes "open some kind of lock.";
- set ra_tem_q,21;
+ ra_tem_q = 21;
close;
}
end;
@@ -7386,7 +7386,7 @@ OnTouch:
close2;
cutin "",255;
hideonnpc "High Priestess Niren#r2";
- set ra_tem_q,22;
+ ra_tem_q = 22;
changequest 8104,8105;
warp "rachel",163,152;
end;
@@ -7424,7 +7424,7 @@ OnTouch:
mes "^3355FFIt would be best to";
mes "ask High Priest Zhed";
mes "about what had happened.^000000";
- set ra_tem_q,23;
+ ra_tem_q = 23;
close;
}
end;
diff --git a/npc/quests/quests_umbala.txt b/npc/quests/quests_umbala.txt
index 0c0f57b99..0ce3aba39 100644
--- a/npc/quests/quests_umbala.txt
+++ b/npc/quests/quests_umbala.txt
@@ -106,7 +106,7 @@ um_in,39,122,5 script Utan Chief 4_M_UMCHIEF,{
mes "local people. When you think";
mes "you understand enough about Utan";
mes "culture, come back to me and show me what you have learned.";
- set event_umbala,1;
+ event_umbala = 1;
close;
}
else if (event_umbala == 1) {
@@ -167,7 +167,7 @@ um_in,39,122,5 script Utan Chief 4_M_UMCHIEF,{
mes "^3377FF1 Feather of Birds^000000.";
mes "Please bring me those, and I will";
mes "teach you when you're ready.";
- set event_umbala,2;
+ event_umbala = 2;
close;
}
else {
@@ -264,7 +264,7 @@ um_in,39,122,5 script Utan Chief 4_M_UMCHIEF,{
delitem 7111,5; //Smooth_Paper
delitem 1024,1; //Chinese_Ink
delitem 916,1; //Feather_Of_Birds
- set event_umbala,3;
+ event_umbala = 3;
next;
mes "[Karkatan]";
mes "Okay, if you have any business";
@@ -311,7 +311,7 @@ um_in,39,122,5 script Utan Chief 4_M_UMCHIEF,{
mes "present is considered an";
mes "honor. Maybe Puchuchartan";
mes "wants you to show us your respect by doing so.";
- set event_umbala,5;
+ event_umbala = 5;
close;
}
else if (event_umbala == 5) {
@@ -330,7 +330,7 @@ um_in,39,122,5 script Utan Chief 4_M_UMCHIEF,{
mes "am not sure what help she can give";
mes "you, I hope we will be able to return this favor.";
delitem 2278,1; //Mr_Smile
- set event_umbala,6;
+ event_umbala = 6;
close;
}
else {
@@ -423,7 +423,7 @@ um_in,44,71,2 script Utan Shaman 4_F_UMOLDWOMAN,{
mes "outsiders talking to the tribe";
mes "more than they have to...";
mes "We want to live a peaceful life, so do not disturb us.";
- set event_umbala,4;
+ event_umbala = 4;
close;
case 4:
case 5:
@@ -456,7 +456,7 @@ um_in,44,71,2 script Utan Shaman 4_F_UMOLDWOMAN,{
mes "So come and speak to me when";
mes "you think my power may be";
mes "of service to you.";
- set event_umbala,7;
+ event_umbala = 7;
close;
case 7:
mes "[Puchuchartan]";
@@ -512,24 +512,24 @@ um_in,44,71,2 script Utan Shaman 4_F_UMOLDWOMAN,{
next;
switch (select("Earth:Water:Fire:Wind")) {
case 1:
- set .@consume,947; //Horn
- set .@amount,15;
- set .@success,993; //Yellow_Live
+ .@consume = 947; //Horn
+ .@amount = 15;
+ .@success = 993; //Yellow_Live
break;
case 2:
- set .@consume,946; //Snail's_Shell
- set .@amount,20;
- set .@success,991; //Crystal_Blue
+ .@consume = 946; //Snail's_Shell
+ .@amount = 20;
+ .@success = 991; //Crystal_Blue
break;
case 3:
- set .@consume,904; //Scorpion's_Tail
- set .@amount,20;
- set .@success,990; //Boody_Red
+ .@consume = 904; //Scorpion's_Tail
+ .@amount = 20;
+ .@success = 990; //Boody_Red
break;
case 4:
- set .@consume,1013; //Colorful_Shell
- set .@amount,25;
- set .@success,992; //Wind_Of_Verdure
+ .@consume = 1013; //Colorful_Shell
+ .@amount = 25;
+ .@success = 992; //Wind_Of_Verdure
break;
}
if (countitem(.@consume) >= .@amount) {
@@ -676,16 +676,16 @@ um_in,44,71,2 script Utan Shaman 4_F_UMOLDWOMAN,{
next;
switch(select("Earth:Water:Fire:Wind")) {
case 1:
- set .@divide,997; //Great_Nature
+ .@divide = 997; //Great_Nature
break;
case 2:
- set .@divide,995; //Mistic_Frozen
+ .@divide = 995; //Mistic_Frozen
break;
case 3:
- set .@divide,994; //Flame_Heart
+ .@divide = 994; //Flame_Heart
break;
case 4:
- set .@divide,996; //Rough_Wind
+ .@divide = 996; //Rough_Wind
break;
}
mes "[Puchuchartan]";
@@ -756,8 +756,8 @@ um_in,44,71,2 script Utan Shaman 4_F_UMOLDWOMAN,{
break;
}
else {
- set .@shaman_max,.@shaman_max + rand(6,10);
- set .@sha_man,.@sha_man + 1;
+ .@shaman_max += rand(6,10);
+ ++.@sha_man;
}
}
switch(.@divide) {
@@ -850,13 +850,13 @@ umbala,221,193,1 script #Skulldoor HIDDEN_NPC,{
next;
break;
case 2:
- set .@insert,717;
+ .@insert = 717;
break;
case 3:
- set .@insert,715;
+ .@insert = 715;
break;
case 4:
- set .@insert,716;
+ .@insert = 716;
break;
}
if (.@insert) {
@@ -866,11 +866,11 @@ umbala,221,193,1 script #Skulldoor HIDDEN_NPC,{
next;
mes "^3355FFThe gemstone rolled back out of";
mes "the mouth of the skull.^000000";
- set .@skulldoor,.@skulldoor+1;
+ ++.@skulldoor;
switch (.@insert) {
- case 715: set .@skull,2; break;
- case 716: set .@skull,3; break;
- case 717: set .@skull,1; break;
+ case 715: .@skull = 2; break;
+ case 716: .@skull = 3; break;
+ case 717: .@skull = 1; break;
}
delitem .@insert,1;
getitem .@insert,1;
@@ -892,13 +892,13 @@ umbala,221,193,1 script #Skulldoor HIDDEN_NPC,{
next;
break;
case 2:
- set .@insert2,717;
+ .@insert2 = 717;
break;
case 3:
- set .@insert2,715;
+ .@insert2 = 715;
break;
case 4:
- set .@insert2,716;
+ .@insert2 = 716;
break;
}
if (.@insert2) {
@@ -909,10 +909,10 @@ umbala,221,193,1 script #Skulldoor HIDDEN_NPC,{
mes "^3355FFThe gemstone rolled back out of";
mes "the mouth of the skull.^000000";
if (.@insert2 == .@insert) {
- set .@skulldoor,.@skulldoor+1;
+ .@skulldoor += 1;
}
else {
- set .@skulldoor,.@skulldoor+2;
+ .@skulldoor += 2;
}
delitem .@insert2,1;
getitem .@insert2,1;
@@ -937,17 +937,17 @@ umbala,221,193,1 script #Skulldoor HIDDEN_NPC,{
switch(.@skulldoor) {
case 3:
if (rand(1,4) != 1) {
- set .@skullopen,1;
+ .@skullopen = 1;
}
break;
case 2:
if (rand(1,2) == 2) {
- set .@skullopen,1;
+ .@skullopen = 1;
}
break;
case 1:
if (rand(1,4) == 1) {
- set .@skullopen,1;
+ .@skullopen = 1;
}
break;
default:
@@ -1001,7 +1001,7 @@ um_in,139,48,5 script Phrenetan 4_F_UMWOMAN,{
close;
}
if (um_wind <= 3 && (MISC_QUEST & 32768) == 0) {
- if (um_wind) set um_wind,1;
+ if (um_wind) um_wind = 1;
emotion e_an;
mes "[Phrenetan]";
mes "Umbaumbah wooga wooga";
@@ -1127,7 +1127,7 @@ um_in,101,73,3 script Wainatan 4_F_UMWOMAN,{
}
if (um_wind == 1) {
if (gettime(3) > 18) {
- set um_wind,2;
+ um_wind = 2;
emotion e_an;
mes "[Wainatan]";
mes "Umbaumbah umgagaga.";
@@ -1171,7 +1171,7 @@ um_in,94,123,5 script Bertztan 4_F_UMWOMAN,{
}
if (um_wind == 2) {
if (gettime(3) > 18) {
- set um_wind,3;
+ um_wind = 3;
emotion e_an;
mes "[Bertztan]";
mes "Umbaumbah umgagaga.";
@@ -1223,7 +1223,7 @@ umbala,145,217,3 script Chabimatan 4_F_UMWOMAN,{
}
if (um_wind == 3) {
if (gettime(3) > 18) {
- set um_wind,4;
+ um_wind = 4;
emotion e_an;
mes "[Chabimatan]";
mes "Umbabah umbarbar woogawooga um";
@@ -1267,7 +1267,7 @@ OnInit:
OnTouch:
if (um_wind == 4) {
- set um_wind,5;
+ um_wind = 5;
mes "^3355FFAs you enter the house";
mes "you happen to witness";
mes "Phrenetan beating a guy";
@@ -1303,14 +1303,14 @@ OnTouch:
next;
if (select("Take it.:Leave it.") == 1) {
close2;
- set um_wind,0;
- set MISC_QUEST,MISC_QUEST | 32768;
+ um_wind = 0;
+ MISC_QUEST |= 32768;
getitem 610,1; //Leaf_Of_Yggdrasil
disablenpc "#unpc";
end;
}
- set um_wind,0;
- set MISC_QUEST,MISC_QUEST | 32768;
+ um_wind = 0;
+ MISC_QUEST |= 32768;
mes "[" + strcharinfo(0) + "]";
mes "I am not supposed to take";
mes "what may belong to other people.";
diff --git a/npc/quests/quests_veins.txt b/npc/quests/quests_veins.txt
index cd57c9945..b4416da15 100644
--- a/npc/quests/quests_veins.txt
+++ b/npc/quests/quests_veins.txt
@@ -187,7 +187,7 @@
mes "in the Tool Shop, then";
mes "you might want to stop";
mes "by the Tavern. A-auuugh!";
- set veins_stone,1;
+ veins_stone = 1;
close;
}
}
@@ -262,7 +262,7 @@
mes "to the factory in town? It's";
mes "near the airport or airship or";
mes "something. It won't take long.";
- set veins_stone,5;
+ veins_stone = 5;
close;
}
else if (veins_stone > 4 && veins_stone < 7) {
@@ -290,7 +290,7 @@
mes "I was told that adventurers";
mes "find these useful. Anyway,";
mes "I hope you like these rocks...";
- set veins_stone,8;
+ veins_stone = 8;
getexp (checkre(3))?30000:300000,0;
getitem 985,3; //Elunium
close;
@@ -399,7 +399,7 @@ ve_in,169,310,6 script Strange Old Man#ve 2_M_MOLGENSTEIN,{
mes "come back soon, then";
mes "I won't help you. I've got";
mes "projects I'm working on!";
- set veins_stone,2;
+ veins_stone = 2;
close;
}
else if (veins_stone == 2) {
@@ -419,7 +419,7 @@ ve_in,169,310,6 script Strange Old Man#ve 2_M_MOLGENSTEIN,{
delitem 999,5; //Steel
delitem 1033,5; //Root_Of_Maneater
delitem 7561,2; //Ice_Heart
- set veins_stone,3;
+ veins_stone = 3;
close2;
specialeffect EF_FIRESPLASHHIT;
end;
@@ -456,7 +456,7 @@ ve_in,169,310,6 script Strange Old Man#ve 2_M_MOLGENSTEIN,{
mes "that he doesn't owe me";
mes "anything anymore. He'll...";
mes "He'll know what I mean...";
- set veins_stone,4;
+ veins_stone = 4;
close;
}
mes "[Absar]";
@@ -513,7 +513,7 @@ ve_in02,37,28,4 script Factory Manager 4_M_HUMAN_01,{
mes "Bring those rocks over";
mes "to Bahed over there.";
mes "He'll take care of them.";
- set veins_stone,6;
+ veins_stone = 6;
close;
}
mes "[Mirhen]";
@@ -622,7 +622,7 @@ ve_in02,54,49,2 script Factory Worker#ve1 4_M_DESERT,{
mes "to those hearts. That's";
mes "all I know. Anyway, please";
mes "leave the stones over there~";
- set veins_stone,7;
+ veins_stone = 7;
close;
}
mes "[Bahed]";
@@ -690,7 +690,7 @@ prontera,202,122,0 script Kid#sch 4_F_KID2,{
mes "looks like a Bard, but I'm";
mes "not having any luck. If you";
mes "find him, would you tell me?";
- set que_sch,1;
+ que_sch = 1;
close;
}
else if (que_sch == 1) {
@@ -723,7 +723,7 @@ prontera,202,122,0 script Kid#sch 4_F_KID2,{
mes "Hey, alright! Thanks";
mes "for the cash! Heh heh~";
Zeny -= 100;
- set que_sch,3;
+ que_sch = 3;
close;
}
mes "[Rooney]";
@@ -817,7 +817,7 @@ prt_church,89,108,6 script Bard#sch 2_M_BARD_ORIENT,{
mes "this money to that";
mes "kid that was supposed";
mes "to come find me here.";
- set que_sch,2;
+ que_sch = 2;
Zeny += 100;
next;
mes "[Lasda]";
@@ -865,7 +865,7 @@ prt_church,89,108,6 script Bard#sch 2_M_BARD_ORIENT,{
mes "my friend in a prison in";
mes "^FF0000Morroc^000000, and see what";
mes "you can do to help him..";
- set que_sch,4;
+ que_sch = 4;
close;
}
mes "[Lasda]";
@@ -905,7 +905,7 @@ prt_church,89,108,6 script Bard#sch 2_M_BARD_ORIENT,{
mes "you a letter or recommendation.";
mes "Hopefully, it'll be enough to";
mes "let you enter the prison.";
- set que_sch,9;
+ que_sch = 9;
close;
}
else if (que_sch == 9) {
@@ -973,7 +973,7 @@ prt_church,89,108,6 script Bard#sch 2_M_BARD_ORIENT,{
mes "couldn't have done it without";
mes "your help. Please take this";
mes "reward with our sincere thanks.";
- set que_sch,26;
+ que_sch = 26;
getitem 12106,1; //Accessory_Box
getexp (checkre(3))?60000:600000,0;
close;
@@ -1008,7 +1008,7 @@ morocc,53,87,7 script Prison Ward#sch 4_M_MOC_SOLDIER,{
mes "see anyone since he was";
mes "arrested on suspicion";
mes "of espionage.";
- set que_sch,5;
+ que_sch = 5;
close;
}
else if (que_sch == 5) {
@@ -1025,7 +1025,7 @@ morocc,53,87,7 script Prison Ward#sch 4_M_MOC_SOLDIER,{
mes "actually let you meet the";
mes "prisoner is another matter.";
mes "So do we have a deal?";
- set que_sch,6;
+ que_sch = 6;
close;
}
else if (que_sch == 6) {
@@ -1038,7 +1038,7 @@ morocc,53,87,7 script Prison Ward#sch 4_M_MOC_SOLDIER,{
mes "Morroc Castle. Get his";
mes "approval, and I'll let you in.";
delitem 12066,1; //Luk_Dish01
- set que_sch,7;
+ que_sch = 7;
close;
}
mes "[Jesse]";
@@ -1142,7 +1142,7 @@ morocc_in,79,163,0 script Public Security Officer 4_M_ALCHE_A,{
mes "reconsider letting you";
mes "meet Vitre. Otherwise,";
mes "I just can't do it.";
- set que_sch,8;
+ que_sch = 8;
close;
}
else if (que_sch == 8) {
@@ -1172,7 +1172,7 @@ morocc_in,79,163,0 script Public Security Officer 4_M_ALCHE_A,{
mes "Vitre. I'll send a message";
mes "to the prison ward so that";
mes "he'll let you talk to him.";
- set que_sch,10;
+ que_sch = 10;
close;
}
else if (que_sch < 26) {
@@ -1271,7 +1271,7 @@ ra_in01,50,387,4 script Upset Looking Bard#sch 1_M_BARD,{
mes "I wonder how the lady";
mes "in the Dancer Job Change";
mes "place is doing by now...";
- set que_sch,11;
+ que_sch = 11;
close;
}
}
@@ -1343,7 +1343,7 @@ ra_in01,50,387,4 script Upset Looking Bard#sch 1_M_BARD,{
next;
delitem 1901,1; //Violin
delitem 7040,1; //Megaphone
- set que_sch,19;
+ que_sch = 19;
close2;
disablenpc "Jesse#sch";
warp "morocc",294,153;
@@ -1535,7 +1535,7 @@ job_duncer,93,106,6 script Dance Instructor#sch 4_F_HUGRANMA,{
mes "so bring them over to the";
mes "Schwaltzvalt Republic as";
mes "soon as you're ready.";
- set que_sch,12;
+ que_sch = 12;
close;
}
mes "[Hianna]";
@@ -1582,7 +1582,7 @@ job_duncer,93,106,6 script Dance Instructor#sch 4_F_HUGRANMA,{
mes "for everything, and I'll see";
mes "you around, adventurer~";
Zeny -= 500000;
- set que_sch,18;
+ que_sch = 18;
getitem 7040,1; //Megaphone
close;
}
@@ -1670,7 +1670,7 @@ job_duncer,85,49,0 script Young Dancer#sch1 4_F_07,{
mes "[Dancer]";
mes "Alright, then.";
mes "Here we go~";
- set que_sch,13;
+ que_sch = 13;
close2;
warp "airplane",75,55;
end;
@@ -1708,7 +1708,7 @@ job_duncer,83,52,6 script Cheerful Dancer#sch1 4_F_07,{
mes "[Dancer]";
mes "Alright, then.";
mes "Here we go~";
- set que_sch,13;
+ que_sch = 13;
close2;
warp "airplane",75,55;
end;
@@ -1745,7 +1745,7 @@ job_duncer,87,50,2 script Mature Looking Dancer#s1 4_F_07,{
mes "[Dancer]";
mes "Alright, then.";
mes "Here we go~";
- set que_sch,13;
+ que_sch = 13;
close2;
warp "airplane",75,55;
end;
@@ -1841,7 +1841,7 @@ airplane,79,55,2 script Mature Looking Dancer#s2 4_F_07,{
mes "Alright, I'll give this next";
mes "performance my all!";
close2;
- set que_sch,14;
+ que_sch = 14;
warp "ein_in01",278,223;
end;
}
@@ -1960,7 +1960,7 @@ ein_in01,279,221,0 script Hotel Manager#sch 4_M_KHKYEL,5,5,{
mes "have one of my employees";
mes "send you your payment";
mes "Have a safe trip back~";
- set que_sch,17;
+ que_sch = 17;
close;
}
end;
@@ -1974,7 +1974,7 @@ OnTouch:
mes "safely. The dinner party";
mes "will start shortly, so";
mes "please get ready~";
- set que_sch,15;
+ que_sch = 15;
close;
}
end;
@@ -2089,7 +2089,7 @@ OnTouch:
mes "Please follow me,";
mes "I already have";
mes "a place prepared.";
- set que_sch,16;
+ que_sch = 16;
close2;
disablenpc "Corporate Figure";
disablenpc "Arunafeltz Figure";
@@ -2189,7 +2189,7 @@ morocc,297,154,0 script Thin-Faced Bard#sch 1_M_BARD,{
mes "songs when you come back.";
mes "Thanks, you have no idea how";
mes "much I appreciate your help.";
- set que_sch,20;
+ que_sch = 20;
close;
}
else if (que_sch == 20) {
@@ -2232,7 +2232,7 @@ morocc,297,154,0 script Thin-Faced Bard#sch 1_M_BARD,{
mes "Perfect~ Here's a little";
mes "something to show my";
mes "gratitude. Hope you like it.";
- set que_sch,24;
+ que_sch = 24;
getitem 603,1; //Old_Blue_Box
next;
mes "[Vitre]";
@@ -2298,7 +2298,7 @@ morocc,297,154,0 script Thin-Faced Bard#sch 1_M_BARD,{
mes "but I better dispose of";
mes "this trash with the rest of";
mes "his scum buddies... in jail!";
- set que_sch,25;
+ que_sch = 25;
close2;
disablenpc "????#sch1";
disablenpc "????#sch2";
@@ -2376,7 +2376,7 @@ morocc,297,154,0 script Thin-Faced Bard#sch 1_M_BARD,{
mes "but I better dispose of";
mes "this trash with the rest of";
mes "his scum buddies... in jail!";
- set que_sch,25;
+ que_sch = 25;
close2;
disablenpc "????#sch1";
disablenpc "????#sch2";
@@ -2453,7 +2453,7 @@ prontera,109,161,6 script Young Man#sch 4_M_01,{
mes "such a wonderful song?";
mes "Let Vitre know each and";
mes "every word to it, okay?";
- set que_sch,21;
+ que_sch = 21;
close;
}
else if (que_sch < 30) {
@@ -2520,7 +2520,7 @@ geffen,196,167,4 script Young Woman#sch 4W_F_01,{
mes "Wasn't that poetic?";
mes "Now sing that song exactly";
mes "as you heard it to Vitre.";
- set que_sch,22;
+ que_sch = 22;
close;
}
else if (que_sch < 30) {
@@ -2604,7 +2604,7 @@ comodo,135,299,0 script Young Man#sch2 1_M_SIGNMONK,{
mes "artistic quirk I guess.";
mes "Oh, please sing that song";
mes "to Vitre for me, okay?";
- set que_sch,23;
+ que_sch = 23;
close;
}
else if (que_sch < 30) {
@@ -2655,7 +2655,7 @@ sec_in02,10,43,4 script Extra Story Patch 1_M_SIGNMONK,{
next;
if(select("Now:How many?") == 2) {
input .@input,0,1000;
- set que_sch, .@input;
+ que_sch = .@input;
}
mes " ";
mes ""+que_sch;
@@ -2801,7 +2801,7 @@ veins,327,185,3 script Kid#camelcamel 4_M_DST_CHILD,{
mes "Volcano to find your";
mes "little sister Curdie.";
setquest 3060;
- set rachel_camel,1;
+ rachel_camel = 1;
close;
}
}
@@ -2841,7 +2841,7 @@ veins,327,185,3 script Kid#camelcamel 4_M_DST_CHILD,{
mes "street! You can ask him";
mes "to help free Curdie!";
changequest 3061,3062;
- set rachel_camel,3;
+ rachel_camel = 3;
close;
}
else if (rachel_camel == 3) {
@@ -3056,7 +3056,7 @@ veins,327,185,3 script Kid#camelcamel 4_M_DST_CHILD,{
mes "It's a promise, then.";
mes "I'll see you later~";
completequest 3083;
- set rachel_camel,25;
+ rachel_camel = 25;
specialeffect2 EF_ABSORBSPIRITS;
if (checkre(3))
getexp 100000,50000;
@@ -3144,7 +3144,7 @@ veins,327,185,3 script Kid#camelcamel 4_M_DST_CHILD,{
mes "Heh heh! Thanks!";
mes "I'm happy that";
mes "I can help you too!";
- set aru_monas,16;
+ aru_monas = 16;
changequest 17011,17012;
close;
}
@@ -3257,7 +3257,7 @@ que_thor,36,66,5 script Little Curdie 4_F_DST_CHILD,{
mes "to unlock your shackles.";
mes "I'll be back as soon as I can!";
changequest 3060,3061;
- set rachel_camel,2;
+ rachel_camel = 2;
close;
}
else if (rachel_camel == 2) {
@@ -3440,7 +3440,7 @@ que_thor,36,66,5 script Little Curdie 4_F_DST_CHILD,{
mes "the mold back to town";
mes "to Mr. Lockenlock.^000000";
changequest 3079,3080;
- set rachel_camel,21;
+ rachel_camel = 21;
close;
}
else if (rachel_camel == 21) {
@@ -3505,7 +3505,7 @@ que_thor,36,66,5 script Little Curdie 4_F_DST_CHILD,{
mes "dangerous... Something";
mes "related to the Rachel Army...";
changequest 3082,3083;
- set rachel_camel,24;
+ rachel_camel = 24;
close;
}
else {
@@ -3656,7 +3656,7 @@ veins,181,166,3 script Lockenlock 4_M_HUMERCHANT,{
mes "...........";
delitem 503,1; //Yellow_Potion
changequest 3063,3064;
- set rachel_camel,5;
+ rachel_camel = 5;
close;
}
else {
@@ -3839,7 +3839,7 @@ veins,181,166,3 script Lockenlock 4_M_HUMERCHANT,{
mes "["+strcharinfo(0)+"]";
mes "Alright.";
changequest 3078,3079;
- set rachel_camel,20;
+ rachel_camel = 20;
close;
}
else if (rachel_camel == 20) {
@@ -3886,7 +3886,7 @@ veins,181,166,3 script Lockenlock 4_M_HUMERCHANT,{
mes "as soon as you can bring";
mes "me the Steel. I'll be waiting.";
changequest 3080,3081;
- set rachel_camel,22;
+ rachel_camel = 22;
close;
}
else if (rachel_camel == 22) {
@@ -3980,7 +3980,7 @@ veins,181,166,3 script Lockenlock 4_M_HUMERCHANT,{
mes "bring that child back";
mes "safe to her family!";
changequest 3081,3082;
- set rachel_camel,23;
+ rachel_camel = 23;
close;
}
else {
@@ -4160,7 +4160,7 @@ veins,227,127,5 script Ivory 4_F_DESERT,{
mes "Then we can move";
mes "on to the hard part.";
changequest 3064,3065;
- set rachel_camel,6;
+ rachel_camel = 6;
close;
}
else if (rachel_camel == 6) {
@@ -4206,7 +4206,7 @@ veins,227,127,5 script Ivory 4_F_DESERT,{
mes "him if I really need you";
mes "to make the soap...";
changequest 3065,3066;
- set rachel_camel,7;
+ rachel_camel = 7;
close;
}
else {
@@ -4367,7 +4367,7 @@ veins,227,127,5 script Ivory 4_F_DESERT,{
mes "you should bring it";
mes "to Mr. Lockenlock.^000000";
changequest 3077,3078;
- set rachel_camel,19;
+ rachel_camel = 19;
close;
}
else if (rachel_camel == 19) {
@@ -4513,7 +4513,7 @@ veins,115,59,5 script Saraman 4_M_EINOLD,{
mes "^4D4DFF1 Empty Bottle^000000, and";
mes "^4D4DFF1 Yellow Potion^000000.";
changequest 3066,3067;
- set rachel_camel,8;
+ rachel_camel = 8;
close;
}
else if (rachel_camel == 8) {
@@ -4558,7 +4558,7 @@ veins,115,59,5 script Saraman 4_M_EINOLD,{
delitem 619,1; //Unripe_Apple
delitem 713,1; //Empty_Bottle
changequest 3067,3068;
- set rachel_camel,9;
+ rachel_camel = 9;
close;
}
else {
@@ -4641,7 +4641,7 @@ veins,115,59,5 script Saraman 4_M_EINOLD,{
mes "here. Please find my camel";
mes "Soony as soon as you can!";
changequest 3069,3070;
- set rachel_camel,11;
+ rachel_camel = 11;
close;
}
else if (rachel_camel == 11) {
@@ -4712,7 +4712,7 @@ veins,115,59,5 script Saraman 4_M_EINOLD,{
mes "that soap you want made.";
changequest 3076,3077;
getitem 617,1; //Old_Violet_Box
- set rachel_camel,18;
+ rachel_camel = 18;
close;
}
else if (rachel_camel == 18) {
@@ -4750,7 +4750,7 @@ veins,78,226,5 script Camel#camelcc1::VeinsCamel 4_DST_CAMEL,{
mes "brusquely turned its";
mes "nose away from it.^000000";
changequest 3068,3069;
- set rachel_camel,10;
+ rachel_camel = 10;
close;
}
else if (rachel_camel == 10) {
@@ -4802,7 +4802,7 @@ ve_fild07,235,42,3 script Silk Sand Camel 4_DST_CAMEL,{
mes "do is collect some of";
mes "that precious camel dung.";
changequest 3070,3071;
- set rachel_camel,12;
+ rachel_camel = 12;
close;
}
else if (rachel_camel > 11 && rachel_camel < 17) {
@@ -4854,14 +4854,14 @@ ve_fild07,235,42,3 script Silk Sand Camel 4_DST_CAMEL,{
mes "Now all I need is";
mes "just 4 more lumps";
mes "of this nasty old dung.";
- set rachel_camel, 13;
+ rachel_camel = 13;
changequest 3071,3072;
}
else if (rachel_camel == 13) {
mes "Awesome! I got";
mes "2 glorious camel dung";
mes "lumps! Only 3 more to go!";
- set rachel_camel, 14;
+ rachel_camel = 14;
changequest 3072,3073;
}
else if (rachel_camel == 14) {
@@ -4869,7 +4869,7 @@ ve_fild07,235,42,3 script Silk Sand Camel 4_DST_CAMEL,{
mes "3 camel dung lumps.";
mes "Just 2 more... I'm more";
mes "than halfway done!";
- set rachel_camel, 15;
+ rachel_camel = 15;
changequest 3073,3074;
}
else if (rachel_camel == 15) {
@@ -4877,7 +4877,7 @@ ve_fild07,235,42,3 script Silk Sand Camel 4_DST_CAMEL,{
mes "Heh heh! This is going";
mes "better than I thought!";
mes "Only 1 more to go!";
- set rachel_camel, 16;
+ rachel_camel = 16;
changequest 3074,3075;
}
else if (rachel_camel == 16) {
@@ -4904,7 +4904,7 @@ ve_fild07,235,42,3 script Silk Sand Camel 4_DST_CAMEL,{
next;
mes "^3355FFIt's time for you to";
mes "return to Mr. Saraman.^000000";
- set rachel_camel, 17;
+ rachel_camel = 17;
changequest 3075,3076;
}
delitem 519,2; //Milk
@@ -5035,7 +5035,7 @@ veins,221,120,5 script Young Town Native 4_M_DESERT,{
mes "in the market street, and";
mes "bring him a Yellow Potion.^000000";
changequest 3062,3063;
- set rachel_camel,4;
+ rachel_camel = 4;
close;
}
else if (rachel_camel == 4) {
@@ -5164,7 +5164,7 @@ ra_temin,87,133,1 script Rachel Guard#vol1 4_M_RASWORD,5,2,{
mes "I've made my choice, and";
mes "I choose true love! I can't";
mes "keep Lamir waiting any longer!";
- set aru_vol,3;
+ aru_vol = 3;
donpcevent "vol_time::OnEnable";
close2;
disablenpc "Rachel Guard#vol1";
@@ -5250,7 +5250,7 @@ ra_temin,115,140,1 script Flower Vase#vol HIDDEN_NPC,{
disablenpc "Rachel Guard#vol2";
enablenpc "Rachel Guard#vol2_1";
donpcevent "vol_time2::OnEnable";
- set aru_vol,4;
+ aru_vol = 4;
disablenpc "Flower Vase#vol";
close;
}
@@ -5329,7 +5329,7 @@ ra_temin,40,124,3 script Female Follower#vol 4_F_TRAINEE,{
mes "office, but come on! Why can't";
mes "he bother another girl?";
if (aru_vol == 1) {
- set aru_vol,2;
+ aru_vol = 2;
}
close;
}
@@ -5475,7 +5475,7 @@ ra_temin,85,118,3 script Drawer#vol3 HIDDEN_NPC,{
mes "the cover, and then you";
mes "close the drawer.^000000";
changequest 2114,2115;
- set aru_vol,5;
+ aru_vol = 5;
getitem 7342,1; //File01
close;
}
@@ -5565,7 +5565,7 @@ OnTouch:
mes "I can guess who wrote it. ";
mes "Speaking of which...";
mes "Where's the geologist?";
- set aru_vol,7;
+ aru_vol = 7;
close;
}
else if (aru_vol < 6) {
@@ -5835,7 +5835,7 @@ ve_in,233,116,3 script Drunken Man#vol 4_M_HUOLDARMY,{
mes "all turn out in your favor.";
mes "You know that feeling, right?^000000";
changequest 2116,2117;
- set aru_vol,8;
+ aru_vol = 8;
getitem 7705,1; //Note_Of_Geologist
close;
}
@@ -5958,7 +5958,7 @@ ve_in,233,116,3 script Drunken Man#vol 4_M_HUOLDARMY,{
mes "I expected nothing less";
mes "from my star pupil!";
changequest 60211,60212;
- set aru_vol,25;
+ aru_vol = 25;
delitem 7342,1; //File01
delitem 7704,1; //Broken_Thermometer
delitem 7705,1; //Note_Of_Geologist
@@ -6086,8 +6086,8 @@ ve_in,281,214,3 script Bookshelf#vol HIDDEN_NPC,{
mes "Gio's purple box of goodies.^000000";
next;
changequest 60212,60213;
- set aru_vol,26;
- set .@box_box,rand(1,20);
+ aru_vol = 26;
+ .@box_box = rand(1,20);
if (.@box_box < 7) {
getitem 12104,1; //Random_Quiver
}
@@ -6130,7 +6130,7 @@ thor_v01,37,234,3 script Hot Land Surface#1 HIDDEN_NPC,{
mes "temperature in";
mes "your report.^000000";
changequest 2117,2118;
- set aru_vol,9;
+ aru_vol = 9;
next;
mes "["+strcharinfo(0)+"]";
mes "I should take a few more";
@@ -6168,7 +6168,7 @@ thor_v02,165,37,3 script Hot Land Surface#2 HIDDEN_NPC,{
mes "temperature in";
mes "your report.^000000";
changequest 2118,2119;
- set aru_vol,10;
+ aru_vol = 10;
close;
}
mes "^3355FFYou need both the";
@@ -6206,7 +6206,7 @@ thor_v02,170,100,3 script Hot Land Surface#3 HIDDEN_NPC,{
mes "submit this report to the";
mes "geological camp now~";
changequest 2119,2120;
- set aru_vol,11;
+ aru_vol = 11;
close;
}
mes "^3355FFYou need both the";
@@ -6253,7 +6253,7 @@ que_thor,145,66,3 script Guard#vol::VeinsGuard 4_DST_SOLDIER,{
mes "He's at the airship just";
mes "south of the train station.";
changequest 2120,2121;
- set aru_vol,12;
+ aru_vol = 12;
close2;
warp "thor_camp",248,190;
end;
@@ -6366,7 +6366,7 @@ thor_camp,250,104,3 script Sahedi#vol 4_M_RASWORD,{
mes "see if this camp will be";
mes "safe from any disaster.";
changequest 2121,2122;
- set aru_vol,13;
+ aru_vol = 13;
delitem 7342,1; //File01
close;
}
@@ -6481,7 +6481,7 @@ thor_camp,250,104,3 script Sahedi#vol 4_M_RASWORD,{
mes "advice for what we can";
mes "do about this disaster...";
changequest 2128,60211;
- set aru_vol,24;
+ aru_vol = 24;
getitem 7342,1; //File01
close;
}
@@ -6526,7 +6526,7 @@ OnTouch:
mes "you into a true warrior for";
mes "Freya! Now follow me!";
changequest 2122,2123;
- set aru_vol,14;
+ aru_vol = 14;
close2;
disablenpc "Colonel Vito#1";
warp "thor_camp",156,68;
@@ -6581,7 +6581,7 @@ OnTouch:
mes "you into a true warrior for";
mes "Freya! Now follow me!";
changequest 2122,2123;
- set aru_vol,14;
+ aru_vol = 14;
disablenpc "Colonel Vito#2";
close2;
warp "thor_camp",156,68;
@@ -6642,7 +6642,7 @@ thor_camp,159,74,3 script Colonel Vito#3 4_M_DST_MASTER,{
mes "Take a break first, and";
mes "prepare yourself. We will";
mes "begin as soon as you're ready.";
- set aru_vol,15;
+ aru_vol = 15;
close;
}
else if (aru_vol == 15) {
@@ -6726,7 +6726,7 @@ thor_camp,159,74,3 script Colonel Vito#3 4_M_DST_MASTER,{
mes "of Goddess Freya";
next;
input .@input$;
- set .@answer$,"as a devoted servant of Goddess Freya";
+ .@answer$ = "as a devoted servant of Goddess Freya";
if (.@input$ == .@answer$) {
mes "["+strcharinfo(0)+"]";
mes "as a devoted servant";
@@ -6748,7 +6748,7 @@ thor_camp,159,74,3 script Colonel Vito#3 4_M_DST_MASTER,{
mes "overthrow our mortal enemy";
next;
input .@input$;
- set .@answer$,"I pledge my honor to overthrow our mortal enemy";
+ .@answer$ = "I pledge my honor to overthrow our mortal enemy";
if (.@input$ == .@answer$) {
mes "["+strcharinfo(0)+"]";
mes "I pledge my honor to";
@@ -6768,7 +6768,7 @@ thor_camp,159,74,3 script Colonel Vito#3 4_M_DST_MASTER,{
mes "^FF0000I will show no mercy^000000";
next;
input .@input$;
- set .@answer$,"I will show no mercy";
+ .@answer$ = "I will show no mercy";
if (.@input$ == .@answer$) {
mes "["+strcharinfo(0)+"]";
mes "I will show no mercy.";
@@ -6788,7 +6788,7 @@ thor_camp,159,74,3 script Colonel Vito#3 4_M_DST_MASTER,{
mes "my entire life^000000";
next;
input .@input$;
- set .@answer$,"I shall devote my entire life";
+ .@answer$ = "I shall devote my entire life";
if (.@input$ == .@answer$) {
mes "["+strcharinfo(0)+"]";
mes "I shall devote my";
@@ -6810,7 +6810,7 @@ thor_camp,159,74,3 script Colonel Vito#3 4_M_DST_MASTER,{
mes "Rune-Midgarts Kingdom!^000000";
next;
input .@input$;
- set .@answer$,"Down with the Rune-Midgarts Kingdom!";
+ .@answer$ = "Down with the Rune-Midgarts Kingdom!";
if (.@input$ == .@answer$) {
mes "["+strcharinfo(0)+"]";
mes "Down with the";
@@ -6832,7 +6832,7 @@ thor_camp,159,74,3 script Colonel Vito#3 4_M_DST_MASTER,{
mes "is all for the first exercise,";
mes "but there's one more left.";
changequest 2123,2124;
- set aru_vol,16;
+ aru_vol = 16;
close;
}
else if (aru_vol == 16) {
@@ -6843,7 +6843,7 @@ thor_camp,159,74,3 script Colonel Vito#3 4_M_DST_MASTER,{
mes "you. Find the huge pipe zone";
mes "to the north of this building";
mes "and find any broken machines.";
- set aru_vol,17;
+ aru_vol = 17;
close;
}
else if (aru_vol == 17) {
@@ -6874,7 +6874,7 @@ thor_camp,159,74,3 script Colonel Vito#3 4_M_DST_MASTER,{
mes "front of you? Practice by";
mes "chopping it 10 times. Go!";
changequest 2125,2126;
- set aru_vol,19;
+ aru_vol = 19;
next;
if (select("Yes, sir!:What do you mean by chop?") == 1) {
mes "[Colonel Vito]";
@@ -6925,7 +6925,7 @@ thor_camp,159,74,3 script Colonel Vito#3 4_M_DST_MASTER,{
mes "a geological researcher";
mes "instead of as a soldier.^000000)";
changequest 2126,2127;
- set aru_vol,21;
+ aru_vol = 21;
close;
}
mes "[Colonel Vito]";
@@ -6959,7 +6959,7 @@ OnTouch:
mes "sound of hammering, as if";
mes "iron was being manufactured";
mes "from deep underground.^000000";
- set aru_vol,22;
+ aru_vol = 22;
close;
}
end;
@@ -6979,7 +6979,7 @@ OnTouch:
mes "I should go back";
mes "to Sahedi now.";
changequest 2127,2128;
- set aru_vol,23;
+ aru_vol = 23;
close;
}
end;
@@ -7035,7 +7035,7 @@ thor_camp,109,167,3 script Control Panel#vol HIDDEN_NPC,{
mes "I guess I can go";
mes "back to that colonel.";
changequest 2124,2125;
- set aru_vol,18;
+ aru_vol = 18;
close;
}
end;
@@ -7105,7 +7105,7 @@ thor_camp,150,65,3 script Dummy#1::VeinsDummy HIDDEN_NPC,{
specialeffect EF_HIT2;
mes "["+strcharinfo(0)+"]";
mes "Ten!";
- set aru_vol,20;
+ aru_vol = 20;
close;
}
else if (aru_vol == 20) {
@@ -7135,7 +7135,7 @@ thor_camp,150,65,3 script Dummy#1::VeinsDummy HIDDEN_NPC,{
mes "Listen to your orders";
mes "this time, and do it";
mes "again properly!";
- set aru_vol,19;
+ aru_vol = 19;
close;
}
}
diff --git a/npc/quests/quests_yuno.txt b/npc/quests/quests_yuno.txt
index d0544a5b7..f7edb9844 100644
--- a/npc/quests/quests_yuno.txt
+++ b/npc/quests/quests_yuno.txt
@@ -48,7 +48,7 @@ yuno_in03,26,39,3 script Metto#juno 4_M_SEAMAN,{
close;
}
else if (metto_q == 1) {
- set metto_q,2;
+ metto_q = 2;
mes "I'm going to ask my colleague ^FF0000Stangckle^000000 to help me. I am sure he will be more than willing to help out an old friend.";
next;
mes "[Metto]";
@@ -56,7 +56,7 @@ yuno_in03,26,39,3 script Metto#juno 4_M_SEAMAN,{
close;
}
else if (metto_q == 3) {
- set metto_q,4;
+ metto_q = 4;
mes "What? That punk Stangckle said he doesn't want to help me?! This is not good. This will slow my research considerably.";
next;
mes "[Metto]";
@@ -78,7 +78,7 @@ yuno_in03,26,39,3 script Metto#juno 4_M_SEAMAN,{
close;
}
else if (metto_q == 5) {
- set metto_q,6;
+ metto_q = 6;
mes "What? You mean to tell me that the very thing I need to continue my research, the mighty Great Z, has been destroyed?!!";
next;
mes "[Metto]";
@@ -98,7 +98,7 @@ yuno_in03,26,39,3 script Metto#juno 4_M_SEAMAN,{
close;
}
else if (metto_q == 7) {
- set metto_q,8;
+ metto_q = 8;
mes "...";
next;
mes "[Metto]";
@@ -180,7 +180,7 @@ yuno_in01,17,30,5 script Wagan#juno 4_M_03,{
mes "offended by this.";
close;
}
- set metto_q,1;
+ metto_q = 1;
mes "[Wagan]";
mes "Oh, are you going to take care of this for us? We would be very grateful.";
next;
@@ -231,7 +231,7 @@ yuno_in01,17,30,5 script Wagan#juno 4_M_03,{
mes "Oh no, it seems that you are carrying too much stuff! Would you make some room?";
close;
}
- set metto_q,9;
+ metto_q = 9;
mes "I wish you luck in your future endeavors...";
getitem 715,10; //Yellow_Gemstone
close;
@@ -240,7 +240,7 @@ yuno_in01,17,30,5 script Wagan#juno 4_M_03,{
mes "Oh no, it seems that you are carrying too much! Would you make some room?";
close;
}
- set metto_q,9;
+ metto_q = 9;
mes "I wish you luck in your future endeavors...";
getitem 717,5; //Blue_Gemstone
close;
@@ -261,7 +261,7 @@ yuno_in01,17,95,5 script Stangckle#juno 4W_M_03,{
mes "What can I do for you? My colleague Metto is coming here soon, so I don't have much time. So what did you say you needed?";
next;
if (select("I'm here to stop your research.:I don't need anything.") == 1) {
- set metto_q,3;
+ metto_q = 3;
mes "[Stangckle]";
mes "...";
next;
@@ -326,7 +326,7 @@ yuno_in01,19,183,5 script Kato#juno 1_M_JOBTESTER,{
mes "Of course, my research is private and confidential. But is there anything I can do for you?";
next;
if (select("I want to stop you from making a mistake.:Just saying hello.") == 1) {
- set metto_q,5;
+ metto_q = 5;
mes "[Kato]";
mes "What? Metto said, my Great Z is inferior to Stangckles research?!";
next;
@@ -378,7 +378,7 @@ yuno_in03,178,43,0 script CiCi#juno 2_M_MOLGENSTEIN,{
next;
switch(select("I want to warn you.:Nothing, just saying Hi.")) {
case 1:
- set metto_q,7;
+ metto_q = 7;
mes "[CiCi]";
mes "Hm? Metto said that he doesn't need my Riding Engine theory?! Hmpf, what an ingrate!";
next;
@@ -432,8 +432,8 @@ yuno_in01,103,157,3 script Bain#juno 4W_M_02,{
close;
}
if (countitem(974) > 0 && countitem(612) > 4 && countitem(1003) > 4 && countitem(7068) > 4 && countitem(7043) > 4 && countitem(757) > 2 && countitem(756) > 2 && Zeny > 2000) {
- if (ALCH_Q == 23) set ALCH_Q,24;
- set .@kyulkwa,rand(1,10);
+ if (ALCH_Q == 23) ALCH_Q = 24;
+ .@kyulkwa = rand(1,10);
mes "[Bain]";
mes "Oh ho ho... These are the parts that I needed. Thank you so much.";
next;
@@ -493,7 +493,7 @@ yuno_in01,103,157,3 script Bain#juno 4W_M_02,{
mes "powerful. How will I continue my research?";
next;
if (select("I'll get them for you.:Good luck.") == 1) {
- set bros_q,1;
+ bros_q = 1;
mes "[Bain]";
mes "Really? Such benevolence is rare";
mes "in this day and age. We would be";
@@ -553,7 +553,7 @@ S_DelItems:
mes "I wish you luck in your journeys!";
close;
}
-
+
yuno_in01,100,153,7 script Bajin 1_M_01,0,0,{
if (checkweight(1201,1) == 0) {
mes "- Wait a minute !! -";
@@ -564,8 +564,8 @@ yuno_in01,100,153,7 script Bajin 1_M_01,0,0,{
close;
}
if (countitem(974) > 0 && countitem(612) > 4 && countitem(1003) > 4 && countitem(7068) > 4 && countitem(7043) > 4 && countitem(757) > 2 && countitem(756) > 2 && Zeny > 2000) {
- if (ALCH_Q == 23) set ALCH_Q,24;
- set .@kyulkwa,rand(1,10);
+ if (ALCH_Q == 23) ALCH_Q = 24;
+ .@kyulkwa = rand(1,10);
mes "[Bajin]";
mes "Oh ho ho... These are the parts";
mes "that I needed. Thank you so much.";
@@ -626,7 +626,7 @@ yuno_in01,100,153,7 script Bajin 1_M_01,0,0,{
mes "powerful. How will I continue my research?";
next;
if (select("I'll get them for you.:Good luck.") == 1) {
- set bros_q,1;
+ bros_q = 1;
mes "[Bajin]";
mes "Oh, you are too kind.";
mes "We would be grateful for your assistance.";
@@ -762,7 +762,7 @@ yuno,261,99,4 script Sage Yklah#juno 4_M_JOB_WIZARD,{
next;
mes "[Yklah]";
mes "As you already possess the Stamp of Muriniel, I am more than willing to help you.";
- set dmdswrd_Q,24;
+ dmdswrd_Q = 24;
close;
case 2:
mes "[Yklah]";
@@ -817,7 +817,7 @@ yuno,261,99,4 script Sage Yklah#juno 4_M_JOB_WIZARD,{
next;
mes "^3355FFYou got the";
mes "True Stamp of Muriniel.^000000";
- set dmdswrd_Q,25;
+ dmdswrd_Q = 25;
next;
mes "[Yklah]";
mes "Oh? This pattern is...!! Ah, now I see how it works. Now, please listen...";
@@ -919,7 +919,7 @@ yuno,261,99,4 script Sage Yklah#juno 4_M_JOB_WIZARD,{
close;
}
}
-
+
yuno,305,207,4 script Sage Syklah#juno 4_M_JOB_WIZARD,{
if (dmdswrd_Q == 25 || dmdswrd_Q == 26 || dmdswrd_Q == 27) {
switch(dmdswrd_Q) {
@@ -969,7 +969,7 @@ yuno,305,207,4 script Sage Syklah#juno 4_M_JOB_WIZARD,{
next;
mes "[Syklah]";
mes "I think that's all I need. Anyway, I believe that gathering these items shouldn't be a difficult task for you. Good luck to you.";
- set dmdswrd_Q,26;
+ dmdswrd_Q = 26;
close;
case 26:
if (countitem(7049) > 4 && countitem(953) > 0 && countitem(507) > 19) {
@@ -992,7 +992,7 @@ yuno,305,207,4 script Sage Syklah#juno 4_M_JOB_WIZARD,{
mes "- Pah ahhhh !! -";
next;
mes "^3355FFThe Stamping Ink of Muriniel has been created, and has been given to you by the sage Syklah.^000000";
- set dmdswrd_Q,27;
+ dmdswrd_Q = 27;
next;
mes "[Syklah]";
mes "Now, with this stamping ink, you are able to use the Stamp of Muriniel.";
@@ -1042,7 +1042,7 @@ yuno,305,207,4 script Sage Syklah#juno 4_M_JOB_WIZARD,{
close;
}
}
-
+
yuno,213,298,4 script Sage Esklah#juno 4_M_JOB_WIZARD,{
if (dmdswrd_Q == 27 || dmdswrd_Q == 28 || dmdswrd_Q == 29 || dmdswrd_Q == 30) {
switch(dmdswrd_Q) {
@@ -1095,7 +1095,7 @@ yuno,213,298,4 script Sage Esklah#juno 4_M_JOB_WIZARD,{
next;
mes "[Esklah]";
mes "For someone seeking the doomed sword, this should be a relatively simple task. Now go, and bring me what I have asked.";
- set dmdswrd_Q,28;
+ dmdswrd_Q = 28;
close;
case 28:
if (countitem(1002) > 1 && countitem(1026) > 9 && countitem(957) > 4) {
@@ -1122,7 +1122,7 @@ yuno,213,298,4 script Sage Esklah#juno 4_M_JOB_WIZARD,{
mes "^3355FF1 Phracon^000000.";
mes "Now isn't that simple?";
mes "Muhahahaha!!";
- set dmdswrd_Q,29;
+ dmdswrd_Q = 29;
close;
}
mes "[Esklah]";
@@ -1160,7 +1160,7 @@ yuno,213,298,4 script Sage Esklah#juno 4_M_JOB_WIZARD,{
next;
mes "[Esklah]";
mes "Look at the middle of compass carefully to find the place you must use the stamp. I wish you the best of luck in your journey.";
- set dmdswrd_Q,30;
+ dmdswrd_Q = 30;
close;
}
mes "[Esklah]";
@@ -1199,7 +1199,7 @@ yuno,213,298,4 script Sage Esklah#juno 4_M_JOB_WIZARD,{
close;
}
}
-
+
mjolnir_02,170,193,4 script Muriniel's Cottage#juno HIDDEN_NPC,{
if (dmdswrd_Q == 30 || dmdswrd_Q == 31) {
switch(dmdswrd_Q) {
@@ -1242,7 +1242,7 @@ mjolnir_02,170,193,4 script Muriniel's Cottage#juno HIDDEN_NPC,{
mes "^3355FFSuddenly, the Stamp of Muriniel and the Compass of Muriniel break open to reveal a small, shining object.^000000";
next;
mes "^3355FFYou have received the ^9999FFDignity of Muriniel^000000.";
- set dmdswrd_Q,31;
+ dmdswrd_Q = 31;
close;
case 31:
mes "^3355FFYou can faintly hear someone's voice coming from somewhere...^000000";
diff --git a/npc/quests/thana_quest.txt b/npc/quests/thana_quest.txt
index 408a200ce..ec925a6a7 100644
--- a/npc/quests/thana_quest.txt
+++ b/npc/quests/thana_quest.txt
@@ -392,7 +392,7 @@ L_Contract:
mes "to the 2nd Floor Guide.";
mes "Thank you, and welcome";
mes "to the Rekenber Corporation~";
- set thana_tower, 1;
+ thana_tower = 1;
close;
case 2:
mes "[Ditze]";
@@ -456,7 +456,7 @@ tha_t01,140,78,4 script Guide#reward 4_F_ZONDAGIRL,{
mes "of mission proof you brought?";
next;
setarray .@items[1],7435,7440,7441,7442;
- set .@i, select("Golden Ornament:Red Feather:Blue Feather:Cursed Seal");
+ .@i = select("Golden Ornament:Red Feather:Blue Feather:Cursed Seal");
mes "[Liei]";
if (!countitem(.@items[.@i])) {
mes "I'm sorry, but you are not";
@@ -473,8 +473,8 @@ tha_t01,140,78,4 script Guide#reward 4_F_ZONDAGIRL,{
mes "1,000 zeny";
//mes "2,000 EXP";
next;
- set .@zeny_tt,(countitem(.@items[.@i]) * 1000);
- //set .@exp_tt,(countitem(.@items[.@i]) * 2000);
+ .@zeny_tt = (countitem(.@items[.@i]) * 1000);
+ //.@exp_tt = (countitem(.@items[.@i]) * 2000);
mes "[Liei]";
mes countitem(.@items[.@i])+" "+getitemname(.@items[.@i])+"s, then";
mes "you will receive a total of...";
@@ -693,7 +693,7 @@ tha_t02,231,161,5 script Entrance Guide 4_M_ZONDAMAN,{
mes "I talked a lot.";
mes "Sorry, I am not supposed to talk about this case like this...";
mes "I've been quite concerned about it, that's all.";
- set thana_tower, 3;
+ thana_tower = 3;
close;
case 2:
mes "[Burled]";
@@ -809,7 +809,7 @@ tha_t02,231,161,5 script Entrance Guide 4_M_ZONDAMAN,{
mes " ";
mes "^4d4dffYou acquire one Old Violet Box,";
mes "as well as a little EXP.^000000";
- set thana_tower, 10;
+ thana_tower = 10;
completequest 7053;
getexp 120000,10000;
getitem 617,1; //Old_Violet_Box
@@ -863,7 +863,7 @@ L_Request:
mes "He seriously wants to know about it.";
mes "His hands are trembling now...";
mes "I nodd without answering.";
- set thana_tower, 4;
+ thana_tower = 4;
setquest 7048;
return;
}
@@ -998,7 +998,7 @@ L_Key:
next;
mes "That's all.";
mes "The letters fly away in the form of a red key...";
- set thana_tower, 5;
+ thana_tower = 5;
changequest 7048,7049;
specialeffect2 EF_COMBOATTACK1;
close;
@@ -1021,9 +1021,9 @@ tha_t04,195,195,0 script Rune Device#tt2 HIDDEN_NPC,3,3,{
mes "once or use the number 0.";
next;
while (1) {
- set .@yagu100, rand(1,9);
- set .@yagu10, rand(1,9);
- set .@yagu1, rand(1,9);
+ .@yagu100 = rand(1,9);
+ .@yagu10 = rand(1,9);
+ .@yagu1 = rand(1,9);
if (((.@yagu100 != .@yagu10) && (.@yagu100 != .@yagu1)) && (.@yagu10 != .@yagu1))
break;
}
@@ -1039,8 +1039,8 @@ tha_t04,195,195,0 script Rune Device#tt2 HIDDEN_NPC,3,3,{
mes "3 digit number.";
close;
}
- set .@input100, .@input / 100;
- set .@input10, (.@input % 100) / 10;
+ .@input100 = .@input / 100;
+ .@input10 = (.@input % 100) / 10;
if (((.@input100 > 0) && (.@input10 > 0)) && (.@input % 10 > 0)) {
if (((.@input100 != .@input10) && (.@input100 != .@input % 10)) && (.@input10 != .@input % 10))
break;
@@ -1053,7 +1053,7 @@ tha_t04,195,195,0 script Rune Device#tt2 HIDDEN_NPC,3,3,{
next;
}
}
- set .@retry, .@retry + 1;
+ ++.@retry;
mes "[Screen]";
mes "You have input...";
mes "^0000ff" + .@input100 + "^000000, ^0000ff" + .@input10 + "^000000, ^0000ff" + (.@input % 10) + "^000000";
@@ -1061,14 +1061,14 @@ tha_t04,195,195,0 script Rune Device#tt2 HIDDEN_NPC,3,3,{
mes "Calculating Results...";
mes "Please wait a moment...";
next;
- set .@strike, 0;
- set .@ball, 0;
- if (.@yagu100 == .@input100) set .@strike, .@strike + 1;
- if (.@yagu10 == .@input10) set .@strike, .@strike + 1;
- if (.@yagu1 == .@input % 10) set .@strike, .@strike + 1;
- if ((.@yagu100 == .@input10) || (.@yagu100 == .@input % 10)) set .@ball, .@ball + 1;
- if ((.@yagu10 == .@input100) || (.@yagu10 == .@input % 10)) set .@ball, .@ball + 1;
- if ((.@yagu1 == .@input100) || (.@yagu1 == .@input10)) set .@ball, .@ball + 1;
+ .@strike = 0;
+ .@ball = 0;
+ if (.@yagu100 == .@input100) .@strike += 1;
+ if (.@yagu10 == .@input10) .@strike += 1;
+ if (.@yagu1 == .@input % 10) .@strike += 1;
+ if ((.@yagu100 == .@input10) || (.@yagu100 == .@input % 10)) .@ball += 1;
+ if ((.@yagu10 == .@input100) || (.@yagu10 == .@input % 10)) .@ball += 1;
+ if ((.@yagu1 == .@input100) || (.@yagu1 == .@input10)) .@ball += 1;
if (.@strike == 3) {
mes "[Screen]";
mes "Input number accepted.";
@@ -1115,7 +1115,7 @@ tha_t04,195,195,0 script Rune Device#tt2 HIDDEN_NPC,3,3,{
mes "^b22222This tower set up for...^000000";
next;
mes "It suddenly shakes, then disappears.";
- set thana_tower, 6;
+ thana_tower = 6;
changequest 7049,7050;
specialeffect2 EF_COMBOATTACK1;
close;
@@ -1220,7 +1220,7 @@ tha_t05,62,179,0 script Brilliant Statue#tt3 HIDDEN_NPC,3,3,{
mes "The truth is..........^000000";
next;
mes "The illusion shakes, then melts on the surface of the key as light.";
- set thana_tower, 7;
+ thana_tower = 7;
changequest 7050,7051;
specialeffect2 EF_COMBOATTACK1;
close;
@@ -1270,11 +1270,11 @@ tha_t06,226,230,0 script Brilliant Statue#tt4 HIDDEN_NPC,3,3,{
mes "is still blank and deactivated.^000000";
close;
case 2:
- set .@small_1, 0;
- set .@small_2, 0;
- set .@big_1, 0;
- set .@big_2, 0;
- set .@big_3, 0;
+ .@small_1 = 0;
+ .@small_2 = 0;
+ .@big_1 = 0;
+ .@big_2 = 0;
+ .@big_3 = 0;
mes "^3355FFYou touch the wheels and";
mes "find that they are actually";
mes "moving very slowly. You note";
@@ -1302,17 +1302,17 @@ tha_t06,226,230,0 script Brilliant Statue#tt4 HIDDEN_NPC,3,3,{
switch(select("Raise Wheel:Lower Wheel:Press Wheel")) {
case 1:
mes "^EE0000*Choom*^000000";
- set .@small_1, 2;
+ .@small_1 = 2;
if ((.@small_1 == 2) && (.@small_2 == 2) && (.@big_1 == 2) && (.@big_2 == 2) && (.@big_3 == 2)) break;
continue;
case 2:
mes "^00B2EE*Sneeeep*^000000";
- set .@small_1, 1;
+ .@small_1 = 1;
if ((.@small_1 == 1) && (.@small_2 == 1) && (.@big_1 == 1) && (.@big_2 == 1) && (.@big_3 == 1)) break;
continue;
case 3:
mes "^5C246E*Mrreeem*^000000";
- set .@small_1, 3;
+ .@small_1 = 3;
if ((.@small_1 == 3) && (.@small_2 == 3) && (.@big_1 == 3) && (.@big_2 == 3) && (.@big_3 == 3)) break;
continue;
}
@@ -1321,17 +1321,17 @@ tha_t06,226,230,0 script Brilliant Statue#tt4 HIDDEN_NPC,3,3,{
switch(select("Raise Wheel:Lower Wheel:Press Wheel")) {
case 1:
mes "^5C246E*Mrreeem*^000000";
- set .@small_2, 3;
+ .@small_2 = 3;
if ((.@small_1 == 3) && (.@small_2 == 3) && (.@big_1 == 3) && (.@big_2 == 3) && (.@big_3 == 3)) break;
continue;
case 2:
mes "^EE0000*Choom*^000000";
- set .@small_2, 2;
+ .@small_2 = 2;
if ((.@small_1 == 2) && (.@small_2 == 2) && (.@big_1 == 2) && (.@big_2 == 2) && (.@big_3 == 2)) break;
continue;
case 3:
mes "^00B2EE*Sneeeep*^000000";
- set .@small_2, 1;
+ .@small_2 = 1;
if ((.@small_1 == 1) && (.@small_2 == 1) && (.@big_1 == 1) && (.@big_2 == 1) && (.@big_3 == 1)) break;
continue;
}
@@ -1340,17 +1340,17 @@ tha_t06,226,230,0 script Brilliant Statue#tt4 HIDDEN_NPC,3,3,{
switch(select("Raise Wheel:Lower Wheel:Vertically Shift Wheel")) {
case 1:
mes "^00B2EE*Sneeeep*^000000";
- set .@big_1, 1;
+ .@big_1 = 1;
if ((.@small_1 == 1) && (.@small_2 == 1) && (.@big_1 == 1) && (.@big_2 == 1) && (.@big_3 == 1)) break;
continue;
case 2:
mes "^5C246E*Mrreeem*^000000";
- set .@big_1, 3;
+ .@big_1 = 3;
if ((.@small_1 == 3) && (.@small_2 == 3) && (.@big_1 == 3) && (.@big_2 == 3) && (.@big_3 == 3)) break;
continue;
case 3:
mes "^EE0000*Choom*^000000";
- set .@big_1, 2;
+ .@big_1 = 2;
if ((.@small_1 == 2) && (.@small_2 == 2) && (.@big_1 == 2) && (.@big_2 == 2) && (.@big_3 == 2)) break;
continue;
}
@@ -1359,17 +1359,17 @@ tha_t06,226,230,0 script Brilliant Statue#tt4 HIDDEN_NPC,3,3,{
switch(select("Raise Wheel:Lower Wheel:Vertically Shift Wheel")) {
case 1:
mes "^EE0000*Choom*^000000";
- set .@big_2, 2;
+ .@big_2 = 2;
if ((.@small_1 == 2) && (.@small_2 == 2) && (.@big_1 == 2) && (.@big_2 == 2) && (.@big_3 == 2)) break;
continue;
case 2:
mes "^5C246E*Mrreeem*^000000";
- set .@big_2, 3;
+ .@big_2 = 3;
if ((.@small_1 == 3) && (.@small_2 == 3) && (.@big_1 == 3) && (.@big_2 == 3) && (.@big_3 == 3)) break;
continue;
case 3:
mes "^00B2EE*Sneeeep*^000000";
- set .@big_2, 1;
+ .@big_2 = 1;
if ((.@small_1 == 1) && (.@small_2 == 1) && (.@big_1 == 1) && (.@big_2 == 1) && (.@big_3 == 1)) break;
continue;
}
@@ -1378,17 +1378,17 @@ tha_t06,226,230,0 script Brilliant Statue#tt4 HIDDEN_NPC,3,3,{
switch(select("Raise Wheel:Lower Wheel:Vertically Shift Wheel")) {
case 1:
mes "^EE0000*Choom*^000000";
- set .@big_3, 2;
+ .@big_3 = 2;
if ((.@small_1 == 2) && (.@small_2 == 2) && (.@big_1 == 2) && (.@big_2 == 2) && (.@big_3 == 2)) break;
continue;
case 2:
mes "^00B2EE*Sneeeep*^000000";
- set .@big_3, 1;
+ .@big_3 = 1;
if ((.@small_1 == 1) && (.@small_2 == 1) && (.@big_1 == 1) && (.@big_2 == 1) && (.@big_3 == 1)) break;
continue;
case 3:
mes "^5C246E*Mrreeem*^000000";
- set .@big_3, 3;
+ .@big_3 = 3;
if ((.@small_1 == 3) && (.@small_2 == 3) && (.@big_1 == 3) && (.@big_2 == 3) && (.@big_3 == 3)) break;
continue;
}
@@ -1420,11 +1420,11 @@ tha_t06,226,230,0 script Brilliant Statue#tt4 HIDDEN_NPC,3,3,{
else mes "3rd Big Wheel: Moved";
continue;
case 7:
- set .@small_1, 0;
- set .@small_2, 0;
- set .@big_1, 0;
- set .@big_2, 0;
- set .@big_3, 0;
+ .@small_1 = 0;
+ .@small_2 = 0;
+ .@big_1 = 0;
+ .@big_2 = 0;
+ .@big_3 = 0;
continue;
}
break;
@@ -1487,7 +1487,7 @@ tha_t06,226,230,0 script Brilliant Statue#tt4 HIDDEN_NPC,3,3,{
next;
mes "The hallucination wobbles";
mes "and fades into the key.";
- set thana_tower, 8;
+ thana_tower = 8;
changequest 7051,7052;
specialeffect2 EF_BEGINSPELL6;
specialeffect2 EF_SPELLBREAKER;
@@ -1573,7 +1573,7 @@ tha_t06,204,181,0 script Splendid Sword#tt5 HIDDEN_NPC,3,3,{
next;
mes "^4d4dffYou decide to show the notebook and the keys to Burled.";
mes "You received Varmunt's Journal.^000000";
- set thana_tower, 9;
+ thana_tower = 9;
changequest 7052,7053;
getitem 11011,1; //Barmund_Note
close;
@@ -1804,7 +1804,7 @@ tha_t12,161,57,0 script Gold Religious Statue#tt HIDDEN_NPC,{
mes "After inserting the Yellow Charm Stone into the sword, the statue begins to react.";
specialeffect EF_BEGINSPELL5;
delitem 7427,1; //Magic_Gem_Yellow
- set $@thana_summon, 1;
+ $@thana_summon = 1;
donpcevent "#tteffect01::OnEnable";
mapannounce "tha_t12","The golden magic power has released part of the seal.",bc_map,"0x00ff00"; //FW_NORMAL 12 0 0
close;
@@ -1834,7 +1834,7 @@ tha_t12,154,17,0 script Green Wiseman Statue#tt HIDDEN_NPC,{
mes "After inserting the Green Charm Stone into the wand, the statue begins to react.";
specialeffect EF_BEGINSPELL4;
delitem 7429,1; //Magic_Gem_Green
- set $@thana_summon, 2;
+ $@thana_summon = 2;
donpcevent "#tteffect02::OnEnable";
mapannounce "tha_t12","The green magic power has released part of the seal.",bc_map,"0x00ff00"; //FW_NORMAL 12 0 0
close;
@@ -1864,7 +1864,7 @@ tha_t12,103,17,0 script Blue Angel Statue#tt HIDDEN_NPC,{
mes "After inserting the Blue Charm Stone into the belt, the statue begins to react.";
specialeffect EF_BEGINSPELL2;
delitem 7428,1; //Magic_Gem_Blue
- set $@thana_summon, 3;
+ $@thana_summon = 3;
donpcevent "#tteffect03::OnEnable";
mapannounce "tha_t12","The blue magic power has released part of the seal.",bc_map,"0x00ff00"; //FW_NORMAL 12 0 0
close;
@@ -1894,7 +1894,7 @@ tha_t12,96,57,0 script Bloody Knight Statue#tt HIDDEN_NPC,{
mes "After inserting the Red Charm Stone into the armor, the statue begins to react.";
specialeffect EF_BEGINSPELL3;
delitem 7426,1; //Magic_Gem_Red
- set $@thana_summon, 4;
+ $@thana_summon = 4;
donpcevent "#tteffect04::OnEnable";
mapannounce "tha_t12","The red magic power has released part of the seal.",bc_map,"0x00ff00"; //FW_NORMAL 12 0 0
close;
@@ -1924,7 +1924,7 @@ tha_t12,129,86,0 script Dark Devil Statue#tt HIDDEN_NPC,{
mes "After inserting the Red Charm Stone into the eye socket, the statue begins to react.";
specialeffect EF_BEGINSPELL7;
delitem 7430,1; //Magic_Gem_Black
- set $@thana_summon, 5;
+ $@thana_summon = 5;
donpcevent "#gateto_thanatos::OnEnable";
donpcevent "#tteffect01::OnStop";
donpcevent "#tteffect02::OnStop";
@@ -2055,7 +2055,7 @@ OnOn2:
initnpctimer;
end;
OnTouch:
- set .@touch,1;
+ .@touch = 1;
OnTimer6000:
if (($@thana_summon == 0) || ($@thana_summon == 6)) {
disablenpc "#gateto_thanatos";
@@ -2067,7 +2067,7 @@ OnTimer6000:
end;
OnTimer1000:
OnTimer5000:
- set .@pillar,1;
+ .@pillar = 1;
OnTimer3000:
specialeffect EF_BEGINSPELL7,AREA,"#tteffect05";
specialeffect EF_BEGINSPELL3,AREA,"#tteffect04";
@@ -2082,14 +2082,14 @@ thana_boss,217,167,3 script Memory Seal#tt1 G_THA_MAERO,3,3,{
end;
OnEnable:
hideoffnpc strnpcinfo(0);
- set .hide,0;
+ .hide = 0;
end;
OnDisable:
hideonnpc strnpcinfo(0);
- set .hide,0;
+ .hide = 0;
end;
OnTouch:
- set .@seal, atoi(charat(strnpcinfo(2),2));
+ .@seal = atoi(charat(strnpcinfo(2),2));
if (.hide & (1<<.@seal)) end;
// .@i: ItemID,MobID,MapX,MapY,EffectNum
@@ -2097,19 +2097,19 @@ OnTouch:
switch(.@seal) {
case 1:
setarray .@i[0],7437,1711,217,167,238;
- set .@j$,"Misery";
+ .@j$ = "Misery";
break;
case 2:
setarray .@i[0],7436,1712,202,75,102;
- set .@j$,"Agony";
+ .@j$ = "Agony";
break;
case 3:
setarray .@i[0],7438,1709,80,76,101;
- set .@j$,"Hatred";
+ .@j$ = "Hatred";
break;
case 4:
setarray .@i[0],7439,1710,62,171,100;
- set .@j$,"Despair";
+ .@j$ = "Despair";
break;
}
@@ -2125,7 +2125,7 @@ OnTouch:
mes "Surely I saw a familiar fragment before...";
next;
input .@inputstr$;
- set .@exact_tt$, "Fragment of "+.@j$;
+ .@exact_tt$ = "Fragment of "+.@j$;
if (countitem(.@i[0]) > 0 && .@exact_tt$ == .@inputstr$) {
mes "^3355FFYou insert the";
mes .@exact_tt$;
@@ -2133,15 +2133,15 @@ OnTouch:
mes "its glow to intensify.^000000";
close2;
hideonnpc strnpcinfo(0);
- set .hide, .hide | (1<<.@seal);
+ .hide |= (1<<.@seal);
delitem .@i[0],1;
specialeffect .@i[4];
monster "thana_boss",.@i[2],.@i[3],.@j$,.@i[1],1,strnpcinfo(0)+"::OnMyMobDead";
switch($@thana_summon2) {
- case 0: set .@str$,"... who... released... the... Memory... of... "+.@j$+"...?"; break;
- case 1: set .@str$,"... why... did you... release... the... Memory... of... "+.@j$+"...?"; break;
- case 2: set .@str$,"... ugh... stop it... the Memory of "+.@j$+"..."; break;
- default: set .@str$,"... finally... you released the last piece of Memory..."; break;
+ case 0: .@str$ = "... who... released... the... Memory... of... "+.@j$+"...?"; break;
+ case 1: .@str$ = "... why... did you... release... the... Memory... of... "+.@j$+"...?"; break;
+ case 2: .@str$ = "... ugh... stop it... the Memory of "+.@j$+"..."; break;
+ default: .@str$ = "... finally... you released the last piece of Memory..."; break;
}
mapannounce "thana_boss",.@str$,bc_map,"0x7b68ee"; //FW_NORMAL 12 0 0
end;
@@ -2152,7 +2152,7 @@ OnTouch:
close;
OnMyMobDead:
- set $@thana_summon2, $@thana_summon2+1;
+ ++$@thana_summon2;
if ($@thana_summon2 == 4)
mapwarp "thana_boss","thana_boss",141,228;
end;
@@ -2195,7 +2195,7 @@ OnTimer16000:
mapannounce "thana_boss","Thanatos : Come, be the first to fall before my might!",bc_map,"0xff0000"; //FW_NORMAL 12 0 0
donpcevent "Memory Seal#tt5::OnDisable";
donpcevent "#sommon_thanatos::OnEnable";
- set $@thana_summon2, 5;
+ $@thana_summon2 = 5;
stopnpctimer;
end;
}
@@ -2224,7 +2224,7 @@ OnMyMobDead:
if (mobcount("thana_boss","#sommon_thanatos::OnMyMobDead") < 1) {
mapannounce "thana_boss","RAWWWWWWWWWWR........ This can't be.........................",bc_map,"0xff0000"; //FW_NORMAL 12 0 0
donpcevent "#cooltime_thana::OnEnable";
- set $@thana_summon, 6;
+ $@thana_summon = 6;
}
end;
}
@@ -2232,8 +2232,8 @@ OnMyMobDead:
thana_boss,1,1,0 script #cooltime_thana CLEAR_NPC,{
end;
OnInit:
- set $@thana_summon, 0;
- set $@thana_summon2, 0;
+ $@thana_summon = 0;
+ $@thana_summon2 = 0;
end;
OnEnable:
initnpctimer;
@@ -2273,8 +2273,8 @@ OnTimer37000:
mapwarp "thana_boss","tha_t12",130,52;
end;
OnTimer7200000:
- set $@thana_summon, 0;
- set $@thana_summon2, 0;
+ $@thana_summon = 0;
+ $@thana_summon2 = 0;
donpcevent "Memory Seal#tt1::OnEnable";
donpcevent "Memory Seal#tt2::OnEnable";
donpcevent "Memory Seal#tt3::OnEnable";
diff --git a/npc/quests/the_sign_quest.txt b/npc/quests/the_sign_quest.txt
index f58fd574d..be630c202 100644
--- a/npc/quests/the_sign_quest.txt
+++ b/npc/quests/the_sign_quest.txt
@@ -46,7 +46,7 @@
next;
cutin "sign_03",255;
cutin "sign_04",4;
- if (!sign_q) set sign_q,1;
+ if (!sign_q) sign_q = 1;
mes "^3355FFClose^000000";
close2;
cutin "sign_04",255;
@@ -54,12 +54,11 @@
OnInit:
// Remove old depreciated settings.
- set $signbmps,0;
- set $signmazemonster,0;
-
+ $signbmps = 0;
+ $signmazemonster = 0;
// Set the time zone of the server.
// - Not official but seemed like a nice way to handle it.
- set $timezonestring$,"^FF0000GMT^000000";
+ $timezonestring$ = "^FF0000GMT^000000";
end;
}
@@ -108,7 +107,7 @@ prt_in,227,45,0 script Archeologist#sign 1_M_SIGN1,{
mes "me your name? "+ strcharinfo(0) +"?";
mes "Okay then, I'll remember that.";
mes "Talk to you later, alright?";
- set sign_q,2;
+ sign_q = 2;
break;
}
case 2:
@@ -154,7 +153,7 @@ prt_in,227,45,0 script Archeologist#sign 1_M_SIGN1,{
mes "unless he knows them or";
mes "receives a message from me.";
mes "So if he's snubbed you in the past, just understand that's his way.";
- set sign_q,3;
+ sign_q = 3;
break;
case 3:
mes "Hm...?";
@@ -290,7 +289,7 @@ prt_in,227,45,0 script Archeologist#sign 1_M_SIGN1,{
mes "skill for this task. Once";
mes "know right away. For now,";
mes "please hold on to these pieces.";
- set sign_q,54;
+ sign_q = 54;
getitem 7177,1; //Part_Of_Star's_Sob
}
else if (sign_q == 54) {
@@ -363,7 +362,7 @@ prt_in,227,45,0 script Archeologist#sign 1_M_SIGN1,{
mes "Tower. There's someone I know";
mes "there who might just be up for";
mes "this task...";
- set sign_q,72;
+ sign_q = 72;
}
else if (sign_q == 72) {
mes "Now that the";
@@ -441,7 +440,7 @@ prt_in,227,45,0 script Archeologist#sign 1_M_SIGN1,{
mes "where he devotes his time";
mes "to his research. He may not";
mes "always be home though...";
- set sign_q,77;
+ sign_q = 77;
next;
break;
case 3:
@@ -553,81 +552,81 @@ prt_in,227,45,0 script Archeologist#sign 1_M_SIGN1,{
mes "Please let me handle";
mes "this and come back later~";
delitem 7314,1; //The_Sign
- set sign_q,138;
- set .@stime_s,gettime(3);
- if (.@stime_s < 1) set sign_sq,1;
- else if (.@stime_s < 3) set sign_sq,2;
- else if (.@stime_s < 5) set sign_sq,3;
- else if (.@stime_s < 7) set sign_sq,4;
- else if (.@stime_s < 9) set sign_sq,5;
- else if (.@stime_s < 11) set sign_sq,6;
- else if (.@stime_s < 13) set sign_sq,7;
- else if (.@stime_s < 15) set sign_sq,8;
- else if (.@stime_s < 17) set sign_sq,9;
- else if (.@stime_s < 19) set sign_sq,10;
- else if (.@stime_s < 21) set sign_sq,11;
- else set sign_sq,12;
+ sign_q = 138;
+ .@stime_s = gettime(3);
+ if (.@stime_s < 1) sign_sq = 1;
+ else if (.@stime_s < 3) sign_sq = 2;
+ else if (.@stime_s < 5) sign_sq = 3;
+ else if (.@stime_s < 7) sign_sq = 4;
+ else if (.@stime_s < 9) sign_sq = 5;
+ else if (.@stime_s < 11) sign_sq = 6;
+ else if (.@stime_s < 13) sign_sq = 7;
+ else if (.@stime_s < 15) sign_sq = 8;
+ else if (.@stime_s < 17) sign_sq = 9;
+ else if (.@stime_s < 19) sign_sq = 10;
+ else if (.@stime_s < 21) sign_sq = 11;
+ else sign_sq = 12;
}
else if (sign_q == 138) {
- set .@stime_s1,gettime(3);
+ .@stime_s1 = gettime(3);
if (.@stime_s1 < 1) {
if (sign_sq == 11) {
- set .@pass_s,1;
+ .@pass_s = 1;
}
}
else if (.@stime_s1 < 3) {
if (sign_sq == 12) {
- set .@pass_s,1;
+ .@pass_s = 1;
}
}
else if (.@stime_s1 < 5) {
if (sign_sq == 1) {
- set .@pass_s,1;
+ .@pass_s = 1;
}
}
else if (.@stime_s1 < 7) {
if (sign_sq == 2) {
- set .@pass_s,1;
+ .@pass_s = 1;
}
}
else if (.@stime_s1 < 9) {
if (sign_sq == 3) {
- set .@pass_s,1;
+ .@pass_s = 1;
}
}
else if (.@stime_s1 < 11) {
if (sign_sq == 4) {
- set .@pass_s,1;
+ .@pass_s = 1;
}
}
else if (.@stime_s1 < 13) {
if (sign_sq == 5) {
- set .@pass_s,1;
+ .@pass_s = 1;
}
}
else if (.@stime_s1 < 15) {
if (sign_sq == 6) {
- set .@pass_s,1;
+ .@pass_s = 1;
}
}
else if (.@stime_s1 < 17) {
if (sign_sq == 7) {
- set .@pass_s,1;
+ .@pass_s = 1;
}
}
else if (.@stime_s1 < 19) {
if (sign_sq == 8) {
- set .@pass_s,1;
+ .@pass_s = 1;
}
}
else if (.@stime_s1 < 21) {
if (sign_sq == 9) {
- set .@pass_s,1;
+ .@pass_s = 1;
}
}
else {
if (sign_sq == 10) {
- set .@pass_s,1;
+ .@pass_s = 1;
}
}
if (.@pass_s == 1) {
@@ -657,8 +656,8 @@ prt_in,227,45,0 script Archeologist#sign 1_M_SIGN1,{
mes "this: Engel Howard,";
mes "Rune-Midgard's best";
mes "Blacksmith.";
- set sign_q,139;
- set sign_sq,0;
+ sign_q = 139;
+ sign_sq = 0;
getitem 7314,1; //The_Sign
}
else {
@@ -694,7 +693,7 @@ prt_in,227,45,0 script Archeologist#sign 1_M_SIGN1,{
mes "[Metz]";
mes "You may have had your doubts,";
mes "but I'm happy enough to confirm that the Sign really exists. Thanks again, and I hope you stop by and chat from time to time.";
- set sign_q,142;
+ sign_q = 142;
getexp (checkre(3))?200000:2000000,0;
}
else {
@@ -727,7 +726,7 @@ prt_in,227,45,0 script Archeologist#sign 1_M_SIGN1,{
close;
}
delitem 7178,1; //Star's_Sob
- set sign_q,202;
+ sign_q = 202;
getexp (checkre(3))?10000:100000,0;
getitem 617,1; //Old_Violet_Box
}
@@ -1262,7 +1261,7 @@ morocc_in,115,154,5 script Rogue#sign 1_M_SIGNROGUE,{
mes "Bring that and I'll";
mes "tell you what to";
mes "bring next.";
- set sign_q,4;
+ sign_q = 4;
close;
case 3:
mes "[Arian]";
@@ -1312,7 +1311,7 @@ morocc_in,115,154,5 script Rogue#sign 1_M_SIGNROGUE,{
mes "Alright, that looks like";
mes "enough Fluff. Now, go and";
mes "get me ^FF000050 Poison Spores^000000.";
- set sign_q,5;
+ sign_q = 5;
close;
case 5:
mes "[Arian]";
@@ -1343,7 +1342,7 @@ morocc_in,115,154,5 script Rogue#sign 1_M_SIGNROGUE,{
mes "got here with those";
mes "Poison Spores. Now, go";
mes "and get ^FF000030 Scorpion Tails^000000.";
- set sign_q,6;
+ sign_q = 6;
close;
case 6:
mes "[Arian]";
@@ -1371,7 +1370,7 @@ morocc_in,115,154,5 script Rogue#sign 1_M_SIGNROGUE,{
mes "sweet time bringing over this";
mes "over this crap. Okay, now bring";
mes "^FF000020 Rotten Bandages^000000.";
- set sign_q,7;
+ sign_q = 7;
close;
case 7:
mes "[Arian]";
@@ -1397,7 +1396,7 @@ morocc_in,115,154,5 script Rogue#sign 1_M_SIGNROGUE,{
mes "me ^FF000015 Little Evil Horn^000000. What";
mes "are you waiting for, a memo?";
mes "Get outta here~!";
- set sign_q,8;
+ sign_q = 8;
close;
case 8:
mes "[Arian]";
@@ -1427,7 +1426,7 @@ morocc_in,115,154,5 script Rogue#sign 1_M_SIGNROGUE,{
mes "it tookyou to come back.";
mes "Now hurry it up and get";
mes "me ^FF000010 Coral Reefs^000000!";
- set sign_q,9;
+ sign_q = 9;
close;
case 9:
mes "[Arian]";
@@ -1449,7 +1448,7 @@ morocc_in,115,154,5 script Rogue#sign 1_M_SIGNROGUE,{
mes "sure you're not trying to";
mes "cheat. God help you if you";
mes "try to pull a fast one on me...!";
- set sign_q,10;
+ sign_q = 10;
close;
case 10:
mes "[Arian]";
@@ -1458,7 +1457,7 @@ morocc_in,115,154,5 script Rogue#sign 1_M_SIGNROGUE,{
mes "to the guy to my left.";
mes "The dude at the counter.";
mes "What's-his-face, Ganaan.";
- set sign_q,11;
+ sign_q = 11;
close;
case 11:
mes "[Arian]";
@@ -1488,7 +1487,7 @@ morocc_in,115,154,5 script Rogue#sign 1_M_SIGNROGUE,{
mes "You're givin' Ganaan";
mes "a hard time. You hear";
mes "me? That's my job!";
- set sign_q,11;
+ sign_q = 11;
close;
case 13:
mes "[Arian]";
@@ -1509,7 +1508,7 @@ morocc_in,115,154,5 script Rogue#sign 1_M_SIGNROGUE,{
else if (BaseLevel < 90) getexp 13000,0;
else getexp 18000,0;
}
- set sign_q,14;
+ sign_q = 14;
getitem 7177,1; //Part_Of_Star's_Sob
close;
case 14:
@@ -1571,16 +1570,16 @@ morocc_in,114,162,4 script Young Man#sign 2_M_THIEFMASTER,{
next;
switch(select("Look for fresh water.:Just wait for rescue.:Forage for food.:Explore the island.")) {
case 1:
- set .@point_s,.@point_s+7;
+ .@point_s += 7;
break;
case 2:
- set .@point_s,.@point_s+1;
+ .@point_s += 1;
break;
case 3:
- set .@point_s,.@point_s+4;
+ .@point_s += 4;
break;
case 4:
- set .@point_s,.@point_s+10;
+ .@point_s += 10;
break;
}
mes "[Gaanan]";
@@ -1592,16 +1591,16 @@ morocc_in,114,162,4 script Young Man#sign 2_M_THIEFMASTER,{
next;
switch(select("Scream for help.:Stay quiet.:Wait for death to come.:Find a way out.")) {
case 1:
- set .@point_s,.@point_s+3;
+ .@point_s += 3;
break;
case 2:
- set .@point_s,.@point_s+7;
+ .@point_s += 7;
break;
case 3:
- set .@point_s,.@point_s+1;
+ .@point_s += 1;
break;
case 4:
- set .@point_s,.@point_s+7;
+ .@point_s += 7;
break;
}
mes "[Gaanan]";
@@ -1615,13 +1614,13 @@ morocc_in,114,162,4 script Young Man#sign 2_M_THIEFMASTER,{
case 1:
break;
case 2:
- set .@point_s,.@point_s+5;
+ .@point_s += 5;
break;
case 3:
- set .@point_s,.@point_s+10;
+ .@point_s += 10;
break;
case 4:
- set .@point_s,.@point_s+1;
+ .@point_s += 1;
break;
}
mes "[Ganaan]";
@@ -1632,19 +1631,19 @@ morocc_in,114,162,4 script Young Man#sign 2_M_THIEFMASTER,{
next;
switch(select("Wait for the case to get solved.:Try to find my friends first.:Find a way out.:Solve the murder case on my own.:Kill the others before they kill me.")) {
case 1:
- set .@point_s,.@point_s+5;
+ .@point_s += 5;
break;
case 2:
- set .@point_s,.@point_s+7;
+ .@point_s += 7;
break;
case 3:
- set .@point_s,.@point_s+3;
+ .@point_s += 3;
break;
case 4:
- set .@point_s,.@point_s+1;
+ .@point_s += 1;
break;
case 5:
- set .@point_s,.@point_s+1;
+ .@point_s += 1;
break;
}
mes "[Gaanan]";
@@ -1656,19 +1655,19 @@ morocc_in,114,162,4 script Young Man#sign 2_M_THIEFMASTER,{
next;
switch(select("Wait to see the end.:Plant an apple tree.:Look to move to a different world.:What else? Save the world.:What else? Go on a crime spree.")) {
case 1:
- set .@point_s,.@point_s+5;
+ .@point_s += 5;
break;
case 2:
- set .@point_s,.@point_s+3;
+ .@point_s += 3;
break;
case 3:
- set .@point_s,.@point_s+7;
+ .@point_s += 7;
break;
case 4:
- set .@point_s,.@point_s+10;
+ .@point_s += 10;
break;
case 5:
- set .@point_s,.@point_s+1;
+ .@point_s += 1;
break;
}
mes "[Gaanan]";
@@ -1678,8 +1677,8 @@ morocc_in,114,162,4 script Young Man#sign 2_M_THIEFMASTER,{
mes "Sooo... Talk to him and";
mes "he'll let you know how";
mes "you did.";
- if (.@point_s > 33) set sign_q,13;
- else set sign_q,12;
+ if (.@point_s > 33) sign_q = 13;
+ else sign_q = 12;
close;
}
else if (sign_q < 14) {
@@ -1895,7 +1894,7 @@ payon_in03,11,31,4 script Daewoon#sign 1_M_SIGNMONK2,{
}
next;
if (countitem(7177) > 0) {
- set .@pay_point,1;
+ .@pay_point = 1;
mes "["+ strcharinfo(0) +"]";
mes "Sure...";
mes "But first, would you";
@@ -1937,7 +1936,7 @@ payon_in03,11,31,4 script Daewoon#sign 1_M_SIGNMONK2,{
next;
switch(select("It's handy.:I actually don't know...")) {
case 1:
- set .@pay_point,.@pay_point+2;
+ .@pay_point += 2;
mes "[Daewoon]";
emotion e_dots;
mes "Mmm...?";
@@ -1948,7 +1947,7 @@ payon_in03,11,31,4 script Daewoon#sign 1_M_SIGNMONK2,{
next;
break;
case 2:
- set .@pay_point,.@pay_point+4;
+ .@pay_point += 4;
emotion e_pif;
mes "[Daewoon]";
mes "Really?";
@@ -1969,7 +1968,7 @@ payon_in03,11,31,4 script Daewoon#sign 1_M_SIGNMONK2,{
next;
break;
case 3:
- set .@pay_point,.@pay_point+5;
+ .@pay_point += 5;
mes "[Daewoon]";
mes "Didn't Arian tell you";
mes "anything? I appreciate";
@@ -2002,7 +2001,7 @@ payon_in03,11,31,4 script Daewoon#sign 1_M_SIGNMONK2,{
next;
switch(select("I'M READY! YEEAH!:I'll do my best!:To hell with this!:Fine. Let's get it over with.")) {
case 1:
- set .@pay_point,.@pay_point+5;
+ .@pay_point += 5;
mes "[Daewoon]";
mes "Ooh~";
mes "Such unbridled";
@@ -2011,7 +2010,7 @@ payon_in03,11,31,4 script Daewoon#sign 1_M_SIGNMONK2,{
next;
break;
case 2:
- set .@pay_point,.@pay_point+7;
+ .@pay_point += 7;
emotion e_ok;
mes "[Daewoon]";
mes "Mwah ah hah!";
@@ -2024,7 +2023,7 @@ payon_in03,11,31,4 script Daewoon#sign 1_M_SIGNMONK2,{
break;
case 3:
emotion e_an;
- set .@pay_point,.@pay_point+2;
+ .@pay_point += 2;
mes "[Daewoon]";
mes "E...";
mes "Excuse me?";
@@ -2041,7 +2040,7 @@ payon_in03,11,31,4 script Daewoon#sign 1_M_SIGNMONK2,{
next;
break;
case 4:
- set .@pay_point,.@pay_point+4;
+ .@pay_point += 4;
emotion e_dots;
mes "[Daewoon]";
mes "Hmm. That kind of half-hearted";
@@ -2065,7 +2064,7 @@ payon_in03,11,31,4 script Daewoon#sign 1_M_SIGNMONK2,{
next;
switch(select("Yes, I do.:I prefer soloing.:I am lonely.")) {
case 1:
- set .@pay_point,.@pay_point+5;
+ .@pay_point += 5;
emotion e_omg;
mes "[Daewoon]";
mes "Oh, that's great~!";
@@ -2084,7 +2083,7 @@ payon_in03,11,31,4 script Daewoon#sign 1_M_SIGNMONK2,{
next;
break;
case 2:
- set .@pay_point,.@pay_point+4;
+ .@pay_point += 4;
mes "[Daewoon]";
mes "Well, everybody";
mes "needs to be alone once";
@@ -2102,7 +2101,7 @@ payon_in03,11,31,4 script Daewoon#sign 1_M_SIGNMONK2,{
next;
break;
case 3:
- set .@pay_point,.@pay_point+3;
+ .@pay_point += 3;
mes "[Daewoon]";
mes "You don't have any";
mes "friends at all? Well,";
@@ -2140,7 +2139,7 @@ payon_in03,11,31,4 script Daewoon#sign 1_M_SIGNMONK2,{
next;
break;
case 2:
- set .@pay_point,.@pay_point+5;
+ .@pay_point += 5;
mes "[Daewoon]";
mes "Really?";
mes "I do too!";
@@ -2166,7 +2165,7 @@ payon_in03,11,31,4 script Daewoon#sign 1_M_SIGNMONK2,{
next;
break;
case 3:
- set .@pay_point,.@pay_point+3;
+ .@pay_point += 3;
mes "[Daewoon]";
mes "At least you're honest.";
mes "But let me say that I cannot";
@@ -2216,7 +2215,7 @@ payon_in03,11,31,4 script Daewoon#sign 1_M_SIGNMONK2,{
next;
switch(select("Destroy it!:I can't destroy such beauty...:I'd close my eyes, then destroy it.")) {
case 1:
- set .@pay_point,.@pay_point+3;
+ .@pay_point += 3;
mes "[Daewoon]";
mes "Hmm. You have a truly";
mes "strong will. Then again,";
@@ -2233,13 +2232,13 @@ payon_in03,11,31,4 script Daewoon#sign 1_M_SIGNMONK2,{
}
break;
case 2:
- set .@pay_point,.@pay_point+5;
+ .@pay_point += 5;
mes "[Daewoon]";
mes "Ah yes! I felt you would answer that way! We must cherish and protect what is beautiful in this world. I would never be able to harm a Priestess, even in";
mes "statue form...";
break;
case 3:
- set .@pay_point,.@pay_point+6;
+ .@pay_point += 6;
mes "[Daewoon]";
mes "Interesting...!";
mes "Although you cherish";
@@ -2276,14 +2275,14 @@ payon_in03,11,31,4 script Daewoon#sign 1_M_SIGNMONK2,{
next;
switch(select("Yes, of course!:I'd pretend not to hear anything.:I'd make fun of him, then run off.")) {
case 1:
- set .@pay_point,.@pay_point+6;
+ .@pay_point += 6;
mes "[Daewoon]";
mes "Ah, you would help him!";
mes "Good, good. I'm glad to see";
mes "that you understand that such pettiness should not get in the way of doing what is good and right.";
break;
case 2:
- set .@pay_point,.@pay_point+5;
+ .@pay_point += 5;
mes "[Daewoon]";
mes "True, you're not really";
mes "obligated to help your";
@@ -2293,7 +2292,7 @@ payon_in03,11,31,4 script Daewoon#sign 1_M_SIGNMONK2,{
mes "depend on his rival for help.";
break;
case 3:
- set .@pay_point,.@pay_point+4;
+ .@pay_point += 4;
mes "[Daewoon]";
mes "Even though he is";
mes "your enemy, I still";
@@ -2364,7 +2363,7 @@ payon_in03,11,31,4 script Daewoon#sign 1_M_SIGNMONK2,{
break;
}
if (.@pay_point > 29) {
- set sign_q,15;
+ sign_q = 15;
getitem 7177,1; //Part_Of_Star's_Sob
if (checkre(3)) {
if (BaseLevel < 60) getexp 300,0;
@@ -2408,7 +2407,7 @@ payon_in03,11,31,4 script Daewoon#sign 1_M_SIGNMONK2,{
close;
}
else if ((.@pay_point > 26) && (.@pay_point < 30)) {
- set sign_q,15;
+ sign_q = 15;
getitem 7177,1; //Part_Of_Star's_Sob
if (checkre(3)) {
if (BaseLevel < 60) getexp 300,0;
@@ -2659,7 +2658,7 @@ aldeba_in,155,101,3 script Sir Jore#sign 1_M_SIGNALCHE,7,7,{
mes "five hours part that's";
mes "hard. Now, let's see...";
next;
- set sign_q,16;
+ sign_q = 16;
mes "[Sir Jore]";
mes "Just bring me";
mes "10 Empty Test Tubes,";
@@ -2699,7 +2698,7 @@ aldeba_in,155,101,3 script Sir Jore#sign 1_M_SIGNALCHE,7,7,{
delitem 1092,10; //Empty_Cylinder
delitem 610,2; //Leaf_Of_Yggdrasil
delitem 511,10; //Green_Herb
- set sign_q,17;
+ sign_q = 17;
emotion e_thx;
mes "[Sir Jore]";
mes "Ah! Th-thank you for";
@@ -2722,7 +2721,7 @@ aldeba_in,155,101,3 script Sir Jore#sign 1_M_SIGNALCHE,7,7,{
mes "feeling that I need it to bring";
mes "my Biology research to the next step. This is how you'll help me.";
next;
- set sign_q,17;
+ sign_q = 17;
mes "[Sir Jore]";
mes "I need you to investigate";
mes "this Stone of Sage by finding";
@@ -2809,7 +2808,7 @@ aldeba_in,155,101,3 script Sir Jore#sign 1_M_SIGNALCHE,7,7,{
mes "Still, I'm so ashamed of";
mes "relying on a rumor...";
next;
- set sign_q,20;
+ sign_q = 20;
getitem 7177,1; //Part_Of_Star's_Sob
mes "[Sir Jore]";
mes "Thank you very much";
@@ -3064,7 +3063,7 @@ prt_maze02,57,151,1 script Pleur#warp 4_F_02,{
mes "to follow her and see if you can";
mes "learn more.^000000";
close2;
- set .@warp_s,rand(1,10);
+ .@warp_s = rand(1,10);
if (.@warp_s < 5) warp "prt_maze02",11,146;
if (.@warp_s > 7) warp "prt_maze03",55,8;
if ((.@warp_s > 4) && (.@warp_s < 8)) warp "prt_maze01",62,129;
@@ -3079,7 +3078,7 @@ OnTouch:
mes "to follow her and see if you can";
mes "learn more.^000000";
close2;
- set .@warp_s,rand(1,10);
+ .@warp_s = rand(1,10);
if (.@warp_s < 5) warp "prt_maze02",11,146;
if (.@warp_s > 7) warp "prt_maze03",55,8;
if ((.@warp_s > 4) && (.@warp_s < 8)) warp "prt_maze01",62,129;
@@ -3180,7 +3179,7 @@ prt_maze02,14,183,4 script Gordon#sign 1_M_BARD,{
next;
switch(select("Roar~!:Excuse me.")) {
case 1:
- set sign_q,18;
+ sign_q = 18;
donpcevent "#skill::OnEnable";
emotion e_omg;
donpcevent "Pleur#sign::OnOMG";
@@ -3218,7 +3217,7 @@ prt_maze02,14,183,4 script Gordon#sign 1_M_BARD,{
next;
switch(select("Ask about Stone of Sage:Ask about Alchemy:Quit")) {
case 1:
- set sign_q,19;
+ sign_q = 19;
mes "[Gordon]";
mes "Stone of Sage?";
mes "Huh. To be honest,";
@@ -3324,7 +3323,7 @@ prt_maze02,14,183,4 script Gordon#sign 1_M_BARD,{
next;
switch(select("Ask about Stone of Sage:Ask about Alchemy:Quit")) {
case 1:
- set sign_q,19;
+ sign_q = 19;
mes "[Gordon]";
mes "Stone of Sage?";
mes "Huh. To be honest,";
@@ -3555,7 +3554,7 @@ geffen_in,59,74,4 script Jesqurienne#sign 1_F_SIGNZISK,{
mes "I believe I can be";
mes "of assistance.";
next;
- set sign_q,21;
+ sign_q = 21;
emotion e_gg;
mes "[Jesqurienne]";
mes "Professor Aaron?";
@@ -3620,7 +3619,7 @@ geffen_in,59,74,4 script Jesqurienne#sign 1_F_SIGNZISK,{
next;
switch(select("I can't let you win!:Darn it...")) {
case 1:
- set sign_q,22;
+ sign_q = 22;
mes "[Jesqurienne]";
mes "You're a slow learner,";
mes "aren't you? Well, I welcome";
@@ -3662,7 +3661,7 @@ geffen_in,59,74,4 script Jesqurienne#sign 1_F_SIGNZISK,{
mes "I will remember that.";
next;
mes "[Jesqurienne]";
- set sign_q,25;
+ sign_q = 25;
getitem 7177,1; //Part_Of_Star's_Sob
mes "Here...";
mes "My old friend, Metz, told";
@@ -3731,7 +3730,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "use questions that I use";
mes "in teaching my class.";
next;
- set sign_q,22;
+ sign_q = 22;
mes "[Aaron]";
mes "Alright...";
mes "I'm almost finished";
@@ -3747,14 +3746,14 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "not relevant to the";
mes "Blacksmith Job Quest?";
next;
- if (select("Baisulist:Wickebine:Barcardi:Krongast") == 3) set .@user_p,.@user_p+1;
+ if (select("Baisulist:Wickebine:Barcardi:Krongast") == 3) .@user_p += 1;
break;
case 2:
mes "1. Which item is not";
mes "relevant to the creation";
mes "of a Counteragent?";
next;
- if (select("Karvodailnirol:Detrimindexta:Alcohol") != 1) set .@user_p,.@user_p+1;
+ if (select("Karvodailnirol:Detrimindexta:Alcohol") != 1) .@user_p += 1;
break;
case 3:
mes "1. Choose the";
@@ -3762,7 +3761,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "a different size";
mes "than the others.";
next;
- if (select("Giant Whisper:Marine:Cornutus:Kobold Archer") == 2) set .@user_p,.@user_p+1;
+ if (select("Giant Whisper:Marine:Cornutus:Kobold Archer") == 2) .@user_p += 1;
break;
}
if (rand(1,10) < 9 ) {
@@ -3771,7 +3770,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "Heh heh...";
mes "The first question";
mes "is always too easy!";
- set .@npc_p,.@npc_p+1;
+ ++.@npc_p;
}
else {
donpcevent "Jesqurienne#sign::OnOmg";
@@ -3789,7 +3788,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "B.S. Sacramenti from the";
mes "ones displayed in the list.";
next;
- if (select("Lex Divina:Gloria:Recovery:Sanctuary") == 2) set .@user_p,.@user_p+1;
+ if (select("Lex Divina:Gloria:Recovery:Sanctuary") == 2) .@user_p += 1;
break;
case 2:
mes "[Aaron]";
@@ -3797,7 +3796,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "is not related to the creation";
mes "of a Condensed White Potion.";
next;
- if (select("Medicine Bowl:Witch Starsand:Empty Bottle:Empty Potion Bottle") == 3) set .@user_p,.@user_p+1;
+ if (select("Medicine Bowl:Witch Starsand:Empty Bottle:Empty Potion Bottle") == 3) .@user_p += 1;
break;
case 3:
mes "[Aaron]";
@@ -3805,7 +3804,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "necessary for a Blacksmith";
mes "to create a Gladius.";
next;
- if (select("Sapphire:Zircon:Topaz:Cursed Ruby") == 1) set .@user_p,.@user_p+1;
+ if (select("Sapphire:Zircon:Topaz:Cursed Ruby") == 1) .@user_p += 1;
break;
}
if (rand(1,10) < 8 ) {
@@ -3815,7 +3814,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "I know the answer.";
mes "Any fool should know";
mes "this. But do you?";
- set .@npc_p,.@npc_p+1;
+ ++.@npc_p;
}
else {
donpcevent "Jesqurienne#sign::OnOmg";
@@ -3834,7 +3833,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "unrelated to the";
mes "Mage's Bolt type skills.";
next;
- if (select("Water:Earth:Fire:Wind") == 2) set .@user_p,.@user_p+1;
+ if (select("Water:Earth:Fire:Wind") == 2) .@user_p += 1;
break;
case 2:
mes "[Aaron]";
@@ -3842,7 +3841,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "Bunny Band's DEF";
mes "and its added ability?";
next;
- if (select("1 / LUK +2:1 / LUK +5:2 / LUK +2:2 / LUK +5") == 3) set .@user_p,.@user_p+1;
+ if (select("1 / LUK +2:1 / LUK +5:2 / LUK +2:2 / LUK +5") == 3) .@user_p += 1;
break;
case 3:
mes "[Aaron]";
@@ -3851,7 +3850,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "matched with its Monster";
mes "Card name.";
next;
- if (select("Hornet Card - Martyr:Requiem - Chaos:Wormtail - Clever:Golem - Immortal") == 4) set .@user_p,.@user_p+1;
+ if (select("Hornet Card - Martyr:Requiem - Chaos:Wormtail - Clever:Golem - Immortal") == 4) .@user_p += 1;
break;
}
if (rand(1,10) < 8 ) {
@@ -3860,7 +3859,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "Ah...";
mes "That's another";
mes "point for me!";
- set .@npc_p,.@npc_p+1;
+ ++.@npc_p;
}
else {
donpcevent "Jesqurienne#sign::OnOmg";
@@ -3911,7 +3910,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "name of the ruler of the";
mes "Rune-Midgarts Kingdom.";
next;
- if (select("Tristan lll:Tristram lll:Tristar lll:Trust lll") == 2) set .@user_p,.@user_p+1;
+ if (select("Tristan lll:Tristram lll:Tristar lll:Trust lll") == 2) .@user_p += 1;
break;
case 2:
mes "[Aaron]";
@@ -3919,7 +3918,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "that is a different type";
mes "than the others.";
next;
- if (select("Penomena:Hatii:Pest:Explosion") == 1) set .@user_p,.@user_p+1;
+ if (select("Penomena:Hatii:Pest:Explosion") == 1) .@user_p += 1;
break;
}
if (rand(1,10) < 8 ) {
@@ -3928,7 +3927,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "That counts as";
mes "a question? You're";
mes "being too easy!";
- set .@npc_p,.@npc_p+1;
+ ++.@npc_p;
}
else {
donpcevent "Jesqurienne#sign::OnOmg";
@@ -3971,14 +3970,14 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "which does not drop the";
mes "'Yggdrasil Leaf' item.";
next;
- if (select("Marduk:Baphomet Jr.:Angeling:Wanderer") == 1) set .@user_p,.@user_p+1;
+ if (select("Marduk:Baphomet Jr.:Angeling:Wanderer") == 1) .@user_p += 1;
break;
case 2:
mes "[Aaron]";
mes "5. Choose the job class";
mes "that cannot equip Silk Robe.";
next;
- if (select("Swordman:Merchant:Hunter:Mage") == 3) set .@user_p,.@user_p+1;
+ if (select("Swordman:Merchant:Hunter:Mage") == 3) .@user_p += 1;
break;
case 3:
mes "[Aaron]";
@@ -3986,10 +3985,10 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "requirement for entering";
mes "the PvP Room.";
next;
- if (select("30:31:32:33") == 2) set .@user_p,.@user_p+1;
+ if (select("30:31:32:33") == 2) .@user_p += 1;
break;
}
- set zis_5,rand(1,10);
+ zis_5 = rand(1,10);
if (rand(1,10) < 9 ) {
donpcevent "Jesqurienne#sign::OnHo";
mes "[Jesqurienne]";
@@ -3998,7 +3997,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "to know the answer.";
mes "Are you still thinking?";
mes "I wouldn't think you'd know!";
- set .@npc_p,.@npc_p+1;
+ ++.@npc_p;
}
else {
donpcevent "Jesqurienne#sign::OnOmg";
@@ -4040,7 +4039,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "correct weight";
mes "for 1 Empty Bottle?";
next;
- if (select("1:2:3") == 2) set .@user_p,.@user_p+1;
+ if (select("1:2:3") == 2) .@user_p += 1;
break;
case 2:
mes "[Aaron]";
@@ -4048,7 +4047,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "correct DEF for";
mes "the Indian Filet item.";
next;
- if (select("0:1:2:3") == 4) set .@user_p,.@user_p+1;
+ if (select("0:1:2:3") == 4) .@user_p += 1;
break;
case 3:
mes "[Aaron]";
@@ -4056,7 +4055,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "city closest to";
mes "Turtle Island?";
next;
- if (select("Al De Baran:Alberta:Comodo:Izlude") == 2) set .@user_p,.@user_p+1;
+ if (select("Al De Baran:Alberta:Comodo:Izlude") == 2) .@user_p += 1;
break;
}
if (rand(1,10) < 9 ) {
@@ -4066,7 +4065,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "Simple questions,";
mes "simple answers.";
mes "Did you get it?";
- set .@npc_p,.@npc_p+1;
+ ++.@npc_p;
}
else {
donpcevent "Jesqurienne#sign::OnOmg";
@@ -4108,20 +4107,20 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "by fifteen, divided by three,";
mes "plus five is equal to...?";
next;
- if (select("250:255:260:265") == 3) set .@user_p,.@user_p+1;
+ if (select("250:255:260:265") == 3) .@user_p += 1;
break;
case 2:
mes "[Aaron]";
mes "7. Four thousand five hundred sixty divided by four, divided by two, plus three is equal to...?";
next;
- if (select("573:574:575:576") == 1) set .@user_p,.@user_p+1;
+ if (select("573:574:575:576") == 1) .@user_p += 1;
break;
case 3:
mes "[Aaron]";
mes "7. Three thousand one hundred";
mes "two added to five hundred, plus four, divided by six equals...";
next;
- if (select("600:601:602") == 2) set .@user_p,.@user_p+1;
+ if (select("600:601:602") == 2) .@user_p += 1;
break;
}
if (rand(1,10) < 9 ) {
@@ -4132,7 +4131,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "a veritable";
mes "calculator!";
mes "Ho ho ho~!";
- set .@npc_p,.@npc_p+1;
+ ++.@npc_p;
}
else {
donpcevent "Jesqurienne#sign::OnOmg";
@@ -4178,7 +4177,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "that is the closest to the";
mes "Item Upgrade Place in Juno.";
next;
- if (select("Tavern:Monster Library:Tool Shop:Weapon Shop") == 4) set .@user_p,.@user_p+1;
+ if (select("Tavern:Monster Library:Tool Shop:Weapon Shop") == 4) .@user_p += 1;
break;
case 2:
mes "[Aaron]";
@@ -4186,7 +4185,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "Trap skill which does not";
mes "inflict Property Damage.";
next;
- if (select("Claymore Trap:Freezing Trap:Shockwave Trap:Land Mine") == 3) set .@user_p,.@user_p+1;
+ if (select("Claymore Trap:Freezing Trap:Shockwave Trap:Land Mine") == 3) .@user_p += 1;
break;
}
if ( rand(1,10) < 9 ) {
@@ -4195,7 +4194,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "Hah hah~!";
mes "That was a";
mes "piece of cake!";
- set .@npc_p,.@npc_p+1;
+ ++.@npc_p;
}
else {
donpcevent "Jesqurienne#sign::OnOmg";
@@ -4239,7 +4238,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "receive the most damage";
mes "from a Fire Property Dagger?";
next;
- if (select("Dagger Goblin:Mace Goblin:Morning Star Goblin:Hammer Goblin") == 4) set .@user_p,.@user_p+1;
+ if (select("Dagger Goblin:Mace Goblin:Morning Star Goblin:Hammer Goblin") == 4) .@user_p += 1;
break;
case 2:
mes "[Aaron]";
@@ -4247,7 +4246,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "on which the Mage skill,";
mes "''Stone Curse,'' is ineffective. ^FFFFFFaaaaaa aaaaaaa aaaaaa aaaaaaa aaaaaaaaa^000000";
next;
- if (select("Elder Willow:Evil Druid:Magnolia:Marc") == 2) set .@user_p,.@user_p+1;
+ if (select("Elder Willow:Evil Druid:Magnolia:Marc") == 2) .@user_p += 1;
break;
}
if ( rand(1,10) < 9 ) {
@@ -4257,7 +4256,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "I'm just breezing";
mes "through this Quiz Challenge!";
mes "Aren't you having a hard time?";
- set .@npc_p,.@npc_p+1;
+ ++.@npc_p;
}
else {
donpcevent "Jesqurienne#sign::OnOmg";
@@ -4297,7 +4296,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "that looks different";
mes "than all the others.";
next;
- if (select("Prontera Hollgrehenn:Prontera Doll Merchant:Izlude Meat Merchant:Morroc Meat Merchant") == 3) set .@user_p,.@user_p+1;
+ if (select("Prontera Hollgrehenn:Prontera Doll Merchant:Izlude Meat Merchant:Morroc Meat Merchant") == 3) .@user_p += 1;
break;
case 2:
mes "[Aaron]";
@@ -4305,7 +4304,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "that cannot be equipped";
mes "by Novice class characters.";
next;
- if (select("Funeral Hat:Shackles:Wooden Mail:Pantie") == 3) set .@user_p,.@user_p+1;
+ if (select("Funeral Hat:Shackles:Wooden Mail:Pantie") == 3) .@user_p += 1;
break;
}
if ( rand(1,10) < 9 ) {
@@ -4314,7 +4313,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "As usual, I got";
mes "the last question";
mes "absolutely right~";
- set .@npc_p,.@npc_p+1;
+ ++.@npc_p;
}
else {
donpcevent "Jesqurienne#sign::OnOmg";
@@ -4341,7 +4340,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes ""+.@npc_p+" points!";
next;
if (.@npc_p > .@user_p) {
- set sign_q,23;
+ sign_q = 23;
emotion e_gg;
mes "[Jesqurienne]";
mes "Bwahahaha!";
@@ -4349,7 +4348,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "Ho ho ho ho ho ho~";
}
else if (.@npc_p == .@user_p) {
- set sign_q,24;
+ sign_q = 24;
mes "[Jesqurienne]";
mes "Tied?! ";
mes "Alright, I'm impressed.";
@@ -4357,7 +4356,7 @@ geffen_in,61,72,7 script Aaron#sign 4_M_SAGE_A,{
mes "smarter than I thought...";
}
else {
- set sign_q,24;
+ sign_q = 24;
mes "[Jesqurienne]";
mes "No...!";
mes "I can't...";
@@ -4484,7 +4483,7 @@ cmd_in02,88,51,4 script Strange Guy#sign 1_M_SIGNART,{
mes "of the fee as a preliminary";
mes "for my test. You know, to";
mes "weed out the riffraff.";
- set sign_q,26;
+ sign_q = 26;
close;
}
case 2:
@@ -4519,7 +4518,7 @@ cmd_in02,88,51,4 script Strange Guy#sign 1_M_SIGNART,{
mes "alright! Okay, come back";
mes "to me tomorrow night and";
mes "we'll start your test...";
- set sign_q,27;
+ sign_q = 27;
Zeny -= 30000;
}
close;
@@ -4547,7 +4546,7 @@ cmd_in02,88,51,4 script Strange Guy#sign 1_M_SIGNART,{
mes "business. I guess I gotta keep";
mes "this promise to him, so when";
mes "you're ready, say the word.";
- set sign_q,28;
+ sign_q = 28;
close;
}
else {
@@ -4586,7 +4585,7 @@ cmd_in02,88,51,4 script Strange Guy#sign 1_M_SIGNART,{
mes "standin' around";
mes "waiting for? Bring";
mes "those collection items!";
- set sign_q,29;
+ sign_q = 29;
close;
}
else if (sign_q < 35) {
@@ -4595,21 +4594,21 @@ cmd_in02,88,51,4 script Strange Guy#sign 1_M_SIGNART,{
mes "Ah, so is this";
mes "the stuff you brought?";
mes "Lemme take a look-see...";
- if (countitem(734)) set .@diaris_t,.@diaris_t+1;
- if (countitem(735)) set .@diaris_t,.@diaris_t+1;
- if (countitem(736)) set .@diaris_t,.@diaris_t+1;
- if (countitem(7149)) set .@diaris_t,.@diaris_t+1;
- if (countitem(747)) set .@diaris_t,.@diaris_t+2;
- if (countitem(749)) set .@diaris_t,.@diaris_t+4;
- if (countitem(740)) set .@diaris_t,.@diaris_t+1;
- if (countitem(741)) set .@diaris_t,.@diaris_t+1;
- if (countitem(742)) set .@diaris_t,.@diaris_t+2;
- if (countitem(743)) set .@diaris_t,.@diaris_t+3;
- if (countitem(752)) set .@diaris_t,.@diaris_t+3;
- if (countitem(753)) set .@diaris_t,.@diaris_t+4;
- if (countitem(754)) set .@diaris_t,.@diaris_t+4;
- if (countitem(750)) set .@diaris_t,.@diaris_t+7;
- if (countitem(751)) set .@diaris_t,.@diaris_t+7;
+ if (countitem(734)) .@diaris_t += 1;
+ if (countitem(735)) .@diaris_t += 1;
+ if (countitem(736)) .@diaris_t += 1;
+ if (countitem(7149)) .@diaris_t += 1;
+ if (countitem(747)) .@diaris_t += 2;
+ if (countitem(749)) .@diaris_t += 4;
+ if (countitem(740)) .@diaris_t += 1;
+ if (countitem(741)) .@diaris_t += 1;
+ if (countitem(742)) .@diaris_t += 2;
+ if (countitem(743)) .@diaris_t += 3;
+ if (countitem(752)) .@diaris_t += 3;
+ if (countitem(753)) .@diaris_t += 4;
+ if (countitem(754)) .@diaris_t += 4;
+ if (countitem(750)) .@diaris_t += 7;
+ if (countitem(751)) .@diaris_t += 7;
next;
if (.@diaris_t > 10) {
mes "[Dearles]";
@@ -4639,7 +4638,7 @@ cmd_in02,88,51,4 script Strange Guy#sign 1_M_SIGNART,{
if (countitem(754)) delitem 754,1; //Raccoondog_Doll
if (countitem(750)) delitem 750,1; //Baphomet_Doll
if (countitem(751)) delitem 751,1; //Osiris_Doll
- set sign_q,30;
+ sign_q = 30;
if (checkre(3)) {
if (BaseLevel < 60) getexp 300,0;
else if (BaseLevel < 70) getexp 500,0;
@@ -4729,7 +4728,7 @@ cmd_in02,88,51,4 script Strange Guy#sign 1_M_SIGNART,{
mes "of Sobbing Starlight and";
mes "go find someone named,";
mes "um, ''Bakerlan'' in Alberta.";
- set sign_q,35;
+ sign_q = 35;
getitem 7177,1; //Part_Of_Star's_Sob
if (checkre(3)) {
if (BaseLevel < 60) getexp 300,0;
@@ -4766,7 +4765,7 @@ cmd_in02,88,51,4 script Strange Guy#sign 1_M_SIGNART,{
mes "of Sobbing Starlight and";
mes "go find someone named,";
mes "um, ''Bakerlan'' in Alberta.";
- set sign_q,35;
+ sign_q = 35;
getitem 7177,1; //Part_Of_Star's_Sob
Zeny += 20000;
if (checkre(3)) {
@@ -4906,7 +4905,7 @@ cmd_in01,33,25,5 script Examiner#sign 4_F_07,{
close;
}
else if (sign_q == 31) {
- set sign_q,30;
+ sign_q = 30;
mes "Please click on the";
mes "Chat Room to enter the";
mes "Standby Room. When it's";
@@ -4946,7 +4945,7 @@ cmd_in01,33,25,5 script Examiner#sign 4_F_07,{
mes "try again whenever";
mes "you want, alright?";
mes "Thank you~";
- set sign_q,30;
+ sign_q = 30;
close;
}
else if (sign_q == 33) {
@@ -5159,11 +5158,11 @@ OnDisable:
end;
OnUp:
- set .s_up,.s_up + 1;
+ ++.s_up;
end;
OnReset:
- set .s_up,0;
+ .s_up = 0;
end;
OnTouch:
@@ -5215,11 +5214,11 @@ OnDisable:
end;
OnUp:
- set .s_down,.s_down + 1;
+ ++.s_down;
end;
OnReset:
- set .s_down,0;
+ .s_down = 0;
end;
OnTouch:
@@ -5292,11 +5291,11 @@ OnDisable:
end;
OnUp:
- set .s_left,.s_left + 1;
+ ++.s_left;
end;
OnReset:
- set .s_left,0;
+ .s_left = 0;
end;
OnTouch:
@@ -5360,11 +5359,11 @@ OnDisable:
end;
OnUp:
- set .s_right,.s_right + 1;
+ ++.s_right;
end;
OnReset:
- set .s_right,0;
+ .s_right = 0;
end;
OnTouch:
@@ -5432,13 +5431,13 @@ OnDisable:
//specialeffect EF_SUMMONSLAVE;
disablenpc "s_dance#cen";
end;
-
+
OnUp:
- set .s_center,.s_center + 1;
+ ++.s_center;
end;
OnReset:
- set .s_center,0;
+ .s_center = 0;
end;
OnTouch:
@@ -5474,17 +5473,17 @@ OnInit:
OnTouch:
if (.s_check < 30) {
if (sign_q == 30) {
- set sign_q,32;
+ sign_q = 32;
}
}
else if (.s_check < 34) {
if (sign_q == 30) {
- set sign_q,33;
+ sign_q = 33;
}
}
else if (.s_check == 34) {
if (sign_q == 30) {
- set sign_q,34;
+ sign_q = 34;
}
}
warp "cmd_in01",29,33;
@@ -5492,11 +5491,11 @@ OnTouch:
end;
OnUp:
- set .s_check,.s_check + 1;
+ ++.s_check;
end;
OnDisable:
- set .s_check,0;
+ .s_check = 0;
disablenpc "Examiner#sd";
end;
}
@@ -5534,7 +5533,7 @@ alberta_in,125,101,5 script Wealthy-looking Merchant 1_M_SIGNMCNT,{
mes "Unfortunately I am kind of busy...";
mes "will you please come back later?";
mes "Thank you.";
- set sign_q,36;
+ sign_q = 36;
close;
}
}
@@ -5573,7 +5572,7 @@ alberta_in,125,101,5 script Wealthy-looking Merchant 1_M_SIGNMCNT,{
mes "[Bakerlan]";
mes "First, I wish for you to make";
mes "a delivery. The object I want you to deliver is expensive and must be handled with care. Don't lose it or you will fail. Now, speak to my steward for more information.";
- set sign_q,37;
+ sign_q = 37;
close;
}
else {
@@ -5602,7 +5601,7 @@ alberta_in,125,101,5 script Wealthy-looking Merchant 1_M_SIGNMCNT,{
mes "has another assignment for";
mes "for you to complete. So";
mes "please talk to him again.";
- set sign_q,41;
+ sign_q = 41;
close;
}
else if (sign_q < 52) {
@@ -5638,7 +5637,7 @@ alberta_in,125,101,5 script Wealthy-looking Merchant 1_M_SIGNMCNT,{
mes "I am the last one who tested your qualification.";
mes "Now bring all of the stone pieces to Metz.";
mes "He will tell you what you need to do next.";
- set sign_q,53;
+ sign_q = 53;
getitem 7177,1; //Part_Of_Star's_Sob
if (checkre(3)) {
if (BaseLevel < 60) getexp 500,0;
@@ -5734,7 +5733,7 @@ alberta_in,154,171,5 script Maid#s10 4_F_JPN,{
mes "I was just thinking";
mes "about something. I hope";
mes "I didn't bother you. ^333333*Sigh*^000000";
- set sign_q,43;
+ sign_q = 43;
close;
}
else if (sign_q < 51) {
@@ -5795,7 +5794,7 @@ alberta_in,154,171,5 script Maid#s10 4_F_JPN,{
mes "understand. I'm";
mes "very sorry to bother";
mes "you with my problems.";
- set sign_q,44;
+ sign_q = 44;
close;
case 2:
mes "[Seylin]";
@@ -5804,7 +5803,7 @@ alberta_in,154,171,5 script Maid#s10 4_F_JPN,{
mes "If you can help";
mes "me, I'd really";
mes "appreciate it~";
- set sign_q,45;
+ sign_q = 45;
close;
case 3:
mes "[Seylin]";
@@ -5822,7 +5821,7 @@ alberta_in,154,171,5 script Maid#s10 4_F_JPN,{
mes "it makes men feel young again.";
mes "So that must be good, right?";
mes "Thanks again for your help~";
- set sign_q,46;
+ sign_q = 46;
close;
}
}
@@ -5861,7 +5860,7 @@ alberta_in,154,171,5 script Maid#s10 4_F_JPN,{
mes "it makes men feel young again.";
mes "So that must be good, right?";
mes "Thanks again for your help~";
- set sign_q,46;
+ sign_q = 46;
close;
}
case 45:
@@ -5895,7 +5894,7 @@ alberta_in,154,171,5 script Maid#s10 4_F_JPN,{
mes "it makes men feel young again.";
mes "So that must be good, right?";
mes "Thanks again for your help~";
- set sign_q,46;
+ sign_q = 46;
close;
}
case 46:
@@ -5940,7 +5939,7 @@ alberta_in,154,171,5 script Maid#s10 4_F_JPN,{
mes "him this letter, so would";
mes "you also make sure he gets";
mes "this? Thank you so much!";
- set sign_q,49;
+ sign_q = 49;
getitem 7183,1; //Sister_Letter
close;
}
@@ -5957,7 +5956,7 @@ alberta_in,154,171,5 script Maid#s10 4_F_JPN,{
mes "I want you to have this";
mes "as a token of my gratitude.";
mes "You really are a kind person~";
- set sign_q,51;
+ sign_q = 51;
getitem 525,3; //Panacea
next;
emotion e_kis2;
@@ -6082,7 +6081,7 @@ prt_castle,107,58,5 script Soldier#s11 8W_SOLDIER,{
mes "but no one will say anything.";
delitem 7044,1; //Vigorgra
delitem 7183,1; //Sister_Letter
- set sign_q,50;
+ sign_q = 50;
percentheal 100,100;
next;
mes "[Maruin]";
@@ -6220,7 +6219,7 @@ alde_alche,169,162,7 script Alchemist#sign 4_M_ALCHE_B,{
mes "bring all those";
mes "items to me. I'll";
mes "be seeing you later.";
- set sign_q,47;
+ sign_q = 47;
close;
}
case 2:
@@ -6346,7 +6345,7 @@ alde_alche,169,162,7 script Alchemist#sign 4_M_ALCHE_B,{
delitem 520,1; //Leaflet_Of_Hinal
delitem 708,1; //Ment
delitem 713,1; //Empty_Bottle
- set sign_q,48;
+ sign_q = 48;
getitem 7044,1; //Vigorgra
mes "[Melkaba]";
mes "Um, just remember";
@@ -6481,7 +6480,7 @@ alberta_in,114,178,5 script Refined Steward 4_M_MANAGER,{
mes "^3355FFMahatra gives you";
mes "a unique stone that has";
mes "your name attached to it.^000000";
- set sign_q,38;
+ sign_q = 38;
getnameditem 7049,strcharinfo(0);
close;
}
@@ -6502,7 +6501,7 @@ alberta_in,114,178,5 script Refined Steward 4_M_MANAGER,{
mes "message to the master, so";
mes "please visit him later.";
delitem 7181,1; //Receipt_01
- set sign_q,40;
+ sign_q = 40;
close;
}
else if (sign_q == 40) {
@@ -6532,7 +6531,7 @@ alberta_in,114,178,5 script Refined Steward 4_M_MANAGER,{
mes "leave me any instructions.";
mes "Hmmm. Oh, I know what you can";
mes "do! Why don't you help ^FF0000Seylin^000000? She seems bothered by something...";
- set sign_q,42;
+ sign_q = 42;
close;
}
}
@@ -6556,7 +6555,7 @@ alberta_in,114,178,5 script Refined Steward 4_M_MANAGER,{
mes "Mahatra]";
mes "If there is anything else, he will let you pass the test.";
mes "Good luck.";
- set sign_q,52;
+ sign_q = 52;
close;
}
else if (sign_q == 98) {
@@ -6820,11 +6819,11 @@ yuno,330,100,4 script Knight#ss 4_M_JOB_KNIGHT2,{
}
}
else {
- set .@signid,getcharid(0,strcharinfo(0));
- set .@sign3, .@signid & 65535;
- set .@sign4, .@signid >> 16;
- set .@sign1,254;
- set .@sign2,0;
+ .@signid = getcharid(0,strcharinfo(0));
+ .@sign3 = .@signid & 65535;
+ .@sign4 = .@signid >> 16;
+ .@sign1 = 254;
+ .@sign2 = 0;
if (!countitem2(7049,1,0,0,.@sign1,.@sign2,.@sign3,.@sign4)) {
mes "Hm...?";
mes "There must be some";
@@ -6852,7 +6851,7 @@ yuno,330,100,4 script Knight#ss 4_M_JOB_KNIGHT2,{
mes "a good job for me.";
mes "Thanks again!";
delitem2 7049,1,1,0,0,.@sign1,.@sign2,.@sign3,.@sign4;
- set sign_q,39;
+ sign_q = 39;
getitem 7181,1; //Receipt_01
if (checkre(3)) {
if (BaseLevel < 60) getexp 100,0;
@@ -6962,7 +6961,7 @@ geffen_in,159,48,5 script Lonely-looking Woman 4_F_05,{
mes "[Brenda Howard]";
mes "Oh, and if you're going to look";
mes "for my husband, please talk to my daughter before you go. I think she has something that she wants to give to her father...";
- set sign_q,55;
+ sign_q = 55;
close;
}
}
@@ -7000,7 +6999,7 @@ geffen_in,159,48,5 script Lonely-looking Woman 4_F_05,{
mes "him know that I want him to spend";
mes "a little more time at home. Oh, and why don't you talk to Liana? She's been waiting to tell you something.";
delitem 7278,1; //Wellbeing_Letter
- set sign_q,sign_q+4;
+ sign_q += 4;
close;
}
else {
@@ -7103,7 +7102,7 @@ geffen_in,171,42,3 script Cute Girl 4_F_KID2,{
mes "forget to give this to";
mes "my dad, okay? Promise?";
emotion e_ho;
- set sign_q,56;
+ sign_q = 56;
getitem 7276,1; //Picture_Letter
close;
case 2:
@@ -7134,7 +7133,7 @@ geffen_in,171,42,3 script Cute Girl 4_F_KID2,{
mes "Yay~!";
mes "Thank you for bringing my letter to my dad. Here, here!";
mes "You have to share my treasure with me, 'kay?";
- set sign_q,sign_q+4;
+ sign_q += 4;
getitem 529,10; //Candy
close;
}
@@ -7265,7 +7264,7 @@ mjo_dun02,88,295,4 script Flaming Spirit Man 4_M_03,{
mes "Right. Let me guide you to a shortcut to the exit of these mines, just in case you don't know your way out of here. Good luck~";
delitem 7276,1; //Picture_Letter
delitem 7177,7; //Part_Of_Star's_Sob
- set sign_q,57;
+ sign_q = 57;
close2;
warp "mjo_dun02",371,344;
end;
@@ -7302,7 +7301,7 @@ mjo_dun02,88,295,4 script Flaming Spirit Man 4_M_03,{
mes "Regular Anvil?";
mes "Alright, I guess I'll try it.";
mes "But I can't guarantee success.";
- set .@anvil,0;
+ .@anvil = 0;
}
else if (countitem(987) > 0) {
mes "Ah...";
@@ -7310,18 +7309,18 @@ mjo_dun02,88,295,4 script Flaming Spirit Man 4_M_03,{
mes "This isn't too bad,";
mes "but there's a good risk";
mes "that this might not work.";
- set .@anvil,1;
+ .@anvil = 1;
}
else if (countitem(988) > 0) {
mes "Ah...";
mes "A Golden Anvil.";
mes "This just might be able to do the job. This might take a while, so I have something to ask of you.";
- set .@anvil,2;
+ .@anvil = 2;
}
else if (countitem(989) > 0) {
mes "Oh wow, an Emperium Anvil!";
mes "And this looks like one I might have actually made. Great, I should be able to do this so long as I don't make any critical mistakes~";
- set .@anvil,3;
+ .@anvil = 3;
}
next;
mes "[Engel]";
@@ -7334,7 +7333,7 @@ mjo_dun02,88,295,4 script Flaming Spirit Man 4_M_03,{
delitem 612,5; //Portable_Furnace
delitem 615,2; //Oridecon_Hammer
delitem (986+.@anvil),1; //Anvil-Oridecon_Anvil-Golden_Anvil-Emperium_Anvil
- set sign_q, (58+.@anvil);
+ sign_q = (58+.@anvil);
getitem 7278,1; //Wellbeing_Letter
close;
}
@@ -7370,7 +7369,7 @@ mjo_dun02,88,295,4 script Flaming Spirit Man 4_M_03,{
mes "Are you back already?";
mes "While you were gone, I managed to restore this Sobbing Starlight. Why don't you go ahead and take a look?";
next;
- set sign_q,71;
+ sign_q = 71;
getitem 7178,1; //Star's_Sob
specialeffect2 EF_YUFITELHIT;
next;
@@ -7409,7 +7408,7 @@ mjo_dun02,88,295,4 script Flaming Spirit Man 4_M_03,{
next;
mes "[Engel]";
mes "Although it'd be perfect if I had an Emperium Anvil, I'm pretty sure it'll be alright if we used a Golden Anvil.";
- set sign_q,70;
+ sign_q = 70;
close;
case 68:
mes "Oh good, you're back.";
@@ -7432,7 +7431,7 @@ mjo_dun02,88,295,4 script Flaming Spirit Man 4_M_03,{
mes "^FF00005 Mini Furnace^000000 and";
mes "^FF00002 Oridecon Hammer^000000.";
mes "Don't forget the ^FF0000Golden Anvil^000000! But if you can get your hands on one, an ^FF0000Emperium Anvil^000000 would be better.";
- set sign_q,70;
+ sign_q = 70;
close;
}
}
@@ -7490,7 +7489,7 @@ mjo_dun02,88,295,4 script Flaming Spirit Man 4_M_03,{
mes "We've both gone through a lot of trouble to make this, so I hope you treasure your Sobbing Starlight. Good luck on your adventures...";
if (countitem(988) > 0) delitem 988,1; //Golden_Anvil
else if (countitem(989) > 0) delitem 989,1; //Emperium_Anvil
- set sign_q,71;
+ sign_q = 71;
getitem 7178,1; //Star's_Sob
specialeffect2 EF_YUFITELHIT;
close;
@@ -7550,82 +7549,82 @@ mjo_dun02,88,295,4 script Flaming Spirit Man 4_M_03,{
mes "give you a time estimate...";
mes "But I'll do my best for you.";
delitem 7314,1; //The_Sign
- set sign_q,140;
- set .@stime_e,gettime(3);
- if (.@stime_e < 2) set sign_sq,1;
- else if (.@stime_e < 4) set sign_sq,2;
- else if (.@stime_e < 6) set sign_sq,3;
- else if (.@stime_e < 8) set sign_sq,4;
- else if (.@stime_e < 10) set sign_sq,5;
- else if (.@stime_e < 12) set sign_sq,6;
- else if (.@stime_e < 14) set sign_sq,7;
- else if (.@stime_e < 16) set sign_sq,8;
- else if (.@stime_e < 18) set sign_sq,9;
- else if (.@stime_e < 20) set sign_sq,10;
- else if (.@stime_e < 22) set sign_sq,11;
- else set sign_sq,12;
+ sign_q = 140;
+ .@stime_e = gettime(3);
+ if (.@stime_e < 2) sign_sq = 1;
+ else if (.@stime_e < 4) sign_sq = 2;
+ else if (.@stime_e < 6) sign_sq = 3;
+ else if (.@stime_e < 8) sign_sq = 4;
+ else if (.@stime_e < 10) sign_sq = 5;
+ else if (.@stime_e < 12) sign_sq = 6;
+ else if (.@stime_e < 14) sign_sq = 7;
+ else if (.@stime_e < 16) sign_sq = 8;
+ else if (.@stime_e < 18) sign_sq = 9;
+ else if (.@stime_e < 20) sign_sq = 10;
+ else if (.@stime_e < 22) sign_sq = 11;
+ else sign_sq = 12;
close;
}
else if (sign_q == 140) {
- set .@stime_e1,gettime(3);
+ .@stime_e1 = gettime(3);
if (.@stime_e1 < 2) {
if (sign_sq == 11) {
- set .@pass_s1,1;
+ .@pass_s1 = 1;
}
}
else if (.@stime_e1 < 4) {
if (sign_sq == 12) {
- set .@pass_s1,1;
+ .@pass_s1 = 1;
}
}
else if (.@stime_e1 < 6) {
if (sign_sq == 1) {
- set .@pass_s1,1;
+ .@pass_s1 = 1;
}
}
else if (.@stime_e1 < 8) {
if (sign_sq == 2) {
- set .@pass_s1,1;
+ .@pass_s1 = 1;
}
}
else if (.@stime_e1 < 10) {
if (sign_sq == 3) {
- set .@pass_s1,1;
+ .@pass_s1 = 1;
}
}
else if (.@stime_e1 < 12) {
if (sign_sq == 4) {
- set .@pass_s1,1;
+ .@pass_s1 = 1;
}
}
else if (.@stime_e1 < 14) {
if (sign_sq == 5) {
- set .@pass_s1,1;
+ .@pass_s1 = 1;
}
}
else if (.@stime_e1 < 16) {
if (sign_sq == 6) {
- set .@pass_s1,1;
+ .@pass_s1 = 1;
}
}
else if (.@stime_e1 < 18) {
if (sign_sq == 7) {
- set .@pass_s1,1;
+ .@pass_s1 = 1;
}
}
else if (.@stime_e1 < 20) {
if (sign_sq == 8) {
- set .@pass_s1,1;
+ .@pass_s1 = 1;
}
}
else if (.@stime_e1 < 22) {
if (sign_sq == 9) {
- set .@pass_s1,1;
+ .@pass_s1 = 1;
}
}
else {
if (sign_sq == 10) {
- set .@pass_s1,1;
+ .@pass_s1 = 1;
}
}
if (.@pass_s1 == 1) {
@@ -7643,7 +7642,7 @@ mjo_dun02,88,295,4 script Flaming Spirit Man 4_M_03,{
mes "Thank you for giving me the";
mes "honor of working on a worthy";
mes "smithing challenge.";
- set sign_q,141;
+ sign_q = 141;
getitem 2644,1; //The_Sign_
close;
}
@@ -7720,7 +7719,7 @@ gef_tower,118,36,4 script Annoyed Man 1_M_WIZARD,{
mes "here right now. Went somewhere";
mes "near Comodo to investigate some";
mes "tribal people or whatever.";
- set sign_q,73;
+ sign_q = 73;
emotion e_pif;
close;
}
@@ -7783,7 +7782,7 @@ umbala,163,256,3 script Native#_s 4_F_UMGIRL,{
mes "Oh right~!";
mes "The weird man in the funny clothes was in our village for a while, but ever since he went into that big tree, nobody's seen him!";
delitem 2278,1; //Mr_Smile
- set sign_q,74;
+ sign_q = 74;
close;
case 2:
mes "[Laotan]";
@@ -7912,7 +7911,7 @@ um_in,27,23,3 script Fastidious-Looking Guy 2_M_MOLGENSTEIN,{
mes "what's written in the Sobbing";
mes "Starlight, we'd need at least";
mes "10 ancient pieces of paper...";
- set sign_q,75;
+ sign_q = 75;
close;
case 4:
specialeffect EF_VENOMDUST;
@@ -7956,7 +7955,7 @@ um_in,27,23,3 script Fastidious-Looking Guy 2_M_MOLGENSTEIN,{
mes "The Sobbing Starlight is responding to these Worn Out Pages! Excellent! I've finally fulfilled my promise to Metz! Now he can leave";
mes "me alone!";
delitem 1097,10; //Worn_Out_Page
- set sign_q,76;
+ sign_q = 76;
getitem 7275,1; //Ancient_Document
close;
}
@@ -8033,7 +8032,7 @@ alberta,165,83,4 script Fastidious Old Man 4_M_SAGE_C,{
mes "when I read. I guess this old";
mes "man's got no choice but to get";
mes "some sort of seeing aid...";
- set sign_q,78;
+ sign_q = 78;
close;
}
else if (sign_q == 78) {
@@ -8086,7 +8085,7 @@ alberta,165,83,4 script Fastidious Old Man 4_M_SAGE_C,{
mes "Hmm, as far as I can tell, this is a sophisticated language spoken by the ancient gods. It's complex and confusing, but I'll do my best for you. Come back to me later, and I'll what I've learned.";
delitem 2203,1; //Glasses
delitem 7275,1; //Ancient_Document
- set sign_q,79;
+ sign_q = 79;
close;
}
}
@@ -8117,7 +8116,7 @@ alberta,165,83,4 script Fastidious Old Man 4_M_SAGE_C,{
mes "[Frank]";
mes "Well, I've written down the best translation that I could for you. It's been a long time since I've had this kind of challenge. Thanks, youngster.";
mes "Ha ha ha~";
- set sign_q,80;
+ sign_q = 80;
getitem 7274,1; //Ancient_Translator
close;
}
@@ -8172,7 +8171,7 @@ OnTouch:
delitem 907,4; //Resin
delitem 953,12; //Stone_Heart
delitem 7013,365; //Coral_Reef
- set sign_q,81;
+ sign_q = 81;
warp "himinn",49,10;
end;
}
@@ -8243,7 +8242,7 @@ himinn,48,86,5 script Valkyrie#sign 4_F_VALKYRIE,{
mes "travel there and ferret";
mes "out true darkness from";
mes "one of the hearts there...";
- set sign_q,82;
+ sign_q = 82;
percentheal 100,100;
if (checkre(3)) {
if (BaseLevel < 56) getexp 900,0;
@@ -8295,7 +8294,7 @@ himinn,48,86,5 script Valkyrie#sign 4_F_VALKYRIE,{
mes "Always step forward";
mes "with wisdom and courage.";
mes "That is all I can tell you.";
- set sign_q,96;
+ sign_q = 96;
close;
}
else if ((sign_q == 129) || (sign_q == 130)) {
@@ -8313,7 +8312,7 @@ himinn,48,86,5 script Valkyrie#sign 4_F_VALKYRIE,{
mes ""+ strcharinfo(0) +". Verily,";
mes "you are an honorable";
mes "hero worthy of praise!";
- set sign_q,137;
+ sign_q = 137;
getitem 7314,1; //The_Sign
close;
}
@@ -8344,7 +8343,7 @@ himinn,48,86,5 script Valkyrie#sign 4_F_VALKYRIE,{
mes "I hope that you find your";
mes "another way to win back";
mes "the favor of the gods...";
- set sign_q,203;
+ sign_q = 203;
close;
}
else {
@@ -8449,7 +8448,7 @@ que_sign01,196,39,4 script Serin#serin 4_F_01,{
mes "pretty dangerous";
mes "so please step back...";
delitem 7305,1; //Authority_Of_Nine_World
- set sign_q,133;
+ sign_q = 133;
donpcevent "Serin#dummy::OnEnable";
donpcevent "Serin#dummy::OnStart";
donpcevent "Serin#serin::OnDisable";
@@ -8522,7 +8521,7 @@ que_sign01,196,39,4 script Serin#serin 4_F_01,{
mes "stopping me? Hmpf.";
mes "Every fool must learn.";
mes "Prepare to die!^000000";
- set sign_q,134;
+ sign_q = 134;
donpcevent "Serin#serin::OnDisable";
donpcevent "Dark Lord#serin::OnDisable";
donpcevent "CallMonster#serin::OnCall";
@@ -8534,9 +8533,9 @@ que_sign01,196,39,4 script Serin#serin 4_F_01,{
mes "to Rune-Midgard and";
mes "ask the Dark Lord to spare";
mes "you. Thank you so much...";
- set sign_q,200;
+ sign_q = 200;
getexp (checkre(3))?20000:200000,0;
- set $@sign_w2,0;
+ $@sign_w2 = 0;
donpcevent "Dark Lord#serin::OnDisable";
close2;
warp "umbala",132,203;
@@ -8556,7 +8555,7 @@ que_sign01,196,39,4 script Serin#serin 4_F_01,{
mes "stopping me? Hmpf.";
mes "Every fool must learn.";
mes "Prepare to die!^000000";
- set sign_q,134;
+ sign_q = 134;
donpcevent "Serin#serin::OnDisable";
donpcevent "Dark Lord#serin::OnDisable";
donpcevent "CallMonster#serin::OnCall";
@@ -8603,7 +8602,7 @@ que_sign01,196,39,4 script Serin#serin 4_F_01,{
mes "Farewell, now.";
mes "And good luck on";
mes "your travels, my friend...";
- set sign_q,135;
+ sign_q = 135;
close;
}
else if (sign_q == 135) {
@@ -8611,20 +8610,20 @@ que_sign01,196,39,4 script Serin#serin 4_F_01,{
mes "unconscious Serin";
mes "and returned to Niflheim.^000000";
close2;
- set sign_q,136;
- set $@sign_w2,0;
+ sign_q = 136;
+ $@sign_w2 = 0;
warp "que_sign01",117,137;
end;
}
else if (sign_q == 199) {
- set .@fail_s1,rand(1,800);
- set .@fail_s2,rand(1,700);
- set .@fail_s3,rand(1,600);
- set .@fail_s4,rand(1,500);
- set .@fail_s5,rand(1,400);
+ .@fail_s1 = rand(1,800);
+ .@fail_s2 = rand(1,700);
+ .@fail_s3 = rand(1,600);
+ .@fail_s4 = rand(1,500);
+ .@fail_s5 = rand(1,400);
if (countitem(2643) == 1) {
if (((sign_sq == 0) && (.@fail_s3 == 356)) || ((sign_sq == 1) && (.@fail_s2 == 356)) || (.@fail_s1 == 356)) {
- set sign_q,200;
+ sign_q = 200;
mes "[Serin]";
mes "Even though you tried";
mes "to stop me, I still don't wish";
@@ -8643,7 +8642,7 @@ que_sign01,196,39,4 script Serin#serin 4_F_01,{
mes "[Serin]";
mes "Farewell...";
close2;
- set $@sign_w2,0;
+ $@sign_w2 = 0;
warp "niflheim",30,156;
end;
}
@@ -8654,7 +8653,7 @@ que_sign01,196,39,4 script Serin#serin 4_F_01,{
mes "Please don't";
mes "try to stop me!";
close2;
- set sign_q,134;
+ sign_q = 134;
donpcevent "Serin#serin::OnDisable";
donpcevent "Dark Lord#serin::OnDisable";
donpcevent "CallMonster#serin::OnCall";
@@ -8663,7 +8662,7 @@ que_sign01,196,39,4 script Serin#serin 4_F_01,{
}
else {
if (((sign_sq == 0) && (.@fail_s5 == 356)) || ((sign_sq == 1) && (.@fail_s4 == 356)) || (.@fail_s3 == 356)) {
- set sign_q,200;
+ sign_q = 200;
mes "[Serin]";
mes "Even though you tried";
mes "to stop me, I still don't wish";
@@ -8682,7 +8681,7 @@ que_sign01,196,39,4 script Serin#serin 4_F_01,{
mes "[Serin]";
mes "Farewell...";
close2;
- set $@sign_w2,0;
+ $@sign_w2 = 0;
warp "niflheim",30,156;
end;
}
@@ -8693,7 +8692,7 @@ que_sign01,196,39,4 script Serin#serin 4_F_01,{
mes "Please don't";
mes "try to stop me!";
close2;
- set sign_q,134;
+ sign_q = 134;
donpcevent "Serin#serin::OnDisable";
donpcevent "Dark Lord#serin::OnDisable";
donpcevent "CallMonster#serin::OnCall";
@@ -8785,7 +8784,7 @@ que_sign01,197,195,4 script Serin#witch 4_F_01,{
next;
switch(select("I can't let you do this!:Okay, have it your way.")) {
case 1:
- set sign_q,125;
+ sign_q = 125;
close;
case 2:
mes "[Serin]";
@@ -8796,7 +8795,7 @@ que_sign01,197,195,4 script Serin#witch 4_F_01,{
next;
switch(select("I changed my mind for Rune-Midgard.:I do, and it's alright...")) {
case 1:
- set sign_q,125;
+ sign_q = 125;
close;
case 2:
mes "[Serin]";
@@ -8805,9 +8804,9 @@ que_sign01,197,195,4 script Serin#witch 4_F_01,{
mes "to Rune-Midgard and";
mes "ask the Dark Lord to spare";
mes "you. Thank you so much...";
- set sign_q,200;
+ sign_q = 200;
getexp (checkre(3))?20000:200000,0;
- set $@sign_w1,0;
+ $@sign_w1 = 0;
close2;
warp "umbala,",132,203;
end;
@@ -8856,7 +8855,7 @@ que_sign01,197,195,4 script Serin#witch 4_F_01,{
mes "human again so I can't give up";
mes "now! We'll have to battle!";
close2;
- set sign_q,126;
+ sign_q = 126;
donpcevent "CallMonster#witch::OnCall";
donpcevent "Serin#witch::OnDisable";
end;
@@ -8897,7 +8896,7 @@ que_sign01,197,195,4 script Serin#witch 4_F_01,{
mes "human again so I can't give up";
mes "now! We'll have to battle!";
close2;
- set sign_q,126;
+ sign_q = 126;
donpcevent "CallMonster#witch::OnCall";
donpcevent "Serin#witch::OnDisable";
end;
@@ -8944,7 +8943,7 @@ que_sign01,197,195,4 script Serin#witch 4_F_01,{
mes "And good luck on";
mes "your travels, my friend...";
delitem 7308,1; //Witch's_Potion
- set sign_q,127;
+ sign_q = 127;
close;
}
else if (sign_q == 127) {
@@ -8952,21 +8951,21 @@ que_sign01,197,195,4 script Serin#witch 4_F_01,{
mes "unconscious Serin";
mes "and returned to Niflheim.^000000";
close2;
- set sign_q,128;
- set $@sign_w1,0;
+ sign_q = 128;
+ $@sign_w1 = 0;
warp "que_sign01",117,137;
end;
}
else if (sign_q == 198) {
- set .@fail_s1,rand(1,1000);
- set .@fail_s2,rand(1,900);
- set .@fail_s3,rand(1,800);
- set .@fail_s4,rand(1,700);
- set .@fail_s5,rand(1,600);
+ .@fail_s1 = rand(1,1000);
+ .@fail_s2 = rand(1,900);
+ .@fail_s3 = rand(1,800);
+ .@fail_s4 = rand(1,700);
+ .@fail_s5 = rand(1,600);
if (countitem(2643) == 1) {
if (((sign_sq == 0) && (.@fail_s3 == 356)) || ((sign_sq == 1) && (.@fail_s2 == 356)) || (.@fail_s1 == 356)) {
delitem 7308,1; //Witch's_Potion
- set sign_q,200;
+ sign_q = 200;
mes "[Serin]";
mes "Even though you tried";
mes "to stop me, I still don't wish";
@@ -8993,7 +8992,7 @@ que_sign01,197,195,4 script Serin#witch 4_F_01,{
mes "to help me summon";
mes "Dark Lord. Farewell...";
close2;
- set $@sign_w1,0;
+ $@sign_w1 = 0;
warp "niflheim",30,156;
end;
}
@@ -9004,7 +9003,7 @@ que_sign01,197,195,4 script Serin#witch 4_F_01,{
mes "Please don't";
mes "try to stop me!";
close2;
- set sign_q,126;
+ sign_q = 126;
donpcevent "Serin#witch::OnDisable";
donpcevent "CallMonster#witch::OnCall";
end;
@@ -9013,7 +9012,7 @@ que_sign01,197,195,4 script Serin#witch 4_F_01,{
else {
if (((sign_sq == 0) && (.@fail_s5 == 356)) || ((sign_sq == 1) && (.@fail_s4 == 356)) || (.@fail_s3 == 356)) {
delitem 7308,1; //Witch's_Potion
- set sign_q,200;
+ sign_q = 200;
mes "[Serin]";
mes "Even though you tried";
mes "to stop me, I still don't wish";
@@ -9040,7 +9039,7 @@ que_sign01,197,195,4 script Serin#witch 4_F_01,{
mes "to help me summon";
mes "Dark Lord. Farewell...";
close2;
- set $@sign_w1,0;
+ $@sign_w1 = 0;
warp "niflheim",30,156;
end;
}
@@ -9051,7 +9050,7 @@ que_sign01,197,195,4 script Serin#witch 4_F_01,{
mes "Please don't";
mes "try to stop me!";
close2;
- set sign_q,126;
+ sign_q = 126;
donpcevent "Serin#witch::OnDisable";
donpcevent "CallMonster#witch::OnCall";
end;
@@ -9065,7 +9064,7 @@ que_sign01,197,195,4 script Serin#witch 4_F_01,{
mes "you belong.";
mes ".......";
close2;
- set $@sign_w1,0;
+ $@sign_w1 = 0;
warp "umbala",132,203;
end;
}
@@ -9160,14 +9159,14 @@ niflheim,313,70,4 script Pleasant-Featured Lady#s 4_F_01,{
mes "You really are a kind person.";
mes "Now, in order to help the other";
mes "misfortunate in Niflheim, you've got to remember to gain their trust first and get close to them, okay?";
- set sign_q,83;
+ sign_q = 83;
close;
case 2:
mes "[Serin]";
mes "I... I understand.";
mes "Although I asked too much in asking you to help the other people here, I was hoping you'd realize that";
mes "would be the best way to learn clues for a way to escape for now.";
- set sign_q,84;
+ sign_q = 84;
close;
}
}
@@ -9205,8 +9204,8 @@ niflheim,313,70,4 script Pleasant-Featured Lady#s 4_F_01,{
mes "your help. This is all I have,";
mes "and it means a lot to me, but";
mes "I want you to have this ring. It's the only way I can properly express my gratitude for your aid so far.";
- set sign_q,85;
- set sign_sq,0;
+ sign_q = 85;
+ sign_sq = 0;
getitem 2642,1; //Serin's_Gold_Ring
close;
}
@@ -9231,7 +9230,7 @@ niflheim,313,70,4 script Pleasant-Featured Lady#s 4_F_01,{
mes "Niflheim, you'll find that";
mes "some of the deceased here are";
mes "different than most of the others in this town. Please talk to them and see if you can be of any help.";
- set sign_q,87;
+ sign_q = 87;
close;
}
else if (sign_q == 85) {
@@ -9247,7 +9246,7 @@ niflheim,313,70,4 script Pleasant-Featured Lady#s 4_F_01,{
mes "some useful information,";
mes "so it might be a good";
mes "idea to speak with him.";
- set sign_q,86;
+ sign_q = 86;
close;
}
else if (sign_q < 92) {
@@ -9350,7 +9349,7 @@ niflheim,313,70,4 script Pleasant-Featured Lady#s 4_F_01,{
mes "somehow I don't really belong";
mes "here in Niflheim.";
emotion e_dots;
- set sign_q,93;
+ sign_q = 93;
close;
}
}
@@ -9373,7 +9372,7 @@ niflheim,313,70,4 script Pleasant-Featured Lady#s 4_F_01,{
mes "has been sealed away in the";
mes "world of Rune-Midgard...";
emotion e_dots;
- set sign_q,94;
+ sign_q = 94;
close;
}
else if (sign_q == 94) {
@@ -9422,13 +9421,13 @@ niflheim,313,70,4 script Pleasant-Featured Lady#s 4_F_01,{
mes "[Serin]";
mes "Then I will";
mes "wait for you here.";
- set sign_q,95;
+ sign_q = 95;
close;
case 2:
mes "[Serin]";
mes "Alright...";
mes "It's your decision.";
- set sign_q,95;
+ sign_q = 95;
close;
}
case 2:
@@ -9439,7 +9438,7 @@ niflheim,313,70,4 script Pleasant-Featured Lady#s 4_F_01,{
mes "of obtaining the symbol,";
mes "you should also be able";
mes "to protect it from abuse.";
- set sign_q,95;
+ sign_q = 95;
close;
}
}
@@ -9493,7 +9492,7 @@ niflheim,313,70,4 script Pleasant-Featured Lady#s 4_F_01,{
mes "There is this rumor";
mes "going around, but I don't";
mes "know if you want to hear it...";
- set sign_q,131;
+ sign_q = 131;
close;
case 2:
mes "[Serin]";
@@ -9647,7 +9646,7 @@ niflheim,313,70,4 script Pleasant-Featured Lady#s 4_F_01,{
mes "do it somewhere inside town";
mes "to avoid attention. Hmmm...";
mes "I'll send you there once I figure out where the circle might be.";
- set sign_q,132;
+ sign_q = 132;
close;
}
else if (sign_q == 132) {
@@ -9670,7 +9669,7 @@ niflheim,313,70,4 script Pleasant-Featured Lady#s 4_F_01,{
mes "Okay~";
mes "Let's go...";
close2;
- set $@sign_w2,1;
+ $@sign_w2 = 1;
warp "que_sign01",199,36;
end;
case 2:
@@ -9694,8 +9693,8 @@ niflheim,313,70,4 script Pleasant-Featured Lady#s 4_F_01,{
switch(select("Follow the trace.:Ignore it.")) {
case 1:
close2;
- set sign_q,199;
- set $@sign_w2,1;
+ sign_q = 199;
+ $@sign_w2 = 1;
warp "que_sign01",199,36;
end;
case 2:
@@ -9809,7 +9808,7 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{
mes "retrieve my other";
mes "spell book for me,";
mes "adventurer?";
- set sign_sq,0;
+ sign_sq = 0;
close;
}
else {
@@ -9901,7 +9900,7 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{
mes "is searching for her lost mother, Angrboda. Now, if you could find where Angrboda has been";
mes "sealed away...";
delitem 7304,1; //Witch's_Spell_Book
- set sign_q,92;
+ sign_q = 92;
close;
}
else {
@@ -9996,7 +9995,7 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{
mes "if you can find any remaining";
mes "trace of her.";
delitem 7305,1; //Authority_Of_Nine_World
- set sign_q,119;
+ sign_q = 119;
close;
case 2:
mes "[Kirkena]";
@@ -10017,7 +10016,7 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{
mes "strongly infused with her";
mes "vibes. It's really tough to find something like this that resonates so strongly with its owner.";
delitem 2642,1; //Serin's_Gold_Ring
- set sign_q,120;
+ sign_q = 120;
close;
}
else {
@@ -10026,7 +10025,7 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{
mes "This isn't good. She's hid";
mes "herself already and it might";
mes "be too late to find any trace of her. I'll have to do something...";
- set sign_q,121;
+ sign_q = 121;
close;
}
}
@@ -10077,10 +10076,10 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{
mes "command the guards of Niflheim";
mes "to just let her pass and re-enter the world of the living. But your symbol can be used just once...";
next;
- set .@kir_talk1,1;
+ .@kir_talk1 = 1;
if ((.@kir_talk1 == 1) && (.@kir_talk2 == 1) && (.@kir_talk3 == 1)) {
- if (sign_q == 120) set sign_q,122;
- else if (sign_q == 121) set sign_q,123;
+ if (sign_q == 120) sign_q = 122;
+ else if (sign_q == 121) sign_q = 123;
}
break;
case 2:
@@ -10130,10 +10129,10 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{
mes "sphere of influence. I don't think she'll help Dark Lord, but she";
mes "also won't get in his way.";
next;
- set .@kir_talk2,1;
+ .@kir_talk2 = 1;
if ((.@kir_talk1 == 1) && (.@kir_talk2 == 1) && (.@kir_talk3 == 1)) {
- if (sign_q == 120) set sign_q,122;
- else if (sign_q == 121) set sign_q,123;
+ if (sign_q == 120) sign_q = 122;
+ else if (sign_q == 121) sign_q = 123;
}
break;
case 3:
@@ -10157,10 +10156,10 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{
mes "to avoid drinking this";
mes "for quite a while now...";
next;
- set .@kir_talk3,1;
+ .@kir_talk3 = 1;
if ((.@kir_talk1 == 1) && (.@kir_talk2 == 1) && (.@kir_talk3 == 1)) {
- if (sign_q == 120) set sign_q,122;
- else if (sign_q == 121) set sign_q,123;
+ if (sign_q == 120) sign_q = 122;
+ else if (sign_q == 121) sign_q = 123;
}
}
if ((sign_q == 122) || (sign_q == 123)) close;
@@ -10192,7 +10191,7 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{
mes "forget to bring back all";
mes "of the vouchers I've";
mes "given you, alright?";
- set sign_q,124;
+ sign_q = 124;
getitem 7308,1; //Witch's_Potion
getitem 2643,1; //Serin's_Gold_Ring_
getitem 7313,5; //Seal_Of_Witch
@@ -10228,7 +10227,7 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{
mes "forget to bring back all of";
mes "the Witch's Medals that";
mes "I've lent to you, alright?";
- set sign_q,124;
+ sign_q = 124;
getitem 7308,1; //Witch's_Potion
getitem 7313,5; //Seal_Of_Witch
close;
@@ -10252,7 +10251,7 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{
switch(select("Yes:No")) {
case 1:
close2;
- set $@sign_w1,1;
+ $@sign_w1 = 1;
warp "que_sign01",195,189;
end;
case 2:
@@ -10313,7 +10312,7 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{
mes "help. Once you finish here,";
mes "please visit our queen, Lady Hell. I believe she wants to see you for some reason, "+strcharinfo(0)+"...";
delitem 7313,5; //Seal_Of_Witch
- set sign_q,129;
+ sign_q = 129;
getexp (checkre(3))?50000:500000,0;
close;
}
@@ -10342,7 +10341,7 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{
mes "help. Once you finish here,";
mes "please visit our queen, Lady Hell. I believe she wants to see you for some reason...";
delitem 7313,5; //Seal_Of_Witch
- set sign_q,130;
+ sign_q = 130;
getexp (checkre(3))?30000:300000,0;
close;
}
@@ -10367,8 +10366,8 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{
mes "you so much for your";
mes "help. Once you finish here,";
mes "please visit our queen, Lady Hell. I believe she wants to see you for some reason...";
- if (countitem(2643) == 1) set sign_q,129;
- else set sign_q,130;
+ if (countitem(2643) == 1) sign_q = 129;
+ else sign_q = 130;
getexp (checkre(3))?30000:300000,0;
close;
}
@@ -10398,7 +10397,7 @@ que_sign01,122,141,4 script Witch#s 4_F_NFDEADMGCIAN,{
mes "ordeals for her sake...";
if (countitem(2642) > 0) delitem 2642,1; //Serin's_Gold_Ring
if (countitem(7308) > 0) delitem 7308,1; //Witch's_Potion
- set sign_q,201;
+ sign_q = 201;
getexp (checkre(3))?20000:200000,0;
close;
}
@@ -10469,7 +10468,7 @@ OnTouch:
mes "a living human back to one";
mes "of the towns in your realm.";
delitem 7304,1; //Witch's_Spell_Book
- set sign_sq,3;
+ sign_sq = 3;
getitem 7309,1; //Wing_Of_Crow
close;
}
@@ -10502,7 +10501,7 @@ OnTouch:
mes "Here, let me give you";
mes "my last one. Now, hurry";
mes "up and save that lost child!";
- set sign_sq,4;
+ sign_sq = 4;
getitem 7309,1; //Wing_Of_Crow
close;
}
@@ -10538,7 +10537,7 @@ OnTouch:
mes "That's impossible!";
mes "Wait, give me a moment to";
mes "think. What could be wrong?";
- set sign_sq,7;
+ sign_sq = 7;
close;
}
else if (sign_sq == 7) {
@@ -10554,7 +10553,7 @@ OnTouch:
mes "that she's dead. It's tragic,";
mes "but there's no way for her";
mes "to get out of here...";
- set sign_sq,8;
+ sign_sq = 8;
close;
}
else {
@@ -10620,7 +10619,7 @@ OnTouch:
next;
switch(select("Alright, I understand.:How am I supposed to get the symbol?")) {
case 1:
- set sign_q,89;
+ sign_q = 89;
close;
case 2:
mes "[Kirkena]";
@@ -10650,7 +10649,7 @@ OnTouch:
mes "through the right side of the";
mes "portrait on the second floor^000000";
mes "of this castle, "+strcharinfo(0)+".";
- set sign_q,92;
+ sign_q = 92;
next;
mes "[Kirkena]";
mes "If you use that piano";
@@ -10695,7 +10694,7 @@ OnTouch:
mes "to see me, go ahead and use";
mes "the passage to the right of the portrait on the second floor";
mes "of the castle.";
- set sign_q,90;
+ sign_q = 90;
close;
}
}
@@ -10735,7 +10734,7 @@ OnTouch:
mes "through the right side of the";
mes "portrait on the second";
mes "floor of this castle.";
- set sign_q,92;
+ sign_q = 92;
close;
}
end;
@@ -10796,7 +10795,7 @@ que_sign01,45,227,4 script Queen of the Dead 2_F_SIGN1,{
mes "^3355FFYou received the";
mes "Symbol of the Nine Realms.^000000";
delitem 7307,1; //Whisper_Of_Soul
- set sign_q,118;
+ sign_q = 118;
getitem 7305,1; //Authority_Of_Nine_World
close;
}
@@ -10854,7 +10853,7 @@ que_sign01,45,227,4 script Queen of the Dead 2_F_SIGN1,{
mes "you something truly";
mes "interesting...^000000";
delitem 7178,1; //Star's_Sob
- set sign_q,143;
+ sign_q = 143;
close;
case 2:
mes "[Lady Hell]";
@@ -10900,7 +10899,7 @@ que_sign01,45,227,4 script Queen of the Dead 2_F_SIGN1,{
mes "you humans call the";
mes "Sobbing Starlight.^000000";
next;
- set sign_q,144;
+ sign_q = 144;
getitem 7025,1; //Lucifer's_Lament
mes "[Lady Hell]";
mes "^8C1717Although you may also know";
@@ -10965,8 +10964,8 @@ niflheim,146,241,0 script Depressing Man 4_M_JOB_WIZARD,{
next;
switch(select("To prove my courage:For honor:To help people")) {
case 1:
- if (sign_sq > 2) set sign_sq,0;
- else set sign_sq,sign_sq+1;
+ if (sign_sq > 2) sign_sq = 0;
+ else sign_sq += 1;
case 2:
break;
}
@@ -10988,7 +10987,7 @@ niflheim,146,241,0 script Depressing Man 4_M_JOB_WIZARD,{
mes "I think you should be";
mes "really careful if you find";
mes "yourself dealing with Serin...";
- set sign_q,88;
+ sign_q = 88;
close;
case 2:
mes "[Gen]";
@@ -11022,7 +11021,7 @@ niflheim,146,241,0 script Depressing Man 4_M_JOB_WIZARD,{
mes "and the fact that she used";
mes "to be a great wizard when she";
mes "was alive bothers me. She's a lot different than the rest of the guys stuck in Niflheim...";
- set sign_q,88;
+ sign_q = 88;
close;
}
}
@@ -11049,7 +11048,7 @@ niflheim,146,241,0 script Depressing Man 4_M_JOB_WIZARD,{
mes "too much. First, go and see";
mes "the witch and ask her to";
mes "help you out, okay?";
- set sign_q,88;
+ sign_q = 88;
close;
}
}
@@ -11202,7 +11201,7 @@ nif_in,140,177,0 script #Switch HIDDEN_NPC,{
end;
}
if (sign_q > 89) {
- if (sign_q == 126) set sign_q,198;
+ if (sign_q == 126) sign_q = 198;
warp "que_sign01",115,135;
end;
}
@@ -11309,7 +11308,7 @@ niflheim,102,54,4 script Mad Man#s 8_DOPPEL,{
mes "lowest part of Glast Heim to";
mes "find Angrboda's soul pieces.";
next;
- set .@select_s,rand(1,5);
+ .@select_s = rand(1,5);
if (.@select_s == 1) {
mes "[Laichin]";
mes "Check out the";
@@ -11361,10 +11360,10 @@ niflheim,102,54,4 script Mad Man#s 8_DOPPEL,{
mes "[Laichin]";
mes "Alright, kid.";
mes "Have fun!";
- if (.@select_s == 1) set sign_q,97;
- else if (.@select_s == 2) set sign_q,98;
- else if (.@select_s == 3) set sign_q,99;
- else if (.@select_s == 4) set sign_q,100;
+ if (.@select_s == 1) sign_q = 97;
+ else if (.@select_s == 2) sign_q = 98;
+ else if (.@select_s == 3) sign_q = 99;
+ else if (.@select_s == 4) sign_q = 100;
else {
mes "[Laichin]";
mes "Heh heh!";
@@ -11390,10 +11389,10 @@ niflheim,102,54,4 script Mad Man#s 8_DOPPEL,{
mes "you can't figure out";
mes "where the soul pieces are!";
Zeny -= 40000;
- if (.@select_s == 1) set sign_q,97;
- else if (.@select_s == 2) set sign_q,98;
- else if (.@select_s == 3) set sign_q,99;
- else if (.@select_s == 4) set sign_q,100;
+ if (.@select_s == 1) sign_q = 97;
+ else if (.@select_s == 2) sign_q = 98;
+ else if (.@select_s == 3) sign_q = 99;
+ else if (.@select_s == 4) sign_q = 100;
else {
mes "[Laichin]";
mes "Hehehehe~";
@@ -11426,10 +11425,10 @@ niflheim,102,54,4 script Mad Man#s 8_DOPPEL,{
mes "For very small, you gotta";
mes "look near the center. Got it?";
Zeny -= 60000;
- if (.@select_s == 1) set sign_q,101;
- else if (.@select_s == 2) set sign_q,102;
- else if (.@select_s == 3) set sign_q,103;
- else if (.@select_s == 4) set sign_q,104;
+ if (.@select_s == 1) sign_q = 101;
+ else if (.@select_s == 2) sign_q = 102;
+ else if (.@select_s == 3) sign_q = 103;
+ else if (.@select_s == 4) sign_q = 104;
else {
mes "[Laichin]";
mes "Eh heh";
@@ -11487,10 +11486,10 @@ niflheim,102,54,4 script Mad Man#s 8_DOPPEL,{
mes "For very small, you gotta";
mes "look near the center. Got it?";
Zeny -= 20000;
- if (sign_q == 97) set sign_q,101;
- else if (sign_q == 98) set sign_q,102;
- else if (sign_q == 99) set sign_q,103;
- else if (sign_q == 100) set sign_q,104;
+ if (sign_q == 97) sign_q = 101;
+ else if (sign_q == 98) sign_q = 102;
+ else if (sign_q == 99) sign_q = 103;
+ else if (sign_q == 100) sign_q = 104;
else {
mes "[Laichin]";
mes "Bwahahaha!";
@@ -11698,9 +11697,9 @@ OnTouch:
mes "a fighting chance and let";
mes "you cast a spell.";
next;
- if (select("Clover:Klaatu:Kleitos") == 2) set .@spell,.@spell+1;
- if (select("Verit:Veritas:Verata") == 3) set .@spell,.@spell+1;
- if (select("Necktie:Necklace:Nero:^FFFFFFNictu^000000") == 4) set .@spell,.@spell+1;
+ if (select("Clover:Klaatu:Kleitos") == 2) .@spell += 1;
+ if (select("Verit:Veritas:Verata") == 3) .@spell += 1;
+ if (select("Necktie:Necklace:Nero:^FFFFFFNictu^000000") == 4) .@spell += 1;
if (.@spell == 3) {
if (rand(1,5) == 5) {
mes "[Ashe Bruce]";
@@ -11723,12 +11722,12 @@ OnTouch:
mes "weak, pathetic witch!";
if (sign_q == 83) {
if(sign_sq == 0) {
- set sign_sq,1;
+ sign_sq = 1;
getitem 7304,1; //Witch's_Spell_Book
}
}
else if (sign_q == 90) {
- set sign_q,91;
+ sign_q = 91;
getitem 7304,1; //Witch's_Spell_Book
}
close;
@@ -11797,8 +11796,8 @@ OnTouch:
next;
switch(select("Just my opinion.:It's the truth!")) {
case 1:
- if (sign_sq > 1) set sign_sq,0;
- else set sign_sq,sign_sq+1;
+ if (sign_sq > 1) sign_sq = 0;
+ else sign_sq += 1;
case 2:
break;
}
@@ -11841,7 +11840,7 @@ OnTouch:
mes "be a good idea if";
mes "you talk to someone";
mes "in Niflheim named ^FF0000Gen^000000.";
- set sign_q,87;
+ sign_q = 87;
close;
}
}
@@ -11883,7 +11882,7 @@ OnTouch:
mes "singing man told me to";
mes "go meet a witch, but it's";
mes "too scary to go outside...";
- set sign_sq,2;
+ sign_sq = 2;
close;
case 2:
mes "[Alakina Ann]";
@@ -11910,7 +11909,7 @@ OnTouch:
mes "this to go back home?";
mes "Thank you! Thank you so much!";
delitem 7309,countitem(7309); //Wing_Of_Crow
- set sign_sq,5;
+ sign_sq = 5;
close;
}
else {
@@ -11931,7 +11930,7 @@ OnTouch:
mes "This wing doesn't do";
mes "anything! I-I'm still here";
mes "in this scary place! ^333333*Cries*^000000";
- set sign_sq,6;
+ sign_sq = 6;
emotion e_sob;
close;
}
@@ -12024,7 +12023,7 @@ function script F_SignSeal {
mes "with you. Please guide";
mes "me to the queen of the dead...^000000";
delitem 7306,3; //Fragment_Of_Soul
- set sign_q,117;
+ sign_q = 117;
getitem 7307,1; //Whisper_Of_Soul
}
else {
@@ -12041,10 +12040,10 @@ function script F_SignSeal {
gl_dun02,262,265,0 script Mysterious Energy#1 HIDDEN_NPC,{
callfunc "F_UpdateSignVars";
- set .@crash_s,rand(1,1000);
+ .@crash_s = rand(1,1000);
if (sign_q == 101) {
callfunc "F_SignSeal",.@crash_s;
- set sign_q,105;
+ sign_q = 105;
close;
}
else {
@@ -12057,11 +12056,11 @@ gl_dun02,262,265,0 script Mysterious Energy#1 HIDDEN_NPC,{
// Angrboda's Seal 2 big 4 O'clock 270 198
gl_dun02,271,100,0 script Mysterious Energy#2 HIDDEN_NPC,{
callfunc "F_UpdateSignVars";
- set .@crash_s,rand(1,1000);
+ .@crash_s = rand(1,1000);
if ((sign_q == 102) || (sign_q == 104)) {
callfunc "F_SignSeal",.@crash_s;
- if (sign_q == 102) set sign_q,106;
- else if (sign_q == 104) set sign_q,108;
+ if (sign_q == 102) sign_q = 106;
+ else if (sign_q == 104) sign_q = 108;
close;
}
else {
@@ -12074,12 +12073,12 @@ gl_dun02,271,100,0 script Mysterious Energy#2 HIDDEN_NPC,{
// Angrboda's Seal 3 big 5 O'clock 268 32
gl_dun02,268,32,0 script Mysterious Energy#3 HIDDEN_NPC,{
callfunc "F_UpdateSignVars";
- set .@crash_s,rand(1,1000);
+ .@crash_s = rand(1,1000);
if ((sign_q == 103) || (sign_q == 105) || (sign_q == 108)) {
callfunc "F_SignSeal",.@crash_s;
- if (sign_q == 103) set sign_q,107;
- else if (sign_q == 105) set sign_q,109;
- else if (sign_q == 108) set sign_q,112;
+ if (sign_q == 103) sign_q = 107;
+ else if (sign_q == 105) sign_q = 109;
+ else if (sign_q == 108) sign_q = 112;
close;
}
else {
@@ -12092,10 +12091,10 @@ gl_dun02,268,32,0 script Mysterious Energy#3 HIDDEN_NPC,{
// Angrboda's Seal 4 big 7 O'clock 16 26
gl_dun02,16,26,0 script Mysterious Energy#4 HIDDEN_NPC,{
callfunc "F_UpdateSignVars";
- set .@crash_s,rand(1,1000);
+ .@crash_s = rand(1,1000);
if (sign_q == 109) {
callfunc "F_SignSeal",.@crash_s;
- if (sign_q == 109) set sign_q,113;
+ if (sign_q == 109) sign_q = 113;
close;
}
else {
@@ -12108,11 +12107,11 @@ gl_dun02,16,26,0 script Mysterious Energy#4 HIDDEN_NPC,{
// Angrboda's Seal 5 big 11 O'clock 42 251
gl_dun02,42,251,0 script Mysterious Energy#5 HIDDEN_NPC,{
callfunc "F_UpdateSignVars";
- set .@crash_s,rand(1,1000);
+ .@crash_s = rand(1,1000);
if ((sign_q == 106) || (sign_q == 112)) {
callfunc "F_SignSeal",.@crash_s;
- if (sign_q == 106) set sign_q,110;
- else if (sign_q == 112) set sign_q,116;
+ if (sign_q == 106) sign_q = 110;
+ else if (sign_q == 112) sign_q = 116;
close;
}
else {
@@ -12125,10 +12124,10 @@ gl_dun02,42,251,0 script Mysterious Energy#5 HIDDEN_NPC,{
// Angrboda's Seal 6 small 11 O'clock 123 234
gl_dun02,123,234,0 script Mysterious Energy#6 HIDDEN_NPC,{
callfunc "F_UpdateSignVars";
- set .@crash_s,rand(1,1000);
+ .@crash_s = rand(1,1000);
if (sign_q == 107) {
callfunc "F_SignSeal",.@crash_s;
- if (sign_q == 107) set sign_q,111;
+ if (sign_q == 107) sign_q = 111;
close;
}
else if (sign_q == 116) {
@@ -12145,11 +12144,11 @@ gl_dun02,123,234,0 script Mysterious Energy#6 HIDDEN_NPC,{
// Angrboda's Seal 7 small 6 O'clock 140 72
gl_dun02,140,72,0 script Mysterious Energy#7 HIDDEN_NPC,{
callfunc "F_UpdateSignVars";
- set .@crash_s,rand(1,1000);
+ .@crash_s = rand(1,1000);
if ((sign_q == 110) || (sign_q == 111)) {
callfunc "F_SignSeal",.@crash_s;
- if (sign_q == 110) set sign_q,114;
- else if (sign_q == 111) set sign_q,115;
+ if (sign_q == 110) sign_q = 114;
+ else if (sign_q == 111) sign_q = 115;
close;
}
else if (sign_q == 113) {
@@ -12166,7 +12165,7 @@ gl_dun02,140,72,0 script Mysterious Energy#7 HIDDEN_NPC,{
// Angrboda's Seal 8 very small 119 182
gl_dun02,119,182,0 script Mysterious Energy#8 HIDDEN_NPC,{
callfunc "F_UpdateSignVars";
- set .@crash_s,rand(1,1000);
+ .@crash_s = rand(1,1000);
if ((sign_q == 114) || (sign_q == 115)) {
callfunc "F_SignSeal",.@crash_s,1;
close;
@@ -12237,7 +12236,7 @@ OnInit:
end;
OnTouch:
- set geffenia_warp,rand(1,4);
+ geffenia_warp = rand(1,4);
if (geffenia_warp == 1) warp "gefenia01",58,169;
else if (geffenia_warp == 2) warp "gefenia02",116,115;
else if (geffenia_warp == 3) warp "gefenia03",130,206;
@@ -12336,7 +12335,7 @@ OnTimer600000:
end;
OnTimer620000:
- set $@sign_w2,0;
+ $@sign_w2 = 0;
donpcevent "Starter#serin::OnEnable";
donpcevent "Warp#serin::OnDisable";
donpcevent "Serin#serin::OnEnable";
@@ -12386,7 +12385,7 @@ OnTimer620000:
donpcevent "Warp#witch::OnDisable";
donpcevent "CallMonster#witch::OnReset";
donpcevent "Serin#witch::OnEnable";
- set $@sign_w1,0;
+ $@sign_w1 = 0;
stopnpctimer;
end;
}
@@ -12456,7 +12455,7 @@ OnTouch:
close;
}
else {
- set $@sign_w1,1;
+ $@sign_w1 = 1;
warp "que_sign01",197,190;
end;
}
@@ -12468,89 +12467,89 @@ function script F_UpdateSignVars {
// P.S. I want to slit someone's throat.
// Attmept to save using the main (old) tracting variable
- if (signquest <= 4) { set sign_q,signquest; }
+ if (signquest <= 4) { sign_q = signquest; }
// ariantest = 5-11
// gaanantest = 12 & 13
- else if (signquest == 5) { set sign_q,14; }
- else if (signquest == 6) { set sign_q,15; }
+ else if (signquest == 5) { sign_q = 14; }
+ else if (signquest == 6) { sign_q = 15; }
// SighJore = 16
- else if (signquest == 7) { set sign_q,17; }
+ else if (signquest == 7) { sign_q = 17; }
// ScareAlchSign = 18
- else if (signquest == 8) { set sign_q,19; }
- else if (signquest == 9) { set sign_q,20; }
+ else if (signquest == 8) { sign_q = 19; }
+ else if (signquest == 9) { sign_q = 20; }
// There is noequivilent for sign_q 21-24
- else if (signquest == 10) { set sign_q,25; }
+ else if (signquest == 10) { sign_q = 25; }
// There is noequivilent for sign_q 26
- else if (signquest == 11) { set sign_q,27; }
+ else if (signquest == 11) { sign_q = 27; }
// deales_test = 28-30
// 31 is not used.
// SignDance = 32 & 33
// there is no equivilent to sign_q 34
- else if (signquest == 12) { set sign_q,35; }
+ else if (signquest == 12) { sign_q = 35; }
// bakerlan_test - 36-42
// there is no equivilent to sign_q 43-45
// bakerlan_test - 46-52
- else if (signquest == 13) { set sign_q,53; }
- else if ((signquest >= 14) && (signquest <= 15)) { set sign_q,54; }
- else if ((signquest >= 16) && (signquest <= 18)) { set sign_q,signquest+39; }
+ else if (signquest == 13) { sign_q = 53; }
+ else if ((signquest >= 14) && (signquest <= 15)) { sign_q = 54; }
+ else if ((signquest >= 16) && (signquest <= 18)) { sign_q = signquest+39; }
// signanvil = 58-61
- else if ((signquest == 19) && (countitem(7278))) { set sign_q,61; }
+ else if ((signquest == 19) && (countitem(7278))) { sign_q = 61; }
// there is no equivilent to sign_q 62-64
- else if (signquest == 20) { set sign_q,65; }
+ else if (signquest == 20) { sign_q = 65; }
// there is no equivilent to sign_q 66-68
- else if (signquest == 21) { set sign_q,69; }
- else if ((signquest >= 22) && (signquest <= 28)) { set sign_q,signquest+48; } // 70-76
+ else if (signquest == 21) { sign_q = 69; }
+ else if ((signquest >= 22) && (signquest <= 28)) { sign_q = signquest+48; } // 70-76
// there is no equivilent to sign_q 77
- else if ((signquest >= 29) && (signquest <= 34)) { set sign_q,signquest+49; } // 78-83
- else if (signquest == 35) { set sign_q,83; set sign_sq,1; }
- else if (signquest == 36) { set sign_q,83; set sign_sq,1; }
- else if (signquest == 37) { set sign_q,83; set sign_sq,2; }
- else if (signquest == 38) { set sign_q,83; set sign_sq,3; }
+ else if ((signquest >= 29) && (signquest <= 34)) { sign_q = signquest+49; } // 78-83
+ else if (signquest == 35) { sign_q = 83; sign_sq = 1; }
+ else if (signquest == 36) { sign_q = 83; sign_sq = 1; }
+ else if (signquest == 37) { sign_q = 83; sign_sq = 2; }
+ else if (signquest == 38) { sign_q = 83; sign_sq = 3; }
// there is no equivilent to sign_sq 4
- else if (signquest == 39) { set sign_q,83; set sign_sq,5; }
- else if (signquest == 40) { set sign_q,83; set sign_sq,6; }
- else if (signquest == 41) { set sign_q,83; set sign_sq,7; }
- else if (signquest == 42) { set sign_q,83; set sign_sq,8; }
+ else if (signquest == 39) { sign_q = 83; sign_sq = 5; }
+ else if (signquest == 40) { sign_q = 83; sign_sq = 6; }
+ else if (signquest == 41) { sign_q = 83; sign_sq = 7; }
+ else if (signquest == 42) { sign_q = 83; sign_sq = 8; }
// there is no equivilent to sign_q 84
- else if ((signquest >= 43) && (signquest <= 48)) { set sign_q,signquest+42; } // 85-90
+ else if ((signquest >= 43) && (signquest <= 48)) { sign_q = signquest+42; } // 85-90
// 91-92
- else if ((signquest >= 49) && (signquest <= 52)) { set sign_q,signquest+44; } // 93-96
+ else if ((signquest >= 49) && (signquest <= 52)) { sign_q = signquest+44; } // 93-96
// signlaichin97-99
- else if (signquest == 53) { set sign_q,100; }
+ else if (signquest == 53) { sign_q = 100; }
// 101-116
- else if (signquest == 54) { set sign_q,117; }
- else if (signquest == 55) { set sign_q,118; }
+ else if (signquest == 54) { sign_q = 117; }
+ else if (signquest == 55) { sign_q = 118; }
// 119-126
- else if (signquest == 56) { set sign_q,127; }
+ else if (signquest == 56) { sign_q = 127; }
// 128
- else if (signquest == 57) { set sign_q,129; }
- else if (signquest == 58) { set sign_q,130; }
+ else if (signquest == 57) { sign_q = 129; }
+ else if (signquest == 58) { sign_q = 130; }
// 131-136
- else if ((signquest >= 59) && (signquest <= 66)) { set sign_q,signquest+78; } // 137-144
+ else if ((signquest >= 59) && (signquest <= 66)) { sign_q = signquest+78; } // 137-144
// 144-199
// Attmept to save using the intermediate variables.
- if (sign_fail == 1) { set sign_q,200; }
- else if (sign_fail >= 2) { set sign_q,201; }
+ if (sign_fail == 1) { sign_q = 200; }
+ else if (sign_fail >= 2) { sign_q = 201; }
- if (ariantest >= 2) { set sign_q,ariantest+3; }
- if (gaanantest == 1) { set sign_q,12; }
+ if (ariantest >= 2) { sign_q = ariantest+3; }
+ if (gaanantest == 1) { sign_q = 12; }
- if (SignJore == 1) { set sign_q,16; }
- if (ScareAlchSign == 1) { set sign_q,18; }
+ if (SignJore == 1) { sign_q = 16; }
+ if (ScareAlchSign == 1) { sign_q = 18; }
- if (dearles_test == 1) { set sign_q,28; }
- else if (dearles_test == 2) { set sign_q,29; }
- else if (dearles_test == 3) { set sign_q,30; }
+ if (dearles_test == 1) { sign_q = 28; }
+ else if (dearles_test == 2) { sign_q = 29; }
+ else if (dearles_test == 3) { sign_q = 30; }
- if (SignDance == 1) { set sign_q,32; }
- else if (SignDance == 2) { set sign_q,33; }
+ if (SignDance == 1) { sign_q = 32; }
+ else if (SignDance == 2) { sign_q = 33; }
- if ((bakerlan_test >= 1) && (bakerlan_test <= 3)) { set sign_q,bakerlan_test+35; }
- else if ((bakerlan_test >= 4) && (bakerlan_test <= 6)) { set sign_q,bakerlan_test+36; }
- else if ((bakerlan_test >= 7) && (bakerlan_test <= 13)) { set sign_q,bakerlan_test+39; }
+ if ((bakerlan_test >= 1) && (bakerlan_test <= 3)) { sign_q = bakerlan_test+35; }
+ else if ((bakerlan_test >= 4) && (bakerlan_test <= 6)) { sign_q = bakerlan_test+36; }
+ else if ((bakerlan_test >= 7) && (bakerlan_test <= 13)) { sign_q = bakerlan_test+39; }
- if ((signanvil >= 1) && (signanvil <= 4)) { set sign_sq,signanvil+57; }
+ if ((signanvil >= 1) && (signanvil <= 4)) { sign_sq = signanvil+57; }
// Because of the horrible way this was scripted, it's incompatable
// With the new script, So I am resetting the quest to the start
@@ -12569,69 +12568,69 @@ function script F_UpdateSignVars {
mes "^FF0000pieces on the ground and they vanish! Perhaps you should talk to Lachin.^000000";
delitem 7306,countitem(7306); //Fragment_Of_Soul
delitem 7307,countitem(7307); //Whisper_Of_Soul
- set sign_q,rand(97,100);
+ sign_q = rand(97,100);
}
// Same BS as above, unable to save pickup time for 'The Sign' from Engel.
if (signengelhour) {
mes "^FF0000You see that Engel has forgotten to look at 'The Sign', how you got it back is a mystery too you, but you should remind Engel that he needs to look at it.^000000";
getitem 7314,1; //The_Sign
- set sign_q,139;
+ sign_q = 139;
}
- if (Sign_Branch8A == 1) { set sign_q,119; }
- else if (Sign_Branch8A == 2) { set sign_q,120; }
- else if (Sign_Branch8A == 3) { set sign_q,122; }
- else if (Sign_Branch8A == 4) { set sign_q,124; }
- else if (Sign_Branch8A == 5) { set sign_q,134; }
- else if ((Sign_Branch8A == 7) || (Sign_Branch8A == 8)) { set sign_q,126; }
+ if (Sign_Branch8A == 1) { sign_q = 119; }
+ else if (Sign_Branch8A == 2) { sign_q = 120; }
+ else if (Sign_Branch8A == 3) { sign_q = 122; }
+ else if (Sign_Branch8A == 4) { sign_q = 124; }
+ else if (Sign_Branch8A == 5) { sign_q = 134; }
+ else if ((Sign_Branch8A == 7) || (Sign_Branch8A == 8)) { sign_q = 126; }
// Incompatable with the new version.
if (Sign_Branch8B > 0) {
mes "^FF0000Something is wrong, perhaps you should go talk to Serin again.^000000";
- set sign_q,132;
+ sign_q = 132;
}
// Incompatable with the new version. Again.
if (Sign_Branch2B) {
- set sign_q,91;
+ sign_q = 91;
}
// Unable to save when the Sign should be picked up from Metz
if (signmetzhour) {
mes "^FF0000You see that Metz has forgotten to look at 'The Sign', how you got it back is a mystery too you, but you should remind Metz that he needs to look at it.^000000";
getitem 7314,1; //The_Sign
- set sign_q,138;
+ sign_q = 138;
}
// Clear old variables.
- set signquest,0;
- set sign_fail,0;
- set gaananpoint,0;
- set gaanantest,0;
- set arianstest,0;
- set SignJore,0;
- set ScareAlchSign,0;
- set dearles_test,0;
- set SignDance,0;
- set bakerlan_test,0;
- set signanvil,0;
- set signengelhour,0;
- set signlaichin,0;
- set Sign_Seal1,0;
- set Sign_Seal2,0;
- set Sign_Seal3,0;
- set Sign_Seal4,0;
- set Sign_Seal1$,"";
- set Sign_Seal2$,"";
- set Sign_Seal3$,"";
- set Sign_Seal4$,"";
- set brokenseal,0;
- set Sign_Branch8A,0;
- set Sign_Branch8B,0;
- set Sign_Branch2B,0;
- set serinring,0;
- set signmetzhour,0;
+ signquest = 0;
+ sign_fail = 0;
+ gaananpoint = 0;
+ gaanantest = 0;
+ arianstest = 0;
+ SignJore = 0;
+ ScareAlchSign = 0;
+ dearles_test = 0;
+ SignDance = 0;
+ bakerlan_test = 0;
+ signanvil = 0;
+ signengelhour = 0;
+ signlaichin = 0;
+ Sign_Seal1 = 0;
+ Sign_Seal2 = 0;
+ Sign_Seal3 = 0;
+ Sign_Seal4 = 0;
+ Sign_Seal1$ = "";
+ Sign_Seal2$ = "";
+ Sign_Seal3$ = "";
+ Sign_Seal4$ = "";
+ brokenseal = 0;
+ Sign_Branch8A = 0;
+ Sign_Branch8B = 0;
+ Sign_Branch2B = 0;
+ serinring = 0;
+ signmetzhour = 0;
}
return;
}