updated kafra functions.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8964 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
Lupus 2006-10-11 16:45:24 +00:00
parent 02e41c0e3a
commit d5c7e45bac

View File

@ -4,7 +4,7 @@
//= eAthena Dev Team //= eAthena Dev Team
//= Darlskies, Darkchild, Syrus22, Lupus, kobra_k88 (2.0) //= Darlskies, Darkchild, Syrus22, Lupus, kobra_k88 (2.0)
//===== Current Version: ===================================== //===== Current Version: =====================================
//= 5.4 //= 5.4a
//===== Compatible With: ===================================== //===== Compatible With: =====================================
//= eAthena 1.0 //= eAthena 1.0
//===== Description: ========================================= //===== Description: =========================================
@ -92,12 +92,12 @@ function script F_Kafra {
break; break;
//Common w/o teleport //Common w/o teleport
case 3: case 3:
setarray @K_Menu0$[0],"-Guide","-Save","-Use Storage","-Rent a Cart","-Kafra Pass","-Other Information Check","-Cancel"; setarray @K_Menu0$[0],"-Guide","-Save","-Use Storage","-Rent a Cart","-Other Information Check","-Cancel";
break; break;
//Case 4 is Einbroch no tele message. //Case 4 is Einbroch no tele message.
//Common w/o save and teleport //Common w/o save and teleport
case 5: case 5:
setarray @K_Menu0$[0],"-Guide","-Use Storage","-Rent a Cart","-Kafra Pass","-Other Information Check","-Cancel"; setarray @K_Menu0$[0],"-Guide","-Use Storage","-Rent a Cart","-Other Information Check","-Cancel";
break; break;
//Only storage and other info check //Only storage and other info check
case 6: case 6:
@ -105,7 +105,7 @@ function script F_Kafra {
break; break;
//Common Kafra //Common Kafra
default: default:
setarray @K_Menu0$[0],"-Guide","-Save","-Use Storage","-Use Teleport Service","-Rent a Cart","-Kafra Pass","-Other Information Check","-Cancel"; setarray @K_Menu0$[0],"-Guide","-Save","-Use Storage","-Use Teleport Service","-Rent a Cart","-Other Information Check","-Cancel";
break; break;
} }
if(getarg(0)==2) { if(getarg(0)==2) {
@ -170,6 +170,7 @@ function script F_Kafra {
} }
if (@K_Menu0$[@num] == "-Guide"){ if (@K_Menu0$[@num] == "-Guide"){
callfunc "F_KafGuide"; callfunc "F_KafGuide";
next;
goto M_Menu; goto M_Menu;
} }
if (@K_Menu0$[@num] == "-Other Information Check"){ if (@K_Menu0$[@num] == "-Other Information Check"){