summaryrefslogtreecommitdiff
path: root/npc/kafras
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/kafras
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/kafras')
-rw-r--r--npc/kafras/functions_kafras.txt2
-rw-r--r--npc/kafras/kafras.txt4
2 files changed, 3 insertions, 3 deletions
diff --git a/npc/kafras/functions_kafras.txt b/npc/kafras/functions_kafras.txt
index 329d0fee4..483e9b72a 100644
--- a/npc/kafras/functions_kafras.txt
+++ b/npc/kafras/functions_kafras.txt
@@ -345,7 +345,7 @@ function script F_KafTele {
else if (@wrpD$[.@j] == "Comodo") warp "comodo", 209, 143;
else if (@wrpD$[.@j] == "Comodo Pharos Beacon") warp "cmd_fild07", 127, 134;
else if (@wrpD$[.@j] == "Geffen") warp "geffen", 120, 39;
- else if (@wrpD$[.@j] == "Izlude") { if (checkre(0)) warp "izlude", 128, 98; else warp "izlude", 91, 105; }
+ else if (@wrpD$[.@j] == "Izlude") { if (RENEWAL) warp "izlude", 128, 98; else warp "izlude", 91, 105; }
else if (@wrpD$[.@j] == "Juno") warp "yuno", 158, 125;
else if (@wrpD$[.@j] == "Mjolnir Dead Pit") warp "mjolnir_02", 99, 351;
else if (@wrpD$[.@j] == "Morroc") warp "morocc", 156, 46;
diff --git a/npc/kafras/kafras.txt b/npc/kafras/kafras.txt
index 235a0da0f..0df94899d 100644
--- a/npc/kafras/kafras.txt
+++ b/npc/kafras/kafras.txt
@@ -412,7 +412,7 @@ cmd_fild07,136,134,4 script Kafra Employee::kaf_cmd_fild07 4_F_KAFRA7,{
mes "are always on your side.";
mes "How may I assist you?";
callfunc "F_Kafra",5,0,1,40,820;
- if (checkre(0))
+ if (RENEWAL)
savepoint strnpcinfo(4),129,97;
else
savepoint "izlude",94,103;
@@ -598,7 +598,7 @@ niflheim,202,180,3 script Kafra Employee::kaf_niflheim 4_F_NFDEADKAFRA,{
// - Byalan Island
izlu2dun,106,58,8 script Kafra Employee::kaf_izlu2dun 4_F_KAFRA3,{
cutin "kafra_03",2;
- if (!checkre(0) && BaseJob == Job_Novice && job_merchant_q2 > 0) {
+ if (!RENEWAL && BaseJob == Job_Novice && job_merchant_q2 > 0) {
// Merchant Job Change Quest
// function F_MercKafra is found in /pre-re/jobs/1-1/merchant.txt
callfunc "F_MercKafra";