summaryrefslogtreecommitdiff
path: root/npc/025-3/barrier.txt
blob: 0b0f87cfe328a2ff9c16aa4422d2532faba04e8a (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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
// -----------------------------------------------Warp to Cave 1--------------------------------------------------------------

025-3.gat,78,128,0	script	#WarpBattleCave1	127,1,1,{

  if (Rossy_Quest >= 16 || FLAGS & FLAG_ROSSI_COMPLETED) goto L_AlreadyHelped;
// Check if someone is already inside. Change the x1, y1, x2, y2 values according to the place the player will be warped
    if (getareausers("025-4.gat", 26, 63, 60, 97) >= 1) goto L_SomeoneInside;
// Check if you already done this fight
    if (cavefights & BATTLE_CAVE1) goto L_AlreadyDone;
    if (Rossy_Quest < 15) goto L_Block;

L_StartFight:
    set @battlecave1, 1;
    warp "025-4.gat", 41, 94;
    end;

L_SomeoneInside:
    message strcharinfo(0), $@cave1fighter$ + " is already inside.";
    end;

L_AlreadyDone:
    message strcharinfo(0), "I already defeated the monsters in this cave.";
    end;

L_AlreadyHelped:
    if (@juliadone == 1) end;
    message strcharinfo(0), "I already helped that little girl. There is nothing for me inside this cave.";
    set @juliadone, 1;
    end;

L_Block:
    message strcharinfo(0), "I can't enter this cave. Maybe I should learn more about this place before I go inside.";
    end;
}

// -----------------------------------------------Warp to Cave 2--------------------------------------------------------------

025-3.gat,53,108,0	script	#WarpBattleCave2	127,1,1,{

  if (Rossy_Quest >= 16 || FLAGS & FLAG_ROSSI_COMPLETED) goto L_AlreadyHelped;
// Check if someone is already inside. Change the x1, y1, x2, y2 values according to the place the player will be warped
    if (getareausers("025-4.gat", 97, 62, 126, 96) >= 1) goto L_SomeoneInside;
// Check if you already done this fight
    if (cavefights & BATTLE_CAVE2) goto L_AlreadyDone;
    if (Rossy_Quest < 15) goto L_Block;

L_StartFight:
    set @battlecave2, 1;
    warp "025-4.gat", 110, 94;
    end;

L_SomeoneInside:
    message strcharinfo(0), $@cave2fighter$ + " is already inside.";
    end;

L_AlreadyDone:
    message strcharinfo(0), "I already defeated the monsters in this cave.";
    end;

L_AlreadyHelped:
    if (@juliadone == 1) end;
    message strcharinfo(0), "I already helped that little girl. There is nothing for me inside this cave.";
    set @juliadone, 1;
    end;

L_Block:
    message strcharinfo(0), "I can't enter this cave. Maybe I should learn more about this place before I go inside.";
    end;

}

// -----------------------------------------------Warp to Cave 3-------------------------------------------------------------

025-3.gat,71,84,0	script	#WarpBattleCave3	127,1,1,{

  if (Rossy_Quest >= 16 || FLAGS & FLAG_ROSSI_COMPLETED) goto L_AlreadyHelped;
// Check if someone is already inside. Change the x1, y1, x2, y2 values according to the place the player will be warped
    if (getareausers("025-4.gat", 150, 84, 177, 117) >= 1) goto L_SomeoneInside;
// Check if you already done this fight
    if (cavefights & BATTLE_CAVE3) goto L_AlreadyDone;
    if (Rossy_Quest < 15) goto L_Block;

L_StartFight:
    set @battlecave3, 1;
    warp "025-4.gat", 168, 115;
    end;

L_SomeoneInside:
    message strcharinfo(0), $@cave3fighter$ + " is already inside.";
    end;

L_AlreadyDone:
    message strcharinfo(0), "I already defeated the monsters in this cave.";
    end;

L_AlreadyHelped:
    if (@juliadone == 1) end;
    message strcharinfo(0), "I already helped that little girl. There is nothing for me inside this cave.";
    set @juliadone, 1;
    end;

L_Block:
    message strcharinfo(0), "I can't enter this cave. Maybe I should learn more about this place before I go inside.";
    end;

}

// -----------------------------------------------Warp to Cave 4-------------------------------------------------------------

025-3.gat,80,84,0	script	#WarpBattleCave4	127,1,1,{

  if (Rossy_Quest >= 16 || FLAGS & FLAG_ROSSI_COMPLETED) goto L_AlreadyHelped;
