From d4d501b3e5010950ac3e4521f20ec594e9757aa9 Mon Sep 17 00:00:00 2001 From: brianluau Date: Wed, 9 Sep 2009 20:47:29 +0000 Subject: - Fixed some 'getarg' that were switched in Magazine Dealer Kenny. - Fixed a situation in Rogue Agent where NPC window doesn't close. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14051 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/merchants/ammo_boxes.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'npc/merchants/ammo_boxes.txt') diff --git a/npc/merchants/ammo_boxes.txt b/npc/merchants/ammo_boxes.txt index 828569b46..5ea85dbea 100644 --- a/npc/merchants/ammo_boxes.txt +++ b/npc/merchants/ammo_boxes.txt @@ -63,14 +63,14 @@ que_ng,187,149,3 script Magazine Dealer Kenny 83,{ function script Func_Casing { mes "[Kenny]"; mes "Now, you can trade"; - mes "500 "+getitemname(getarg(1))+"s"; - mes "and 500 zeny for 1 "+getitemname(getarg(0))+", so make sure"; + mes "500 "+getitemname(getarg(0))+"s"; + mes "and 500 zeny for 1 "+getitemname(getarg(1))+", so make sure"; mes "you have sufficient bullets"; mes "and zeny for this exchange."; next; mes "[Kenny]"; - mes "You can exchange 500 "+getitemname(getarg(1))+"s and 500 zeny"; - mes "with 1 "+getitemname(getarg(0))+"."; + mes "You can exchange 500 "+getitemname(getarg(0))+"s and 500 zeny"; + mes "with 1 "+getitemname(getarg(1))+"."; next; mes "[Kenny]"; mes "Remember that I can't give"; @@ -89,7 +89,7 @@ function script Func_Casing { mes "greater than 50."; close; } - if (countitem(getarg(1)) >= (500*.@amount)) { + if (countitem(getarg(0)) >= (500*.@amount)) { if (Zeny >= (500*.@amount)) { if (checkweight(getarg(1),.@amount) == 0) { mes "[Kenny]"; -- cgit v1.2.3-60-g2f50