summaryrefslogtreecommitdiff
path: root/world/map/npc/042-1/kaan.txt
blob: d2ba5877dcac60f0600c345706bdd376f6f7d275 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
// This file is part of the Tutorial
// Author: Jenalya

042-1.gat,103,92,0|script|Kaan|160,
{
    if (FLAGS & FLAG_TUTORIAL_DONE) goto L_Tut_Done;
    callfunc "TutorialState";
    if (@tutorial == 13) goto L_Hasan_Saved;
    if ($@ScorpionFighter == getcharid(3)) goto L_Run;
    if (@tutorial == 12) goto L_Plan;
    if ((@tutorial == 11) && ((@sorfina_hasan) || (@tanisha_hasan))) goto L_TrickKnown;
    if (@tutorial == 11) goto L_Trick;
    if (@tutorial == 10) goto L_Hasan;
    if (@tutorial == 9) goto L_Out;
    if (@tutorial == 8) goto L_Tanisha;

    mes "[Young Man]";
    mes "\"You're the person Tanisha brought here, right?";
    mes "My name is Kaan, I'm her brother.\"";
    next;
    mes "\"She was babbling at me about it all the morning until I sent her to take care of the maggots in the storehouse.\"";
    next;
    mes "Kaan grins mischieviously.";
    mes "[Kaan]";
    mes "\"She hates maggots.\"";
    next;
    mes "\"Maybe you should go and see her...she was really upset about what happened to you.\"";
    goto L_Close;

L_Tanisha:
    mes "[Kaan]";
    mes "\"Did you already talk to Tanisha?\"";
    menu
        "Yes, I helped her with the maggots.",L_Tanisha3,
        "Yeah, and she's done with the maggots.",L_Tanisha3;

L_Tanisha3:
    mes "[Kaan]";
    mes "\"Ah, that is good news.";
    mes "You know, we have a lot of problems with bugs here.\"";
    next;
    mes "\"If we don't watch out the maggots will eat all of our stocks.";
    mes "And the desert is crawling with scorpions.";
    mes "They also come here and you need to watch out not to step on them.\"";
    next;
    mes "\"But I took care of that problem.\"";
    mes "He looks very proud.";
    next;
    mes "\"I've trapped or slain many scorpians south of here to keep them out of our fields.\"";
    next;
    menu
        "Impressive! Just a bit... skewed.",L_Next,
        "Wow, it looks very - ahm, unconventional.",L_Next;

L_Next:
    mes "[Kaan]";
    mes "\"Well, I keep the scorpions out. That's all that matters.\"";
    next;
    mes "\"Are you going to visit Tulimshar?";
    mes "The bazaar there is a wondeful place! Traders, entertainers, adventurers - it's very exciting.\"";
    next;
    mes "\"Ah, I forgot. Without some money the bazaar is less fun I suppose.";
    mes "Here, take this.\"";
    set Zeny, Zeny + 15;
    next;
    mes "\"And Ian the trainer is hanging around there often. You should talk to him, he's a smart guy.\"";
    set @tutorial_tmp, 9;
    callfunc "SetTutorialMask";
    if (hasan)
        menu
            "A guy named Hasan won't let me enter Tulimshar.",L_Hasan,
            "Thanks for the advice.",L_Close;
    goto L_Out;

L_Out:
    mes "[Kaan]";
    mes "\"Hello! How are you? Did you already visit Tulimshar?\"";
    menu
        "Not yet.",L_Close;

L_Hasan:
    mes "[Kaan]";
    mes "\"Hello! How are you? Did you already visit Tulimshar?\"";
    menu
        "A guy named Hasan won't let me enter Tulimshar.",L_Next1,
        "Not yet.",L_Close;

L_Next1:
    mes "\"Hasan! That's crazy. He becomes more cheeky with every day.";
    mes "I'd like to help you, but - I won't risk an open confrontation with him.\"";
    next;
    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 Tulimshar during the day.\"";
    next;
    mes "\"We should think about some kind of trick. Ah, if only I knew his weak point.\"";
    set @tutorial_tmp, 11;
    callfunc "SetTutorialMask";
    next;
    goto L_Trick;

L_Trick:
    mes "[Kaan]";
    mes "\"Do you have any idea what Hasan's weakness could be?";
    mes "I wonder if Sorfina or Tanisha know something about him that could help us.\"";
    menu
        "No idea.",L_Close;

L_TrickKnown:
    mes "[Kaan]";
    mes "\"Do you have any idea what Hasan's weakness could be?";
    menu
        "He's afraid of scorpions.",L_Next2,
        "No idea.",L_Close;

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";
    next;
    goto L_Explain;

L_Explain:
    mes "\"Ok, then here's the plan:";
    mes "I will catch one of the scorpions behind the fences.\"";
    next;
    mes "\"You'll go to Hasan and give me a sign when you're ready.";
    mes "Lets say the sign is that you're scratching your head.";
    mes "I'll watch you from this point.\"";
    next;
    mes "\"When you give me the sign, I'll throw the scorpion on him.";
    mes "While he's distracted with the scorpion, you can pass.\"";
    next;
    mes "\"How's that? We can start as soon as you're ready.\"";
    goto L_Close;

L_Plan:
    mes "[Kaan]";
    mes "\"I'm ready. Just give me the sign when you're down there.";
    mes "Or do you want me to explain the plan again?\"";
    menu
        "Yes please.",L_Explain,
        "No, everything's alright.",L_Close;

L_Hasan_Saved:
    mes "[Kaan]";
    mes "\"I told you to pass when he's distracted, not to fight the scorpion!";
    mes "But maybe Hasan is thankful now?\"";
    next;
    mes "\"Why don't you talk to him again and see what he says.\"";
    goto L_Close;

L_Tut_Done:
    mes "[Kaan]";
    mes "\"Hi there. I hope you enjoy your time in Tulimshar.";
    mes "Hasan can be a real troublemaker, but it seems like he has calmed down for now.\"";
    goto L_Close;

L_Run:
    mes "[Kaan]";
    mes "\"He's distracted! What are you waiting for?\"";
    goto L_Close;

L_Close:
    close;
}