summaryrefslogblamecommitdiff
path: root/npc/other/turbotrack/Normal_Solo.txt
blob: 6c39bf7468fc362e76823e7d0393541cb3c060ac (plain) (tree)
1
2
3
4
5
6
7
8
9
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
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
                                                              



                                                              
       
                                                              
               
                                                               

                                                              
                                                 
                                             
                                                                       
                                                            
                                      

                                                            


                                                              

            

















































































































                                                                                                                                             






























































































































































































































































































































































































































































































































































                                                                                                                                                                   
                       













































































































































































                                                                                                                   
                                                                                                                                                       





                                                        
                                                                                                                                                             






























                                                                                                                                
                                                                                                                 



                                                   
                                                                


                                              
                                                                                                          

                                                                                     
                                                                                         





















































































































































































                                                                                                                                      
                                    


                                               

                         

                                   
                                








































































                                                                                                                                                      
                                       





















































                                                                        
                                  












                                                                               
                                                                               


















































                                                                               
                                                                      
//===== rAthena Script =======================================
//= Turbo Track - Solo Mode
//===== By: ==================================================
//= L0ne_W0lf
//===== Current Version: =====================================
//= 1.6
//===== Compatible With: =====================================
//= rAthena SVN
//===== Description: ========================================= 
//= Turbo Track Course: Solo Mode/Time Attack
//===== Additional Comments: =================================
//= 1.0 Translated from the Official. [L0ne_W0lf]
//= 1.1 Fixed small official bug. [L0ne_W0lf]
//= 1.2 Fixed end timer not enabling warp. (bugreport:1682) [L0ne_W0lf]
//= 1.3 Replaced effect numerics with constants. [L0ne_W0lf]
//= 1.4 Fixed a little mistake [akrus]
//= 1.5 Fixed variable typo (Deleted in version 1.6) [Elias]
//= 1.6 Fixed the "bing#n1" issue. (bugreport:5050) [Elias]
//============================================================

turbo_room,72,132,3	script	Solo Mode#n1	124,{
	end;

OnInit:
	waitingroom "Solo Mode",60,"Solo Mode#n1::OnStartArena",1;
	//SetFeeZeny 1000
	enablewaitingroomevent "Solo Mode#n1";
	end;

OnEnable:
	enablenpc "Solo Mode#n1";
	enablewaitingroomevent "Solo Mode#n1";
	end;

OnStartArena:
	warpwaitingpc "turbo_n_1",298,161;
	donpcevent "Broadcast#n1::OnEnable";
	disablewaitingroomevent "Solo Mode#n1";
	end;
}
	
turbo_n_1,298,167,3	script	Helper#n1_F	124,{
	mes "[Helper]";
	mes "You are now in the";
	mes "Waiting Room. You will";
	mes "be guided to the Starting Line";
	mes "after 30 seconds, so please use";
	mes "this time to prepare your items";
	mes "and equipment. Thank you.";
	close;
}

turbo_n_1,298,167,0	script	Point Give-Away Guy#n1	-1,15,15,{
OnInit:
	disablenpc "Point Give-Away Guy#n1";
	end;

OnTouch:
	if (tt_point < 28999) {
		set tt_point,tt_point+2;
		warp "turbo_n_1",59,364;
	}
	else
		warp "turbo_n_1",59,364;
	end;
}

turbo_n_1,167,3,0	script	Broadcast#n1	-1,{
OnInit:
	disablenpc "Broadcast#n1";
	end;

OnEnable:
	enablenpc "Broadcast#n1";
	initnpctimer;
	end;

OnTimer2000:
	mapannounce "turbo_n_1","You are now in the Waiting Room where you can check your items and prepare for the race.",bc_map,"0x33FF66";
	end;

OnTimer7000:
	mapannounce "turbo_n_1","You will have 30 seconds before you are transported to the Starting Line.",bc_map,"0x33FF66";
	end;

OnTimer10000:
	mapannounce "turbo_n_1","Please make sure that you have suitable equipment and items with you.",bc_map,"0x33FF66";
	end;

OnTimer15000:
	mapannounce "turbo_n_1","The 30 second countdown will begin shortly.",bc_map,"0x33FF66";
	end;

OnTimer17000:
	mapannounce "turbo_n_1","30 seconds remaining.",bc_map,"0x33FF66";
	end;

OnTimer27000:
	mapannounce "turbo_n_1","20 seconds remaining.",bc_map,"0x33FF66";
	end;

OnTimer37000:
	mapannounce "turbo_n_1","10 seconds remaining.",bc_map,"0x33FF66";
	end;

OnTimer42000:
	mapannounce "turbo_n_1","5 seconds remaining.",bc_map,"0x33FF66";
	end;

OnTimer43000:
	mapannounce "turbo_n_1","4 seconds remaining.",bc_map,"0x33FF66";
	end;

OnTimer44000:
	mapannounce "turbo_n_1","3 seconds remaining.",bc_map,"0x33FF66";
	end;

OnTimer45000:
	mapannounce "turbo_n_1","2 seconds remaining.",bc_map,"0x33FF66";
	end;

OnTimer46000:
	mapannounce "turbo_n_1","1 second remaining.",bc_map,"0x33FF66";
	end;

OnTimer47000:
	mapannounce "turbo_n_1","You will be transported to the Starting Line shortly.",bc_map,"0x33FF66";
	end;

OnTimer49000:
	enablenpc "Point Give-Away Guy#n1";
	donpcevent "Master#n1::OnEnable";
	end;

OnTimer50000:
	donpcevent "snake#n1::OnEnable";
	donpcevent "hunting#n1::OnEnable";
	end;

OnTimer57000:
	disablenpc "Point Give-Away Guy#n1";
	end;
}

turbo_n_1,167,3,0	script	Master#n1	-1,{
OnInit:
	disablenpc "Master#n1";
	end;

OnEnable:
	enablenpc "Master#n1";
	initnpctimer;
	end;

OnDisable:
	stopnpctimer;
	disablenpc "Master#n1";
	end;

OnTimer7000:
	mapannounce "turbo_n_1","Welcome to the Turbo Track.",bc_map,"0x33FF66";
	end;

OnTimer9000:
	mapannounce "turbo_n_1","The game will be hosted for 15 minutes and at least one person must complete the entire course.",bc_map,"0x33FF66";
	end;

OnTimer11000:
	mapannounce "turbo_n_1","We hope you will do your best.",bc_map,"0x33FF66";
	end;

OnTimer13000:
	mapannounce "turbo_n_1","The game will begin after a 5 second countdown. Everyone, please take your positions behind the Starting Line.",bc_map,"0x33FF66";
	end;

OnTimer15000:
	mapannounce "turbo_n_1","The countdown will commence shortly.",bc_map,"0x33FF66";
	end;

OnTimer17000:
	mapannounce "turbo_n_1","- 5 -",bc_map,"0x33FF66";
	end;

OnTimer18000:
	mapannounce "turbo_n_1","- 4 -",bc_map,"0x33FF66";
	end;

OnTimer19000:
	mapannounce "turbo_n_1","- 3 -",bc_map,"0x33FF66";
	end;

OnTimer20000:
	mapannounce "turbo_n_1","- 2 -",bc_map,"0x33FF66";
	end;

OnTimer21000:
	mapannounce "turbo_n_1","- 1 -",bc_map,"0x33FF66";
	end;

OnTimer22000:
	mapannounce "turbo_n_1","- 0 -",bc_map,"0x33FF66";
	end;

OnTimer23000:
	mapannounce "turbo_n_1","Now! The race has begun! Go Go Go!!",bc_map,"0x33FF66";
	disablenpc "No_Unfair_Start#n1-1";
	disablenpc "No_Unfair_Start#n1-2";
	set $@start_time,gettimetick(0);
	end;

OnTimer30000:
	mapannounce "turbo_n_1","Remember that this is a 15 minute race. After 15 minutes, everyone will be transported out of the race track.",bc_map,"0x33FF66";
	end;

OnTimer83000:
	mapannounce "turbo_n_1","You have 14 minutes left.",bc_map,"0x33FF66";
	end;

OnTimer143000:
	mapannounce "turbo_n_1","You have 13 minutes left.",bc_map,"0x33FF66";
	end;

OnTimer203000:
	mapannounce "turbo_n_1","You have 12 minutes left.",bc_map,"0x33FF66";
	end;

OnTimer263000:
	mapannounce "turbo_n_1","You have 11 minutes left.",bc_map,"0x33FF66";
	end;

