summaryrefslogtreecommitdiff
path: root/npc/merchants/kunai_maker.txt
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-04 03:52:24 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-04 03:52:24 +0000
commitdf2b2685b7a23a4132af0cf9d863daa0669d2f4f (patch)
tree056e22fc68d3917e88f677543b06af084b1574fc /npc/merchants/kunai_maker.txt
parent20f26b76bf58dd1f23d13cb2606703f01e549896 (diff)
downloadhercules-df2b2685b7a23a4132af0cf9d863daa0669d2f4f.tar.gz
hercules-df2b2685b7a23a4132af0cf9d863daa0669d2f4f.tar.bz2
hercules-df2b2685b7a23a4132af0cf9d863daa0669d2f4f.tar.xz
hercules-df2b2685b7a23a4132af0cf9d863daa0669d2f4f.zip
fixes
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6465 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/merchants/kunai_maker.txt')
-rw-r--r--npc/merchants/kunai_maker.txt22
1 files changed, 7 insertions, 15 deletions
diff --git a/npc/merchants/kunai_maker.txt b/npc/merchants/kunai_maker.txt
index fc79db9fb..feb7427ff 100644
--- a/npc/merchants/kunai_maker.txt
+++ b/npc/merchants/kunai_maker.txt
@@ -23,27 +23,21 @@ mes "What would you like to trade some? It's free";
switch(select("10 Poison Kunais:10 Icycle Kunais:10 Rough Wind Kunais:10 Black Soil Kunai:10 Explosion Kunai:Nothing at the Moment")) {
//Callfunc usage: callfunc "Kunai_Trade",itemreqid1,itemreqct1,itemreqid2,itemreqct2,itemidtrade;
case 1:
- next;
callfunc "Kunai_Trade",13250,20,7524,1,13259;
- close;
+ goto L_Bye;
case 2:
- next;
callfunc "Kunai_Trade",13251,8,7522,2,13255;
goto L_Bye;
case 3:
- next;
callfunc "Kunai_Trade",13252,4,7523,2,13257;
goto L_Bye;
case 4:
- next;
callfunc "Kunai_Trade",13253,2,7524,1,13256;
goto L_Bye;
case 5:
- next;
callfunc "Kunai_Trade",13254,1,7521,2,13258;
goto L_Bye;
case 6:
- next;
goto L_Bye;
}
L_Bye:
@@ -54,14 +48,13 @@ L_Bye:
}
function script Kunai_Trade -1,{
-
+next;
mes "[Jin]";
if (MaxWeight*50/100 < Weight) {
if (MaxWeight*90/100 < Weight) {
mes "Sorry but you have more than 90% weight. Your kunais might drop. I can't give you anything.";
- next;
- goto L_Menu;
- } else
+ return;
+ }
mes "You have 50% or more weight, do you still want to continue?";
menu "Yes",-,"No, thanks",L_Return;
}
@@ -98,7 +91,6 @@ switch(select("Yes:I'll think about it")) {
case 2:
return;
}
-L_Bye:
-return;
-
-} \ No newline at end of file
+L_Return:
+ return;
+}