summaryrefslogtreecommitdiff
path: root/world/map/npc/024-1/david.txt
blob: 00794e034c5b412241034956f70f10d47600ab37 (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
024-1.gat,70,70,0	script	David	120,{

  set @Potion_EXP, 2000;

  if (Rossy_Quest == 17) goto L_FinalEnd;
  if (Rossy_Quest == 14) goto L_Julia;
  if (Rossy_Quest >= 8) goto L_Done;

  mes "[David]";
  mes "\"Learning magic is hard...\"";
  if (Rossy_Quest == 7) goto L_Help;
  close;

L_Help:
  menu
    "Do you know Rossy?", L_Set,
    "I can tell, it is hard.", L_No;

L_Set:
  mes "[David]";
  mes "\"Yes, I do. I am her teacher. Actually, that reminds me about her final exam... she didn't hand in her potion yet. Time is running out.\"";
  menu
    "A potion? Oh, uhm... Strange kind of exam. Bye.", L_No,
    "Right, I have her potion in my pocket. She asked me to bring it to you. Here it is.", -;
  mes "[David]";
  mes "\"Let me see.\"";
  set Rossy_Quest, 8;
  mes "\"This potion is... perfect! Tell Rossy that she succesfully made her potion, it is flawless!\"";
  getexp @Potion_EXP, 0;
  close;

L_Done:
  mes "[David]";
  mes "\"I am really happy that my best student succesfully passed her exam!\"";
  close;

L_No:
  close;

L_Julia:
  mes "[David]";
  mes "\"I heard Rossy's sister got kidnapped. We're counting on you to find her!\"";
  next;
  mes "\"If you do find her, talk to her sister and her mother.\"";
  close;

L_FinalEnd:
  mes "[David]";
  mes "Well done! Thanks for finding Julia!";
  close;

}