From 31825ccc2dde034a218d9ad466dd721c40b5651d Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sun, 8 Jul 2012 19:30:07 +0000 Subject: Okie ladies and gentleman if this commit breaks anything it's jman's and maki's fault, yes, blame them. Fixing pre-re / re npc support, moving /config/ folder to src root so other servers may also make use of the #define renewal dir and other stuff. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16382 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/re/other/turbotrack/Expert_16.txt | 1487 ++++++++++++++++++++++++++++++ npc/re/other/turbotrack/Expert_4.txt | 1405 +++++++++++++++++++++++++++++ npc/re/other/turbotrack/Expert_8.txt | 1409 +++++++++++++++++++++++++++++ npc/re/other/turbotrack/Normal_16.txt | 1489 +++++++++++++++++++++++++++++++ npc/re/other/turbotrack/Normal_4.txt | 1405 +++++++++++++++++++++++++++++ npc/re/other/turbotrack/Normal_8.txt | 1410 +++++++++++++++++++++++++++++ npc/re/other/turbotrack/Normal_Solo.txt | 1293 +++++++++++++++++++++++++++ npc/re/other/turbotrack/Turbo_Track.txt | 1108 +++++++++++++++++++++++ 8 files changed, 11006 insertions(+) create mode 100644 npc/re/other/turbotrack/Expert_16.txt create mode 100644 npc/re/other/turbotrack/Expert_4.txt create mode 100644 npc/re/other/turbotrack/Expert_8.txt create mode 100644 npc/re/other/turbotrack/Normal_16.txt create mode 100644 npc/re/other/turbotrack/Normal_4.txt create mode 100644 npc/re/other/turbotrack/Normal_8.txt create mode 100644 npc/re/other/turbotrack/Normal_Solo.txt create mode 100644 npc/re/other/turbotrack/Turbo_Track.txt (limited to 'npc/re/other/turbotrack') diff --git a/npc/re/other/turbotrack/Expert_16.txt b/npc/re/other/turbotrack/Expert_16.txt new file mode 100644 index 000000000..7c2652d8a --- /dev/null +++ b/npc/re/other/turbotrack/Expert_16.txt @@ -0,0 +1,1487 @@ +//===== rAthena Script ======================================= +//= Turbo Track - Expert - 16 Person +//===== By: ================================================== +//= L0ne_W0lf +//===== Current Version: ===================================== +//= 1.5 +//===== Compatible With: ===================================== +//= rAthena SVN +//===== Description: ========================================= +//= Turbo Track Course: Expert (PVP) - 16 Person +//===== Additional Comments: ================================= +//= 1.0 Translated from the Official. [L0ne_W0lf] +//= 1.1 Fixed small official bug. [L0ne_W0lf] +//= 1.2 Fixed a little mistake [akrus] +//= 1.3 Corrected issue with top record setting. [L0ne_W0lf] +//= 1.4 Updated 'waitingroom' to support required zeny/lvl. [Kisuka] +//= 1.5 Fixed variable typo [Elias] +//============================================================ + +turbo_room,124,135,3 script Expert mode - 16 person 124,{ + end; + +OnInit: + waitingroom "Expert mode - 16 person",60,"Expert mode - 16 person::OnStartArena",16,1000,10,99; + enablewaitingroomevent "Expert mode - 16 person"; + end; + +OnEnable: + enablenpc "Expert mode - 16 person"; + enablewaitingroomevent "Expert mode - 16 person"; + end; + +OnStartArena: + warpwaitingpc "turbo_e_16",298,161; + donpcevent "Broadcast#e16::OnEnable"; + disablewaitingroomevent "Expert mode - 16 person"; + end; +} + +turbo_e_16,298,167,3 script Helper#e16_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_e_16,298,167,0 script Point Give-Away Guy#e16 -1,15,15,{ +OnInit: + disablenpc "Point Give-Away Guy#e16"; + end; + +OnTouch: + if (tt_point < 28999) { + set tt_point,tt_point+2; + warp "turbo_e_16",59,364; + } + else + warp "turbo_e_16",59,364; + end; +} + +turbo_e_16,167,3,0 script Broadcast#e16 -1,{ +OnInit: + disablenpc "Broadcast#e16"; + end; + +OnEnable: + enablenpc "Broadcast#e16"; + initnpctimer; + end; + +OnTimer2000: + mapannounce "turbo_e_16","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_e_16","You will have 30 seconds before you are transported to the Starting Line.",bc_map,"0x33FF66"; + end; + +OnTimer10000: + mapannounce "turbo_e_16","Please make sure that you have suitable equipment and items with you.",bc_map,"0x33FF66"; + end; + +OnTimer15000: + mapannounce "turbo_e_16","The 30 second countdown will begin shortly.",bc_map,"0x33FF66"; + end; + +OnTimer17000: + mapannounce "turbo_e_16","30 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer27000: + mapannounce "turbo_e_16","20 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer37000: + mapannounce "turbo_e_16","10 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer42000: + mapannounce "turbo_e_16","5 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer43000: + mapannounce "turbo_e_16","4 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer44000: + mapannounce "turbo_e_16","3 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer45000: + mapannounce "turbo_e_16","2 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer46000: + mapannounce "turbo_e_16","1 second remaining.",bc_map,"0x33FF66"; + end; + +OnTimer47000: + mapannounce "turbo_e_16","You will be transported to the Starting Line shortly.",bc_map,"0x33FF66"; + end; + +OnTimer49000: + enablenpc "Point Give-Away Guy#e16"; + donpcevent "Master#e16::OnEnable"; + end; + +OnTimer50000: + donpcevent "snake#e16::OnEnable"; + donpcevent "hunting#e16::OnEnable"; + disablenpc "bing#e16"; + end; + +OnTimer57000: + disablenpc "Point Give-Away Guy#e16"; + end; +} + +turbo_e_16,167,3,0 script Master#e16 -1,{ +OnInit: + disablenpc "Master#e16"; + end; + +OnEnable: + enablenpc "Master#e16"; + initnpctimer; + end; + +OnDisable: + stopnpctimer; + disablenpc "Master#e8"; + end; + +OnTimer7000: + mapannounce "turbo_e_16","Welcome to the Turbo Track.",bc_map,"0x33FF66"; + end; + +OnTimer9000: + mapannounce "turbo_e_16","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_e_16","We hope you will do your best.",bc_map,"0x33FF66"; + end; + +OnTimer13000: + mapannounce "turbo_e_16","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_e_16","The countdown will commence shortly.",bc_map,"0x33FF66"; + end; + +OnTimer17000: + mapannounce "turbo_e_16","- 5 -",bc_map,"0x33FF66"; + end; + +OnTimer18000: + mapannounce "turbo_e_16","- 4 -",bc_map,"0x33FF66"; + end; + +OnTimer19000: + mapannounce "turbo_e_16","- 3 -",bc_map,"0x33FF66"; + end; + +OnTimer20000: + mapannounce "turbo_e_16","- 2 -",bc_map,"0x33FF66"; + end; + +OnTimer21000: + mapannounce "turbo_e_16","- 1 -",bc_map,"0x33FF66"; + end; + +OnTimer22000: + mapannounce "turbo_e_16","- 0 -",bc_map,"0x33FF66"; + end; + +OnTimer23000: + mapannounce "turbo_e_16","Now! The race has begun! Go Go Go!!",bc_map,"0x33FF66"; + disablenpc "No_Unfair_Start#e16-1"; + disablenpc "No_Unfair_Start#e16-2"; + end; + +OnTimer30000: + mapannounce "turbo_e_16","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_e_16","You have 14 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer143000: + mapannounce "turbo_e_16","You have 13 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer203000: + mapannounce "turbo_e_16","You have 12 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer263000: + mapannounce "turbo_e_16","You have 11 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer323000: + mapannounce "turbo_e_16","You have 10 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer383000: + mapannounce "turbo_e_16","You have 9 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer443000: + mapannounce "turbo_e_16","You have 8 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer503000: + mapannounce "turbo_e_16","You have 7 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer563000: + mapannounce "turbo_e_16","You have 6 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer623000: + mapannounce "turbo_e_16","You have 5 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer683000: + mapannounce "turbo_e_16","You have 4 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer743000: + mapannounce "turbo_e_16","You have 3 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer803000: + mapannounce "turbo_e_16","You have 2 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer863000: + mapannounce "turbo_e_16","You have 1 minute left.",bc_map,"0x33FF66"; + end; + +OnTimer893000: + mapannounce "turbo_e_16","You have 30 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer903000: + mapannounce "turbo_e_16","You have 20 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer913000: + mapannounce "turbo_e_16","You have 10 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer918000: + mapannounce "turbo_e_16","You have 5 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer919000: + mapannounce "turbo_e_16","You have 4 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer920000: + mapannounce "turbo_e_16","You have 3 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer921000: + mapannounce "turbo_e_16","You have 2 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer922000: + mapannounce "turbo_e_16","You have 1 second left.",bc_map,"0x33FF66"; + end; + +OnTimer923000: + mapannounce "turbo_e_16","Time's up!",bc_map,"0x33FF66"; + end; + +OnTimer925000: + mapannounce "turbo_e_16","The race is over.",bc_map,"0x33FF66"; + end; + +OnTimer927000: + mapannounce "turbo_e_16","[Everyone will be transported to a Waiting Room.]",bc_map,"0x33FF66"; + mapwarp "turbo_e_16","turbo_room",71,89; + // all NPC OFF + disablenpc "Broadcast#e16"; + donpcevent "Master#e16::OnDisable"; + donpcevent "Expert Mode - 16 Person#e16::OnEnable"; + // start line NPC ON + enablenpc "No_Unfair_Start#e16-1"; + enablenpc "No_Unfair_Start#e16-2"; + // monster reset + donpcevent "snake#e16::Onreset"; + donpcevent "hunting#e16::Onreset"; + disablenpc "bing2#e16"; + // NPC + disablenpc "Winner Helper#TBT_e_16"; + enablenpc "cos_e_16_end"; + enablenpc "cos_e_16_end2"; + enablenpc "cos_e_16_end3"; + enablenpc "Notice_Maker1#TBT_e_16"; + enablenpc "Notice_Maker3#TBT_e_16"; + enablenpc "Notice_Maker4#TBT_e_16"; + enablenpc "Disposable_Switch#e16"; + disablenpc "Flasher_Exit_1#e16"; + disablenpc "Flasher_Exit_2#e16"; + end; +} + +turbo_e_16,62,379,0 script No_Unfair_Start#e16-1 -1,0,31,{ +OnTouch: + warp "turbo_e_16",59,364; + end; +} + +turbo_e_16,68,379,0 script No_Unfair_Start#e16-2 -1,5,31,{ +OnTouch: + warp "turbo_e_16",59,364; + end; +} + +// Turbo Track: Expert Mode - 16 Players (Log Race) +turbo_e_16,118,377,0 script trap_a#e16-1::TurboLogRace_e_16 -1,44,1,{ +OnTouch: + set .@dropuser,rand(1,3); + if (.@dropuser == 1) + warp "turbo_e_16",72,372; + else if (.@dropuser == 2) + warp "turbo_e_16",72,365; + else + warp "turbo_e_16",72,357; + end; +} +turbo_e_16,77,375,0 duplicate(TurboLogRace_e_16) trap_a#e16-2 -1,3,1 +turbo_e_16,82,375,0 duplicate(TurboLogRace_e_16) trap_a#e16-3 -1,1,1 +turbo_e_16,82,372,0 duplicate(TurboLogRace_e_16) trap_a#e16-4 -1,0,2 +turbo_e_16,83,372,0 duplicate(TurboLogRace_e_16) trap_a#e16-5 -1,0,2 +turbo_e_16,97,374,0 duplicate(TurboLogRace_e_16) trap_a#e16-6 -1,1,2 +turbo_e_16,98,374,0 duplicate(TurboLogRace_e_16) trap_a#e16-7 -1,1,2 +turbo_e_16,122,372,0 duplicate(TurboLogRace_e_16) trap_a#e16-8 -1,2,4 +turbo_e_16,125,374,0 duplicate(TurboLogRace_e_16) trap_a#e16-9 -1,0,4 +turbo_e_16,132,374,0 duplicate(TurboLogRace_e_16) trap_a#e16-10 -1,7,2 +turbo_e_16,156,374,0 duplicate(TurboLogRace_e_16) trap_a#e16-11 -1,6,2 +turbo_e_16,163,375,0 duplicate(TurboLogRace_e_16) trap_a#e16-12 -1,0,3 +turbo_e_16,164,377,0 duplicate(TurboLogRace_e_16) trap_a#e16-13 -1,1,1 +turbo_e_16,76,369,0 duplicate(TurboLogRace_e_16) trap_b#e16-1 -1,2,2 +turbo_e_16,79,369,0 duplicate(TurboLogRace_e_16) trap_b#e16-2 -1,0,2 +turbo_e_16,77,366,0 duplicate(TurboLogRace_e_16) trap_b#e16-3 -1,3,0 +turbo_e_16,85,366,0 duplicate(TurboLogRace_e_16) trap_b#e16-4 -1,5,1 +turbo_e_16,87,363,0 duplicate(TurboLogRace_e_16) trap_b#e16-5 -1,2,1 +turbo_e_16,88,368,0 duplicate(TurboLogRace_e_16) trap_b#e16-6 -1,2,5 +turbo_e_16,92,370,0 duplicate(TurboLogRace_e_16) trap_b#e16-7 -1,1,3 +turbo_e_16,98,368,0 duplicate(TurboLogRace_e_16) trap_b#e16-8 -1,4,1 +turbo_e_16,109,371,0 duplicate(TurboLogRace_e_16) trap_b#e16-9 -1,7,2 +turbo_e_16,110,368,0 duplicate(TurboLogRace_e_16) trap_b#e16-10 -1,7,0 +turbo_e_16,113,366,0 duplicate(TurboLogRace_e_16) trap_b#e16-11 -1,3,2 +turbo_e_16,117,368,0 duplicate(TurboLogRace_e_16) trap_b#e16-12 -1,0,5 +turbo_e_16,123,364,0 duplicate(TurboLogRace_e_16) trap_b#e16-13 -1,6,1 +turbo_e_16,136,368,0 duplicate(TurboLogRace_e_16) trap_b#e16-14 -1,8,1 +turbo_e_16,136,366,0 duplicate(TurboLogRace_e_16) trap_b#e16-15 -1,8,0 +turbo_e_16,144,370,0 duplicate(TurboLogRace_e_16) trap_b#e16-16 -1,2,3 +turbo_e_16,147,370,0 duplicate(TurboLogRace_e_16) trap_b#e16-17 -1,0,3 +turbo_e_16,155,369,0 duplicate(TurboLogRace_e_16) trap_b#e16-18 -1,7,0 +turbo_e_16,155,368,0 duplicate(TurboLogRace_e_16) trap_b#e16-19 -1,7,0 +turbo_e_16,151,367,0 duplicate(TurboLogRace_e_16) trap_b#e16-20 -1,3,0 +turbo_e_16,153,366,0 duplicate(TurboLogRace_e_16) trap_b#e16-21 -1,1,0 +turbo_e_16,155,367,0 duplicate(TurboLogRace_e_16) trap_b#e16-22 -1,0,1 +turbo_e_16,78,362,0 duplicate(TurboLogRace_e_16) trap_c#e16-1 -1,4,1 +turbo_e_16,78,359,0 duplicate(TurboLogRace_e_16) trap_c#e16-2 -1,4,1 +turbo_e_16,83,362,0 duplicate(TurboLogRace_e_16) trap_c#e16-3 -1,0,1 +turbo_e_16,88,359,0 duplicate(TurboLogRace_e_16) trap_c#e16-4 -1,5,1 +turbo_e_16,89,357,0 duplicate(TurboLogRace_e_16) trap_c#e16-5 -1,1,1 +turbo_e_16,92,390,0 duplicate(TurboLogRace_e_16) trap_c#e16-6 -1,1,1 +turbo_e_16,92,357,0 duplicate(TurboLogRace_e_16) trap_c#e16-7 -1,1,1 +turbo_e_16,98,364,0 duplicate(TurboLogRace_e_16) trap_c#e16-8 -1,6,1 +turbo_e_16,98,362,0 duplicate(TurboLogRace_e_16) trap_c#e16-9 -1,6,0 +turbo_e_16,106,364,0 duplicate(TurboLogRace_e_16) trap_c#e16-10 -1,2,2 +turbo_e_16,107,360,0 duplicate(TurboLogRace_e_16) trap_c#e16-11 -1,1,2 +turbo_e_16,109,360,0 duplicate(TurboLogRace_e_16) trap_c#e16-12 -1,0,2 +turbo_e_16,112,361,0 duplicate(TurboLogRace_e_16) trap_c#e16-13 -1,3,1 +turbo_e_16,116,359,0 duplicate(TurboLogRace_e_16) trap_c#e16-14 -1,0,2 +turbo_e_16,117,359,0 duplicate(TurboLogRace_e_16) trap_c#e16-15 -1,0,2 +turbo_e_16,116,356,0 duplicate(TurboLogRace_e_16) trap_c#e16-16 -1,0,2 +turbo_e_16,117,356,0 duplicate(TurboLogRace_e_16) trap_c#e16-17 -1,0,2 +turbo_e_16,129,360,0 duplicate(TurboLogRace_e_16) trap_c#e16-18 -1,12,1 +turbo_e_16,129,358,0 duplicate(TurboLogRace_e_16) trap_c#e16-19 -1,12,0 +turbo_e_16,132,357,0 duplicate(TurboLogRace_e_16) trap_c#e16-20 -1,2,1 +turbo_e_16,137,357,0 duplicate(TurboLogRace_e_16) trap_c#e16-21 -1,2,1 +turbo_e_16,147,363,0 duplicate(TurboLogRace_e_16) trap_c#e16-22 -1,16,1 +turbo_e_16,149,365,0 duplicate(TurboLogRace_e_16) trap_c#e16-23 -1,1,0 +turbo_e_16,158,362,0 duplicate(TurboLogRace_e_16) trap_c#e16-24 -1,1,4 +turbo_e_16,154,360,0 duplicate(TurboLogRace_e_16) trap_c#e16-25 -1,2,2 +turbo_e_16,161,360,0 duplicate(TurboLogRace_e_16) trap_c#e16-26 -1,1,2 +turbo_e_16,161,365,0 duplicate(TurboLogRace_e_16) trap_c#e16-27 -1,1,0 +turbo_e_16,160,366,0 duplicate(TurboLogRace_e_16) trap_c#e16-28 -1 +turbo_e_16,79,353,0 duplicate(TurboLogRace_e_16) trap_d#e16-1 -1,5,2 +turbo_e_16,85,354,0 duplicate(TurboLogRace_e_16) trap_d#e16-2 -1,0,1 +turbo_e_16,99,353,0 duplicate(TurboLogRace_e_16) trap_d#e16-3 -1,14,0 +turbo_e_16,99,352,0 duplicate(TurboLogRace_e_16) trap_d#e16-4 -1,14,0 +turbo_e_16,99,356,0 duplicate(TurboLogRace_e_16) trap_d#e16-5 -1,3,3 +turbo_e_16,103,356,0 duplicate(TurboLogRace_e_16) trap_d#e16-6 -1,0,3 +turbo_e_16,108,354,0 duplicate(TurboLogRace_e_16) trap_d#e16-7 -1,5,1 +turbo_e_16,112,356,0 duplicate(TurboLogRace_e_16) trap_d#e16-8 -1,0,1 +turbo_e_16,113,356,0 duplicate(TurboLogRace_e_16) trap_d#e16-9 -1,0,1 +turbo_e_16,123,353,0 duplicate(TurboLogRace_e_16) trap_d#e16-10 -1,3,2 +turbo_e_16,127,353,0 duplicate(TurboLogRace_e_16) trap_d#e16-11 -1,0,2 +turbo_e_16,145,352,0 duplicate(TurboLogRace_e_16) trap_d#e16-12 -1,17,1 +turbo_e_16,152,354,0 duplicate(TurboLogRace_e_16) trap_d#e16-13 -1,10,1 +turbo_e_16,145,357,0 duplicate(TurboLogRace_e_16) trap_d#e16-14 -1,1,2 +turbo_e_16,148,357,0 duplicate(TurboLogRace_e_16) trap_d#e16-15 -1,1,2 + +// Turbo Track: Expert Mode - 16 Players (Sand Hill) +turbo_e_16,322,354,0 script #TBT_trap_e16-1::TurboSandHill_e16 -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_e_16,323,360,0 duplicate(TurboSandHill_e16) #TBT_trap_e16-2 -1,3,3 +turbo_e_16,324,365,0 duplicate(TurboSandHill_e16) #TBT_trap_e16-3 -1,1,1 +turbo_e_16,325,370,0 duplicate(TurboSandHill_e16) #TBT_trap_e16-4 -1,3,3 +turbo_e_16,325,375,0 duplicate(TurboSandHill_e16) #TBT_trap_e16-5 -1,1,1 +turbo_e_16,329,377,0 duplicate(TurboSandHill_e16) #TBT_trap_e16-6 -1,3,3 +turbo_e_16,338,372,0 duplicate(TurboSandHill_e16) #TBT_trap_e16-7 -1,3,3 +turbo_e_16,341,364,0 duplicate(TurboSandHill_e16) #TBT_trap_e16-8 -1,3,3 +turbo_e_16,325,359,0 duplicate(TurboSandHill_e16) #TBT_trap_e16-9 -1,2,2 +turbo_e_16,341,355,0 duplicate(TurboSandHill_e16) #TBT_trap_e16-10 -1,1,1 +turbo_e_16,350,355,0 duplicate(TurboSandHill_e16) #TBT_trap_e16-11 -1,3,3 +turbo_e_16,348,363,0 duplicate(TurboSandHill_e16) #TBT_trap_e16-12 -1,1,1 +turbo_e_16,347,370,0 duplicate(TurboSandHill_e16) #TBT_trap_e16-13 -1,2,2 +turbo_e_16,349,377,0 duplicate(TurboSandHill_e16) #TBT_trap_e16-14 -1,9,9 +turbo_e_16,362,372,0 duplicate(TurboSandHill_e16) #TBT_trap_e16-15 -1,3,3 +turbo_e_16,364,365,0 duplicate(TurboSandHill_e16) #TBT_trap_e16-16 -1,1,1 +turbo_e_16,363,357,0 duplicate(TurboSandHill_e16) #TBT_trap_e16-17 -1,3,3 +turbo_e_16,374,358,0 duplicate(TurboSandHill_e16) #TBT_trap_e16-18 -1,2,2 +turbo_e_16,371,367,0 duplicate(TurboSandHill_e16) #TBT_trap_e16-19 -1,3,3 +turbo_e_16,371,376,0 duplicate(TurboSandHill_e16) #TBT_trap_e16-20 -1,1,1 +turbo_e_16,379,375,0 duplicate(TurboSandHill_e16) #TBT_trap_e16-21 -1,3,3 +turbo_e_16,382,363,0 duplicate(TurboSandHill_e16) #TBT_trap_e16-22 -1,2,2 +turbo_e_16,381,354,0 duplicate(TurboSandHill_e16) #TBT_trap_e16-23 -1,1,1 +turbo_e_16,355,362,0 script #TBT_trap_e16-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[Union Staff Kay]"; + mes "Of course I love 'em, especially their Pushcart Service~"; + mes " "; + mes "[Santa Claus]"; + mes "Ho ho ho!"; + mes "Such Merry Prices!"; + 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 - 16 Players (Water Maze) +turbo_e_16,13,266,0 script flasher#e16-01::TurboWaterMaze_e_16 -1,0,2,{ +OnTouch: + sc_start SC_BLIND,60000,0; + end; +} +turbo_e_16,24,268,0 duplicate(TurboWaterMaze_e_16) flasher#e16-02 -1,1,0 +turbo_e_16,20,258,0 duplicate(TurboWaterMaze_e_16) flasher#e16-03 -1,1,0 +turbo_e_16,23,251,0 duplicate(TurboWaterMaze_e_16) flasher#e16-04 -1,0,1 +turbo_e_16,36,270,0 duplicate(TurboWaterMaze_e_16) flasher#e16-05 -1,1,0 +turbo_e_16,22,239,0 duplicate(TurboWaterMaze_e_16) flasher#e16-06 -1,1,0 +turbo_e_16,38,239,0 duplicate(TurboWaterMaze_e_16) flasher#e16-07 -1,0,1 +turbo_e_16,37,237,0 duplicate(TurboWaterMaze_e_16) flasher#e16-08 -1,1,0 +turbo_e_16,55,247,0 duplicate(TurboWaterMaze_e_16) flasher#e16-09 -1,0,1 +turbo_e_16,55,246,0 duplicate(TurboWaterMaze_e_16) flasher#e16-10 -1,1,0 +turbo_e_16,63,253,0 duplicate(TurboWaterMaze_e_16) flasher#e16-11 -1,0,1 +turbo_e_16,36,216,0 duplicate(TurboWaterMaze_e_16) flasher#e16-12 -1,1,0 +turbo_e_16,20,209,0 duplicate(TurboWaterMaze_e_16) flasher#e16-13 -1,1,0 +turbo_e_16,28,195,0 duplicate(TurboWaterMaze_e_16) flasher#e16-14 -1,1,0 +turbo_e_16,82,264,0 duplicate(TurboWaterMaze_e_16) flasher#e16-15 -1,1,0 +turbo_e_16,47,185,0 duplicate(TurboWaterMaze_e_16) flasher#e16-16 -1,0,1 +turbo_e_16,53,207,0 duplicate(TurboWaterMaze_e_16) flasher#e16-17 -1,1,0 +turbo_e_16,54,208,0 duplicate(TurboWaterMaze_e_16) flasher#e16-18 -1,0,1 +turbo_e_16,81,247,0 duplicate(TurboWaterMaze_e_16) flasher#e16-19 -1,0,1 +turbo_e_16,105,257,0 duplicate(TurboWaterMaze_e_16) flasher#e16-20 -1,0,1 +turbo_e_16,95,242,0 duplicate(TurboWaterMaze_e_16) flasher#e16-21 -1,0,1 +turbo_e_16,77,232,0 duplicate(TurboWaterMaze_e_16) flasher#e16-22 -1,2,0 +turbo_e_16,67,222,0 duplicate(TurboWaterMaze_e_16) flasher#e16-23 -1,2,0 +turbo_e_16,83,206,0 duplicate(TurboWaterMaze_e_16) flasher#e16-24 -1,0,1 +turbo_e_16,95,224,0 duplicate(TurboWaterMaze_e_16) flasher#e16-25 -1,0,1 +turbo_e_16,106,220,0 duplicate(TurboWaterMaze_e_16) flasher#e16-26 -1,2,0 +turbo_e_16,93,191,0 duplicate(TurboWaterMaze_e_16) flasher#e16-27 -1,1,0 +turbo_e_16,94,192,0 duplicate(TurboWaterMaze_e_16) flasher#e16-28a -1,0,1 +turbo_e_16,46,214,0 duplicate(TurboWaterMaze_e_16) flasher#e16-28b -1,0,1 +turbo_e_16,16,247,0 duplicate(TurboWaterMaze_e_16) flasher#e16-29 -1,1,0 +turbo_e_16,58,268,0 duplicate(TurboWaterMaze_e_16) flasher#e16-30 -1,1,1 +turbo_e_16,36,253,0 duplicate(TurboWaterMaze_e_16) flasher#e16-31 -1,1,0 +turbo_e_16,69,238,0 duplicate(TurboWaterMaze_e_16) flasher#e16-32 -1,1,1 +turbo_e_16,58,268,0 duplicate(TurboWaterMaze_e_16) flasher#e16-33 -1,1,1 +turbo_e_16,74,188,0 duplicate(TurboWaterMaze_e_16) flasher#e16-34 -1,2,0 +turbo_e_16,99,207,0 duplicate(TurboWaterMaze_e_16) flasher#e16-35 -1,1,1 +turbo_e_16,74,188,0 duplicate(TurboWaterMaze_e_16) flasher#e16-36 -1,2,0 +turbo_e_16,111,188,0 duplicate(TurboWaterMaze_e_16) flasher#e16-37a -1,1,0 +turbo_e_16,51,232,0 duplicate(TurboWaterMaze_e_16) flasher#e16-37b -1,1,1 +turbo_e_16,30,232,0 duplicate(TurboWaterMaze_e_16) flasher#e16-38 -1,1,1 +turbo_e_16,92,256,0 duplicate(TurboWaterMaze_e_16) flasher#e16-39 -1,1,1 +turbo_e_16,79,220,0 duplicate(TurboWaterMaze_e_16) flasher#e16-40 -1,1,1 +turbo_e_16,51,192,0 duplicate(TurboWaterMaze_e_16) flasher#e16-41 -1,1,1 +turbo_e_16,22,227,0 duplicate(TurboWaterMaze_e_16) flasher#e16-42 -1,1,1 +turbo_e_16,51,232,0 duplicate(TurboWaterMaze_e_16) flasher#e16-43 -1,1,1 +turbo_e_16,42,258,0 duplicate(TurboWaterMaze_e_16) flasher#e16-44 -1,1,0 +turbo_e_16,45,271,0 duplicate(TurboWaterMaze_e_16) flasher#e16-45 -1,2,1 +turbo_e_16,72,207,0 duplicate(TurboWaterMaze_e_16) flasher#e16-46 -1,1,1 +turbo_e_16,33,192,0 duplicate(TurboWaterMaze_e_16) flasher#e16-47 -1,0,1 +turbo_e_16,90,241,0 duplicate(TurboWaterMaze_e_16) flasher#e16-48a -1,1,0 +turbo_e_16,236,3,0 duplicate(TurboWaterMaze_e_16) flasher#e16-48b -1,3,0 + +// Turbo Track: Expert Mode - 16 Players (Snake Dice course) +turbo_e_16,324,279,0 script snake01#e16 45,1,1,{ +OnTouch: + set .@turbo2,rand(1,7); + if (.@turbo2 > 0) && (.@turbo2 < 3) + warp "turbo_e_16",370,292; + else if (.@turbo2 > 2) && (.@turbo2 < 5) + warp "turbo_e_16",295,293; + else if (.@turbo2 > 4) && (.@turbo2 < 7) + warp "turbo_e_16",355,292; + else + warp "turbo_e_16",279,292; + end; +} + +turbo_e_16,332,279,0 script snake02#e16 45,1,1,{ +OnTouch: + set .@turbo2,rand(1,8); + if (.@turbo2 > 0) && (.@turbo2 < 3) + warp "turbo_e_16",287,256; + else if (.@turbo2 > 2) && (.@turbo2 < 5) + warp "turbo_e_16",303,256; + else if (.@turbo2 > 4) && (.@turbo2 < 7) + warp "turbo_e_16",347,256; + else + warp "turbo_e_16",363,256; + end; +} + +turbo_e_16,324,270,0 script snake03#e16 45,1,1,{ +OnTouch: + set .@turbo2,rand(1,8); + if (.@turbo2 > 0) && (.@turbo2 < 3) + warp "turbo_e_16",279,292; + else if (.@turbo2 > 2) && (.@turbo2 < 5) + warp "turbo_e_16",311,292; + else if (.@turbo2 > 4) && (.@turbo2 < 7) + warp "turbo_e_16",347,256; + else + warp "turbo_e_16",370,292; + end; +} + +turbo_e_16,332,270,0 script snake04#e16 45,1,1,{ +OnTouch: + set .@turbo2,rand(1,7); + if (.@turbo2 > 0) && (.@turbo2 < 3) + warp "turbo_e_16",363,256; + else if (.@turbo2 > 2) && (.@turbo2 < 5) + warp "turbo_e_16",295,293; + else if (.@turbo2 > 4) && (.@turbo2 < 7) + warp "turbo_e_16",355,292; + else + warp "turbo_e_16",287,256; + end; +} + +//monsters +turbo_e_16,389,288,0 script snake#e16 111,{ +Onreset: + killmonsterall "turbo_e_16"; + end; + +OnEnable: + monster "turbo_e_16",279,284,"Archer Skeleton",1420,1; + monster "turbo_e_16",279,280,"Archer Skeleton",1420,1; + monster "turbo_e_16",279,268,"Archer Skeleton",1420,1; + monster "turbo_e_16",279,264,"Archer Skeleton",1420,1; + monster "turbo_e_16",279,260,"Archer Skeleton",1420,1; + monster "turbo_e_16",287,288,"Archer Skeleton",1420,1; + monster "turbo_e_16",287,284,"Archer Skeleton",1420,1; + monster "turbo_e_16",287,280,"Archer Skeleton",1420,1; + monster "turbo_e_16",287,268,"Archer Skeleton",1420,1; + monster "turbo_e_16",287,264,"Archer Skeleton",1420,1; + monster "turbo_e_16",295,284,"Archer Skeleton",1420,1; + monster "turbo_e_16",295,280,"Archer Skeleton",1420,1; + monster "turbo_e_16",295,268,"Archer Skeleton",1420,1; + monster "turbo_e_16",295,264,"Archer Skeleton",1420,1; + monster "turbo_e_16",295,260,"Archer Skeleton",1420,1; + monster "turbo_e_16",303,288,"Archer Skeleton",1420,1; + monster "turbo_e_16",303,284,"Archer Skeleton",1420,1; + monster "turbo_e_16",303,280,"Archer Skeleton",1420,1; + monster "turbo_e_16",303,268,"Archer Skeleton",1420,1; + monster "turbo_e_16",303,264,"Archer Skeleton",1420,1; + monster "turbo_e_16",311,284,"Archer Skeleton",1420,1; + monster "turbo_e_16",311,280,"Archer Skeleton",1420,1; + monster "turbo_e_16",311,268,"Archer Skeleton",1420,1; + monster "turbo_e_16",311,264,"Archer Skeleton",1420,1; + monster "turbo_e_16",311,260,"Archer Skeleton",1420,1; + monster "turbo_e_16",347,288,"Archer Skeleton",1420,1; + monster "turbo_e_16",347,284,"Archer Skeleton",1420,1; + monster "turbo_e_16",347,280,"Archer Skeleton",1420,1; + monster "turbo_e_16",347,268,"Archer Skeleton",1420,1; + monster "turbo_e_16",347,264,"Archer Skeleton",1420,1; + monster "turbo_e_16",355,284,"Archer Skeleton",1420,1; + monster "turbo_e_16",355,280,"Archer Skeleton",1420,1; + monster "turbo_e_16",355,268,"Archer Skeleton",1420,1; + monster "turbo_e_16",355,264,"Archer Skeleton",1420,1; + monster "turbo_e_16",355,260,"Archer Skeleton",1420,1; + monster "turbo_e_16",363,288,"Archer Skeleton",1420,1; + monster "turbo_e_16",363,284,"Archer Skeleton",1420,1; + monster "turbo_e_16",363,280,"Archer Skeleton",1420,1; + monster "turbo_e_16",363,268,"Archer Skeleton",1420,1; + monster "turbo_e_16",363,264,"Archer Skeleton",1420,1; + monster "turbo_e_16",371,284,"Archer Skeleton",1420,1; + monster "turbo_e_16",371,280,"Archer Skeleton",1420,1; + monster "turbo_e_16",371,268,"Archer Skeleton",1420,1; + monster "turbo_e_16",371,264,"Archer Skeleton",1420,1; + monster "turbo_e_16",371,260,"Archer Skeleton",1420,1; + monster "turbo_e_16",379,288,"Archer Skeleton",1420,1; + monster "turbo_e_16",379,284,"Archer Skeleton",1420,1; + monster "turbo_e_16",379,280,"Archer Skeleton",1420,1; + monster "turbo_e_16",379,268,"Archer Skeleton",1420,1; + monster "turbo_e_16",379,264,"Archer Skeleton",1420,1; + end; +} + +turbo_e_16,90,46,0 script hunting#e16 111,{ +Onreset: + killmonsterall "turbo_e_16"; + end; + +OnEnable: + monster "turbo_e_16",47,87,"Munak",1610,1; + monster "turbo_e_16",47,87,"Bongun",1611,1; + monster "turbo_e_16",47,87,"Munak",1610,1; + monster "turbo_e_16",24,74,"Munak",1610,1; + monster "turbo_e_16",24,74,"Bongun",1611,1; + monster "turbo_e_16",24,74,"Munak",1610,1; + monster "turbo_e_16",67,42,"Munak",1610,1; + monster "turbo_e_16",67,42,"Bongun",1611,1; + monster "turbo_e_16",67,42,"Munak",1610,1; + monster "turbo_e_16",60,70,"Munak",1610,1; + monster "turbo_e_16",60,70,"Bongun",1611,1; + monster "turbo_e_16",60,70,"Munak",1610,1; + monster "turbo_e_16",32,51,"Munak",1610,1; + monster "turbo_e_16",32,51,"Bongun",1611,1; + monster "turbo_e_16",32,51,"Munak",1610,1; + monster "turbo_e_16",30,25,"Munak",1610,1; + monster "turbo_e_16",30,25,"Bongun",1611,1; + monster "turbo_e_16",30,25,"Munak",1610,1; + monster "turbo_e_16",68,56,"Munak",1610,1; + monster "turbo_e_16",68,56,"Munak",1610,1; + monster "turbo_e_16",68,56,"Yao Jun",1612,1; + monster "turbo_e_16",26,46,"Munak",1610,1; + monster "turbo_e_16",26,46,"Munak",1610,1; + monster "turbo_e_16",26,46,"Yao Jun",1612,1; + monster "turbo_e_16",62,20,"Munak",1610,1; + monster "turbo_e_16",62,20,"Bongun",1611,1; + monster "turbo_e_16",62,20,"Munak",1610,1; + monster "turbo_e_16",216,378,"Munak",1610,1; + monster "turbo_e_16",218,360,"Munak",1610,1; + monster "turbo_e_16",223,361,"Munak",1610,1; + monster "turbo_e_16",243,342,"Munak",1610,1; + monster "turbo_e_16",247,364,"Munak",1610,1; + end; +} + +// Turbo Track: Expert Mode - 16 Players (Water Maze) +turbo_e_16,179,55,0 script #e16Intersectiona::TurboHint_e16_1 -1,1,1,{ +OnTouch: + emotion e_what,1; + end; +} +turbo_e_16,184,45,0 duplicate(TurboHint_e16_1) #e16Intersectionb -1,1,1 +turbo_e_16,181,30,0 duplicate(TurboHint_e16_1) #e16Intersectionc -1,1,1 +turbo_e_16,186,28,0 duplicate(TurboHint_e16_1) #e16Intersectiond -1,1,1 +turbo_e_16,183,19,0 duplicate(TurboHint_e16_1) #e16Intersectione -1,1,1 +turbo_e_16,191,37,0 duplicate(TurboHint_e16_1) #e16Intersectionf -1,1,1 +turbo_e_16,173,25,0 duplicate(TurboHint_e16_1) #e16Intersectiong -1,1,1 +turbo_e_16,201,21,0 duplicate(TurboHint_e16_1) #e16Intersectionh -1,1,1 +turbo_e_16,222,21,0 duplicate(TurboHint_e16_1) #e16Intersectioni -1,1,1 +turbo_e_16,214,39,0 duplicate(TurboHint_e16_1) #e16Intersectionj -1,1,1 +turbo_e_16,222,48,0 duplicate(TurboHint_e16_1) #e16Intersectionk -1,1,1 +turbo_e_16,214,60,0 duplicate(TurboHint_e16_1) #e16Intersectionl -1,1,1 +turbo_e_16,209,61,0 duplicate(TurboHint_e16_1) #e16Intersectionm -1,1,1 +turbo_e_16,208,56,0 duplicate(TurboHint_e16_1) #e16Intersectionn -1,1,1 + +turbo_e_16,178,63,0 script #e16CorrectPath1::TurboHint_e16_2 -1,1,1,{ +OnTouch: + emotion e_gasp,1; +} +turbo_e_16,182,40,0 duplicate(TurboHint_e16_2) #e16CorrectPath2 -1,1,1 +turbo_e_16,176,29,0 duplicate(TurboHint_e16_2) #e16CorrectPath3 -1,1,1 +turbo_e_16,180,25,0 duplicate(TurboHint_e16_2) #e16CorrectPath4 -1,1,1 +turbo_e_16,201,157,0 duplicate(TurboHint_e16_2) #e16CorrectPath5 -1,1,1 +turbo_e_16,203,65,0 duplicate(TurboHint_e16_2) #e16CorrectPath6 -1,1,1 +turbo_e_16,208,52,0 duplicate(TurboHint_e16_2) #e16CorrectPath7 -1,1,1 +turbo_e_16,208,26,0 duplicate(TurboHint_e16_2) #e16CorrectPath8 -1,1,1 +turbo_e_16,191,30,0 duplicate(TurboHint_e16_2) #e16CorrectPath9 -1,1,1 + +turbo_e_16,187,55,0 script #e16NoWayOut1::TurboHint_e16_3 -1,1,1,{ +OnTouch: + emotion e_swt2,1; + if (rand(1,4) == 3) + emotion e_gasp; + end; +} +turbo_e_16,176,45,0 duplicate(TurboHint_e16_3) #e16NoWayOut2 -1,1,1 +turbo_e_16,222,26,0 duplicate(TurboHint_e16_3) #e16NoWayOut3 -1,1,1 +turbo_e_16,219,39,0 duplicate(TurboHint_e16_3) #e16NoWayOut4 -1,1,1 +turbo_e_16,222,45,0 script #e16NoWayOut5 -1,1,1,{ +OnTouch: + emotion e_swt2,1; + end; +} +turbo_e_16,222,61,0 duplicate(TurboHint_e16_3) #e16NoWayOut6 -1,1,1 +turbo_e_16,222,65,0 duplicate(TurboHint_e16_3) #e16NoWayOut7 -1,1,1 + +// Turbo Track: Expert Mode - 16 Players (Course-clear broadcasters, and exits?) +turbo_e_16,168,363,0 script cos_e_16_1 45,1,1,{ +OnTouch: + mapannounce "turbo_e_16","" + strcharinfo(0) +" has just passed the Log Bridge course!",bc_map,"0x70DBDB"; + set .@move1,rand(1,3); + if (.@move1 == 1) + warp "turbo_e_16",210,369; + else if (.@move1 == 2) + warp "turbo_e_16",210,361; + else + warp "turbo_e_16",210,354; + end; +} + +turbo_e_16,258,364,0 script cos_e_16_2 45,1,1,{ +OnTouch: + mapannounce "turbo_e_16","" + strcharinfo(0) +" has just passed the Cube Hills course!",bc_map,"0x70DBDB"; + warp "turbo_e_16",316,365; + end; +} + +turbo_e_16,316,365,0 script Disposable_Switch#e16 -1,1,1,{ +OnInit: + enablenpc "Disposable_Switch#e16"; + end; + +OnTouch: + if (rand(1,2) == 1) + enablenpc "Flasher_Exit_1#e16"; + else + enablenpc "Flasher_Exit_2#e16"; + disablenpc "Disposable_Switch#e16"; + end; +} + +turbo_e_16,385,365,0 script cos_e_16_3 45,1,1,{ +OnTouch: + set .@to_miro,rand(1,4); + mapannounce "turbo_e_16","" + strcharinfo(0) +" has just passed the Cursed Desert!",bc_map,"0x70DBDB"; + if (.@to_miro == 1) + warp "turbo_e_16",46,254; + else if (.@to_miro == 2) + warp "turbo_e_16",76,227; + else if (.@to_miro == 3) + warp "turbo_e_16",42,197; + else + warp "turbo_e_16",86,220; + end; +} + +turbo_e_16,11,266,0 script Flasher_Exit_1#e16 45,1,1,{ +OnInit: + disablenpc "Flasher_Exit_1#e16"; + end; + +OnTouch: + mapannounce "turbo_e_16","" + strcharinfo(0) +" has just passed the Flasher Maze!",bc_map,"0x70DBDB"; + warp "turbo_e_16",185,227; + end; +} + +turbo_e_16,114,190,0 script Flasher_Exit_2#e16 45,1,1,{ +OnInit: + disablenpc "Flasher_Exit_2#e16"; + end; + +OnTouch: + mapannounce "turbo_e_16","" + strcharinfo(0) +" has just passed the Flasher Maze!",bc_map,"0x70DBDB"; + warp "turbo_e_16",185,227; + end; +} + +turbo_e_16,250,200,0 script cos_e_16_5 45,1,1,{ +OnTouch: + mapannounce "turbo_e_16","" + strcharinfo(0) +" has just passed the Single Snail course!",bc_map,"0x70DBDB"; + warp "turbo_e_16",268,275; + end; +} + +turbo_e_16,389,275,0 script cos_e_16_6 45,1,1,{ +OnTouch: + mapannounce "turbo_e_16","" + strcharinfo(0) +" has just passed the Snake Dice course!",bc_map,"0x70DBDB"; + warp "turbo_e_16",5,91; + end; +} + +turbo_e_16,93,19,0 script cos_e_16_7 45,1,1,{ +OnTouch: + mapannounce "turbo_e_16","" + strcharinfo(0) +" has just passed the Small Cave course!",bc_map,"0x70DBDB"; + warp "turbo_e_16",167,55; + end; +} + +turbo_e_16,232,14,0 script cos_e_16_8 45,1,1,{ +OnTouch: + mapannounce "turbo_e_16","" + strcharinfo(0) +" has just passed the Invisible Maze! Hurry, you're almost at the finish!",bc_map,"0x70DBDB"; + set .@move1,rand(1,3); + if (.@move1 == 1) + warp "turbo_e_16",307,52; + else if (.@move1 == 2) + warp "turbo_e_16",307,46; + else + warp "turbo_e_16",307,40; + end; +} + +turbo_e_16,371,47,0 script cos_e_16_end 45,1,1,{ +OnInit: + enablenpc "cos_e_16_end"; + end; + +OnTouch: + mapannounce "turbo_e_16","" + strcharinfo(0) +" has just arrived at the Finish Line! Congratulations!",bc_map,"0xFFFF00"; + set $ttnames$[6],strcharinfo(0); + donpcevent "TBT_Guide#Broadcast::Onwin_e16"; + if (tt_point < 28941) + set tt_point,tt_point+60; + warp "turbo_e_16",384,161; + enablenpc "Winner Helper#TBT_e_16"; + disablenpc "cos_e_16_end"; + enablenpc "cos_e_16_end2"; + end; +} + +turbo_e_16,371,51,0 script cos_e_16_end2 45,1,1,{ +OnInit: + disablenpc "cos_e_16_end2"; + end; + +OnTouch: + mapannounce "turbo_e_16","" + strcharinfo(0) +" is Second to arrive at the Finish Line! Congratulations!",bc_map,"0xFFFF00"; + if (tt_point < 28951) + set tt_point,tt_point+50; + warp "turbo_room",72,89; + disablenpc "cos_e_16_end2"; + enablenpc "cos_e_16_end3"; + end; +} + +turbo_e_16,371,43,0 script cos_e_16_end3 45,1,1,{ +OnInit: + disablenpc "cos_e_16_end3"; + end; + +OnTouch: + mapannounce "turbo_e_16","" + strcharinfo(0) +" is Third to arrive at the Finish Line! Congratulations!",bc_map,"0xFFFF00"; + if (tt_point < 28961) + set tt_point,tt_point+40; + warp "turbo_room",72,89; + donpcevent "Winner Helper#TBT_e_16::OnEnable"; + donpcevent "Master#e16::OnDisable"; + disablenpc "Broadcast#e16"; + disablenpc "cos_e_16_end3"; + end; +} + +turbo_e_16,384,167,1 script Winner Helper#TBT_e_16 47,{ + if (tt_rank < 29999) { + mes "[Guide]"; + mes "Congratulations!"; + mes "As the winner, your reward"; + mes "is 40 Turbo Track Points,"; + mes ""+ strcharinfo(0) +"~"; + next; + mes "[Guide]"; + mes "However, you cannot receive"; + mes "any points if you exceed the"; + mes "point limit. You now have a total of " + my_point + " Turbo Track points."; + set tt_rank,tt_rank+1; + next; + if (tt_rank > $ttranks[1]) { + setarray $ttranks[0],$ttranks[0],tt_rank,$ttranks[1],$ttranks[2],$ttranks[3],$ttranks[4]; + setarray $ttnames$[9],strcharinfo(0); + mes "[Guide]"; + mes "Congratulations!"; + mes "You are ranked as"; + mes "the top player for"; + mes "winning the most games!"; + donpcevent "TBT_Guide#Broadcast::Onnew_top1"; + if (tt_rank == 29999) { + if ($ttnames$[7] == "Breezy Havana") { + set $ttnames$[7],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + else if ($ttnames$[8] == "RS125") { + set $ttnames$[8],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + //broadcastserver "FF0000" FW_NORMAL 10 0 0 " " + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!" + } + } + } + else if (tt_rank > $ttranks[2]) { + setarray $ttranks[0],$ttranks[0],$ttranks[1],tt_rank,$ttranks[3],$ttranks[4],$ttranks[5]; + setarray $ttnames$[10],strcharinfo(0); + mes "[Guide]"; + mes "Congratulations!"; + mes "You've ranked Second"; + mes "among the Top Five Players"; + mes "who've won the most games!"; + donpcevent "TBT_Guide#Broadcast::Onnew_top2"; + if (tt_rank == 29999) { + if ($ttnames$[7] == "Breezy Havana") { + set $ttnames$[7],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + else if ($ttnames$[8] == "RS125") { + set $ttnames$[8],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + } + } + else if (tt_rank > $ttranks[3]) { + setarray $ttranks[0],$ttranks[0],$ttranks[1],$ttranks[2],tt_rank,$ttranks[4],$ttranks[5]; + setarray $ttnames$[11],strcharinfo(0); + mes "[Guide]"; + mes "Congratulations!"; + mes "You've ranked Third"; + mes "among the Top Five Players"; + mes "who've won the most games!"; + donpcevent "TBT_Guide#Broadcast::Onnew_top3"; + if (tt_rank == 29999) { + if ($ttnames$[7] == "Breezy Havana") { + set $ttnames$[7],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + else if ($ttnames$[8] == "RS125") { + set $ttnames$[8],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + } + } + else if (tt_rank > $ttranks[4]) { + setarray $ttranks[0],$ttranks[0],$ttranks[1],$ttranks[2],$ttranks[3],tt_rank,$ttranks[5]; + setarray $ttnames$[12],strcharinfo(0); + mes "[Guide]"; + mes "Congratulations!"; + mes "You've ranked Fourth"; + mes "among the Top Five Players"; + mes "who've won the most games!"; + donpcevent "TBT_Guide#Broadcast::Onnew_top4"; + if (tt_rank == 29999) { + if ($ttnames$[7] == "Breezy Havana") { + set $ttnames$[7],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + else if ($ttnames$[8] == "RS125") { + set $ttnames$[8],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + } + } + else if (tt_rank > $ttranks[5]) { + setarray $ttranks[0],$ttranks[0],$ttranks[1],$ttranks[2],$ttranks[3],$ttranks[4],tt_rank; + setarray $ttnames$[13],strcharinfo(0); + mes "[Guide]"; + mes "Congratulations!"; + mes "You've ranked Fifth"; + mes "among the Top Five Players"; + mes "who've won the most games!"; + donpcevent "TBT_Guide#Broadcast::Onnew_top5"; + if (tt_rank == 29999) { + if ($ttnames$[7] == "Breezy Havana") { + set $ttnames$[7],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + else if ($ttnames$[8] == "RS125") { + set $ttnames$[8],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + } + } + else { + mes "[Guide]"; + mes "If you can win more games"; + mes "than everybody else, your"; + mes "name will be registered in"; + mes "our Top Five Player Ranking."; + next; + mes "[Guide]"; + mes "What do you"; + mes "think, " + strcharinfo(0) +"?"; + mes "Glory can be yours if"; + mes "you can achieve victory!"; + } + next; + mes "[Guide]"; + mes "Thank you for"; + mes "participating in"; + mes "the Turbo Track."; + mes "You will be transported"; + mes "to a Waiting Room shortly."; + close2; + warp "turbo_room",72,89; + end; + } + else { + if ($ttnames$[7] == strcharinfo(0)) { + mes "[Guide]"; + mes "Oh wow!"; + mes "You're a member"; + mes "in our Hall of Honor,"; + mes "aren't you? This is great!"; + mes "I'm talking to a living legend!"; + next; + mes "[Guide]"; + mes "Oh, I'm sorry! You're"; + mes "here so that I can tell you"; + mes "how many Turbo Track Points"; + set my_point,tt_point; + mes "you have, right? You've got a total of " + my_point + " Turbo Track Points, "+ strcharinfo(0) +"."; + next; + mes "[Guide]"; + mes "Oh, and thanks for"; + mes "participating in the"; + mes "Turbo Track! You'll be sent"; + mes "to the Waiting Room soon~"; + close2; + warp "turbo_room",72,89; + end; + } + else if ($ttnames$[8] == strcharinfo(0)) { + mes "[Guide]"; + mes "Hey, aren't you"; + mes "in our Hall of Honor?"; + mes "I've been watching your"; + mes "races... You're pretty quick"; + mes "on your feet, hotshot~"; + next; + mes "[Guide]"; + mes "Oh right, your current"; + set my_point,tt_point; + mes "Turbo Track Point total!"; + mes "You've got a total of"; + mes "" + my_point + " Turbo Track points,"; + mes "" + strcharinfo(0) + "."; + next; + mes "[Guide]"; + mes "Oh, and thanks for"; + mes "participating in the"; + mes "Turbo Track! You'll be sent"; + mes "to the Waiting Room soon~"; + close2; + warp "turbo_room",72,89; + end; + } + else { + mes "[Guide]"; + mes "Awwww~"; + mes "You were almost able"; + mes "to join our Hall of Honor...!"; + mes "But don't let that get you"; + mes "down. Maybe next time!"; + next; + mes "[Guide]"; + mes "Oh, right."; + mes "Currently, you"; + mes "have a total of"; + mes "" + tt_point + " Turbo Track points."; + next; + mes "[Guide]"; + mes "Thank you for"; + mes "participating in"; + mes "the Turbo Track."; + mes "You will be transported"; + mes "to a Waiting Room shortly."; + close2; + warp "turbo_room",72,89; + end; + } + } + +OnInit: + disablenpc "Winner Helper#TBT_e_16"; + end; + +OnEnable: + enablenpc "Winner Helper#TBT_e_16"; + initnpctimer; + end; + +OnTimer5000: + mapannounce "turbo_e_16","This is the ending broadcast for Turbo Track Expert Mode - 16 person.",bc_map,"0x33FF66"; + end; + +OnTimer10000: + mapannounce "turbo_e_16","For smooth game play, the game will end in approximately 1 minute.",bc_map,"0x33FF66"; + end; + +OnTimer15000: + mapannounce "turbo_e_16","At that time, a Warp portal will open.",bc_map,"0x33FF66"; + end; + +OnTimer20000: + mapannounce "turbo_e_16","Players in the arena must be ready to leave through the Warp Portal.",bc_map,"0x33FF66"; + end; + +OnTimer25000: + mapannounce "turbo_e_16","In the meantime, winners must proceed to receive their rewards as soon as possible.",bc_map,"0x33FF66"; + end; + +OnTimer30000: + mapannounce "turbo_e_16","Thank you for visiting Al De Baran Turbo Track.",bc_map,"0x33FF66"; + end; + +OnTimer35000: + mapannounce "turbo_e_16","Al De Baran Turbo Track is brought to you by...",bc_map,"0x33FF66"; + end; + +OnTimer40000: + mapannounce "turbo_e_16","[Al De Baran Kafra Corporation Headquarters]",bc_map,"0x33FF66"; + end; + +OnTimer45000: + mapannounce "turbo_e_16","[Al De Baran Guild Castle Management Luina]",bc_map,"0x33FF66"; + end; + +OnTimer50000: + mapannounce "turbo_e_16","[Blacksmith Union]",bc_map,"0x33FF66"; + end; + +OnTimer55000: + mapannounce "turbo_e_16","And [Comodo Casino].",bc_map,"0x33FF66"; + end; + +OnTimer60000: + mapannounce "turbo_e_16","Once again, we'd like to thank our sponsors.",bc_map,"0x33FF66"; + end; + +OnTimer65000: + mapannounce "turbo_e_16","Have a good day.",bc_map,"0x33FF66"; + end; + +//--- warp all players to turbo room +OnTimer70000: + mapwarp "turbo_e_16","turbo_room",72,89; + end; + +//----end game, reset all +OnTimer71000: + disablenpc "Winner Helper#TBT_e_16"; + enablenpc "cos_e_16_end"; + enablenpc "cos_e_16_end2"; + enablenpc "cos_e_16_end3"; + disablenpc "Notice_Maker1#TBT_e_16"; + disablenpc "Notice_Maker3#TBT_e_16"; + disablenpc "Notice_Maker4#TBT_e_16"; + enablenpc "Disposable_Switch#e16"; + enablenpc "Flasher_Exit_1#e16"; + enablenpc "Flasher_Exit_2#e16"; + enablenpc "No_Unfair_Start#e16-1"; + enablenpc "No_Unfair_Start#e16-2"; + donpcevent "snake#e16::Onreset"; + donpcevent "hunting#e16::Onreset"; + donpcevent "Expert Mode - 16 Person#e16::OnEnable"; + disablenpc "bing2#e16"; + stopnpctimer; + end; +} + +turbo_e_16,11,91,0 script Notice_Maker1#TBT_e_16 -1,3,3,{ +OnInit: + enablenpc "Notice_Maker1#TBT_e_16"; + end; + +OnTouch: + mapannounce "turbo_e_16","" + strcharinfo(0) +" is now entering the Small Cave! Currently, "+ strcharinfo(0) +" is in the lead!",bc_map,"0xFFFF00"; + donpcevent "TBT_Guide#Broadcast::Onend_e16"; + disablenpc "Notice_Maker1#TBT_e_16"; + end; +} + +turbo_e_16,234,223,0 script Notice_Maker3#TBT_e_16 -1,2,2,{ +OnInit: + enablenpc "Notice_Maker3#TBT_e_16"; + end; + +OnTouch: + mapannounce "turbo_e_16","" + strcharinfo(0) +" is now entering the Single Snail! Currently, "+ strcharinfo(0) +" is in the lead!",bc_map,"0xFFFF00"; + disablenpc "Notice_Maker3#TBT_e_16"; + end; +} + +turbo_e_16,226,15,0 script Notice_Maker4#TBT_e_16 -1,1,1,{ +OnInit: + enablenpc "Notice_Maker4#TBT_e_16"; + end; + +OnTouch: + mapannounce "turbo_e_16","" + strcharinfo(0) +" is currently in First Place!",bc_map,"0xFFFF00"; + disablenpc "Notice_Maker4#TBT_e_16"; + end; +} + +turbo_e_16,227,379,0 script Warp#e_16_1::Warp_e_16 -1,1,1,{ +OnTouch: + set .@warprand,rand(1,20); + if (.@warprand == 1) + warp "turbo_e_16",216,378; + else if (.@warprand == 2) + warp "turbo_e_16",218,360; + else if (.@warprand == 4) + warp "turbo_e_16",223,361; + else if (.@warprand == 5) + warp "turbo_e_16",243,342; + else if (.@warprand == 6) + warp "turbo_e_16",247,364; + end; +} +turbo_e_16,237,380,0 duplicate(Warp_e_16) Warp#e_16_2 -1,1,1 +turbo_e_16,227,367,0 duplicate(Warp_e_16) Warp#e_16_3 -1,1,1 +turbo_e_16,231,360,0 duplicate(Warp_e_16) Warp#e_16_4 -1,1,1 +turbo_e_16,225,349,0 duplicate(Warp_e_16) Warp#e_16_5 -1,1,1 +turbo_e_16,249,352,0 duplicate(Warp_e_16) Warp#e_16_6 -1,1,1 +turbo_e_16,253,364,0 duplicate(Warp_e_16) Warp#e_16_7 -1,2,2 + +turbo_e_16,307,55,0 script trap_e16#F1::TurboTrap_e16 -1,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_e_16,307,51,0 duplicate(TurboTrap_e16) trap_e16#F2 139,1,1 +turbo_e_16,307,47,0 duplicate(TurboTrap_e16) trap_e16#F3 139,1,1 +turbo_e_16,307,43,0 duplicate(TurboTrap_e16) trap_e16#F4 139,1,1 +turbo_e_16,307,39,0 duplicate(TurboTrap_e16) trap_e16#F5 139,1,1 +turbo_e_16,307,39,0 duplicate(TurboTrap_e16) trap_e16#F96 139,1,1 +turbo_e_16,312,56,0 duplicate(TurboTrap_e16) trap_e16#F6 139,1,1 +turbo_e_16,312,52,0 duplicate(TurboTrap_e16) trap_e16#F7 139,1,1 +turbo_e_16,312,48,0 duplicate(TurboTrap_e16) trap_e16#F8 139,1,1 +turbo_e_16,312,44,0 duplicate(TurboTrap_e16) trap_e16#F9 139,1,1 +turbo_e_16,312,40,0 duplicate(TurboTrap_e16) trap_e16#F10 139,1,1 +turbo_e_16,312,36,0 duplicate(TurboTrap_e16) trap_e16#F11 139,1,1 +turbo_e_16,316,55,0 duplicate(TurboTrap_e16) trap_e16#F12 139,1,1 +turbo_e_16,316,51,0 duplicate(TurboTrap_e16) trap_e16#F13 139,1,1 +turbo_e_16,316,47,0 duplicate(TurboTrap_e16) trap_e16#F14 139,1,1 +turbo_e_16,316,43,0 duplicate(TurboTrap_e16) trap_e16#F15 139,1,1 +turbo_e_16,316,39,0 duplicate(TurboTrap_e16) trap_e16#F16 139,1,1 +turbo_e_16,316,36,0 duplicate(TurboTrap_e16) trap_e16#F17 139,1,1 +turbo_e_16,320,56,0 duplicate(TurboTrap_e16) trap_e16#F18 139,1,1 +turbo_e_16,320,52,0 duplicate(TurboTrap_e16) trap_e16#F19 139,1,1 +turbo_e_16,320,48,0 duplicate(TurboTrap_e16) trap_e16#F20 139,1,1 +turbo_e_16,320,44,0 duplicate(TurboTrap_e16) trap_e16#F21 139,1,1 +turbo_e_16,320,40,0 duplicate(TurboTrap_e16) trap_e16#F22 139,1,1 +turbo_e_16,320,36,0 duplicate(TurboTrap_e16) trap_e16#F23 139,1,1 +turbo_e_16,324,55,0 duplicate(TurboTrap_e16) trap_e16#F24 139,1,1 +turbo_e_16,324,51,0 duplicate(TurboTrap_e16) trap_e16#F25 139,1,1 +turbo_e_16,324,47,0 duplicate(TurboTrap_e16) trap_e16#F26 139,1,1 +turbo_e_16,324,43,0 duplicate(TurboTrap_e16) trap_e16#F27 139,1,1 +turbo_e_16,324,39,0 duplicate(TurboTrap_e16) trap_e16#F28 139,1,1 +turbo_e_16,324,36,0 duplicate(TurboTrap_e16) trap_e16#F29 139,1,1 +turbo_e_16,328,56,0 duplicate(TurboTrap_e16) trap_e16#F30 139,1,1 +turbo_e_16,328,52,0 duplicate(TurboTrap_e16) trap_e16#F31 139,1,1 +turbo_e_16,328,48,0 duplicate(TurboTrap_e16) trap_e16#F32 139,1,1 +turbo_e_16,328,44,0 duplicate(TurboTrap_e16) trap_e16#F33 139,1,1 +turbo_e_16,328,40,0 duplicate(TurboTrap_e16) trap_e16#F34 139,1,1 +turbo_e_16,328,36,0 duplicate(TurboTrap_e16) trap_e16#F35 139,1,1 +turbo_e_16,332,55,0 duplicate(TurboTrap_e16) trap_e16#F36 139,1,1 +turbo_e_16,332,51,0 duplicate(TurboTrap_e16) trap_e16#F37 139,1,1 +turbo_e_16,332,47,0 duplicate(TurboTrap_e16) trap_e16#F38 139,1,1 +turbo_e_16,332,43,0 duplicate(TurboTrap_e16) trap_e16#F39 139,1,1 +turbo_e_16,332,39,0 duplicate(TurboTrap_e16) trap_e16#F40 139,1,1 +turbo_e_16,332,36,0 duplicate(TurboTrap_e16) trap_e16#F41 139,1,1 + +turbo_e_16,336,56,0 script trap_e16#F42::TurboTrap_e16_2 139,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_e_16,336,52,0 duplicate(TurboTrap_e16_2) trap_e16#F43 139,1,1 +turbo_e_16,336,48,0 duplicate(TurboTrap_e16_2) trap_e16#F44 139,1,1 +turbo_e_16,336,44,0 duplicate(TurboTrap_e16_2) trap_e16#F45 139,1,1 +turbo_e_16,336,50,0 duplicate(TurboTrap_e16_2) trap_e16#F46 139,1,1 +turbo_e_16,336,36,0 duplicate(TurboTrap_e16_2) trap_e16#F47 139,1,1 +turbo_e_16,340,55,0 duplicate(TurboTrap_e16_2) trap_e16#F48 139,1,1 + +turbo_e_16,340,51,0 duplicate(TurboTrap_e16) trap_e16#F49 139,1,1 +turbo_e_16,340,47,0 duplicate(TurboTrap_e16) trap_e16#F50 139,1,1 +turbo_e_16,340,43,0 duplicate(TurboTrap_e16) trap_e16#F51 139,1,1 +turbo_e_16,340,39,0 duplicate(TurboTrap_e16) trap_e16#F52 139,1,1 +turbo_e_16,340,36,0 duplicate(TurboTrap_e16) trap_e16#F53 139,1,1 +turbo_e_16,344,56,0 duplicate(TurboTrap_e16) trap_e16#F54 139,1,1 +turbo_e_16,344,52,0 duplicate(TurboTrap_e16) trap_e16#F55 139,1,1 +turbo_e_16,344,48,0 duplicate(TurboTrap_e16) trap_e16#F56 139,1,1 +turbo_e_16,344,44,0 duplicate(TurboTrap_e16) trap_e16#F57 139,1,1 +turbo_e_16,344,40,0 duplicate(TurboTrap_e16) trap_e16#F58 139,1,1 +turbo_e_16,344,36,0 duplicate(TurboTrap_e16) trap_e16#F59 139,1,1 +turbo_e_16,348,55,0 duplicate(TurboTrap_e16) trap_e16#F60 139,1,1 +turbo_e_16,348,51,0 duplicate(TurboTrap_e16) trap_e16#F61 139,1,1 +turbo_e_16,348,47,0 duplicate(TurboTrap_e16) trap_e16#F62 139,1,1 +turbo_e_16,348,43,0 duplicate(TurboTrap_e16) trap_e16#F63 139,1,1 +turbo_e_16,348,39,0 duplicate(TurboTrap_e16) trap_e16#F64 139,1,1 +turbo_e_16,348,36,0 duplicate(TurboTrap_e16) trap_e16#F65 139,1,1 +turbo_e_16,352,56,0 duplicate(TurboTrap_e16) trap_e16#F66 139,1,1 +turbo_e_16,352,52,0 duplicate(TurboTrap_e16) trap_e16#F67 139,1,1 +turbo_e_16,352,48,0 duplicate(TurboTrap_e16) trap_e16#F68 139,1,1 +turbo_e_16,352,44,0 duplicate(TurboTrap_e16) trap_e16#F69 139,1,1 +turbo_e_16,352,40,0 duplicate(TurboTrap_e16) trap_e16#F70 139,1,1 +turbo_e_16,352,36,0 duplicate(TurboTrap_e16) trap_e16#F71 139,1,1 +turbo_e_16,356,55,0 duplicate(TurboTrap_e16) trap_e16#F72 139,1,1 +turbo_e_16,356,51,0 duplicate(TurboTrap_e16) trap_e16#F73 139,1,1 +turbo_e_16,356,47,0 duplicate(TurboTrap_e16) trap_e16#F74 139,1,1 +turbo_e_16,356,43,0 duplicate(TurboTrap_e16) trap_e16#F75 139,1,1 +turbo_e_16,356,39,0 duplicate(TurboTrap_e16) trap_e16#F76 139,1,1 +turbo_e_16,356,36,0 duplicate(TurboTrap_e16) trap_e16#F77 139,1,1 +turbo_e_16,360,56,0 duplicate(TurboTrap_e16) trap_e16#F78 139,1,1 +turbo_e_16,360,52,0 duplicate(TurboTrap_e16) trap_e16#F79 139,1,1 +turbo_e_16,360,48,0 duplicate(TurboTrap_e16) trap_e16#F80 139,1,1 +turbo_e_16,360,44,0 duplicate(TurboTrap_e16) trap_e16#F81 139,1,1 +turbo_e_16,360,40,0 duplicate(TurboTrap_e16) trap_e16#F82 139,1,1 +turbo_e_16,360,36,0 duplicate(TurboTrap_e16) trap_e16#F83 139,1,1 +turbo_e_16,364,55,0 duplicate(TurboTrap_e16) trap_e16#F84 139,1,1 +turbo_e_16,364,51,0 duplicate(TurboTrap_e16) trap_e16#F85 139,1,1 +turbo_e_16,364,47,0 duplicate(TurboTrap_e16) trap_e16#F86 139,1,1 +turbo_e_16,364,43,0 duplicate(TurboTrap_e16) trap_e16#F87 139,1,1 +turbo_e_16,364,39,0 duplicate(TurboTrap_e16) trap_e16#F88 139,1,1 +turbo_e_16,364,36,0 duplicate(TurboTrap_e16) trap_e16#F89 139,1,1 +turbo_e_16,368,56,0 duplicate(TurboTrap_e16) trap_e16#F90 139,1,1 +turbo_e_16,368,52,0 duplicate(TurboTrap_e16) trap_e16#F91 139,1,1 +turbo_e_16,368,48,0 duplicate(TurboTrap_e16) trap_e16#F92 139,1,1 +turbo_e_16,368,44,0 duplicate(TurboTrap_e16) trap_e16#F93 139,1,1 +turbo_e_16,368,40,0 duplicate(TurboTrap_e16) trap_e16#F94 139,1,1 +turbo_e_16,368,36,0 duplicate(TurboTrap_e16) trap_e16#F95 139,1,1 + +turbo_e_16,217,214,0 script bing#e16 45,3,3,{ +OnTouch: + set .@bing1,rand(1,10); + if (.@bing1 > 0 && .@bing1 < 4) + warp "turbo_e_16",217,232; + else if (.@bing1 == 6) + warp "turbo_e_16",233,207; + else if (.@bing1 == 7) + warp "turbo_e_16",208,219; + else if (.@bing1 == 8) + warp "turbo_e_16",219,202; + else if (.@bing1 == 9) + warp "turbo_e_16",218,228; + disablenpc "bing#e16"; + enablenpc "bing2#e16"; + end; +} + +turbo_e_16,217,214,0 script bing2#e16 45,3,3,{ +OnInit: + disablenpc "bing2#e8"; + end; + +OnTouch: + set .@bing1,rand(1,10); + if (.@bing1 == 1) + warp "turbo_e_16",217,232; + else if (.@bing1 == 2) + warp "turbo_e_16",233,207; + else if (.@bing1 == 3) + warp "turbo_e_16",208,219; + else if (.@bing1 == 4) + warp "turbo_e_16",219,202; + else if (.@bing1 == 5) + warp "turbo_e_16",218,228; + else if (.@bing1 == 6) + warp "turbo_e_16",220,195; + end; +} diff --git a/npc/re/other/turbotrack/Expert_4.txt b/npc/re/other/turbotrack/Expert_4.txt new file mode 100644 index 000000000..20187f0da --- /dev/null +++ b/npc/re/other/turbotrack/Expert_4.txt @@ -0,0 +1,1405 @@ +//===== rAthena Script ======================================= +//= Turbo Track - Expert - 4 Person +//===== By: ================================================== +//= L0ne_W0lf +//===== Current Version: ===================================== +//= 1.5 +//===== Compatible With: ===================================== +//= rAthena SVN +//===== Description: ========================================= +//= Turbo Track Course: Expert (PVP) - 4 Person +//===== Additional Comments: ================================= +//= 1.0 Translated from the Official [L0ne_W0lf] +//= 1.1 Fixed small official bug. [L0ne_W0lf] +//= 1.2 Fixed a little mistake [akrus] +//= 1.3 Corrected issue with top record setting. [L0ne_W0lf] +//= 1.4 Updated 'waitingroom' to support required zeny/lvl. [Kisuka] +//= 1.5 Fixed variable typo [Elias] +//============================================================ + +turbo_room,110,135,3 script Expert mode - 4 person 124,{ + end; + +OnInit: + waitingroom "Expert mode - 4 person",60,"Expert mode - 4 person::OnStartArena",4,1000,10,99; + enablewaitingroomevent "Expert mode - 4 person"; + end; + +OnEnable: + enablenpc "Expert mode - 4 person"; + enablewaitingroomevent "Expert mode - 4 person"; + end; + +OnStartArena: + warpwaitingpc "turbo_e_4",298,161; + donpcevent "Broadcast#e4::OnEnable"; + disablewaitingroomevent "Expert mode - 4 person"; + end; +} + +turbo_e_4,298,167,3 script Helper#e4_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_e_4,298,167,0 script Point Give-Away Guy#e4 -1,15,15,{ +OnInit: + disablenpc "Point Give-Away Guy#e4"; + end; + +OnTouch: + if (tt_point < 28999) { + set tt_point,tt_point+2; + warp "turbo_e_4",59,364; + } + else + warp "turbo_e_4",59,364; + end; +} + +turbo_e_4,167,3,0 script Broadcast#e4 -1,{ +OnInit: + disablenpc "Broadcast#e4"; + end; + +OnEnable: + enablenpc "Broadcast#e4"; + initnpctimer; + end; + +OnTimer2000: + mapannounce "turbo_e_4","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_e_4","You will have 30 seconds before you are transported to the Starting Line.",bc_map,"0x33FF66"; + end; + +OnTimer10000: + mapannounce "turbo_e_4","Please make sure that you have suitable equipment and items with you.",bc_map,"0x33FF66"; + end; + +OnTimer15000: + mapannounce "turbo_e_4","The 30 second countdown will begin shortly.",bc_map,"0x33FF66"; + end; + +OnTimer17000: + mapannounce "turbo_e_4","30 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer27000: + mapannounce "turbo_e_4","20 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer37000: + mapannounce "turbo_e_4","10 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer42000: + mapannounce "turbo_e_4","5 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer43000: + mapannounce "turbo_e_4","4 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer44000: + mapannounce "turbo_e_4","3 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer45000: + mapannounce "turbo_e_4","2 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer46000: + mapannounce "turbo_e_4","1 second remaining.",bc_map,"0x33FF66"; + end; + +OnTimer47000: + mapannounce "turbo_e_4","You will be transported to the Starting Line shortly.",bc_map,"0x33FF66"; + end; + +OnTimer49000: + enablenpc "Point Give-Away Guy#e4"; + donpcevent "Master#e4::OnEnable"; + end; + +OnTimer50000: + donpcevent "snake#e4::OnEnable"; + donpcevent "hunting#e4::OnEnable"; + enablenpc "bing#e4"; + end; + +OnTimer57000: + disablenpc "Point Give-Away Guy#e4"; + end; +} + +turbo_e_4,167,3,0 script Master#e4 -1,{ +OnInit: + disablenpc "Master#e4"; + end; + +OnEnable: + enablenpc "Master#e4"; + initnpctimer; + end; + +OnDisable: + stopnpctimer; + disablenpc "Master#e4"; + end; + +OnTimer7000: + mapannounce "turbo_e_4","Welcome to the Turbo Track.",bc_map,"0x33FF66"; + end; + +OnTimer9000: + mapannounce "turbo_e_4","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_e_4","We hope you will do your best.",bc_map,"0x33FF66"; + end; + +OnTimer13000: + mapannounce "turbo_e_4","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_e_4","The countdown will commence shortly.",bc_map,"0x33FF66"; + end; + +OnTimer17000: + mapannounce "turbo_e_4","- 5 -",bc_map,"0x33FF66"; + end; + +OnTimer18000: + mapannounce "turbo_e_4","- 4 -",bc_map,"0x33FF66"; + end; + +OnTimer19000: + mapannounce "turbo_e_4","- 3 -",bc_map,"0x33FF66"; + end; + +OnTimer20000: + mapannounce "turbo_e_4","- 2 -",bc_map,"0x33FF66"; + end; + +OnTimer21000: + mapannounce "turbo_e_4","- 1 -",bc_map,"0x33FF66"; + end; + +OnTimer22000: + mapannounce "turbo_e_4","- 0 -",bc_map,"0x33FF66"; + end; + +OnTimer23000: + mapannounce "turbo_e_4","Now! The race has begun! Go Go Go!!",bc_map,"0x33FF66"; + disablenpc "No_Unfair_Start#e4-1"; + disablenpc "No_Unfair_Start#e4-2"; + end; + +OnTimer30000: + mapannounce "turbo_e_4","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_e_4","You have 14 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer143000: + mapannounce "turbo_e_4","You have 13 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer203000: + mapannounce "turbo_e_4","You have 12 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer263000: + mapannounce "turbo_e_4","You have 11 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer323000: + mapannounce "turbo_e_4","You have 10 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer383000: + mapannounce "turbo_e_4","You have 9 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer443000: + mapannounce "turbo_e_4","You have 8 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer503000: + mapannounce "turbo_e_4","You have 7 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer563000: + mapannounce "turbo_e_4","You have 6 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer623000: + mapannounce "turbo_e_4","You have 5 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer683000: + mapannounce "turbo_e_4","You have 4 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer743000: + mapannounce "turbo_e_4","You have 3 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer803000: + mapannounce "turbo_e_4","You have 2 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer863000: + mapannounce "turbo_e_4","You have 1 minute left.",bc_map,"0x33FF66"; + end; + +OnTimer893000: + mapannounce "turbo_e_4","You have 30 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer903000: + mapannounce "turbo_e_4","You have 20 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer913000: + mapannounce "turbo_e_4","You have 10 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer918000: + mapannounce "turbo_e_4","You have 5 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer919000: + mapannounce "turbo_e_4","You have 4 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer920000: + mapannounce "turbo_e_4","You have 3 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer921000: + mapannounce "turbo_e_4","You have 2 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer922000: + mapannounce "turbo_e_4","You have 1 second left.",bc_map,"0x33FF66"; + end; + +OnTimer923000: + mapannounce "turbo_e_4","Time's up!",bc_map,"0x33FF66"; + end; + +OnTimer925000: + mapannounce "turbo_e_4","The race is over.",bc_map,"0x33FF66"; + end; + +OnTimer927000: + mapannounce "turbo_e_4","[Everyone will be transported to a Waiting Room.]",bc_map,"0x33FF66"; + mapwarp "turbo_e_4","turbo_room",71,89; + // all NPC OFF + disablenpc "Broadcast#e4"; + donpcevent "Master#e4::OnDisable"; + donpcevent "Expert mode - 4 person::OnEnable"; + // start line NPC ON + enablenpc "No_Unfair_Start#e4-1"; + enablenpc "No_Unfair_Start#e4-2"; + // monster reset + donpcevent "snake#e4::Onreset"; + donpcevent "hunting#e4::Onreset"; + disablenpc "bing2#e4"; + // NPC + disablenpc "Winner Helper#TBT_e_4"; + enablenpc "cos_e_4_end"; + enablenpc "Notice_Maker1#TBT_e_4"; + enablenpc "Notice_Maker3#TBT_e_4"; + enablenpc "Notice_Maker4#TBT_e_4"; + enablenpc "Disposable_Switch#e4"; + disablenpc "Flasher_Exit_1#e4"; + disablenpc "Flasher_Exit_2#e4"; + end; +} + +turbo_e_4,62,379,0 script No_Unfair_Start#e4-1 -1,0,31,{ +OnTouch: + warp "turbo_e_4",59,364; + end; +} + +turbo_e_4,68,379,5 script No_Unfair_Start#e4-2 -1,5,31,{ +OnTouch: + warp "turbo_e_4",59,364; + end; +} + +// Turbo Track: Expert Mode - 4 Players (Log Race) +turbo_e_4,118,377,0 script trap_a#e_4-1::TurboLogRace_e_4 -1,44,1,{ +OnTouch: + set .@dropuser,rand(1,3); + if (.@dropuser == 1) + warp "turbo_e_4",72,372; + else if (.@dropuser == 2) + warp "turbo_e_4",72,365; + else + warp "turbo_e_4",72,357; + end; +} +turbo_e_4,77,375,0 duplicate(TurboLogRace_e_4) trap_a#e_4-2 -1,3,1 +turbo_e_4,82,375,0 duplicate(TurboLogRace_e_4) trap_a#e_4-3 -1,1,1 +turbo_e_4,82,372,0 duplicate(TurboLogRace_e_4) trap_a#e_4-4 -1,0,2 +turbo_e_4,83,372,0 duplicate(TurboLogRace_e_4) trap_a#e_4-5 -1,0,2 +turbo_e_4,97,374,0 duplicate(TurboLogRace_e_4) trap_a#e_4-6 -1,1,2 +turbo_e_4,98,374,0 duplicate(TurboLogRace_e_4) trap_a#e_4-7 -1,1,2 +turbo_e_4,122,372,0 duplicate(TurboLogRace_e_4) trap_a#e_4-8 -1,2,4 +turbo_e_4,125,374,0 duplicate(TurboLogRace_e_4) trap_a#e_4-9 -1,0,4 +turbo_e_4,132,374,0 duplicate(TurboLogRace_e_4) trap_a#e_4-10 -1,7,2 +turbo_e_4,156,374,0 duplicate(TurboLogRace_e_4) trap_a#e_4-11 -1,6,2 +turbo_e_4,163,375,0 duplicate(TurboLogRace_e_4) trap_a#e_4-12 -1,0,3 +turbo_e_4,164,377,0 duplicate(TurboLogRace_e_4) trap_a#e_4-13 -1,1,1 +// second line +turbo_e_4,76,369,0 duplicate(TurboLogRace_e_4) trap_b#e_4-1 -1,2,2 +turbo_e_4,79,369,0 duplicate(TurboLogRace_e_4) trap_b#e_4-2 -1,0,2 +turbo_e_4,77,366,0 duplicate(TurboLogRace_e_4) trap_b#e_4-3 -1,3,0 +turbo_e_4,85,366,0 duplicate(TurboLogRace_e_4) trap_b#e_4-4 -1,5,1 +turbo_e_4,87,363,0 duplicate(TurboLogRace_e_4) trap_b#e_4-5 -1,2,1 +turbo_e_4,88,368,0 duplicate(TurboLogRace_e_4) trap_b#e_4-6 -1,2,5 +turbo_e_4,92,370,0 duplicate(TurboLogRace_e_4) trap_b#e_4-7 -1,1,3 +turbo_e_4,98,368,0 duplicate(TurboLogRace_e_4) trap_b#e_4-8 -1,4,1 +turbo_e_4,109,371,0 duplicate(TurboLogRace_e_4) trap_b#e_4-9 -1,7,2 +turbo_e_4,110,368,0 duplicate(TurboLogRace_e_4) trap_b#e_4-10 -1,7,0 +turbo_e_4,113,366,0 duplicate(TurboLogRace_e_4) trap_b#e_4-11 -1,3,2 +turbo_e_4,117,368,0 duplicate(TurboLogRace_e_4) trap_b#e_4-12 -1,0,5 +turbo_e_4,123,364,0 duplicate(TurboLogRace_e_4) trap_b#e_4-13 -1,6,1 +turbo_e_4,136,368,0 duplicate(TurboLogRace_e_4) trap_b#e_4-14 -1,8,1 +turbo_e_4,136,366,0 duplicate(TurboLogRace_e_4) trap_b#e_4-15 -1,8,0 +turbo_e_4,144,370,0 duplicate(TurboLogRace_e_4) trap_b#e_4-16 -1,2,3 +turbo_e_4,147,370,0 duplicate(TurboLogRace_e_4) trap_b#e_4-17 -1,0,3 +turbo_e_4,155,369,0 duplicate(TurboLogRace_e_4) trap_b#e_4-18 -1,7,0 +turbo_e_4,155,368,0 duplicate(TurboLogRace_e_4) trap_b#e_4-19 -1,7,0 +turbo_e_4,151,367,0 duplicate(TurboLogRace_e_4) trap_b#e_4-20 -1,3,0 +turbo_e_4,153,366,0 duplicate(TurboLogRace_e_4) trap_b#e_4-21 -1,1,0 +turbo_e_4,155,367,0 duplicate(TurboLogRace_e_4) trap_b#e_4-22 -1,0,1 +//third line +turbo_e_4,78,362,0 duplicate(TurboLogRace_e_4) trap_c#e_4-1 -1,4,1 +turbo_e_4,78,359,0 duplicate(TurboLogRace_e_4) trap_c#e_4-2 -1,4,1 +turbo_e_4,83,362,0 duplicate(TurboLogRace_e_4) trap_c#e_4-3 -1,0,1 +turbo_e_4,88,359,0 duplicate(TurboLogRace_e_4) trap_c#e_4-4 -1,5,1 +turbo_e_4,89,357,0 duplicate(TurboLogRace_e_4) trap_c#e_4-5 -1,1,1 +turbo_e_4,92,390,0 duplicate(TurboLogRace_e_4) trap_c#e_4-6 -1,1,1 +turbo_e_4,92,357,0 duplicate(TurboLogRace_e_4) trap_c#e_4-7 -1,1,1 +turbo_e_4,98,364,0 duplicate(TurboLogRace_e_4) trap_c#e_4-8 -1,6,1 +turbo_e_4,98,362,0 duplicate(TurboLogRace_e_4) trap_c#e_4-9 -1,6,0 +turbo_e_4,106,364,0 duplicate(TurboLogRace_e_4) trap_c#e_4-10 -1,2,2 +turbo_e_4,107,360,0 duplicate(TurboLogRace_e_4) trap_c#e_4-11 -1,1,2 +turbo_e_4,109,360,0 duplicate(TurboLogRace_e_4) trap_c#e_4-12 -1,0,2 +turbo_e_4,112,361,0 duplicate(TurboLogRace_e_4) trap_c#e_4-13 -1,3,1 +turbo_e_4,116,359,0 duplicate(TurboLogRace_e_4) trap_c#e_4-14 -1,0,2 +turbo_e_4,117,359,0 duplicate(TurboLogRace_e_4) trap_c#e_4-15 -1,0,2 +turbo_e_4,116,356,0 duplicate(TurboLogRace_e_4) trap_c#e_4-16 -1,0,2 +turbo_e_4,117,356,0 duplicate(TurboLogRace_e_4) trap_c#e_4-17 -1,0,2 +turbo_e_4,129,360,0 duplicate(TurboLogRace_e_4) trap_c#e_4-18 -1,12,1 +turbo_e_4,129,358,0 duplicate(TurboLogRace_e_4) trap_c#e_4-19 -1,12,0 +turbo_e_4,132,357,0 duplicate(TurboLogRace_e_4) trap_c#e_4-20 -1,2,1 +turbo_e_4,137,357,0 duplicate(TurboLogRace_e_4) trap_c#e_4-21 -1,2,1 +turbo_e_4,147,363,0 duplicate(TurboLogRace_e_4) trap_c#e_4-22 -1,16,1 +turbo_e_4,149,365,0 duplicate(TurboLogRace_e_4) trap_c#e_4-23 -1,1,0 +turbo_e_4,158,362,0 duplicate(TurboLogRace_e_4) trap_c#e_4-24 -1,1,4 +turbo_e_4,154,360,0 duplicate(TurboLogRace_e_4) trap_c#e_4-25 -1,2,2 +turbo_e_4,161,360,0 duplicate(TurboLogRace_e_4) trap_c#e_4-26 -1,1,2 +turbo_e_4,161,365,0 duplicate(TurboLogRace_e_4) trap_c#e_4-27 -1,1,0 +turbo_e_4,160,366,0 duplicate(TurboLogRace_e_4) trap_c#e_4-28 -1 +//fourth line +turbo_e_4,79,353,0 duplicate(TurboLogRace_e_4) trap_d#e_4-1 -1,5,2 +turbo_e_4,85,354,0 duplicate(TurboLogRace_e_4) trap_d#e_4-2 -1,0,1 +turbo_e_4,99,353,0 duplicate(TurboLogRace_e_4) trap_d#e_4-3 -1,14,0 +turbo_e_4,99,352,0 duplicate(TurboLogRace_e_4) trap_d#e_4-4 -1,14,0 +turbo_e_4,99,356,0 duplicate(TurboLogRace_e_4) trap_d#e_4-5 -1,3,3 +turbo_e_4,103,356,0 duplicate(TurboLogRace_e_4) trap_d#e_4-6 -1,0,3 +turbo_e_4,108,354,0 duplicate(TurboLogRace_e_4) trap_d#e_4-7 -1,5,1 +turbo_e_4,112,356,0 duplicate(TurboLogRace_e_4) trap_d#e_4-8 -1,0,1 +turbo_e_4,113,356,0 duplicate(TurboLogRace_e_4) trap_d#e_4-9 -1,0,1 +turbo_e_4,123,353,0 duplicate(TurboLogRace_e_4) trap_d#e_4-10 -1,3,2 +turbo_e_4,127,353,0 duplicate(TurboLogRace_e_4) trap_d#e_4-11 -1,0,2 +turbo_e_4,145,352,0 duplicate(TurboLogRace_e_4) trap_d#e_4-12 -1,17,1 +turbo_e_4,152,354,0 duplicate(TurboLogRace_e_4) trap_d#e_4-13 -1,10,1 +turbo_e_4,145,357,0 duplicate(TurboLogRace_e_4) trap_d#e_4-14 -1,1,2 +turbo_e_4,148,357,0 duplicate(TurboLogRace_e_4) trap_d#e_4-15 -1,1,2 + +// Turbo Track: Expert Mode - 4 Players (Sand Hill) +turbo_e_4,322,354,0 script #TBT_trap_e4-::TurboSandHill_e4 -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_e_4,323,360,0 duplicate(TurboSandHill_e4) #TBT_trap_e4-2 -1,3,3 +turbo_e_4,324,365,0 duplicate(TurboSandHill_e4) #TBT_trap_e4-3 -1,1,1 +turbo_e_4,325,370,0 duplicate(TurboSandHill_e4) #TBT_trap_e4-4 -1,3,3 +turbo_e_4,325,375,0 duplicate(TurboSandHill_e4) #TBT_trap_e4-5 -1,1,1 +turbo_e_4,329,377,0 duplicate(TurboSandHill_e4) #TBT_trap_e4-6 -1,3,3 +turbo_e_4,338,372,0 duplicate(TurboSandHill_e4) #TBT_trap_e4-7 -1,3,3 +turbo_e_4,341,364,0 duplicate(TurboSandHill_e4) #TBT_trap_e4-8 -1,3,3 +turbo_e_4,325,359,0 duplicate(TurboSandHill_e4) #TBT_trap_e4-9 -1,2,2 +turbo_e_4,341,355,0 duplicate(TurboSandHill_e4) #TBT_trap_e4-10 -1,1,1 +turbo_e_4,350,355,0 duplicate(TurboSandHill_e4) #TBT_trap_e4-11 -1,3,3 +turbo_e_4,348,363,0 duplicate(TurboSandHill_e4) #TBT_trap_e4-12 -1,1,1 +turbo_e_4,347,370,0 duplicate(TurboSandHill_e4) #TBT_trap_e4-13 -1,2,2 +turbo_e_4,349,377,0 duplicate(TurboSandHill_e4) #TBT_trap_e4-14 -1,9,9 +turbo_e_4,362,372,0 duplicate(TurboSandHill_e4) #TBT_trap_e4-15 -1,3,3 +turbo_e_4,364,365,0 duplicate(TurboSandHill_e4) #TBT_trap_e4-16 -1,1,1 +turbo_e_4,363,357,0 duplicate(TurboSandHill_e4) #TBT_trap_e4-17 -1,3,3 +turbo_e_4,374,358,0 duplicate(TurboSandHill_e4) #TBT_trap_e4-18 -1,2,2 +turbo_e_4,371,367,0 duplicate(TurboSandHill_e4) #TBT_trap_e4-19 -1,3,3 +turbo_e_4,371,376,0 duplicate(TurboSandHill_e4) #TBT_trap_e4-20 -1,1,1 +turbo_e_4,379,375,0 duplicate(TurboSandHill_e4) #TBT_trap_e4-21 -1,3,3 +turbo_e_4,382,363,0 duplicate(TurboSandHill_e4) #TBT_trap_e4-22 -1,2,2 +turbo_e_4,381,354,0 duplicate(TurboSandHill_e4) #TBT_trap_e4-23 -1,1,1 +turbo_e_4,355,362,0 script #TBT_trap_e4-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[Kachua]"; + mes "Oh yes, they provide the best Storage! There's even enough"; + mes "room for my Diaaaamonds!"; + mes " "; + mes "[Chief Mahnsoo]"; + mes "I looove you Kafra!^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_e_4,13,266,0 script flasher#e_4-01#turbo::TurboWaterMaze_e_4 -1,0,2,{ +OnTouch: + sc_start SC_BLIND,60000,0; + end; +} +turbo_e_4,24,268,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-02 -1,1,0 +turbo_e_4,20,258,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-03 -1,1,0 +turbo_e_4,23,251,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-04 -1,0,1 +turbo_e_4,36,270,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-05 -1,1,0 +turbo_e_4,22,239,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-06 -1,1,0 +turbo_e_4,38,239,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-07 -1,0,1 +turbo_e_4,37,237,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-08 -1,1,0 +turbo_e_4,55,247,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-09 -1,0,1 +turbo_e_4,55,246,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-10 -1,1,0 +turbo_e_4,63,253,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-11 -1,0,1 +turbo_e_4,36,216,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-12 -1,1,0 +turbo_e_4,20,209,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-13 -1,1,0 +turbo_e_4,28,195,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-14 -1,1,0 +turbo_e_4,82,264,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-15 -1,1,0 +turbo_e_4,47,185,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-16 -1,0,1 +turbo_e_4,53,207,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-17 -1,1,0 +turbo_e_4,54,208,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-18 -1,0,1 +turbo_e_4,81,247,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-19 -1,0,1 +turbo_e_4,105,257,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-20 -1,0,1 +turbo_e_4,95,242,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-21 -1,0,1 +turbo_e_4,77,232,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-22 -1,2,0 +turbo_e_4,67,222,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-23 -1,2,0 +turbo_e_4,83,206,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-24 -1,0,1 +turbo_e_4,95,224,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-25 -1,0,1 +turbo_e_4,106,220,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-26 -1,2,0 +turbo_e_4,93,191,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-27 -1,1,0 +turbo_e_4,94,192,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-28a -1,0,1 +turbo_e_4,46,214,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-28b -1,0,1 +turbo_e_4,16,247,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-29 -1,1,0 +turbo_e_4,58,268,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-30 -1,1,1 +turbo_e_4,36,253,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-31 -1,1,0 +turbo_e_4,69,238,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-32 -1,1,1 +turbo_e_4,58,268,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-33 -1,1,1 +turbo_e_4,74,188,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-34 -1,2,0 +turbo_e_4,99,207,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-35 -1,1,1 +turbo_e_4,74,188,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-36 -1,2,0 +turbo_e_4,111,188,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-37a -1,1,0 +turbo_e_4,51,232,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-37b -1,1,1 +turbo_e_4,30,232,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-38 -1,1,1 +turbo_e_4,92,256,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-39 -1,1,1 +turbo_e_4,79,220,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-40 -1,1,1 +turbo_e_4,51,192,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-41 -1,1,1 +turbo_e_4,22,227,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-42 -1,1,1 +turbo_e_4,51,232,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-43 -1,1,1 +turbo_e_4,42,258,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-44 -1,1,0 +turbo_e_4,45,271,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-45 -1,2,1 +turbo_e_4,72,207,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-46 -1,1,1 +turbo_e_4,33,192,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-47 -1,0,1 +turbo_e_4,90,241,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-48a -1,1,0 +turbo_e_4,236,3,0 duplicate(TurboWaterMaze_e_4) flasher#e_4-48b -1,3,0 + +// Turbo Track: Expert Mode - 4 Players (Snake Dice course) +turbo_e_4,324,279,0 script snake01#e4 45,1,1,{ +OnTouch: + set .@turbo2,rand(1,7); + if (.@turbo2 > 0) && (.@turbo2 < 3) + warp "turbo_e_4",370,292; + else if (.@turbo2 > 2) && (.@turbo2 < 5) + warp "turbo_e_4",295,293; + else if (.@turbo2 > 4) && (.@turbo2 < 7) + warp "turbo_e_4",355,292; + else + warp "turbo_e_4",279,292; + end; +} + +turbo_e_4,332,279,0 script snake02#e4 45,1,1,{ +OnTouch: + set .@turbo2,rand(1,8); + if (.@turbo2 > 0) && (.@turbo2 < 3) + warp "turbo_e_4",287,256; + else if (.@turbo2 > 2) && (.@turbo2 < 5) + warp "turbo_e_4",303,256; + else if (.@turbo2 > 4) && (.@turbo2 < 7) + warp "turbo_e_4",347,256; + else + warp "turbo_e_4",363,256; + end; +} + +turbo_e_4,324,270,0 script snake03#e4 45,1,1,{ +OnTouch: + set .@turbo2,rand(1,8); + if (.@turbo2 > 0) && (.@turbo2 < 3) + warp "turbo_e_4",279,292; + else if (.@turbo2 > 2) && (.@turbo2 < 5) + warp "turbo_e_4",311,292; + else if (.@turbo2 > 4) && (.@turbo2 < 7) + warp "turbo_e_4",347,256; + else + warp "turbo_e_4",370,292; + end; +} + +turbo_e_4,332,270,0 script snake04#e4 45,1,1,{ +OnTouch: + set .@turbo2,rand(1,7); + if (.@turbo2 > 0) && (.@turbo2 < 3) + warp "turbo_e_4",363,256; + else if (.@turbo2 > 2) && (.@turbo2 < 5) + warp "turbo_e_4",295,293; + else if (.@turbo2 > 4) && (.@turbo2 < 7) + warp "turbo_e_4",355,292; + else + warp "turbo_e_4",287,256; + end; +} + +//monsters +turbo_e_4,389,288,0 script snake#e4 111,{ +Onreset: + killmonsterall "turbo_e_4"; + end; + +OnEnable: + monster "turbo_e_4",279,284,"Archer Skeleton",1420,1; + monster "turbo_e_4",279,268,"Archer Skeleton",1420,1; + monster "turbo_e_4",279,260,"Archer Skeleton",1420,1; + monster "turbo_e_4",287,288,"Archer Skeleton",1420,1; + monster "turbo_e_4",287,280,"Archer Skeleton",1420,1; + monster "turbo_e_4",287,264,"Archer Skeleton",1420,1; + monster "turbo_e_4",295,284,"Archer Skeleton",1420,1; + monster "turbo_e_4",295,268,"Archer Skeleton",1420,1; + monster "turbo_e_4",295,260,"Archer Skeleton",1420,1; + monster "turbo_e_4",303,288,"Archer Skeleton",1420,1; + monster "turbo_e_4",303,280,"Archer Skeleton",1420,1; + monster "turbo_e_4",303,264,"Archer Skeleton",1420,1; + monster "turbo_e_4",311,284,"Archer Skeleton",1420,1; + monster "turbo_e_4",311,268,"Archer Skeleton",1420,1; + monster "turbo_e_4",311,260,"Archer Skeleton",1420,1; + monster "turbo_e_4",347,288,"Archer Skeleton",1420,1; + monster "turbo_e_4",347,280,"Archer Skeleton",1420,1; + monster "turbo_e_4",347,264,"Archer Skeleton",1420,1; + monster "turbo_e_4",355,284,"Archer Skeleton",1420,1; + monster "turbo_e_4",355,268,"Archer Skeleton",1420,1; + monster "turbo_e_4",355,260,"Archer Skeleton",1420,1; + monster "turbo_e_4",363,288,"Archer Skeleton",1420,1; + monster "turbo_e_4",363,280,"Archer Skeleton",1420,1; + monster "turbo_e_4",363,264,"Archer Skeleton",1420,1; + monster "turbo_e_4",371,284,"Archer Skeleton",1420,1; + monster "turbo_e_4",371,268,"Archer Skeleton",1420,1; + monster "turbo_e_4",371,260,"Archer Skeleton",1420,1; + monster "turbo_e_4",379,288,"Archer Skeleton",1420,1; + monster "turbo_e_4",379,280,"Archer Skeleton",1420,1; + monster "turbo_e_4",379,264,"Archer Skeleton",1420,1; + end; +} + +// �����ڽ� +turbo_e_4,90,46,0 script hunting#e4 111,{ +Onreset: + killmonsterall "turbo_e_4"; + end; + +OnEnable: + monster "turbo_e_4",47,87,"Munak",1610,1; + monster "turbo_e_4",47,87,"Bongun",1611,1; + monster "turbo_e_4",47,87,"Munak",1610,1; + monster "turbo_e_4",24,74,"Munak",1610,1; + monster "turbo_e_4",24,74,"Bongun",1611,1; + monster "turbo_e_4",24,74,"Munak",1610,1; + monster "turbo_e_4",67,42,"Munak",1610,1; + monster "turbo_e_4",67,42,"Bongun",1611,1; + monster "turbo_e_4",67,42,"Munak",1610,1; + monster "turbo_e_4",60,70,"Munak",1610,1; + monster "turbo_e_4",60,70,"Bongun",1611,1; + monster "turbo_e_4",60,70,"Munak",1610,1; + monster "turbo_e_4",32,51,"Munak",1610,1; + monster "turbo_e_4",32,51,"Bongun",1611,1; + monster "turbo_e_4",32,51,"Munak",1610,1; + monster "turbo_e_4",30,25,"Munak",1610,1; + monster "turbo_e_4",30,25,"Bongun",1611,1; + monster "turbo_e_4",30,25,"Munak",1610,1; + monster "turbo_e_4",68,56,"Yao Jun",1612,1; + monster "turbo_e_4",26,46,"Yao Jun",1612,1; + monster "turbo_e_4",62,20,"Munak",1610,1; + monster "turbo_e_4",62,20,"Bongun",1611,1; + monster "turbo_e_4",62,20,"Munak",1610,1; + monster "turbo_e_4",216,378,"Munak",1610,1; + monster "turbo_e_4",218,360,"Munak",1610,1; + monster "turbo_e_4",223,361,"Munak",1610,1; + monster "turbo_e_4",243,342,"Munak",1610,1; + monster "turbo_e_4",247,364,"Munak",1610,1; + end; +} + + +// Turbo Track: Expert Mode - 4 Players (Course-clear broadcasters, and exits?) +turbo_e_4,168,363,0 script cos_e_4_1 45,1,1,{ +OnTouch: + mapannounce "turbo_e_4","" + strcharinfo(0) +" has just passed the Log Bridge course!",bc_map,"0x70DBDB"; + set .@move1,rand(1,3); + if (.@move1 == 1) + warp "turbo_e_4",210,369; + else if (.@move1 == 2) + warp "turbo_e_4",210,361; + else + warp "turbo_e_4",210,354; + end; +} + +turbo_e_4,258,364,0 script cos_e_4_2 45,1,1,{ +OnTouch: + mapannounce "turbo_e_4","" + strcharinfo(0) +" has just passed the Cube Hills course!",bc_map,"0x70DBDB"; + warp "turbo_e_4",316,365; + end; +} + +turbo_e_4,316,365,0 script Disposable_Switch#e4 -1,1,1,{ +OnTouch: + if (rand(1,2) == 1) + enablenpc "Flasher_Exit_1#e4"; + else + enablenpc "Flasher_Exit_2#e4"; + disablenpc "Disposable_Switch#e4"; + end; +} + +turbo_e_4,385,365,0 script cos_e_4_3 45,1,1,{ +OnTouch: + set .@to_miro,rand(1,4); + mapannounce "turbo_e_4","" + strcharinfo(0) +" has just passed the Cursed Desert!",bc_map,"0x70DBDB"; + if (.@to_miro == 1) + warp "turbo_e_4",46,254; + else if (.@to_miro == 2) + warp "turbo_e_4",76,227; + else if (.@to_miro == 3) + warp "turbo_e_4",42,197; + else + warp "turbo_e_4",86,220; + end; +} + +turbo_e_4,11,266,0 script Flasher_Exit_1#e4 45,1,1,{ +OnInit: + disablenpc "Flasher_Exit_1#e4"; + end; + +OnTouch: + mapannounce "turbo_e_4","" + strcharinfo(0) +" has just passed the Flasher Maze!",bc_map,"0x70DBDB"; + warp "turbo_e_4",185,227; + end; +} + +turbo_e_4,114,190,0 script Flasher_Exit_2#e4 45,1,1,{ +OnInit: + disablenpc "Flasher_Exit_2#e4"; + end; + +OnTouch: + mapannounce "turbo_e_4","" + strcharinfo(0) +" has just passed the Flasher Maze!",bc_map,"0x70DBDB"; + warp "turbo_e_4",185,227; + end; +} + +turbo_e_4,250,200,0 script cos_e_4_5 45,1,1,{ +OnTouch: + mapannounce "turbo_e_4","" + strcharinfo(0) +" has just passed the Single Snail course!",bc_map,"0x70DBDB"; + warp "turbo_e_4",268,275; + end; +} + +turbo_e_4,389,275,0 script cos_e_4_6 45,1,1,{ +OnTouch: + mapannounce "turbo_e_4","" + strcharinfo(0) +" has just passed the Snake Dice course!",bc_map,"0x70DBDB"; + warp "turbo_e_4",5,91; + end; +} + +turbo_e_4,93,19,0 script cos_e_4_7 45,1,1,{ +OnTouch: + mapannounce "turbo_e_4","" + strcharinfo(0) +" has just passed the Small Cave course! Hurry, you're almost at the finish!",bc_map,"0x70DBDB"; + set .@move1,rand(1,3); + if (.@move1 == 1) + warp "turbo_e_4",307,52; + else if (.@move1 == 2) + warp "turbo_e_4",307,46; + else + warp "turbo_e_4",307,40; + end; +} + +turbo_e_4,371,47,0 script cos_e_4_end 45,1,1,{ +OnInit: + enablenpc "cos_e_4_end"; + end; + +OnTouch: + mapannounce "turbo_e_4","" + strcharinfo(0) +" has just arrived at the Finish Line! Congratulations!",bc_map,"0xFFFF00"; + set $ttnames$[4],strcharinfo(0); + donpcevent "TBT_Guide#Broadcast::Onwin_e4"; + warp "turbo_e_4",384,161; + donpcevent "Winner Helper#TBT_e_4::OnEnable"; + donpcevent "Master#e4::OnDisable"; + disablenpc "Broadcast#e4"; + disablenpc "cos_e_4_end"; + end; +} + +turbo_e_4,384,167,1 script Winner Helper#TBT_e_4 47,{ +//---reward points & record player name + if (tt_rank < 29999) { + mes "[Guide]"; + mes "Congratulations!"; + if (tt_point < 28961) { + mes "As the winner, your reward"; + mes "is 40 Turbo Track Points~"; + set tt_point,tt_point+40; + set my_point,tt_point; + mes "You now have a total of"; + mes "" + tt_point + " Turbo Track points,"; + mes "" + strcharinfo(0) +"."; + } + 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) +"..."; + } + set tt_rank,tt_rank+1; + next; + if (tt_rank > $ttranks[1]) { + setarray $ttranks[0],$ttranks[0],tt_rank,$ttranks[1],$ttranks[2],$ttranks[3],$ttranks[4]; + setarray $ttnames$[9],strcharinfo(0); + mes "[Guide]"; + mes "Congratulations!"; + mes "You are ranked as"; + mes "the top player for"; + mes "winning the most games!"; + donpcevent "TBT_Guide#Broadcast::Onnew_top1"; + if (tt_rank == 29999) { + if ($ttnames$[7] == "Breezy Havana") { + set $ttnames$[7],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + else if ($ttnames$[8] == "RS125") { + set $ttnames$[8],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce " " + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + } + } + else if (tt_rank > $ttranks[2]) { + setarray $ttranks[0],$ttranks[0],$ttranks[1],tt_rank,$ttranks[3],$ttranks[4],$ttranks[5]; + setarray $ttnames$[10],strcharinfo(0); + mes "[Guide]"; + mes "Congratulations!"; + mes "You've ranked Second"; + mes "among the Top Five Players"; + mes "who've won the most games!"; + donpcevent "TBT_Guide#Broadcast::Onnew_top2"; + if (tt_rank == 29999) { + if ($ttnames$[7] == "Breezy Havana") { + set $ttnames$[7],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + else if ($ttnames$[8] == "RS125") { + set $ttnames$[8],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + } + } + else if (tt_rank > $ttranks[3]) { + setarray $ttranks[0],$ttranks[0],$ttranks[1],$ttranks[2],tt_rank,$ttranks[4],$ttranks[5]; + setarray $ttnames$[11],strcharinfo(0); + mes "[Guide]"; + mes "Congratulations!"; + mes "You've ranked Third"; + mes "among the Top Five Players"; + mes "who've won the most games!"; + donpcevent "TBT_Guide#Broadcast::Onnew_top3"; + if (tt_rank == 29999) { + if ($ttnames$[7] == "Breezy Havana") { + set $ttnames$[7],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + else if ($ttnames$[8] == "RS125") { + set $ttnames$[8],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + } + } + else if (tt_rank > $ttranks[4]) { + setarray $ttranks[0],$ttranks[0],$ttranks[1],$ttranks[2],$ttranks[3],tt_rank,$ttranks[5]; + setarray $ttnames$[12],strcharinfo(0); + mes "[Guide]"; + mes "Congratulations!"; + mes "You've ranked Fourth"; + mes "among the Top Five Players"; + mes "who've won the most games!"; + donpcevent "TBT_Guide#Broadcast::Onnew_top4"; + if (tt_rank == 29999) { + if ($ttnames$[7] == "Breezy Havana") { + set $ttnames$[7],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + else if ($ttnames$[8] == "RS125") { + set $ttnames$[8],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + } + } + else if (tt_rank > $ttranks[5]) { + setarray $ttranks[0],$ttranks[0],$ttranks[1],$ttranks[2],$ttranks[3],$ttranks[4],tt_rank; + setarray $ttnames$[13],strcharinfo(0); + mes "[Guide]"; + mes "Congratulations!"; + mes "You've ranked Fifth"; + mes "among the Top Five Players"; + mes "who've won the most games!"; + donpcevent "TBT_Guide#Broadcast::Onnew_top5"; + if (tt_rank == 29999) { + if ($ttnames$[7] == "Breezy Havana") { + set $ttnames$[7],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + else if ($ttnames$[8] == "RS125") { + set $ttnames$[8],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + } + } + else { + mes "[Guide]"; + mes "If you can win more games"; + mes "than everybody else, your"; + mes "name will be registered in"; + mes "our Top Five Player Ranking."; + next; + mes "[Guide]"; + mes "What do you"; + mes "think, " + strcharinfo(0) +"?"; + mes "Glory can be yours if"; + mes "you can achieve victory!"; + } + next; + mes "[Guide]"; + mes "Thank you for"; + mes "participating in"; + mes "the Turbo Track."; + mes "You will be transported"; + mes "to a Waiting Room shortly."; + close2; + warp "turbo_room",72,89; + end; + } + else { + if ($ttnames$[7] == strcharinfo(0)) { + mes "[Guide]"; + mes "Oh wow!"; + mes "You're a member"; + mes "in our Hall of Honor,"; + mes "aren't you? This is great!"; + mes "I'm talking to a living legend!"; + next; + mes "[Guide]"; + mes "Right, your reward..."; + if (tt_point < 28961) { + 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 "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 "Oh, and thanks for"; + mes "participating in the"; + mes "Turbo Track! You'll be sent"; + mes "to the Waiting Room soon~"; + close2; + warp "turbo_room",72,89; + end; + } + else if ($ttnames$[8] == strcharinfo(0)) { + mes "[Guide]"; + mes "Hey, aren't you"; + mes "in our Hall of Honor?"; + mes "I've been watching your"; + mes "races... You're pretty quick"; + mes "on your feet, hotshot~"; + next; + mes "[Guide]"; + mes "Right, your reward..."; + if (tt_point < 28961) { + 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 "Unfortunately, I can't give"; + mes "you any Turbo Track Points"; + mes "since you would exceed the"; + mes "maximum limit. Sorry..."; + } + next; + mes "[Guide]"; + mes "Oh, and thanks for"; + mes "participating in the"; + mes "Turbo Track! You'll be sent"; + mes "to the Waiting Room soon~"; + close2; + warp "turbo_room",72,89; + end; + } + else { + mes "[Guide]"; + mes "Awwww~"; + mes "You were almost able"; + mes "to join our Hall of Honor...!"; + mes "But don't let that get you"; + mes "down. Maybe next time!"; + next; + mes "[Guide]"; + mes "Right, your reward..."; + mes "40 Turbo Track Points!"; + if (tt_point < 28961) { + set tt_point,tt_point+40; + 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..."; + } + next; + mes "[Guide]"; + mes "Thank you for"; + mes "participating in"; + mes "the Turbo Track."; + mes "You will be transported"; + mes "to a Waiting Room shortly."; + close2; + warp "turbo_room",72,89; + end; + } + } + +OnInit: + disablenpc "Winner Helper#TBT_e_4"; + end; + +OnEnable: + enablenpc "Winner Helper#TBT_e_4"; + initnpctimer; + end; + +OnTimer4000: + mapannounce "turbo_e_4","This is the ending broadcast for Turbo Track Expert Mode - 4 person.",bc_map,"0x33FF66"; + end; + +OnTimer8000: + mapannounce "turbo_e_4","For smooth game play, the game will end in approximately 1 minute.",bc_map,"0x33FF66"; + end; + +OnTimer12000: + mapannounce "turbo_e_4","At that time, a Warp portal will open.",bc_map,"0x33FF66"; + end; + +OnTimer16000: + mapannounce "turbo_e_4","Players in the arena must be ready to leave through the Warp Portal.",bc_map,"0x33FF66"; + end; + +OnTimer20000: + mapannounce "turbo_e_4","In the meantime, winners must proceed to receive their rewards as soon as possible.",bc_map,"0x33FF66"; + end; + +OnTimer24000: + mapannounce "turbo_e_4","Thank you for visiting Al De Baran Turbo Track.",bc_map,"0x33FF66"; + end; + +OnTimer28000: + mapannounce "turbo_e_4","Al De Baran Turbo Track is brought to you by...",bc_map,"0x33FF66"; + end; + +OnTimer32000: + mapannounce "turbo_e_4","[Al De Baran Kafra Corporation Headquarters]",bc_map,"0x33FF66"; + end; + +OnTimer36000: + mapannounce "turbo_e_4","[Al De Baran Guild Castle Management Luina]",bc_map,"0x33FF66"; + end; + +OnTimer40000: + mapannounce "turbo_e_4","[Blacksmith Union]",bc_map,"0x33FF66"; + end; + +OnTimer44000: + mapannounce "turbo_e_4","And [Comodo Casino].",bc_map,"0x33FF66"; + end; + +OnTimer48000: + mapannounce "turbo_e_4","Once again, we'd like to thank our sponsors.",bc_map,"0x33FF66"; + end; + +OnTimer52000: + mapannounce "turbo_e_4","Have a good day.",bc_map,"0x33FF66"; + end; + +//--- warp all players to turbo room +OnTimer58000: + mapwarp "turbo_e_4","turbo_room",72,89; + end; + +//----end game, reset all +OnTimer60000: + enablenpc "Notice_Maker1#TBT_e_4"; + enablenpc "Notice_Maker3#TBT_e_4"; + enablenpc "Notice_Maker4#TBT_e_4"; + enablenpc "Disposable_Switch#e4"; + disablenpc "Flasher_Exit_1#e4"; + disablenpc "Flasher_Exit_2#e4"; + enablenpc "No_Unfair_Start#e4-1"; + enablenpc "No_Unfair_Start#e4-2"; + donpcevent "snake#e4::Onreset"; + donpcevent "hunting#e4::Onreset"; + donpcevent "Expert mode - 4 person::OnEnable"; + disablenpc "bing2#e4"; + enablenpc "cos_e_4_end"; + stopnpctimer; + end; +} + +turbo_e_4,11,91,0 script Notice_Maker1#TBT_e_4 -1,3,3,{ +OnInit: + enablenpc "Notice_Maker1#TBT_e_4"; + end; + +OnTouch: + mapannounce "turbo_e_4","" + strcharinfo(0) +" is now entering the Small Cave! " + strcharinfo(0) +" is now in the lead!",bc_map,"0xFFFF00"; + donpcevent "TBT_Guide#Broadcast::Onend_e4"; + disablenpc "Notice_Maker1#TBT_e_4"; + end; +} + +turbo_e_4,234,223,0 script Notice_Maker3#TBT_e_4 -1,2,2,{ +OnInit: + enablenpc "Notice_Maker3#TBT_e_4"; + end; + +OnTouch: + mapannounce "turbo_e_4","" + strcharinfo(0) +" is now entering the Single Snail! " + strcharinfo(0) +" is now in the lead!",bc_map,"0xFFFF00"; + disablenpc "Notice_Maker3#TBT_e_4"; + end; +} + +turbo_e_4,226,15,0 script Notice_Maker4#TBT_e_4 -1,1,1,{ +OnInit: + enablenpc "Notice_Maker4#TBT_e_4"; + end; + +OnTouch: + mapannounce "turbo_e_4","" + strcharinfo(0) +" is currently in First Place!",bc_map,"0xFFFF00"; + disablenpc "Notice_Maker4#TBT_e_4"; + end; +} + +turbo_e_4,227,379,0 script Warp#e_4_1::Warp_e_4 -1,1,1,{ +OnTouch: + set .@warprand,rand(1,20); + if (.@warprand == 1) + warp "turbo_e_4",216,378; + else if (.@warprand == 2) + warp "turbo_e_4",218,360; + else if (.@warprand == 4) + warp "turbo_e_4",223,361; + else if (.@warprand == 5) + warp "turbo_e_4",243,342; + else if (.@warprand == 6) + warp "turbo_e_4",247,364; + end; +} +turbo_e_4,237,380,0 duplicate(Warp_e_4) Warp#e_4_2 -1,1,1,{ +turbo_e_4,227,367,0 duplicate(Warp_e_4) Warp#e_4_3 -1,1,1,{ +turbo_e_4,231,360,0 duplicate(Warp_e_4) Warp#e_4_4 -1,1,1,{ +turbo_e_4,225,349,0 duplicate(Warp_e_4) Warp#e_4_5 -1,1,1,{ +turbo_e_4,249,352,0 duplicate(Warp_e_4) Warp#e_4_6 -1,1,1,{ +turbo_e_4,253,364,0 duplicate(Warp_e_4) Warp#e_4_7 -1,2,2,{ + +turbo_e_4,307,55,0 script trap_e4#F1::TurboTrap_e4 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_e_4,307,51,0 duplicate(TurboTrap_e4) trap_e4#F2 139,1,1 +turbo_e_4,307,47,0 duplicate(TurboTrap_e4) trap_e4#F3 139,1,1 +turbo_e_4,307,43,0 duplicate(TurboTrap_e4) trap_e4#F4 139,1,1 +turbo_e_4,307,39,0 duplicate(TurboTrap_e4) trap_e4#F5 139,1,1 +turbo_e_4,307,39,0 duplicate(TurboTrap_e4) trap_e4#F96 139,1,1 +turbo_e_4,312,56,0 duplicate(TurboTrap_e4) trap_e4#F6 139,1,1 +turbo_e_4,312,52,0 duplicate(TurboTrap_e4) trap_e4#F7 139,1,1 +turbo_e_4,312,48,0 duplicate(TurboTrap_e4) trap_e4#F8 139,1,1 +turbo_e_4,312,44,0 duplicate(TurboTrap_e4) trap_e4#F9 139,1,1 +turbo_e_4,312,40,0 duplicate(TurboTrap_e4) trap_e4#F10 139,1,1 +turbo_e_4,312,36,0 duplicate(TurboTrap_e4) trap_e4#F11 139,1,1 +turbo_e_4,316,55,0 duplicate(TurboTrap_e4) trap_e4#F12 139,1,1 +turbo_e_4,316,51,0 duplicate(TurboTrap_e4) trap_e4#F13 139,1,1 +turbo_e_4,316,47,0 duplicate(TurboTrap_e4) trap_e4#F14 139,1,1 +turbo_e_4,316,43,0 duplicate(TurboTrap_e4) trap_e4#F15 139,1,1 +turbo_e_4,316,39,0 duplicate(TurboTrap_e4) trap_e4#F16 139,1,1 +turbo_e_4,316,36,0 duplicate(TurboTrap_e4) trap_e4#F17 139,1,1 +turbo_e_4,320,56,0 duplicate(TurboTrap_e4) trap_e4#F18 139,1,1 +turbo_e_4,320,52,0 duplicate(TurboTrap_e4) trap_e4#F19 139,1,1 +turbo_e_4,320,48,0 duplicate(TurboTrap_e4) trap_e4#F20 139,1,1 +turbo_e_4,320,44,0 duplicate(TurboTrap_e4) trap_e4#F21 139,1,1 +turbo_e_4,320,40,0 duplicate(TurboTrap_e4) trap_e4#F22 139,1,1 +turbo_e_4,320,36,0 duplicate(TurboTrap_e4) trap_e4#F23 139,1,1 +turbo_e_4,324,55,0 duplicate(TurboTrap_e4) trap_e4#F24 139,1,1 +turbo_e_4,324,51,0 duplicate(TurboTrap_e4) trap_e4#F25 139,1,1 +turbo_e_4,324,47,0 duplicate(TurboTrap_e4) trap_e4#F26 139,1,1 +turbo_e_4,324,43,0 duplicate(TurboTrap_e4) trap_e4#F27 139,1,1 +turbo_e_4,324,39,0 duplicate(TurboTrap_e4) trap_e4#F28 139,1,1 +turbo_e_4,324,36,0 duplicate(TurboTrap_e4) trap_e4#F29 139,1,1 +turbo_e_4,328,56,0 duplicate(TurboTrap_e4) trap_e4#F30 139,1,1 +turbo_e_4,328,52,0 duplicate(TurboTrap_e4) trap_e4#F31 139,1,1 +turbo_e_4,328,48,0 duplicate(TurboTrap_e4) trap_e4#F32 139,1,1 +turbo_e_4,328,44,0 duplicate(TurboTrap_e4) trap_e4#F33 139,1,1 +turbo_e_4,328,40,0 duplicate(TurboTrap_e4) trap_e4#F34 139,1,1 +turbo_e_4,328,36,0 duplicate(TurboTrap_e4) trap_e4#F35 139,1,1 +turbo_e_4,332,55,0 duplicate(TurboTrap_e4) trap_e4#F36 139,1,1 +turbo_e_4,332,51,0 duplicate(TurboTrap_e4) trap_e4#F37 139,1,1 +turbo_e_4,332,47,0 duplicate(TurboTrap_e4) trap_e4#F38 139,1,1 +turbo_e_4,332,43,0 duplicate(TurboTrap_e4) trap_e4#F39 139,1,1 +turbo_e_4,332,39,0 duplicate(TurboTrap_e4) trap_e4#F40 139,1,1 +turbo_e_4,332,36,0 duplicate(TurboTrap_e4) trap_e4#F41 139,1,1 + +turbo_e_4,336,56,0 script trap_e4#F42::TurboTrap_e4_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_e_4,336,52,0 duplicate(TurboTrap_e4_2) trap_e4#F43 139,1,1 +turbo_e_4,336,48,0 duplicate(TurboTrap_e4_2) trap_e4#F44 139,1,1 +turbo_e_4,336,44,0 duplicate(TurboTrap_e4_2) trap_e4#F45 139,1,1 +turbo_e_4,336,50,0 duplicate(TurboTrap_e4_2) trap_e4#F46 139,1,1 +turbo_e_4,336,36,0 duplicate(TurboTrap_e4_2) trap_e4#F47 139,1,1 +turbo_e_4,340,55,0 duplicate(TurboTrap_e4_2) trap_e4#F48 139,1,1 + +turbo_e_4,340,51,0 duplicate(TurboTrap_e4) trap_e4#F49 139,1,1 +turbo_e_4,340,47,0 duplicate(TurboTrap_e4) trap_e4#F50 139,1,1 +turbo_e_4,340,43,0 duplicate(TurboTrap_e4) trap_e4#F51 139,1,1 +turbo_e_4,340,39,0 duplicate(TurboTrap_e4) trap_e4#F52 139,1,1 +turbo_e_4,340,36,0 duplicate(TurboTrap_e4) trap_e4#F53 139,1,1 +turbo_e_4,344,56,0 duplicate(TurboTrap_e4) trap_e4#F54 139,1,1 +turbo_e_4,344,52,0 duplicate(TurboTrap_e4) trap_e4#F55 139,1,1 +turbo_e_4,344,48,0 duplicate(TurboTrap_e4) trap_e4#F56 139,1,1 +turbo_e_4,344,44,0 duplicate(TurboTrap_e4) trap_e4#F57 139,1,1 +turbo_e_4,344,40,0 duplicate(TurboTrap_e4) trap_e4#F58 139,1,1 +turbo_e_4,344,36,0 duplicate(TurboTrap_e4) trap_e4#F59 139,1,1 +turbo_e_4,348,55,0 duplicate(TurboTrap_e4) trap_e4#F60 139,1,1 +turbo_e_4,348,51,0 duplicate(TurboTrap_e4) trap_e4#F61 139,1,1 +turbo_e_4,348,47,0 duplicate(TurboTrap_e4) trap_e4#F62 139,1,1 +turbo_e_4,348,43,0 duplicate(TurboTrap_e4) trap_e4#F63 139,1,1 +turbo_e_4,348,39,0 duplicate(TurboTrap_e4) trap_e4#F64 139,1,1 +turbo_e_4,348,36,0 duplicate(TurboTrap_e4) trap_e4#F65 139,1,1 +turbo_e_4,352,56,0 duplicate(TurboTrap_e4) trap_e4#F66 139,1,1 +turbo_e_4,352,52,0 duplicate(TurboTrap_e4) trap_e4#F67 139,1,1 +turbo_e_4,352,48,0 duplicate(TurboTrap_e4) trap_e4#F68 139,1,1 +turbo_e_4,352,44,0 duplicate(TurboTrap_e4) trap_e4#F69 139,1,1 +turbo_e_4,352,40,0 duplicate(TurboTrap_e4) trap_e4#F70 139,1,1 +turbo_e_4,352,36,0 duplicate(TurboTrap_e4) trap_e4#F71 139,1,1 +turbo_e_4,356,55,0 duplicate(TurboTrap_e4) trap_e4#F72 139,1,1 +turbo_e_4,356,51,0 duplicate(TurboTrap_e4) trap_e4#F73 139,1,1 +turbo_e_4,356,47,0 duplicate(TurboTrap_e4) trap_e4#F74 139,1,1 +turbo_e_4,356,43,0 duplicate(TurboTrap_e4) trap_e4#F75 139,1,1 +turbo_e_4,356,39,0 duplicate(TurboTrap_e4) trap_e4#F76 139,1,1 +turbo_e_4,356,36,0 duplicate(TurboTrap_e4) trap_e4#F77 139,1,1 +turbo_e_4,360,56,0 duplicate(TurboTrap_e4) trap_e4#F78 139,1,1 +turbo_e_4,360,52,0 duplicate(TurboTrap_e4) trap_e4#F79 139,1,1 +turbo_e_4,360,48,0 duplicate(TurboTrap_e4) trap_e4#F80 139,1,1 +turbo_e_4,360,44,0 duplicate(TurboTrap_e4) trap_e4#F81 139,1,1 +turbo_e_4,360,40,0 duplicate(TurboTrap_e4) trap_e4#F82 139,1,1 +turbo_e_4,360,36,0 duplicate(TurboTrap_e4) trap_e4#F83 139,1,1 +turbo_e_4,364,55,0 duplicate(TurboTrap_e4) trap_e4#F84 139,1,1 +turbo_e_4,364,51,0 duplicate(TurboTrap_e4) trap_e4#F85 139,1,1 +turbo_e_4,364,47,0 duplicate(TurboTrap_e4) trap_e4#F86 139,1,1 +turbo_e_4,364,43,0 duplicate(TurboTrap_e4) trap_e4#F87 139,1,1 +turbo_e_4,364,39,0 duplicate(TurboTrap_e4) trap_e4#F88 139,1,1 +turbo_e_4,364,36,0 duplicate(TurboTrap_e4) trap_e4#F89 139,1,1 +turbo_e_4,368,56,0 duplicate(TurboTrap_e4) trap_e4#F90 139,1,1 +turbo_e_4,368,52,0 duplicate(TurboTrap_e4) trap_e4#F91 139,1,1 +turbo_e_4,368,48,0 duplicate(TurboTrap_e4) trap_e4#F92 139,1,1 +turbo_e_4,368,44,0 duplicate(TurboTrap_e4) trap_e4#F93 139,1,1 +turbo_e_4,368,40,0 duplicate(TurboTrap_e4) trap_e4#F94 139,1,1 +turbo_e_4,368,36,0 duplicate(TurboTrap_e4) trap_e4#F95 139,1,1 + +turbo_e_4,217,214,0 script bing#e4 45,3,3,{ +OnTouch: + set .@bing1,rand(1,10); + if (.@bing1 > 0 && .@bing1 < 4) + warp "turbo_e_4",217,232; + else if (.@bing1 == 6) + warp "turbo_e_4",233,207; + else if (.@bing1 == 7) + warp "turbo_e_4",208,219; + else if (.@bing1 == 8) + warp "turbo_e_4",219,202; + else if (.@bing1 == 9) + warp "turbo_e_4",218,228; + disablenpc "bing#e4"; + enablenpc "bing2#e4"; + end; +} + +turbo_e_4,217,214,0 script bing2#e4 45,3,3,{ +OnInit: + disablenpc "bing2#e4"; + end; + +OnTouch: + set .@bing1,rand(1,10); + if (.@bing1 == 1) + warp "turbo_e_4",217,232; + else if (.@bing1 == 2) + warp "turbo_e_4",233,207; + else if (.@bing1 == 3) + warp "turbo_e_4",208,219; + else if (.@bing1 == 4) + warp "turbo_e_4",219,202; + else if (.@bing1 == 5) + warp "turbo_e_4",218,228; + else if (.@bing1 == 6) + warp "turbo_e_4",220,195; + end; +} diff --git a/npc/re/other/turbotrack/Expert_8.txt b/npc/re/other/turbotrack/Expert_8.txt new file mode 100644 index 000000000..1dcb2cc23 --- /dev/null +++ b/npc/re/other/turbotrack/Expert_8.txt @@ -0,0 +1,1409 @@ +//===== rAthena Script ======================================= +//= Turbo Track - Expert - 8 Person +//===== By: ================================================== +//= L0ne_W0lf +//===== Current Version: ===================================== +//= 1.5 +//===== Compatible With: ===================================== +//= rAthena SVN +//===== Description: ========================================= +//= Turbo Track Course: Expert (PVP) - 8 Person +//===== Additional Comments: ================================= +//= 1.0 Translated from the Official. [L0ne_W0lf] +//= 1.1 Fixed small official bug. [L0ne_W0lf] +//= 1.2 Fixed a little mistake [akrus] +//= 1.3 Corrected issue with top record setting. [L0ne_W0lf] +//= 1.4 Updated 'waitingroom' to support required zeny/lvl. [Kisuka] +//= 1.5 Fixed variable typo [Elias] +//============================================================ + +turbo_room,117,135,3 script Expert mode - 8 person 124,{ + end; + +OnInit: + waitingroom "Expert mode - 8 person",60,"Expert mode - 8 person::OnStartArena",8,1000,10,99; + enablewaitingroomevent "Expert mode - 8 person"; + end; + +OnEnable: + enablenpc "Expert mode - 8 person"; + enablewaitingroomevent "Expert mode - 8 person"; + end; + +OnStartArena: + warpwaitingpc "turbo_e_8",298,161; + donpcevent "Broadcast#e8::OnEnable"; + disablewaitingroomevent "Expert mode - 8 person"; + end; +} + +turbo_e_8,298,167,3 script Helper#e8_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_e_8,298,167,0 script Point Give-Away Guy#e8 -1,15,15,{ +OnInit: + disablenpc "Point Give-Away Guy#e8"; + end; + +OnTouch: + if (tt_point < 28999) { + set tt_point,tt_point+2; + warp "turbo_e_8",59,364; + } + else + warp "turbo_e_8",59,364; + end; +} + +turbo_e_8,167,3,0 script Broadcast#e8 -1,{ +OnInit: + disablenpc "Broadcast#e8"; + end; + +OnEnable: + enablenpc "Broadcast#e8"; + initnpctimer; + end; + +OnTimer2000: + mapannounce "turbo_e_8","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_e_8","You will have 30 seconds before you are transported to the Starting Line.",bc_map,"0x33FF66"; + end; + +OnTimer10000: + mapannounce "turbo_e_8","Please make sure that you have suitable equipment and items with you.",bc_map,"0x33FF66"; + end; + +OnTimer15000: + mapannounce "turbo_e_8","The 30 second countdown will begin shortly.",bc_map,"0x33FF66"; + end; + +OnTimer17000: + mapannounce "turbo_e_8","30 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer27000: + mapannounce "turbo_e_8","20 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer37000: + mapannounce "turbo_e_8","10 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer42000: + mapannounce "turbo_e_8","5 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer43000: + mapannounce "turbo_e_8","4 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer44000: + mapannounce "turbo_e_8","3 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer45000: + mapannounce "turbo_e_8","2 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer46000: + mapannounce "turbo_e_8","1 second remaining.",bc_map,"0x33FF66"; + end; + +OnTimer47000: + mapannounce "turbo_e_8","You will be transported to the Starting Line shortly.",bc_map,"0x33FF66"; + end; + +OnTimer49000: + enablenpc "Point Give-Away Guy#e8"; + donpcevent "Master#e8::OnEnable"; + end; + +OnTimer50000: + donpcevent "snake#e8::OnEnable"; + donpcevent "hunting#e8::OnEnable"; + enablenpc "bing#e8"; + end; + +OnTimer57000: + disablenpc "Point Give-Away Guy#e8"; + end; +} + +turbo_e_8,167,3,0 script Master#e8 -1,{ +OnInit: + disablenpc "Master#e8"; + end; + +OnEnable: + enablenpc "Master#e8"; + initnpctimer; + end; + +OnDisable: + stopnpctimer; + disablenpc "Master#e8"; + end; + +OnTimer7000: + mapannounce "turbo_e_8","Welcome to the Turbo Track.",bc_map,"0x33FF66"; + end; + +OnTimer9000: + mapannounce "turbo_e_8","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_e_8","We hope you will do your best.",bc_map,"0x33FF66"; + end; + +OnTimer13000: + mapannounce "turbo_e_8","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_e_8","The countdown will commence shortly.",bc_map,"0x33FF66"; + end; + +OnTimer17000: + mapannounce "turbo_e_8","- 5 -",bc_map,"0x33FF66"; + end; + +OnTimer18000: + mapannounce "turbo_e_8","- 4 -",bc_map,"0x33FF66"; + end; + +OnTimer19000: + mapannounce "turbo_e_8","- 3 -",bc_map,"0x33FF66"; + end; + +OnTimer20000: + mapannounce "turbo_e_8","- 2 -",bc_map,"0x33FF66"; + end; + +OnTimer21000: + mapannounce "turbo_e_8","- 1 -",bc_map,"0x33FF66"; + end; + +OnTimer22000: + mapannounce "turbo_e_8","- 0 -",bc_map,"0x33FF66"; + end; + +OnTimer23000: + mapannounce "turbo_e_8","Now! The race has begun! Go Go Go!!",bc_map,"0x33FF66"; + disablenpc "No_Unfair_Start#e8-1"; + disablenpc "No_Unfair_Start#e8-2"; + end; + +OnTimer30000: + mapannounce "turbo_e_8","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_e_8","You have 14 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer143000: + mapannounce "turbo_e_8","You have 13 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer203000: + mapannounce "turbo_e_8","You have 12 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer263000: + mapannounce "turbo_e_8","You have 11 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer323000: + mapannounce "turbo_e_8","You have 10 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer383000: + mapannounce "turbo_e_8","You have 9 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer443000: + mapannounce "turbo_e_8","You have 8 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer503000: + mapannounce "turbo_e_8","You have 7 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer563000: + mapannounce "turbo_e_8","You have 6 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer623000: + mapannounce "turbo_e_8","You have 5 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer683000: + mapannounce "turbo_e_8","You have 4 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer743000: + mapannounce "turbo_e_8","You have 3 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer803000: + mapannounce "turbo_e_8","You have 2 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer863000: + mapannounce "turbo_e_8","You have 1 minute left.",bc_map,"0x33FF66"; + end; + +OnTimer893000: + mapannounce "turbo_e_8","You have 30 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer903000: + mapannounce "turbo_e_8","You have 20 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer913000: + mapannounce "turbo_e_8","You have 10 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer918000: + mapannounce "turbo_e_8","You have 5 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer919000: + mapannounce "turbo_e_8","You have 4 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer920000: + mapannounce "turbo_e_8","You have 3 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer921000: + mapannounce "turbo_e_8","You have 2 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer922000: + mapannounce "turbo_e_8","You have 1 second left.",bc_map,"0x33FF66"; + end; + +OnTimer923000: + mapannounce "turbo_e_8","Time's up!",bc_map,"0x33FF66"; + end; + +OnTimer925000: + mapannounce "turbo_e_8","The race is over.",bc_map,"0x33FF66"; + end; + +OnTimer927000: + mapannounce "turbo_e_8","[Everyone will be transported to a Waiting Room.]",bc_map,"0x33FF66"; + mapwarp "turbo_e_8","turbo_room",71,89; + // all NPC OFF + disablenpc "Broadcast#e8"; + donpcevent "Master#e8::OnDisable"; + donpcevent "Expert mode - 8 person::OnEnable"; + disablenpc "Point Give-Away Guy#e8"; + // start line NPC ON + enablenpc "No_Unfair_Start#e8-1"; + enablenpc "No_Unfair_Start#e8-2"; + // monster reset + donpcevent "snake#e8::Onreset"; + donpcevent "hunting#e8::Onreset"; + disablenpc "bing2#e8"; + // NPC + disablenpc "Winner Helper#TBT_e_8"; + enablenpc "cos_e_8_end"; + enablenpc "cos_e_8_end2"; + enablenpc "cos_e_8_end3"; + enablenpc "Notice_Maker1#TBT_e_8"; + enablenpc "Notice_Maker3#TBT_e_8"; + enablenpc "Notice_Maker4#TBT_e_8"; + enablenpc "Disposable_Switch#e8"; + disablenpc "Flasher_Exit_1#e8"; + disablenpc "Flasher_Exit_2#e8"; + end; +} + +turbo_e_8,62,379,0 script No_Unfair_Start#e8-1 -1,0,31,{ +OnTouch: + warp "turbo_e_8",59,364; + end; +} + +turbo_e_8,68,379,5 script No_Unfair_Start#e8-2 -1,5,31,{ +OnTouch: + warp "turbo_e_8",59,364; + end; +} + +// Turbo Track: Expert Mode - 8 Players (Log Race) +turbo_e_8,118,377,0 script trap_a#e8-1::TurboLogRace_e_8 -1,44,1,{ +OnTouch: + set .@dropuser,rand(1,3); + if (.@dropuser == 1) + warp "turbo_e_8",72,372; + else if (.@dropuser == 2) + warp "turbo_e_8",72,365; + else + warp "turbo_e_8",72,357; + end; +} +turbo_e_8,77,375,0 duplicate(TurboLogRace_e_8) trap_a#e8-2 -1,3,1 +turbo_e_8,82,375,0 duplicate(TurboLogRace_e_8) trap_a#e8-3 -1,1,1 +turbo_e_8,82,372,0 duplicate(TurboLogRace_e_8) trap_a#e8-4 -1,0,2 +turbo_e_8,83,372,0 duplicate(TurboLogRace_e_8) trap_a#e8-5 -1,0,2 +turbo_e_8,97,374,0 duplicate(TurboLogRace_e_8) trap_a#e8-6 -1,1,2 +turbo_e_8,98,374,0 duplicate(TurboLogRace_e_8) trap_a#e8-7 -1,1,2 +turbo_e_8,122,372,0 duplicate(TurboLogRace_e_8) trap_a#e8-8 -1,2,4 +turbo_e_8,125,374,0 duplicate(TurboLogRace_e_8) trap_a#e8-9 -1,0,4 +turbo_e_8,132,374,0 duplicate(TurboLogRace_e_8) trap_a#e8-10 -1,7,2 +turbo_e_8,156,374,0 duplicate(TurboLogRace_e_8) trap_a#e8-11 -1,6,2 +turbo_e_8,163,375,0 duplicate(TurboLogRace_e_8) trap_a#e8-12 -1,0,3 +turbo_e_8,164,377,0 duplicate(TurboLogRace_e_8) trap_a#e8-13 -1,1,1 +// second line +turbo_e_8,76,369,0 duplicate(TurboLogRace_e_8) trap_b#e8-1 -1,2,2 +turbo_e_8,79,369,0 duplicate(TurboLogRace_e_8) trap_b#e8-2 -1,0,2 +turbo_e_8,77,366,0 duplicate(TurboLogRace_e_8) trap_b#e8-3 -1,3,0 +turbo_e_8,85,366,0 duplicate(TurboLogRace_e_8) trap_b#e8-4 -1,5,1 +turbo_e_8,87,363,0 duplicate(TurboLogRace_e_8) trap_b#e8-5 -1,2,1 +turbo_e_8,88,368,0 duplicate(TurboLogRace_e_8) trap_b#e8-6 -1,2,5 +turbo_e_8,92,370,0 duplicate(TurboLogRace_e_8) trap_b#e8-7 -1,1,3 +turbo_e_8,98,368,0 duplicate(TurboLogRace_e_8) trap_b#e8-8 -1,4,1 +turbo_e_8,109,371,0 duplicate(TurboLogRace_e_8) trap_b#e8-9 -1,7,2 +turbo_e_8,110,368,0 duplicate(TurboLogRace_e_8) trap_b#e8-10 -1,7,0 +turbo_e_8,113,366,0 duplicate(TurboLogRace_e_8) trap_b#e8-11 -1,3,2 +turbo_e_8,117,368,0 duplicate(TurboLogRace_e_8) trap_b#e8-12 -1,0,5 +turbo_e_8,123,364,0 duplicate(TurboLogRace_e_8) trap_b#e8-13 -1,6,1 +turbo_e_8,136,368,0 duplicate(TurboLogRace_e_8) trap_b#e8-14 -1,8,1 +turbo_e_8,136,366,0 duplicate(TurboLogRace_e_8) trap_b#e8-15 -1,8,0 +turbo_e_8,144,370,0 duplicate(TurboLogRace_e_8) trap_b#e8-16 -1,2,3 +turbo_e_8,147,370,0 duplicate(TurboLogRace_e_8) trap_b#e8-17 -1,0,3 +turbo_e_8,155,369,0 duplicate(TurboLogRace_e_8) trap_b#e8-18 -1,7,0 +turbo_e_8,155,368,0 duplicate(TurboLogRace_e_8) trap_b#e8-19 -1,7,0 +turbo_e_8,151,367,0 duplicate(TurboLogRace_e_8) trap_b#e8-20 -1,3,0 +turbo_e_8,153,366,0 duplicate(TurboLogRace_e_8) trap_b#e8-21 -1,1,0 +turbo_e_8,155,367,0 duplicate(TurboLogRace_e_8) trap_b#e8-22 -1,0,1 +//third line +turbo_e_8,78,362,0 duplicate(TurboLogRace_e_8) trap_c#e8-1 -1,4,1 +turbo_e_8,78,359,0 duplicate(TurboLogRace_e_8) trap_c#e8-2 -1,4,1 +turbo_e_8,83,362,0 duplicate(TurboLogRace_e_8) trap_c#e8-3 -1,0,1 +turbo_e_8,88,359,0 duplicate(TurboLogRace_e_8) trap_c#e8-4 -1,5,1 +turbo_e_8,89,357,0 duplicate(TurboLogRace_e_8) trap_c#e8-5 -1,1,1 +turbo_e_8,92,390,0 duplicate(TurboLogRace_e_8) trap_c#e8-6 -1,1,1 +turbo_e_8,92,357,0 duplicate(TurboLogRace_e_8) trap_c#e8-7 -1,1,1 +turbo_e_8,98,364,0 duplicate(TurboLogRace_e_8) trap_c#e8-8 -1,6,1 +turbo_e_8,98,362,0 duplicate(TurboLogRace_e_8) trap_c#e8-9 -1,6,0 +turbo_e_8,106,364,0 duplicate(TurboLogRace_e_8) trap_c#e8-10 -1,2,2 +turbo_e_8,107,360,0 duplicate(TurboLogRace_e_8) trap_c#e8-11 -1,1,2 +turbo_e_8,109,360,0 duplicate(TurboLogRace_e_8) trap_c#e8-12 -1,0,2 +turbo_e_8,112,361,0 duplicate(TurboLogRace_e_8) trap_c#e8-13 -1,3,1 +turbo_e_8,116,359,0 duplicate(TurboLogRace_e_8) trap_c#e8-14 -1,0,2 +turbo_e_8,117,359,0 duplicate(TurboLogRace_e_8) trap_c#e8-15 -1,0,2 +turbo_e_8,116,356,0 duplicate(TurboLogRace_e_8) trap_c#e8-16 -1,0,2 +turbo_e_8,117,356,0 duplicate(TurboLogRace_e_8) trap_c#e8-17 -1,0,2 +turbo_e_8,129,360,0 duplicate(TurboLogRace_e_8) trap_c#e8-18 -1,12,1 +turbo_e_8,129,358,0 duplicate(TurboLogRace_e_8) trap_c#e8-19 -1,12,0 +turbo_e_8,132,357,0 duplicate(TurboLogRace_e_8) trap_c#e8-20 -1,2,1 +turbo_e_8,137,357,0 duplicate(TurboLogRace_e_8) trap_c#e8-21 -1,2,1 +turbo_e_8,147,363,0 duplicate(TurboLogRace_e_8) trap_c#e8-22 -1,16,1 +turbo_e_8,149,365,0 duplicate(TurboLogRace_e_8) trap_c#e8-23 -1,1,0 +turbo_e_8,158,362,0 duplicate(TurboLogRace_e_8) trap_c#e8-24 -1,1,4 +turbo_e_8,154,360,0 duplicate(TurboLogRace_e_8) trap_c#e8-25 -1,2,2 +turbo_e_8,161,360,0 duplicate(TurboLogRace_e_8) trap_c#e8-26 -1,1,2 +turbo_e_8,161,365,0 duplicate(TurboLogRace_e_8) trap_c#e8-27 -1,1,0 +turbo_e_8,160,366,0 duplicate(TurboLogRace_e_8) trap_c#e8-28 -1 +//fourth line +turbo_e_8,79,353,0 duplicate(TurboLogRace_e_8) trap_d#e8-1 -1,5,2 +turbo_e_8,85,354,0 duplicate(TurboLogRace_e_8) trap_d#e8-2 -1,0,1 +turbo_e_8,99,353,0 duplicate(TurboLogRace_e_8) trap_d#e8-3 -1,14,0 +turbo_e_8,99,352,0 duplicate(TurboLogRace_e_8) trap_d#e8-4 -1,14,0 +turbo_e_8,99,356,0 duplicate(TurboLogRace_e_8) trap_d#e8-5 -1,3,3 +turbo_e_8,103,356,0 duplicate(TurboLogRace_e_8) trap_d#e8-6 -1,0,3 +turbo_e_8,108,354,0 duplicate(TurboLogRace_e_8) trap_d#e8-7 -1,5,1 +turbo_e_8,112,356,0 duplicate(TurboLogRace_e_8) trap_d#e8-8 -1,0,1 +turbo_e_8,113,356,0 duplicate(TurboLogRace_e_8) trap_d#e8-9 -1,0,1 +turbo_e_8,123,353,0 duplicate(TurboLogRace_e_8) trap_d#e8-10 -1,3,2 +turbo_e_8,127,353,0 duplicate(TurboLogRace_e_8) trap_d#e8-11 -1,0,2 +turbo_e_8,145,352,0 duplicate(TurboLogRace_e_8) trap_d#e8-12 -1,17,1 +turbo_e_8,152,354,0 duplicate(TurboLogRace_e_8) trap_d#e8-13 -1,10,1 +turbo_e_8,145,357,0 duplicate(TurboLogRace_e_8) trap_d#e8-14 -1,1,2 +turbo_e_8,148,357,0 duplicate(TurboLogRace_e_8) trap_d#e8-15 -1,1,2 + +// Turbo Track: Expert Mode - 8 Players (Sand Hill) +turbo_e_8,322,354,0 script #TBT_trap_e8-1::TurboSandHill_e8 -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_e_8,323,360,0 duplicate(TurboSandHill_e8) #TBT_trap_e8-2 -1,3,3 +turbo_e_8,324,365,0 duplicate(TurboSandHill_e8) #TBT_trap_e8-3 -1,1,1 +turbo_e_8,325,370,0 duplicate(TurboSandHill_e8) #TBT_trap_e8-4 -1,3,3 +turbo_e_8,325,375,0 duplicate(TurboSandHill_e8) #TBT_trap_e8-5 -1,1,1 +turbo_e_8,329,377,0 duplicate(TurboSandHill_e8) #TBT_trap_e8-6 -1,3,3 +turbo_e_8,338,372,0 duplicate(TurboSandHill_e8) #TBT_trap_e8-7 -1,3,3 +turbo_e_8,341,364,0 duplicate(TurboSandHill_e8) #TBT_trap_e8-8 -1,3,3 +turbo_e_8,325,359,0 duplicate(TurboSandHill_e8) #TBT_trap_e8-9 -1,2,2 +turbo_e_8,341,355,0 duplicate(TurboSandHill_e8) #TBT_trap_e8-10 -1,1,1 +turbo_e_8,350,355,0 duplicate(TurboSandHill_e8) #TBT_trap_e8-11 -1,3,3 +turbo_e_8,348,363,0 duplicate(TurboSandHill_e8) #TBT_trap_e8-12 -1,1,1 +turbo_e_8,347,370,0 duplicate(TurboSandHill_e8) #TBT_trap_e8-13 -1,2,2 +turbo_e_8,349,377,0 duplicate(TurboSandHill_e8) #TBT_trap_e8-14 -1,9,9 +turbo_e_8,362,372,0 duplicate(TurboSandHill_e8) #TBT_trap_e8-15 -1,3,3 +turbo_e_8,364,365,0 duplicate(TurboSandHill_e8) #TBT_trap_e8-16 -1,1,1 +turbo_e_8,363,357,0 duplicate(TurboSandHill_e8) #TBT_trap_e8-17 -1,3,3 +turbo_e_8,374,358,0 duplicate(TurboSandHill_e8) #TBT_trap_e8-18 -1,2,2 +turbo_e_8,371,367,0 duplicate(TurboSandHill_e8) #TBT_trap_e8-19 -1,3,3 +turbo_e_8,371,376,0 duplicate(TurboSandHill_e8) #TBT_trap_e8-20 -1,1,1 +turbo_e_8,379,375,0 duplicate(TurboSandHill_e8) #TBT_trap_e8-21 -1,3,3 +turbo_e_8,382,363,0 duplicate(TurboSandHill_e8) #TBT_trap_e8-22 -1,2,2 +turbo_e_8,381,354,0 duplicate(TurboSandHill_e8) #TBT_trap_e8-23 -1,1,1 +turbo_e_8,355,362,0 script #TBT_trap_e8-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[Errende]"; + mes "Kafra Ladies? Exquisite! Oh, and their service is good too~!^000000"; + mes " "; + mes "[Tristram III]"; + mes "By my crown! Such low prices!"; + 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_e_8,13,266,0 script flasher#e_8-01#turbo::TurboWaterMaze_e_8 -1,0,2,{ +OnTouch: + sc_start SC_BLIND,60000,0; + end; +} +turbo_e_8,24,268,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-02 -1,1,0 +turbo_e_8,20,258,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-03 -1,1,0 +turbo_e_8,23,251,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-04 -1,0,1 +turbo_e_8,36,270,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-05 -1,1,0 +turbo_e_8,22,239,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-06 -1,1,0 +turbo_e_8,38,239,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-07 -1,0,1 +turbo_e_8,37,237,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-08 -1,1,0 +turbo_e_8,55,247,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-09 -1,0,1 +turbo_e_8,55,246,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-10 -1,1,0 +turbo_e_8,63,253,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-11 -1,0,1 +turbo_e_8,36,216,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-12 -1,1,0 +turbo_e_8,20,209,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-13 -1,1,0 +turbo_e_8,28,195,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-14 -1,1,0 +turbo_e_8,82,264,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-15 -1,1,0 +turbo_e_8,47,185,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-16 -1,0,1 +turbo_e_8,53,207,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-17 -1,1,0 +turbo_e_8,54,208,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-18 -1,0,1 +turbo_e_8,81,247,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-19 -1,0,1 +turbo_e_8,105,257,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-20 -1,0,1 +turbo_e_8,95,242,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-21 -1,0,1 +turbo_e_8,77,232,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-22 -1,2,0 +turbo_e_8,67,222,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-23 -1,2,0 +turbo_e_8,83,206,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-24 -1,0,1 +turbo_e_8,95,224,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-25 -1,0,1 +turbo_e_8,106,220,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-26 -1,2,0 +turbo_e_8,93,191,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-27 -1,1,0 +turbo_e_8,94,192,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-28a -1,0,1 +turbo_e_8,46,214,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-28b -1,0,1 +turbo_e_8,16,247,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-29 -1,1,0 +turbo_e_8,58,268,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-30 -1,1,1 +turbo_e_8,36,253,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-31 -1,1,0 +turbo_e_8,69,238,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-32 -1,1,1 +turbo_e_8,58,268,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-33 -1,1,1 +turbo_e_8,74,188,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-34 -1,2,0 +turbo_e_8,99,207,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-35 -1,1,1 +turbo_e_8,74,188,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-36 -1,2,0 +turbo_e_8,111,188,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-37a -1,1,0 +turbo_e_8,51,232,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-37b -1,1,1 +turbo_e_8,30,232,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-38 -1,1,1 +turbo_e_8,92,256,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-39 -1,1,1 +turbo_e_8,79,220,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-40 -1,1,1 +turbo_e_8,51,192,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-41 -1,1,1 +turbo_e_8,22,227,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-42 -1,1,1 +turbo_e_8,51,232,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-43 -1,1,1 +turbo_e_8,42,258,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-44 -1,1,0 +turbo_e_8,45,271,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-45 -1,2,1 +turbo_e_8,72,207,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-46 -1,1,1 +turbo_e_8,33,192,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-47 -1,0,1 +turbo_e_8,90,241,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-48a -1,1,0 +turbo_e_8,236,3,0 duplicate(TurboWaterMaze_e_8) flasher#e_8-48b -1,3,0 + +// Turbo Track: Expert Mode - 8 Players (Snake Dice course) +turbo_e_8,324,279,0 script snake01#e8 45,1,1,{ +OnTouch: + set .@turbo2,rand(1,7); + if (.@turbo2 > 0) && (.@turbo2 < 3) + warp "turbo_e_8",370,292; + else if (.@turbo2 > 2) && (.@turbo2 < 5) + warp "turbo_e_8",295,293; + else if (.@turbo2 > 4) && (.@turbo2 < 7) + warp "turbo_e_8",355,292; + else + warp "turbo_e_8",279,292; + end; +} + +turbo_e_8,332,279,0 script snake02#e8 45,1,1,{ +OnTouch: + set .@turbo2,rand(1,8); + if (.@turbo2 > 0) && (.@turbo2 < 3) + warp "turbo_e_8",287,256; + else if (.@turbo2 > 2) && (.@turbo2 < 5) + warp "turbo_e_8",303,256; + else if (.@turbo2 > 4) && (.@turbo2 < 7) + warp "turbo_e_8",347,256; + else + warp "turbo_e_8",363,256; + end; +} + +turbo_e_8,324,270,0 script snake03#e8 45,1,1,{ +OnTouch: + set .@turbo2,rand(1,8); + if (.@turbo2 > 0) && (.@turbo2 < 3) + warp "turbo_e_8",279,292; + else if (.@turbo2 > 2) && (.@turbo2 < 5) + warp "turbo_e_8",311,292; + else if (.@turbo2 > 4) && (.@turbo2 < 7) + warp "turbo_e_8",347,256; + else + warp "turbo_e_8",370,292; + end; +} + +turbo_e_8,332,270,0 script snake04#e8 45,1,1,{ +OnTouch: + set .@turbo2,rand(1,7); + if (.@turbo2 > 0) && (.@turbo2 < 3) + warp "turbo_e_8",363,256; + else if (.@turbo2 > 2) && (.@turbo2 < 5) + warp "turbo_e_8",295,293; + else if (.@turbo2 > 4) && (.@turbo2 < 7) + warp "turbo_e_8",355,292; + else + warp "turbo_e_8",287,256; + end; +} + +//monsters +turbo_e_8,389,288,0 script snake#e8 111,{ +Onreset: + killmonsterall "turbo_e_8"; + end; + +OnEnable: + monster "turbo_e_8",279,284,"Archer Skeleton",1420,1; + monster "turbo_e_8",279,268,"Archer Skeleton",1420,1; + monster "turbo_e_8",279,260,"Archer Skeleton",1420,1; + monster "turbo_e_8",287,288,"Archer Skeleton",1420,1; + monster "turbo_e_8",287,280,"Archer Skeleton",1420,1; + monster "turbo_e_8",287,264,"Archer Skeleton",1420,1; + monster "turbo_e_8",295,284,"Archer Skeleton",1420,1; + monster "turbo_e_8",295,268,"Archer Skeleton",1420,1; + monster "turbo_e_8",295,260,"Archer Skeleton",1420,1; + monster "turbo_e_8",303,288,"Archer Skeleton",1420,1; + monster "turbo_e_8",303,280,"Archer Skeleton",1420,1; + monster "turbo_e_8",303,264,"Archer Skeleton",1420,1; + monster "turbo_e_8",311,284,"Archer Skeleton",1420,1; + monster "turbo_e_8",311,268,"Archer Skeleton",1420,1; + monster "turbo_e_8",311,260,"Archer Skeleton",1420,1; + monster "turbo_e_8",347,288,"Archer Skeleton",1420,1; + monster "turbo_e_8",347,280,"Archer Skeleton",1420,1; + monster "turbo_e_8",347,264,"Archer Skeleton",1420,1; + monster "turbo_e_8",355,284,"Archer Skeleton",1420,1; + monster "turbo_e_8",355,268,"Archer Skeleton",1420,1; + monster "turbo_e_8",355,260,"Archer Skeleton",1420,1; + monster "turbo_e_8",363,288,"Archer Skeleton",1420,1; + monster "turbo_e_8",363,280,"Archer Skeleton",1420,1; + monster "turbo_e_8",363,264,"Archer Skeleton",1420,1; + monster "turbo_e_8",371,284,"Archer Skeleton",1420,1; + monster "turbo_e_8",371,268,"Archer Skeleton",1420,1; + monster "turbo_e_8",371,260,"Archer Skeleton",1420,1; + monster "turbo_e_8",379,288,"Archer Skeleton",1420,1; + monster "turbo_e_8",379,280,"Archer Skeleton",1420,1; + monster "turbo_e_8",379,264,"Archer Skeleton",1420,1; + end; +} + +turbo_e_8,90,46,0 script hunting#e8 111,{ +Onreset: + killmonsterall "turbo_e_8"; + end; + +OnEnable: + monster "turbo_e_8",47,87,"Munak",1610,1; + monster "turbo_e_8",47,87,"Bongun",1611,1; + monster "turbo_e_8",47,87,"Munak",1610,1; + monster "turbo_e_8",24,74,"Munak",1610,1; + monster "turbo_e_8",24,74,"Bongun",1611,1; + monster "turbo_e_8",24,74,"Munak",1610,1; + monster "turbo_e_8",67,42,"Munak",1610,1; + monster "turbo_e_8",67,42,"Bongun",1611,1; + monster "turbo_e_8",67,42,"Munak",1610,1; + monster "turbo_e_8",60,70,"Munak",1610,1; + monster "turbo_e_8",60,70,"Bongun",1611,1; + monster "turbo_e_8",60,70,"Munak",1610,1; + monster "turbo_e_8",32,51,"Munak",1610,1; + monster "turbo_e_8",32,51,"Bongun",1611,1; + monster "turbo_e_8",32,51,"Munak",1610,1; + monster "turbo_e_8",30,25,"Munak",1610,1; + monster "turbo_e_8",30,25,"Bongun",1611,1; + monster "turbo_e_8",30,25,"Munak",1610,1; + monster "turbo_e_8",68,56,"Yao Jun",1612,1; + monster "turbo_e_8",26,46,"Yao Jun",1612,1; + monster "turbo_e_8",62,20,"Munak",1610,1; + monster "turbo_e_8",62,20,"Bongun",1611,1; + monster "turbo_e_8",62,20,"Munak",1610,1; + monster "turbo_e_8",216,378,"Munak",1610,1; + monster "turbo_e_8",218,360,"Munak",1610,1; + monster "turbo_e_8",223,361,"Munak",1610,1; + monster "turbo_e_8",243,342,"Munak",1610,1; + monster "turbo_e_8",247,364,"Munak",1610,1; + end; +} + +// Turbo Track: Expert Mode - 4 Players (Course-clear broadcasters, and exits?) +turbo_e_8,168,363,0 script cos_e_8_1 45,1,1,{ +OnTouch: + mapannounce "turbo_e_8","" + strcharinfo(0) +" has just passed the Log Bridge course!",bc_map,"0x70DBDB"; + set .@move1,rand(1,3); + if (.@move1 == 1) + warp "turbo_e_8",210,369; + else if (.@move1 == 2) + warp "turbo_e_8",210,361; + else + warp "turbo_e_8",210,354; + end; +} + +turbo_e_8,258,364,0 script cos_e_8_2 45,1,1,{ +OnTouch: + mapannounce "turbo_e_8","" + strcharinfo(0) +" has just passed the Cube Hills course!",bc_map,"0x70DBDB"; + warp "turbo_e_8",316,365; + end; +} + +turbo_e_8,316,365,0 script Disposable_Switch#e8 -1,1,1,{ +OnInit: + enablenpc "Disposable_Switch#e16"; + end; + +OnTouch: + if (rand(1,2) == 1) + enablenpc "Flasher_Exit_1#e8"; + else + enablenpc "Flasher_Exit_2#e8"; + disablenpc "Disposable_Switch#e8"; + end; +} + +turbo_e_8,385,365,0 script cos_e_8_3 45,1,1,{ +OnTouch: + set .@to_miro,rand(1,4); + mapannounce "turbo_e_8","" + strcharinfo(0) +" has just passed the Cursed Desert!",bc_map,"0x70DBDB"; + if (.@to_miro == 1) + warp "turbo_e_8",46,254; + else if (.@to_miro == 2) + warp "turbo_e_8",76,227; + else if (.@to_miro == 3) + warp "turbo_e_8",42,197; + else + warp "turbo_e_8",86,220; + end; +} + +turbo_e_8,11,266,0 script Flasher_Exit_1#e8 45,1,1,{ +OnInit: + disablenpc "Flasher_Exit_1#e8"; + end; + +OnTouch: + mapannounce "turbo_e_8","" + strcharinfo(0) +" has just passed the Flasher Maze!",bc_map,"0x70DBDB"; + warp "turbo_e_8",185,227; + end; +} + +turbo_e_8,114,190,0 script Flasher_Exit_2#e8 45,1,1,{ +OnInit: + disablenpc "Flasher_Exit_2#e8"; + end; + +OnTouch: + mapannounce "turbo_e_8","" + strcharinfo(0) +" has just passed the Flasher Maze!",bc_map,"0x70DBDB"; + warp "turbo_e_8",185,227; + end; +} + +turbo_e_8,250,200,0 script cos_e_8_5 45,1,1,{ +OnTouch: + mapannounce "turbo_e_8","" + strcharinfo(0) +" has just passed the Single Snail course!",bc_map,"0x70DBDB"; + warp "turbo_e_8",268,275; + end; +} + +turbo_e_8,389,275,0 script cos_e_8_6 45,1,1,{ +OnTouch: + mapannounce "turbo_e_8","" + strcharinfo(0) +" has just passed the Snake Dice course!",bc_map,"0x70DBDB"; + warp "turbo_e_8",5,91; + end; +} + +turbo_e_8,93,19,0 script cos_e_8_7 45,1,1,{ +OnTouch: + mapannounce "turbo_e_8","" + strcharinfo(0) +" has just passed the Small Cave course! You're getting closer to the finish!",bc_map,"0x70DBDB"; + set .@move1,rand(1,3); + if (.@move1 == 1) + warp "turbo_e_8",307,52; + else if (.@move1 == 2) + warp "turbo_e_8",307,46; + else + warp "turbo_e_8",307,40; + end; +} + +turbo_e_8,371,47,0 script cos_e_8_end 45,1,1,{ +OnInit: + enablenpc "cos_e_8_end"; + end; + +OnTouch: + mapannounce "turbo_e_8","" + strcharinfo(0) +" has just arrived at the Finish Line! Congratulations!",bc_map,"0xFFFF00"; + set $ttnames$[5],strcharinfo(0); + donpcevent "TBT_Guide#Broadcast::Onwin_e8"; + if (tt_point < 28951) + set tt_point,tt_point+50; + warp "turbo_e_8",384,161; + enablenpc "Winner Helper#TBT_e_8"; + disablenpc "cos_e_8_end"; + enablenpc "cos_e_8_end2"; + end; +} + +turbo_e_8,371,51,0 script cos_e_8_end2 45,1,1,{ +OnInit: + disablenpc "cos_e_8_end2"; + end; + +OnTouch: + mapannounce "turbo_e_8","" + strcharinfo(0) +" is second to reach the Finish Line! Congratulations!",bc_map,"0xFFFF00"; + if (tt_point < 28961) + set tt_point,tt_point+40; + warp "turbo_room",72,89; + disablenpc "cos_e_8_end2"; + enablenpc "cos_e_8_end3"; + end; +} + +turbo_e_8,371,43,0 script cos_e_8_end3 45,1,1,{ +OnInit: + disablenpc "cos_e_8_end3"; + end; + +OnTouch: + mapannounce "turbo_e_8","" + strcharinfo(0) +" is third to reach the Finish Line! Congratulations!",bc_map,"0xFFFF00"; + if (tt_point < 28971) + set tt_point,tt_point+30; + warp "turbo_room",72,89; + donpcevent "Winner Helper#TBT_e_8::OnEnable"; + donpcevent "Master#e8::OnDisable"; + disablenpc "Broadcast#e8"; + disablenpc "cos_e_8_end3"; + end; +} + +turbo_e_8,384,167,1 script Winner Helper#TBT_e_8 47,{ +//---reward points & record player name + if (tt_rank < 29999) { + mes "[Guide]"; + mes "Congratulations!"; + mes "As the winner, your reward"; + mes "is 50 Turbo Track Points,"; + mes ""+ strcharinfo(0) +"~"; + next; + mes "[Guide]"; + mes "However, you cannot receive"; + mes "any points if you exceed the"; + mes "point limit. You now have a total of " + my_point + " Turbo Track points."; + set tt_rank,tt_rank+1; + next; + if (tt_rank > $ttranks[1]) { + setarray $ttranks[0],$ttranks[0],tt_rank,$ttranks[1],$ttranks[2],$ttranks[3],$ttranks[4]; + setarray $ttnames$[9],strcharinfo(0); + mes "[Guide]"; + mes "Congratulations!"; + mes "You are ranked as"; + mes "the top player for"; + mes "winning the most games!"; + donpcevent "TBT_Guide#Broadcast::Onnew_top1"; + if (tt_rank == 29999) { + if ($ttnames$[7] == "Breezy Havana") { + set $ttnames$[7],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + else if ($ttnames$[8] == "RS125") { + set $ttnames$[8],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + //broadcastserver "FF0000" FW_NORMAL 10 0 0 " " + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!" + } + } + } + else if (tt_rank > $ttranks[2]) { + setarray $ttranks[0],$ttranks[0],$ttranks[1],tt_rank,$ttranks[3],$ttranks[4],$ttranks[5]; + setarray $ttnames$[10],strcharinfo(0); + mes "[Guide]"; + mes "Congratulations!"; + mes "You've ranked Second"; + mes "among the Top Five Players"; + mes "who've won the most games!"; + donpcevent "TBT_Guide#Broadcast::Onnew_top2"; + if (tt_rank == 29999) { + if ($ttnames$[7] == "Breezy Havana") { + set $ttnames$[7],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + else if ($ttnames$[8] == "RS125") { + set $ttnames$[8],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + } + } + else if (tt_rank > $ttranks[3]) { + setarray $ttranks[0],$ttranks[0],$ttranks[1],$ttranks[2],tt_rank,$ttranks[4],$ttranks[5]; + setarray $ttnames$[11],strcharinfo(0); + mes "[Guide]"; + mes "Congratulations!"; + mes "You've ranked Third"; + mes "among the Top Five Players"; + mes "who've won the most games!"; + donpcevent "TBT_Guide#Broadcast::Onnew_top3"; + if (tt_rank == 29999) { + if ($ttnames$[7] == "Breezy Havana") { + set $ttnames$[7],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + else if ($ttnames$[8] == "RS125") { + set $ttnames$[8],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + } + } + else if (tt_rank > $ttranks[4]) { + setarray $ttranks[0],$ttranks[0],$ttranks[1],$ttranks[2],$ttranks[3],tt_rank,$ttranks[5]; + setarray $ttnames$[12],strcharinfo(0); + mes "[Guide]"; + mes "Congratulations!"; + mes "You've ranked Fourth"; + mes "among the Top Five Players"; + mes "who've won the most games!"; + donpcevent "TBT_Guide#Broadcast::Onnew_top4"; + if (tt_rank == 29999) { + if ($ttnames$[7] == "Breezy Havana") { + set $ttnames$[7],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + else if ($ttnames$[8] == "RS125") { + set $ttnames$[8],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + } + } + else if (tt_rank > $ttranks[5]) { + setarray $ttranks[0],$ttranks[0],$ttranks[1],$ttranks[2],$ttranks[3],$ttranks[4],tt_rank; + setarray $ttnames$[13],strcharinfo(0); + mes "[Guide]"; + mes "Congratulations!"; + mes "You've ranked Fifth"; + mes "among the Top Five Players"; + mes "who've won the most games!"; + donpcevent "TBT_Guide#Broadcast::Onnew_top5"; + if (tt_rank == 29999) { + if ($ttnames$[7] == "Breezy Havana") { + set $ttnames$[7],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + else if ($ttnames$[8] == "RS125") { + set $ttnames$[8],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + } + } + else { + mes "[Guide]"; + mes "If you can win more games"; + mes "than everybody else, your"; + mes "name will be registered in"; + mes "our Top Five Player Ranking."; + next; + mes "[Guide]"; + mes "What do you"; + mes "think, " + strcharinfo(0) +"?"; + mes "Glory can be yours if"; + mes "you can achieve victory!"; + } + next; + mes "[Guide]"; + mes "Thank you for"; + mes "participating in"; + mes "the Turbo Track."; + mes "You will be transported"; + mes "to a Waiting Room shortly."; + close2; + warp "turbo_room",72,89; + end; + } + else { + if ($ttnames$[7] == strcharinfo(0)) { + mes "[Guide]"; + mes "Oh wow!"; + mes "You're a member"; + mes "in our Hall of Honor,"; + mes "aren't you? This is great!"; + mes "I'm talking to a living legend!"; + next; + mes "[Guide]"; + mes "Oh, I'm sorry! You're"; + mes "here so that I can tell you"; + mes "how many Turbo Track Points"; + set my_point,tt_point; + mes "you have, right? You've got a total of " + my_point + " Turbo Track Points, "+ strcharinfo(0) +"."; + next; + mes "[Guide]"; + mes "Oh, and thanks for"; + mes "participating in the"; + mes "Turbo Track! You'll be sent"; + mes "to the Waiting Room soon~"; + close2; + warp "turbo_room",72,89; + end; + } + else if ($ttnames$[8] == strcharinfo(0)) { + mes "[Guide]"; + mes "Hey, aren't you"; + mes "in our Hall of Honor?"; + mes "I've been watching your"; + mes "races... You're pretty quick"; + mes "on your feet, hotshot~"; + next; + mes "[Guide]"; + mes "Oh right, your current"; + set my_point,tt_point; + mes "Turbo Track Point total!"; + mes "You've got a total of"; + mes "" + my_point + " Turbo Track points,"; + mes "" + strcharinfo(0) + "."; + next; + mes "[Guide]"; + mes "Oh, and thanks for"; + mes "participating in the"; + mes "Turbo Track! You'll be sent"; + mes "to the Waiting Room soon~"; + close2; + warp "turbo_room",72,89; + end; + } + else { + mes "[Guide]"; + mes "Awwww~"; + mes "You were almost able"; + mes "to join our Hall of Honor...!"; + mes "But don't let that get you"; + mes "down. Maybe next time!"; + next; + mes "[Guide]"; + mes "Oh, right."; + mes "Currently, you"; + mes "have a total of"; + mes "" + tt_point + " Turbo Track points."; + next; + mes "[Guide]"; + mes "Thank you for"; + mes "participating in"; + mes "the Turbo Track."; + mes "You will be transported"; + mes "to a Waiting Room shortly."; + close2; + warp "turbo_room",72,89; + end; + } + } + +OnInit: + disablenpc "Winner Helper#TBT_e_8"; + end; + +OnEnable: + enablenpc "Winner Helper#TBT_e_8"; + initnpctimer; + end; + +OnTimer5000: + mapannounce "turbo_e_8","This is the ending broadcast for Turbo Track Expert Mode - 8 person.",bc_map,"0x33FF66"; + end; + +OnTimer10000: + mapannounce "turbo_e_8","For smooth game play, the game will be end in approximately 1 minute from now.",bc_map,"0x33FF66"; + end; + +OnTimer15000: + mapannounce "turbo_e_8","At that time, the warp portal will open.",bc_map,"0x33FF66"; + end; + +OnTimer20000: + mapannounce "turbo_e_8","Players within the arena must be in ready to enter the warp.",bc_map,"0x33FF66"; + end; + +OnTimer25000: + mapannounce "turbo_e_8","In the meantime, winners must procceed to receive their rewards as soon as possible.",bc_map,"0x33FF66"; + end; + +OnTimer30000: + mapannounce "turbo_e_8","Thank you for visiting Al De Baran Turbo Track.",bc_map,"0x33FF66"; + end; + +OnTimer35000: + mapannounce "turbo_e_8","Al De Baran Turbo Track is brought to you by...",bc_map,"0x33FF66"; + end; + +OnTimer40000: + mapannounce "turbo_e_8","[Al De Baran Kafra Corporation Headquarters]",bc_map,"0x33FF66"; + end; + +OnTimer45000: + mapannounce "turbo_e_8","[Al De Baran Guild Castle Management Luina]",bc_map,"0x33FF66"; + end; + +OnTimer50000: + mapannounce "turbo_e_8","[Blacksmith Union]",bc_map,"0x33FF66"; + end; + +OnTimer55000: + mapannounce "turbo_e_8","And [Comodo Casino].",bc_map,"0x33FF66"; + end; + +OnTimer60000: + mapannounce "turbo_e_8","Once again, we'd like to thank our sponsors.",bc_map,"0x33FF66"; + end; + +OnTimer65000: + mapannounce "turbo_e_8","Have a good day.",bc_map,"0x33FF66"; + end; + +//--- warp all players to turbo room +OnTimer70000: + mapwarp "turbo_e_8","turbo_room",72,89; + end; + +//----end game, reset all +OnTimer71000: + disablenpc "Winner Helper#TBT_e_8"; + enablenpc "cos_e_8_end"; + enablenpc "cos_e_8_end2"; + enablenpc "cos_e_8_end3"; + disablenpc "Notice_Maker1#TBT_e_8"; + disablenpc "Notice_Maker3#TBT_e_8"; + disablenpc "Notice_Maker4#TBT_e_8"; + enablenpc "Disposable_Switch#e8"; + enablenpc "Flasher_Exit_1#e8"; + enablenpc "Flasher_Exit_2#e8"; + enablenpc "No_Unfair_Start#e8-1"; + enablenpc "No_Unfair_Start#e8-2"; + donpcevent "snake#e8::Onreset"; + donpcevent "hunting#e8::Onreset"; + donpcevent "Expert mode - 8 person::OnEnable"; + disablenpc "bing2#e8"; + stopnpctimer; + end; +} + +turbo_e_8,11,91,0 script Notice_Maker1#TBT_e_8 -1,3,3,{ +OnInit: + enablenpc "Notice_Maker1#TBT_e_8"; + end; + +OnTouch: + mapannounce "turbo_e_8","" + strcharinfo(0) +" is now entering the Small Cave! "+ strcharinfo(0) +" is now in the lead!",bc_map,"0xFFFF00"; + donpcevent "TBT_Guide#Broadcast::Onend_e8"; + disablenpc "Notice_Maker1#TBT_e_8"; + end; +} + +turbo_e_8,234,223,0 script Notice_Maker3#TBT_e_8 -1,2,2,{ +OnInit: + enablenpc "Notice_Maker3#TBT_e_8"; + end; + +OnTouch: + mapannounce "turbo_e_8","" + strcharinfo(0) +" is now entering the Single Snail! "+ strcharinfo(0) +" is now in the lead!",bc_map,"0xFFFF00"; + disablenpc "Notice_Maker3#TBT_e_8"; + end; +} + +turbo_e_8,226,15,0 script Notice_Maker4#TBT_e_8 -1,1,1,{ +OnInit: + enablenpc "Notice_Maker4#TBT_e_8"; + end; + +OnTouch: + mapannounce "turbo_e_8","" + strcharinfo(0) +" is currently in First Place!",bc_map,"0xFFFF00"; + disablenpc "Notice_Maker4#TBT_e_8"; + end; +} + +turbo_e_8,227,379,0 script Warp#e_8_1::Warp_e_8 -1,1,1,{ +OnTouch: + set .@warprand,rand(1,20); + if (.@warprand == 1) + warp "turbo_e_8",216,378; + else if (.@warprand == 2) + warp "turbo_e_8",218,360; + else if (.@warprand == 4) + warp "turbo_e_8",223,361; + else if (.@warprand == 5) + warp "turbo_e_8",243,342; + else if (.@warprand == 6) + warp "turbo_e_8",247,364; + end; +} +turbo_e_8,237,380,0 duplicate(Warp_e_8) Warp#e_8_2 -1,1,1 +turbo_e_8,227,367,0 duplicate(Warp_e_8) Warp#e_8_3 -1,1,1 +turbo_e_8,231,360,0 duplicate(Warp_e_8) Warp#e_8_4 -1,1,1 +turbo_e_8,225,349,0 duplicate(Warp_e_8) Warp#e_8_5 -1,1,1 +turbo_e_8,249,352,0 duplicate(Warp_e_8) Warp#e_8_6 -1,1,1 +turbo_e_8,253,364,0 duplicate(Warp_e_8) Warp#e_8_7 -1,2,2 + +turbo_e_8,307,55,0 script trap_e8#F1::TurboTrap_e8 -1,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_e_8,307,51,0 duplicate(TurboTrap_e8) trap_e8#F2 139,1,1 +turbo_e_8,307,47,0 duplicate(TurboTrap_e8) trap_e8#F3 139,1,1 +turbo_e_8,307,43,0 duplicate(TurboTrap_e8) trap_e8#F4 139,1,1 +turbo_e_8,307,39,0 duplicate(TurboTrap_e8) trap_e8#F5 139,1,1 +turbo_e_8,307,39,0 duplicate(TurboTrap_e8) trap_e8#F96 139,1,1 +turbo_e_8,312,56,0 duplicate(TurboTrap_e8) trap_e8#F6 139,1,1 +turbo_e_8,312,52,0 duplicate(TurboTrap_e8) trap_e8#F7 139,1,1 +turbo_e_8,312,48,0 duplicate(TurboTrap_e8) trap_e8#F8 139,1,1 +turbo_e_8,312,44,0 duplicate(TurboTrap_e8) trap_e8#F9 139,1,1 +turbo_e_8,312,40,0 duplicate(TurboTrap_e8) trap_e8#F10 139,1,1 +turbo_e_8,312,36,0 duplicate(TurboTrap_e8) trap_e8#F11 139,1,1 +turbo_e_8,316,55,0 duplicate(TurboTrap_e8) trap_e8#F12 139,1,1 +turbo_e_8,316,51,0 duplicate(TurboTrap_e8) trap_e8#F13 139,1,1 +turbo_e_8,316,47,0 duplicate(TurboTrap_e8) trap_e8#F14 139,1,1 +turbo_e_8,316,43,0 duplicate(TurboTrap_e8) trap_e8#F15 139,1,1 +turbo_e_8,316,39,0 duplicate(TurboTrap_e8) trap_e8#F16 139,1,1 +turbo_e_8,316,36,0 duplicate(TurboTrap_e8) trap_e8#F17 139,1,1 +turbo_e_8,320,56,0 duplicate(TurboTrap_e8) trap_e8#F18 139,1,1 +turbo_e_8,320,52,0 duplicate(TurboTrap_e8) trap_e8#F19 139,1,1 +turbo_e_8,320,48,0 duplicate(TurboTrap_e8) trap_e8#F20 139,1,1 +turbo_e_8,320,44,0 duplicate(TurboTrap_e8) trap_e8#F21 139,1,1 +turbo_e_8,320,40,0 duplicate(TurboTrap_e8) trap_e8#F22 139,1,1 +turbo_e_8,320,36,0 duplicate(TurboTrap_e8) trap_e8#F23 139,1,1 +turbo_e_8,324,55,0 duplicate(TurboTrap_e8) trap_e8#F24 139,1,1 +turbo_e_8,324,51,0 duplicate(TurboTrap_e8) trap_e8#F25 139,1,1 +turbo_e_8,324,47,0 duplicate(TurboTrap_e8) trap_e8#F26 139,1,1 +turbo_e_8,324,43,0 duplicate(TurboTrap_e8) trap_e8#F27 139,1,1 +turbo_e_8,324,39,0 duplicate(TurboTrap_e8) trap_e8#F28 139,1,1 +turbo_e_8,324,36,0 duplicate(TurboTrap_e8) trap_e8#F29 139,1,1 +turbo_e_8,328,56,0 duplicate(TurboTrap_e8) trap_e8#F30 139,1,1 +turbo_e_8,328,52,0 duplicate(TurboTrap_e8) trap_e8#F31 139,1,1 +turbo_e_8,328,48,0 duplicate(TurboTrap_e8) trap_e8#F32 139,1,1 +turbo_e_8,328,44,0 duplicate(TurboTrap_e8) trap_e8#F33 139,1,1 +turbo_e_8,328,40,0 duplicate(TurboTrap_e8) trap_e8#F34 139,1,1 +turbo_e_8,328,36,0 duplicate(TurboTrap_e8) trap_e8#F35 139,1,1 +turbo_e_8,332,55,0 duplicate(TurboTrap_e8) trap_e8#F36 139,1,1 +turbo_e_8,332,51,0 duplicate(TurboTrap_e8) trap_e8#F37 139,1,1 +turbo_e_8,332,47,0 duplicate(TurboTrap_e8) trap_e8#F38 139,1,1 +turbo_e_8,332,43,0 duplicate(TurboTrap_e8) trap_e8#F39 139,1,1 +turbo_e_8,332,39,0 duplicate(TurboTrap_e8) trap_e8#F40 139,1,1 +turbo_e_8,332,36,0 duplicate(TurboTrap_e8) trap_e8#F41 139,1,1 + +turbo_e_8,336,56,0 script trap_e8#F42::TurboTrap_e8_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_e_8,336,52,0 duplicate(TurboTrap_e8_2) trap_e8#F43 139,1,1 +turbo_e_8,336,48,0 duplicate(TurboTrap_e8_2) trap_e8#F44 139,1,1 +turbo_e_8,336,44,0 duplicate(TurboTrap_e8_2) trap_e8#F45 139,1,1 +turbo_e_8,336,50,0 duplicate(TurboTrap_e8_2) trap_e8#F46 139,1,1 +turbo_e_8,336,36,0 duplicate(TurboTrap_e8_2) trap_e8#F47 139,1,1 +turbo_e_8,340,55,0 duplicate(TurboTrap_e8_2) trap_e8#F48 139,1,1 + +turbo_e_8,340,51,0 duplicate(TurboTrap_e8) trap_e8#F49 139,1,1 +turbo_e_8,340,47,0 duplicate(TurboTrap_e8) trap_e8#F50 139,1,1 +turbo_e_8,340,43,0 duplicate(TurboTrap_e8) trap_e8#F51 139,1,1 +turbo_e_8,340,39,0 duplicate(TurboTrap_e8) trap_e8#F52 139,1,1 +turbo_e_8,340,36,0 duplicate(TurboTrap_e8) trap_e8#F53 139,1,1 +turbo_e_8,344,56,0 duplicate(TurboTrap_e8) trap_e8#F54 139,1,1 +turbo_e_8,344,52,0 duplicate(TurboTrap_e8) trap_e8#F55 139,1,1 +turbo_e_8,344,48,0 duplicate(TurboTrap_e8) trap_e8#F56 139,1,1 +turbo_e_8,344,44,0 duplicate(TurboTrap_e8) trap_e8#F57 139,1,1 +turbo_e_8,344,40,0 duplicate(TurboTrap_e8) trap_e8#F58 139,1,1 +turbo_e_8,344,36,0 duplicate(TurboTrap_e8) trap_e8#F59 139,1,1 +turbo_e_8,348,55,0 duplicate(TurboTrap_e8) trap_e8#F60 139,1,1 +turbo_e_8,348,51,0 duplicate(TurboTrap_e8) trap_e8#F61 139,1,1 +turbo_e_8,348,47,0 duplicate(TurboTrap_e8) trap_e8#F62 139,1,1 +turbo_e_8,348,43,0 duplicate(TurboTrap_e8) trap_e8#F63 139,1,1 +turbo_e_8,348,39,0 duplicate(TurboTrap_e8) trap_e8#F64 139,1,1 +turbo_e_8,348,36,0 duplicate(TurboTrap_e8) trap_e8#F65 139,1,1 +turbo_e_8,352,56,0 duplicate(TurboTrap_e8) trap_e8#F66 139,1,1 +turbo_e_8,352,52,0 duplicate(TurboTrap_e8) trap_e8#F67 139,1,1 +turbo_e_8,352,48,0 duplicate(TurboTrap_e8) trap_e8#F68 139,1,1 +turbo_e_8,352,44,0 duplicate(TurboTrap_e8) trap_e8#F69 139,1,1 +turbo_e_8,352,40,0 duplicate(TurboTrap_e8) trap_e8#F70 139,1,1 +turbo_e_8,352,36,0 duplicate(TurboTrap_e8) trap_e8#F71 139,1,1 +turbo_e_8,356,55,0 duplicate(TurboTrap_e8) trap_e8#F72 139,1,1 +turbo_e_8,356,51,0 duplicate(TurboTrap_e8) trap_e8#F73 139,1,1 +turbo_e_8,356,47,0 duplicate(TurboTrap_e8) trap_e8#F74 139,1,1 +turbo_e_8,356,43,0 duplicate(TurboTrap_e8) trap_e8#F75 139,1,1 +turbo_e_8,356,39,0 duplicate(TurboTrap_e8) trap_e8#F76 139,1,1 +turbo_e_8,356,36,0 duplicate(TurboTrap_e8) trap_e8#F77 139,1,1 +turbo_e_8,360,56,0 duplicate(TurboTrap_e8) trap_e8#F78 139,1,1 +turbo_e_8,360,52,0 duplicate(TurboTrap_e8) trap_e8#F79 139,1,1 +turbo_e_8,360,48,0 duplicate(TurboTrap_e8) trap_e8#F80 139,1,1 +turbo_e_8,360,44,0 duplicate(TurboTrap_e8) trap_e8#F81 139,1,1 +turbo_e_8,360,40,0 duplicate(TurboTrap_e8) trap_e8#F82 139,1,1 +turbo_e_8,360,36,0 duplicate(TurboTrap_e8) trap_e8#F83 139,1,1 +turbo_e_8,364,55,0 duplicate(TurboTrap_e8) trap_e8#F84 139,1,1 +turbo_e_8,364,51,0 duplicate(TurboTrap_e8) trap_e8#F85 139,1,1 +turbo_e_8,364,47,0 duplicate(TurboTrap_e8) trap_e8#F86 139,1,1 +turbo_e_8,364,43,0 duplicate(TurboTrap_e8) trap_e8#F87 139,1,1 +turbo_e_8,364,39,0 duplicate(TurboTrap_e8) trap_e8#F88 139,1,1 +turbo_e_8,364,36,0 duplicate(TurboTrap_e8) trap_e8#F89 139,1,1 +turbo_e_8,368,56,0 duplicate(TurboTrap_e8) trap_e8#F90 139,1,1 +turbo_e_8,368,52,0 duplicate(TurboTrap_e8) trap_e8#F91 139,1,1 +turbo_e_8,368,48,0 duplicate(TurboTrap_e8) trap_e8#F92 139,1,1 +turbo_e_8,368,44,0 duplicate(TurboTrap_e8) trap_e8#F93 139,1,1 +turbo_e_8,368,40,0 duplicate(TurboTrap_e8) trap_e8#F94 139,1,1 +turbo_e_8,368,36,0 duplicate(TurboTrap_e8) trap_e8#F95 139,1,1 + +turbo_e_8,217,214,0 script bing#e8 45,3,3,{ +OnTouch: + set .@bing1,rand(1,10); + if (.@bing1 > 0 && .@bing1 < 4) + warp "turbo_e_8",217,232; + else if (.@bing1 == 6) + warp "turbo_e_8",233,207; + else if (.@bing1 == 7) + warp "turbo_e_8",208,219; + else if (.@bing1 == 8) + warp "turbo_e_8",219,202; + else if (.@bing1 == 9) + warp "turbo_e_8",218,228; + disablenpc "bing#e8"; + enablenpc "bing2#e8"; + end; +} + +turbo_e_8,217,214,0 script bing2#e8 45,3,3,{ +OnInit: + disablenpc "bing2#e8"; + end; + +OnTouch: + set .@bing1,rand(1,10); + if (.@bing1 == 1) + warp "turbo_e_8",217,232; + else if (.@bing1 == 2) + warp "turbo_e_8",233,207; + else if (.@bing1 == 3) + warp "turbo_e_8",208,219; + else if (.@bing1 == 4) + warp "turbo_e_8",219,202; + else if (.@bing1 == 5) + warp "turbo_e_8",218,228; + else if (.@bing1 == 6) + warp "turbo_e_8",220,195; + end; +} diff --git a/npc/re/other/turbotrack/Normal_16.txt b/npc/re/other/turbotrack/Normal_16.txt new file mode 100644 index 000000000..e0be9bf5c --- /dev/null +++ b/npc/re/other/turbotrack/Normal_16.txt @@ -0,0 +1,1489 @@ +//===== rAthena Script ======================================= +//= Turbo Track - Normal - 16 Person +//===== By: ================================================== +//= L0ne_W0lf +//===== Current Version: ===================================== +//= 1.7 +//===== Compatible With: ===================================== +//= rAthena SVN +//===== Description: ========================================= +//= Turbo Track Course: Normal (Non-PVP) - 16 Person +//===== Additional Comments: ================================= +//= 1.0 Translated from the Official. [L0ne_W0lf] +//= 1.1 Fixed small official bug. [L0ne_W0lf] +//= 1.2 Replaced effect numerics with constants. [L0ne_W0lf] +//= 1.3 Fixed a little mistake [akrus] +//= 1.4 Corrected issue with top record setting. [L0ne_W0lf] +//= 1.5 Fixed name being saved under expert mode. (bugreport:4433) [L0ne_W0lf] +//= 1.6 Updated 'waitingroom' to support required zeny/lvl. [Kisuka] +//= 1.7 Fixed variable typo [Elias] +//============================================================ + +turbo_room,91,135,3 script Normal mode - 16 person 124,{ + end; + +OnInit: + waitingroom "Normal mode - 16 person",60,"Normal mode - 16 person::OnStartArena",16,1000,10,99; + enablewaitingroomevent "Normal mode - 16 person"; + end; + +OnEnable: + enablenpc "Normal mode - 16 person"; + enablewaitingroomevent "Normal mode - 16 person"; + end; + +OnStartArena: + warpwaitingpc "turbo_n_16",298,161; + donpcevent "Broadcast#n16::OnEnable"; + disablewaitingroomevent "Normal mode - 16 person"; + end; +} + +turbo_n_16,298,167,3 script Helper#n16_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_16,298,167,0 script Point Give-Away Guy#n16 -1,15,15,{ +OnInit: + disablenpc "Point Give-Away Guy#n16"; + end; + +OnTouch: + if (tt_point < 28999) { + set tt_point,tt_point+2; + warp "turbo_n_16",59,364; + } + else + warp "turbo_n_16",59,364; + end; +} + +turbo_n_16,167,3,0 script Broadcast#n16 -1,{ +OnInit: + disablenpc "Broadcast#n16"; + end; + +OnEnable: + enablenpc "Broadcast#n16"; + initnpctimer; + end; + +OnTimer2000: + mapannounce "turbo_n_16","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_16","You will have 30 seconds before you are transported to the Starting Line.",bc_map,"0x33FF66"; + end; + +OnTimer10000: + mapannounce "turbo_n_16","Please make sure that you have suitable equipment and items with you.",bc_map,"0x33FF66"; + end; + +OnTimer15000: + mapannounce "turbo_n_16","The 30 second countdown will begin shortly.",bc_map,"0x33FF66"; + end; + +OnTimer17000: + mapannounce "turbo_n_16","30 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer27000: + mapannounce "turbo_n_16","20 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer37000: + mapannounce "turbo_n_16","10 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer42000: + mapannounce "turbo_n_16","5 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer43000: + mapannounce "turbo_n_16","4 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer44000: + mapannounce "turbo_n_16","3 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer45000: + mapannounce "turbo_n_16","2 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer46000: + mapannounce "turbo_n_16","1 second remaining.",bc_map,"0x33FF66"; + end; + +OnTimer47000: + mapannounce "turbo_n_16","You will be transported to the Starting Line shortly.",bc_map,"0x33FF66"; + end; + +OnTimer49000: + enablenpc "Point Give-Away Guy#n16"; + donpcevent "Master#n16::OnEnable"; + end; + +OnTimer50000: + donpcevent "snake#n16::OnEnable"; + donpcevent "hunting#n16::OnEnable"; + disablenpc "bing#n16"; + end; + +OnTimer57000: + disablenpc "Point Give-Away Guy#n16"; + end; +} + +turbo_n_16,167,3,0 script Master#n16 -1,{ +OnInit: + disablenpc "Master#n16"; + end; + +OnEnable: + enablenpc "Master#n16"; + initnpctimer; + end; + +OnDisable: + stopnpctimer; + disablenpc "Master#e8"; + end; + +OnTimer7000: + mapannounce "turbo_n_16","Welcome to the Turbo Track.",bc_map,"0x33FF66"; + end; + +OnTimer9000: + mapannounce "turbo_n_16","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_16","We hope you will do your best.",bc_map,"0x33FF66"; + end; + +OnTimer13000: + mapannounce "turbo_n_16","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_16","The countdown will commence shortly.",bc_map,"0x33FF66"; + end; + +OnTimer17000: + mapannounce "turbo_n_16","- 5 -",bc_map,"0x33FF66"; + end; + +OnTimer18000: + mapannounce "turbo_n_16","- 4 -",bc_map,"0x33FF66"; + end; + +OnTimer19000: + mapannounce "turbo_n_16","- 3 -",bc_map,"0x33FF66"; + end; + +OnTimer20000: + mapannounce "turbo_n_16","- 2 -",bc_map,"0x33FF66"; + end; + +OnTimer21000: + mapannounce "turbo_n_16","- 1 -",bc_map,"0x33FF66"; + end; + +OnTimer22000: + mapannounce "turbo_n_16","- 0 -",bc_map,"0x33FF66"; + end; + +OnTimer23000: + mapannounce "turbo_n_16","Now! The race has begun! Go Go Go!!",bc_map,"0x33FF66"; + disablenpc "No_Unfair_Start#n16-1"; + disablenpc "No_Unfair_Start#n16-2"; + end; + +OnTimer30000: + mapannounce "turbo_n_16","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_16","You have 14 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer143000: + mapannounce "turbo_n_16","You have 13 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer203000: + mapannounce "turbo_n_16","You have 12 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer263000: + mapannounce "turbo_n_16","You have 11 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer323000: + mapannounce "turbo_n_16","You have 10 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer383000: + mapannounce "turbo_n_16","You have 9 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer443000: + mapannounce "turbo_n_16","You have 8 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer503000: + mapannounce "turbo_n_16","You have 7 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer563000: + mapannounce "turbo_n_16","You have 6 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer623000: + mapannounce "turbo_n_16","You have 5 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer683000: + mapannounce "turbo_n_16","You have 4 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer743000: + mapannounce "turbo_n_16","You have 3 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer803000: + mapannounce "turbo_n_16","You have 2 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer863000: + mapannounce "turbo_n_16","You have 1 minute left.",bc_map,"0x33FF66"; + end; + +OnTimer893000: + mapannounce "turbo_n_16","You have 30 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer903000: + mapannounce "turbo_n_16","You have 20 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer913000: + mapannounce "turbo_n_16","You have 10 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer918000: + mapannounce "turbo_n_16","You have 5 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer919000: + mapannounce "turbo_n_16","You have 4 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer920000: + mapannounce "turbo_n_16","You have 3 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer921000: + mapannounce "turbo_n_16","You have 2 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer922000: + mapannounce "turbo_n_16","You have 1 second left.",bc_map,"0x33FF66"; + end; + +OnTimer923000: + mapannounce "turbo_n_16","Time's up!",bc_map,"0x33FF66"; + end; + +OnTimer925000: + mapannounce "turbo_n_16","The race is over.",bc_map,"0x33FF66"; + end; + +OnTimer927000: + mapannounce "turbo_n_16","[Everyone will be transported to a Waiting Room.]",bc_map,"0x33FF66"; + mapwarp "turbo_n_16","turbo_room",71,89; + // all NPC OFF + disablenpc "Broadcast#n16"; + donpcevent "Master#n16::OnDisable"; + donpcevent "Normal Mode - 16 Person#n16::OnEnable"; + // start line NPC ON + enablenpc "No_Unfair_Start#n16-1"; + enablenpc "No_Unfair_Start#n16-2"; + // monster reset + donpcevent "snake#n16::Onreset"; + donpcevent "hunting#n16::Onreset"; + disablenpc "bing2#n16"; + // NPC + disablenpc "Winner Helper#TBT_n_16"; + enablenpc "cos_n_16_end"; + enablenpc "cos_n_16_end2"; + enablenpc "cos_n_16_end3"; + enablenpc "Notice_Maker1#TBT_n_16"; + enablenpc "Notice_Maker3#TBT_n_16"; + enablenpc "Notice_Maker4#TBT_n_16"; + enablenpc "Disposable_Switch#n16"; + disablenpc "Flasher_Exit_1#n16"; + disablenpc "Flasher_Exit_2#n16"; + end; +} + +turbo_n_16,62,379,0 script No_Unfair_Start#n16-1 -1,0,31,{ +OnTouch: + warp "turbo_n_16",59,364; + end; +} + +turbo_n_16,68,379,0 script No_Unfair_Start#n16-2 -1,5,31,{ +OnTouch: + warp "turbo_n_16",59,364; + end; +} + +// Turbo Track: Normal Mode - 16 Players (Log Race) +turbo_n_16,118,377,0 script trap_a#n16-1::TurboLogRace_n_16 -1,44,1,{ +OnTouch: + set .@dropuser,rand(1,3); + if (.@dropuser == 1) + warp "turbo_n_16",72,372; + else if (.@dropuser == 2) + warp "turbo_n_16",72,365; + else + warp "turbo_n_16",72,357; + end; +} +turbo_n_16,77,375,0 duplicate(TurboLogRace_n_16) trap_a#n16-2 -1,3,1 +turbo_n_16,82,375,0 duplicate(TurboLogRace_n_16) trap_a#n16-3 -1,1,1 +turbo_n_16,82,372,0 duplicate(TurboLogRace_n_16) trap_a#n16-4 -1,0,2 +turbo_n_16,83,372,0 duplicate(TurboLogRace_n_16) trap_a#n16-5 -1,0,2 +turbo_n_16,97,374,0 duplicate(TurboLogRace_n_16) trap_a#n16-6 -1,1,2 +turbo_n_16,98,374,0 duplicate(TurboLogRace_n_16) trap_a#n16-7 -1,1,2 +turbo_n_16,122,372,0 duplicate(TurboLogRace_n_16) trap_a#n16-8 -1,2,4 +turbo_n_16,125,374,0 duplicate(TurboLogRace_n_16) trap_a#n16-9 -1,0,4 +turbo_n_16,132,374,0 duplicate(TurboLogRace_n_16) trap_a#n16-10 -1,7,2 +turbo_n_16,156,374,0 duplicate(TurboLogRace_n_16) trap_a#n16-11 -1,6,2 +turbo_n_16,163,375,0 duplicate(TurboLogRace_n_16) trap_a#n16-12 -1,0,3 +turbo_n_16,164,377,0 duplicate(TurboLogRace_n_16) trap_a#n16-13 -1,1,1 +turbo_n_16,76,369,0 duplicate(TurboLogRace_n_16) trap_b#n16-1 -1,2,2 +turbo_n_16,79,369,0 duplicate(TurboLogRace_n_16) trap_b#n16-2 -1,0,2 +turbo_n_16,77,366,0 duplicate(TurboLogRace_n_16) trap_b#n16-3 -1,3,0 +turbo_n_16,85,366,0 duplicate(TurboLogRace_n_16) trap_b#n16-4 -1,5,1 +turbo_n_16,87,363,0 duplicate(TurboLogRace_n_16) trap_b#n16-5 -1,2,1 +turbo_n_16,88,368,0 duplicate(TurboLogRace_n_16) trap_b#n16-6 -1,2,5 +turbo_n_16,92,370,0 duplicate(TurboLogRace_n_16) trap_b#n16-7 -1,1,3 +turbo_n_16,98,368,0 duplicate(TurboLogRace_n_16) trap_b#n16-8 -1,4,1 +turbo_n_16,109,371,0 duplicate(TurboLogRace_n_16) trap_b#n16-9 -1,7,2 +turbo_n_16,110,368,0 duplicate(TurboLogRace_n_16) trap_b#n16-10 -1,7,0 +turbo_n_16,113,366,0 duplicate(TurboLogRace_n_16) trap_b#n16-11 -1,3,2 +turbo_n_16,117,368,0 duplicate(TurboLogRace_n_16) trap_b#n16-12 -1,0,5 +turbo_n_16,123,364,0 duplicate(TurboLogRace_n_16) trap_b#n16-13 -1,6,1 +turbo_n_16,136,368,0 duplicate(TurboLogRace_n_16) trap_b#n16-14 -1,8,1 +turbo_n_16,136,366,0 duplicate(TurboLogRace_n_16) trap_b#n16-15 -1,8,0 +turbo_n_16,144,370,0 duplicate(TurboLogRace_n_16) trap_b#n16-16 -1,2,3 +turbo_n_16,147,370,0 duplicate(TurboLogRace_n_16) trap_b#n16-17 -1,0,3 +turbo_n_16,155,369,0 duplicate(TurboLogRace_n_16) trap_b#n16-18 -1,7,0 +turbo_n_16,155,368,0 duplicate(TurboLogRace_n_16) trap_b#n16-19 -1,7,0 +turbo_n_16,151,367,0 duplicate(TurboLogRace_n_16) trap_b#n16-20 -1,3,0 +turbo_n_16,153,366,0 duplicate(TurboLogRace_n_16) trap_b#n16-21 -1,1,0 +turbo_n_16,155,367,0 duplicate(TurboLogRace_n_16) trap_b#n16-22 -1,0,1 +turbo_n_16,78,362,0 duplicate(TurboLogRace_n_16) trap_c#n16-1 -1,4,1 +turbo_n_16,78,359,0 duplicate(TurboLogRace_n_16) trap_c#n16-2 -1,4,1 +turbo_n_16,83,362,0 duplicate(TurboLogRace_n_16) trap_c#n16-3 -1,0,1 +turbo_n_16,88,359,0 duplicate(TurboLogRace_n_16) trap_c#n16-4 -1,5,1 +turbo_n_16,89,357,0 duplicate(TurboLogRace_n_16) trap_c#n16-5 -1,1,1 +turbo_n_16,92,390,0 duplicate(TurboLogRace_n_16) trap_c#n16-6 -1,1,1 +turbo_n_16,92,357,0 duplicate(TurboLogRace_n_16) trap_c#n16-7 -1,1,1 +turbo_n_16,98,364,0 duplicate(TurboLogRace_n_16) trap_c#n16-8 -1,6,1 +turbo_n_16,98,362,0 duplicate(TurboLogRace_n_16) trap_c#n16-9 -1,6,0 +turbo_n_16,106,364,0 duplicate(TurboLogRace_n_16) trap_c#n16-10 -1,2,2 +turbo_n_16,107,360,0 duplicate(TurboLogRace_n_16) trap_c#n16-11 -1,1,2 +turbo_n_16,109,360,0 duplicate(TurboLogRace_n_16) trap_c#n16-12 -1,0,2 +turbo_n_16,112,361,0 duplicate(TurboLogRace_n_16) trap_c#n16-13 -1,3,1 +turbo_n_16,116,359,0 duplicate(TurboLogRace_n_16) trap_c#n16-14 -1,0,2 +turbo_n_16,117,359,0 duplicate(TurboLogRace_n_16) trap_c#n16-15 -1,0,2 +turbo_n_16,116,356,0 duplicate(TurboLogRace_n_16) trap_c#n16-16 -1,0,2 +turbo_n_16,117,356,0 duplicate(TurboLogRace_n_16) trap_c#n16-17 -1,0,2 +turbo_n_16,129,360,0 duplicate(TurboLogRace_n_16) trap_c#n16-18 -1,12,1 +turbo_n_16,129,358,0 duplicate(TurboLogRace_n_16) trap_c#n16-19 -1,12,0 +turbo_n_16,132,357,0 duplicate(TurboLogRace_n_16) trap_c#n16-20 -1,2,1 +turbo_n_16,137,357,0 duplicate(TurboLogRace_n_16) trap_c#n16-21 -1,2,1 +turbo_n_16,147,363,0 duplicate(TurboLogRace_n_16) trap_c#n16-22 -1,16,1 +turbo_n_16,149,365,0 duplicate(TurboLogRace_n_16) trap_c#n16-23 -1,1,0 +turbo_n_16,158,362,0 duplicate(TurboLogRace_n_16) trap_c#n16-24 -1,1,4 +turbo_n_16,154,360,0 duplicate(TurboLogRace_n_16) trap_c#n16-25 -1,2,2 +turbo_n_16,161,360,0 duplicate(TurboLogRace_n_16) trap_c#n16-26 -1,1,2 +turbo_n_16,161,365,0 duplicate(TurboLogRace_n_16) trap_c#n16-27 -1,1,0 +turbo_n_16,160,366,0 duplicate(TurboLogRace_n_16) trap_c#n16-28 -1 +turbo_n_16,79,353,0 duplicate(TurboLogRace_n_16) trap_d#n16-1 -1,5,2 +turbo_n_16,85,354,0 duplicate(TurboLogRace_n_16) trap_d#n16-2 -1,0,1 +turbo_n_16,99,353,0 duplicate(TurboLogRace_n_16) trap_d#n16-3 -1,14,0 +turbo_n_16,99,352,0 duplicate(TurboLogRace_n_16) trap_d#n16-4 -1,14,0 +turbo_n_16,99,356,0 duplicate(TurboLogRace_n_16) trap_d#n16-5 -1,3,3 +turbo_n_16,103,356,0 duplicate(TurboLogRace_n_16) trap_d#n16-6 -1,0,3 +turbo_n_16,108,354,0 duplicate(TurboLogRace_n_16) trap_d#n16-7 -1,5,1 +turbo_n_16,112,356,0 duplicate(TurboLogRace_n_16) trap_d#n16-8 -1,0,1 +turbo_n_16,113,356,0 duplicate(TurboLogRace_n_16) trap_d#n16-9 -1,0,1 +turbo_n_16,123,353,0 duplicate(TurboLogRace_n_16) trap_d#n16-10 -1,3,2 +turbo_n_16,127,353,0 duplicate(TurboLogRace_n_16) trap_d#n16-11 -1,0,2 +turbo_n_16,145,352,0 duplicate(TurboLogRace_n_16) trap_d#n16-12 -1,17,1 +turbo_n_16,152,354,0 duplicate(TurboLogRace_n_16) trap_d#n16-13 -1,10,1 +turbo_n_16,145,357,0 duplicate(TurboLogRace_n_16) trap_d#n16-14 -1,1,2 +turbo_n_16,148,357,0 duplicate(TurboLogRace_n_16) trap_d#n16-15 -1,1,2 + +// Turbo Track: Normal Mode - 16 Players (Sand Hill) +turbo_n_16,322,354,0 script #TBT_trap_n16-1::TurboSandHill_n16 -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_16,323,360,0 duplicate(TurboSandHill_n16) #TBT_trap_n16-2 -1,3,3 +turbo_n_16,324,365,0 duplicate(TurboSandHill_n16) #TBT_trap_n16-3 -1,1,1 +turbo_n_16,325,370,0 duplicate(TurboSandHill_n16) #TBT_trap_n16-4 -1,3,3 +turbo_n_16,325,375,0 duplicate(TurboSandHill_n16) #TBT_trap_n16-5 -1,1,1 +turbo_n_16,329,377,0 duplicate(TurboSandHill_n16) #TBT_trap_n16-6 -1,3,3 +turbo_n_16,338,372,0 duplicate(TurboSandHill_n16) #TBT_trap_n16-7 -1,3,3 +turbo_n_16,341,364,0 duplicate(TurboSandHill_n16) #TBT_trap_n16-8 -1,3,3 +turbo_n_16,325,359,0 duplicate(TurboSandHill_n16) #TBT_trap_n16-9 -1,2,2 +turbo_n_16,341,355,0 duplicate(TurboSandHill_n16) #TBT_trap_n16-10 -1,1,1 +turbo_n_16,350,355,0 duplicate(TurboSandHill_n16) #TBT_trap_n16-11 -1,3,3 +turbo_n_16,348,363,0 duplicate(TurboSandHill_n16) #TBT_trap_n16-12 -1,1,1 +turbo_n_16,347,370,0 duplicate(TurboSandHill_n16) #TBT_trap_n16-13 -1,2,2 +turbo_n_16,349,377,0 duplicate(TurboSandHill_n16) #TBT_trap_n16-14 -1,9,9 +turbo_n_16,362,372,0 duplicate(TurboSandHill_n16) #TBT_trap_n16-15 -1,3,3 +turbo_n_16,364,365,0 duplicate(TurboSandHill_n16) #TBT_trap_n16-16 -1,1,1 +turbo_n_16,363,357,0 duplicate(TurboSandHill_n16) #TBT_trap_n16-17 -1,3,3 +turbo_n_16,374,358,0 duplicate(TurboSandHill_n16) #TBT_trap_n16-18 -1,2,2 +turbo_n_16,371,367,0 duplicate(TurboSandHill_n16) #TBT_trap_n16-19 -1,3,3 +turbo_n_16,371,376,0 duplicate(TurboSandHill_n16) #TBT_trap_n16-20 -1,1,1 +turbo_n_16,379,375,0 duplicate(TurboSandHill_n16) #TBT_trap_n16-21 -1,3,3 +turbo_n_16,382,363,0 duplicate(TurboSandHill_n16) #TBT_trap_n16-22 -1,2,2 +turbo_n_16,381,354,0 duplicate(TurboSandHill_n16) #TBT_trap_n16-23 -1,1,1 +turbo_n_16,355,362,0 script #TBT_trap_n16-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[Union Staff Kay]"; + mes "Of course I love 'em, especially their Pushcart Service~"; + mes " "; + mes "[Santa Claus]"; + mes "Ho ho ho!"; + mes "Such Merry Prices!"; + 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: Normal Mode - 16 Players (Water Maze) +turbo_n_16,13,266,0 script flasher#n16-01::TurboWaterMaze_n_16 -1,0,2,{ +OnTouch: + sc_start SC_BLIND,60000,0; + end; +} +turbo_n_16,24,268,0 duplicate(TurboWaterMaze_n_16) flasher#n16-02 -1,1,0 +turbo_n_16,20,258,0 duplicate(TurboWaterMaze_n_16) flasher#n16-03 -1,1,0 +turbo_n_16,23,251,0 duplicate(TurboWaterMaze_n_16) flasher#n16-04 -1,0,1 +turbo_n_16,36,270,0 duplicate(TurboWaterMaze_n_16) flasher#n16-05 -1,1,0 +turbo_n_16,22,239,0 duplicate(TurboWaterMaze_n_16) flasher#n16-06 -1,1,0 +turbo_n_16,38,239,0 duplicate(TurboWaterMaze_n_16) flasher#n16-07 -1,0,1 +turbo_n_16,37,237,0 duplicate(TurboWaterMaze_n_16) flasher#n16-08 -1,1,0 +turbo_n_16,55,247,0 duplicate(TurboWaterMaze_n_16) flasher#n16-09 -1,0,1 +turbo_n_16,55,246,0 duplicate(TurboWaterMaze_n_16) flasher#n16-10 -1,1,0 +turbo_n_16,63,253,0 duplicate(TurboWaterMaze_n_16) flasher#n16-11 -1,0,1 +turbo_n_16,36,216,0 duplicate(TurboWaterMaze_n_16) flasher#n16-12 -1,1,0 +turbo_n_16,20,209,0 duplicate(TurboWaterMaze_n_16) flasher#n16-13 -1,1,0 +turbo_n_16,28,195,0 duplicate(TurboWaterMaze_n_16) flasher#n16-14 -1,1,0 +turbo_n_16,82,264,0 duplicate(TurboWaterMaze_n_16) flasher#n16-15 -1,1,0 +turbo_n_16,47,185,0 duplicate(TurboWaterMaze_n_16) flasher#n16-16 -1,0,1 +turbo_n_16,53,207,0 duplicate(TurboWaterMaze_n_16) flasher#n16-17 -1,1,0 +turbo_n_16,54,208,0 duplicate(TurboWaterMaze_n_16) flasher#n16-18 -1,0,1 +turbo_n_16,81,247,0 duplicate(TurboWaterMaze_n_16) flasher#n16-19 -1,0,1 +turbo_n_16,105,257,0 duplicate(TurboWaterMaze_n_16) flasher#n16-20 -1,0,1 +turbo_n_16,95,242,0 duplicate(TurboWaterMaze_n_16) flasher#n16-21 -1,0,1 +turbo_n_16,77,232,0 duplicate(TurboWaterMaze_n_16) flasher#n16-22 -1,2,0 +turbo_n_16,67,222,0 duplicate(TurboWaterMaze_n_16) flasher#n16-23 -1,2,0 +turbo_n_16,83,206,0 duplicate(TurboWaterMaze_n_16) flasher#n16-24 -1,0,1 +turbo_n_16,95,224,0 duplicate(TurboWaterMaze_n_16) flasher#n16-25 -1,0,1 +turbo_n_16,106,220,0 duplicate(TurboWaterMaze_n_16) flasher#n16-26 -1,2,0 +turbo_n_16,93,191,0 duplicate(TurboWaterMaze_n_16) flasher#n16-27 -1,1,0 +turbo_n_16,94,192,0 duplicate(TurboWaterMaze_n_16) flasher#n16-28a -1,0,1 +turbo_n_16,46,214,0 duplicate(TurboWaterMaze_n_16) flasher#n16-28b -1,0,1 +turbo_n_16,16,247,0 duplicate(TurboWaterMaze_n_16) flasher#n16-29 -1,1,0 +turbo_n_16,58,268,0 duplicate(TurboWaterMaze_n_16) flasher#n16-30 -1,1,1 +turbo_n_16,36,253,0 duplicate(TurboWaterMaze_n_16) flasher#n16-31 -1,1,0 +turbo_n_16,69,238,0 duplicate(TurboWaterMaze_n_16) flasher#n16-32 -1,1,1 +turbo_n_16,58,268,0 duplicate(TurboWaterMaze_n_16) flasher#n16-33 -1,1,1 +turbo_n_16,74,188,0 duplicate(TurboWaterMaze_n_16) flasher#n16-34 -1,2,0 +turbo_n_16,99,207,0 duplicate(TurboWaterMaze_n_16) flasher#n16-35 -1,1,1 +turbo_n_16,74,188,0 duplicate(TurboWaterMaze_n_16) flasher#n16-36 -1,2,0 +turbo_n_16,111,188,0 duplicate(TurboWaterMaze_n_16) flasher#n16-37a -1,1,0 +turbo_n_16,51,232,0 duplicate(TurboWaterMaze_n_16) flasher#n16-37b -1,1,1 +turbo_n_16,30,232,0 duplicate(TurboWaterMaze_n_16) flasher#n16-38 -1,1,1 +turbo_n_16,92,256,0 duplicate(TurboWaterMaze_n_16) flasher#n16-39 -1,1,1 +turbo_n_16,79,220,0 duplicate(TurboWaterMaze_n_16) flasher#n16-40 -1,1,1 +turbo_n_16,51,192,0 duplicate(TurboWaterMaze_n_16) flasher#n16-41 -1,1,1 +turbo_n_16,22,227,0 duplicate(TurboWaterMaze_n_16) flasher#n16-42 -1,1,1 +turbo_n_16,51,232,0 duplicate(TurboWaterMaze_n_16) flasher#n16-43 -1,1,1 +turbo_n_16,42,258,0 duplicate(TurboWaterMaze_n_16) flasher#n16-44 -1,1,0 +turbo_n_16,45,271,0 duplicate(TurboWaterMaze_n_16) flasher#n16-45 -1,2,1 +turbo_n_16,72,207,0 duplicate(TurboWaterMaze_n_16) flasher#n16-46 -1,1,1 +turbo_n_16,33,192,0 duplicate(TurboWaterMaze_n_16) flasher#n16-47 -1,0,1 +turbo_n_16,90,241,0 duplicate(TurboWaterMaze_n_16) flasher#n16-48a -1,1,0 +turbo_n_16,236,3,0 duplicate(TurboWaterMaze_n_16) flasher#n16-48b -1,3,0 + +// Turbo Track: Normal Mode - 16 Players (Snake Dice course) +turbo_n_16,324,279,0 script snake01#n16 45,1,1,{ +OnTouch: + set .@turbo2,rand(1,7); + if (.@turbo2 > 0) && (.@turbo2 < 3) + warp "turbo_n_16",370,292; + else if (.@turbo2 > 2) && (.@turbo2 < 5) + warp "turbo_n_16",295,293; + else if (.@turbo2 > 4) && (.@turbo2 < 7) + warp "turbo_n_16",355,292; + else + warp "turbo_n_16",279,292; + end; +} + +turbo_n_16,332,279,0 script snake02#n16 45,1,1,{ +OnTouch: + set .@turbo2,rand(1,8); + if (.@turbo2 > 0) && (.@turbo2 < 3) + warp "turbo_n_16",287,256; + else if (.@turbo2 > 2) && (.@turbo2 < 5) + warp "turbo_n_16",303,256; + else if (.@turbo2 > 4) && (.@turbo2 < 7) + warp "turbo_n_16",347,256; + else + warp "turbo_n_16",363,256; + end; +} + +turbo_n_16,324,270,0 script snake03#n16 45,1,1,{ +OnTouch: + set .@turbo2,rand(1,8); + if (.@turbo2 > 0) && (.@turbo2 < 3) + warp "turbo_n_16",279,292; + else if (.@turbo2 > 2) && (.@turbo2 < 5) + warp "turbo_n_16",311,292; + else if (.@turbo2 > 4) && (.@turbo2 < 7) + warp "turbo_n_16",347,256; + else + warp "turbo_n_16",370,292; + end; +} + +turbo_n_16,332,270,0 script snake04#n16 45,1,1,{ +OnTouch: + set .@turbo2,rand(1,7); + if (.@turbo2 > 0) && (.@turbo2 < 3) + warp "turbo_n_16",363,256; + else if (.@turbo2 > 2) && (.@turbo2 < 5) + warp "turbo_n_16",295,293; + else if (.@turbo2 > 4) && (.@turbo2 < 7) + warp "turbo_n_16",355,292; + else + warp "turbo_n_16",287,256; + end; +} + +//monsters +turbo_n_16,389,288,0 script snake#n16 111,{ +Onreset: + killmonsterall "turbo_n_16"; + end; + +OnEnable: + monster "turbo_n_16",279,284,"Archer Skeleton",1420,1; + monster "turbo_n_16",279,280,"Archer Skeleton",1420,1; + monster "turbo_n_16",279,268,"Archer Skeleton",1420,1; + monster "turbo_n_16",279,264,"Archer Skeleton",1420,1; + monster "turbo_n_16",279,260,"Archer Skeleton",1420,1; + monster "turbo_n_16",287,288,"Archer Skeleton",1420,1; + monster "turbo_n_16",287,284,"Archer Skeleton",1420,1; + monster "turbo_n_16",287,280,"Archer Skeleton",1420,1; + monster "turbo_n_16",287,268,"Archer Skeleton",1420,1; + monster "turbo_n_16",287,264,"Archer Skeleton",1420,1; + monster "turbo_n_16",295,284,"Archer Skeleton",1420,1; + monster "turbo_n_16",295,280,"Archer Skeleton",1420,1; + monster "turbo_n_16",295,268,"Archer Skeleton",1420,1; + monster "turbo_n_16",295,264,"Archer Skeleton",1420,1; + monster "turbo_n_16",295,260,"Archer Skeleton",1420,1; + monster "turbo_n_16",303,288,"Archer Skeleton",1420,1; + monster "turbo_n_16",303,284,"Archer Skeleton",1420,1; + monster "turbo_n_16",303,280,"Archer Skeleton",1420,1; + monster "turbo_n_16",303,268,"Archer Skeleton",1420,1; + monster "turbo_n_16",303,264,"Archer Skeleton",1420,1; + monster "turbo_n_16",311,284,"Archer Skeleton",1420,1; + monster "turbo_n_16",311,280,"Archer Skeleton",1420,1; + monster "turbo_n_16",311,268,"Archer Skeleton",1420,1; + monster "turbo_n_16",311,264,"Archer Skeleton",1420,1; + monster "turbo_n_16",311,260,"Archer Skeleton",1420,1; + monster "turbo_n_16",347,288,"Archer Skeleton",1420,1; + monster "turbo_n_16",347,284,"Archer Skeleton",1420,1; + monster "turbo_n_16",347,280,"Archer Skeleton",1420,1; + monster "turbo_n_16",347,268,"Archer Skeleton",1420,1; + monster "turbo_n_16",347,264,"Archer Skeleton",1420,1; + monster "turbo_n_16",355,284,"Archer Skeleton",1420,1; + monster "turbo_n_16",355,280,"Archer Skeleton",1420,1; + monster "turbo_n_16",355,268,"Archer Skeleton",1420,1; + monster "turbo_n_16",355,264,"Archer Skeleton",1420,1; + monster "turbo_n_16",355,260,"Archer Skeleton",1420,1; + monster "turbo_n_16",363,288,"Archer Skeleton",1420,1; + monster "turbo_n_16",363,284,"Archer Skeleton",1420,1; + monster "turbo_n_16",363,280,"Archer Skeleton",1420,1; + monster "turbo_n_16",363,268,"Archer Skeleton",1420,1; + monster "turbo_n_16",363,264,"Archer Skeleton",1420,1; + monster "turbo_n_16",371,284,"Archer Skeleton",1420,1; + monster "turbo_n_16",371,280,"Archer Skeleton",1420,1; + monster "turbo_n_16",371,268,"Archer Skeleton",1420,1; + monster "turbo_n_16",371,264,"Archer Skeleton",1420,1; + monster "turbo_n_16",371,260,"Archer Skeleton",1420,1; + monster "turbo_n_16",379,288,"Archer Skeleton",1420,1; + monster "turbo_n_16",379,284,"Archer Skeleton",1420,1; + monster "turbo_n_16",379,280,"Archer Skeleton",1420,1; + monster "turbo_n_16",379,268,"Archer Skeleton",1420,1; + monster "turbo_n_16",379,264,"Archer Skeleton",1420,1; + end; +} + +turbo_n_16,90,46,0 script hunting#n16 111,{ +Onreset: + killmonsterall "turbo_n_16"; + end; + +OnEnable: + monster "turbo_n_16",47,87,"Munak",1610,1; + monster "turbo_n_16",47,87,"Bongun",1611,1; + monster "turbo_n_16",47,87,"Munak",1610,1; + monster "turbo_n_16",24,74,"Munak",1610,1; + monster "turbo_n_16",24,74,"Bongun",1611,1; + monster "turbo_n_16",24,74,"Munak",1610,1; + monster "turbo_n_16",67,42,"Munak",1610,1; + monster "turbo_n_16",67,42,"Bongun",1611,1; + monster "turbo_n_16",67,42,"Munak",1610,1; + monster "turbo_n_16",60,70,"Munak",1610,1; + monster "turbo_n_16",60,70,"Bongun",1611,1; + monster "turbo_n_16",60,70,"Munak",1610,1; + monster "turbo_n_16",32,51,"Munak",1610,1; + monster "turbo_n_16",32,51,"Bongun",1611,1; + monster "turbo_n_16",32,51,"Munak",1610,1; + monster "turbo_n_16",30,25,"Munak",1610,1; + monster "turbo_n_16",30,25,"Bongun",1611,1; + monster "turbo_n_16",30,25,"Munak",1610,1; + monster "turbo_n_16",68,56,"Munak",1610,1; + monster "turbo_n_16",68,56,"Munak",1610,1; + monster "turbo_n_16",68,56,"Yao Jun",1612,1; + monster "turbo_n_16",26,46,"Munak",1610,1; + monster "turbo_n_16",26,46,"Munak",1610,1; + monster "turbo_n_16",26,46,"Yao Jun",1612,1; + monster "turbo_n_16",62,20,"Munak",1610,1; + monster "turbo_n_16",62,20,"Bongun",1611,1; + monster "turbo_n_16",62,20,"Munak",1610,1; + monster "turbo_n_16",216,378,"Munak",1610,1; + monster "turbo_n_16",218,360,"Munak",1610,1; + monster "turbo_n_16",223,361,"Munak",1610,1; + monster "turbo_n_16",243,342,"Munak",1610,1; + monster "turbo_n_16",247,364,"Munak",1610,1; + end; +} + +// Turbo Track: Normal Mode - 16 Players (Water Maze) +turbo_n_16,179,55,0 script #n16Intersectiona::TurboHint_n16_1 -1,1,1,{ +OnTouch: + emotion e_what,1; + end; +} +turbo_n_16,184,45,0 duplicate(TurboHint_n16_1) #n16Intersectionb -1,1,1 +turbo_n_16,181,30,0 duplicate(TurboHint_n16_1) #n16Intersectionc -1,1,1 +turbo_n_16,186,28,0 duplicate(TurboHint_n16_1) #n16Intersectiond -1,1,1 +turbo_n_16,183,19,0 duplicate(TurboHint_n16_1) #n16Intersectione -1,1,1 +turbo_n_16,191,37,0 duplicate(TurboHint_n16_1) #n16Intersectionf -1,1,1 +turbo_n_16,173,25,0 duplicate(TurboHint_n16_1) #n16Intersectiong -1,1,1 +turbo_n_16,201,21,0 duplicate(TurboHint_n16_1) #n16Intersectionh -1,1,1 +turbo_n_16,222,21,0 duplicate(TurboHint_n16_1) #n16Intersectioni -1,1,1 +turbo_n_16,214,39,0 duplicate(TurboHint_n16_1) #n16Intersectionj -1,1,1 +turbo_n_16,222,48,0 duplicate(TurboHint_n16_1) #n16Intersectionk -1,1,1 +turbo_n_16,214,60,0 duplicate(TurboHint_n16_1) #n16Intersectionl -1,1,1 +turbo_n_16,209,61,0 duplicate(TurboHint_n16_1) #n16Intersectionm -1,1,1 +turbo_n_16,208,56,0 duplicate(TurboHint_n16_1) #n16Intersectionn -1,1,1 + +turbo_n_16,178,63,0 script #n16CorrectPath1::TurboHint_n16_2 -1,1,1,{ +OnTouch: + emotion e_gasp,1; +} +turbo_n_16,182,40,0 duplicate(TurboHint_n16_2) #n16CorrectPath2 -1,1,1 +turbo_n_16,176,29,0 duplicate(TurboHint_n16_2) #n16CorrectPath3 -1,1,1 +turbo_n_16,180,25,0 duplicate(TurboHint_n16_2) #n16CorrectPath4 -1,1,1 +turbo_n_16,201,157,0 duplicate(TurboHint_n16_2) #n16CorrectPath5 -1,1,1 +turbo_n_16,203,65,0 duplicate(TurboHint_n16_2) #n16CorrectPath6 -1,1,1 +turbo_n_16,208,52,0 duplicate(TurboHint_n16_2) #n16CorrectPath7 -1,1,1 +turbo_n_16,208,26,0 duplicate(TurboHint_n16_2) #n16CorrectPath8 -1,1,1 +turbo_n_16,191,30,0 duplicate(TurboHint_n16_2) #n16CorrectPath9 -1,1,1 + +turbo_n_16,187,55,0 script #n16NoWayOut1::TurboHint_n16_3 -1,1,1,{ +OnTouch: + emotion e_swt2,1; + if (rand(1,4) == 3) + emotion e_gasp; + end; +} +turbo_n_16,176,45,0 duplicate(TurboHint_n16_3) #n16NoWayOut2 -1,1,1 +turbo_n_16,222,26,0 duplicate(TurboHint_n16_3) #n16NoWayOut3 -1,1,1 +turbo_n_16,219,39,0 duplicate(TurboHint_n16_3) #n16NoWayOut4 -1,1,1 +turbo_n_16,222,45,0 script #n16NoWayOut5 -1,1,1,{ +OnTouch: + emotion e_swt2,1; + end; +} +turbo_n_16,222,61,0 duplicate(TurboHint_n16_3) #n16NoWayOut6 -1,1,1 +turbo_n_16,222,65,0 duplicate(TurboHint_n16_3) #n16NoWayOut7 -1,1,1 + +// Turbo Track: Normal Mode - 16 Players (Course-clear broadcasters, and exits?) +turbo_n_16,168,363,0 script cos_n_16_1 45,1,1,{ +OnTouch: + mapannounce "turbo_n_16","" + strcharinfo(0) +" has just passed the Log Bridge course!",bc_map,"0x70DBDB"; + set .@move1,rand(1,3); + if (.@move1 == 1) + warp "turbo_n_16",210,369; + else if (.@move1 == 2) + warp "turbo_n_16",210,361; + else + warp "turbo_n_16",210,354; + end; +} + +turbo_n_16,258,364,0 script cos_n_16_2 45,1,1,{ +OnTouch: + mapannounce "turbo_n_16","" + strcharinfo(0) +" has just passed the Cube Hills course!",bc_map,"0x70DBDB"; + warp "turbo_n_16",316,365; + end; +} + +turbo_n_16,316,365,0 script Disposable_Switch#n16 -1,1,1,{ +OnInit: + enablenpc "Disposable_Switch#n16"; + end; + +OnTouch: + if (rand(1,2) == 1) + enablenpc "Flasher_Exit_1#n16"; + else + enablenpc "Flasher_Exit_2#n16"; + disablenpc "Disposable_Switch#n16"; + end; +} + +turbo_n_16,385,365,0 script cos_n_16_3 45,1,1,{ +OnTouch: + set .@to_miro,rand(1,4); + mapannounce "turbo_n_16","" + strcharinfo(0) +" has just passed the Cursed Desert!",bc_map,"0x70DBDB"; + if (.@to_miro == 1) + warp "turbo_n_16",46,254; + else if (.@to_miro == 2) + warp "turbo_n_16",76,227; + else if (.@to_miro == 3) + warp "turbo_n_16",42,197; + else + warp "turbo_n_16",86,220; + end; +} + +turbo_n_16,11,266,0 script Flasher_Exit_1#n16 45,1,1,{ +OnInit: + disablenpc "Flasher_Exit_1#n16"; + end; + +OnTouch: + mapannounce "turbo_n_16","" + strcharinfo(0) +" has just passed the Flasher Maze!",bc_map,"0x70DBDB"; + warp "turbo_n_16",185,227; + end; +} + +turbo_n_16,114,190,0 script Flasher_Exit_2#n16 45,1,1,{ +OnInit: + disablenpc "Flasher_Exit_2#n16"; + end; + +OnTouch: + mapannounce "turbo_n_16","" + strcharinfo(0) +" has just passed the Flasher Maze!",bc_map,"0x70DBDB"; + warp "turbo_n_16",185,227; + end; +} + +turbo_n_16,250,200,0 script cos_n_16_5 45,1,1,{ +OnTouch: + mapannounce "turbo_n_16","" + strcharinfo(0) +" has just passed the Single Snail course!",bc_map,"0x70DBDB"; + warp "turbo_n_16",268,275; + end; +} + +turbo_n_16,389,275,0 script cos_n_16_6 45,1,1,{ +OnTouch: + mapannounce "turbo_n_16","" + strcharinfo(0) +" has just passed the Snake Dice course!",bc_map,"0x70DBDB"; + warp "turbo_n_16",5,91; + end; +} + +turbo_n_16,93,19,0 script cos_n_16_7 45,1,1,{ +OnTouch: + mapannounce "turbo_n_16","" + strcharinfo(0) +" has just passed the Small Cave course!",bc_map,"0x70DBDB"; + warp "turbo_n_16",167,55; + end; +} + +turbo_n_16,232,14,0 script cos_n_16_8 45,1,1,{ +OnTouch: + mapannounce "turbo_n_16","" + strcharinfo(0) +" has just passed the Invisible Maze! Hurry, you're almost at the finish!",bc_map,"0x70DBDB"; + set .@move1,rand(1,3); + if (.@move1 == 1) + warp "turbo_n_16",307,52; + else if (.@move1 == 2) + warp "turbo_n_16",307,46; + else + warp "turbo_n_16",307,40; + end; +} + +turbo_n_16,371,47,0 script cos_n_16_end 45,1,1,{ +OnInit: + enablenpc "cos_n_16_end"; + end; + +OnTouch: + mapannounce "turbo_n_16","" + strcharinfo(0) +" has just arrived at the Finish Line! Congratulations!",bc_map,"0xFFFF00"; + set $ttnames$[3],strcharinfo(0); + donpcevent "TBT_Guide#Broadcast::Onwin_n16"; + if (tt_point < 28941) + set tt_point,tt_point+60; + warp "turbo_n_16",384,161; + enablenpc "Winner Helper#TBT_n_16"; + disablenpc "cos_n_16_end"; + enablenpc "cos_n_16_end2"; + end; +} + +turbo_n_16,371,51,0 script cos_n_16_end2 45,1,1,{ +OnInit: + disablenpc "cos_n_16_end2"; + end; + +OnTouch: + mapannounce "turbo_n_16","" + strcharinfo(0) +" is Second to arrive at the Finish Line! Congratulations!",bc_map,"0xFFFF00"; + if (tt_point < 28951) + set tt_point,tt_point+50; + warp "turbo_room",72,89; + disablenpc "cos_n_16_end2"; + enablenpc "cos_n_16_end3"; + end; +} + +turbo_n_16,371,43,0 script cos_n_16_end3 45,1,1,{ +OnInit: + disablenpc "cos_n_16_end3"; + end; + +OnTouch: + mapannounce "turbo_n_16","" + strcharinfo(0) +" is Third to arrive at the Finish Line! Congratulations!",bc_map,"0xFFFF00"; + if (tt_point < 28961) + set tt_point,tt_point+40; + warp "turbo_room",72,89; + donpcevent "Winner Helper#TBT_n_16::OnEnable"; + donpcevent "Master#n16::OnDisable"; + disablenpc "Broadcast#n16"; + disablenpc "cos_n_16_end3"; + end; +} + +turbo_n_16,384,167,1 script Winner Helper#TBT_n_16 47,{ + if (tt_rank < 29999) { + mes "[Guide]"; + mes "Congratulations!"; + mes "As the winner, your reward"; + mes "is 40 Turbo Track Points,"; + mes ""+ strcharinfo(0) +"~"; + next; + mes "[Guide]"; + mes "However, you cannot receive"; + mes "any points if you exceed the"; + mes "point limit. You now have a total of " + my_point + " Turbo Track points."; + set tt_rank,tt_rank+1; + next; + if (tt_rank > $ttranks[1]) { + setarray $ttranks[0],$ttranks[0],tt_rank,$ttranks[1],$ttranks[2],$ttranks[3],$ttranks[4]; + setarray $ttnames$[9],strcharinfo(0); + mes "[Guide]"; + mes "Congratulations!"; + mes "You are ranked as"; + mes "the top player for"; + mes "winning the most games!"; + donpcevent "TBT_Guide#Broadcast::Onnew_top1"; + if (tt_rank == 29999) { + if ($ttnames$[7] == "Breezy Havana") { + set $ttnames$[7],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + else if ($ttnames$[8] == "RS125") { + set $ttnames$[8],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + //broadcastserver "FF0000" FW_NORMAL 10 0 0 " " + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!" + } + } + } + else if (tt_rank > $ttranks[2]) { + setarray $ttranks[0],$ttranks[0],$ttranks[1],tt_rank,$ttranks[3],$ttranks[4],$ttranks[5]; + setarray $ttnames$[10],strcharinfo(0); + mes "[Guide]"; + mes "Congratulations!"; + mes "You've ranked Second"; + mes "among the Top Five Players"; + mes "who've won the most games!"; + donpcevent "TBT_Guide#Broadcast::Onnew_top2"; + if (tt_rank == 29999) { + if ($ttnames$[7] == "Breezy Havana") { + set $ttnames$[7],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + else if ($ttnames$[8] == "RS125") { + set $ttnames$[8],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + } + } + else if (tt_rank > $ttranks[3]) { + setarray $ttranks[0],$ttranks[0],$ttranks[1],$ttranks[2],tt_rank,$ttranks[4],$ttranks[5]; + setarray $ttnames$[11],strcharinfo(0); + mes "[Guide]"; + mes "Congratulations!"; + mes "You've ranked Third"; + mes "among the Top Five Players"; + mes "who've won the most games!"; + donpcevent "TBT_Guide#Broadcast::Onnew_top3"; + if (tt_rank == 29999) { + if ($ttnames$[7] == "Breezy Havana") { + set $ttnames$[7],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + else if ($ttnames$[8] == "RS125") { + set $ttnames$[8],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + } + } + else if (tt_rank > $ttranks[4]) { + setarray $ttranks[0],$ttranks[0],$ttranks[1],$ttranks[2],$ttranks[3],tt_rank,$ttranks[5]; + setarray $ttnames$[12],strcharinfo(0); + mes "[Guide]"; + mes "Congratulations!"; + mes "You've ranked Fourth"; + mes "among the Top Five Players"; + mes "who've won the most games!"; + donpcevent "TBT_Guide#Broadcast::Onnew_top4"; + if (tt_rank == 29999) { + if ($ttnames$[7] == "Breezy Havana") { + set $ttnames$[7],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + else if ($ttnames$[8] == "RS125") { + set $ttnames$[8],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + } + } + else if (tt_rank > $ttranks[5]) { + setarray $ttranks[0],$ttranks[0],$ttranks[1],$ttranks[2],$ttranks[3],$ttranks[4],tt_rank; + setarray $ttnames$[13],strcharinfo(0); + mes "[Guide]"; + mes "Congratulations!"; + mes "You've ranked Fifth"; + mes "among the Top Five Players"; + mes "who've won the most games!"; + donpcevent "TBT_Guide#Broadcast::Onnew_top5"; + if (tt_rank == 29999) { + if ($ttnames$[7] == "Breezy Havana") { + set $ttnames$[7],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + else if ($ttnames$[8] == "RS125") { + set $ttnames$[8],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + } + } + else { + mes "[Guide]"; + mes "If you can win more games"; + mes "than everybody else, your"; + mes "name will be registered in"; + mes "our Top Five Player Ranking."; + next; + mes "[Guide]"; + mes "What do you"; + mes "think, " + strcharinfo(0) +"?"; + mes "Glory can be yours if"; + mes "you can achieve victory!"; + } + next; + mes "[Guide]"; + mes "Thank you for"; + mes "participating in"; + mes "the Turbo Track."; + mes "You will be transported"; + mes "to a Waiting Room shortly."; + close2; + warp "turbo_room",72,89; + end; + } + else { + if ($ttnames$[7] == strcharinfo(0)) { + mes "[Guide]"; + mes "Oh wow!"; + mes "You're a member"; + mes "in our Hall of Honor,"; + mes "aren't you? This is great!"; + mes "I'm talking to a living legend!"; + next; + mes "[Guide]"; + mes "Oh, I'm sorry! You're"; + mes "here so that I can tell you"; + mes "how many Turbo Track Points"; + set my_point,tt_point; + mes "you have, right? You've got a total of " + my_point + " Turbo Track Points, "+ strcharinfo(0) +"."; + next; + mes "[Guide]"; + mes "Oh, and thanks for"; + mes "participating in the"; + mes "Turbo Track! You'll be sent"; + mes "to the Waiting Room soon~"; + close2; + warp "turbo_room",72,89; + end; + } + else if ($ttnames$[8] == strcharinfo(0)) { + mes "[Guide]"; + mes "Hey, aren't you"; + mes "in our Hall of Honor?"; + mes "I've been watching your"; + mes "races... You're pretty quick"; + mes "on your feet, hotshot~"; + next; + mes "[Guide]"; + mes "Oh right, your current"; + set my_point,tt_point; + mes "Turbo Track Point total!"; + mes "You've got a total of"; + mes "" + my_point + " Turbo Track points,"; + mes "" + strcharinfo(0) + "."; + next; + mes "[Guide]"; + mes "Oh, and thanks for"; + mes "participating in the"; + mes "Turbo Track! You'll be sent"; + mes "to the Waiting Room soon~"; + close2; + warp "turbo_room",72,89; + end; + } + else { + mes "[Guide]"; + mes "Awwww~"; + mes "You were almost able"; + mes "to join our Hall of Honor...!"; + mes "But don't let that get you"; + mes "down. Maybe next time!"; + next; + mes "[Guide]"; + mes "Oh, right."; + mes "Currently, you"; + mes "have a total of"; + mes "" + tt_point + " Turbo Track points."; + next; + mes "[Guide]"; + mes "Thank you for"; + mes "participating in"; + mes "the Turbo Track."; + mes "You will be transported"; + mes "to a Waiting Room shortly."; + close2; + warp "turbo_room",72,89; + end; + } + } + +OnInit: + disablenpc "Winner Helper#TBT_n_16"; + end; + +OnEnable: + enablenpc "Winner Helper#TBT_n_16"; + initnpctimer; + end; + +OnTimer5000: + mapannounce "turbo_n_16","This is the ending broadcast for Turbo Track Normal Mode - 16 person.",bc_map,"0x33FF66"; + end; + +OnTimer10000: + mapannounce "turbo_n_16","For smooth game play, the game will end in approximately 1 minute.",bc_map,"0x33FF66"; + end; + +OnTimer15000: + mapannounce "turbo_n_16","At that time, a Warp portal will open.",bc_map,"0x33FF66"; + end; + +OnTimer20000: + mapannounce "turbo_n_16","Players in the arena must be ready to leave through the Warp Portal.",bc_map,"0x33FF66"; + end; + +OnTimer25000: + mapannounce "turbo_n_16","In the meantime, winners must proceed to receive their rewards as soon as possible.",bc_map,"0x33FF66"; + end; + +OnTimer30000: + mapannounce "turbo_n_16","Thank you for visiting Al De Baran Turbo Track.",bc_map,"0x33FF66"; + end; + +OnTimer35000: + mapannounce "turbo_n_16","Al De Baran Turbo Track is brought to you by...",bc_map,"0x33FF66"; + end; + +OnTimer40000: + mapannounce "turbo_n_16","[Al De Baran Kafra Corporation Headquarters]",bc_map,"0x33FF66"; + end; + +OnTimer45000: + mapannounce "turbo_n_16","[Al De Baran Guild Castle Management Luina]",bc_map,"0x33FF66"; + end; + +OnTimer50000: + mapannounce "turbo_n_16","[Blacksmith Union]",bc_map,"0x33FF66"; + end; + +OnTimer55000: + mapannounce "turbo_n_16","And [Comodo Casino].",bc_map,"0x33FF66"; + end; + +OnTimer60000: + mapannounce "turbo_n_16","Once again, we'd like to thank our sponsors.",bc_map,"0x33FF66"; + end; + +OnTimer65000: + mapannounce "turbo_n_16","Have a good day.",bc_map,"0x33FF66"; + end; + +//--- warp all players to turbo room +OnTimer70000: + mapwarp "turbo_n_16","turbo_room",72,89; + end; + +//----end game, reset all +OnTimer71000: + disablenpc "Winner Helper#TBT_n_16"; + enablenpc "cos_n_16_end"; + enablenpc "cos_n_16_end2"; + enablenpc "cos_n_16_end3"; + disablenpc "Notice_Maker1#TBT_n_16"; + disablenpc "Notice_Maker3#TBT_n_16"; + disablenpc "Notice_Maker4#TBT_n_16"; + enablenpc "Disposable_Switch#n16"; + enablenpc "Flasher_Exit_1#n16"; + enablenpc "Flasher_Exit_2#n16"; + enablenpc "No_Unfair_Start#n16-1"; + enablenpc "No_Unfair_Start#n16-2"; + donpcevent "snake#n16::Onreset"; + donpcevent "hunting#n16::Onreset"; + donpcevent "Normal Mode - 16 Person#n16::OnEnable"; + disablenpc "bing2#n16"; + stopnpctimer; + end; +} + +turbo_n_16,11,91,0 script Notice_Maker1#TBT_n_16 -1,3,3,{ +OnInit: + enablenpc "Notice_Maker1#TBT_n_16"; + end; + +OnTouch: + mapannounce "turbo_n_16","" + strcharinfo(0) +" is now entering the Small Cave! Currently, "+ strcharinfo(0) +" is in the lead!",bc_map,"0xFFFF00"; + donpcevent "TBT_Guide#Broadcast::Onend_n16"; + disablenpc "Notice_Maker1#TBT_n_16"; + end; +} + +turbo_n_16,234,223,0 script Notice_Maker3#TBT_n_16 -1,2,2,{ +OnInit: + enablenpc "Notice_Maker3#TBT_n_16"; + end; + +OnTouch: + mapannounce "turbo_n_16","" + strcharinfo(0) +" is now entering the Single Snail! Currently, "+ strcharinfo(0) +" is in the lead!",bc_map,"0xFFFF00"; + disablenpc "Notice_Maker3#TBT_n_16"; + end; +} + +turbo_n_16,226,15,0 script Notice_Maker4#TBT_n_16 -1,1,1,{ +OnInit: + enablenpc "Notice_Maker4#TBT_n_16"; + end; + +OnTouch: + mapannounce "turbo_n_16","" + strcharinfo(0) +" is currently in First Place!",bc_map,"0xFFFF00"; + disablenpc "Notice_Maker4#TBT_n_16"; + end; +} + +turbo_n_16,227,379,0 script Warp#n_16_1::Warp_n_16 -1,1,1,{ +OnTouch: + set .@warprand,rand(1,20); + if (.@warprand == 1) + warp "turbo_n_16",216,378; + else if (.@warprand == 2) + warp "turbo_n_16",218,360; + else if (.@warprand == 4) + warp "turbo_n_16",223,361; + else if (.@warprand == 5) + warp "turbo_n_16",243,342; + else if (.@warprand == 6) + warp "turbo_n_16",247,364; + end; +} +turbo_n_16,237,380,0 duplicate(Warp_n_16) Warp#n_16_2 -1,1,1 +turbo_n_16,227,367,0 duplicate(Warp_n_16) Warp#n_16_3 -1,1,1 +turbo_n_16,231,360,0 duplicate(Warp_n_16) Warp#n_16_4 -1,1,1 +turbo_n_16,225,349,0 duplicate(Warp_n_16) Warp#n_16_5 -1,1,1 +turbo_n_16,249,352,0 duplicate(Warp_n_16) Warp#n_16_6 -1,1,1 +turbo_n_16,253,364,0 duplicate(Warp_n_16) Warp#n_16_7 -1,2,2 + +turbo_n_16,307,55,0 script trap_n16#F1::TurboTrap_n16 -1,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_16,307,51,0 duplicate(TurboTrap_n16) trap_n16#F2 139,1,1 +turbo_n_16,307,47,0 duplicate(TurboTrap_n16) trap_n16#F3 139,1,1 +turbo_n_16,307,43,0 duplicate(TurboTrap_n16) trap_n16#F4 139,1,1 +turbo_n_16,307,39,0 duplicate(TurboTrap_n16) trap_n16#F5 139,1,1 +turbo_n_16,307,39,0 duplicate(TurboTrap_n16) trap_n16#F96 139,1,1 +turbo_n_16,312,56,0 duplicate(TurboTrap_n16) trap_n16#F6 139,1,1 +turbo_n_16,312,52,0 duplicate(TurboTrap_n16) trap_n16#F7 139,1,1 +turbo_n_16,312,48,0 duplicate(TurboTrap_n16) trap_n16#F8 139,1,1 +turbo_n_16,312,44,0 duplicate(TurboTrap_n16) trap_n16#F9 139,1,1 +turbo_n_16,312,40,0 duplicate(TurboTrap_n16) trap_n16#F10 139,1,1 +turbo_n_16,312,36,0 duplicate(TurboTrap_n16) trap_n16#F11 139,1,1 +turbo_n_16,316,55,0 duplicate(TurboTrap_n16) trap_n16#F12 139,1,1 +turbo_n_16,316,51,0 duplicate(TurboTrap_n16) trap_n16#F13 139,1,1 +turbo_n_16,316,47,0 duplicate(TurboTrap_n16) trap_n16#F14 139,1,1 +turbo_n_16,316,43,0 duplicate(TurboTrap_n16) trap_n16#F15 139,1,1 +turbo_n_16,316,39,0 duplicate(TurboTrap_n16) trap_n16#F16 139,1,1 +turbo_n_16,316,36,0 duplicate(TurboTrap_n16) trap_n16#F17 139,1,1 +turbo_n_16,320,56,0 duplicate(TurboTrap_n16) trap_n16#F18 139,1,1 +turbo_n_16,320,52,0 duplicate(TurboTrap_n16) trap_n16#F19 139,1,1 +turbo_n_16,320,48,0 duplicate(TurboTrap_n16) trap_n16#F20 139,1,1 +turbo_n_16,320,44,0 duplicate(TurboTrap_n16) trap_n16#F21 139,1,1 +turbo_n_16,320,40,0 duplicate(TurboTrap_n16) trap_n16#F22 139,1,1 +turbo_n_16,320,36,0 duplicate(TurboTrap_n16) trap_n16#F23 139,1,1 +turbo_n_16,324,55,0 duplicate(TurboTrap_n16) trap_n16#F24 139,1,1 +turbo_n_16,324,51,0 duplicate(TurboTrap_n16) trap_n16#F25 139,1,1 +turbo_n_16,324,47,0 duplicate(TurboTrap_n16) trap_n16#F26 139,1,1 +turbo_n_16,324,43,0 duplicate(TurboTrap_n16) trap_n16#F27 139,1,1 +turbo_n_16,324,39,0 duplicate(TurboTrap_n16) trap_n16#F28 139,1,1 +turbo_n_16,324,36,0 duplicate(TurboTrap_n16) trap_n16#F29 139,1,1 +turbo_n_16,328,56,0 duplicate(TurboTrap_n16) trap_n16#F30 139,1,1 +turbo_n_16,328,52,0 duplicate(TurboTrap_n16) trap_n16#F31 139,1,1 +turbo_n_16,328,48,0 duplicate(TurboTrap_n16) trap_n16#F32 139,1,1 +turbo_n_16,328,44,0 duplicate(TurboTrap_n16) trap_n16#F33 139,1,1 +turbo_n_16,328,40,0 duplicate(TurboTrap_n16) trap_n16#F34 139,1,1 +turbo_n_16,328,36,0 duplicate(TurboTrap_n16) trap_n16#F35 139,1,1 +turbo_n_16,332,55,0 duplicate(TurboTrap_n16) trap_n16#F36 139,1,1 +turbo_n_16,332,51,0 duplicate(TurboTrap_n16) trap_n16#F37 139,1,1 +turbo_n_16,332,47,0 duplicate(TurboTrap_n16) trap_n16#F38 139,1,1 +turbo_n_16,332,43,0 duplicate(TurboTrap_n16) trap_n16#F39 139,1,1 +turbo_n_16,332,39,0 duplicate(TurboTrap_n16) trap_n16#F40 139,1,1 +turbo_n_16,332,36,0 duplicate(TurboTrap_n16) trap_n16#F41 139,1,1 + +turbo_n_16,336,56,0 script trap_n16#F42::TurboTrap_n16_2 139,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_16,336,52,0 duplicate(TurboTrap_n16_2) trap_n16#F43 139,1,1 +turbo_n_16,336,48,0 duplicate(TurboTrap_n16_2) trap_n16#F44 139,1,1 +turbo_n_16,336,44,0 duplicate(TurboTrap_n16_2) trap_n16#F45 139,1,1 +turbo_n_16,336,50,0 duplicate(TurboTrap_n16_2) trap_n16#F46 139,1,1 +turbo_n_16,336,36,0 duplicate(TurboTrap_n16_2) trap_n16#F47 139,1,1 +turbo_n_16,340,55,0 duplicate(TurboTrap_n16_2) trap_n16#F48 139,1,1 + +turbo_n_16,340,51,0 duplicate(TurboTrap_n16) trap_n16#F49 139,1,1 +turbo_n_16,340,47,0 duplicate(TurboTrap_n16) trap_n16#F50 139,1,1 +turbo_n_16,340,43,0 duplicate(TurboTrap_n16) trap_n16#F51 139,1,1 +turbo_n_16,340,39,0 duplicate(TurboTrap_n16) trap_n16#F52 139,1,1 +turbo_n_16,340,36,0 duplicate(TurboTrap_n16) trap_n16#F53 139,1,1 +turbo_n_16,344,56,0 duplicate(TurboTrap_n16) trap_n16#F54 139,1,1 +turbo_n_16,344,52,0 duplicate(TurboTrap_n16) trap_n16#F55 139,1,1 +turbo_n_16,344,48,0 duplicate(TurboTrap_n16) trap_n16#F56 139,1,1 +turbo_n_16,344,44,0 duplicate(TurboTrap_n16) trap_n16#F57 139,1,1 +turbo_n_16,344,40,0 duplicate(TurboTrap_n16) trap_n16#F58 139,1,1 +turbo_n_16,344,36,0 duplicate(TurboTrap_n16) trap_n16#F59 139,1,1 +turbo_n_16,348,55,0 duplicate(TurboTrap_n16) trap_n16#F60 139,1,1 +turbo_n_16,348,51,0 duplicate(TurboTrap_n16) trap_n16#F61 139,1,1 +turbo_n_16,348,47,0 duplicate(TurboTrap_n16) trap_n16#F62 139,1,1 +turbo_n_16,348,43,0 duplicate(TurboTrap_n16) trap_n16#F63 139,1,1 +turbo_n_16,348,39,0 duplicate(TurboTrap_n16) trap_n16#F64 139,1,1 +turbo_n_16,348,36,0 duplicate(TurboTrap_n16) trap_n16#F65 139,1,1 +turbo_n_16,352,56,0 duplicate(TurboTrap_n16) trap_n16#F66 139,1,1 +turbo_n_16,352,52,0 duplicate(TurboTrap_n16) trap_n16#F67 139,1,1 +turbo_n_16,352,48,0 duplicate(TurboTrap_n16) trap_n16#F68 139,1,1 +turbo_n_16,352,44,0 duplicate(TurboTrap_n16) trap_n16#F69 139,1,1 +turbo_n_16,352,40,0 duplicate(TurboTrap_n16) trap_n16#F70 139,1,1 +turbo_n_16,352,36,0 duplicate(TurboTrap_n16) trap_n16#F71 139,1,1 +turbo_n_16,356,55,0 duplicate(TurboTrap_n16) trap_n16#F72 139,1,1 +turbo_n_16,356,51,0 duplicate(TurboTrap_n16) trap_n16#F73 139,1,1 +turbo_n_16,356,47,0 duplicate(TurboTrap_n16) trap_n16#F74 139,1,1 +turbo_n_16,356,43,0 duplicate(TurboTrap_n16) trap_n16#F75 139,1,1 +turbo_n_16,356,39,0 duplicate(TurboTrap_n16) trap_n16#F76 139,1,1 +turbo_n_16,356,36,0 duplicate(TurboTrap_n16) trap_n16#F77 139,1,1 +turbo_n_16,360,56,0 duplicate(TurboTrap_n16) trap_n16#F78 139,1,1 +turbo_n_16,360,52,0 duplicate(TurboTrap_n16) trap_n16#F79 139,1,1 +turbo_n_16,360,48,0 duplicate(TurboTrap_n16) trap_n16#F80 139,1,1 +turbo_n_16,360,44,0 duplicate(TurboTrap_n16) trap_n16#F81 139,1,1 +turbo_n_16,360,40,0 duplicate(TurboTrap_n16) trap_n16#F82 139,1,1 +turbo_n_16,360,36,0 duplicate(TurboTrap_n16) trap_n16#F83 139,1,1 +turbo_n_16,364,55,0 duplicate(TurboTrap_n16) trap_n16#F84 139,1,1 +turbo_n_16,364,51,0 duplicate(TurboTrap_n16) trap_n16#F85 139,1,1 +turbo_n_16,364,47,0 duplicate(TurboTrap_n16) trap_n16#F86 139,1,1 +turbo_n_16,364,43,0 duplicate(TurboTrap_n16) trap_n16#F87 139,1,1 +turbo_n_16,364,39,0 duplicate(TurboTrap_n16) trap_n16#F88 139,1,1 +turbo_n_16,364,36,0 duplicate(TurboTrap_n16) trap_n16#F89 139,1,1 +turbo_n_16,368,56,0 duplicate(TurboTrap_n16) trap_n16#F90 139,1,1 +turbo_n_16,368,52,0 duplicate(TurboTrap_n16) trap_n16#F91 139,1,1 +turbo_n_16,368,48,0 duplicate(TurboTrap_n16) trap_n16#F92 139,1,1 +turbo_n_16,368,44,0 duplicate(TurboTrap_n16) trap_n16#F93 139,1,1 +turbo_n_16,368,40,0 duplicate(TurboTrap_n16) trap_n16#F94 139,1,1 +turbo_n_16,368,36,0 duplicate(TurboTrap_n16) trap_n16#F95 139,1,1 + +turbo_n_16,217,214,0 script bing#n16 45,3,3,{ +OnTouch: + set .@bing1,rand(1,10); + if (.@bing1 > 0 && .@bing1 < 4) + warp "turbo_n_16",217,232; + else if (.@bing1 == 6) + warp "turbo_n_16",233,207; + else if (.@bing1 == 7) + warp "turbo_n_16",208,219; + else if (.@bing1 == 8) + warp "turbo_n_16",219,202; + else if (.@bing1 == 9) + warp "turbo_n_16",218,228; + disablenpc "bing#n16"; + enablenpc "bing2#n16"; + end; +} + +turbo_n_16,217,214,0 script bing2#n16 45,3,3,{ +OnInit: + disablenpc "bing2#e8"; + end; + +OnTouch: + set .@bing1,rand(1,10); + if (.@bing1 == 1) + warp "turbo_n_16",217,232; + else if (.@bing1 == 2) + warp "turbo_n_16",233,207; + else if (.@bing1 == 3) + warp "turbo_n_16",208,219; + else if (.@bing1 == 4) + warp "turbo_n_16",219,202; + else if (.@bing1 == 5) + warp "turbo_n_16",218,228; + else if (.@bing1 == 6) + warp "turbo_n_16",220,195; + end; +} diff --git a/npc/re/other/turbotrack/Normal_4.txt b/npc/re/other/turbotrack/Normal_4.txt new file mode 100644 index 000000000..861361a3c --- /dev/null +++ b/npc/re/other/turbotrack/Normal_4.txt @@ -0,0 +1,1405 @@ +//===== rAthena Script ======================================= +//= Turbo Track - Normal - 4 Person +//===== By: ================================================== +//= L0ne_W0lf +//===== Current Version: ===================================== +//= 1.6 +//===== Compatible With: ===================================== +//= rAthena SVN +//===== Description: ========================================= +//= Turbo Track Course: Normal (Non-PVP) - 4 Person +//===== Additional Comments: ================================= +//= 1.0 Translated from the Official. [L0ne_W0lf] +//= 1.1 Fixed small official bug. [L0ne_W0lf] +//= 1.2 Replaced effect numerics with constants. [L0ne_W0lf] +//= 1.3 Fixed a little mistake [akrus] +//= 1.4 Corrected issue with top record setting. [L0ne_W0lf] +//= 1.5 Updated 'waitingroom' to support required zeny/lvl. [Kisuka] +//= 1.6 Fixed variable typo [Elias] +//============================================================ + +turbo_room,77,135,3 script Normal mode - 4 person 124,{ + end; + +OnInit: + waitingroom "Normal mode - 4 person",60,"Normal mode - 4 person::OnStartArena",4,1000,10,99; + enablewaitingroomevent "Normal mode - 4 person"; + end; + +OnEnable: + enablenpc "Normal mode - 4 person"; + enablewaitingroomevent "Normal mode - 4 person"; + end; + +OnStartArena: + warpwaitingpc "turbo_n_4",298,161; + donpcevent "Broadcast#n4::OnEnable"; + disablewaitingroomevent "Normal mode - 4 person"; + end; +} + +turbo_n_4,298,167,3 script Helper#4_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_4,298,167,0 script Point Give-Away Guy#n4 -1,15,15,{ +OnInit: + disablenpc "Point Give-Away Guy#n4"; + end; + +OnTouch: + if (tt_point < 28999) { + set tt_point,tt_point+2; + warp "turbo_n_4",59,364; + } + else + warp "turbo_n_4",59,364; + end; +} + +turbo_n_4,167,3,0 script Broadcast#n4 -1,{ +OnInit: + disablenpc "Broadcast#n4"; + end; + +OnEnable: + enablenpc "Broadcast#n4"; + initnpctimer; + end; + +OnTimer2000: + mapannounce "turbo_n_4","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_4","You will have 30 seconds before you are transported to the Starting Line.",bc_map,"0x33FF66"; + end; + +OnTimer10000: + mapannounce "turbo_n_4","Please make sure that you have suitable equipment and items with you.",bc_map,"0x33FF66"; + end; + +OnTimer15000: + mapannounce "turbo_n_4","The 30 second countdown will begin shortly.",bc_map,"0x33FF66"; + end; + +OnTimer17000: + mapannounce "turbo_n_4","30 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer27000: + mapannounce "turbo_n_4","20 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer37000: + mapannounce "turbo_n_4","10 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer42000: + mapannounce "turbo_n_4","5 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer43000: + mapannounce "turbo_n_4","4 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer44000: + mapannounce "turbo_n_4","3 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer45000: + mapannounce "turbo_n_4","2 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer46000: + mapannounce "turbo_n_4","1 second remaining.",bc_map,"0x33FF66"; + end; + +OnTimer47000: + mapannounce "turbo_n_4","You will be transported to the Starting Line shortly.",bc_map,"0x33FF66"; + end; + +OnTimer49000: + enablenpc "Point Give-Away Guy#n4"; + donpcevent "Master#n4::OnEnable"; + end; + +OnTimer50000: + donpcevent "snake#n4::OnEnable"; + donpcevent "hunting#n4::OnEnable"; + enablenpc "bing#n4"; + end; + +OnTimer57000: + disablenpc "Point Give-Away Guy#n4"; + end; +} + +turbo_n_4,167,3,0 script Master#n4 -1,{ +OnInit: + disablenpc "Master#n4"; + end; + +OnEnable: + enablenpc "Master#n4"; + initnpctimer; + end; + +OnDisable: + stopnpctimer; + disablenpc "Master#n4"; + end; + +OnTimer7000: + mapannounce "turbo_n_4","Welcome to the Turbo Track.",bc_map,"0x33FF66"; + end; + +OnTimer9000: + mapannounce "turbo_n_4","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_4","We hope you will do your best.",bc_map,"0x33FF66"; + end; + +OnTimer13000: + mapannounce "turbo_n_4","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_4","The countdown will commence shortly.",bc_map,"0x33FF66"; + end; + +OnTimer17000: + mapannounce "turbo_n_4","- 5 -",bc_map,"0x33FF66"; + end; + +OnTimer18000: + mapannounce "turbo_n_4","- 4 -",bc_map,"0x33FF66"; + end; + +OnTimer19000: + mapannounce "turbo_n_4","- 3 -",bc_map,"0x33FF66"; + end; + +OnTimer20000: + mapannounce "turbo_n_4","- 2 -",bc_map,"0x33FF66"; + end; + +OnTimer21000: + mapannounce "turbo_n_4","- 1 -",bc_map,"0x33FF66"; + end; + +OnTimer22000: + mapannounce "turbo_n_4","- 0 -",bc_map,"0x33FF66"; + end; + +OnTimer23000: + mapannounce "turbo_n_4","Now! The race has begun! Go Go Go!!",bc_map,"0x33FF66"; + disablenpc "No_Unfair_Start#n4-1"; + disablenpc "No_Unfair_Start#n4-2"; + end; + +OnTimer30000: + mapannounce "turbo_n_4","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_4","You have 14 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer143000: + mapannounce "turbo_n_4","You have 13 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer203000: + mapannounce "turbo_n_4","You have 12 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer263000: + mapannounce "turbo_n_4","You have 11 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer323000: + mapannounce "turbo_n_4","You have 10 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer383000: + mapannounce "turbo_n_4","You have 9 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer443000: + mapannounce "turbo_n_4","You have 8 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer503000: + mapannounce "turbo_n_4","You have 7 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer563000: + mapannounce "turbo_n_4","You have 6 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer623000: + mapannounce "turbo_n_4","You have 5 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer683000: + mapannounce "turbo_n_4","You have 4 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer743000: + mapannounce "turbo_n_4","You have 3 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer803000: + mapannounce "turbo_n_4","You have 2 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer863000: + mapannounce "turbo_n_4","You have 1 minute left.",bc_map,"0x33FF66"; + end; + +OnTimer893000: + mapannounce "turbo_n_4","You have 30 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer903000: + mapannounce "turbo_n_4","You have 20 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer913000: + mapannounce "turbo_n_4","You have 10 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer918000: + mapannounce "turbo_n_4","You have 5 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer919000: + mapannounce "turbo_n_4","You have 4 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer920000: + mapannounce "turbo_n_4","You have 3 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer921000: + mapannounce "turbo_n_4","You have 2 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer922000: + mapannounce "turbo_n_4","You have 1 second left.",bc_map,"0x33FF66"; + end; + +OnTimer923000: + mapannounce "turbo_n_4","Time's up!",bc_map,"0x33FF66"; + end; + +OnTimer925000: + mapannounce "turbo_n_4","The race is over.",bc_map,"0x33FF66"; + end; + +OnTimer927000: + mapannounce "turbo_n_4","[Everyone will be transported to a Waiting Room.]",bc_map,"0x33FF66"; + mapwarp "turbo_n_4","turbo_room",71,89; + // all NPC OFF + disablenpc "Broadcast#n4"; + donpcevent "Master#n4::OnDisable"; + donpcevent "Normal mode - 4 person::OnEnable"; + // start line NPC ON + enablenpc "No_Unfair_Start#n4-1"; + enablenpc "No_Unfair_Start#n4-2"; + // monster reset + donpcevent "snake#n4::Onreset"; + donpcevent "hunting#n4::Onreset"; + disablenpc "bing2#n4"; + // NPC + disablenpc "Winner Helper#TBT_n_4"; + enablenpc "cos_n_4_end"; + enablenpc "Notice_Maker1#TBT_n_4"; + enablenpc "Notice_Maker3#TBT_n_4"; + enablenpc "Notice_Maker4#TBT_n_4"; + enablenpc "Disposable_Switch#n4"; + disablenpc "Flasher_Exit_1#n4"; + disablenpc "Flasher_Exit_2#n4"; + end; +} + +turbo_n_4,62,379,0 script No_Unfair_Start#n4-1 -1,0,31,{ +OnTouch: + warp "turbo_n_4",59,364; + end; +} + +turbo_n_4,68,379,5 script No_Unfair_Start#n4-2 -1,5,31,{ +OnTouch: + warp "turbo_n_4",59,364; + end; +} + +// Turbo Track: Normal Mode - 4 Players (Log Race) +turbo_n_4,118,377,0 script trap_a#n_4-1::TurboLogRace_n_4 -1,44,1,{ +OnTouch: + set .@dropuser,rand(1,3); + if (.@dropuser == 1) + warp "turbo_n_4",72,372; + else if (.@dropuser == 2) + warp "turbo_n_4",72,365; + else + warp "turbo_n_4",72,357; + end; +} +turbo_n_4,77,375,0 duplicate(TurboLogRace_n_4) trap_a#n_4-2 -1,3,1 +turbo_n_4,82,375,0 duplicate(TurboLogRace_n_4) trap_a#n_4-3 -1,1,1 +turbo_n_4,82,372,0 duplicate(TurboLogRace_n_4) trap_a#n_4-4 -1,0,2 +turbo_n_4,83,372,0 duplicate(TurboLogRace_n_4) trap_a#n_4-5 -1,0,2 +turbo_n_4,97,374,0 duplicate(TurboLogRace_n_4) trap_a#n_4-6 -1,1,2 +turbo_n_4,98,374,0 duplicate(TurboLogRace_n_4) trap_a#n_4-7 -1,1,2 +turbo_n_4,122,372,0 duplicate(TurboLogRace_n_4) trap_a#n_4-8 -1,2,4 +turbo_n_4,125,374,0 duplicate(TurboLogRace_n_4) trap_a#n_4-9 -1,0,4 +turbo_n_4,132,374,0 duplicate(TurboLogRace_n_4) trap_a#n_4-10 -1,7,2 +turbo_n_4,156,374,0 duplicate(TurboLogRace_n_4) trap_a#n_4-11 -1,6,2 +turbo_n_4,163,375,0 duplicate(TurboLogRace_n_4) trap_a#n_4-12 -1,0,3 +turbo_n_4,164,377,0 duplicate(TurboLogRace_n_4) trap_a#n_4-13 -1,1,1 +// second line +turbo_n_4,76,369,0 duplicate(TurboLogRace_n_4) trap_b#n_4-1 -1,2,2 +turbo_n_4,79,369,0 duplicate(TurboLogRace_n_4) trap_b#n_4-2 -1,0,2 +turbo_n_4,77,366,0 duplicate(TurboLogRace_n_4) trap_b#n_4-3 -1,3,0 +turbo_n_4,85,366,0 duplicate(TurboLogRace_n_4) trap_b#n_4-4 -1,5,1 +turbo_n_4,87,363,0 duplicate(TurboLogRace_n_4) trap_b#n_4-5 -1,2,1 +turbo_n_4,88,368,0 duplicate(TurboLogRace_n_4) trap_b#n_4-6 -1,2,5 +turbo_n_4,92,370,0 duplicate(TurboLogRace_n_4) trap_b#n_4-7 -1,1,3 +turbo_n_4,98,368,0 duplicate(TurboLogRace_n_4) trap_b#n_4-8 -1,4,1 +turbo_n_4,109,371,0 duplicate(TurboLogRace_n_4) trap_b#n_4-9 -1,7,2 +turbo_n_4,110,368,0 duplicate(TurboLogRace_n_4) trap_b#n_4-10 -1,7,0 +turbo_n_4,113,366,0 duplicate(TurboLogRace_n_4) trap_b#n_4-11 -1,3,2 +turbo_n_4,117,368,0 duplicate(TurboLogRace_n_4) trap_b#n_4-12 -1,0,5 +turbo_n_4,123,364,0 duplicate(TurboLogRace_n_4) trap_b#n_4-13 -1,6,1 +turbo_n_4,136,368,0 duplicate(TurboLogRace_n_4) trap_b#n_4-14 -1,8,1 +turbo_n_4,136,366,0 duplicate(TurboLogRace_n_4) trap_b#n_4-15 -1,8,0 +turbo_n_4,144,370,0 duplicate(TurboLogRace_n_4) trap_b#n_4-16 -1,2,3 +turbo_n_4,147,370,0 duplicate(TurboLogRace_n_4) trap_b#n_4-17 -1,0,3 +turbo_n_4,155,369,0 duplicate(TurboLogRace_n_4) trap_b#n_4-18 -1,7,0 +turbo_n_4,155,368,0 duplicate(TurboLogRace_n_4) trap_b#n_4-19 -1,7,0 +turbo_n_4,151,367,0 duplicate(TurboLogRace_n_4) trap_b#n_4-20 -1,3,0 +turbo_n_4,153,366,0 duplicate(TurboLogRace_n_4) trap_b#n_4-21 -1,1,0 +turbo_n_4,155,367,0 duplicate(TurboLogRace_n_4) trap_b#n_4-22 -1,0,1 +//third line +turbo_n_4,78,362,0 duplicate(TurboLogRace_n_4) trap_c#n_4-1 -1,4,1 +turbo_n_4,78,359,0 duplicate(TurboLogRace_n_4) trap_c#n_4-2 -1,4,1 +turbo_n_4,83,362,0 duplicate(TurboLogRace_n_4) trap_c#n_4-3 -1,0,1 +turbo_n_4,88,359,0 duplicate(TurboLogRace_n_4) trap_c#n_4-4 -1,5,1 +turbo_n_4,89,357,0 duplicate(TurboLogRace_n_4) trap_c#n_4-5 -1,1,1 +turbo_n_4,92,390,0 duplicate(TurboLogRace_n_4) trap_c#n_4-6 -1,1,1 +turbo_n_4,92,357,0 duplicate(TurboLogRace_n_4) trap_c#n_4-7 -1,1,1 +turbo_n_4,98,364,0 duplicate(TurboLogRace_n_4) trap_c#n_4-8 -1,6,1 +turbo_n_4,98,362,0 duplicate(TurboLogRace_n_4) trap_c#n_4-9 -1,6,0 +turbo_n_4,106,364,0 duplicate(TurboLogRace_n_4) trap_c#n_4-10 -1,2,2 +turbo_n_4,107,360,0 duplicate(TurboLogRace_n_4) trap_c#n_4-11 -1,1,2 +turbo_n_4,109,360,0 duplicate(TurboLogRace_n_4) trap_c#n_4-12 -1,0,2 +turbo_n_4,112,361,0 duplicate(TurboLogRace_n_4) trap_c#n_4-13 -1,3,1 +turbo_n_4,116,359,0 duplicate(TurboLogRace_n_4) trap_c#n_4-14 -1,0,2 +turbo_n_4,117,359,0 duplicate(TurboLogRace_n_4) trap_c#n_4-15 -1,0,2 +turbo_n_4,116,356,0 duplicate(TurboLogRace_n_4) trap_c#n_4-16 -1,0,2 +turbo_n_4,117,356,0 duplicate(TurboLogRace_n_4) trap_c#n_4-17 -1,0,2 +turbo_n_4,129,360,0 duplicate(TurboLogRace_n_4) trap_c#n_4-18 -1,12,1 +turbo_n_4,129,358,0 duplicate(TurboLogRace_n_4) trap_c#n_4-19 -1,12,0 +turbo_n_4,132,357,0 duplicate(TurboLogRace_n_4) trap_c#n_4-20 -1,2,1 +turbo_n_4,137,357,0 duplicate(TurboLogRace_n_4) trap_c#n_4-21 -1,2,1 +turbo_n_4,147,363,0 duplicate(TurboLogRace_n_4) trap_c#n_4-22 -1,16,1 +turbo_n_4,149,365,0 duplicate(TurboLogRace_n_4) trap_c#n_4-23 -1,1,0 +turbo_n_4,158,362,0 duplicate(TurboLogRace_n_4) trap_c#n_4-24 -1,1,4 +turbo_n_4,154,360,0 duplicate(TurboLogRace_n_4) trap_c#n_4-25 -1,2,2 +turbo_n_4,161,360,0 duplicate(TurboLogRace_n_4) trap_c#n_4-26 -1,1,2 +turbo_n_4,161,365,0 duplicate(TurboLogRace_n_4) trap_c#n_4-27 -1,1,0 +turbo_n_4,160,366,0 duplicate(TurboLogRace_n_4) trap_c#n_4-28 -1 +//fourth line +turbo_n_4,79,353,0 duplicate(TurboLogRace_n_4) trap_d#n_4-1 -1,5,2 +turbo_n_4,85,354,0 duplicate(TurboLogRace_n_4) trap_d#n_4-2 -1,0,1 +turbo_n_4,99,353,0 duplicate(TurboLogRace_n_4) trap_d#n_4-3 -1,14,0 +turbo_n_4,99,352,0 duplicate(TurboLogRace_n_4) trap_d#n_4-4 -1,14,0 +turbo_n_4,99,356,0 duplicate(TurboLogRace_n_4) trap_d#n_4-5 -1,3,3 +turbo_n_4,103,356,0 duplicate(TurboLogRace_n_4) trap_d#n_4-6 -1,0,3 +turbo_n_4,108,354,0 duplicate(TurboLogRace_n_4) trap_d#n_4-7 -1,5,1 +turbo_n_4,112,356,0 duplicate(TurboLogRace_n_4) trap_d#n_4-8 -1,0,1 +turbo_n_4,113,356,0 duplicate(TurboLogRace_n_4) trap_d#n_4-9 -1,0,1 +turbo_n_4,123,353,0 duplicate(TurboLogRace_n_4) trap_d#n_4-10 -1,3,2 +turbo_n_4,127,353,0 duplicate(TurboLogRace_n_4) trap_d#n_4-11 -1,0,2 +turbo_n_4,145,352,0 duplicate(TurboLogRace_n_4) trap_d#n_4-12 -1,17,1 +turbo_n_4,152,354,0 duplicate(TurboLogRace_n_4) trap_d#n_4-13 -1,10,1 +turbo_n_4,145,357,0 duplicate(TurboLogRace_n_4) trap_d#n_4-14 -1,1,2 +turbo_n_4,148,357,0 duplicate(TurboLogRace_n_4) trap_d#n_4-15 -1,1,2 + +// Turbo Track: Normal Mode - 4 Players (Sand Hill) +turbo_n_4,322,354,0 script #TBT_trap_n4-::TurboSandHill_n4 -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_4,323,360,0 duplicate(TurboSandHill_n4) #TBT_trap_n4-2 -1,3,3 +turbo_n_4,324,365,0 duplicate(TurboSandHill_n4) #TBT_trap_n4-3 -1,1,1 +turbo_n_4,325,370,0 duplicate(TurboSandHill_n4) #TBT_trap_n4-4 -1,3,3 +turbo_n_4,325,375,0 duplicate(TurboSandHill_n4) #TBT_trap_n4-5 -1,1,1 +turbo_n_4,329,377,0 duplicate(TurboSandHill_n4) #TBT_trap_n4-6 -1,3,3 +turbo_n_4,338,372,0 duplicate(TurboSandHill_n4) #TBT_trap_n4-7 -1,3,3 +turbo_n_4,341,364,0 duplicate(TurboSandHill_n4) #TBT_trap_n4-8 -1,3,3 +turbo_n_4,325,359,0 duplicate(TurboSandHill_n4) #TBT_trap_n4-9 -1,2,2 +turbo_n_4,341,355,0 duplicate(TurboSandHill_n4) #TBT_trap_n4-10 -1,1,1 +turbo_n_4,350,355,0 duplicate(TurboSandHill_n4) #TBT_trap_n4-11 -1,3,3 +turbo_n_4,348,363,0 duplicate(TurboSandHill_n4) #TBT_trap_n4-12 -1,1,1 +turbo_n_4,347,370,0 duplicate(TurboSandHill_n4) #TBT_trap_n4-13 -1,2,2 +turbo_n_4,349,377,0 duplicate(TurboSandHill_n4) #TBT_trap_n4-14 -1,9,9 +turbo_n_4,362,372,0 duplicate(TurboSandHill_n4) #TBT_trap_n4-15 -1,3,3 +turbo_n_4,364,365,0 duplicate(TurboSandHill_n4) #TBT_trap_n4-16 -1,1,1 +turbo_n_4,363,357,0 duplicate(TurboSandHill_n4) #TBT_trap_n4-17 -1,3,3 +turbo_n_4,374,358,0 duplicate(TurboSandHill_n4) #TBT_trap_n4-18 -1,2,2 +turbo_n_4,371,367,0 duplicate(TurboSandHill_n4) #TBT_trap_n4-19 -1,3,3 +turbo_n_4,371,376,0 duplicate(TurboSandHill_n4) #TBT_trap_n4-20 -1,1,1 +turbo_n_4,379,375,0 duplicate(TurboSandHill_n4) #TBT_trap_n4-21 -1,3,3 +turbo_n_4,382,363,0 duplicate(TurboSandHill_n4) #TBT_trap_n4-22 -1,2,2 +turbo_n_4,381,354,0 duplicate(TurboSandHill_n4) #TBT_trap_n4-23 -1,1,1 +turbo_n_4,355,362,0 script #TBT_trap_n4-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[Xenophon Zolotas]"; + mes "I wouldn't be able to do business without the Kafra Services. Thank you, Kafra!"; + mes " "; + mes "[Chief Mahnsoo]"; + mes "I looove you Kafra!^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: Normal Mode - 4 Players (Water Maze) +turbo_n_4,13,266,0 script flasher#n_4-01#turbo::TurboWaterMaze_n_4 -1,0,2,{ +OnTouch: + sc_start SC_BLIND,60000,0; + end; +} +turbo_n_4,24,268,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-02 -1,1,0 +turbo_n_4,20,258,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-03 -1,1,0 +turbo_n_4,23,251,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-04 -1,0,1 +turbo_n_4,36,270,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-05 -1,1,0 +turbo_n_4,22,239,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-06 -1,1,0 +turbo_n_4,38,239,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-07 -1,0,1 +turbo_n_4,37,237,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-08 -1,1,0 +turbo_n_4,55,247,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-09 -1,0,1 +turbo_n_4,55,246,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-10 -1,1,0 +turbo_n_4,63,253,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-11 -1,0,1 +turbo_n_4,36,216,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-12 -1,1,0 +turbo_n_4,20,209,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-13 -1,1,0 +turbo_n_4,28,195,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-14 -1,1,0 +turbo_n_4,82,264,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-15 -1,1,0 +turbo_n_4,47,185,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-16 -1,0,1 +turbo_n_4,53,207,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-17 -1,1,0 +turbo_n_4,54,208,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-18 -1,0,1 +turbo_n_4,81,247,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-19 -1,0,1 +turbo_n_4,105,257,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-20 -1,0,1 +turbo_n_4,95,242,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-21 -1,0,1 +turbo_n_4,77,232,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-22 -1,2,0 +turbo_n_4,67,222,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-23 -1,2,0 +turbo_n_4,83,206,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-24 -1,0,1 +turbo_n_4,95,224,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-25 -1,0,1 +turbo_n_4,106,220,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-26 -1,2,0 +turbo_n_4,93,191,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-27 -1,1,0 +turbo_n_4,94,192,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-28a -1,0,1 +turbo_n_4,46,214,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-28b -1,0,1 +turbo_n_4,16,247,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-29 -1,1,0 +turbo_n_4,58,268,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-30 -1,1,1 +turbo_n_4,36,253,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-31 -1,1,0 +turbo_n_4,69,238,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-32 -1,1,1 +turbo_n_4,58,268,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-33 -1,1,1 +turbo_n_4,74,188,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-34 -1,2,0 +turbo_n_4,99,207,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-35 -1,1,1 +turbo_n_4,74,188,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-36 -1,2,0 +turbo_n_4,111,188,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-37a -1,1,0 +turbo_n_4,51,232,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-37b -1,1,1 +turbo_n_4,30,232,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-38 -1,1,1 +turbo_n_4,92,256,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-39 -1,1,1 +turbo_n_4,79,220,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-40 -1,1,1 +turbo_n_4,51,192,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-41 -1,1,1 +turbo_n_4,22,227,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-42 -1,1,1 +turbo_n_4,51,232,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-43 -1,1,1 +turbo_n_4,42,258,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-44 -1,1,0 +turbo_n_4,45,271,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-45 -1,2,1 +turbo_n_4,72,207,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-46 -1,1,1 +turbo_n_4,33,192,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-47 -1,0,1 +turbo_n_4,90,241,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-48a -1,1,0 +turbo_n_4,236,3,0 duplicate(TurboWaterMaze_n_4) flasher#n_4-48b -1,3,0 + +// Turbo Track: Normal Mode - 4 Players (Snake Dice course) +turbo_n_4,324,279,0 script snake01#n4 45,1,1,{ +OnTouch: + set .@turbo2,rand(1,7); + if (.@turbo2 > 0) && (.@turbo2 < 3) + warp "turbo_n_4",370,292; + else if (.@turbo2 > 2) && (.@turbo2 < 5) + warp "turbo_n_4",295,293; + else if (.@turbo2 > 4) && (.@turbo2 < 7) + warp "turbo_n_4",355,292; + else + warp "turbo_n_4",279,292; + end; +} + +turbo_n_4,332,279,0 script snake02#n4 45,1,1,{ +OnTouch: + set .@turbo2,rand(1,8); + if (.@turbo2 > 0) && (.@turbo2 < 3) + warp "turbo_n_4",287,256; + else if (.@turbo2 > 2) && (.@turbo2 < 5) + warp "turbo_n_4",303,256; + else if (.@turbo2 > 4) && (.@turbo2 < 7) + warp "turbo_n_4",347,256; + else + warp "turbo_n_4",363,256; + end; +} + +turbo_n_4,324,270,0 script snake03#n4 45,1,1,{ +OnTouch: + set .@turbo2,rand(1,8); + if (.@turbo2 > 0) && (.@turbo2 < 3) + warp "turbo_n_4",279,292; + else if (.@turbo2 > 2) && (.@turbo2 < 5) + warp "turbo_n_4",311,292; + else if (.@turbo2 > 4) && (.@turbo2 < 7) + warp "turbo_n_4",347,256; + else + warp "turbo_n_4",370,292; + end; +} + +turbo_n_4,332,270,0 script snake04#n4 45,1,1,{ +OnTouch: + set .@turbo2,rand(1,7); + if (.@turbo2 > 0) && (.@turbo2 < 3) + warp "turbo_n_4",363,256; + else if (.@turbo2 > 2) && (.@turbo2 < 5) + warp "turbo_n_4",295,293; + else if (.@turbo2 > 4) && (.@turbo2 < 7) + warp "turbo_n_4",355,292; + else + warp "turbo_n_4",287,256; + end; +} + +//monsters +turbo_n_4,389,288,0 script snake#n4 111,{ +Onreset: + killmonsterall "turbo_n_4"; + end; + +OnEnable: + monster "turbo_n_4",279,284,"Archer Skeleton",1420,1; + monster "turbo_n_4",279,268,"Archer Skeleton",1420,1; + monster "turbo_n_4",279,260,"Archer Skeleton",1420,1; + monster "turbo_n_4",287,288,"Archer Skeleton",1420,1; + monster "turbo_n_4",287,280,"Archer Skeleton",1420,1; + monster "turbo_n_4",287,264,"Archer Skeleton",1420,1; + monster "turbo_n_4",295,284,"Archer Skeleton",1420,1; + monster "turbo_n_4",295,268,"Archer Skeleton",1420,1; + monster "turbo_n_4",295,260,"Archer Skeleton",1420,1; + monster "turbo_n_4",303,288,"Archer Skeleton",1420,1; + monster "turbo_n_4",303,280,"Archer Skeleton",1420,1; + monster "turbo_n_4",303,264,"Archer Skeleton",1420,1; + monster "turbo_n_4",311,284,"Archer Skeleton",1420,1; + monster "turbo_n_4",311,268,"Archer Skeleton",1420,1; + monster "turbo_n_4",311,260,"Archer Skeleton",1420,1; + monster "turbo_n_4",347,288,"Archer Skeleton",1420,1; + monster "turbo_n_4",347,280,"Archer Skeleton",1420,1; + monster "turbo_n_4",347,264,"Archer Skeleton",1420,1; + monster "turbo_n_4",355,284,"Archer Skeleton",1420,1; + monster "turbo_n_4",355,268,"Archer Skeleton",1420,1; + monster "turbo_n_4",355,260,"Archer Skeleton",1420,1; + monster "turbo_n_4",363,288,"Archer Skeleton",1420,1; + monster "turbo_n_4",363,280,"Archer Skeleton",1420,1; + monster "turbo_n_4",363,264,"Archer Skeleton",1420,1; + monster "turbo_n_4",371,284,"Archer Skeleton",1420,1; + monster "turbo_n_4",371,268,"Archer Skeleton",1420,1; + monster "turbo_n_4",371,260,"Archer Skeleton",1420,1; + monster "turbo_n_4",379,288,"Archer Skeleton",1420,1; + monster "turbo_n_4",379,280,"Archer Skeleton",1420,1; + monster "turbo_n_4",379,264,"Archer Skeleton",1420,1; + end; +} + +// �����ڽ� +turbo_n_4,90,46,0 script hunting#n4 111,{ +Onreset: + killmonsterall "turbo_n_4"; + end; + +OnEnable: + monster "turbo_n_4",47,87,"Munak",1610,1; + monster "turbo_n_4",47,87,"Bongun",1611,1; + monster "turbo_n_4",47,87,"Munak",1610,1; + monster "turbo_n_4",24,74,"Munak",1610,1; + monster "turbo_n_4",24,74,"Bongun",1611,1; + monster "turbo_n_4",24,74,"Munak",1610,1; + monster "turbo_n_4",67,42,"Munak",1610,1; + monster "turbo_n_4",67,42,"Bongun",1611,1; + monster "turbo_n_4",67,42,"Munak",1610,1; + monster "turbo_n_4",60,70,"Munak",1610,1; + monster "turbo_n_4",60,70,"Bongun",1611,1; + monster "turbo_n_4",60,70,"Munak",1610,1; + monster "turbo_n_4",32,51,"Munak",1610,1; + monster "turbo_n_4",32,51,"Bongun",1611,1; + monster "turbo_n_4",32,51,"Munak",1610,1; + monster "turbo_n_4",30,25,"Munak",1610,1; + monster "turbo_n_4",30,25,"Bongun",1611,1; + monster "turbo_n_4",30,25,"Munak",1610,1; + monster "turbo_n_4",68,56,"Yao Jun",1612,1; + monster "turbo_n_4",26,46,"Yao Jun",1612,1; + monster "turbo_n_4",62,20,"Munak",1610,1; + monster "turbo_n_4",62,20,"Bongun",1611,1; + monster "turbo_n_4",62,20,"Munak",1610,1; + monster "turbo_n_4",216,378,"Munak",1610,1; + monster "turbo_n_4",218,360,"Munak",1610,1; + monster "turbo_n_4",223,361,"Munak",1610,1; + monster "turbo_n_4",243,342,"Munak",1610,1; + monster "turbo_n_4",247,364,"Munak",1610,1; + end; +} + + +// Turbo Track: Normal Mode - 4 Players (Course-clear broadcasters, and exits?) +turbo_n_4,168,363,0 script cos_n_4_1 45,1,1,{ +OnTouch: + mapannounce "turbo_n_4","" + strcharinfo(0) +" has just passed the Log Bridge course!",bc_map,"0x70DBDB"; + set .@move1,rand(1,3); + if (.@move1 == 1) + warp "turbo_n_4",210,369; + else if (.@move1 == 2) + warp "turbo_n_4",210,361; + else + warp "turbo_n_4",210,354; + end; +} + +turbo_n_4,258,364,0 script cos_n_4_2 45,1,1,{ +OnTouch: + mapannounce "turbo_n_4","" + strcharinfo(0) +" has just passed the Cube Hills course!",bc_map,"0x70DBDB"; + warp "turbo_n_4",316,365; + end; +} + +turbo_n_4,316,365,0 script Disposable_Switch#n4 -1,1,1,{ +OnTouch: + if (rand(1,2) == 1) + enablenpc "Flasher_Exit_1#n4"; + else + enablenpc "Flasher_Exit_2#n4"; + disablenpc "Disposable_Switch#n4"; + end; +} + +turbo_n_4,385,365,0 script cos_n_4_3 45,1,1,{ +OnTouch: + set .@to_miro,rand(1,4); + mapannounce "turbo_n_4","" + strcharinfo(0) +" has just passed the Cursed Desert!",bc_map,"0x70DBDB"; + if (.@to_miro == 1) + warp "turbo_n_4",46,254; + else if (.@to_miro == 2) + warp "turbo_n_4",76,227; + else if (.@to_miro == 3) + warp "turbo_n_4",42,197; + else + warp "turbo_n_4",86,220; + end; +} + +turbo_n_4,11,266,0 script Flasher_Exit_1#n4 45,1,1,{ +OnInit: + disablenpc "Flasher_Exit_1#n4"; + end; + +OnTouch: + mapannounce "turbo_n_4","" + strcharinfo(0) +" has just passed the Flasher Maze!",bc_map,"0x70DBDB"; + warp "turbo_n_4",185,227; + end; +} + +turbo_n_4,114,190,0 script Flasher_Exit_2#n4 45,1,1,{ +OnInit: + disablenpc "Flasher_Exit_2#n4"; + end; + +OnTouch: + mapannounce "turbo_n_4","" + strcharinfo(0) +" has just passed the Flasher Maze!",bc_map,"0x70DBDB"; + warp "turbo_n_4",185,227; + end; +} + +turbo_n_4,250,200,0 script cos_n_4_5 45,1,1,{ +OnTouch: + mapannounce "turbo_n_4","" + strcharinfo(0) +" has just passed the Single Snail course!",bc_map,"0x70DBDB"; + warp "turbo_n_4",268,275; + end; +} + +turbo_n_4,389,275,0 script cos_n_4_6 45,1,1,{ +OnTouch: + mapannounce "turbo_n_4","" + strcharinfo(0) +" has just passed the Snake Dice course!",bc_map,"0x70DBDB"; + warp "turbo_n_4",5,91; + end; +} + +turbo_n_4,93,19,0 script cos_n_4_7 45,1,1,{ +OnTouch: + mapannounce "turbo_n_4","" + strcharinfo(0) +" has just passed the Small Cave course! Hurry, you're so close to the finish!",bc_map,"0x70DBDB"; + set .@move1,rand(1,3); + if (.@move1 == 1) + warp "turbo_n_4",307,52; + else if (.@move1 == 2) + warp "turbo_n_4",307,46; + else + warp "turbo_n_4",307,40; + end; +} + +turbo_n_4,371,47,0 script cos_n_4_end 45,1,1,{ +OnInit: + enablenpc "cos_n_4_end"; + end; + +OnTouch: + mapannounce "turbo_n_4","" + strcharinfo(0) +" has just arrived at the Finish Line! Congratulations!",bc_map,"0xFFFF00"; + set $ttnames$[1],strcharinfo(0); + donpcevent "TBT_Guide#Broadcast::Onwin_n4"; + warp "turbo_n_4",384,161; + donpcevent "Winner Helper#TBT_n_4::OnEnable"; + donpcevent "Master#n4::OnDisable"; + disablenpc "Broadcast#n4"; + disablenpc "cos_n_4_end"; + end; +} + +turbo_n_4,384,167,1 script Winner Helper#TBT_n_4 47,{ +//---reward points & record player name + if (tt_rank < 29999) { + mes "[Guide]"; + mes "Congratulations!"; + if (tt_point < 28961) { + mes "As the winner, your reward"; + mes "is 40 Turbo Track Points~"; + set tt_point,tt_point+40; + set my_point,tt_point; + mes "You now have a total of"; + mes "" + tt_point + " Turbo Track points,"; + mes "" + strcharinfo(0) +"."; + } + 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) +"..."; + } + set tt_rank,tt_rank+1; + next; + if (tt_rank > $ttranks[1]) { + setarray $ttranks[0],$ttranks[0],tt_rank,$ttranks[1],$ttranks[2],$ttranks[3],$ttranks[4]; + setarray $ttnames$[9],strcharinfo(0); + mes "[Guide]"; + mes "Congratulations!"; + mes "You are ranked as"; + mes "the top player for"; + mes "winning the most games!"; + donpcevent "TBT_Guide#Broadcast::Onnew_top1"; + if (tt_rank == 29999) { + if ($ttnames$[7] == "Breezy Havana") { + set $ttnames$[7],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + else if ($ttnames$[8] == "RS125") { + set $ttnames$[8],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + //broadcastserver "FF0000" FW_NORMAL 10 0 0 " " + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!" + } + } + } + else if (tt_rank > $ttranks[2]) { + setarray $ttranks[0],$ttranks[0],$ttranks[1],tt_rank,$ttranks[3],$ttranks[4],$ttranks[5]; + setarray $ttnames$[10],strcharinfo(0); + mes "[Guide]"; + mes "Congratulations!"; + mes "You've ranked Second"; + mes "among the Top Five Players"; + mes "who've won the most games!"; + donpcevent "TBT_Guide#Broadcast::Onnew_top2"; + if (tt_rank == 29999) { + if ($ttnames$[7] == "Breezy Havana") { + set $ttnames$[7],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + else if ($ttnames$[8] == "RS125") { + set $ttnames$[8],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + } + } + else if (tt_rank > $ttranks[3]) { + setarray $ttranks[0],$ttranks[0],$ttranks[1],$ttranks[2],tt_rank,$ttranks[4],$ttranks[5]; + setarray $ttnames$[11],strcharinfo(0); + mes "[Guide]"; + mes "Congratulations!"; + mes "You've ranked Third"; + mes "among the Top Five Players"; + mes "who've won the most games!"; + donpcevent "TBT_Guide#Broadcast::Onnew_top3"; + if (tt_rank == 29999) { + if ($ttnames$[7] == "Breezy Havana") { + set $ttnames$[7],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + else if ($ttnames$[8] == "RS125") { + set $ttnames$[8],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + } + } + else if (tt_rank > $ttranks[4]) { + setarray $ttranks[0],$ttranks[0],$ttranks[1],$ttranks[2],$ttranks[3],tt_rank,$ttranks[5]; + setarray $ttnames$[12],strcharinfo(0); + mes "[Guide]"; + mes "Congratulations!"; + mes "You've ranked Fourth"; + mes "among the Top Five Players"; + mes "who've won the most games!"; + donpcevent "TBT_Guide#Broadcast::Onnew_top4"; + if (tt_rank == 29999) { + if ($ttnames$[7] == "Breezy Havana") { + set $ttnames$[7],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + else if ($ttnames$[8] == "RS125") { + set $ttnames$[8],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + } + } + else if (tt_rank > $ttranks[5]) { + setarray $ttranks[0],$ttranks[0],$ttranks[1],$ttranks[2],$ttranks[3],$ttranks[4],tt_rank; + setarray $ttnames$[13],strcharinfo(0); + mes "[Guide]"; + mes "Congratulations!"; + mes "You've ranked Fifth"; + mes "among the Top Five Players"; + mes "who've won the most games!"; + donpcevent "TBT_Guide#Broadcast::Onnew_top5"; + if (tt_rank == 29999) { + if ($ttnames$[7] == "Breezy Havana") { + set $ttnames$[7],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + else if ($ttnames$[8] == "RS125") { + set $ttnames$[8],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + } + } + else { + mes "[Guide]"; + mes "If you can win more games"; + mes "than everybody else, your"; + mes "name will be registered in"; + mes "our Top Five Player Ranking."; + next; + mes "[Guide]"; + mes "What do you"; + mes "think, " + strcharinfo(0) +"?"; + mes "Glory can be yours if"; + mes "you can achieve victory!"; + } + next; + mes "[Guide]"; + mes "Thank you for"; + mes "participating in"; + mes "the Turbo Track."; + mes "You will be transported"; + mes "to a Waiting Room shortly."; + close2; + warp "turbo_room",72,89; + end; + } + else { + if ($ttnames$[7] == strcharinfo(0)) { + mes "[Guide]"; + mes "Oh wow!"; + mes "You're a member"; + mes "in our Hall of Honor,"; + mes "aren't you? This is great!"; + mes "I'm talking to a living legend!"; + next; + mes "[Guide]"; + mes "Right, your reward..."; + if (tt_point < 28981) { + mes "20 Turbo Track Points!"; + set tt_point,tt_point+20; + 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 "Oh, and thanks for"; + mes "participating in the"; + mes "Turbo Track! You'll be sent"; + mes "to the Waiting Room soon~"; + close2; + warp "turbo_room",72,89; + end; + } + else if ($ttnames$[8] == strcharinfo(0)) { + mes "[Guide]"; + mes "Hey, aren't you"; + mes "in our Hall of Honor?"; + mes "I've been watching your"; + mes "races... You're pretty quick"; + mes "on your feet, hotshot~"; + next; + mes "[Guide]"; + mes "Right, your reward..."; + if (tt_point < 28961) { + 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 "Unfortunately, I can't give"; + mes "you any Turbo Track Points"; + mes "since you would exceed the"; + mes "maximum limit. Sorry..."; + } + next; + mes "[Guide]"; + mes "Oh, and thanks for"; + mes "participating in the"; + mes "Turbo Track! You'll be sent"; + mes "to the Waiting Room soon~"; + close2; + warp "turbo_room",72,89; + end; + } + else { + mes "[Guide]"; + mes "Awwww~"; + mes "You were almost able"; + mes "to join our Hall of Honor...!"; + mes "But don't let that get you"; + mes "down. Maybe next time!"; + next; + mes "[Guide]"; + mes "Right, your reward..."; + mes "40 Turbo Track Points!"; + if (tt_point < 28961) { + set tt_point,tt_point+40; + 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..."; + } + next; + mes "[Guide]"; + mes "Thank you for"; + mes "participating in"; + mes "the Turbo Track."; + mes "You will be transported"; + mes "to a Waiting Room shortly."; + close2; + warp "turbo_room",72,89; + end; + } + } + +OnInit: + disablenpc "Winner Helper#TBT_n_4"; + end; + +OnEnable: + enablenpc "Winner Helper#TBT_n_4"; + initnpctimer; + end; + +OnTimer4000: + mapannounce "turbo_n_4","This is the ending broadcast for Turbo Track Normal Mode - 4 person.",bc_map,"0x33FF66"; + end; + +OnTimer8000: + mapannounce "turbo_n_4","For smooth game play, the game will end in approximately 1 minute.",bc_map,"0x33FF66"; + end; + +OnTimer12000: + mapannounce "turbo_n_4","At that time, a Warp portal will open.",bc_map,"0x33FF66"; + end; + +OnTimer16000: + mapannounce "turbo_n_4","Players in the arena must be ready to leave through the Warp Portal.",bc_map,"0x33FF66"; + end; + +OnTimer20000: + mapannounce "turbo_n_4","In the meantime, winners must proceed to receive their rewards as soon as possible.",bc_map,"0x33FF66"; + end; + +OnTimer24000: + mapannounce "turbo_n_4","Thank you for visiting Al De Baran Turbo Track.",bc_map,"0x33FF66"; + end; + +OnTimer28000: + mapannounce "turbo_n_4","Al De Baran Turbo Track is brought to you by...",bc_map,"0x33FF66"; + end; + +OnTimer32000: + mapannounce "turbo_n_4","[Al De Baran Kafra Corporation Headquarters]",bc_map,"0x33FF66"; + end; + +OnTimer36000: + mapannounce "turbo_n_4","[Al De Baran Guild Castle Management Luina]",bc_map,"0x33FF66"; + end; + +OnTimer40000: + mapannounce "turbo_n_4","[Blacksmith Union]",bc_map,"0x33FF66"; + end; + +OnTimer44000: + mapannounce "turbo_n_4","And [Comodo Casino].",bc_map,"0x33FF66"; + end; + +OnTimer48000: + mapannounce "turbo_n_4","Once again, we'd like to thank our sponsors.",bc_map,"0x33FF66"; + end; + +OnTimer52000: + mapannounce "turbo_n_4","Have a good day.",bc_map,"0x33FF66"; + end; + +//--- warp all players to turbo room +OnTimer58000: + mapwarp "turbo_n_4","turbo_room",72,89; + end; + +//----end game, reset all +OnTimer60000: + enablenpc "Notice_Maker1#TBT_n_4"; + enablenpc "Notice_Maker3#TBT_n_4"; + enablenpc "Notice_Maker4#TBT_n_4"; + enablenpc "Disposable_Switch#n4"; + enablenpc "cos_n_4_end"; + disablenpc "Flasher_Exit_1#n4"; + disablenpc "Flasher_Exit_2#n4"; + enablenpc "No_Unfair_Start#n4-1"; + enablenpc "No_Unfair_Start#n4-2"; + donpcevent "snake#n4::Onreset"; + donpcevent "hunting#n4::Onreset"; + donpcevent "Normal mode - 4 person::OnEnable"; + disablenpc "bing2#n4"; + stopnpctimer; + end; +} + +turbo_n_4,11,91,0 script Notice_Maker1#TBT_n_4 -1,3,3,{ +OnInit: + enablenpc "Notice_Maker1#TBT_n_4"; + end; + +OnTouch: + mapannounce "turbo_n_4","" + strcharinfo(0) +" is now entering the Small Cave! " + strcharinfo(0) +" is now in the lead!",bc_map,"0xFFFF00"; + donpcevent "TBT_Guide#Broadcast::Onend_n4"; + disablenpc "Notice_Maker1#TBT_n_4"; + end; +} + +turbo_n_4,234,223,0 script Notice_Maker3#TBT_n_4 -1,2,2,{ +OnInit: + enablenpc "Notice_Maker3#TBT_n_4"; + end; + +OnTouch: + mapannounce "turbo_n_4","" + strcharinfo(0) +" is now entering the Single Snail! " + strcharinfo(0) +" is now in the lead!",bc_map,"0xFFFF00"; + disablenpc "Notice_Maker3#TBT_n_4"; + end; +} + +turbo_n_4,226,15,0 script Notice_Maker4#TBT_n_4 -1,1,1,{ +OnInit: + enablenpc "Notice_Maker4#TBT_n_4"; + end; + +OnTouch: + mapannounce "turbo_n_4","" + strcharinfo(0) +" is currently in First Place!",bc_map,"0xFFFF00"; + disablenpc "Notice_Maker4#TBT_n_4"; + end; +} + +turbo_n_4,227,379,0 script Warp#n_4_1::Warp_n_4 -1,1,1,{ +OnTouch: + set .@warprand,rand(1,20); + if (.@warprand == 1) + warp "turbo_n_4",216,378; + else if (.@warprand == 2) + warp "turbo_n_4",218,360; + else if (.@warprand == 4) + warp "turbo_n_4",223,361; + else if (.@warprand == 5) + warp "turbo_n_4",243,342; + else if (.@warprand == 6) + warp "turbo_n_4",247,364; + end; +} +turbo_n_4,237,380,0 duplicate(Warp_n_4) Warp#n_4_2 -1,1,1,{ +turbo_n_4,227,367,0 duplicate(Warp_n_4) Warp#n_4_3 -1,1,1,{ +turbo_n_4,231,360,0 duplicate(Warp_n_4) Warp#n_4_4 -1,1,1,{ +turbo_n_4,225,349,0 duplicate(Warp_n_4) Warp#n_4_5 -1,1,1,{ +turbo_n_4,249,352,0 duplicate(Warp_n_4) Warp#n_4_6 -1,1,1,{ +turbo_n_4,253,364,0 duplicate(Warp_n_4) Warp#n_4_7 -1,2,2,{ + +turbo_n_4,307,55,0 script trap_n4#F1::TurboTrap_n4 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_4,307,51,0 duplicate(TurboTrap_n4) trap_n4#F2 139,1,1 +turbo_n_4,307,47,0 duplicate(TurboTrap_n4) trap_n4#F3 139,1,1 +turbo_n_4,307,43,0 duplicate(TurboTrap_n4) trap_n4#F4 139,1,1 +turbo_n_4,307,39,0 duplicate(TurboTrap_n4) trap_n4#F5 139,1,1 +turbo_n_4,307,39,0 duplicate(TurboTrap_n4) trap_n4#F96 139,1,1 +turbo_n_4,312,56,0 duplicate(TurboTrap_n4) trap_n4#F6 139,1,1 +turbo_n_4,312,52,0 duplicate(TurboTrap_n4) trap_n4#F7 139,1,1 +turbo_n_4,312,48,0 duplicate(TurboTrap_n4) trap_n4#F8 139,1,1 +turbo_n_4,312,44,0 duplicate(TurboTrap_n4) trap_n4#F9 139,1,1 +turbo_n_4,312,40,0 duplicate(TurboTrap_n4) trap_n4#F10 139,1,1 +turbo_n_4,312,36,0 duplicate(TurboTrap_n4) trap_n4#F11 139,1,1 +turbo_n_4,316,55,0 duplicate(TurboTrap_n4) trap_n4#F12 139,1,1 +turbo_n_4,316,51,0 duplicate(TurboTrap_n4) trap_n4#F13 139,1,1 +turbo_n_4,316,47,0 duplicate(TurboTrap_n4) trap_n4#F14 139,1,1 +turbo_n_4,316,43,0 duplicate(TurboTrap_n4) trap_n4#F15 139,1,1 +turbo_n_4,316,39,0 duplicate(TurboTrap_n4) trap_n4#F16 139,1,1 +turbo_n_4,316,36,0 duplicate(TurboTrap_n4) trap_n4#F17 139,1,1 +turbo_n_4,320,56,0 duplicate(TurboTrap_n4) trap_n4#F18 139,1,1 +turbo_n_4,320,52,0 duplicate(TurboTrap_n4) trap_n4#F19 139,1,1 +turbo_n_4,320,48,0 duplicate(TurboTrap_n4) trap_n4#F20 139,1,1 +turbo_n_4,320,44,0 duplicate(TurboTrap_n4) trap_n4#F21 139,1,1 +turbo_n_4,320,40,0 duplicate(TurboTrap_n4) trap_n4#F22 139,1,1 +turbo_n_4,320,36,0 duplicate(TurboTrap_n4) trap_n4#F23 139,1,1 +turbo_n_4,324,55,0 duplicate(TurboTrap_n4) trap_n4#F24 139,1,1 +turbo_n_4,324,51,0 duplicate(TurboTrap_n4) trap_n4#F25 139,1,1 +turbo_n_4,324,47,0 duplicate(TurboTrap_n4) trap_n4#F26 139,1,1 +turbo_n_4,324,43,0 duplicate(TurboTrap_n4) trap_n4#F27 139,1,1 +turbo_n_4,324,39,0 duplicate(TurboTrap_n4) trap_n4#F28 139,1,1 +turbo_n_4,324,36,0 duplicate(TurboTrap_n4) trap_n4#F29 139,1,1 +turbo_n_4,328,56,0 duplicate(TurboTrap_n4) trap_n4#F30 139,1,1 +turbo_n_4,328,52,0 duplicate(TurboTrap_n4) trap_n4#F31 139,1,1 +turbo_n_4,328,48,0 duplicate(TurboTrap_n4) trap_n4#F32 139,1,1 +turbo_n_4,328,44,0 duplicate(TurboTrap_n4) trap_n4#F33 139,1,1 +turbo_n_4,328,40,0 duplicate(TurboTrap_n4) trap_n4#F34 139,1,1 +turbo_n_4,328,36,0 duplicate(TurboTrap_n4) trap_n4#F35 139,1,1 +turbo_n_4,332,55,0 duplicate(TurboTrap_n4) trap_n4#F36 139,1,1 +turbo_n_4,332,51,0 duplicate(TurboTrap_n4) trap_n4#F37 139,1,1 +turbo_n_4,332,47,0 duplicate(TurboTrap_n4) trap_n4#F38 139,1,1 +turbo_n_4,332,43,0 duplicate(TurboTrap_n4) trap_n4#F39 139,1,1 +turbo_n_4,332,39,0 duplicate(TurboTrap_n4) trap_n4#F40 139,1,1 +turbo_n_4,332,36,0 duplicate(TurboTrap_n4) trap_n4#F41 139,1,1 + +turbo_n_4,336,56,0 script trap_n4#F42::TurboTrap_n4_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_4,336,52,0 duplicate(TurboTrap_n4_2) trap_n4#F43 139,1,1 +turbo_n_4,336,48,0 duplicate(TurboTrap_n4_2) trap_n4#F44 139,1,1 +turbo_n_4,336,44,0 duplicate(TurboTrap_n4_2) trap_n4#F45 139,1,1 +turbo_n_4,336,50,0 duplicate(TurboTrap_n4_2) trap_n4#F46 139,1,1 +turbo_n_4,336,36,0 duplicate(TurboTrap_n4_2) trap_n4#F47 139,1,1 +turbo_n_4,340,55,0 duplicate(TurboTrap_n4_2) trap_n4#F48 139,1,1 + +turbo_n_4,340,51,0 duplicate(TurboTrap_n4) trap_n4#F49 139,1,1 +turbo_n_4,340,47,0 duplicate(TurboTrap_n4) trap_n4#F50 139,1,1 +turbo_n_4,340,43,0 duplicate(TurboTrap_n4) trap_n4#F51 139,1,1 +turbo_n_4,340,39,0 duplicate(TurboTrap_n4) trap_n4#F52 139,1,1 +turbo_n_4,340,36,0 duplicate(TurboTrap_n4) trap_n4#F53 139,1,1 +turbo_n_4,344,56,0 duplicate(TurboTrap_n4) trap_n4#F54 139,1,1 +turbo_n_4,344,52,0 duplicate(TurboTrap_n4) trap_n4#F55 139,1,1 +turbo_n_4,344,48,0 duplicate(TurboTrap_n4) trap_n4#F56 139,1,1 +turbo_n_4,344,44,0 duplicate(TurboTrap_n4) trap_n4#F57 139,1,1 +turbo_n_4,344,40,0 duplicate(TurboTrap_n4) trap_n4#F58 139,1,1 +turbo_n_4,344,36,0 duplicate(TurboTrap_n4) trap_n4#F59 139,1,1 +turbo_n_4,348,55,0 duplicate(TurboTrap_n4) trap_n4#F60 139,1,1 +turbo_n_4,348,51,0 duplicate(TurboTrap_n4) trap_n4#F61 139,1,1 +turbo_n_4,348,47,0 duplicate(TurboTrap_n4) trap_n4#F62 139,1,1 +turbo_n_4,348,43,0 duplicate(TurboTrap_n4) trap_n4#F63 139,1,1 +turbo_n_4,348,39,0 duplicate(TurboTrap_n4) trap_n4#F64 139,1,1 +turbo_n_4,348,36,0 duplicate(TurboTrap_n4) trap_n4#F65 139,1,1 +turbo_n_4,352,56,0 duplicate(TurboTrap_n4) trap_n4#F66 139,1,1 +turbo_n_4,352,52,0 duplicate(TurboTrap_n4) trap_n4#F67 139,1,1 +turbo_n_4,352,48,0 duplicate(TurboTrap_n4) trap_n4#F68 139,1,1 +turbo_n_4,352,44,0 duplicate(TurboTrap_n4) trap_n4#F69 139,1,1 +turbo_n_4,352,40,0 duplicate(TurboTrap_n4) trap_n4#F70 139,1,1 +turbo_n_4,352,36,0 duplicate(TurboTrap_n4) trap_n4#F71 139,1,1 +turbo_n_4,356,55,0 duplicate(TurboTrap_n4) trap_n4#F72 139,1,1 +turbo_n_4,356,51,0 duplicate(TurboTrap_n4) trap_n4#F73 139,1,1 +turbo_n_4,356,47,0 duplicate(TurboTrap_n4) trap_n4#F74 139,1,1 +turbo_n_4,356,43,0 duplicate(TurboTrap_n4) trap_n4#F75 139,1,1 +turbo_n_4,356,39,0 duplicate(TurboTrap_n4) trap_n4#F76 139,1,1 +turbo_n_4,356,36,0 duplicate(TurboTrap_n4) trap_n4#F77 139,1,1 +turbo_n_4,360,56,0 duplicate(TurboTrap_n4) trap_n4#F78 139,1,1 +turbo_n_4,360,52,0 duplicate(TurboTrap_n4) trap_n4#F79 139,1,1 +turbo_n_4,360,48,0 duplicate(TurboTrap_n4) trap_n4#F80 139,1,1 +turbo_n_4,360,44,0 duplicate(TurboTrap_n4) trap_n4#F81 139,1,1 +turbo_n_4,360,40,0 duplicate(TurboTrap_n4) trap_n4#F82 139,1,1 +turbo_n_4,360,36,0 duplicate(TurboTrap_n4) trap_n4#F83 139,1,1 +turbo_n_4,364,55,0 duplicate(TurboTrap_n4) trap_n4#F84 139,1,1 +turbo_n_4,364,51,0 duplicate(TurboTrap_n4) trap_n4#F85 139,1,1 +turbo_n_4,364,47,0 duplicate(TurboTrap_n4) trap_n4#F86 139,1,1 +turbo_n_4,364,43,0 duplicate(TurboTrap_n4) trap_n4#F87 139,1,1 +turbo_n_4,364,39,0 duplicate(TurboTrap_n4) trap_n4#F88 139,1,1 +turbo_n_4,364,36,0 duplicate(TurboTrap_n4) trap_n4#F89 139,1,1 +turbo_n_4,368,56,0 duplicate(TurboTrap_n4) trap_n4#F90 139,1,1 +turbo_n_4,368,52,0 duplicate(TurboTrap_n4) trap_n4#F91 139,1,1 +turbo_n_4,368,48,0 duplicate(TurboTrap_n4) trap_n4#F92 139,1,1 +turbo_n_4,368,44,0 duplicate(TurboTrap_n4) trap_n4#F93 139,1,1 +turbo_n_4,368,40,0 duplicate(TurboTrap_n4) trap_n4#F94 139,1,1 +turbo_n_4,368,36,0 duplicate(TurboTrap_n4) trap_n4#F95 139,1,1 + +turbo_n_4,217,214,0 script bing#n4 45,3,3,{ +OnTouch: + set .@bing1,rand(1,10); + if (.@bing1 > 0 && .@bing1 < 4) + warp "turbo_n_4",217,232; + else if (.@bing1 == 6) + warp "turbo_n_4",233,207; + else if (.@bing1 == 7) + warp "turbo_n_4",208,219; + else if (.@bing1 == 8) + warp "turbo_n_4",219,202; + else if (.@bing1 == 9) + warp "turbo_n_4",218,228; + disablenpc "bing#n4"; + enablenpc "bing2#n4"; + end; +} + +turbo_n_4,217,214,0 script bing2#n4 45,3,3,{ +OnInit: + disablenpc "bing2#n4"; + end; + +OnTouch: + set .@bing1,rand(1,10); + if (.@bing1 == 1) + warp "turbo_n_4",217,232; + else if (.@bing1 == 2) + warp "turbo_n_4",233,207; + else if (.@bing1 == 3) + warp "turbo_n_4",208,219; + else if (.@bing1 == 4) + warp "turbo_n_4",219,202; + else if (.@bing1 == 5) + warp "turbo_n_4",218,228; + else if (.@bing1 == 6) + warp "turbo_n_4",220,195; + end; +} diff --git a/npc/re/other/turbotrack/Normal_8.txt b/npc/re/other/turbotrack/Normal_8.txt new file mode 100644 index 000000000..7d5133812 --- /dev/null +++ b/npc/re/other/turbotrack/Normal_8.txt @@ -0,0 +1,1410 @@ +//===== rAthena Script ======================================= +//= Turbo Track - Normal - 8 Person +//===== By: ================================================== +//= L0ne_W0lf +//===== Current Version: ===================================== +//= 1.7 +//===== Compatible With: ===================================== +//= rAthena SVN +//===== Description: ========================================= +//= Turbo Track Course: Normal (Non-PVP) - 8 Person +//===== Additional Comments: ================================= +//= 1.0 Translated from the Official. [L0ne_W0lf] +//= 1.1 Fixed small official bug. [L0ne_W0lf] +//= 1.2 Replaced effect numerics with constants. [L0ne_W0lf] +//= 1.3 Fixed a little mistake [akrus] +//= 1.4 Corrected issue with top record setting. [L0ne_W0lf] +//= 1.5 Fixed name being saved under expert mode. (bugreport:4433) [L0ne_W0lf] +//= 1.6 Updated 'waitingroom' to support required zeny/lvl. [Kisuka] +//= 1.7 Fixed variable typo [Elias] +//============================================================ + +turbo_room,84,135,3 script Normal mode - 8 person 124,{ + end; + +OnInit: + waitingroom "Normal mode - 8 person",60,"Normal mode - 8 person::OnStartArena",8,1000,10,99; + enablewaitingroomevent "Normal mode - 8 person"; + end; + +OnEnable: + enablenpc "Normal mode - 8 person"; + enablewaitingroomevent "Normal mode - 8 person"; + end; + +OnStartArena: + warpwaitingpc "turbo_n_8",298,161; + donpcevent "Broadcast#n8::OnEnable"; + disablewaitingroomevent "Normal mode - 8 person"; + end; +} + +turbo_n_8,298,167,3 script Helper#n8_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_8,298,167,0 script Point Give-Away Guy#n8 -1,15,15,{ +OnInit: + disablenpc "Point Give-Away Guy#n8"; + end; + +OnTouch: + if (tt_point < 28999) { + set tt_point,tt_point+2; + warp "turbo_n_8",59,364; + } + else + warp "turbo_n_8",59,364; + end; +} + +turbo_n_8,167,3,0 script Broadcast#n8 -1,{ +OnInit: + disablenpc "Broadcast#n8"; + end; + +OnEnable: + enablenpc "Broadcast#n8"; + initnpctimer; + end; + +OnTimer2000: + mapannounce "turbo_n_8","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_8","You will have 30 seconds before you are transported to the Starting Line.",bc_map,"0x33FF66"; + end; + +OnTimer10000: + mapannounce "turbo_n_8","Please make sure that you have suitable equipment and items with you.",bc_map,"0x33FF66"; + end; + +OnTimer15000: + mapannounce "turbo_n_8","The 30 second countdown will begin shortly.",bc_map,"0x33FF66"; + end; + +OnTimer17000: + mapannounce "turbo_n_8","30 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer27000: + mapannounce "turbo_n_8","20 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer37000: + mapannounce "turbo_n_8","10 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer42000: + mapannounce "turbo_n_8","5 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer43000: + mapannounce "turbo_n_8","4 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer44000: + mapannounce "turbo_n_8","3 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer45000: + mapannounce "turbo_n_8","2 seconds remaining.",bc_map,"0x33FF66"; + end; + +OnTimer46000: + mapannounce "turbo_n_8","1 second remaining.",bc_map,"0x33FF66"; + end; + +OnTimer47000: + mapannounce "turbo_n_8","You will be transported to the Starting Line shortly.",bc_map,"0x33FF66"; + end; + +OnTimer49000: + enablenpc "Point Give-Away Guy#n8"; + donpcevent "Master#n8::OnEnable"; + end; + +OnTimer50000: + donpcevent "snake#n8::OnEnable"; + donpcevent "hunting#n8::OnEnable"; + enablenpc "bing#n8"; + end; + +OnTimer57000: + disablenpc "Point Give-Away Guy#n8"; + end; +} + +turbo_n_8,167,3,0 script Master#n8 -1,{ +OnInit: + disablenpc "Master#n8"; + end; + +OnEnable: + enablenpc "Master#n8"; + initnpctimer; + end; + +OnDisable: + stopnpctimer; + disablenpc "Master#n8"; + end; + +OnTimer7000: + mapannounce "turbo_n_8","Welcome to the Turbo Track.",bc_map,"0x33FF66"; + end; + +OnTimer9000: + mapannounce "turbo_n_8","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_8","We hope you will do your best.",bc_map,"0x33FF66"; + end; + +OnTimer13000: + mapannounce "turbo_n_8","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_8","The countdown will commence shortly.",bc_map,"0x33FF66"; + end; + +OnTimer17000: + mapannounce "turbo_n_8","- 5 -",bc_map,"0x33FF66"; + end; + +OnTimer18000: + mapannounce "turbo_n_8","- 4 -",bc_map,"0x33FF66"; + end; + +OnTimer19000: + mapannounce "turbo_n_8","- 3 -",bc_map,"0x33FF66"; + end; + +OnTimer20000: + mapannounce "turbo_n_8","- 2 -",bc_map,"0x33FF66"; + end; + +OnTimer21000: + mapannounce "turbo_n_8","- 1 -",bc_map,"0x33FF66"; + end; + +OnTimer22000: + mapannounce "turbo_n_8","- 0 -",bc_map,"0x33FF66"; + end; + +OnTimer23000: + mapannounce "turbo_n_8","Now! The race has begun! Go Go Go!!",bc_map,"0x33FF66"; + disablenpc "No_Unfair_Start#n8-1"; + disablenpc "No_Unfair_Start#n8-2"; + end; + +OnTimer30000: + mapannounce "turbo_n_8","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_8","You have 14 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer143000: + mapannounce "turbo_n_8","You have 13 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer203000: + mapannounce "turbo_n_8","You have 12 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer263000: + mapannounce "turbo_n_8","You have 11 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer323000: + mapannounce "turbo_n_8","You have 10 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer383000: + mapannounce "turbo_n_8","You have 9 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer443000: + mapannounce "turbo_n_8","You have 8 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer503000: + mapannounce "turbo_n_8","You have 7 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer563000: + mapannounce "turbo_n_8","You have 6 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer623000: + mapannounce "turbo_n_8","You have 5 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer683000: + mapannounce "turbo_n_8","You have 4 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer743000: + mapannounce "turbo_n_8","You have 3 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer803000: + mapannounce "turbo_n_8","You have 2 minutes left.",bc_map,"0x33FF66"; + end; + +OnTimer863000: + mapannounce "turbo_n_8","You have 1 minute left.",bc_map,"0x33FF66"; + end; + +OnTimer893000: + mapannounce "turbo_n_8","You have 30 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer903000: + mapannounce "turbo_n_8","You have 20 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer913000: + mapannounce "turbo_n_8","You have 10 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer918000: + mapannounce "turbo_n_8","You have 5 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer919000: + mapannounce "turbo_n_8","You have 4 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer920000: + mapannounce "turbo_n_8","You have 3 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer921000: + mapannounce "turbo_n_8","You have 2 seconds left.",bc_map,"0x33FF66"; + end; + +OnTimer922000: + mapannounce "turbo_n_8","You have 1 second left.",bc_map,"0x33FF66"; + end; + +OnTimer923000: + mapannounce "turbo_n_8","Time's up!",bc_map,"0x33FF66"; + end; + +OnTimer925000: + mapannounce "turbo_n_8","The race is over.",bc_map,"0x33FF66"; + end; + +OnTimer927000: + mapannounce "turbo_n_8","[Everyone will be transported to a Waiting Room.]",bc_map,"0x33FF66"; + mapwarp "turbo_n_8","turbo_room",71,89; + // all NPC OFF + disablenpc "Broadcast#n8"; + donpcevent "Master#n8::OnDisable"; + donpcevent "Normal mode - 8 person::OnEnable"; + // start line NPC ON + enablenpc "No_Unfair_Start#n8-1"; + enablenpc "No_Unfair_Start#n8-2"; + // monster reset + donpcevent "snake#n8::Onreset"; + donpcevent "hunting#n8::Onreset"; + disablenpc "bing2#n8"; + // NPC + disablenpc "Winner Helper#TBT_n_8"; + enablenpc "cos_n_8_end"; + enablenpc "cos_n_8_end2"; + enablenpc "cos_n_8_end3"; + enablenpc "Notice_Maker1#TBT_n_8"; + enablenpc "Notice_Maker3#TBT_n_8"; + enablenpc "Notice_Maker4#TBT_n_8"; + enablenpc "Disposable_Switch#n8"; + disablenpc "Flasher_Exit_1#n8"; + disablenpc "Flasher_Exit_2#n8"; + end; +} + +turbo_n_8,62,379,0 script No_Unfair_Start#n8-1 -1,0,31,{ +OnTouch: + warp "turbo_n_8",59,364; + end; +} + +turbo_n_8,68,379,5 script No_Unfair_Start#n8-2 -1,5,31,{ +OnTouch: + warp "turbo_n_8",59,364; + end; +} + +// Turbo Track: Normal Mode - 8 Players (Log Race) +turbo_n_8,118,377,0 script trap_a#n8-1::TurboLogRace_n_8 -1,44,1,{ +OnTouch: + set .@dropuser,rand(1,3); + if (.@dropuser == 1) + warp "turbo_n_8",72,372; + else if (.@dropuser == 2) + warp "turbo_n_8",72,365; + else + warp "turbo_n_8",72,357; + end; +} +turbo_n_8,77,375,0 duplicate(TurboLogRace_n_8) trap_a#n8-2 -1,3,1 +turbo_n_8,82,375,0 duplicate(TurboLogRace_n_8) trap_a#n8-3 -1,1,1 +turbo_n_8,82,372,0 duplicate(TurboLogRace_n_8) trap_a#n8-4 -1,0,2 +turbo_n_8,83,372,0 duplicate(TurboLogRace_n_8) trap_a#n8-5 -1,0,2 +turbo_n_8,97,374,0 duplicate(TurboLogRace_n_8) trap_a#n8-6 -1,1,2 +turbo_n_8,98,374,0 duplicate(TurboLogRace_n_8) trap_a#n8-7 -1,1,2 +turbo_n_8,122,372,0 duplicate(TurboLogRace_n_8) trap_a#n8-8 -1,2,4 +turbo_n_8,125,374,0 duplicate(TurboLogRace_n_8) trap_a#n8-9 -1,0,4 +turbo_n_8,132,374,0 duplicate(TurboLogRace_n_8) trap_a#n8-10 -1,7,2 +turbo_n_8,156,374,0 duplicate(TurboLogRace_n_8) trap_a#n8-11 -1,6,2 +turbo_n_8,163,375,0 duplicate(TurboLogRace_n_8) trap_a#n8-12 -1,0,3 +turbo_n_8,164,377,0 duplicate(TurboLogRace_n_8) trap_a#n8-13 -1,1,1 +// second line +turbo_n_8,76,369,0 duplicate(TurboLogRace_n_8) trap_b#n8-1 -1,2,2 +turbo_n_8,79,369,0 duplicate(TurboLogRace_n_8) trap_b#n8-2 -1,0,2 +turbo_n_8,77,366,0 duplicate(TurboLogRace_n_8) trap_b#n8-3 -1,3,0 +turbo_n_8,85,366,0 duplicate(TurboLogRace_n_8) trap_b#n8-4 -1,5,1 +turbo_n_8,87,363,0 duplicate(TurboLogRace_n_8) trap_b#n8-5 -1,2,1 +turbo_n_8,88,368,0 duplicate(TurboLogRace_n_8) trap_b#n8-6 -1,2,5 +turbo_n_8,92,370,0 duplicate(TurboLogRace_n_8) trap_b#n8-7 -1,1,3 +turbo_n_8,98,368,0 duplicate(TurboLogRace_n_8) trap_b#n8-8 -1,4,1 +turbo_n_8,109,371,0 duplicate(TurboLogRace_n_8) trap_b#n8-9 -1,7,2 +turbo_n_8,110,368,0 duplicate(TurboLogRace_n_8) trap_b#n8-10 -1,7,0 +turbo_n_8,113,366,0 duplicate(TurboLogRace_n_8) trap_b#n8-11 -1,3,2 +turbo_n_8,117,368,0 duplicate(TurboLogRace_n_8) trap_b#n8-12 -1,0,5 +turbo_n_8,123,364,0 duplicate(TurboLogRace_n_8) trap_b#n8-13 -1,6,1 +turbo_n_8,136,368,0 duplicate(TurboLogRace_n_8) trap_b#n8-14 -1,8,1 +turbo_n_8,136,366,0 duplicate(TurboLogRace_n_8) trap_b#n8-15 -1,8,0 +turbo_n_8,144,370,0 duplicate(TurboLogRace_n_8) trap_b#n8-16 -1,2,3 +turbo_n_8,147,370,0 duplicate(TurboLogRace_n_8) trap_b#n8-17 -1,0,3 +turbo_n_8,155,369,0 duplicate(TurboLogRace_n_8) trap_b#n8-18 -1,7,0 +turbo_n_8,155,368,0 duplicate(TurboLogRace_n_8) trap_b#n8-19 -1,7,0 +turbo_n_8,151,367,0 duplicate(TurboLogRace_n_8) trap_b#n8-20 -1,3,0 +turbo_n_8,153,366,0 duplicate(TurboLogRace_n_8) trap_b#n8-21 -1,1,0 +turbo_n_8,155,367,0 duplicate(TurboLogRace_n_8) trap_b#n8-22 -1,0,1 +//third line +turbo_n_8,78,362,0 duplicate(TurboLogRace_n_8) trap_c#n8-1 -1,4,1 +turbo_n_8,78,359,0 duplicate(TurboLogRace_n_8) trap_c#n8-2 -1,4,1 +turbo_n_8,83,362,0 duplicate(TurboLogRace_n_8) trap_c#n8-3 -1,0,1 +turbo_n_8,88,359,0 duplicate(TurboLogRace_n_8) trap_c#n8-4 -1,5,1 +turbo_n_8,89,357,0 duplicate(TurboLogRace_n_8) trap_c#n8-5 -1,1,1 +turbo_n_8,92,390,0 duplicate(TurboLogRace_n_8) trap_c#n8-6 -1,1,1 +turbo_n_8,92,357,0 duplicate(TurboLogRace_n_8) trap_c#n8-7 -1,1,1 +turbo_n_8,98,364,0 duplicate(TurboLogRace_n_8) trap_c#n8-8 -1,6,1 +turbo_n_8,98,362,0 duplicate(TurboLogRace_n_8) trap_c#n8-9 -1,6,0 +turbo_n_8,106,364,0 duplicate(TurboLogRace_n_8) trap_c#n8-10 -1,2,2 +turbo_n_8,107,360,0 duplicate(TurboLogRace_n_8) trap_c#n8-11 -1,1,2 +turbo_n_8,109,360,0 duplicate(TurboLogRace_n_8) trap_c#n8-12 -1,0,2 +turbo_n_8,112,361,0 duplicate(TurboLogRace_n_8) trap_c#n8-13 -1,3,1 +turbo_n_8,116,359,0 duplicate(TurboLogRace_n_8) trap_c#n8-14 -1,0,2 +turbo_n_8,117,359,0 duplicate(TurboLogRace_n_8) trap_c#n8-15 -1,0,2 +turbo_n_8,116,356,0 duplicate(TurboLogRace_n_8) trap_c#n8-16 -1,0,2 +turbo_n_8,117,356,0 duplicate(TurboLogRace_n_8) trap_c#n8-17 -1,0,2 +turbo_n_8,129,360,0 duplicate(TurboLogRace_n_8) trap_c#n8-18 -1,12,1 +turbo_n_8,129,358,0 duplicate(TurboLogRace_n_8) trap_c#n8-19 -1,12,0 +turbo_n_8,132,357,0 duplicate(TurboLogRace_n_8) trap_c#n8-20 -1,2,1 +turbo_n_8,137,357,0 duplicate(TurboLogRace_n_8) trap_c#n8-21 -1,2,1 +turbo_n_8,147,363,0 duplicate(TurboLogRace_n_8) trap_c#n8-22 -1,16,1 +turbo_n_8,149,365,0 duplicate(TurboLogRace_n_8) trap_c#n8-23 -1,1,0 +turbo_n_8,158,362,0 duplicate(TurboLogRace_n_8) trap_c#n8-24 -1,1,4 +turbo_n_8,154,360,0 duplicate(TurboLogRace_n_8) trap_c#n8-25 -1,2,2 +turbo_n_8,161,360,0 duplicate(TurboLogRace_n_8) trap_c#n8-26 -1,1,2 +turbo_n_8,161,365,0 duplicate(TurboLogRace_n_8) trap_c#n8-27 -1,1,0 +turbo_n_8,160,366,0 duplicate(TurboLogRace_n_8) trap_c#n8-28 -1 +//fourth line +turbo_n_8,79,353,0 duplicate(TurboLogRace_n_8) trap_d#n8-1 -1,5,2 +turbo_n_8,85,354,0 duplicate(TurboLogRace_n_8) trap_d#n8-2 -1,0,1 +turbo_n_8,99,353,0 duplicate(TurboLogRace_n_8) trap_d#n8-3 -1,14,0 +turbo_n_8,99,352,0 duplicate(TurboLogRace_n_8) trap_d#n8-4 -1,14,0 +turbo_n_8,99,356,0 duplicate(TurboLogRace_n_8) trap_d#n8-5 -1,3,3 +turbo_n_8,103,356,0 duplicate(TurboLogRace_n_8) trap_d#n8-6 -1,0,3 +turbo_n_8,108,354,0 duplicate(TurboLogRace_n_8) trap_d#n8-7 -1,5,1 +turbo_n_8,112,356,0 duplicate(TurboLogRace_n_8) trap_d#n8-8 -1,0,1 +turbo_n_8,113,356,0 duplicate(TurboLogRace_n_8) trap_d#n8-9 -1,0,1 +turbo_n_8,123,353,0 duplicate(TurboLogRace_n_8) trap_d#n8-10 -1,3,2 +turbo_n_8,127,353,0 duplicate(TurboLogRace_n_8) trap_d#n8-11 -1,0,2 +turbo_n_8,145,352,0 duplicate(TurboLogRace_n_8) trap_d#n8-12 -1,17,1 +turbo_n_8,152,354,0 duplicate(TurboLogRace_n_8) trap_d#n8-13 -1,10,1 +turbo_n_8,145,357,0 duplicate(TurboLogRace_n_8) trap_d#n8-14 -1,1,2 +turbo_n_8,148,357,0 duplicate(TurboLogRace_n_8) trap_d#n8-15 -1,1,2 + +// Turbo Track: Normal Mode - 8 Players (Sand Hill) +turbo_n_8,322,354,0 script #TBT_trap_n8-1::TurboSandHill_n8 -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_8,323,360,0 duplicate(TurboSandHill_n8) #TBT_trap_n8-2 -1,3,3 +turbo_n_8,324,365,0 duplicate(TurboSandHill_n8) #TBT_trap_n8-3 -1,1,1 +turbo_n_8,325,370,0 duplicate(TurboSandHill_n8) #TBT_trap_n8-4 -1,3,3 +turbo_n_8,325,375,0 duplicate(TurboSandHill_n8) #TBT_trap_n8-5 -1,1,1 +turbo_n_8,329,377,0 duplicate(TurboSandHill_n8) #TBT_trap_n8-6 -1,3,3 +turbo_n_8,338,372,0 duplicate(TurboSandHill_n8) #TBT_trap_n8-7 -1,3,3 +turbo_n_8,341,364,0 duplicate(TurboSandHill_n8) #TBT_trap_n8-8 -1,3,3 +turbo_n_8,325,359,0 duplicate(TurboSandHill_n8) #TBT_trap_n8-9 -1,2,2 +turbo_n_8,341,355,0 duplicate(TurboSandHill_n8) #TBT_trap_n8-10 -1,1,1 +turbo_n_8,350,355,0 duplicate(TurboSandHill_n8) #TBT_trap_n8-11 -1,3,3 +turbo_n_8,348,363,0 duplicate(TurboSandHill_n8) #TBT_trap_n8-12 -1,1,1 +turbo_n_8,347,370,0 duplicate(TurboSandHill_n8) #TBT_trap_n8-13 -1,2,2 +turbo_n_8,349,377,0 duplicate(TurboSandHill_n8) #TBT_trap_n8-14 -1,9,9 +turbo_n_8,362,372,0 duplicate(TurboSandHill_n8) #TBT_trap_n8-15 -1,3,3 +turbo_n_8,364,365,0 duplicate(TurboSandHill_n8) #TBT_trap_n8-16 -1,1,1 +turbo_n_8,363,357,0 duplicate(TurboSandHill_n8) #TBT_trap_n8-17 -1,3,3 +turbo_n_8,374,358,0 duplicate(TurboSandHill_n8) #TBT_trap_n8-18 -1,2,2 +turbo_n_8,371,367,0 duplicate(TurboSandHill_n8) #TBT_trap_n8-19 -1,3,3 +turbo_n_8,371,376,0 duplicate(TurboSandHill_n8) #TBT_trap_n8-20 -1,1,1 +turbo_n_8,379,375,0 duplicate(TurboSandHill_n8) #TBT_trap_n8-21 -1,3,3 +turbo_n_8,382,363,0 duplicate(TurboSandHill_n8) #TBT_trap_n8-22 -1,2,2 +turbo_n_8,381,354,0 duplicate(TurboSandHill_n8) #TBT_trap_n8-23 -1,1,1 +turbo_n_8,355,362,0 script #TBT_trap_n8-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[Errende]"; + mes "Kafra Ladies? Exquisite! Oh, and their service is good too~!^000000"; + mes " "; + mes "[Tristram III]"; + mes "By my crown! Such low prices!"; + 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: Normal Mode - 4 Players (Water Maze) +turbo_n_8,13,266,0 script flasher#n_8-01#turbo::TurboWaterMaze_n_8 -1,0,2,{ +OnTouch: + sc_start SC_BLIND,60000,0; + end; +} +turbo_n_8,24,268,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-02 -1,1,0 +turbo_n_8,20,258,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-03 -1,1,0 +turbo_n_8,23,251,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-04 -1,0,1 +turbo_n_8,36,270,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-05 -1,1,0 +turbo_n_8,22,239,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-06 -1,1,0 +turbo_n_8,38,239,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-07 -1,0,1 +turbo_n_8,37,237,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-08 -1,1,0 +turbo_n_8,55,247,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-09 -1,0,1 +turbo_n_8,55,246,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-10 -1,1,0 +turbo_n_8,63,253,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-11 -1,0,1 +turbo_n_8,36,216,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-12 -1,1,0 +turbo_n_8,20,209,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-13 -1,1,0 +turbo_n_8,28,195,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-14 -1,1,0 +turbo_n_8,82,264,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-15 -1,1,0 +turbo_n_8,47,185,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-16 -1,0,1 +turbo_n_8,53,207,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-17 -1,1,0 +turbo_n_8,54,208,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-18 -1,0,1 +turbo_n_8,81,247,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-19 -1,0,1 +turbo_n_8,105,257,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-20 -1,0,1 +turbo_n_8,95,242,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-21 -1,0,1 +turbo_n_8,77,232,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-22 -1,2,0 +turbo_n_8,67,222,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-23 -1,2,0 +turbo_n_8,83,206,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-24 -1,0,1 +turbo_n_8,95,224,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-25 -1,0,1 +turbo_n_8,106,220,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-26 -1,2,0 +turbo_n_8,93,191,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-27 -1,1,0 +turbo_n_8,94,192,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-28a -1,0,1 +turbo_n_8,46,214,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-28b -1,0,1 +turbo_n_8,16,247,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-29 -1,1,0 +turbo_n_8,58,268,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-30 -1,1,1 +turbo_n_8,36,253,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-31 -1,1,0 +turbo_n_8,69,238,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-32 -1,1,1 +turbo_n_8,58,268,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-33 -1,1,1 +turbo_n_8,74,188,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-34 -1,2,0 +turbo_n_8,99,207,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-35 -1,1,1 +turbo_n_8,74,188,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-36 -1,2,0 +turbo_n_8,111,188,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-37a -1,1,0 +turbo_n_8,51,232,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-37b -1,1,1 +turbo_n_8,30,232,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-38 -1,1,1 +turbo_n_8,92,256,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-39 -1,1,1 +turbo_n_8,79,220,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-40 -1,1,1 +turbo_n_8,51,192,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-41 -1,1,1 +turbo_n_8,22,227,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-42 -1,1,1 +turbo_n_8,51,232,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-43 -1,1,1 +turbo_n_8,42,258,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-44 -1,1,0 +turbo_n_8,45,271,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-45 -1,2,1 +turbo_n_8,72,207,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-46 -1,1,1 +turbo_n_8,33,192,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-47 -1,0,1 +turbo_n_8,90,241,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-48a -1,1,0 +turbo_n_8,236,3,0 duplicate(TurboWaterMaze_n_8) flasher#n_8-48b -1,3,0 + +// Turbo Track: Normal Mode - 8 Players (Snake Dice course) +turbo_n_8,324,279,0 script snake01#n8 45,1,1,{ +OnTouch: + set .@turbo2,rand(1,7); + if (.@turbo2 > 0) && (.@turbo2 < 3) + warp "turbo_n_8",370,292; + else if (.@turbo2 > 2) && (.@turbo2 < 5) + warp "turbo_n_8",295,293; + else if (.@turbo2 > 4) && (.@turbo2 < 7) + warp "turbo_n_8",355,292; + else + warp "turbo_n_8",279,292; + end; +} + +turbo_n_8,332,279,0 script snake02#n8 45,1,1,{ +OnTouch: + set .@turbo2,rand(1,8); + if (.@turbo2 > 0) && (.@turbo2 < 3) + warp "turbo_n_8",287,256; + else if (.@turbo2 > 2) && (.@turbo2 < 5) + warp "turbo_n_8",303,256; + else if (.@turbo2 > 4) && (.@turbo2 < 7) + warp "turbo_n_8",347,256; + else + warp "turbo_n_8",363,256; + end; +} + +turbo_n_8,324,270,0 script snake03#n8 45,1,1,{ +OnTouch: + set .@turbo2,rand(1,8); + if (.@turbo2 > 0) && (.@turbo2 < 3) + warp "turbo_n_8",279,292; + else if (.@turbo2 > 2) && (.@turbo2 < 5) + warp "turbo_n_8",311,292; + else if (.@turbo2 > 4) && (.@turbo2 < 7) + warp "turbo_n_8",347,256; + else + warp "turbo_n_8",370,292; + end; +} + +turbo_n_8,332,270,0 script snake04#n8 45,1,1,{ +OnTouch: + set .@turbo2,rand(1,7); + if (.@turbo2 > 0) && (.@turbo2 < 3) + warp "turbo_n_8",363,256; + else if (.@turbo2 > 2) && (.@turbo2 < 5) + warp "turbo_n_8",295,293; + else if (.@turbo2 > 4) && (.@turbo2 < 7) + warp "turbo_n_8",355,292; + else + warp "turbo_n_8",287,256; + end; +} + +//monsters +turbo_n_8,389,288,0 script snake#n8 111,{ +Onreset: + killmonsterall "turbo_n_8"; + end; + +OnEnable: + monster "turbo_n_8",279,284,"Archer Skeleton",1420,1; + monster "turbo_n_8",279,268,"Archer Skeleton",1420,1; + monster "turbo_n_8",279,260,"Archer Skeleton",1420,1; + monster "turbo_n_8",287,288,"Archer Skeleton",1420,1; + monster "turbo_n_8",287,280,"Archer Skeleton",1420,1; + monster "turbo_n_8",287,264,"Archer Skeleton",1420,1; + monster "turbo_n_8",295,284,"Archer Skeleton",1420,1; + monster "turbo_n_8",295,268,"Archer Skeleton",1420,1; + monster "turbo_n_8",295,260,"Archer Skeleton",1420,1; + monster "turbo_n_8",303,288,"Archer Skeleton",1420,1; + monster "turbo_n_8",303,280,"Archer Skeleton",1420,1; + monster "turbo_n_8",303,264,"Archer Skeleton",1420,1; + monster "turbo_n_8",311,284,"Archer Skeleton",1420,1; + monster "turbo_n_8",311,268,"Archer Skeleton",1420,1; + monster "turbo_n_8",311,260,"Archer Skeleton",1420,1; + monster "turbo_n_8",347,288,"Archer Skeleton",1420,1; + monster "turbo_n_8",347,280,"Archer Skeleton",1420,1; + monster "turbo_n_8",347,264,"Archer Skeleton",1420,1; + monster "turbo_n_8",355,284,"Archer Skeleton",1420,1; + monster "turbo_n_8",355,268,"Archer Skeleton",1420,1; + monster "turbo_n_8",355,260,"Archer Skeleton",1420,1; + monster "turbo_n_8",363,288,"Archer Skeleton",1420,1; + monster "turbo_n_8",363,280,"Archer Skeleton",1420,1; + monster "turbo_n_8",363,264,"Archer Skeleton",1420,1; + monster "turbo_n_8",371,284,"Archer Skeleton",1420,1; + monster "turbo_n_8",371,268,"Archer Skeleton",1420,1; + monster "turbo_n_8",371,260,"Archer Skeleton",1420,1; + monster "turbo_n_8",379,288,"Archer Skeleton",1420,1; + monster "turbo_n_8",379,280,"Archer Skeleton",1420,1; + monster "turbo_n_8",379,264,"Archer Skeleton",1420,1; + end; +} + +turbo_n_8,90,46,0 script hunting#n8 111,{ +Onreset: + killmonsterall "turbo_n_8"; + end; + +OnEnable: + monster "turbo_n_8",47,87,"Munak",1610,1; + monster "turbo_n_8",47,87,"Bongun",1611,1; + monster "turbo_n_8",47,87,"Munak",1610,1; + monster "turbo_n_8",24,74,"Munak",1610,1; + monster "turbo_n_8",24,74,"Bongun",1611,1; + monster "turbo_n_8",24,74,"Munak",1610,1; + monster "turbo_n_8",67,42,"Munak",1610,1; + monster "turbo_n_8",67,42,"Bongun",1611,1; + monster "turbo_n_8",67,42,"Munak",1610,1; + monster "turbo_n_8",60,70,"Munak",1610,1; + monster "turbo_n_8",60,70,"Bongun",1611,1; + monster "turbo_n_8",60,70,"Munak",1610,1; + monster "turbo_n_8",32,51,"Munak",1610,1; + monster "turbo_n_8",32,51,"Bongun",1611,1; + monster "turbo_n_8",32,51,"Munak",1610,1; + monster "turbo_n_8",30,25,"Munak",1610,1; + monster "turbo_n_8",30,25,"Bongun",1611,1; + monster "turbo_n_8",30,25,"Munak",1610,1; + monster "turbo_n_8",68,56,"Yao Jun",1612,1; + monster "turbo_n_8",26,46,"Yao Jun",1612,1; + monster "turbo_n_8",62,20,"Munak",1610,1; + monster "turbo_n_8",62,20,"Bongun",1611,1; + monster "turbo_n_8",62,20,"Munak",1610,1; + monster "turbo_n_8",216,378,"Munak",1610,1; + monster "turbo_n_8",218,360,"Munak",1610,1; + monster "turbo_n_8",223,361,"Munak",1610,1; + monster "turbo_n_8",243,342,"Munak",1610,1; + monster "turbo_n_8",247,364,"Munak",1610,1; + end; +} + +// Turbo Track: Normal Mode - 4 Players (Course-clear broadcasters, and exits?) +turbo_n_8,168,363,0 script cos_n_8_1 45,1,1,{ +OnTouch: + mapannounce "turbo_n_8","" + strcharinfo(0) +" has just passed the Log Bridge course!",bc_map,"0x70DBDB"; + set .@move1,rand(1,3); + if (.@move1 == 1) + warp "turbo_n_8",210,369; + else if (.@move1 == 2) + warp "turbo_n_8",210,361; + else + warp "turbo_n_8",210,354; + end; +} + +turbo_n_8,258,364,0 script cos_n_8_2 45,1,1,{ +OnTouch: + mapannounce "turbo_n_8","" + strcharinfo(0) +" has just passed the Cube Hills course!",bc_map,"0x70DBDB"; + warp "turbo_n_8",316,365; + end; +} + +turbo_n_8,316,365,0 script Disposable_Switch#n8 -1,1,1,{ +OnInit: + enablenpc "Disposable_Switch#n8"; + end; + +OnTouch: + if (rand(1,2) == 1) + enablenpc "Flasher_Exit_1#n8"; + else + enablenpc "Flasher_Exit_2#n8"; + disablenpc "Disposable_Switch#n8"; + end; +} + +turbo_n_8,385,365,0 script cos_n_8_3 45,1,1,{ +OnTouch: + set .@to_miro,rand(1,4); + mapannounce "turbo_n_8","" + strcharinfo(0) +" has just passed the Cursed Desert!",bc_map,"0x70DBDB"; + if (.@to_miro == 1) + warp "turbo_n_8",46,254; + else if (.@to_miro == 2) + warp "turbo_n_8",76,227; + else if (.@to_miro == 3) + warp "turbo_n_8",42,197; + else + warp "turbo_n_8",86,220; + end; +} + +turbo_n_8,11,266,0 script Flasher_Exit_1#n8 45,1,1,{ +OnInit: + disablenpc "Flasher_Exit_1#n8"; + end; + +OnTouch: + mapannounce "turbo_n_8","" + strcharinfo(0) +" has just passed the Flasher Maze!",bc_map,"0x70DBDB"; + warp "turbo_n_8",185,227; + end; +} + +turbo_n_8,114,190,0 script Flasher_Exit_2#n8 45,1,1,{ +OnInit: + disablenpc "Flasher_Exit_2#n8"; + end; + +OnTouch: + mapannounce "turbo_n_8","" + strcharinfo(0) +" has just passed the Flasher Maze!",bc_map,"0x70DBDB"; + warp "turbo_n_8",185,227; + end; +} + +turbo_n_8,250,200,0 script cos_n_8_5 45,1,1,{ +OnTouch: + mapannounce "turbo_n_8","" + strcharinfo(0) +" has just passed the Single Snail course!",bc_map,"0x70DBDB"; + warp "turbo_n_8",268,275; + end; +} + +turbo_n_8,389,275,0 script cos_n_8_6 45,1,1,{ +OnTouch: + mapannounce "turbo_n_8","" + strcharinfo(0) +" has just passed the Snake Dice course!",bc_map,"0x70DBDB"; + warp "turbo_n_8",5,91; + end; +} + +turbo_n_8,93,19,0 script cos_n_8_7 45,1,1,{ +OnTouch: + mapannounce "turbo_n_8","" + strcharinfo(0) +" has just passed the Small Cave course! You're getting closer to the finish!",bc_map,"0x70DBDB"; + set .@move1,rand(1,3); + if (.@move1 == 1) + warp "turbo_n_8",307,52; + else if (.@move1 == 2) + warp "turbo_n_8",307,46; + else + warp "turbo_n_8",307,40; + end; +} + +turbo_n_8,371,47,0 script cos_n_8_end 45,1,1,{ +OnInit: + enablenpc "cos_n_8_end"; + end; + +OnTouch: + mapannounce "turbo_n_8","" + strcharinfo(0) +" has just arrived at the Finish Line! Congratulations!",bc_map,"0xFFFF00"; + set $ttnames$[2],strcharinfo(0); + donpcevent "TBT_Guide#Broadcast::Onwin_n8"; + if (tt_point < 28951) + set tt_point,tt_point+50; + warp "turbo_n_8",384,161; + enablenpc "Winner Helper#TBT_n_8"; + disablenpc "cos_n_8_end"; + enablenpc "cos_n_8_end2"; + end; +} + +turbo_n_8,371,51,0 script cos_n_8_end2 45,1,1,{ +OnInit: + disablenpc "cos_n_8_end2"; + end; + +OnTouch: + mapannounce "turbo_n_8","" + strcharinfo(0) +" is second to reach the Finish Line! Congratulations!",bc_map,"0xFFFF00"; + if (tt_point < 28961) + set tt_point,tt_point+40; + warp "turbo_room",72,89; + disablenpc "cos_n_8_end2"; + enablenpc "cos_n_8_end3"; + end; +} + +turbo_n_8,371,43,0 script cos_n_8_end3 45,1,1,{ +OnInit: + disablenpc "cos_n_8_end3"; + end; + +OnTouch: + mapannounce "turbo_n_8","" + strcharinfo(0) +" is third to reach the Finish Line! Congratulations!",bc_map,"0xFFFF00"; + if (tt_point < 28971) + set tt_point,tt_point+30; + warp "turbo_room",72,89; + donpcevent "Winner Helper#TBT_n_8::OnEnable"; + donpcevent "Master#n8::OnDisable"; + disablenpc "Broadcast#n8"; + disablenpc "cos_n_8_end3"; + end; +} + +turbo_n_8,384,167,1 script Winner Helper#TBT_n_8 47,{ +//---reward points & record player name + if (tt_rank < 29999) { + mes "[Guide]"; + mes "Congratulations!"; + mes "As the winner, your reward"; + mes "is 50 Turbo Track Points,"; + mes ""+ strcharinfo(0) +"~"; + next; + mes "[Guide]"; + mes "However, you cannot receive"; + mes "any points if you exceed the"; + mes "point limit. You now have a total of " + my_point + " Turbo Track points."; + set tt_rank,tt_rank+1; + next; + if (tt_rank > $ttranks[1]) { + setarray $ttranks[0],$ttranks[0],tt_rank,$ttranks[1],$ttranks[2],$ttranks[3],$ttranks[4]; + setarray $ttnames$[9],strcharinfo(0); + mes "[Guide]"; + mes "Congratulations!"; + mes "You are ranked as"; + mes "the top player for"; + mes "winning the most games!"; + donpcevent "TBT_Guide#Broadcast::Onnew_top1"; + if (tt_rank == 29999) { + if ($ttnames$[7] == "Breezy Havana") { + set $ttnames$[7],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + else if ($ttnames$[8] == "RS125") { + set $ttnames$[8],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + //broadcastserver "FF0000" FW_NORMAL 10 0 0 " " + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!" + } + } + } + else if (tt_rank > $ttranks[2]) { + setarray $ttranks[0],$ttranks[0],$ttranks[1],tt_rank,$ttranks[3],$ttranks[4],$ttranks[5]; + setarray $ttnames$[10],strcharinfo(0); + mes "[Guide]"; + mes "Congratulations!"; + mes "You've ranked Second"; + mes "among the Top Five Players"; + mes "who've won the most games!"; + donpcevent "TBT_Guide#Broadcast::Onnew_top2"; + if (tt_rank == 29999) { + if ($ttnames$[7] == "Breezy Havana") { + set $ttnames$[7],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + else if ($ttnames$[8] == "RS125") { + set $ttnames$[8],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + } + } + else if (tt_rank > $ttranks[3]) { + setarray $ttranks[0],$ttranks[0],$ttranks[1],$ttranks[2],tt_rank,$ttranks[4],$ttranks[5]; + setarray $ttnames$[11],strcharinfo(0); + mes "[Guide]"; + mes "Congratulations!"; + mes "You've ranked Third"; + mes "among the Top Five Players"; + mes "who've won the most games!"; + donpcevent "TBT_Guide#Broadcast::Onnew_top3"; + if (tt_rank == 29999) { + if ($ttnames$[7] == "Breezy Havana") { + set $ttnames$[7],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + else if ($ttnames$[8] == "RS125") { + set $ttnames$[8],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + } + } + else if (tt_rank > $ttranks[4]) { + setarray $ttranks[0],$ttranks[0],$ttranks[1],$ttranks[2],$ttranks[3],tt_rank,$ttranks[5]; + setarray $ttnames$[12],strcharinfo(0); + mes "[Guide]"; + mes "Congratulations!"; + mes "You've ranked Fourth"; + mes "among the Top Five Players"; + mes "who've won the most games!"; + donpcevent "TBT_Guide#Broadcast::Onnew_top4"; + if (tt_rank == 29999) { + if ($ttnames$[7] == "Breezy Havana") { + set $ttnames$[7],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + else if ($ttnames$[8] == "RS125") { + set $ttnames$[8],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + } + } + else if (tt_rank > $ttranks[5]) { + setarray $ttranks[0],$ttranks[0],$ttranks[1],$ttranks[2],$ttranks[3],$ttranks[4],tt_rank; + setarray $ttnames$[13],strcharinfo(0); + mes "[Guide]"; + mes "Congratulations!"; + mes "You've ranked Fifth"; + mes "among the Top Five Players"; + mes "who've won the most games!"; + donpcevent "TBT_Guide#Broadcast::Onnew_top5"; + if (tt_rank == 29999) { + if ($ttnames$[7] == "Breezy Havana") { + set $ttnames$[7],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + else if ($ttnames$[8] == "RS125") { + set $ttnames$[8],strcharinfo(0); + mes "You've secured your place in"; + mes "the Turbo Track Hall of Honor!"; + announce "" + strcharinfo(0) + " has joined the Turbo Track Hall of Honor!",bc_all,"FF0000"; + } + } + } + else { + mes "[Guide]"; + mes "If you can win more games"; + mes "than everybody else, your"; + mes "name will be registered in"; + mes "our Top Five Player Ranking."; + next; + mes "[Guide]"; + mes "What do you"; + mes "think, " + strcharinfo(0) +"?"; + mes "Glory can be yours if"; + mes "you can achieve victory!"; + } + next; + mes "[Guide]"; + mes "Thank you for"; + mes "participating in"; + mes "the Turbo Track."; + mes "You will be transported"; + mes "to a Waiting Room shortly."; + close2; + warp "turbo_room",72,89; + end; + } + else { + if ($ttnames$[7] == strcharinfo(0)) { + mes "[Guide]"; + mes "Oh wow!"; + mes "You're a member"; + mes "in our Hall of Honor,"; + mes "aren't you? This is great!"; + mes "I'm talking to a living legend!"; + next; + mes "[Guide]"; + mes "Oh, I'm sorry! You're"; + mes "here so that I can tell you"; + mes "how many Turbo Track Points"; + set my_point,tt_point; + mes "you have, right? You've got a total of " + my_point + " Turbo Track Points, "+ strcharinfo(0) +"."; + next; + mes "[Guide]"; + mes "Oh, and thanks for"; + mes "participating in the"; + mes "Turbo Track! You'll be sent"; + mes "to the Waiting Room soon~"; + close2; + warp "turbo_room",72,89; + end; + } + else if ($ttnames$[8] == strcharinfo(0)) { + mes "[Guide]"; + mes "Hey, aren't you"; + mes "in our Hall of Honor?"; + mes "I've been watching your"; + mes "races... You're pretty quick"; + mes "on your feet, hotshot~"; + next; + mes "[Guide]"; + mes "Oh right, your current"; + set my_point,tt_point; + mes "Turbo Track Point total!"; + mes "You've got a total of"; + mes "" + my_point + " Turbo Track points,"; + mes "" + strcharinfo(0) + "."; + next; + mes "[Guide]"; + mes "Oh, and thanks for"; + mes "participating in the"; + mes "Turbo Track! You'll be sent"; + mes "to the Waiting Room soon~"; + close2; + warp "turbo_room",72,89; + end; + } + else { + mes "[Guide]"; + mes "Awwww~"; + mes "You were almost able"; + mes "to join our Hall of Honor...!"; + mes "But don't let that get you"; + mes "down. Maybe next time!"; + next; + mes "[Guide]"; + mes "Oh, right."; + mes "Currently, you"; + mes "have a total of"; + mes "" + tt_point + " Turbo Track points."; + next; + mes "[Guide]"; + mes "Thank you for"; + mes "participating in"; + mes "the Turbo Track."; + mes "You will be transported"; + mes "to a Waiting Room shortly."; + close2; + warp "turbo_room",72,89; + end; + } + } + +OnInit: + disablenpc "Winner Helper#TBT_n_8"; + end; + +OnEnable: + enablenpc "Winner Helper#TBT_n_8"; + initnpctimer; + end; + +OnTimer5000: + mapannounce "turbo_n_8","This is the ending broadcast for Turbo Track Normal Mode - 8 person.",bc_map,"0x33FF66"; + end; + +OnTimer10000: + mapannounce "turbo_n_8","For smooth game play, the game will be end in approximately 1 minute from now.",bc_map,"0x33FF66"; + end; + +OnTimer15000: + mapannounce "turbo_n_8","At that time, the warp portal will open.",bc_map,"0x33FF66"; + end; + +OnTimer20000: + mapannounce "turbo_n_8","Players within the arena must be in ready to enter the warp.",bc_map,"0x33FF66"; + end; + +OnTimer25000: + mapannounce "turbo_n_8","In the meantime, winners must procceed to receive their rewards as soon as possible.",bc_map,"0x33FF66"; + end; + +OnTimer30000: + mapannounce "turbo_n_8","Thank you for visiting Al De Baran Turbo Track.",bc_map,"0x33FF66"; + end; + +OnTimer35000: + mapannounce "turbo_n_8","Al De Baran Turbo Track is brought to you by...",bc_map,"0x33FF66"; + end; + +OnTimer40000: + mapannounce "turbo_n_8","[Al De Baran Kafra Corporation Headquarters]",bc_map,"0x33FF66"; + end; + +OnTimer45000: + mapannounce "turbo_n_8","[Al De Baran Guild Castle Management Luina]",bc_map,"0x33FF66"; + end; + +OnTimer50000: + mapannounce "turbo_n_8","[Blacksmith Union]",bc_map,"0x33FF66"; + end; + +OnTimer55000: + mapannounce "turbo_n_8","And [Comodo Casino].",bc_map,"0x33FF66"; + end; + +OnTimer60000: + mapannounce "turbo_n_8","Once again, we'd like to thank our sponsors.",bc_map,"0x33FF66"; + end; + +OnTimer65000: + mapannounce "turbo_n_8","Have a good day.",bc_map,"0x33FF66"; + end; + +//--- warp all players to turbo room +OnTimer70000: + mapwarp "turbo_n_8","turbo_room",72,89; + end; + +//----end game, reset all +OnTimer71000: + disablenpc "Winner Helper#TBT_n_8"; + enablenpc "cos_n_8_end"; + enablenpc "cos_n_8_end2"; + enablenpc "cos_n_8_end3"; + disablenpc "Notice_Maker1#TBT_n_8"; + disablenpc "Notice_Maker3#TBT_n_8"; + disablenpc "Notice_Maker4#TBT_n_8"; + enablenpc "Disposable_Switch#n8"; + enablenpc "Flasher_Exit_1#n8"; + enablenpc "Flasher_Exit_2#n8"; + enablenpc "No_Unfair_Start#n8-1"; + enablenpc "No_Unfair_Start#n8-2"; + donpcevent "snake#n8::Onreset"; + donpcevent "hunting#n8::Onreset"; + donpcevent "Normal mode - 8 person::OnEnable"; + disablenpc "bing2#n8"; + stopnpctimer; + end; +} + +turbo_n_8,11,91,0 script Notice_Maker1#TBT_n_8 -1,3,3,{ +OnInit: + enablenpc "Notice_Maker1#TBT_n_8"; + end; + +OnTouch: + mapannounce "turbo_n_8","" + strcharinfo(0) +" is now entering the Small Cave! "+ strcharinfo(0) +" is now in the lead!",bc_map,"0xFFFF00"; + donpcevent "TBT_Guide#Broadcast::Onend_n8"; + disablenpc "Notice_Maker1#TBT_n_8"; + end; +} + +turbo_n_8,234,223,0 script Notice_Maker3#TBT_n_8 -1,2,2,{ +OnInit: + enablenpc "Notice_Maker3#TBT_n_8"; + end; + +OnTouch: + mapannounce "turbo_n_8","" + strcharinfo(0) +" is now entering the Single Snail! "+ strcharinfo(0) +" is now in the lead!",bc_map,"0xFFFF00"; + disablenpc "Notice_Maker3#TBT_n_8"; + end; +} + +turbo_n_8,226,15,0 script Notice_Maker4#TBT_n_8 -1,1,1,{ +OnInit: + enablenpc "Notice_Maker4#TBT_n_8"; + end; + +OnTouch: + mapannounce "turbo_n_8","" + strcharinfo(0) +" is currently in First Place!",bc_map,"0xFFFF00"; + disablenpc "Notice_Maker4#TBT_n_8"; + end; +} + +turbo_n_8,227,379,0 script Warp#n_8_1::Warp_n_8 -1,1,1,{ +OnTouch: + set .@warprand,rand(1,20); + if (.@warprand == 1) + warp "turbo_n_8",216,378; + else if (.@warprand == 2) + warp "turbo_n_8",218,360; + else if (.@warprand == 4) + warp "turbo_n_8",223,361; + else if (.@warprand == 5) + warp "turbo_n_8",243,342; + else if (.@warprand == 6) + warp "turbo_n_8",247,364; + end; +} +turbo_n_8,237,380,0 duplicate(Warp_n_8) Warp#n_8_2 -1,1,1 +turbo_n_8,227,367,0 duplicate(Warp_n_8) Warp#n_8_3 -1,1,1 +turbo_n_8,231,360,0 duplicate(Warp_n_8) Warp#n_8_4 -1,1,1 +turbo_n_8,225,349,0 duplicate(Warp_n_8) Warp#n_8_5 -1,1,1 +turbo_n_8,249,352,0 duplicate(Warp_n_8) Warp#n_8_6 -1,1,1 +turbo_n_8,253,364,0 duplicate(Warp_n_8) Warp#n_8_7 -1,2,2 + +turbo_n_8,307,55,0 script trap_n8#F1::TurboTrap_n8 -1,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_8,307,51,0 duplicate(TurboTrap_n8) trap_n8#F2 139,1,1 +turbo_n_8,307,47,0 duplicate(TurboTrap_n8) trap_n8#F3 139,1,1 +turbo_n_8,307,43,0 duplicate(TurboTrap_n8) trap_n8#F4 139,1,1 +turbo_n_8,307,39,0 duplicate(TurboTrap_n8) trap_n8#F5 139,1,1 +turbo_n_8,307,39,0 duplicate(TurboTrap_n8) trap_n8#F96 139,1,1 +turbo_n_8,312,56,0 duplicate(TurboTrap_n8) trap_n8#F6 139,1,1 +turbo_n_8,312,52,0 duplicate(TurboTrap_n8) trap_n8#F7 139,1,1 +turbo_n_8,312,48,0 duplicate(TurboTrap_n8) trap_n8#F8 139,1,1 +turbo_n_8,312,44,0 duplicate(TurboTrap_n8) trap_n8#F9 139,1,1 +turbo_n_8,312,40,0 duplicate(TurboTrap_n8) trap_n8#F10 139,1,1 +turbo_n_8,312,36,0 duplicate(TurboTrap_n8) trap_n8#F11 139,1,1 +turbo_n_8,316,55,0 duplicate(TurboTrap_n8) trap_n8#F12 139,1,1 +turbo_n_8,316,51,0 duplicate(TurboTrap_n8) trap_n8#F13 139,1,1 +turbo_n_8,316,47,0 duplicate(TurboTrap_n8) trap_n8#F14 139,1,1 +turbo_n_8,316,43,0 duplicate(TurboTrap_n8) trap_n8#F15 139,1,1 +turbo_n_8,316,39,0 duplicate(TurboTrap_n8) trap_n8#F16 139,1,1 +turbo_n_8,316,36,0 duplicate(TurboTrap_n8) trap_n8#F17 139,1,1 +turbo_n_8,320,56,0 duplicate(TurboTrap_n8) trap_n8#F18 139,1,1 +turbo_n_8,320,52,0 duplicate(TurboTrap_n8) trap_n8#F19 139,1,1 +turbo_n_8,320,48,0 duplicate(TurboTrap_n8) trap_n8#F20 139,1,1 +turbo_n_8,320,44,0 duplicate(TurboTrap_n8) trap_n8#F21 139,1,1 +turbo_n_8,320,40,0 duplicate(TurboTrap_n8) trap_n8#F22 139,1,1 +turbo_n_8,320,36,0 duplicate(TurboTrap_n8) trap_n8#F23 139,1,1 +turbo_n_8,324,55,0 duplicate(TurboTrap_n8) trap_n8#F24 139,1,1 +turbo_n_8,324,51,0 duplicate(TurboTrap_n8) trap_n8#F25 139,1,1 +turbo_n_8,324,47,0 duplicate(TurboTrap_n8) trap_n8#F26 139,1,1 +turbo_n_8,324,43,0 duplicate(TurboTrap_n8) trap_n8#F27 139,1,1 +turbo_n_8,324,39,0 duplicate(TurboTrap_n8) trap_n8#F28 139,1,1 +turbo_n_8,324,36,0 duplicate(TurboTrap_n8) trap_n8#F29 139,1,1 +turbo_n_8,328,56,0 duplicate(TurboTrap_n8) trap_n8#F30 139,1,1 +turbo_n_8,328,52,0 duplicate(TurboTrap_n8) trap_n8#F31 139,1,1 +turbo_n_8,328,48,0 duplicate(TurboTrap_n8) trap_n8#F32 139,1,1 +turbo_n_8,328,44,0 duplicate(TurboTrap_n8) trap_n8#F33 139,1,1 +turbo_n_8,328,40,0 duplicate(TurboTrap_n8) trap_n8#F34 139,1,1 +turbo_n_8,328,36,0 duplicate(TurboTrap_n8) trap_n8#F35 139,1,1 +turbo_n_8,332,55,0 duplicate(TurboTrap_n8) trap_n8#F36 139,1,1 +turbo_n_8,332,51,0 duplicate(TurboTrap_n8) trap_n8#F37 139,1,1 +turbo_n_8,332,47,0 duplicate(TurboTrap_n8) trap_n8#F38 139,1,1 +turbo_n_8,332,43,0 duplicate(TurboTrap_n8) trap_n8#F39 139,1,1 +turbo_n_8,332,39,0 duplicate(TurboTrap_n8) trap_n8#F40 139,1,1 +turbo_n_8,332,36,0 duplicate(TurboTrap_n8) trap_n8#F41 139,1,1 + +turbo_n_8,336,56,0 script trap_n8#F42::TurboTrap_n8_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_8,336,52,0 duplicate(TurboTrap_n8_2) trap_n8#F43 139,1,1 +turbo_n_8,336,48,0 duplicate(TurboTrap_n8_2) trap_n8#F44 139,1,1 +turbo_n_8,336,44,0 duplicate(TurboTrap_n8_2) trap_n8#F45 139,1,1 +turbo_n_8,336,50,0 duplicate(TurboTrap_n8_2) trap_n8#F46 139,1,1 +turbo_n_8,336,36,0 duplicate(TurboTrap_n8_2) trap_n8#F47 139,1,1 +turbo_n_8,340,55,0 duplicate(TurboTrap_n8_2) trap_n8#F48 139,1,1 + +turbo_n_8,340,51,0 duplicate(TurboTrap_n8) trap_n8#F49 139,1,1 +turbo_n_8,340,47,0 duplicate(TurboTrap_n8) trap_n8#F50 139,1,1 +turbo_n_8,340,43,0 duplicate(TurboTrap_n8) trap_n8#F51 139,1,1 +turbo_n_8,340,39,0 duplicate(TurboTrap_n8) trap_n8#F52 139,1,1 +turbo_n_8,340,36,0 duplicate(TurboTrap_n8) trap_n8#F53 139,1,1 +turbo_n_8,344,56,0 duplicate(TurboTrap_n8) trap_n8#F54 139,1,1 +turbo_n_8,344,52,0 duplicate(TurboTrap_n8) trap_n8#F55 139,1,1 +turbo_n_8,344,48,0 duplicate(TurboTrap_n8) trap_n8#F56 139,1,1 +turbo_n_8,344,44,0 duplicate(TurboTrap_n8) trap_n8#F57 139,1,1 +turbo_n_8,344,40,0 duplicate(TurboTrap_n8) trap_n8#F58 139,1,1 +turbo_n_8,344,36,0 duplicate(TurboTrap_n8) trap_n8#F59 139,1,1 +turbo_n_8,348,55,0 duplicate(TurboTrap_n8) trap_n8#F60 139,1,1 +turbo_n_8,348,51,0 duplicate(TurboTrap_n8) trap_n8#F61 139,1,1 +turbo_n_8,348,47,0 duplicate(TurboTrap_n8) trap_n8#F62 139,1,1 +turbo_n_8,348,43,0 duplicate(TurboTrap_n8) trap_n8#F63 139,1,1 +turbo_n_8,348,39,0 duplicate(TurboTrap_n8) trap_n8#F64 139,1,1 +turbo_n_8,348,36,0 duplicate(TurboTrap_n8) trap_n8#F65 139,1,1 +turbo_n_8,352,56,0 duplicate(TurboTrap_n8) trap_n8#F66 139,1,1 +turbo_n_8,352,52,0 duplicate(TurboTrap_n8) trap_n8#F67 139,1,1 +turbo_n_8,352,48,0 duplicate(TurboTrap_n8) trap_n8#F68 139,1,1 +turbo_n_8,352,44,0 duplicate(TurboTrap_n8) trap_n8#F69 139,1,1 +turbo_n_8,352,40,0 duplicate(TurboTrap_n8) trap_n8#F70 139,1,1 +turbo_n_8,352,36,0 duplicate(TurboTrap_n8) trap_n8#F71 139,1,1 +turbo_n_8,356,55,0 duplicate(TurboTrap_n8) trap_n8#F72 139,1,1 +turbo_n_8,356,51,0 duplicate(TurboTrap_n8) trap_n8#F73 139,1,1 +turbo_n_8,356,47,0 duplicate(TurboTrap_n8) trap_n8#F74 139,1,1 +turbo_n_8,356,43,0 duplicate(TurboTrap_n8) trap_n8#F75 139,1,1 +turbo_n_8,356,39,0 duplicate(TurboTrap_n8) trap_n8#F76 139,1,1 +turbo_n_8,356,36,0 duplicate(TurboTrap_n8) trap_n8#F77 139,1,1 +turbo_n_8,360,56,0 duplicate(TurboTrap_n8) trap_n8#F78 139,1,1 +turbo_n_8,360,52,0 duplicate(TurboTrap_n8) trap_n8#F79 139,1,1 +turbo_n_8,360,48,0 duplicate(TurboTrap_n8) trap_n8#F80 139,1,1 +turbo_n_8,360,44,0 duplicate(TurboTrap_n8) trap_n8#F81 139,1,1 +turbo_n_8,360,40,0 duplicate(TurboTrap_n8) trap_n8#F82 139,1,1 +turbo_n_8,360,36,0 duplicate(TurboTrap_n8) trap_n8#F83 139,1,1 +turbo_n_8,364,55,0 duplicate(TurboTrap_n8) trap_n8#F84 139,1,1 +turbo_n_8,364,51,0 duplicate(TurboTrap_n8) trap_n8#F85 139,1,1 +turbo_n_8,364,47,0 duplicate(TurboTrap_n8) trap_n8#F86 139,1,1 +turbo_n_8,364,43,0 duplicate(TurboTrap_n8) trap_n8#F87 139,1,1 +turbo_n_8,364,39,0 duplicate(TurboTrap_n8) trap_n8#F88 139,1,1 +turbo_n_8,364,36,0 duplicate(TurboTrap_n8) trap_n8#F89 139,1,1 +turbo_n_8,368,56,0 duplicate(TurboTrap_n8) trap_n8#F90 139,1,1 +turbo_n_8,368,52,0 duplicate(TurboTrap_n8) trap_n8#F91 139,1,1 +turbo_n_8,368,48,0 duplicate(TurboTrap_n8) trap_n8#F92 139,1,1 +turbo_n_8,368,44,0 duplicate(TurboTrap_n8) trap_n8#F93 139,1,1 +turbo_n_8,368,40,0 duplicate(TurboTrap_n8) trap_n8#F94 139,1,1 +turbo_n_8,368,36,0 duplicate(TurboTrap_n8) trap_n8#F95 139,1,1 + +turbo_n_8,217,214,0 script bing#n8 45,3,3,{ +OnTouch: + set .@bing1,rand(1,10); + if (.@bing1 > 0 && .@bing1 < 4) + warp "turbo_n_8",217,232; + else if (.@bing1 == 6) + warp "turbo_n_8",233,207; + else if (.@bing1 == 7) + warp "turbo_n_8",208,219; + else if (.@bing1 == 8) + warp "turbo_n_8",219,202; + else if (.@bing1 == 9) + warp "turbo_n_8",218,228; + disablenpc "bing#n8"; + enablenpc "bing2#n8"; + end; +} + +turbo_n_8,217,214,0 script bing2#n8 45,3,3,{ +OnInit: + disablenpc "bing2#n8"; + end; + +OnTouch: + set .@bing1,rand(1,10); + if (.@bing1 == 1) + warp "turbo_n_8",217,232; + else if (.@bing1 == 2) + warp "turbo_n_8",233,207; + else if (.@bing1 == 3) + warp "turbo_n_8",208,219; + else if (.@bing1 == 4) + warp "turbo_n_8",219,202; + else if (.@bing1 == 5) + warp "turbo_n_8",218,228; + else if (.@bing1 == 6) + warp "turbo_n_8",220,195; + end; +} diff --git a/npc/re/other/turbotrack/Normal_Solo.txt b/npc/re/other/turbotrack/Normal_Solo.txt new file mode 100644 index 000000000..6c39bf746 --- /dev/null +++ b/npc/re/other/turbotrack/Normal_Solo.txt @@ -0,0 +1,1293 @@ +//===== 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 \ No newline at end of file diff --git a/npc/re/other/turbotrack/Turbo_Track.txt b/npc/re/other/turbotrack/Turbo_Track.txt new file mode 100644 index 000000000..3201d18c5 --- /dev/null +++ b/npc/re/other/turbotrack/Turbo_Track.txt @@ -0,0 +1,1108 @@ +//===== rAthena Script ======================================= +//= Turbo Track NPCs +//===== By: ================================================== +//= L0ne_W0lf +//===== Current Version: ===================================== +//= 1.4 +//===== Compatible With: ===================================== +//= rAthena SVN +//===== Description: ========================================= +//= General Turbo Track NPCs, includes Kafra and Tool Merchant +//===== Additional Comments: ================================= +//= 1.0 Translated from the Official. [L0ne_W0lf] +//= 1.1 Fixed exp rewarding working backwards.[L0ne_W0lf] +//= Fixed a bug in the while loop in the guide. +//= 1.2 Fix to prevent point converter from hanging. [L0ne_W0lf] +//= 1.3 Slight optimization to the point exchanger. [L0ne_W0lf] +//= 1.4 Added missing checkweights. [L0ne_W0lf] +//============================================================ + +turbo_room,130,92,3 script Kafra Staff#tt 115,{ + cutin "kafra_03",2; + mes "[Kafra Staff]"; + mes "Welcome~ The Kafra Services"; + mes "are always on your side. Let me"; + mes "remind you that using the Save"; + mes "Service here will change your"; + mes "Respawn Point to Al De Baran."; + mes "Now, how may I assist you?"; + callfunc "F_Kafra",5,8,1,40,0; + + M_Save: + savepoint "aldebaran",168,112; + callfunc "F_KafEnd",0,1,"in Al De Baran"; + +} + +//Turbo Track Shop +turbo_room,124,86,0 shop Turbo Track Merchant 90,501:-1,502:-1,503:-1,504:-1,645:-1,656:-1,1065:-1,1750:-1 + +//This is the name on iRO as well. [Confirmed] +turbo_room,99,120,4 script TBT_Guide#Broadcast 124,{ + mes "[Turbo Track Guide]"; + mes "Good day~"; + mes "Is there anything that"; + mes "you would like to know"; + mes "about the Turbo Track?"; + mes "Feel free to ask me"; + mes "any questions."; + next; + while(1) { + switch(select("Race Rules:Game Courses:Game Modes:Prohibited Items and Skills:Cancel")) { + case 1: + mes "[Turbo Track Guide]"; + mes "The rules for all the races"; + mes "are pretty simple. Just get"; + mes "past all the obstacles and"; + mes "try to get to the Finish Line"; + mes "as quickly as you can."; + next; + mes "[Turbo Track Guide]"; + mes "Of course, some of the courses"; + mes "in the races may present a few"; + mes "unexpected situations, but I can't really illustrate an example..."; + mes "Just know that there will"; + mes "be traps lying about."; + next; + mes "[Turbo Track Guide]"; + mes "Classes that can mount"; + mes "a Peco Peco, such as Knight,"; + mes "Lord Knight, Crusader and"; + mes "Paladin, must get off their"; + mes "Peco Pecos before entering"; + mes "the Turbo Track Arena."; + next; + mes "[Turbo Track Guide]"; + mes "Well, more accurately,"; + mes "someone at the Turbo Track"; + mes "entrance will ask you to get"; + mes "off and will give you a ticket"; + mes "so that you can rent your"; + mes "Peco again free of charge."; + next; + mes "[Turbo Track Guide]"; + mes "Now, the winner of the race"; + mes "is the person who reaches the"; + mes "Finish Line first. Once someone"; + mes "crosses the Finish Line, the race ends and everyone is automatically transported to a Waiting Room."; + next; + mes "[Turbo Track Guide]"; + mes "Keep in mind that every"; + mes "race is only 15 minutes long."; + mes "If no one can reach the Finish"; + mes "Line within that time, the race"; + mes "will end without a winner."; + next; + mes "[Turbo Track Guide]"; + mes "There are no character"; + mes "class or level requirements"; + mes "to participate in the Turbo"; + mes "Track. However, there is a"; + mes "participation fee of 1,000 zeny. ^FFFFFFcobo^000000"; + next; + break; + case 2: + mes "[Turbo Track Guide]"; + mes "Races in the Turbo Track"; + mes "consist of various courses:"; + mes "^4d4dffLog Bridge, Cube Hills, the"; + mes "Single Snail, Snake Dice, Small"; + mes "Cave and the Invisible Maze."; + next; + mes "[Turbo Track Guide]"; + mes "The availability of specific"; + mes "courses is determined by the"; + mes "game mode. Would you like to"; + mes "learn more about a certain course? ^FFFFFFcobo^000000"; + next; + set .@exitloop,1; + while (.@exitloop) { + switch(select("Log Bridge and Cube Hills:Cursed Desert and Flasher Maze:Single Snail and Invisible Maze:Snake Dice and Small Cave:No, thanks.")) { + case 1: + mes "[Turbo Track Guide]"; + mes "In the Log Bridge"; + mes "course, you must cross"; + mes "over a single log. If you"; + mes "fall off, you'll be brought"; + mes "back to the beginning of"; + mes "the Log Bridge."; + next; + mes "[Turbo Track Guide]"; + mes "The Cube Hills is a maze"; + mes "consisting of piles and piles"; + mes "of boxes. You can climb over"; + mes "some boxes, but cannot pass"; + mes ",through others. You'll have to navigate and find the best path."; + next; + break; + case 2: + mes "[Turbo Track Guide]"; + mes "The Cursed Desert is"; + mes "a short course that is full"; + mes "of surprises. If you're really"; + mes "unlucky, you may find yourself"; + mes "confused or even cursed!"; + next; + mes "[Turbo Track Guide]"; + mes "The Flasher Maze"; + mes "is full of traps that will"; + mes "blind so you better be extra"; + mes "careful in navigating this maze. It might be wiser to try to slow down and avoid the traps..."; + next; + break; + case 3: + mes "[Turbo Track Guide]"; + mes "The Single Snail is"; + mes "a narrow, spiral path"; + mes "shaped like a snail's shell."; + mes "There aren't many obstacles,"; + mes "but it will be tough to race at your top speed in this course."; + next; + mes "[Turbo Track Guide]"; + mes "The Invisible Maze"; + mes "looks like a huge, open"; + mes "room, but it's actually full"; + mes "of invisible walls. You'll"; + mes "be given some hints, so"; + mes "it's not impossible."; + next; + break; + case 4: + mes "[Turbo Track Guide]"; + mes "The Snake Dice course"; + mes "offers winding paths, much"; + mes "like the body of a snake. The"; + mes "factor of luck also plays a role in this course, which you'll"; + mes "have to see for yourself."; + next; + mes "[Turbo Track Guide]"; + mes "The Small Cave is simply"; + mes "a replica of the Payon Cave."; + mes "This part should be a breeze"; + mes "if you're pretty comfortable with hunting in the Payon Cave."; + next; + break; + case 5: + mes "[Turbo Track Guide]"; + mes "I see."; + mes "Okay then,"; + mes "best of luck to"; + mes "you in the races!"; + next; + set .@exitloop,0; + } + } + mes "[Turbo Track Guide]"; + mes "Would you like to"; + mes "know anything else"; + mes "about Turbo Track?"; + next; + break; + case 3: + mes "[Turbo Track Guide]"; + mes "There are three different"; + mes "game modes available for"; + mes "races in the Turbo Track:"; + mes "Normal, Expert and Solo."; + next; + mes "[Turbo Track Guide]"; + mes "Unlike the other game"; + mes "modes, ^4d4dffExpert Mode"; + mes "allows players to PvP^000000. This mode"; + mes "is ideal for races between"; + mes "parties or guilds."; + next; + mes "[Turbo Track Guide]"; + mes "Now, the Invisible Maze is"; + mes "a special course that is only"; + mes "available in 16 person races"; + mes "in ^4d4dffNormal^000000 and ^4D4DFFExpert^000000 modes."; + next; + mes "[Turbo Track Guide]"; + mes "If you play Solo Mode,"; + mes "you can experience every"; + mes "course, and the name of time"; + mes "of the fastest player will be"; + mes "recorded in our Hall of Honor."; + next; + break; + case 4: + mes "[Turbo Track Guide]"; + mes "Now in Turbo Track, the"; + mes "following items are prohibited"; + mes "from use: Green Potion, Panacea"; + mes "and Fly Wing. If you do try to use them, they won't work until after you leave the race track."; + next; + mes "[Turbo Track Guide]"; + mes "The following skills cannot"; + mes "be used during Turbo Track"; + mes "races: Snatch, Teleport, Warp"; + mes "Portal, Hiding, Cloaking, Stealth, Cure, Ice Wall, Berserk, Basilica, Sheltering Bless and Spear Dynamo."; + next; + //this aopears to suposed to fall through. + case 5: + mes "[Turbo Track Guide]"; + mes "Please enjoy your"; + mes "time in the Al De Baran"; + mes "Turbo Track. Thank you~"; + close; + } + } + +OnInit: + // This will only ever be run ONCE! + // Unless you eradicate the variable. + // + // This OnInit initiallizes and sets the starting + // data for the Turbo Track's "Record" Logs. + // WARNING/ATTENTION: DO NOT MODIFY ANY OF THE DATA. + // DOING SO WILL CAUSE INTERNAL PROBLEMS IN THE SCRIPT. + if ($ttnames$[0] == "") { + setarray $ttnames$[0],"Breezy Havana"; // Solo Mode/Time Attack + setarray $ttnames$[1],"RS125"; // Normal 4 Player + setarray $ttnames$[2],"Hollgrehenn"; // Normal 8 Players + setarray $ttnames$[3],"Antonio"; // Noomal 16 Players + + setarray $ttnames$[4],"Aragham"; // Expert 4 Players + setarray $ttnames$[5],"Kafra Jasmine"; // Expert 8 Players + setarray $ttnames$[6],"Chris"; // Expert 16 Players + + setarray $ttnames$[7],"Breezy Havana"; // Honor Place 1 + setarray $ttnames$[8],"RS125"; // Honor Place 2 + + setarray $ttnames$[9],"Breezy Havana"; // Top 1 + setarray $ttnames$[10],"Nari"; // Top 2 + setarray $ttnames$[11],"Senorita Sylvia"; // Top 3 + setarray $ttnames$[12],"Joo Jahk"; // Top 4 + setarray $ttnames$[13],"RS125"; // Top 5 + + setarray $ttranks[0],999999,0,0,0,0,0; + } + end; + +Onend_n1: + mapannounce "turbo_room","A [Normal Mode - Solo] game will end shortly.",bc_map,"0xadff2f"; + end; + +Onend_n4: + mapannounce "turbo_room","A [Normal Mode - 4 Person] game will end shortly.",bc_map,"0xadff2f"; + end; + +Onend_n8: + mapannounce "turbo_room","A [Normal Mode - 8 Person] game will end shortly.",bc_map,"0xadff2f"; + end; + +Onend_n16: + mapannounce "turbo_room","A [Normal Mode - 16 Person] game will end shortly.",bc_map,"0xadff2f"; + end; + +Onend_e4: + mapannounce "turbo_room","A [Expert Mode - 4 Person] game will end shortly.",bc_map,"0xadff2f"; + end; + +Onend_e8: + mapannounce "turbo_room","A [Expert Mode - 8 Person] game will end shortly.",bc_map,"0xadff2f"; + end; + +Onend_e16: + mapannounce "turbo_room","A [Expert Mode - 16 Person] game will end shortly.",bc_map,"0xadff2f"; + end; + +Onnew_top1: + mapannounce "turbo_room","Congratulations! " + $ttnames$[9] + " has ranked Number One in the Turbo Track Hall of Honor!",bc_map,"0x00ff00"; + end; + +Onnew_top2: + mapannounce "turbo_room","Congratulations! " + $ttnames$[10] + " has ranked Second in the Turbo Track Hall of Honor!",bc_map,"0x00ff00"; + end; + +Onnew_top3: + mapannounce "turbo_room","Congratulations! " + $ttnames$[11] + " has ranked Third in the Turbo Track Hall of Honor!",bc_map,"0x00ff00"; + end; + +Onnew_top4: + mapannounce "turbo_room","Congratulations! " + $ttnames$[12] + " has ranked Fourth in the Turbo Track Hall of Honor!",bc_map,"0x00ff00"; + end; + +Onnew_top5: + mapannounce "turbo_room","Congratulations! " + $ttnames$[13] + " has ranked Fifth in the Turbo Track Hall of Honor!",bc_map,"0x00ff00"; + end; + +Onwin_n4: + mapannounce "turbo_room","Congratulations! " + $ttnames$[1] + " just won a [Normal Mode - 4 Person] game!",bc_map,"0x70DBDB"; + end; + +Onwin_n8: + mapannounce "turbo_room","Congratulations! " + $ttnames$[2] + " just won a [Normal Mode - 8 Person] game!",bc_map,"0x70DBDB"; + end; + +Onwin_n16: + mapannounce "turbo_room","Congratulations! " + $ttnames$[3] + " just won a [Normal Mode - 16 Person] game!",bc_map,"0x70DBDB"; + end; + +Onwin_e4: + mapannounce "turbo_room","Congratulations! " + $ttnames$[4] + " just won an [Expert Mode - 4 Person] game!",bc_map,"0x70DBDB"; + end; + +Onwin_e8: + mapannounce "turbo_room","Congratulations! " + $ttnames$[5] + " just won an [Expert Mode - 8 Person] game!",bc_map,"0x70DBDB"; + end; + +Onwin_e16: + mapannounce "turbo_room","Congratulations! " + $ttnames$[6] + " just won an [Expert Mode - 16 Person] game!",bc_map,"0x70DBDB"; + end; +} + +turbo_room,102,117,3 script Hall of Honor#tt 857,{ + mes "^2F4F4FTurbo Track Hall of Honor^000000"; + mes " "; + mes "The First:"; + mes "^4d4dff" + $ttnames$[7] + "^000000"; + mes " "; + mes "The Last:"; + mes "^4d4dff" + $ttnames$[8] + "^000000"; + close; +} + +turbo_room,77,115,5 script Solo Mode#tt::TurboSoloNames 857,{ + mes "^2F4F4FSolo Mode Record^000000"; + mes " "; + mes "The best player"; + mes "in Solo Mode..."; + mes "^4d4dff" + $ttnames$[0] + "^000000 !"; + close; +} + +turbo_room,87,114,5 script Normal Mode Record#tt::TurboNormalNames 857,{ + mes "<>"; + mes "Winners of Normal Mode - 4 Person"; + mes "^4d4dff" + $ttnames$[1] + "^000000"; + mes "Winners of Normal Mode - 8 Person"; + mes "^4d4dff" + $ttnames$[2] + "^000000"; + mes "Winners of Normal Mode - 16 Person"; + mes "^4d4dff" + $ttnames$[3] + "^000000"; + close; +} + +turbo_room,112,114,3 script Expert Mode Record::TurboExpertNames 857,{ + mes "<>"; + mes "Winners of Expert Mode - 4 Person"; + mes "^4d4dff" + $ttnames$[4] + "^000000"; + mes "Winners of Expert Mode - 8 Person"; + mes "^4d4dff" + $ttnames$[5] + "^000000"; + mes "Winners of Expert Mode - 16 Person"; + mes "^4d4dff" + $ttnames$[6] + "^000000"; + close; +} + +turbo_room,97,117,5 script Hall of Honor#tt2 857,{ + mes "^2F4F4FTurbo Track Hall of Honor^000000"; + mes " "; + mes "1st: ^4d4dff" + $ttnames$[9] + "^000000"; + mes "2nd: ^4d4dff" + $ttnames$[10] + "^000000"; + mes "3rd: ^4d4dff" + $ttnames$[11] + "^000000"; + mes "4th: ^4d4dff" + $ttnames$[12] + "^000000"; + mes "5th: ^4d4dff" + $ttnames$[13] + "^000000"; + close; +} + +turbo_room,75,95,5 duplicate(TurboSoloNames) Solo Mode#1 857 +turbo_room,67,95,5 duplicate(TurboNormalNames) Normal Mode Records#1 857 +turbo_room,71,95,5 duplicate(TurboExpertNames) Expert Mode Records#1 857 + +// Turbo Track Item Exchanger +turbo_room,93,117,5 script Point Exchange Helper 125,{ + if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) { + mes "^3355FFWait a second!"; + mes "Right now, you're carrying"; + mes "too many items with you."; + mes "Please come back after"; + mes "putting storing some of your"; + mes "things using the Kafra Service.^000000"; + close; + } + if (tt_point < 10) { + mes "[Item Exchange Helper]"; + mes "Good day,"; + mes "" + strcharinfo(0) + "."; + mes "You've got a total of"; + mes "" + tt_point + " Turbo Track Points."; + next; + mes "[Item Exchange Helper]"; + mes "If you have at least"; + mes "10 Turbo Track Points,"; + mes "you can exchange these"; + mes "points for items. Would"; + mes "you like to see the Turbo"; + mes "Track Point exchange list?"; + next; + if (select("Yes.:Cancel.") == 1) { + mes "[Item Exchange Helper]"; + mes "^3355FF10 TTP^000000: 1 Free Ticket"; + mes "for Kafra Transportation"; + mes "^3355FF12 TTP^000000: 1 Level 5 Magic Scroll"; + mes "^3355FF40 TTP^000000: Experience Points"; + next; + mes "[Item Exchange Helper]"; + mes "^3355FF150 TTP^000000: 1 3 Carat Diamond"; + mes "^3355FF300 TTP^000000: 1 Gift Box"; + mes "^3355FF400 TTP^000000: 1 Speed Potion"; + next; + mes "[Item Exchange Helper]"; + mes "You can also convert Turbo Track Points into Arena Points. For more information, please speak to the Arena Point Manager. Thank you."; + close; + } + mes "[Item Exchange Helper]"; + mes "We hope that you enjoy"; + mes "Al De Baran's Turbo Track."; + mes "Try to earn as many points"; + mes "as you can so that you can"; + mes "exchange them for useful"; + mes "stuff later. Happy racing~"; + close; + } + else { + mes "[Item Exchange Helper]"; + mes "Good day,"; + mes "" + strcharinfo(0) + "."; + mes "You've got a total of"; + mes "" + tt_point + " Turbo Track Points."; + mes "Would you like to exchange"; + mes "these points for items?"; + next; + switch(select("Exchange.:Cancel.")) { + case 1: + mes "[Item Exchange Helper]"; + mes "Please choose the item for"; + mes "which you'd like to exchange"; + mes "your Turbo Track Points."; + next; + switch(select("Free Ticket for Kafra Transportation:Level 5 Magic Scroll:Experience Points:3 Carat Diamond:Gift Box:Speed Potion:Cancel.")) { + case 1: + mes "[Item Exchange Helper]"; + mes "Each Free Ticket for"; + mes "Kafra Transportation"; + mes "costs 10 Turbo Track Points."; + mes "Please enter the amount that"; + mes "you wish to have. To cancel,"; + mes "please enter ''^3355FF0^000000.''"; + next; + input .@input; + if (.@input == 0) { + mes "[Item Exchange Helper]"; + mes "You have"; + mes "canceled"; + mes "your request."; + close; + } + else if (.@input < 0 || .@input > 50) { + mes "[Item Exchange Helper]"; + mes "Your request exceeds"; + mes "the maximum limit. You"; + mes "can only receive a maximum"; + mes "of 50 tickets at once."; + close; + } + else { + set .@total_point,10 * .@input; + if (.@total_point > tt_point) { + mes "[Item Exchange Helper]"; + mes "I'm sorry, but you do"; + mes "not have enough Turbo"; + mes "Track Points. Please check"; + mes "the amount of Turbo Track"; + mes "Points you have earned before"; + mes "redeeming your points again."; + close; + } + set tt_point,tt_point-.@total_point; + getitem 7060,.@input; //Warp_Free_Ticket + mes "[Item Exchange Helper]"; + mes "Thank you for"; + mes "your patronage."; + mes "We hope you enjoy"; + mes "your time here in"; + mes "the Turbo Track~"; + close; + } + case 2: + mes "[Item Exchange Helper]"; + mes "Each Magic Scroll costs"; + mes "12 Turbo Track Points. Please"; + mes "select the Magic Scroll you would like to receive. Each scroll enables a one time use of a Level 5 spell or skill."; + next; + switch(select("Earth Spike:Cold Bolt:Fire Bolt:Lightning Bolt:Soul Strike:Fire Ball:Fire Wall:Frost Diver:Heal")) { + case 1: + set .@scroll,687; //Earth_Scroll_1_5 + set .@name$,"Earth Spike"; + break; + case 2: + set .@scroll,689; //Cold_Scroll_1_5 + set .@name$,"Cold Boltl"; + break; + case 3: + set .@scroll,691; //Fire_Scroll_1_5 + set .@name$,"Fire Bolt"; + break; + case 4: + set .@scroll,693; //Wind_Scroll_1_5 + set .@name$,"Lightning Bolt"; + break; + case 5: + set .@scroll,695; //Ghost_Scroll_1_5 + set .@name$,"Soul Strike"; + break; + case 6: + set .@scroll,697; //Fire_Scroll_2_5 + set .@name$,"Fire Ball"; + break; + case 7: + set .@scroll,699; //Fire_Scroll_3_5 + set .@name$,"Fire Wall"; + break; + case 8: + set .@scroll,12000; //Cold_Scroll_2_5 + set .@name$,"Frost Diver"; + break; + case 9: + set .@scroll,12002; //Holy_Scroll_1_5 + set .@name$,"Heal"; + break; + } + mes "[Item Exchange Helper]"; + mes "Please enter the number"; + mes "of ^4d4dff"+.@name$+"^000000 Magic Scrolls that"; + mes "you would like to receive."; + mes "To cancel, enter ''^3355FF0^000000.''"; + next; + input .@input; + if (.@input == 0) { + mes "[Item Exchange Helper]"; + mes "You have"; + mes "canceled"; + mes "your request."; + close; + } + else if (.@input < 0 || .@input > 50) { + mes "[Item Exchange Helper]"; + mes "I'm sorry, but your"; + mes "request has exceeded the"; + mes "maximum limit. You can only"; + mes "request up to 50 scrolls at once. ^FFFFFFcobo^000000"; + close; + } + else { + set .@total_point,12 * .@input; + if (.@total_point > tt_point) { + mes "[Item Exchange Helper]"; + mes "I'm sorry, but you do"; + mes "not have enough Turbo"; + mes "Track Points. Please check"; + mes "the amount of Turbo Track"; + mes "Points you have earned before"; + mes "redeeming your points again."; + close; + } + set tt_point,tt_point-.@total_point; + getitem .@scroll,.@input; + mes "[Item Exchange Helper]"; + mes "Thank you for"; + mes "your patronage."; + mes "We hope you enjoy"; + mes "your time here in"; + mes "the Turbo Track~"; + close; + } + case 3: + mes "[Item Exchange Helper]"; + mes "You can exchange"; + mes "40 Turbo Track Points"; + mes "to receive Base Level"; + mes "Experience. Would you"; + mes "like to exchange your Turbo"; + mes "Track Points for Experience?"; + next; + if (select("No:Yes") == 2) { + if (tt_point < 40) { + mes "[Item Exchange Helper]"; + mes "I'm sorry, but you do"; + mes "not have enough Turbo"; + mes "Track Points. Please check"; + mes "the amount of Turbo Track"; + mes "Points you have earned before"; + mes "redeeming your points again."; + close; + + } + set tt_point,tt_point-40; + if (BaseLevel < 70) + getexp 300,0; + else if (BaseLevel < 80) + getexp 900,0; + else if (BaseLevel < 90) + getexp 1000,0; + else if (BaseLevel < 151) + getexp 3000,0; + mes "[Item Exchange Helper]"; + mes "Thank you, your"; + mes "Turbo Track Points"; + mes "have been converted into"; + mes "Base Level Experience."; + close; + } + mes "[Item Exchange Helper]"; + mes "You have"; + mes "canceled"; + mes "your request."; + close; + case 4: + mes "[Item Exchange Helper]"; + mes "You can exchange"; + mes "150 Turbo Track Points"; + mes "for ^3131FF1 3 Carat Diamond^000000."; + mes "Please enter the number of"; + mes "diamonds you would like to receive."; + mes "To cancel, enter ''^3355FF0^000000.''"; + next; + input .@input; + if (.@input == 0) { + mes "[Item Exchange Helper]"; + mes "You have"; + mes "canceled"; + mes "your request."; + close; + } + else if (.@input < 0 || .@input > 10) { + mes "[Item Exchange Helper]"; + mes "Your request exceeds"; + mes "the maximum limit. You"; + mes "can only receive a maximum"; + mes "of 10 diamonds at once."; + close; + } + else { + set .@total_point,150 * .@input; + if (.@total_point > tt_point) { + mes "[Item Exchange Helper]"; + mes "I'm sorry, but you do"; + mes "not have enough Turbo"; + mes "Track Points. Please check"; + mes "the amount of Turbo Track"; + mes "Points you have earned before"; + mes "redeeming your points again."; + close; + } + set tt_point,tt_point-.@total_point; + getitem 732,.@input; //Crystal_Jewel__ + mes "[Item Exchange Helper]"; + mes "Thank you for"; + mes "your patronage."; + mes "We hope you enjoy"; + mes "your time here in"; + mes "the Turbo Track~"; + close; + } + case 5: + mes "[Item Exchange Helper]"; + mes "You can exchange"; + mes "300 Turbo Track Points"; + mes "for ^3131FF1 Gift Box^000000. Please enter"; + mes "the number of Gift Boxes"; + mes "that you'd like to receive."; + mes "To cancel, enter ''^3355FF0^000000.''"; + next; + input .@input; + if (.@input == 0) { + mes "[Item Exchange Helper]"; + mes "You have"; + mes "canceled"; + mes "your request."; + close; + } + else if (.@input < 0 || .@input > 10) { + mes "[Item Exchange Helper]"; + mes "Your request exceeds"; + mes "the maximum limit. You"; + mes "can only receive a maximum"; + mes "of 10 Gift Boxes at once."; + close; + } + else { + set .@total_point,300 * .@input; + if (.@total_point > tt_point) { + mes "[Item Exchange Helper]"; + mes "I'm sorry, but you do"; + mes "not have enough Turbo"; + mes "Track Points. Please check"; + mes "the amount of Turbo Track"; + mes "Points you have earned before"; + mes "redeeming your points again."; + close; + } + set tt_point,tt_point-.@total_point; + getitem 644,.@input; //Gift_Box + mes "[Item Exchange Helper]"; + mes "Thank you for"; + mes "your patronage."; + mes "We hope you enjoy"; + mes "your time here in"; + mes "the Turbo Track~"; + close; + } + case 6: + mes "[Item Exchange Helper]"; + mes "You can exchange"; + mes "400 Turbo Track Points"; + mes "for ^3131FF1 Speed Potion^000000. Please"; + mes "enter the number of potions"; + mes "that you'd like to receive."; + mes "To cancel, enter ''^3355FF0^000000.''"; + next; + input .@input; + if (.@input == 0) { + mes "[Item Exchange Helper]"; + mes "You have"; + mes "canceled"; + mes "your request."; + close; + } + else if (.@input < 0 || .@input > 10) { + mes "[Item Exchange Helper]"; + mes "Your request exceeds"; + mes "the maximum limit. You"; + mes "can only receive a maximum"; + mes "of 10 potions at once."; + close; + } + else { + set .@total_point,400 * .@input; + if (.@total_point > tt_point) { + mes "[Item Exchange Helper]"; + mes "I'm sorry, but you do"; + mes "not have enough Turbo"; + mes "Track Points. Please check"; + mes "the amount of Turbo Track"; + mes "Points you have earned before"; + mes "redeeming your points again."; + close; + } + set tt_point,tt_point-.@total_point; + getitem 12016,.@input; //Speed_Up_Potion + mes "[Item Exchange Helper]"; + mes "Thank you for"; + mes "your patronage."; + mes "We hope you enjoy"; + mes "your time here in"; + mes "the Turbo Track~"; + close; + } + case 7: + mes "[Item Exchange Helper]"; + mes "This Item Exchange"; + mes "Service is brought"; + mes "to you by..."; + next; + mes "[Item Exchange Helper]"; + mes "This Item Exchange Service"; + mes "is brought to you by the Kafra"; + mes "Corporation, Blacksmith Guild"; + mes "and the Comodo Casino and"; + mes "the Al De Baran Guild Castle"; + mes "Management Luina."; + close; + } + case 2: + mes "[Item Exchange Helper]"; + mes "Turbo Track Points can be"; + mes "converted into Arena Points."; + mes "You can save a maximum of"; + mes "^4D4DFF29,000 Turbo Track Points."; + next; + mes "[Item Exchange Helper]"; + mes "Before reaching the maximum"; + mes "amount of Turbo Track Points,"; + mes "you might want to spend some"; + mes "of them so that you can keep"; + mes "getting your point rewards after winning Turbo Track races."; + close; + } + } +} + +turbo_room,106,117,3 script Point Manager#tt 833,{ + mes "[Turbo Track Point Manager]"; + mes "Good day."; + mes "Did you enjoy your"; + mes "time in Turbo Track?"; + mes "How may I be of"; + mes "assistance?"; + next; + switch(select("Check Points:Convert Points:^660000Conversion Info^000000")) { + case 1: + mes "[Turbo Track Point Manager]"; + mes "" + strcharinfo(0) + ","; + mes "you currently have"; + mes "" + tt_point + " Turbo Track Points"; + mes "and " + arena_point + " Arena Points."; + close; + case 2: + mes "[Turbo Track Point Manager]"; + mes "" + strcharinfo(0) + ","; + mes "you currently have"; + mes "" + tt_point + " Turbo Track Points"; + mes "and " + arena_point + " Arena Points."; + next; + mes "[Turbo Track Point Manager]"; + mes "Please choose from among the following Arena Point conversions. When converting more than"; + mes "10 Arena Points at once, you"; + mes "can only convert Arena Points"; + mes "in ^4D4DFFmultiples of 10^000000."; + next; + switch(select("2 AP -> 1 TTP:4 AP -> 2 TTP:6 AP -> 3 TTP:8 AP -> 4 TTP:10 AP or more:Cancel")) { + case 1: + callsub S_ExchangePoints,28999,2,1; + case 2: + callsub S_ExchangePoints,28998,4,2; + case 3: + callsub S_ExchangePoints,28997,6,2; + case 4: + callsub S_ExchangePoints,28996,8,4; + case 5: + mes "[Turbo Track Point Manager]"; + mes "Please enter the number of times you wish to convert 10 Arena Points into Turbo Track Points. The largest value you may enter"; + mes "is 20. To cancel, enter '^3355FF0^000000.'"; + next; + input .@input; + if (.@input == 0) { + mes "[Turbo Track Point Manager]"; + mes "You have"; + mes "canceled"; + mes "your request."; + close; + } + else if (.@input > 20) { + mes "[Turbo Track Point Manager]"; + mes "Your request exceeds"; + mes "the maximum limit. Please"; + mes "enter a value no greater than 20."; + close; + } + else { + set .@want_point1,10 * .@input; + set .@want_point,5 * .@input; + set .@my_turbo_all,tt_point+.@want_point; + set .@my_arena_all,arena_point-.@want_point1; + if (.@my_turbo_all > 28999) { + mes "[Turbo Track Point Manager]"; + mes "Unfortunately, your Turbo Track Points will exceed the maximum limit if we proceed with point conversion. Please spend more"; + mes "of your Turbo Track Points before using this service. Thank you."; + close; + } + if (.@my_arena_all < 0) { + mes "[Turbo Track Point Manager]"; + mes "I am sorry, but you do"; + mes "not have enough Arena Points"; + mes "to perform this Turbo Track"; + mes "Point conversion."; + close; + } + else { + mes "[Turbo Track Point Manager]"; + mes "You have converted"; + mes "10 Arena Points into"; + mes "Turbo Track Points " + .@input + " times."; + mes "A total of " + .@want_point1 + " Arena Points"; + mes "has been converted into"; + mes "" + .@want_point +" Turbo Track Points."; + set arena_point,.@my_arena_all; //arena_point + set tt_point,.@my_turbo_all; + next; + mes "[Turbo Track Point Manager]"; + mes "" + strcharinfo(0) + ","; + mes "you now have"; + mes "^00688B" + tt_point + "^000000 Turbo Track Points"; + mes "and ^4682B4" + arena_point + "^000000 Arena Points."; + mes "Thank you for your patronage."; + close; + } + } + case 6: + mes "[Turbo Track Point Manager]"; + mes "You have"; + mes "canceled"; + mes "your request."; + close; + } + case 3: + // There is no dialog for this option. + // It's possible it's missing, or maybe + // the dialog was never translated. XD + //?? + close; + } + +S_ExchangePoints: + if (tt_point > getarg(0)) { + mes "[Turbo Track Point Manager]"; + mes "Unfortunately, your Turbo Track Points will exceed the maximum limit if we proceed with point conversion. Please spend more"; + mes "of your Turbo Track Points before using this service. Thank you."; + close; + } + if (arena_point >= getarg(1)) { + mes "[Turbo Track Point Manager]"; + mes "As requested,"; + mes "2 Arena Points"; + mes "have been converted"; + mes "into 1 Turbo Track Point."; + set arena_point,arena_point-getarg(1); + set tt_point,tt_point+getarg(2); + next; + mes "[Turbo Track Point Manager]"; + mes "" + strcharinfo(0) + ","; + mes "you now have"; + mes "^00688B" + tt_point + "^000000 Turbo Track Points"; + mes "and ^4682B4" + arena_point + "^000000 Arena Points."; + mes "Thank you for your patronage."; + close; + } + else { + mes "[Turbo Track Point Manager]"; + mes "I'm sorry, but you do not have enough Arena Points. You need"; + mes "at least 2 Arena Points in order"; + mes "to use this service."; + close; + } +} + +alde_gld,183,204,0 script en_turbo 45,1,1,{ +OnTouch: + if (checkweight(1201,1) == 0) { + mes "^3355FFWait a second!"; + mes "Right now, you're carrying"; + mes "too many items with you."; + mes "Please come back after"; + mes "putting storing some of your"; + mes "things using the Kafra Service.^000000"; + close; + } + set .@now_weight,MaxWeight-Weight; + if ((BaseJob == Job_Knight || BaseJob == Job_Crusader) && checkriding()) { + if (.@now_weight < 20000) { + mes "[Helper]"; + mes "Peco Pecos are prohibited"; + mes "in the Turbo Track Arena."; + mes "Please dismount from your"; + mes "Peco Peco and you will receive"; + mes "a Free Ticket for Peco Ride"; + mes "for retrieving your Peco Peco."; + close2; + warp "alde_gld",183,199; + end; + } + else { + setriding 0; + getitem 7310,1; //Free_Peco_Ticket + warp "turbo_room",100,65; + } + } + else + warp "turbo_room",100,65; + end; +} + +alde_gld,186,199,3 script Turbo Track Guide#Entran 845,{ + mes "[Guide]"; + mes "Welcome to"; + mes "the Al De Baran"; + mes "Turbo Track~"; + next; + mes "[Guide]"; + mes "Peco Pecos are prohibited inside the Turbo Track Arena. But anyone riding on a Peco Peco will receive a Free Peco Peco Mount Ticket at the Turbo Track Entrance and automatically dismount."; + next; + mes "[Guide]"; + mes "Well then,"; + mes "enjoy your time"; + mes "in Turbo Track~!"; + close; +} + +alde_gld,181,199,5 script Peco Peco Manager 845,{ + mes "[Peco Peco Manager]"; + if (BaseJob == Job_Knight || BaseJob == Job_Crusader) { + mes "Welcome, would you like"; + mes "to retrieve your Peco Peco?"; + mes "Please show me your Free"; + mes "Ticket for Peco Ride. You"; + mes "may also pay a rental fee"; + mes "of 2,500 zeny."; + next; + switch(select("Use:Cancel")) { + case 1: + if (getskilllv(63) == 0) { + mes "[Peco Peco Manager]"; + mes "I'm sorry, but you're"; + mes "not eligible for this"; + mes "service. Please go learn"; + mes "the Peco Peco Ride skill first."; + close; + } + else { + if (checkriding()) { + mes "[Peco Peco Manager]"; + mes "You're already"; + mes "mounted on a"; + mes "Peco Peco."; + mes "Thank you~"; + close; + } + else { + if (countitem(7310) < 1 && Zeny < 2500) { + mes "[Peco Peco Manager]"; + mes "I'm sorry, but you"; + mes "don't have a Free Ticket"; + mes "for Peco Ride or 2,500 zeny."; + mes "to use the Peco rental service."; + close; + } + else { + if (countitem(7310) > 0) + delitem 7310,1; //Free_Peco_Ticket + else + set zeny,zeny-2500; + setriding; + mes "[Peco Peco Manager]"; + mes "Thank you for"; + mes "your patronage~"; + close; + } + } + } + case 2: + mes "[Peco Peco Manager]"; + mes "Are you going"; + mes "back to race in"; + mes "the Turbo Track?"; + mes "Good luck!"; + close; + } + } + else { + mes "Thank you for"; + mes "visiting Al De Baran's"; + mes "Turbo Track~"; + close; + } +} + +alde_gld,178,180,0 script Sign#TBT 837,{ + mes "[Al De Baran Turbo Track]"; + mes "This way..."; + mes "to the Al De Baran"; + mes "Turbo Track Arena!"; + next; + mes "[Al De Baran Turbo Track]"; + mes "Turbo Track is"; + mes "an arena where"; + mes "participants compete to be the first to reach the Finish Line! Don't miss the chance to race against your friends!"; + close; +} -- cgit v1.2.3-60-g2f50