// Check if someone is already inside. Change the x1, y1, x2, y2 values according to the place the player will be warped
    if (getareausers("025-4.gat", 28, 124, 57, 156) >= 1) goto L_SomeoneInside;
// Check if you already done this fight
    if (cavefights & BATTLE_CAVE4) goto L_AlreadyDone;
    if (Rossy_Quest < 15) goto L_Block;

L_StartFight:
    set @battlecave4, 1;
    warp "025-4.gat", 32, 154;
    end;

L_SomeoneInside:
    message strcharinfo(0), $@cave4fighter$ + " is already inside.";
    end;

L_AlreadyDone:
    message strcharinfo(0), "I already defeated the monsters in this cave.";
    end;

L_AlreadyHelped:
    if (@juliadone == 1) end;
    message strcharinfo(0), "I already helped that little girl. There is nothing for me inside this cave.";
    set @juliadone, 1;
    end;

L_Block:
    message strcharinfo(0), "I can't enter this cave. Maybe I should learn more about this place before I go inside.";
    end;

}

// -----------------------------------------------Warp to Cave 5-------------------------------------------------------------

025-3.gat,71,31,0	script	#WarpBattleCave5	127,1,1,{

  if (Rossy_Quest >= 16 || FLAGS & FLAG_ROSSI_COMPLETED) goto L_AlreadyHelped;
// Check if someone is already inside. Change the x1, y1, x2, y2 values according to the place the player will be warped
    if (getareausers("025-4.gat", 91, 131, 124, 160) >= 1) goto L_SomeoneInside;
// Check if you already done this fight
    if (cavefights & BATTLE_CAVE5) goto L_AlreadyDone;
    if (Rossy_Quest < 15) goto L_Block;

L_StartFight:
    set @battlecave5, 1;
    warp "025-4.gat", 100, 158;
    end;

L_SomeoneInside:
    message strcharinfo(0), $@cave5fighter$ + " is already inside.";
    end;

L_AlreadyDone:
    message strcharinfo(0), "I already defeated the monsters in this cave.";
    end;

L_AlreadyHelped:
    if (@juliadone == 1) end;
    message strcharinfo(0), "I already helped that little girl. There is nothing for me inside this cave.";
    set @juliadone, 1;
    end;

L_Block:
    message strcharinfo(0), "I can't enter this cave. Maybe I should learn more about this place before I go inside.";
    end;

}

// -----------------------------------------------Warp to Cave 6-------------------------------------------------------------

025-3.gat,128,36,0	script	#WarpBattleCave6	127,1,1,{

  if (Rossy_Quest >= 16 || FLAGS & FLAG_ROSSI_COMPLETED) goto L_AlreadyHelped;
// Check if someone is already inside. Change the x1, y1, x2, y2 values according to the place the player will be warped
    if (getareausers("025-4.gat", 153, 143, 178, 174) >= 1) goto L_SomeoneInside;
// Check if you already done this fight
    if (cavefights & BATTLE_CAVE6) goto L_AlreadyDone;
    if (Rossy_Quest < 15) goto L_Block;

L_StartFight:
    set @battlecave6, 1;
    warp "025-4.gat", 159, 172;
    end;

L_SomeoneInside:
    message strcharinfo(0), $@cave6fighter$ + " is already inside.";
    end;

L_AlreadyDone:
    message strcharinfo(0), "I already defeated the monsters in this cave.";
    end;

L_AlreadyHelped:
    if (@juliadone == 1) end;
    message strcharinfo(0), "I already helped that little girl. There is nothing for me inside this cave.";
    set @juliadone, 1;
    end;

L_Block:
    message strcharinfo(0), "I can't enter this cave. Maybe I should learn more about this place before I go inside.";
    end;


}

// -----------------------------------------------Warp to Cave 7-------------------------------------------------------------

025-3.gat,70,58,0	script	#WarpBattleCave7	127,1,1,{

  if (Rossy_Quest >= 16 || FLAGS & FLAG_ROSSI_COMPLETED) goto L_AlreadyHelped;
// Check if someone is already inside. Change the x1, y1, x2, y2 values according to the place the player will be warped
    if (getareausers("025-4.gat", 27, 185, 61, 219) >= 1) goto L_SomeoneInside;
// Check if you already done this fight
    if (cavefights & BATTLE_CAVE7) goto L_AlreadyDone;
    if (Rossy_Quest < 15) goto L_Block;

L_StartFight:
    set @battlecave7, 1;
    warp "025-4.gat", 42, 217;
    end;

L_SomeoneInside:
    message strcharinfo(0), $@cave7fighter$ + " is already inside.";
    end;

