summaryrefslogtreecommitdiff
path: root/world/map/npc/042-1
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2013-01-06 19:02:44 +0100
committerJessica Tölke <jtoelke@mail.upb.de>2013-01-06 19:03:02 +0100
commit2f660ca694c0182353d2e0663e240a32f91135b8 (patch)
treeaa025f1f2e9c248c71c3fa502212d90dc138477a /world/map/npc/042-1
parentea1ee652e8727640121e75b49936b4c484de3016 (diff)
downloadserverdata-2f660ca694c0182353d2e0663e240a32f91135b8.tar.gz
serverdata-2f660ca694c0182353d2e0663e240a32f91135b8.tar.bz2
serverdata-2f660ca694c0182353d2e0663e240a32f91135b8.tar.xz
serverdata-2f660ca694c0182353d2e0663e240a32f91135b8.zip
Tutorial: put setting the completed flag and resetting the used variables into a separate function.
Diffstat (limited to 'world/map/npc/042-1')
-rw-r--r--world/map/npc/042-1/hasan.txt12
1 files changed, 2 insertions, 10 deletions
diff --git a/world/map/npc/042-1/hasan.txt b/world/map/npc/042-1/hasan.txt
index bb4e1578..70b3a430 100644
--- a/world/map/npc/042-1/hasan.txt
+++ b/world/map/npc/042-1/hasan.txt
@@ -73,11 +73,7 @@ L_Pay:
mes "He grins gloatingly.";
mes "[Hasan]";
mes "\"Very well. You may pass.\"";
- set hasan, 0;
- set kaan, 0;
- set sorfina, 0;
- set tanisha, 0;
- set FLAGS, FLAGS | FLAG_TUTORIAL_DONE;
+ callfunc "TutorialCompleted";
goto L_Close;
L_Cheat:
@@ -116,12 +112,8 @@ L_Thank:
mes "\"Let me tell you a secret: Cool persons are allowed to pass for free.";
mes "And you can have my Sharp Knife.\"";
getitem "SharpKnife", 1;
+ callfunc "TutorialCompleted";
next;
- set hasan, 0;
- set kaan, 0;
- set sorfina, 0;
- set tanisha, 0;
- set FLAGS, FLAGS | FLAG_TUTORIAL_DONE;
mes "\"You want to go to the bazaar, right? Shall I tell you how to get there?\"";
next;
menu