summaryrefslogtreecommitdiff
path: root/npc/cities
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-05-08 16:15:07 +0200
committerHaru <haru@dotalux.com>2015-05-08 16:21:05 +0200
commitad9a14992cde8ad6759263da37e723b2b1825981 (patch)
treef6c168973bb2d2c5f243ad1c5688ae15439dcc5c /npc/cities
parent513059cad7510c20f44e1a19f731efbe2f28dbec (diff)
downloadhercules-ad9a14992cde8ad6759263da37e723b2b1825981.tar.gz
hercules-ad9a14992cde8ad6759263da37e723b2b1825981.tar.bz2
hercules-ad9a14992cde8ad6759263da37e723b2b1825981.tar.xz
hercules-ad9a14992cde8ad6759263da37e723b2b1825981.zip
Replaced checkre() calls with constants
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/cities')
-rw-r--r--npc/cities/alberta.txt2
-rw-r--r--npc/cities/amatsu.txt2
-rw-r--r--npc/cities/ayothaya.txt2
-rw-r--r--npc/cities/comodo.txt2
-rw-r--r--npc/cities/gonryun.txt2
-rw-r--r--npc/cities/izlude.txt4
-rw-r--r--npc/cities/jawaii.txt2
-rw-r--r--npc/cities/louyang.txt2
-rw-r--r--npc/cities/moscovia.txt2
-rw-r--r--npc/cities/yuno.txt4
10 files changed, 12 insertions, 12 deletions
diff --git a/npc/cities/alberta.txt b/npc/cities/alberta.txt
index 92e249135..40d865b2f 100644
--- a/npc/cities/alberta.txt
+++ b/npc/cities/alberta.txt
@@ -215,7 +215,7 @@ alberta,189,151,5 script Fisk 4W_SAILOR,{
close;
}
Zeny -= 500;
- if(checkre(0))
+ if (RENEWAL)
warp "izlude",195,212;
else
warp "izlude",176,182;
diff --git a/npc/cities/amatsu.txt b/npc/cities/amatsu.txt
index a79c30993..54f23c853 100644
--- a/npc/cities/amatsu.txt
+++ b/npc/cities/amatsu.txt
@@ -135,7 +135,7 @@ amatsu,194,79,5 script Sea Captain#ama2 4_M_SEAMAN,{
mes "so many things to talk about,";
mes "right? All aboard now.";
close2;
- if (checkre(0))
+ if (RENEWAL)
warp "alberta",244,72;
else
warp "alberta",243,91;
diff --git a/npc/cities/ayothaya.txt b/npc/cities/ayothaya.txt
index a8a114d2d..db1a47a31 100644
--- a/npc/cities/ayothaya.txt
+++ b/npc/cities/ayothaya.txt
@@ -91,7 +91,7 @@ ayothaya,152,68,1 script Aibakthing#ayo2 4_M_THAIONGBAK,{
mes "[Aibakthing]";
mes "You will be welcome to come back whenever you please. I hope that we will see each other again sometime soon. Thank you~";
close2;
- if (checkre(0))
+ if (RENEWAL)
warp "alberta",235,45;
else
warp "alberta",238,22;
diff --git a/npc/cities/comodo.txt b/npc/cities/comodo.txt
index 248af4e50..7342d2e08 100644
--- a/npc/cities/comodo.txt
+++ b/npc/cities/comodo.txt
@@ -355,7 +355,7 @@ cmd_fild07,299,83,4 script Zain#cmd 4W_SAILOR,{
case 2:
if (Zeny < 800) break;
Zeny -= 800;
- if(checkre(0))
+ if (RENEWAL)
warp "izlude",195,212;
else
warp "izlude",176,182;
diff --git a/npc/cities/gonryun.txt b/npc/cities/gonryun.txt
index 919d23e20..86493f1d9 100644
--- a/npc/cities/gonryun.txt
+++ b/npc/cities/gonryun.txt
@@ -142,7 +142,7 @@ gon_fild01,255,79,7 script Kunlun Envoy#gon2 4_M_TWMIDMAN,{
mes "back. Now, let me guide you";
mes "back to Alberta.";
close2;
- if (checkre(0))
+ if (RENEWAL)
warp "alberta",244,60;
else
warp "alberta",243,67;
diff --git a/npc/cities/izlude.txt b/npc/cities/izlude.txt
index 5aaceb709..7c43ae5ae 100644
--- a/npc/cities/izlude.txt
+++ b/npc/cities/izlude.txt
@@ -221,7 +221,7 @@
}
- script ::Kylick_izlude -1,{
- if (!checkre(0) && rand(2)) {
+ if (!RENEWAL && rand(2)) {
mes "[Kylick]";
mes "I was thinking, even though the people of Izlude live so close to the ocean...";
next;
@@ -506,7 +506,7 @@ izlu2dun,108,27,0 script Sailor#2izlude 4W_SAILOR,{
mes "head back?";
next;
if (select("Yeah, I'm tired to death.:Nope, I love this place!") == 1) {
- if(checkre(0))
+ if (RENEWAL)
warp "izlude",197,210;
else
warp "izlude",176,182;
diff --git a/npc/cities/jawaii.txt b/npc/cities/jawaii.txt
index 1cbd51fd5..85a993c89 100644
--- a/npc/cities/jawaii.txt
+++ b/npc/cities/jawaii.txt
@@ -57,7 +57,7 @@ jawaii,239,112,7 script Mariner#toizu 4W_SAILOR,{
mes "guide you to";
mes "Izlude.";
close2;
- if(checkre(0))
+ if (RENEWAL)
warp "izlude",195,212;
else
warp "izlude",176,182;
diff --git a/npc/cities/louyang.txt b/npc/cities/louyang.txt
index b0aa53dbc..67d6ec87d 100644
--- a/npc/cities/louyang.txt
+++ b/npc/cities/louyang.txt
@@ -107,7 +107,7 @@ lou_fild01,190,100,7 script Girl#1lou 4_F_CHNDRESS1,{
mes "see you again!";
mes "Bye bye!";
close2;
- if (checkre(0))
+ if (RENEWAL)
warp "alberta",236,40;
else
warp "alberta",235,45;
diff --git a/npc/cities/moscovia.txt b/npc/cities/moscovia.txt
index ac6ef0bb4..74c121836 100644
--- a/npc/cities/moscovia.txt
+++ b/npc/cities/moscovia.txt
@@ -107,7 +107,7 @@ moscovia,166,53,4 script Moscovia P.R. Officer#2 4_F_RUSWOMAN2,{
mes "Please come and visit soon.";
mes "Ok then, Let's get going.";
close2;
- if (checkre(0))
+ if (RENEWAL)
warp "alberta",244,52;
else
warp "alberta",243,67;
diff --git a/npc/cities/yuno.txt b/npc/cities/yuno.txt
index 8ecc4910b..cda19d322 100644
--- a/npc/cities/yuno.txt
+++ b/npc/cities/yuno.txt
@@ -367,10 +367,10 @@ yuno,142,183,5 script Airship Representative 4W_SAILOR,{
next;
switch(select("Prontera:Izlude:Geffen:Morroc:Payon:Alberta:Comodo:Cancel")) {
case 1: callsub S_Warp,"prontera",116,72;
- case 2: if (checkre(0)) callsub S_Warp,"izlude",128,98; else callsub S_Warp,"izlude",94,103;
+ case 2: if (RENEWAL) callsub S_Warp,"izlude",128,98; else callsub S_Warp,"izlude",94,103;
case 3: callsub S_Warp,"geffen",120,39;
case 4: callsub S_Warp,"morocc",156,46;
- case 5: if (checkre(0)) callsub S_Warp,"payon",162,59; else callsub S_Warp,"payon",69,100;
+ case 5: if (RENEWAL) callsub S_Warp,"payon",162,59; else callsub S_Warp,"payon",69,100;
case 6: callsub S_Warp,"alberta",117,56;
case 7: callsub S_Warp,"comodo",209,143;
case 8: close;