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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
|
// TMW2 scripts.
// Authors:
// Jesusalva
// Description:
// Gemini Sisters Quest - Part A: Party Room
034-4,43,52,0 script #GeminiNoBack NPC_HIDDEN,0,0,{
end;
OnTouch:
if (instance_id() < 0 || getcharid(1) < 1) end;
GeminiCheck(8);
npctalkonce l("Oh noes ─ the door is sealed! We can only press forward and failure is final!");
end;
}
034-4,43,51,0 script #GeminiIntro NPC_HIDDEN,2,2,{
end;
OnTouch:
if (instance_id() < 0 || getcharid(1) < 1) end;
GeminiCheck(8);
.@p=getcharid(1);
if (strcharinfo(0) != getpartyleader(.@p)) end;
if (!.state) {
.mp$ = getmap();
.pn$ = getpartyname(getcharid(1));
.pid = getcharid(1);
.state = true;
initnpctimer;
killmonsterall(.mp$); // Cancel everything done thus far, incl. showdown
}
end;
OnTimer1000:
.luvia = monster(.mp$, 48, 45, "Luvia Gemini", Luvia, 1);
immortal(.luvia);
setunitdata(.luvia, UDT_MODE, MD_BOSS|MD_PLANT|MD_NOKNOCKBACK);
end;
OnTimer2500:
unittalk(.luvia, "Well, well, well, look at what we have here!");
end;
OnTimer6000:
unittalk(.luvia, sprintf("If it isn't the so-called \"%s\"!", .pn$));
end;
OnTimer9500:
unittalk(.luvia, "I'm sure it was a long journey to reach here, and well, this IS an Inn.");
end;
OnTimer13000:
unittalk(.luvia, "Where are my manners, of course I'll offer you room to sleep...");
end;
OnTimer16500:
unittalk(.luvia, "...Yes, I'll put all of you to sleep... PERMANENTLY! Hahahaha!");
.@pi = getmapusers(.mp$) + 2;
if ($GAME_STORYLINE >= 5)
.@pi += 1;
areamonster(.mp$, 45, 40, 54, 45, strmobinfo(1, Scar), Scar, .@pi / 2);
setunitdata(.luvia, UDT_MODE, MD_BOSS|MD_PLANT|MD_NOKNOCKBACK|MD_CANMOVE);
unitwalk(.luvia, 51, 45);
end;
OnTimer18000:
unitwalk(.luvia, 51, 38);
end;
OnTimer20000:
.@pi = getmapusers(.mp$) + 1;
if ($GAME_STORYLINE >= 5)
.@pi += 1;
areamonster(.mp$, 45, 40, 54, 45, strmobinfo(1, Scar), Scar, .@pi);
unittalk(.luvia, "HAHAHahahaha!");
unitwalk(.luvia, 50, 34);
end;
OnTimer24000:
.@pi = getmapusers(.mp$) + 1;
if ($GAME_STORYLINE >= 5)
.@pi += 1;
monster(.mp$, 37, 33, strmobinfo(1, Scar), Scar, .@pi);
monster(.mp$, 43, 52, strmobinfo(1, Scar), Scar, .@pi);
unitwalk(.luvia, 50, 29);
end;
OnTimer28000:
.@pi = getmapusers(.mp$) + 1;
if ($GAME_STORYLINE >= 5)
.@pi += 1;
monster(.mp$, 50, 29, strmobinfo(1, Scar), Scar, .@pi);
unitwarp(.luvia, "034-4", 45, 45);
end;
OnTimer25000:
unitkill(.luvia);
end;
OnTimer50000:
.@pi = getmapusers(.mp$) + 1;
if ($GAME_STORYLINE >= 5)
.@pi += 1;
monster(.mp$, 50, 29, strmobinfo(1, Scar), Scar, .@pi);
monster(.mp$, 43, 52, strmobinfo(1, Scar), Scar, .@pi);
monster(.mp$, 37, 33, strmobinfo(1, Scar), Scar, .@pi * 3 / 2);
end;
// 1 minute
OnTimer110000:
.@pi = 1;
if ($GAME_STORYLINE >= 5)
.@pi += 1;
monster(.mp$, 50, 29, strmobinfo(1, Scar), Scar, .@pi);
monster(.mp$, 43, 52, strmobinfo(1, Scar), Scar, .@pi);
monster(.mp$, 37, 33, strmobinfo(1, Scar), Scar, .@pi);
end;
// 40 seconds
OnTimer150000:
.@pi = getmapusers(.mp$) + 1;
if ($GAME_STORYLINE >= 5)
.@pi += 1;
monster(.mp$, 50, 29, strmobinfo(1, Scar), Scar, .@pi * 3 / 2);
monster(.mp$, 43, 52, strmobinfo(1, Scar), Scar, .@pi);
monster(.mp$, 37, 33, strmobinfo(1, Scar), Scar, .@pi);
monster(.mp$, 43, 52, strmobinfo(1, BlackMamba), BlackMamba, 1);
end;
// 1 minute
OnTimer210000:
.@pi = 1;
if ($GAME_STORYLINE >= 5)
.@pi += 1;
monster(.mp$, 50, 29, strmobinfo(1, Scar), Scar, .@pi);
monster(.mp$, 43, 52, strmobinfo(1, Scar), Scar, .@pi);
monster(.mp$, 37, 33, strmobinfo(1, Scar), Scar, .@pi);
end;
// 1 minute
OnTimer270000:
.@pi = getmapusers(.mp$) + 1;
if ($GAME_STORYLINE >= 5)
.@pi += 1;
monster(.mp$, 50, 29, strmobinfo(1, Scar), Scar, .@pi * 3 / 2);
monster(.mp$, 43, 52, strmobinfo(1, Scar), Scar, .@pi);
monster(.mp$, 37, 33, strmobinfo(1, Scar), Scar, .@pi);
monster(.mp$, 43, 52, strmobinfo(1, Terranite), Terranite, 1+(.@pi/2));
end;
// 1.5 minutes
OnTimer360000:
.@pi = getmapusers(.mp$) + 1;
monster(.mp$, 50, 29, strmobinfo(1, Scar), Scar, 1+(.@pi/2));
monster(.mp$, 43, 52, strmobinfo(1, Scar), Scar, 1+(.@pi/2));
monster(.mp$, 37, 33, strmobinfo(1, Scar), Scar, 1+(.@pi/2));
monster(.mp$, 50, 29, strmobinfo(1, Terranite), Terranite, .@pi);
monster(.mp$, 43, 52, strmobinfo(1, Forain), Forain, .@pi);
monster(.mp$, 37, 33, strmobinfo(1, AzulSkullSlime), AzulSkullSlime, 1+(.@pi/2));
end;
// 1 minute
OnTimer420000:
.@pi = 1;
if ($GAME_STORYLINE >= 5)
.@pi += 1;
monster(.mp$, 50, 29, strmobinfo(1, Scar), Scar, .@pi);
monster(.mp$, 43, 52, strmobinfo(1, Scar), Scar, .@pi);
monster(.mp$, 37, 33, strmobinfo(1, Scar), Scar, .@pi);
end;
// 1 minute
OnTimer480000:
.@pi = getmapusers(.mp$) + 1;
monster(.mp$, 50, 29, strmobinfo(1, Terranite), Terranite, .@pi);
monster(.mp$, 43, 52, strmobinfo(1, BlackSlimeMother), BlackSlimeMother, 1);
monster(.mp$, 37, 33, strmobinfo(1, BlackMamba), BlackMamba, .@pi + 4);
end;
// +1 minute
// Bypass, or it'll take... a while
OnTimer40000:
if (!$@GM_OVERRIDE) end;
OnTimer540000:
.@pi = getmapusers(.mp$) + 1;
if ($GAME_STORYLINE >= 5)
.@pi += 1;
monster(.mp$, 50, 29, strmobinfo(1, GoboBear), GoboBear, 1+(.@pi/2));
$@VALIA_STATUS[.pid] = 10;
stopnpctimer;
end;
OnInit:
OnInstanceInit:
.state = false;
.mp$ = "";
.pn$ = "";
.pid = 0;
.luvia = 0;
end;
}
034-4,50,29,0 script #GeminiPartB NPC_HIDDEN,0,0,{
end;
OnTouch:
if (instance_id() < 0 || getcharid(1) < 1) end;
GeminiCheck(8);
.@p=getcharid(1);
if ($@VALIA_STATUS[.@p] < 10) {
dispbottom l("Uh? I can't pass. I wonder why, maybe I need to wait?");
end;
}
if (mobcount(getmap(), "all") > 0) {
dispbottom l("I should defeat all mobs before passing.");
end;
}
if (mobcount(getmap(), "all") <= 0 && $@VALIA_STATUS[.@p] == 10) {
$@VALIA_STATUS[.@p]=11;
}
if ($@VALIA_STATUS[.@p] >= 11) {
slide 33, 81;
}
end;
}
|