summaryrefslogtreecommitdiff
path: root/npc/005-1_Snake_desert/spirit.txt
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-01-23 16:52:05 +0000
committerJared Adams <jaxad0127@gmail.com>2009-01-23 16:52:05 +0000
commit4e98d4621f225766abb32d30ab6cea8d2739a419 (patch)
tree1ca67ca0a8465848870c91dfdf60baffc9767ba4 /npc/005-1_Snake_desert/spirit.txt
parent29bb178e6ac12d8edb32b89c336d46178421bd83 (diff)
downloadserverdata-4e98d4621f225766abb32d30ab6cea8d2739a419.tar.gz
serverdata-4e98d4621f225766abb32d30ab6cea8d2739a419.tar.bz2
serverdata-4e98d4621f225766abb32d30ab6cea8d2739a419.tar.xz
serverdata-4e98d4621f225766abb32d30ab6cea8d2739a419.zip
Start converting scripts over to "ItemName"
Instead of using the item number. A few small bug fixes are also here.
Diffstat (limited to 'npc/005-1_Snake_desert/spirit.txt')
-rw-r--r--npc/005-1_Snake_desert/spirit.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/npc/005-1_Snake_desert/spirit.txt b/npc/005-1_Snake_desert/spirit.txt
index 5ef46cbc..ad835121 100644
--- a/npc/005-1_Snake_desert/spirit.txt
+++ b/npc/005-1_Snake_desert/spirit.txt
@@ -15,8 +15,6 @@ L_message:
set @Q_STATUS_STUDENT2, 4;
set @Q_STATUS_STUDENT3, 5;
- set @BRANCH, 732;
-
set @s$, "girl";
if (Sex)
set @s$, "boy";
@@ -143,7 +141,7 @@ L_Q_magic_1:
"Where was the tree again?", L_Q_tree_where,
"What is that tree?", L_Q_tree_what;
- if (countitem(@BRANCH) < 1)
+ if (countitem("DruidTreeBranch") < 1)
goto L_Q_tree_none;
if (!(MAGIC_FLAGS & MFLAG_DID_CUTTREE))
goto L_Q_tree_dry;
@@ -151,7 +149,7 @@ L_Q_magic_1:
goto L_Q_tree_nomoney;
set zeny, zeny - 100000;
- delitem @BRANCH, 1;
+ delitem "DruidTreeBranch", 1;
mes "[Earth Spirit]";
mes "Following the earth sprite's instructions, you throw branch and GP into the well.";