OnTimer323000:
	mapannounce "turbo_n_1","You have 10 minutes left.",bc_map,"0x33FF66";
	end;

OnTimer383000:
	mapannounce "turbo_n_1","You have 9 minutes left.",bc_map,"0x33FF66";
	end;

OnTimer443000:
	mapannounce "turbo_n_1","You have 8 minutes left.",bc_map,"0x33FF66";
	end;

OnTimer503000:
	mapannounce "turbo_n_1","You have 7 minutes left.",bc_map,"0x33FF66";
	end;

OnTimer563000:
	mapannounce "turbo_n_1","You have 6 minutes left.",bc_map,"0x33FF66";
	end;

OnTimer623000:
	mapannounce "turbo_n_1","You have 5 minutes left.",bc_map,"0x33FF66";
	end;

OnTimer683000:
	mapannounce "turbo_n_1","You have 4 minutes left.",bc_map,"0x33FF66";
	end;

OnTimer743000:
	mapannounce "turbo_n_1","You have 3 minutes left.",bc_map,"0x33FF66";
	end;

OnTimer803000:
	mapannounce "turbo_n_1","You have 2 minutes left.",bc_map,"0x33FF66";
	end;

OnTimer863000:
	mapannounce "turbo_n_1","You have 1 minute left.",bc_map,"0x33FF66";
	end;

OnTimer893000:
	mapannounce "turbo_n_1","You have 30 seconds left.",bc_map,"0x33FF66";
	end;

OnTimer903000:
	mapannounce "turbo_n_1","You have 20 seconds left.",bc_map,"0x33FF66";
	end;

OnTimer913000:
	mapannounce "turbo_n_1","You have 10 seconds left.",bc_map,"0x33FF66";
	end;

OnTimer918000:
	mapannounce "turbo_n_1","You have 5 seconds left.",bc_map,"0x33FF66";
	end;

OnTimer919000:
	mapannounce "turbo_n_1","You have 4 seconds left.",bc_map,"0x33FF66";
	end;

OnTimer920000:
	mapannounce "turbo_n_1","You have 3 seconds left.",bc_map,"0x33FF66";
	end;

OnTimer921000:
	mapannounce "turbo_n_1","You have 2 seconds left.",bc_map,"0x33FF66";
	end;

OnTimer922000:
	mapannounce "turbo_n_1","You have 1 second left.",bc_map,"0x33FF66";
	end;

OnTimer923000:
	mapannounce "turbo_n_1","Time's up!",bc_map,"0x33FF66";
	end;

OnTimer925000:
	mapannounce "turbo_n_1","The race is over.",bc_map,"0x33FF66";
	end;

OnTimer927000:
	mapannounce "turbo_n_1","[Everyone will be transported to a Waiting Room.]",bc_map,"0x33FF66";
	mapwarp "turbo_n_1","turbo_room",71,89;
	// all NPC OFF
	disablenpc "Broadcast#n1";
	donpcevent "Master#n1::OnDisable";
	donpcevent "Solo Mode#n1::OnEnable";
	// start line NPC ON
	enablenpc "No_Unfair_Start#n1-1";
	enablenpc "No_Unfair_Start#n1-2";
	// monster reset
	donpcevent "snake#n1::Onreset";
	donpcevent "hunting#n1::Onreset";
	// NPC
	disablenpc "Guide#TBT_n_1";
	enablenpc "cos_n_1_end";
	enablenpc "Notice_Maker1#TBT_n_1";
	enablenpc "Notice_Maker3#TBT_n_1";
	enablenpc "Notice_Maker4#TBT_n_1";
	enablenpc "Disposable_Switch#n1";
	disablenpc "Flasher_Exit_1#n1";
	disablenpc "Flasher_Exit_2#n1";
	end;
}

turbo_n_1,62,379,0	script	No_Unfair_Start#n1-1	-1,0,31,{
OnTouch:
	warp "turbo_n_1",59,364;
	end;
}

turbo_n_1,68,379,5	script	No_Unfair_Start#n1-2	-1,5,31,{
OnTouch:
	warp "turbo_n_1",59,364;
	end;
}

