summaryrefslogtreecommitdiff
path: root/npc/kafras
diff options
context:
space:
mode:
Diffstat (limited to 'npc/kafras')
-rw-r--r--npc/kafras/functions_kafras.txt12
1 files changed, 4 insertions, 8 deletions
diff --git a/npc/kafras/functions_kafras.txt b/npc/kafras/functions_kafras.txt
index 831e0f01b..a210e9a53 100644
--- a/npc/kafras/functions_kafras.txt
+++ b/npc/kafras/functions_kafras.txt
@@ -30,6 +30,8 @@
//= 4.0 Added Kafra storage password protection. [Lupus]
//= to block Kafra Password, read comments at 350 line
//= Note: You can change '1337' value to another to raise password protection
+//= 5.0 Fixed the close2;....close; end; lines. Who let them slip away? =/ [erKURITA]
+//= Also, the kafra upon warp was giving back the zeny. Removed. [erKURITA]
//============================================================
@@ -138,7 +140,6 @@ function script F_KafStor {
close2;
openstorage;
cutin "", 255;
- close;
end;
sL_JbLvl:
@@ -160,7 +161,6 @@ L_Guild:
mes "right now. Please wait until that person is finished.";
close2;
cutin "", 255;
- close;
end;
}
@@ -217,10 +217,7 @@ function script F_KafTele {
if (@wrpD$[@num] == "Orc Dungeon") warp "gef_fild10.gat", 52, 326;
if (@wrpD$[@num] == "Umbala") warp "umbala.gat", 130, 130;
if (@wrpD$[@num] == "Yuno") warp "yuno.gat", 157, 123;
- close2; // this part safegaurds against errors/typos
- set zeny, zeny + @wrpP[@num];
cutin "", 255;
- close;
end;
sL_CantTele:
@@ -228,7 +225,6 @@ function script F_KafTele {
mes "Dear you don't have enough money. Please check your funds again.";
close2;
cutin "", 255;
- close;
end;
}
@@ -414,7 +410,7 @@ function script F_CheckKafCode {
dispbottom "Wrong storage password.";
close2;
cutin "",255;
- close;
+ end;
}
set @kafcode_try,0;
set @code_,0;
@@ -501,7 +497,7 @@ L_ZENY:
M_END:
close2;
cutin "",255;
- close;
+ end;
}
// Basic Password Validation Function ====================