From 16496f556a38e624dc75a61097ce4d9b6c370d0b Mon Sep 17 00:00:00 2001 From: FlavioJS Date: Tue, 9 Jan 2007 17:59:27 +0000 Subject: - Updated some functions calls that where using the wrong number of arguments with checkcart,checkfalcon,checkriding,getgmlevel,basicskillcheck. hmm, maybe I should add a config option for lazy scripter that still want to run script code that uses too many arguments git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9637 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/cities/valkyrie.txt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'npc/cities/valkyrie.txt') diff --git a/npc/cities/valkyrie.txt b/npc/cities/valkyrie.txt index 4b64b826b..2c145a092 100644 --- a/npc/cities/valkyrie.txt +++ b/npc/cities/valkyrie.txt @@ -257,9 +257,9 @@ L_CHANGE: next; mes "[Valhallana]"; if(Zeny || Weight) goto L_ZENYITEMS; - if(checkcart(0)) goto L_CART; - if(checkfalcon(0)) goto L_FALCON; - if(checkriding(0)) goto L_PECO; + if(checkcart()) goto L_CART; + if(checkfalcon()) goto L_FALCON; + if(checkriding()) goto L_PECO; if(skillpoint > 0) goto L_SKILLPNTS; mes "Let's start your reincarnation ceremony..."; @@ -368,9 +368,9 @@ function script F_ToHigh { L_GETHIGH: mes "["+getarg(3)+"]"; if(JobLevel < 10) goto L_NOTREADY; - if(checkcart(0)) goto L_CART; - if(checkfalcon(0)) goto L_FALCON; - if(checkriding(0)) goto L_PECO; + if(checkcart()) goto L_CART; + if(checkfalcon()) goto L_FALCON; + if(checkriding()) goto L_PECO; if(skillpoint > 0) goto L_SKILLPNTS; mes "Hello there, "+strcharinfo(0)+"!"; @@ -450,9 +450,9 @@ function script F_Rebirth { L_GET3RD: if(JobLevel < 45) goto L_NOTREADY; - if(checkcart(0)) goto L_CART; - if(checkfalcon(0)) goto L_FALCON; - if(checkriding(0)) goto L_PECO; + if(checkcart()) goto L_CART; + if(checkfalcon()) goto L_FALCON; + if(checkriding()) goto L_PECO; if(skillpoint > 0) goto L_SKILLPNTS; mes "Congratulations!"; -- cgit v1.2.3-70-g09d2