// Turbo Track: Expert Mode - 4 Players (Log Race)
turbo_n_1,118,377,0	script	trap_a#n_1-1::TurboLogRace_n_1	-1,44,1,{
OnTouch:
	set .@dropuser,rand(1,3);
	if (.@dropuser == 1)
		warp "turbo_n_1",72,372;
	else if (.@dropuser == 2)
		warp "turbo_n_1",72,365;
	else
		warp "turbo_n_1",72,357;
	end;
}
turbo_n_1,77,375,0	duplicate(TurboLogRace_n_1)	trap_a#n_1-2	-1,3,1
turbo_n_1,82,375,0	duplicate(TurboLogRace_n_1)	trap_a#n_1-3	-1,1,1
turbo_n_1,82,372,0	duplicate(TurboLogRace_n_1)	trap_a#n_1-4	-1,0,2
turbo_n_1,83,372,0	duplicate(TurboLogRace_n_1)	trap_a#n_1-5	-1,0,2
turbo_n_1,97,374,0	duplicate(TurboLogRace_n_1)	trap_a#n_1-6	-1,1,2
turbo_n_1,98,374,0	duplicate(TurboLogRace_n_1)	trap_a#n_1-7	-1,1,2
turbo_n_1,122,372,0	duplicate(TurboLogRace_n_1)	trap_a#n_1-8	-1,2,4
turbo_n_1,125,374,0	duplicate(TurboLogRace_n_1)	trap_a#n_1-9	-1,0,4
turbo_n_1,132,374,0	duplicate(TurboLogRace_n_1)	trap_a#n_1-10	-1,7,2
turbo_n_1,156,374,0	duplicate(TurboLogRace_n_1)	trap_a#n_1-11	-1,6,2
turbo_n_1,163,375,0	duplicate(TurboLogRace_n_1)	trap_a#n_1-12	-1,0,3
turbo_n_1,164,377,0	duplicate(TurboLogRace_n_1)	trap_a#n_1-13	-1,1,1
// second line
turbo_n_1,76,369,0	duplicate(TurboLogRace_n_1)	trap_b#n_1-1	-1,2,2
turbo_n_1,79,369,0	duplicate(TurboLogRace_n_1)	trap_b#n_1-2	-1,0,2
turbo_n_1,77,366,0	duplicate(TurboLogRace_n_1)	trap_b#n_1-3	-1,3,0
turbo_n_1,85,366,0	duplicate(TurboLogRace_n_1)	trap_b#n_1-4	-1,5,1
turbo_n_1,87,363,0	duplicate(TurboLogRace_n_1)	trap_b#n_1-5	-1,2,1
turbo_n_1,88,368,0	duplicate(TurboLogRace_n_1)	trap_b#n_1-6	-1,2,5
turbo_n_1,92,370,0	duplicate(TurboLogRace_n_1)	trap_b#n_1-7	-1,1,3
turbo_n_1,98,368,0	duplicate(TurboLogRace_n_1)	trap_b#n_1-8	-1,4,1
turbo_n_1,109,371,0	duplicate(TurboLogRace_n_1)	trap_b#n_1-9	-1,7,2
turbo_n_1,110,368,0	duplicate(TurboLogRace_n_1)	trap_b#n_1-10	-1,7,0
turbo_n_1,113,366,0	duplicate(TurboLogRace_n_1)	trap_b#n_1-11	-1,3,2
turbo_n_1,117,368,0	duplicate(TurboLogRace_n_1)	trap_b#n_1-12	-1,0,5
turbo_n_1,123,364,0	duplicate(TurboLogRace_n_1)	trap_b#n_1-13	-1,6,1
turbo_n_1,136,368,0	duplicate(TurboLogRace_n_1)	trap_b#n_1-14	-1,8,1
turbo_n_1,136,366,0	duplicate(TurboLogRace_n_1)	trap_b#n_1-15	-1,8,0
turbo_n_1,144,370,0	duplicate(TurboLogRace_n_1)	trap_b#n_1-16	-1,2,3
turbo_n_1,147,370,0	duplicate(TurboLogRace_n_1)	trap_b#n_1-17	-1,0,3
turbo_n_1,155,369,0	duplicate(TurboLogRace_n_1)	trap_b#n_1-18	-1,7,0
turbo_n_1,155,368,0	duplicate(TurboLogRace_n_1)	trap_b#n_1-19	-1,7,0
turbo_n_1,151,367,0	duplicate(TurboLogRace_n_1)	trap_b#n_1-20	-1,3,0
turbo_n_1,153,366,0	duplicate(TurboLogRace_n_1)	trap_b#n_1-21	-1,1,0
turbo_n_1,155,367,0	duplicate(TurboLogRace_n_1)	trap_b#n_1-22	-1,0,1
//third line
turbo_n_1,78,362,0	duplicate(TurboLogRace_n_1)	trap_c#n_1-1	-1,4,1
turbo_n_1,78,359,0	duplicate(TurboLogRace_n_1)	trap_c#n_1-2	-1,4,1
turbo_n_1,83,362,0	duplicate(TurboLogRace_n_1)	trap_c#n_1-3	-1,0,1
turbo_n_1,88,359,0	duplicate(TurboLogRace_n_1)	trap_c#n_1-4	-1,5,1
turbo_n_1,89,357,0	duplicate(TurboLogRace_n_1)	trap_c#n_1-5	-1,1,1
turbo_n_1,92,390,0	duplicate(TurboLogRace_n_1)	trap_c#n_1-6	-1,1,1
turbo_n_1,92,357,0	duplicate(TurboLogRace_n_1)	trap_c#n_1-7	-1,1,1
turbo_n_1,98,364,0	duplicate(TurboLogRace_n_1)	trap_c#n_1-8	-1,6,1
turbo_n_1,98,362,0	duplicate(TurboLogRace_n_1)	trap_c#n_1-9	-1,6,0
turbo_n_1,106,364,0	duplicate(TurboLogRace_n_1)	trap_c#n_1-10	-1,2,2
turbo_n_1,107,360,0	duplicate(TurboLogRace_n_1)	trap_c#n_1-11	-1,1,2
turbo_n_1,109,360,0	duplicate(TurboLogRace_n_1)	trap_c#n_1-12	-1,0,2
turbo_n_1,112,361,0	duplicate(TurboLogRace_n_1)	trap_c#n_1-13	-1,3,1
turbo_n_1,116,359,0	duplicate(TurboLogRace_n_1)	trap_c#n_1-14	-1,0,2
turbo_n_1,117,359,0	duplicate(TurboLogRace_n_1)	trap_c#n_1-15	-1,0,2
turbo_n_1,116,356,0	duplicate(TurboLogRace_n_1)	trap_c#n_1-16	-1,0,2
turbo_n_1,117,356,0	duplicate(TurboLogRace_n_1)	trap_c#n_1-17	-1,0,2
turbo_n_1,129,360,0	duplicate(TurboLogRace_n_1)	trap_c#n_1-18	-1,12,1
turbo_n_1,129,358,0	duplicate(TurboLogRace_n_1)	trap_c#n_1-19	-1,12,0
turbo_n_1,132,357,0	duplicate(TurboLogRace_n_1)	trap_c#n_1-20	-1,2,1
turbo_n_1,137,357,0	duplicate(TurboLogRace_n_1)	trap_c#n_1-21	-1,2,1
turbo_n_1,147,363,0	duplicate(TurboLogRace_n_1)	trap_c#n_1-22	-1,16,1
turbo_n_1,149,365,0	duplicate(TurboLogRace_n_1)	trap_c#n_1-23	-1,1,0
turbo_n_1,158,362,0	duplicate(TurboLogRace_n_1)	trap_c#n_1-24	-1,1,4
turbo_n_1,154,360,0	duplicate(TurboLogRace_n_1)	trap_c#n_1-25	-1,2,2
turbo_n_1,161,360,0	duplicate(TurboLogRace_n_1)	trap_c#n_1-26	-1,1,2
turbo_n_1,161,365,0	duplicate(TurboLogRace_n_1)	trap_c#n_1-27	-1,1,0
turbo_n_1,160,366,0	duplicate(TurboLogRace_n_1)	trap_c#n_1-28	-1
//fourth line
turbo_n_1,79,353,0	duplicate(TurboLogRace_n_1)	trap_d#n_1-1	-1,5,2
turbo_n_1,85,354,0	duplicate(TurboLogRace_n_1)	trap_d#n_1-2	-1,0,1
turbo_n_1,99,353,0	duplicate(TurboLogRace_n_1)	trap_d#n_1-3	-1,14,0
turbo_n_1,99,352,0	duplicate(TurboLogRace_n_1)	trap_d#n_1-4	-1,14,0
turbo_n_1,99,356,0	duplicate(TurboLogRace_n_1)	trap_d#n_1-5	-1,3,3
turbo_n_1,103,356,0	duplicate(TurboLogRace_n_1)	trap_d#n_1-6	-1,0,3
turbo_n_1,108,354,0	duplicate(TurboLogRace_n_1)	trap_d#n_1-7	-1,5,1
turbo_n_1,112,356,0	duplicate(TurboLogRace_n_1)	trap_d#n_1-8	-1,0,1
turbo_n_1,113,356,0	duplicate(TurboLogRace_n_1)	trap_d#n_1-9	-1,0,1
turbo_n_1,123,353,0	duplicate(TurboLogRace_n_1)	trap_d#n_1-10	-1,3,2
turbo_n_1,127,353,0	duplicate(TurboLogRace_n_1)	trap_d#n_1-11	-1,0,2
turbo_n_1,145,352,0	duplicate(TurboLogRace_n_1)	trap_d#n_1-12	-1,17,1
turbo_n_1,152,354,0	duplicate(TurboLogRace_n_1)	trap_d#n_1-13	-1,10,1
turbo_n_1,145,357,0	duplicate(TurboLogRace_n_1)	trap_d#n_1-14	-1,1,2
turbo_n_1,148,357,0	duplicate(TurboLogRace_n_1)	trap_d#n_1-15	-1,1,2

// Turbo Track: Expert Mode - 4 Players (Sand Hill)
turbo_n_1,322,354,0	script	#TBT_trap_n1-::TurboSandHill_n1	-1,3,3,{
OnTouch:
	switch(rand(1,10)) {
	case 1:
	case 9:
		sc_start SC_CONFUSION,8000,0;
		emotion e_swt2,1;
		end;
	case 2:
		sc_start SC_STONE,4000,0;
		end;
	case 4:
		sc_start SC_SLEEP,4000,0;
		end;
	case 6:
		sc_start SC_FREEZE,4000,0;
		emotion e_swt2,1;
		end;
	case 8:
		sc_start SC_STUN,4000,0;
		end;
	case 10:
		sc_start SC_CURSE,80000,0;
		end;
	}
}

turbo_n_1,323,360,0	duplicate(TurboSandHill_n1)	#TBT_trap_n1-2	-1,3,3
turbo_n_1,324,365,0	duplicate(TurboSandHill_n1)	#TBT_trap_n1-3	-1,1,1
turbo_n_1,325,370,0	duplicate(TurboSandHill_n1)	#TBT_trap_n1-4	-1,3,3
turbo_n_1,325,375,0	duplicate(TurboSandHill_n1)	#TBT_trap_n1-5	-1,1,1
turbo_n_1,329,377,0	duplicate(TurboSandHill_n1)	#TBT_trap_n1-6	-1,3,3
turbo_n_1,338,372,0	duplicate(TurboSandHill_n1)	#TBT_trap_n1-7	-1,3,3
turbo_n_1,341,364,0	duplicate(TurboSandHill_n1)	#TBT_trap_n1-8	-1,3,3
turbo_n_1,325,359,0	duplicate(TurboSandHill_n1)	#TBT_trap_n1-9	-1,2,2
turbo_n_1,341,355,0	duplicate(TurboSandHill_n1)	#TBT_trap_n1-10	-1,1,1
turbo_n_1,350,355,0	duplicate(TurboSandHill_n1)	#TBT_trap_n1-11	-1,3,3
turbo_n_1,348,363,0	duplicate(TurboSandHill_n1)	#TBT_trap_n1-12	-1,1,1
turbo_n_1,347,370,0	duplicate(TurboSandHill_n1)	#TBT_trap_n1-13	-1,2,2
turbo_n_1,349,377,0	duplicate(TurboSandHill_n1)	#TBT_trap_n1-14	-1,9,9
turbo_n_1,362,372,0	duplicate(TurboSandHill_n1)	#TBT_trap_n1-15	-1,3,3
turbo_n_1,364,365,0	duplicate(TurboSandHill_n1)	#TBT_trap_n1-16	-1,1,1
turbo_n_1,363,357,0	duplicate(TurboSandHill_n1)	#TBT_trap_n1-17	-1,3,3
turbo_n_1,374,358,0	duplicate(TurboSandHill_n1)	#TBT_trap_n1-18	-1,2,2
turbo_n_1,371,367,0	duplicate(TurboSandHill_n1)	#TBT_trap_n1-19	-1,3,3
turbo_n_1,371,376,0	duplicate(TurboSandHill_n1)	#TBT_trap_n1-20	-1,1,1
turbo_n_1,379,375,0	duplicate(TurboSandHill_n1)	#TBT_trap_n1-21	-1,3,3
turbo_n_1,382,363,0	duplicate(TurboSandHill_n1)	#TBT_trap_n1-22	-1,2,2
turbo_n_1,381,354,0	duplicate(TurboSandHill_n1)	#TBT_trap_n1-23	-1,1,1
turbo_n_1,355,362,0	script	#TBT_trap_n1-24	-1,3,3,{
OnTouch:
	if (rand(1,3) == 1) {
		cutin "kafra_03",2;
		mes "^4d4dffAl De Baran";
		mes "Turbo Track";
		mes "is brought to you by";
		mes "the ^800000Kafra Corporation^4d4dff.^000000";
		next;
		mes "^4d4dffWe wish the best of luck to all";
		mes "Turbo Track participants today";
		mes "and thank everyone for using the Kafra Services with all our hearts.^000000";
		next;
		mes "^800000Kafra Corporation^4d4dff has been providing Storage Services,";
		mes "Save Point Services and Teleport Services^4d4dff to our valued customers for years. Just listen to these real customers...^000000";
		next;
		mes "^4d4dff[Karkatan]";
		mes "My land suffered from poor customer service...until Kafra came along!";
		mes " ";
		mes "[Curator Guiss]";
		mes "Oh, Kafra is simply the best!^000000";
		next;
		mes "^ff0000Turbo Track";
		mes "^ff0000Traps in the Cursed Desert!";
		mes "^4d4dffSponsored by ^800000Kafra Corporation^4d4dff";
		mes "''We are always by your side.''^000000";
		close2;
		cutin "kafra_03",255;
		end;
	}
	else {
		sc_start SC_CONFUSION,4000,0;
		end;
	}
}

