summaryrefslogtreecommitdiff
path: root/npc/halloween/2006/halloween3.txt
blob: c640522eb1641a4ccb84b54e8fece011e049b0b7 (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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
011-1.gat,45,85,0 script Halloween3 103,{
        mes "[Halloweenist]";
        mes "It's Halloween.";
        mes "The time for tricks and treats.";
        next;

        mes "[Halloweenist]";
        mes "You get one of either from me.";
        next;

        menu "Trick or treat.",L_tricktreat,"No thanks.",L_no;

L_tricktreat:
        if(HWQUEST3 == 1) goto L_only_once;
	set HWQUEST3,1;
	mes "[Halloweenist]";
	mes "Now you will get a...";
        next;
	set @TEMP,rand(9);
	if(@TEMP < 7) goto L_treat;
	goto L_trick;

L_treat:
	mes "[Halloweenist]";
	mes "...Treat!";
        set @TEMP,rand(9);
	next;
        if(@TEMP == 0) goto L_treat_0;
        if(@TEMP == 1) goto L_treat_1;
	if(@TEMP == 2) goto L_treat_2;
	if(@TEMP == 3) goto L_treat_3;
	if(@TEMP == 4) goto L_treat_4;
	if(@TEMP == 5) goto L_treat_5;
	if(@TEMP == 6) goto L_treat_6;
	if(@TEMP == 7) goto L_treat_7;
	if(@TEMP == 8) goto L_treat_8;
	if(@TEMP == 9) goto L_treat_9;

L_trick:
	mes "[Halloweenist]";
	mes "...Trick!";
	set @TEMP,rand(9);
	next;
	if(@TEMP == 0) goto L_trick_0;
	if(@TEMP == 1) goto L_trick_1;
	if(@TEMP == 2) goto L_trick_2;
	if(@TEMP == 3) goto L_trick_3;
	if(@TEMP == 4) goto L_trick_4;
	if(@TEMP == 5) goto L_trick_5;
	if(@TEMP == 6) goto L_trick_6;
	if(@TEMP == 7) goto L_trick_7;
	if(@TEMP == 8) goto L_trick_8;
	if(@TEMP == 9) goto L_trick_9;

L_trick_0:
	mes "[Halloweenist]";
	mes "Mwahahaha!";
	mes "I stole some of your money!";
	set Zeny,Zeny-rand(500,1500);
	close;

L_trick_1:
	mes "[Halloweenist]";
	mes "You will now die.";
	next;
	mes "[Halloweenist]";
	mes "Have a nice halloween as a corpse!";
	gmcommand "@die ";
	close;

L_trick_2:
        mes "[Halloweenist]";
        mes "May all of your disgusting stats and skills be gone!";
        next;
        mes "[Halloweenist]";
        mes "Abracadabra!";
        gmcommand "@charstreset "+strcharinfo(0);
        gmcommand "@charskreset "+strcharinfo(0);
        close;

L_trick_3:
	mes "[Halloweenist]";
	mes "You will now get randomly warped!";
	next;
	gmcommand "@jump ";
	mes "[Halloweenist]";
	mes "Happy Halloween!";
	close;

L_trick_4:
	mes "[Halloweenist]";
	mes "You will now drop all of your items!";
	next;
	mes "[Halloweenist]";
	mes "Better luck with my collegues...";
	gmcommand "@dropall ";
	close;

L_trick_5:
	mes "[Halloweenist]";
	mes "Your sex will now change!";
	next;
	mes "[Halloweenist]";
	mes "Bwahahaha!";
	gmcommand "@charchangesex "+strcharinfo(0);
	close;

L_trick_6:
	mes "[Halloweenist]";
	mes "I'll now kill all monsters on this map.";
	next;
	mes "[Halloweenist]";
	mes "Done!";
	gmcommand "@killmonster2 ";
	close;

L_trick_7:
	mes "[Halloweenist]";
	mes "I'll summon maggots!";
	next;
	mes "[Halloweenist]";
	mes "Mwahahaha!";
	gmcommand "@spawn 1002 50 ";
	close;

L_trick_8:
	mes "[Halloweenist]";
	mes "I'll summon some Fire Skulls now!";
	next;
	mes "[Halloweenist]";
	mes "Mwahahahaha!";
	gmcommand "@spawn 1023 5 ";
	close;

L_trick_9:
	mes "[Halloweenist]";
	mes "I'll diss you around the server.";
	next;
	mes "[Halloweenist]";
	mes "Mwahahahah!";
	gmcommand "@kami "+strcharinfo(0)+" is getting tricked!";
	close;

L_treat_0:
	mes "[Halloweenist]";
	mes "You just won some money.";
	set Zeny,Zeny+rand(500,15000);
	close;

L_treat_1:
	mes "[Halloweenist]";
	mes "You just won a Pumpkin Helmet!";
	getitem 615,1;
	close;

L_treat_2:
	mes "[Halloweenist]";
	mes "You just won an Axe Hat!";
	getitem 616,1;
	close;

L_treat_3:
        mes "[Halloweenist]";
	mes "You just won a Pirate Hat!";
	getitem 617,1;
	close;

L_treat_4:
        mes "[Halloweenist]";
	mes "You just won Goggles!";
	getitem 618,1;
	close;

L_treat_5:
        mes "[Halloweenist]";
	mes "You just won Leather Goggles!";
	getitem 619,1;
	close;

L_treat_6:
        mes "[Halloweenist]";
	mes "You just won a Circlet!";
	getitem 620,1;
	close;

L_treat_7:
        mes "[Halloweenist]";
	mes "You just won an Eyepatch!";
	getitem 621,1;
	close;

L_treat_8:
        mes "[Halloweenist]";
	mes "You just won a Bandana!";
	getitem 622,1;
	close;

L_treat_9:
        mes "[Halloweenist]";
	mes "You just won 500 exp!";
	getexp 500,0;
	close;

L_only_once:
        mes "[Halloweenist]";
        mes "You already got one from me.";
        close;

L_no:
	mes "[Halloweenist]";
	mes "You a chicken or something?";
	close;
}