summaryrefslogtreecommitdiff
path: root/npc/re/jobs/novice/supernovice_ex.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/re/jobs/novice/supernovice_ex.txt')
-rw-r--r--npc/re/jobs/novice/supernovice_ex.txt54
1 files changed, 27 insertions, 27 deletions
diff --git a/npc/re/jobs/novice/supernovice_ex.txt b/npc/re/jobs/novice/supernovice_ex.txt
index 044e386fe..5578d7700 100644
--- a/npc/re/jobs/novice/supernovice_ex.txt
+++ b/npc/re/jobs/novice/supernovice_ex.txt
@@ -48,7 +48,7 @@ function script Esseray_Ex {
mes "You should find him.";
next;
setquest 5092;
- set EXSUPNOV_Q,1;
+ EXSUPNOV_Q = 1;
mes "[Esseray]";
mes "He can guide you along";
mes "the correct path...";
@@ -58,7 +58,7 @@ function script Esseray_Ex {
}
beach_dun2,119,92,4 script Fishing Novice#sp2 4_M_SIT_NOVICE,{
- if (checkquest(5092) >= 0) {
+ if (questprogress(5092)) {
mes "[Fishing Novice]";
mes "Sh --------- !!";
mes "Be quiet please.";
@@ -165,7 +165,7 @@ beach_dun2,119,92,4 script Fishing Novice#sp2 4_M_SIT_NOVICE,{
mes "- Talk to him again. -";
close;
}
- else if (checkquest(5093) >= 0) {
+ else if (questprogress(5093)) {
mes "[Nodor]";
mes "Emmhmm ----- !!";
next;
@@ -251,7 +251,7 @@ beach_dun2,119,92,4 script Fishing Novice#sp2 4_M_SIT_NOVICE,{
mes "Do you know what this is for?";
next;
setarray .@Monsters$[0],"Poring","Lunatic","Fabre","Picky";
- set .@i, rand(4);
+ .@i = rand(4);
changequest 5093,5094+.@i;
mes "[Nodor]";
mes "You know what a ^FF0000"+.@Monsters$[.@i]+"^000000 monster is, right?";
@@ -268,7 +268,7 @@ beach_dun2,119,92,4 script Fishing Novice#sp2 4_M_SIT_NOVICE,{
mes "Don't come back until you've hunted 1,000.";
close;
}
- else if (checkquest(5094) >= 0 || checkquest(5095) >= 0 || checkquest(5096) >= 0 || checkquest(5097) >= 0) {
+ else if (questprogress(5094) || questprogress(5095) || questprogress(5096) || questprogress(5097)) {
mes "["+strcharinfo(0)+"]";
mes "Hey, Nodor!";
next;
@@ -277,7 +277,7 @@ beach_dun2,119,92,4 script Fishing Novice#sp2 4_M_SIT_NOVICE,{
mes "Oh my god!";
mes "So frightened... let me see?";
next;
- if (checkquest(5094,HUNTING) != 2 && checkquest(5095,HUNTING) != 2 && checkquest(5096,HUNTING) != 2 && checkquest(5097,HUNTING) != 2) {
+ if (questprogress(5094,HUNTING) != 2 && questprogress(5095,HUNTING) != 2 && questprogress(5096,HUNTING) != 2 && questprogress(5097,HUNTING) != 2) {
mes "[Nodor]";
mes "Hey! Super Novice!";
mes "Didn't I say to hunt 1,000?";
@@ -291,14 +291,14 @@ beach_dun2,119,92,4 script Fishing Novice#sp2 4_M_SIT_NOVICE,{
mes "You are better than I thought.";
mes "Anyway, what was the monster that I told you to hunt?";
next;
- set .@i, select("Poring:Lunatic:Fabre:Picky:Baphomet")-1;
+ .@i = select("Poring:Lunatic:Fabre:Picky:Baphomet")-1;
if (.@i == 4) {
mes "[Nodor]";
mes "Heheh? Can you seriously hunt Baphomet alone?";
mes "Don't tell a lie!! I will hit you!!";
close;
}
- if (checkquest(5094+.@i,HUNTING) != 2) {
+ if (questprogress(5094+.@i,HUNTING) != 2) {
mes "[Nodor]";
mes "Don't tell a lie!";
mes "I didn't tell you to hunt this!";
@@ -321,7 +321,7 @@ beach_dun2,119,92,4 script Fishing Novice#sp2 4_M_SIT_NOVICE,{
mes "I will let you know how to overcome your strength deficiencies.";
close;
}
- else if (checkquest(5098) >= 0) {
+ else if (questprogress(5098)) {
if (rand(10) != 1) {
mes "[Nodor]";
mes "Oh! You already came here?";
@@ -377,7 +377,7 @@ beach_dun2,119,92,4 script Fishing Novice#sp2 4_M_SIT_NOVICE,{
mes "You can give some to my bro. He's up in the airship.";
close;
}
- else if (checkquest(5099) >= 0) {
+ else if (questprogress(5099)) {
mes "[Nodor]";
mes "Have you visited already?";
next;
@@ -392,10 +392,10 @@ beach_dun2,119,92,4 script Fishing Novice#sp2 4_M_SIT_NOVICE,{
mes "10,000,000 zeny is okay~";
close;
}
- else if (checkquest(5100) >= 0) {
- if (EXSUPNOV_Q_ == 3) set .@str$,"300,000";
- else if (EXSUPNOV_Q_ == 4) set .@str$,"1,000,000";
- else set .@str$,"100,000";
+ else if (questprogress(5100)) {
+ if (EXSUPNOV_Q_ == 3) .@str$ = "300,000";
+ else if (EXSUPNOV_Q_ == 4) .@str$ = "1,000,000";
+ else .@str$ = "100,000";
mes "[Nodor]";
mes "Hey, have you gone there?";
mes "I got another message from my bro.";
@@ -477,7 +477,7 @@ beach_dun2,119,92,4 script Fishing Novice#sp2 4_M_SIT_NOVICE,{
nude;
callfunc "F_ClearJobVar"; // -- Clears all job variables for the current player
jobchange roclass(eaclass()|EAJL_THIRD);
- set EXSUPNOV_Q,5;
+ EXSUPNOV_Q = 5;
emotion e_heh;
mes "[Nodor]";
mes "Puhahahahahahahahahahah!!";
@@ -570,7 +570,7 @@ beach_dun2,119,92,4 script Fishing Novice#sp2 4_M_SIT_NOVICE,{
specialeffect2 EF_RECOVERY;
mes "[Nodor]";
mes "Let Super Novice "+strcharinfo(0)+" be blessed with the Super Novice Guardian!";
- set EXSUPNOV_Q,6;
+ EXSUPNOV_Q = 6;
close;
}
else if (EXSUPNOV_Q > 5) {
@@ -588,7 +588,7 @@ beach_dun2,119,92,4 script Fishing Novice#sp2 4_M_SIT_NOVICE,{
}
airplane,33,47,5 script Nudor#sp2 4_F_NOVICE,{
- if (checkquest(5099) >= 0) {
+ if (questprogress(5099)) {
mes "[Nudor]";
mes "Ahhh~ I have no money to buy any food.";
mes "I'm hungry, but I have no idea when Brother is coming...";
@@ -610,7 +610,7 @@ airplane,33,47,5 script Nudor#sp2 4_F_NOVICE,{
mes "- eyes, holding out his hands. -";
mes "- How much do you want to give? -";
next;
- set .@i, select("I have no money:Give 100,000 Zeny:Give 300,000 Zeny:Give 1,000,000 Zeny:Give all the money you have");
+ .@i = select("I have no money:Give 100,000 Zeny:Give 300,000 Zeny:Give 1,000,000 Zeny:Give all the money you have");
mes "[Nudor]";
if (.@i == 1) {
mes "- crying -";
@@ -622,9 +622,9 @@ airplane,33,47,5 script Nudor#sp2 4_F_NOVICE,{
}
else if (.@i < 5) {
switch(.@i) {
- case 2: set .@str$,"100,000"; set .@n,100000; break;
- case 3: set .@str$,"300,000"; set .@n,300000; break;
- case 4: set .@str$,"1,000,000"; set .@n,1000000; break;
+ case 2: .@str$ = "100,000"; .@n = 100000; break;
+ case 3: .@str$ = "300,000"; .@n = 300000; break;
+ case 4: .@str$ = "1,000,000"; .@n = 1000000; break;
}
mes "Lovely~~ Did he give you "+.@str$+" Zeny? That's pretty much!";
next;
@@ -647,18 +647,18 @@ airplane,33,47,5 script Nudor#sp2 4_F_NOVICE,{
mes "Eh? But you don't have any money. You're so poor, huh?";
close;
}
- set .@n,Zeny;
+ .@n = Zeny;
}
mes "[Nudor]";
mes "Woa~!! "+.@n+" Zeny! This helped me so much~ Tehee~";
mes "I can't believe it...";
changequest 5099,5100;
Zeny -= .@n;
- if (.@i < 5) set EXSUPNOV_Q_, .@i;
+ if (.@i < 5) EXSUPNOV_Q_ = .@i;
else {
- if (.@n > 1000000) set EXSUPNOV_Q_,4;
- else if (.@n > 300000) set EX_SUPNOV_Q_,3;
- else set EXSUPNOV_Q_,2;
+ if (.@n > 1000000) EXSUPNOV_Q_ = 4;
+ else if (.@n > 300000) EX_SUPNOV_Q_ = 3;
+ else EXSUPNOV_Q_ = 2;
}
next;
mes "[Nudor]";
@@ -670,7 +670,7 @@ airplane,33,47,5 script Nudor#sp2 4_F_NOVICE,{
mes "- tricked, so go back to Nodor. -";
close;
}
- else if (checkquest(5100) >= 0) {
+ else if (questprogress(5100)) {
mes "[Nudor]";
mes "I cannot believe that my bro sent me money... I love it~";
next;