// Turbo Track: Expert Mode - 4 Players (Water Maze)
turbo_n_1,13,266,0	script	flasher#n_1-01#turbo::TurboWaterMaze_n_1	-1,0,2,{
OnTouch:
	sc_start SC_BLIND,60000,0;
	end;
}
turbo_n_1,24,268,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-02	-1,1,0
turbo_n_1,20,258,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-03	-1,1,0
turbo_n_1,23,251,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-04	-1,0,1
turbo_n_1,36,270,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-05	-1,1,0
turbo_n_1,22,239,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-06	-1,1,0
turbo_n_1,38,239,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-07	-1,0,1
turbo_n_1,37,237,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-08	-1,1,0
turbo_n_1,55,247,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-09	-1,0,1
turbo_n_1,55,246,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-10	-1,1,0
turbo_n_1,63,253,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-11	-1,0,1
turbo_n_1,36,216,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-12	-1,1,0
turbo_n_1,20,209,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-13	-1,1,0
turbo_n_1,28,195,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-14	-1,1,0
turbo_n_1,82,264,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-15	-1,1,0
turbo_n_1,47,185,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-16	-1,0,1
turbo_n_1,53,207,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-17	-1,1,0
turbo_n_1,54,208,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-18	-1,0,1
turbo_n_1,81,247,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-19	-1,0,1
turbo_n_1,105,257,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-20	-1,0,1
turbo_n_1,95,242,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-21	-1,0,1
turbo_n_1,77,232,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-22	-1,2,0
turbo_n_1,67,222,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-23	-1,2,0
turbo_n_1,83,206,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-24	-1,0,1
turbo_n_1,95,224,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-25	-1,0,1
turbo_n_1,106,220,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-26	-1,2,0
turbo_n_1,93,191,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-27	-1,1,0
turbo_n_1,94,192,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-28a	-1,0,1
turbo_n_1,46,214,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-28b	-1,0,1
turbo_n_1,16,247,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-29	-1,1,0
turbo_n_1,58,268,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-30	-1,1,1
turbo_n_1,36,253,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-31	-1,1,0
turbo_n_1,69,238,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-32	-1,1,1
turbo_n_1,58,268,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-33	-1,1,1
turbo_n_1,74,188,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-34	-1,2,0
turbo_n_1,99,207,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-35	-1,1,1
turbo_n_1,74,188,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-36	-1,2,0
turbo_n_1,111,188,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-37a	-1,1,0
turbo_n_1,51,232,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-37b	-1,1,1
turbo_n_1,30,232,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-38	-1,1,1
turbo_n_1,92,256,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-39	-1,1,1
turbo_n_1,79,220,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-40	-1,1,1
turbo_n_1,51,192,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-41	-1,1,1
turbo_n_1,22,227,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-42	-1,1,1
turbo_n_1,51,232,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-43	-1,1,1
turbo_n_1,42,258,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-44	-1,1,0
turbo_n_1,45,271,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-45	-1,2,1
turbo_n_1,72,207,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-46	-1,1,1
turbo_n_1,33,192,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-47	-1,0,1
turbo_n_1,90,241,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-48a	-1,1,0
turbo_n_1,236,3,0	duplicate(TurboWaterMaze_n_1)	flasher#n_1-48b	-1,3,0

// Turbo Track: Expert Mode - 4 Players (Snake Dice course)
turbo_n_1,324,279,0	script	snake01#n1	45,1,1,{
OnTouch:
	set .@turbo2,rand(1,7);
	if (.@turbo2 > 0) && (.@turbo2 < 3)
		warp "turbo_n_1",370,292;
	else if (.@turbo2 > 2) && (.@turbo2 < 5)
		warp "turbo_n_1",295,293;
	else if (.@turbo2 > 4) && (.@turbo2 < 7)
		warp "turbo_n_1",355,292;
	else
		warp "turbo_n_1",279,292;
	end;
}

turbo_n_1,332,279,0	script	snake02#n1	45,1,1,{
OnTouch:
	set .@turbo2,rand(1,8);
	if (.@turbo2 > 0) && (.@turbo2 < 3)
		warp "turbo_n_1",287,256;
	else if (.@turbo2 > 2) && (.@turbo2 < 5)
		warp "turbo_n_1",303,256;
	else if (.@turbo2 > 4) && (.@turbo2 < 7)
		warp "turbo_n_1",347,256;
	else
		warp "turbo_n_1",363,256;
	end;
}

turbo_n_1,324,270,0	script	snake03#n1	45,1,1,{
OnTouch:
	set .@turbo2,rand(1,8);
	if (.@turbo2 > 0) && (.@turbo2 < 3)
		warp "turbo_n_1",279,292;
	else if (.@turbo2 > 2) && (.@turbo2 < 5)
		warp "turbo_n_1",311,292;
	else if (.@turbo2 > 4) && (.@turbo2 < 7)
		warp "turbo_n_1",347,256;
	else
		warp "turbo_n_1",370,292;
	end;
}

turbo_n_1,332,270,0	script	snake04#n1	45,1,1,{
OnTouch:
	set .@turbo2,rand(1,7);
	if (.@turbo2 > 0) && (.@turbo2 < 3)
		warp "turbo_n_1",363,256;
	else if (.@turbo2 > 2) && (.@turbo2 < 5)
		warp "turbo_n_1",295,293;
	else if (.@turbo2 > 4) && (.@turbo2 < 7)
		warp "turbo_n_1",355,292;
	else
		warp "turbo_n_1",287,256;
	end;
}

//monsters
turbo_n_1,389,288,0	script	snake#n1	111,{
Onreset:
	killmonsterall "turbo_n_1";
	end;

