diff options
author | wushin <pasekei@gmail.com> | 2015-04-21 13:42:04 -0500 |
---|---|---|
committer | wushin <pasekei@gmail.com> | 2015-04-25 23:28:57 -0500 |
commit | b1ff0f2cbbf03cbda01945537dfd65f6cc6f4e53 (patch) | |
tree | 3607a90959888954db09b369588bbc5bc5687499 /world/map/npc/029-1/kaan.txt | |
parent | c93710edb93f00d42119adbc332ab4152ead4341 (diff) | |
download | serverdata-b1ff0f2cbbf03cbda01945537dfd65f6cc6f4e53.tar.gz serverdata-b1ff0f2cbbf03cbda01945537dfd65f6cc6f4e53.tar.bz2 serverdata-b1ff0f2cbbf03cbda01945537dfd65f6cc6f4e53.tar.xz serverdata-b1ff0f2cbbf03cbda01945537dfd65f6cc6f4e53.zip |
Quest Log example
Diffstat (limited to 'world/map/npc/029-1/kaan.txt')
-rw-r--r-- | world/map/npc/029-1/kaan.txt | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/world/map/npc/029-1/kaan.txt b/world/map/npc/029-1/kaan.txt index 1c3cf0bb..57ab1d4c 100644 --- a/world/map/npc/029-1/kaan.txt +++ b/world/map/npc/029-1/kaan.txt @@ -8,13 +8,13 @@ if (@npc_check) goto L_OutOfRange; - callfunc "TutorialState"; + set @kaan_talked, (STARTAREA & $@SpokeToKaan); if (!(@kaan_talked)) goto L_Tanisha; - if (@tutorial >= 13) goto L_TutDone; - if (@tutorial == 12) goto L_Plan; - if (@tutorial == 11) goto L_TrickKnown; - if (@tutorial == 10) goto L_Trick; - if (@tutorial == 9) goto L_Hasan; + if (QL_BEGIN >= 13) goto L_TutDone; + if (QL_BEGIN == 12) goto L_Plan; + if (QL_BEGIN == 11) goto L_TrickKnown; + if (QL_BEGIN == 10) goto L_Trick; + if (QL_BEGIN == 9) goto L_Hasan; goto L_Out; L_OutOfRange: @@ -69,8 +69,7 @@ L_Next1: mes "\"Sometimes he just freaks out and then he's dangerous."; mes "He might listen to one of the adult men, but they're all off to work in Hurnscald during the day.\""; mes "\"We should think about some kind of trick. Ah, if only I knew his weak point.\""; - set @tutorial_tmp, 10; - callfunc "SetTutorialMask"; + set QL_BEGIN, 10; goto L_Trick; L_Trick: @@ -91,8 +90,7 @@ L_Next2: mes "[Kaan]"; mes "\"Scorpions?! Right! How could I forget?"; mes "When he was a child, he nearly died because he fell into a scorpion nest.\""; - set @tutorial_tmp, 12; - callfunc "SetTutorialMask"; + set QL_BEGIN, 12; next; goto L_Explain; |