L_AlreadyDone:
    message strcharinfo(0), "I already defeated the monsters in this cave.";
    end;

L_AlreadyHelped:
    if (@juliadone == 1) end;
    message strcharinfo(0), "I already helped that little girl. There is nothing for me inside this cave.";
    set @juliadone, 1;
    end;

L_Block:
    message strcharinfo(0), "I can't enter this cave. Maybe I should learn more about this place before I go inside.";
    end;

}

// -----------------------------------------------Warp to Cave 8-------------------------------------------------------------

025-3.gat,138,93,0	script	#WarpBattleCave8	127,1,1,{

  if (Rossy_Quest >= 16 || FLAGS & FLAG_ROSSI_COMPLETED) goto L_AlreadyHelped;
// Check if someone is already inside. Change the x1, y1, x2, y2 values according to the place the player will be warped
    if (getareausers("025-4.gat", 90, 193, 119, 216) >= 1) goto L_SomeoneInside;
// Check if you already done this fight
    if (cavefights & BATTLE_CAVE8) goto L_AlreadyDone;
    if (Rossy_Quest < 15) goto L_Block;

L_StartFight:
    set @battlecave8, 1;
    warp "025-4.gat", 105, 214;
    end;

L_SomeoneInside:
    message strcharinfo(0), $@cave8fighter$ + " is already inside.";
    end;

L_AlreadyDone:
    message strcharinfo(0), "I already defeated the monsters in this cave.";
    end;

L_AlreadyHelped:
    if (@juliadone == 1) end;
    message strcharinfo(0), "I already helped that little girl. There is nothing for me inside this cave.";
    set @juliadone, 1;
    end;

L_Block:
    message strcharinfo(0), "I can't enter this cave. Maybe I should learn more about this place before I go inside.";
    end;

}

// -----------------------------------------------Warp to Cave 9-------------------------------------------------------------

025-3.gat,138,159,0	script	#WarpBattleCave9	127,1,1,{

  if (Rossy_Quest >= 16 || FLAGS & FLAG_ROSSI_COMPLETED) goto L_AlreadyHelped;
// Check if someone is already inside. Change the x1, y1, x2, y2 values according to the place the player will be warped
    if (getareausers("025-4.gat", 144, 192, 173, 226) >= 1) goto L_SomeoneInside;
// Check if you already done this fight
    if (cavefights & BATTLE_CAVE9) goto L_AlreadyDone;
    if (Rossy_Quest < 15) goto L_Block;

L_StartFight:
    set @battlecave9, 1;
    warp "025-4.gat", 157, 224;
    end;

L_SomeoneInside:
    message strcharinfo(0), $@cave9fighter$ + " is already inside.";
    end;

L_AlreadyDone:
    message strcharinfo(0), "I already defeated the monsters in this cave.";
    end;

L_AlreadyHelped:
    if (@juliadone == 1) end;
    message strcharinfo(0), "I already helped that little girl. There is nothing for me inside this cave.";
    set @juliadone, 1;
    end;

L_Block:
    message strcharinfo(0), "I can't enter this cave. Maybe I should learn more about this place before I go inside.";
    end;

}

// -----------------------------------------------Warp to Boss Cave----------------------------------------------------------

025-3.gat,77,169,0	script	#WarpBossCave	127,1,1,{

    if (Rossy_Quest >= 16 || FLAGS & FLAG_ROSSI_COMPLETED) goto L_AlreadyHelped;

//Check if you can enter this cave
    if (cavefights & BATTLE_CAVE1 & BATTLE_CAVE2 & BATTLE_CAVE3 & BATTLE_CAVE4 & BATTLE_CAVE5 & BATTLE_CAVE6 & BATTLE_CAVE7 & BATTLE_CAVE8 & BATTLE_CAVE9) goto L_StartFight;

//Check if someone is already inside. Change the x1, y1, x2, y2 values according to the place the player will be warped
    if (getareausers("025-4.gat", 142, 24, 172, 48) >= 1) goto L_SomeoneInside;

    message strcharinfo(0), "It feels like something terrible is lurking inside this cave... But you can't enter before you defeat the monsters in the other caves.";
    end;

L_StartFight:
    set @battlebosscave, 1;
    warp "025-4.gat", 157, 46;
    end;

L_SomeoneInside:
    message strcharinfo(0), $@cave10fighter$ + " is already inside.";
    end;

L_AlreadyHelped:
    if (@juliadone == 1) end;
    message strcharinfo(0), "I already helped that little girl. There is nothing for me inside this cave.";
    set @juliadone, 1;
    end;
}