OnEnable:
	monster "turbo_n_1",279,284,"Archer Skeleton",1420,1;
	monster "turbo_n_1",279,268,"Archer Skeleton",1420,1;
	monster "turbo_n_1",279,260,"Archer Skeleton",1420,1;
	monster "turbo_n_1",287,288,"Archer Skeleton",1420,1;
	monster "turbo_n_1",287,280,"Archer Skeleton",1420,1;
	monster "turbo_n_1",287,264,"Archer Skeleton",1420,1;
	monster "turbo_n_1",295,284,"Archer Skeleton",1420,1;
	monster "turbo_n_1",295,268,"Archer Skeleton",1420,1;
	monster "turbo_n_1",295,260,"Archer Skeleton",1420,1;
	monster "turbo_n_1",303,288,"Archer Skeleton",1420,1;
	monster "turbo_n_1",303,280,"Archer Skeleton",1420,1;
	monster "turbo_n_1",303,264,"Archer Skeleton",1420,1;
	monster "turbo_n_1",311,284,"Archer Skeleton",1420,1;
	monster "turbo_n_1",311,268,"Archer Skeleton",1420,1;
	monster "turbo_n_1",311,260,"Archer Skeleton",1420,1;
	monster "turbo_n_1",347,288,"Archer Skeleton",1420,1;
	monster "turbo_n_1",347,280,"Archer Skeleton",1420,1;
	monster "turbo_n_1",347,264,"Archer Skeleton",1420,1;
	monster "turbo_n_1",355,284,"Archer Skeleton",1420,1;
	monster "turbo_n_1",355,268,"Archer Skeleton",1420,1;
	monster "turbo_n_1",355,260,"Archer Skeleton",1420,1;
	monster "turbo_n_1",363,288,"Archer Skeleton",1420,1;
	monster "turbo_n_1",363,280,"Archer Skeleton",1420,1;
	monster "turbo_n_1",363,264,"Archer Skeleton",1420,1;
	monster "turbo_n_1",371,284,"Archer Skeleton",1420,1;
	monster "turbo_n_1",371,268,"Archer Skeleton",1420,1;
	monster "turbo_n_1",371,260,"Archer Skeleton",1420,1;
	monster "turbo_n_1",379,288,"Archer Skeleton",1420,1;
	monster "turbo_n_1",379,280,"Archer Skeleton",1420,1;
	monster "turbo_n_1",379,264,"Archer Skeleton",1420,1;
	end;
}

// �����ڽ�
turbo_n_1,90,46,0	script	hunting#n1	111,{
Onreset:
	killmonsterall "turbo_n_1";
	end;

OnEnable:
	monster "turbo_n_1",47,87,"Munak",1610,1;
	monster "turbo_n_1",47,87,"Bongun",1611,1;
	monster "turbo_n_1",47,87,"Munak",1610,1;
	monster "turbo_n_1",24,74,"Munak",1610,1;
	monster "turbo_n_1",24,74,"Bongun",1611,1;
	monster "turbo_n_1",24,74,"Munak",1610,1;
	monster "turbo_n_1",67,42,"Munak",1610,1;
	monster "turbo_n_1",67,42,"Bongun",1611,1;
	monster "turbo_n_1",67,42,"Munak",1610,1;
	monster "turbo_n_1",60,70,"Munak",1610,1;
	monster "turbo_n_1",60,70,"Bongun",1611,1;
	monster "turbo_n_1",60,70,"Munak",1610,1;
	monster "turbo_n_1",32,51,"Munak",1610,1;
	monster "turbo_n_1",32,51,"Bongun",1611,1;
	monster "turbo_n_1",32,51,"Munak",1610,1;
	monster "turbo_n_1",30,25,"Munak",1610,1;
	monster "turbo_n_1",30,25,"Bongun",1611,1;
	monster "turbo_n_1",30,25,"Munak",1610,1;
	monster "turbo_n_1",68,56,"Yao Jun",1612,1;
	monster "turbo_n_1",26,46,"Yao Jun",1612,1;
	monster "turbo_n_1",62,20,"Munak",1610,1;
	monster "turbo_n_1",62,20,"Bongun",1611,1;
	monster "turbo_n_1",62,20,"Munak",1610,1;
	monster "turbo_n_1",216,378,"Munak",1610,1;
	monster "turbo_n_1",218,360,"Munak",1610,1;
	monster "turbo_n_1",223,361,"Munak",1610,1;
	monster "turbo_n_1",243,342,"Munak",1610,1;
	monster "turbo_n_1",247,364,"Munak",1610,1;
	end;
}


// Turbo Track: Expert Mode - 16 Players (Water Maze)
turbo_n_1,179,55,0	script	#n1Intersectiona::TurboHint_n1_1	-1,1,1,{
OnTouch:
	emotion e_what,1;
	end;
}
turbo_n_1,184,45,0	duplicate(TurboHint_n1_1)	#n1Intersectionb	-1,1,1
turbo_n_1,181,30,0	duplicate(TurboHint_n1_1)	#n1Intersectionc	-1,1,1
turbo_n_1,186,28,0	duplicate(TurboHint_n1_1)	#n1Intersectiond	-1,1,1
turbo_n_1,183,19,0	duplicate(TurboHint_n1_1)	#n1Intersectione	-1,1,1
turbo_n_1,191,37,0	duplicate(TurboHint_n1_1)	#n1Intersectionf	-1,1,1
turbo_n_1,173,25,0	duplicate(TurboHint_n1_1)	#n1Intersectiong	-1,1,1
turbo_n_1,201,21,0	duplicate(TurboHint_n1_1)	#n1Intersectionh	-1,1,1
turbo_n_1,222,21,0	duplicate(TurboHint_n1_1)	#n1Intersectioni	-1,1,1
turbo_n_1,214,39,0	duplicate(TurboHint_n1_1)	#n1Intersectionj	-1,1,1
turbo_n_1,222,48,0	duplicate(TurboHint_n1_1)	#n1Intersectionk	-1,1,1
turbo_n_1,214,60,0	duplicate(TurboHint_n1_1)	#n1Intersectionl	-1,1,1
turbo_n_1,209,61,0	duplicate(TurboHint_n1_1)	#n1Intersectionm	-1,1,1
turbo_n_1,208,56,0	duplicate(TurboHint_n1_1)	#n1Intersectionn	-1,1,1

turbo_n_1,178,63,0	script	#n1CorrectPath1::TurboHint_n1_2	-1,1,1,{
OnTouch:
	emotion e_gasp,1;
}
turbo_n_1,182,40,0	duplicate(TurboHint_n1_2)	#n1CorrectPath2	-1,1,1
turbo_n_1,176,29,0	duplicate(TurboHint_n1_2)	#n1CorrectPath3	-1,1,1
turbo_n_1,180,25,0	duplicate(TurboHint_n1_2)	#n1CorrectPath4	-1,1,1
turbo_n_1,201,157,0	duplicate(TurboHint_n1_2)	#n1CorrectPath5	-1,1,1
turbo_n_1,203,65,0	duplicate(TurboHint_n1_2)	#n1CorrectPath6	-1,1,1
turbo_n_1,208,52,0	duplicate(TurboHint_n1_2)	#n1CorrectPath7	-1,1,1
turbo_n_1,208,26,0	duplicate(TurboHint_n1_2)	#n1CorrectPath8	-1,1,1
turbo_n_1,191,30,0	duplicate(TurboHint_n1_2)	#n1CorrectPath9	-1,1,1

turbo_n_1,187,55,0	script	#n1NoWayOut1::TurboHint_n1_3	-1,1,1,{
OnTouch:
	emotion e_swt2,1;
	if (rand(1,4) == 3)
		emotion e_gasp;
	end;
}
turbo_n_1,176,45,0	duplicate(TurboHint_n1_3)	#n1NoWayOut2	-1,1,1
turbo_n_1,222,26,0	duplicate(TurboHint_n1_3)	#n1NoWayOut3	-1,1,1
turbo_n_1,219,39,0	duplicate(TurboHint_n1_3)	#n1NoWayOut4	-1,1,1
turbo_n_1,222,45,0	script	#n1NoWayOut5	-1,1,1,{
OnTouch:
	emotion e_swt2,1;
	end;
}
turbo_n_1,222,61,0	duplicate(TurboHint_n1_3)	#n1NoWayOut6	-1,1,1
turbo_n_1,222,65,0	duplicate(TurboHint_n1_3)	#n1NoWayOut7	-1,1,1


// Turbo Track: Expert Mode - 4 Players (Course-clear broadcasters, and exits?)
turbo_n_1,168,363,0	script	cos_n_1_1	45,1,1,{
OnTouch:
	mapannounce "turbo_n_1","" + strcharinfo(0) +" has just passed the Log Bridge course!",bc_map,"0x70DBDB";
	set .@move1,rand(1,3);
	if (.@move1 == 1)
		warp "turbo_n_1",210,369;
	else if (.@move1 == 2)
		warp "turbo_n_1",210,361;
	else
		warp "turbo_n_1",210,354;
	end;
}

turbo_n_1,258,364,0	script	cos_n_1_2	45,1,1,{
OnTouch:
	mapannounce "turbo_n_1","" + strcharinfo(0) +" has just passed the Cube Hills course!",bc_map,"0x70DBDB";
	warp "turbo_n_1",316,365;
	end;
}

turbo_n_1,316,365,0	script	Disposable_Switch#n1	-1,1,1,{
OnTouch:
	if (rand(1,2) == 1)
		enablenpc "Flasher_Exit_1#n1";
	else
		enablenpc "Flasher_Exit_2#n1";
	disablenpc "Disposable_Switch#n1";
	end;
}

