summaryrefslogtreecommitdiff
path: root/npc/009-1/old_man.txt
blob: 96b19a39fca41b3895021df90cef07c1a3855a12 (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
009-1,85,51,0	script	Old Man	NPC159,{
    @inspector = ((QUEST_Hurnscald & NIBBLE_3_MASK) >> NIBBLE_3_SHIFT);

    mes "[Old Man]";
    mes "\"Don't let those monsters get to you.\"";
    next;
    if (@inspector == 1) goto L_Ask;
    if (@inspector == 6) goto L_Accuse;
    goto L_close;

L_Ask:
    menu
        "Have you seen anything strange lately?", L_Ask_Nothing,
        "Do you know anything about the recent robberies?", L_Ask_Nothing,
        "I won't, thank you.", L_close;

L_Ask_Nothing:
    mes "[Old Man]";
    mes "\"I'm sorry, but I didn't see anything. You should ask my old woman.\"";
    goto L_close;

L_Accuse:
    menu
        "The leader of the troupe said you hung around them a lot while they were in town.", L_Accuse_Respond,
        "I won't, thank you.", L_close;

L_Accuse_Respond:
    mes "[Old Man]";
    mes "\"Yes, I hung around the theater a lot. I was an actor when I was younger. But I wasn't there that night. Me and the wife were at home all night.\"";
    @inspector = 7;
    QUEST_Hurnscald = (QUEST_Hurnscald & ~(NIBBLE_3_MASK)) | (@inspector << NIBBLE_3_SHIFT);
    goto L_close;

L_close:
    @inspector = 0;
    close;
}