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
|
//
009-2,24,99,0|script|Inspector#Hurnscald|150
{
callfunc "ClearVariables";
set @inspector, ((QUEST_Hurnscald & NIBBLE_3_MASK) >> NIBBLE_3_SHIFT);
if (@inspector == 0 && BaseLevel >= 30) goto L_NohMask_Start;
if (@inspector == 1) goto L_NohMask_AskVillage;
if (@inspector == 2) goto L_NohMask_OldWoman;
if (@inspector == 3) goto L_NohMask_TheaterMask;
if (@inspector == 4) goto L_NohMask_TravelingTroupe;
if (@inspector == 5) goto L_NohMask_OldMan;
if (@inspector == 6) goto L_NohMask_OldMan_2;
if (@inspector == 7) goto L_NohMask_Alibi;
if (@inspector == 8) goto L_NohMask_Alibi_2;
if (@inspector == 9) goto L_NohMask_Alibi_3;
if (@inspector == 10) goto L_NohMask_Satchel;
if (@inspector == 11) goto L_NohMask_Basement;
if (@inspector == 12) goto L_NohMask_Note;
if (@inspector == 13) goto L_NohMask_TravelingTroupe_2;
if (@inspector == 14) goto L_NohMask_Over;
if (@inspector == 15) goto L_NohMask_End;
mes "[Inspector]";
mes "\"I'm sorry, but I'm busy looking into this string of robberies.\"";
goto L_Close;
L_NohMask_Start:
mes "\"Hmm...what to do.\"";
mes "He looks up and into your face.";
next;
mes "[Inspector]";
mes "\"You look capable, will you help me solve these robberies?\"";
next;
menu
"Yes.", L_NohMask_Accept,
"No.", L_Close;
L_NohMask_Accept:
set @inspector, 1;
callsub S_Update_Mask;
mes "[Inspector]";
mes "\"Ok then. I'd like you to ask the villagers about the recent string of robberies.\"";
goto L_Close;
L_NohMask_AskVillage:
mes "[Inspector]";
mes "\"Please continue talking to the villagers.\"";
goto L_Close;
L_NohMask_OldWoman:
mes "[Inspector]";
mes "\"Hm...I don't know if I trust her eyesight or memory. See if someone else knows anything.\"";
goto L_Close;
L_NohMask_TheaterMask:
set @inspector, 4;
callsub S_Update_Mask;
mes "[Inspector]";
mes "\"Someone in a theater mask, eh? There was a traveling theater troupe in town recently, but they've moved on to Tulimshar. Please go talk to their leader about this.\"";
goto L_Close;
L_NohMask_TravelingTroupe:
mes "[Inspector]";
mes "\"Please go talk to the leader of the traveling troupe about the theater mask.\"";
goto L_Close;
L_NohMask_OldMan:
set @inspector, 6;
callsub S_Update_Mask;
mes "[Inspector]";
mes "\"Hm...an old man? Could you interrogate him for me?\"";
goto L_Close;
L_NohMask_OldMan_2:
mes "[Inspector]";
mes "\"Have you talked with the old man yet?\"";
goto L_Close;
L_NohMask_Alibi:
mes "[Inspector]";
mes "\"Can you verify that with his wife?\"";
goto L_Close;
L_NohMask_Alibi_2:
set @inspector, 9;
callsub S_Update_Mask;
mes "[Inspector]";
mes "\"Hm...then it couldn't be him. I'm not sure where to go from here, maybe you can find something else. Try talking to everyone again.\"";
goto L_Close;
L_NohMask_Alibi_3:
mes "[Inspector]";
mes "\"Made any progress yet?\"";
goto L_Close;
L_NohMask_Satchel:
mes "[Inspector]";
mes "\"Then go north and investigate!\"";
goto L_Close;
L_NohMask_Basement:
mes "[Inspector]";
mes "\"Did you look over the basement?\"";
goto L_Close;
L_NohMask_Note:
set @inspector, 13;
callsub S_Update_Mask;
mes "[Inspector]";
mes "\"What a strange note. I'll keep track of this, while you return the mask to the troupe.\"";
mes "";
mes "\"By the way, stay sharp! I may call upon you again.\"";
goto L_Close;
L_NohMask_TravelingTroupe_2:
mes "[Inspector]";
mes "\"Please return the mask to the traveling troupe.\"";
goto L_Close;
L_NohMask_Over:
set @inspector, 15;
callsub S_Update_Mask;
mes "[Inspector]";
mes "\"My men have found all of the stolen items. They were all in the mining camp. We still don't know who did it.\"";
mes "[2500 experience points]";
getexp 2500, 0;
goto L_Close;
L_NohMask_End:
mes "[Inspector]";
mes "\"Remember to stay sharp. I might need your help on another case.\"";
goto L_Close;
L_Close:
set @inspector, 0;
close;
S_Update_Mask:
set QUEST_Hurnscald, (QUEST_Hurnscald & ~(NIBBLE_3_MASK)) | (@inspector << NIBBLE_3_SHIFT);
return;
}
|