turbo_n_1,385,365,0	script	cos_n_1_3	45,1,1,{
OnTouch:
	set .@to_miro,rand(1,4);
	mapannounce "turbo_n_1","" + strcharinfo(0) +" has just passed the Cursed Desert!",bc_map,"0x70DBDB";
	if (.@to_miro == 1)
		warp "turbo_n_1",46,254;
	else if (.@to_miro == 2)
		warp "turbo_n_1",76,227;
	else if (.@to_miro == 3)
		warp "turbo_n_1",42,197;
	else
		warp "turbo_n_1",86,220;
	end;
}

turbo_n_1,11,266,0	script	Flasher_Exit_1#n1	45,1,1,{
OnInit:
	disablenpc "Flasher_Exit_1#n1";
	end;

OnTouch:
	mapannounce "turbo_n_1","" + strcharinfo(0) +" has just passed the Flasher Maze!",bc_map,"0x70DBDB";
	warp "turbo_n_1",185,227;
	end;
}

turbo_n_1,114,190,0	script	Flasher_Exit_2#n1	45,1,1,{
OnInit:
	disablenpc "Flasher_Exit_2#n1";
	end;

OnTouch:
	mapannounce "turbo_n_1","" + strcharinfo(0) +" has just passed the Flasher Maze!",bc_map,"0x70DBDB";
	warp "turbo_n_1",185,227;
	end;
}

turbo_n_1,250,200,0	script	cos_n_1_5	45,1,1,{
OnTouch:
	mapannounce "turbo_n_1","" + strcharinfo(0) +" has just passed the Single Snail course!",bc_map,"0x70DBDB";
	warp "turbo_n_1",268,275;
	end;
}

turbo_n_1,389,275,0	script	cos_n_1_6	45,1,1,{
OnTouch:
	mapannounce "turbo_n_1","" + strcharinfo(0) +" has just passed the Snake Dice course!",bc_map,"0x70DBDB";
	warp "turbo_n_1",5,91;
	end;
}

turbo_n_1,93,19,0	script	cos_n_1_7	45,1,1,{
OnTouch:
	mapannounce "turbo_n_1","" + strcharinfo(0) +" has just passed the Small Cave course! Hurry, you're so close to the finish!",bc_map,"0x70DBDB";
	warp "turbo_n_1",167,55;
	end;
}

turbo_n_1,232,14,0	script	cos_n_1_8	45,1,1,{
OnTouch:
	mapannounce "turbo_n_1","" + strcharinfo(0) +" has just passed the Invisible Maze! Speed up, you're getting closer to the finish!",bc_map,"0x70DBDB";
	set .@move1,rand(1,3);
	if (.@move1 == 1)
		warp "turbo_n_1",307,52;
	else if (.@move1 == 2)
		warp "turbo_n_1",307,46;
	else
		warp "turbo_n_1",307,40;
}

turbo_n_1,371,47,0	script	cos_n_1_end	45,1,1,{
OnInit:
	enablenpc "cos_n_1_end";
	end;

OnTouch:
	set $@end_time,gettimetick(0);
	mapannounce "turbo_n_1","" + strcharinfo(0) +" has just arrived at the Finish Line! Congratulations!",bc_map,"0xFFFF00";
	donpcevent "TBT_Guide#Broadcast::Onwin_n1";
	warp "turbo_n_1",384,161;
	donpcevent "Guide#TBT_n_1::OnEnable";
	donpcevent "Master#n1::OnDisable";
	disablenpc "Broadcast#n1";
	disablenpc "cos_n_1_end";
	end;
}

turbo_n_1,384,167,1	script	Guide#TBT_n_1	47,{
	set .@hour_start,$@start_time / 10000;
	set .@min_start,(($@start_time % 10000) / 100);
	set .@sec_start,$@start_time % 100;

	//----- ���� ���� �ð��� �ú��� �κ����� ���� -------
	set .@hour_end,$@end_time / 10000;
	set .@min_end,(($@end_time % 10000) / 100);
	set .@sec_end,$@end_time % 100;

	//----- 24�� -> 0�÷� �Ѿ�� �� üũ
	if (hour_start == 23 && hour_end == 0)
		set .@hour_end,24;

	//----- ����,���� �ð��� �ʴ����� �ٲ��� -------------
	set .@st_to_sec,((.@hour_start * 3600) + (.@min_start * 60) + (.@sec_start));
	set .@et_to_sec,((.@hour_end * 3600) + (.@min_end * 60) + (.@sec_end));
	//----- �����ؼ� �����ϴµ� �ɸ� �ð� -----------

	set .@record_time,(.@et_to_sec - .@st_to_sec);
	set .@record_hour,.@record_time / 3600;
	set .@record_min,((.@record_time % 3600) / 60);
	set .@record_sec,.@record_time % 60;

	if (.@record_min < 0) {
		mes "[Guide]";
		mes "Good work! Maybe you didn't";
		mes "set any new records, but you";
		mes "went the distance. Now, let";
		mes "me relieve you of your fatigue~";
		percentheal 100,100;
		next;
		mes "[Guide]";
		if (tt_point < 28991) {
			mes "You will be rewarded";
			mes "with 10 Turbo Track points~!";
			set tt_point,tt_point+10;
			set my_point,tt_point;
			mes "You now have a total of";
			mes "" + tt_point + " Turbo Track points.";
		}
		else {
			mes "Unfortunately, I can't give";
			mes "you any Turbo Track Points";
			mes "since you would exceed the";
			mes "maximum limit. Sorry,";
			mes ""+ strcharinfo(0) +"...";
		}
		next;
		mes "[Guide]";
		mes "Thank you for";
		mes "participating in";
		mes "in Turbo Track.";
		mes "You will be guided";
		mes "to a Waiting Room soon.";
		close2;
		warp "turbo_room",72,89;
		end;
	}
	else {
		set .@topbun,(($ttranks[0] % 3600) / 60 );
		set .@topcho,$ttranks[0] % 60;
		set .@gap,$ttranks[0] - .@record_time;
		if (.@gap < 0) {
			mes "[Guide]";
			mes "Good work! Maybe you didn't";
			mes "set any new records, but you";
			mes "went the distance. Now, let";
			mes "me relieve you of your fatigue~";
			percentheal 100,100;
			next;
			mes "[Guide]";
			if (tt_point < 28991) {
				mes "You will be rewarded";
				mes "with 10 Turbo Track points~!";
				set tt_point,tt_point+10;
				set my_point,tt_point;
				mes "You now have a total of";
				mes "" + tt_point + " Turbo Track points.";
			}
			else {
				mes "Unfortunately, I can't give";
				mes "you any Turbo Track Points";
				mes "since you would exceed the";
				mes "maximum limit. Sorry,";
				mes ""+ strcharinfo(0) +"...";
			}
			next;
			mes "[Guide]";
			mes "Thank you for";
			mes "participating in";
			mes "in Turbo Track.";
			mes "You will be guided";
			mes "to a Waiting Room soon.";
			close2;
			warp "turbo_room",72,89;
			end;
		}
		else {
			mes "[Guide]";
			mes "Congratulations!";
			mes "You ranked as the";
			mes "top player in Solo Mode!";
			mes "Your name will be entered";
			mes "into our records, "+ strcharinfo(0) +"~";
			setarray $ttranks[0],.@record_time;
			setarray $ttnames$[0],strcharinfo(0);
			next;
			if (tt_point < 28961) {
				mes "[Guide]";
				mes "Since you've set";
				mes "a new record, you";
				mes "will be rewarded with";
				mes "40 Turbo Track Points!";
				set tt_point,tt_point+40;
				mes "You now have a total of";
				mes "" + tt_point + " Turbo Track points.";
			}
			else {
				mes "[Guide]";
				mes "Unfortunately, I can't give";
				mes "you any Turbo Track Points";
				mes "since you would exceed the";
				mes "maximum limit. Sorry,";
				mes ""+ strcharinfo(0) +"...";
			}
			next;
			mes "[Guide]";
			mes "Thank you for";
			mes "participating in";
			mes "in Turbo Track.";
			mes "You will be guided";
			mes "to a Waiting Room soon.";
			close2;
			warp "turbo_room",72,89;
			end;
		}
	}

OnInit:
	disablenpc "Guide#TBT_n_1";
	end;

OnEnable:
	enablenpc "Guide#TBT_n_1";
	initnpctimer;
	end;

