summaryrefslogtreecommitdiff
path: root/npc/cities/valkyrie.txt
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-09 17:59:27 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-09 17:59:27 +0000
commit16496f556a38e624dc75a61097ce4d9b6c370d0b (patch)
tree41dbc35ddd012a04ce96885664913115f00b6da5 /npc/cities/valkyrie.txt
parentfaa7a02a489886461cd039cc306f1fc55d81daa5 (diff)
downloadhercules-16496f556a38e624dc75a61097ce4d9b6c370d0b.tar.gz
hercules-16496f556a38e624dc75a61097ce4d9b6c370d0b.tar.bz2
hercules-16496f556a38e624dc75a61097ce4d9b6c370d0b.tar.xz
hercules-16496f556a38e624dc75a61097ce4d9b6c370d0b.zip
- 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
Diffstat (limited to 'npc/cities/valkyrie.txt')
-rw-r--r--npc/cities/valkyrie.txt18
1 files changed, 9 insertions, 9 deletions
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!";