summaryrefslogtreecommitdiff
path: root/npc/029-2/stat_reset.txt
blob: 5a9f8dd119c339aa4d83f25604b65c6ff5b07d42 (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
029-2,98,92,0	script	Jessie	NPC159,{
    callfunc "PCtoNPCRange";
    if(@npc_check) end;

    if (BaseLevel > 10)
        goto L_Sorry;

    mesn;
    mes "\"I know a spell that will";
    mes "reset status points on the youngings.";
    mes "";
    mes "I can also change their appearance.\"";
    next;
    menu
        "Reset my stats",L_Reset,
        "Change my appearance", L_Appearance,
        "Forget about it", L_Pass;

L_Appearance:
    Barber();
    goto L_Pass;

L_Reset:
    resetstatus();
    mesn;
    mes "\"There you are.";
    mes "";
    mes "Good as new!\"";
    close;

L_Pass:
    mesn;
    mesq l("Very well then, see you.");
    close;

L_Sorry:
    mesn;
    mesq l("My spell only works on the very young, sorry.");
    next;
    mes "\"You can try Mailvox in the Tulimshar Bazaar or Wyara in the Potion Shop in Hurnscald.\"";
    menu
        "Change my appearance", L_Appearance,
        "Bye", L_Pass;
}