OnTimer4000:
	mapannounce "turbo_n_1","This is the ending broadcast of Turbo Track Solo Mode.",bc_map,"0x33FF66";
	end;

OnTimer8000:
	mapannounce "turbo_n_1","For smooth game play, the game will end in approximately 1 minute from now.",bc_map,"0x33FF66";
	end;

OnTimer12000:
	mapannounce "turbo_n_1","At this time, the warp portal will open.",bc_map,"0x33FF66";
	end;

OnTimer16000:
	mapannounce "turbo_n_1","Players within the arena must be ready for this.",bc_map,"0x33FF66";
	end;

OnTimer20000:
	mapannounce "turbo_n_1","In the meantime, the winner must procceed to receive rewards as soon as possible.",bc_map,"0x33FF66";
	end;

OnTimer24000:
	mapannounce "turbo_n_1","Thank you for visiting Al De Baran Turbo Track.",bc_map,"0x33FF66";
	end;

OnTimer28000:
	mapannounce "turbo_n_1","Al De Baran Turbo Track is brought to you by...",bc_map,"0x33FF66";
	end;

OnTimer32000:
	mapannounce "turbo_n_1","[Al De Baran Kafra Corporation Headquarters]",bc_map,"0x33FF66";
	end;

OnTimer36000:
	mapannounce "turbo_n_1","[Al De Baran Guild Castle Management Luina]",bc_map,"0x33FF66";
	end;

OnTimer40000:
	mapannounce "turbo_n_1","[Blacksmith Union]",bc_map,"0x33FF66";
	end;

OnTimer44000:
	mapannounce "turbo_n_1","And [Comodo Casino].",bc_map,"0x33FF66";
	end;

OnTimer48000:
	mapannounce "turbo_n_1","Once again, we'd like to thank our sponsors.",bc_map,"0x33FF66";
	end;

OnTimer52000:
	mapannounce "turbo_n_1","Have a good day.",bc_map,"0x33FF66";
	end;

//--- warp all players to turbo room
OnTimer56000:
	mapwarp "turbo_n_1","turbo_room",72,89;
	end;
	
//----end game, reset all
OnTimer60000:
	disablenpc "Guide#TBT_n_1";
	enablenpc "cos_n_1_end";
	enablenpc "Notice_Maker1#TBT_n_1";
	enablenpc "Notice_Maker3#TBT_n_1";
	enablenpc "Notice_Maker4#TBT_n_1";
	enablenpc "Disposable_Switch#n1";
	disablenpc "Flasher_Exit_1#n1";
	disablenpc "Flasher_Exit_2#n1";
	enablenpc "No_Unfair_Start#n1-1";
	enablenpc "No_Unfair_Start#n1-2";
	donpcevent "snake#n1::Onreset";
	donpcevent "hunting#n1::Onreset";
	donpcevent "Solo Mode#n1::OnEnable";
	stopnpctimer;
	end;
}

turbo_n_1,11,91,0	script	Notice_Maker1#TBT_n_1	-1,3,3,{
OnInit:
	enablenpc "Notice_Maker1#TBT_n_1";
	end;

OnTouch:
	mapannounce "turbo_n_1","" + strcharinfo(0) +" is now entering the Small Cave! " + strcharinfo(0) +" is now in the lead!",bc_map,"0xFFFF00";
	donpcevent "TBT_Guide#Broadcast::Onend_n1";
	disablenpc "Notice_Maker1#TBT_n_1";
	end;
}

turbo_n_1,234,223,0	script	Notice_Maker3#TBT_n_1	-1,2,2,{
OnInit:
	enablenpc "Notice_Maker3#TBT_n_1";
	end;

OnTouch:
	mapannounce "turbo_n_1","" + strcharinfo(0) +" is now entering the Single Snail! " + strcharinfo(0) +" is now in the lead!",bc_map,"0xFFFF00";
	disablenpc "Notice_Maker3#TBT_n_1";
	end;
}

turbo_n_1,226,15,0	script	Notice_Maker4#TBT_n_1	-1,1,1,{
OnInit:
	enablenpc "Notice_Maker4#TBT_n_1";
	end;

OnTouch:
	mapannounce "turbo_n_1","" + strcharinfo(0) +" is currently in First Place!",bc_map,"0xFFFF00";
	disablenpc "Notice_Maker4#TBT_n_1";
	end;
}

turbo_n_1,227,379,0	script	Warp#n_1_1::Warp_n_1	-1,1,1,{
OnTouch:
	set .@warprand,rand(1,20);
	if (.@warprand == 1)
		warp "turbo_n_1",216,378;
	else if (.@warprand == 2)
		warp "turbo_n_1",218,360;
	else if (.@warprand == 4)
		warp "turbo_n_1",223,361;
	else if (.@warprand == 5)
		warp "turbo_n_1",243,342;
	else if (.@warprand == 6)
		warp "turbo_n_1",247,364;
	end;
}
turbo_n_1,237,380,0	duplicate(Warp_n_1)	Warp#n_1_2	-1,1,1,{
turbo_n_1,227,367,0	duplicate(Warp_n_1)	Warp#n_1_3	-1,1,1,{
turbo_n_1,231,360,0	duplicate(Warp_n_1)	Warp#n_1_4	-1,1,1,{
turbo_n_1,225,349,0	duplicate(Warp_n_1)	Warp#n_1_5	-1,1,1,{
turbo_n_1,249,352,0	duplicate(Warp_n_1)	Warp#n_1_6	-1,1,1,{
turbo_n_1,253,364,0	duplicate(Warp_n_1)	Warp#n_1_7	-1,2,2,{

turbo_n_1,307,55,0	script	trap_n1#F1::TurboTrap_n1	139,1,1,{
OnTouch:
	specialeffect EF_BLASTMINEBOMB;
	set .@HitTrap,10;
	if (.@HitTrap > 0 && .@HitTrap < 4)
		percentheal -1,0;
	else if (.@HitTrap > 4 && .@HitTrap < 8)
		percentheal -5,0;
	else
		percentheal -2,0;
	end;
}

turbo_n_1,307,51,0	duplicate(TurboTrap_n1)	trap_n1#F2	139,1,1
turbo_n_1,307,47,0	duplicate(TurboTrap_n1)	trap_n1#F3	139,1,1
turbo_n_1,307,43,0	duplicate(TurboTrap_n1)	trap_n1#F4	139,1,1
turbo_n_1,307,39,0	duplicate(TurboTrap_n1)	trap_n1#F5	139,1,1
turbo_n_1,307,39,0	duplicate(TurboTrap_n1)	trap_n1#F96	139,1,1
turbo_n_1,312,56,0	duplicate(TurboTrap_n1)	trap_n1#F6	139,1,1
turbo_n_1,312,52,0	duplicate(TurboTrap_n1)	trap_n1#F7	139,1,1
turbo_n_1,312,48,0	duplicate(TurboTrap_n1)	trap_n1#F8	139,1,1
turbo_n_1,312,44,0	duplicate(TurboTrap_n1)	trap_n1#F9	139,1,1
turbo_n_1,312,40,0	duplicate(TurboTrap_n1)	trap_n1#F10	139,1,1
turbo_n_1,312,36,0	duplicate(TurboTrap_n1)	trap_n1#F11	139,1,1
turbo_n_1,316,55,0	duplicate(TurboTrap_n1)	trap_n1#F12	139,1,1
turbo_n_1,316,51,0	duplicate(TurboTrap_n1)	trap_n1#F13	139,1,1
turbo_n_1,316,47,0	duplicate(TurboTrap_n1)	trap_n1#F14	139,1,1
turbo_n_1,316,43,0	duplicate(TurboTrap_n1)	trap_n1#F15	139,1,1
turbo_n_1,316,39,0	duplicate(TurboTrap_n1)	trap_n1#F16	139,1,1
turbo_n_1,316,36,0	duplicate(TurboTrap_n1)	trap_n1#F17	139,1,1
turbo_n_1,320,56,0	duplicate(TurboTrap_n1)	trap_n1#F18	139,1,1
turbo_n_1,320,52,0	duplicate(TurboTrap_n1)	trap_n1#F19	139,1,1
turbo_n_1,320,48,0	duplicate(TurboTrap_n1)	trap_n1#F20	139,1,1
turbo_n_1,320,44,0	duplicate(TurboTrap_n1)	trap_n1#F21	139,1,1
turbo_n_1,320,40,0	duplicate(TurboTrap_n1)	trap_n1#F22	139,1,1
turbo_n_1,320,36,0	duplicate(TurboTrap_n1)	trap_n1#F23	139,1,1
turbo_n_1,324,55,0	duplicate(TurboTrap_n1)	trap_n1#F24	139,1,1
turbo_n_1,324,51,0	duplicate(TurboTrap_n1)	trap_n1#F25	139,1,1
turbo_n_1,324,47,0	duplicate(TurboTrap_n1)	trap_n1#F26	139,1,1
turbo_n_1,324,43,0	duplicate(TurboTrap_n1)	trap_n1#F27	139,1,1
turbo_n_1,324,39,0	duplicate(TurboTrap_n1)	trap_n1#F28	139,1,1
turbo_n_1,324,36,0	duplicate(TurboTrap_n1)	trap_n1#F29	139,1,1
turbo_n_1,328,56,0	duplicate(TurboTrap_n1)	trap_n1#F30	139,1,1
turbo_n_1,328,52,0	duplicate(TurboTrap_n1)	trap_n1#F31	139,1,1
turbo_n_1,328,48,0	duplicate(TurboTrap_n1)	trap_n1#F32	139,1,1
turbo_n_1,328,44,0	duplicate(TurboTrap_n1)	trap_n1#F33	139,1,1
turbo_n_1,328,40,0	duplicate(TurboTrap_n1)	trap_n1#F34	139,1,1
turbo_n_1,328,36,0	duplicate(TurboTrap_n1)	trap_n1#F35	139,1,1
turbo_n_1,332,55,0	duplicate(TurboTrap_n1)	trap_n1#F36	139,1,1
turbo_n_1,332,51,0	duplicate(TurboTrap_n1)	trap_n1#F37	139,1,1
turbo_n_1,332,47,0	duplicate(TurboTrap_n1)	trap_n1#F38	139,1,1
turbo_n_1,332,43,0	duplicate(TurboTrap_n1)	trap_n1#F39	139,1,1
turbo_n_1,332,39,0	duplicate(TurboTrap_n1)	trap_n1#F40	139,1,1
turbo_n_1,332,36,0	duplicate(TurboTrap_n1)	trap_n1#F41	139,1,1

