diff options
-rw-r--r-- | npc/guild/gldfunc_kafra.txt | 2 | ||||
-rw-r--r-- | npc/kafras/functions_kafras.txt | 9 |
2 files changed, 6 insertions, 5 deletions
diff --git a/npc/guild/gldfunc_kafra.txt b/npc/guild/gldfunc_kafra.txt index e1113aa7f..0c806bc6c 100644 --- a/npc/guild/gldfunc_kafra.txt +++ b/npc/guild/gldfunc_kafra.txt @@ -33,6 +33,6 @@ L_StartG: set @wrpP[0], 0;
set @wrpD$[0], getarg(1);
setarray @wrpC$[0], @wrpD$[0], "Cancel", "", "", "","";
- callfunc "F_Kafra",2;
+ callfunc "F_Kafra",2,0,0;
end;
}
diff --git a/npc/kafras/functions_kafras.txt b/npc/kafras/functions_kafras.txt index 4b440d9f9..0bd55246e 100644 --- a/npc/kafras/functions_kafras.txt +++ b/npc/kafras/functions_kafras.txt @@ -74,11 +74,7 @@ function script F_Kafra { next;
M_Menu:
- //Guilds Kafra
cleararray @K_Menu0$[0],"",7;
- if(getarg(0)==2) {
- setarray @K_Menu0$[0],"-Use Storage","-Use Guild Storage","-Rent a Cart","-Use Teleport Service","-Cancel";
- }
switch(getarg(1)){
//only Save & Storage
case 1:
@@ -105,6 +101,11 @@ function script F_Kafra { setarray @K_Menu0$[0],"-Save","-Use Storage","-Use Teleport Service","-Rent a Cart","-Kafra Pass","-Other Information Check","-Cancel";
break;
}
+ if(getarg(0)==2) {
+ //Guilds Kafra
+ cleararray @K_Menu0$[0],"",7;
+ setarray @K_Menu0$[0],"-Use Storage","-Use Guild Storage","-Rent a Cart","-Use Teleport Service","-Cancel";
+ }
menu @K_Menu0$[0],K_Menu0,@K_Menu0$[1],K_Menu1,@K_Menu0$[2],K_Menu2,
@K_Menu0$[3],K_Menu3,@K_Menu0$[4],K_Menu4,@K_Menu0$[5],K_Menu5,
@K_Menu0$[6],K_Menu6,@K_Menu0$[7],K_Menu7;
|