turbo_n_1,336,56,0	script	trap_n1#F42::TurboTrap_n1_2	-1,1,1,{
OnTouch:
	specialeffect EF_FREEZING;
	set .@HitTrap,10;
	if (.@HitTrap > 0 && .@HitTrap < 4)
		percentheal -1,0;
	else if (.@HitTrap > 4 && .@HitTrap < 8) {
		percentheal -5,0;
		sc_start SC_FREEZE,3000,0;
	}
	else {
		sc_start SC_FREEZE,4000,0;
		percentheal -2,0;
	}
}
turbo_n_1,336,52,0	duplicate(TurboTrap_n1_2)	trap_n1#F43	139,1,1
turbo_n_1,336,48,0	duplicate(TurboTrap_n1_2)	trap_n1#F44	139,1,1
turbo_n_1,336,44,0	duplicate(TurboTrap_n1_2)	trap_n1#F45	139,1,1
turbo_n_1,336,50,0	duplicate(TurboTrap_n1_2)	trap_n1#F46	139,1,1
turbo_n_1,336,36,0	duplicate(TurboTrap_n1_2)	trap_n1#F47	139,1,1
turbo_n_1,340,55,0	duplicate(TurboTrap_n1_2)	trap_n1#F48	139,1,1

turbo_n_1,340,51,0	duplicate(TurboTrap_n1)	trap_n1#F49	139,1,1
turbo_n_1,340,47,0	duplicate(TurboTrap_n1)	trap_n1#F50	139,1,1
turbo_n_1,340,43,0	duplicate(TurboTrap_n1)	trap_n1#F51	139,1,1
turbo_n_1,340,39,0	duplicate(TurboTrap_n1)	trap_n1#F52	139,1,1
turbo_n_1,340,36,0	duplicate(TurboTrap_n1)	trap_n1#F53	139,1,1
turbo_n_1,344,56,0	duplicate(TurboTrap_n1)	trap_n1#F54	139,1,1
turbo_n_1,344,52,0	duplicate(TurboTrap_n1)	trap_n1#F55	139,1,1
turbo_n_1,344,48,0	duplicate(TurboTrap_n1)	trap_n1#F56	139,1,1
turbo_n_1,344,44,0	duplicate(TurboTrap_n1)	trap_n1#F57	139,1,1
turbo_n_1,344,40,0	duplicate(TurboTrap_n1)	trap_n1#F58	139,1,1
turbo_n_1,344,36,0	duplicate(TurboTrap_n1)	trap_n1#F59	139,1,1
turbo_n_1,348,55,0	duplicate(TurboTrap_n1)	trap_n1#F60	139,1,1
turbo_n_1,348,51,0	duplicate(TurboTrap_n1)	trap_n1#F61	139,1,1
turbo_n_1,348,47,0	duplicate(TurboTrap_n1)	trap_n1#F62	139,1,1
turbo_n_1,348,43,0	duplicate(TurboTrap_n1)	trap_n1#F63	139,1,1
turbo_n_1,348,39,0	duplicate(TurboTrap_n1)	trap_n1#F64	139,1,1
turbo_n_1,348,36,0	duplicate(TurboTrap_n1)	trap_n1#F65	139,1,1
turbo_n_1,352,56,0	duplicate(TurboTrap_n1)	trap_n1#F66	139,1,1
turbo_n_1,352,52,0	duplicate(TurboTrap_n1)	trap_n1#F67	139,1,1
turbo_n_1,352,48,0	duplicate(TurboTrap_n1)	trap_n1#F68	139,1,1
turbo_n_1,352,44,0	duplicate(TurboTrap_n1)	trap_n1#F69	139,1,1
turbo_n_1,352,40,0	duplicate(TurboTrap_n1)	trap_n1#F70	139,1,1
turbo_n_1,352,36,0	duplicate(TurboTrap_n1)	trap_n1#F71	139,1,1
turbo_n_1,356,55,0	duplicate(TurboTrap_n1)	trap_n1#F72	139,1,1
turbo_n_1,356,51,0	duplicate(TurboTrap_n1)	trap_n1#F73	139,1,1
turbo_n_1,356,47,0	duplicate(TurboTrap_n1)	trap_n1#F74	139,1,1
turbo_n_1,356,43,0	duplicate(TurboTrap_n1)	trap_n1#F75	139,1,1
turbo_n_1,356,39,0	duplicate(TurboTrap_n1)	trap_n1#F76	139,1,1
turbo_n_1,356,36,0	duplicate(TurboTrap_n1)	trap_n1#F77	139,1,1
turbo_n_1,360,56,0	duplicate(TurboTrap_n1)	trap_n1#F78	139,1,1
turbo_n_1,360,52,0	duplicate(TurboTrap_n1)	trap_n1#F79	139,1,1
turbo_n_1,360,48,0	duplicate(TurboTrap_n1)	trap_n1#F80	139,1,1
turbo_n_1,360,44,0	duplicate(TurboTrap_n1)	trap_n1#F81	139,1,1
turbo_n_1,360,40,0	duplicate(TurboTrap_n1)	trap_n1#F82	139,1,1
turbo_n_1,360,36,0	duplicate(TurboTrap_n1)	trap_n1#F83	139,1,1
turbo_n_1,364,55,0	duplicate(TurboTrap_n1)	trap_n1#F84	139,1,1
turbo_n_1,364,51,0	duplicate(TurboTrap_n1)	trap_n1#F85	139,1,1
turbo_n_1,364,47,0	duplicate(TurboTrap_n1)	trap_n1#F86	139,1,1
turbo_n_1,364,43,0	duplicate(TurboTrap_n1)	trap_n1#F87	139,1,1
turbo_n_1,364,39,0	duplicate(TurboTrap_n1)	trap_n1#F88	139,1,1
turbo_n_1,364,36,0	duplicate(TurboTrap_n1)	trap_n1#F89	139,1,1
turbo_n_1,368,56,0	duplicate(TurboTrap_n1)	trap_n1#F90	139,1,1
turbo_n_1,368,52,0	duplicate(TurboTrap_n1)	trap_n1#F91	139,1,1
turbo_n_1,368,48,0	duplicate(TurboTrap_n1)	trap_n1#F92	139,1,1
turbo_n_1,368,44,0	duplicate(TurboTrap_n1)	trap_n1#F93	139,1,1
turbo_n_1,368,40,0	duplicate(TurboTrap_n1)	trap_n1#F94	139,1,1
turbo_n_1,368,36,0	duplicate(TurboTrap_n1)	trap_n1#F95	139,1,1