GeffenMagicTournament.txt 168 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862
  1. //===== rAthena Script =======================================
  2. //= Geffen Magic Tournament Memorial Dungeon
  3. //===== By: ==================================================
  4. //= Nova with the help of Tokei, Diablo and others.
  5. //===== Current Version: =====================================
  6. //= 1.0
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= [Custom implementation of official script]
  11. //= Participate in the Geffen Magic Tournament and gain coins to trade for rewards.
  12. //===== Additional Comments: =================================
  13. //= 1.0 First version. Converted to rAthena compliant standard.
  14. //= Thanks to Nova, Tokei, Diablo and others for creating the script. [MasterOfMuppets]
  15. //============================================================
  16. //MAIN QUEST
  17. 1@gef,0,0,0 script #gmt_dummy -1,{ end; }
  18. 1@gef,119,208,0 script #GefMagicStart 567,5,5,{
  19. end;
  20. OnTouch:
  21. if ('GMT == 0) {
  22. 'GMT = 1;
  23. setquest 9292;
  24. mapannounce instance_mapname("1@gef"),"Geffen Broadcast: The Geffen Magic Tournament is about to begin!",bc_blue;
  25. sleep2 3000;
  26. mapannounce instance_mapname("1@gef"),"Geffen Broadcast: Citizens and adventurers in Geffen, please join the tournament~!",bc_blue;
  27. sleep2 5000;
  28. mapannounce instance_mapname("1@gef"),"Geffen Broadcast: Anyone who wants to join the Geffen Magic Tournament, please come to the southern fountain of Geffen~!",bc_blue;
  29. 'charname$ = strcharinfo(0);
  30. 'sex = Sex;
  31. 'gmt_account_id = getcharid(3);
  32. }
  33. end;
  34. OnInit:
  35. hideonnpc strnpcinfo(0);
  36. end;
  37. OnInstanceInit:
  38. hideonnpc instance_npcname(strnpcinfo(0));
  39. end;
  40. }
  41. 1@gef,120,78,0 script #GefMagicGuess0 567,4,1,{
  42. end;
  43. OnTouch_:
  44. if ('GMT == 1) {
  45. 'GMT = 2;
  46. showscript strcharinfo(0)+" : Guess this is where I register for the tournament...";
  47. end;
  48. }
  49. end;
  50. OnInit:
  51. hideonnpc strnpcinfo(0);
  52. end;
  53. OnInstanceInit:
  54. hideonnpc instance_npcname(strnpcinfo(0));
  55. end;
  56. }
  57. 1@gef,142,53,0 duplicate(#GefMagicGuess0) #GefMagicGuess1 567,1,15
  58. 1@gef,99,53,0 duplicate(#GefMagicGuess0) #GefMagicGuess2 567,1,20
  59. //Movie
  60. 1@gef,71,86,4 duplicate(#gmt_dummy) Young Lady#gef1 4_F_BRZ_WOMAN
  61. 1@gef,75,82,4 duplicate(#gmt_dummy) Young Lady#gef3 4_F_03
  62. 1@gef,68,79,6 duplicate(#gmt_dummy) Handsome Adventurer#gef 4_M_CRU
  63. 1@gef,70,77,2 duplicate(#gmt_dummy) Male Adventurer#gef 4_M_LGTMAN
  64. 1@gef,73,84,4 duplicate(#gmt_dummy) Young Lady#gef2 4_F_CAPEGIRL
  65. 1@gef,73,84,0 script MOVIECONTROL#gef -1,13,13,{
  66. end;
  67. OnTouch_:
  68. if ('MOVIE == 1) end;
  69. 'MOVIE = 1;
  70. 'm1_timer = 0;
  71. initnpctimer;
  72. end;
  73. OnTimer1000:
  74. 'm1_timer++;
  75. switch('m1_timer) {
  76. case 1: npctalk "I am lonely... Should I be alone during the festival?", instance_npcname("Young Lady#gef1"); break;
  77. case 4: npctalk "Oh my god ~! Why do you say that~?", instance_npcname("Young Lady#gef2"); break;
  78. case 8: npctalk "How about hitting on the handsome adventurers coming to Geffen?", instance_npcname("Young Lady#gef3"); break;
  79. case 12: npctalk "Handsome? Where are there handsome men?", instance_npcname("Young Lady#gef1"); break;
  80. case 17: npctalk "I only see guys who look so old and fat!", instance_npcname("Young Lady#gef1"); break;
  81. case 21: npctalk "Agh... I can not just sit around during this festival alone...", instance_npcname("Young Lady#gef2"); break;
  82. case 26: npctalk "No! There has to be some handsome guys around here! Don't give up!", instance_npcname("Young Lady#gef3"); break;
  83. case 30:
  84. npctalk "Um... okay...", instance_npcname("Young Lady#gef1");
  85. npctalk "Um... okay...", instance_npcname("Young Lady#gef2");
  86. break;
  87. case 34: npctalk "See! Look over there! A handsome guy!", instance_npcname("Young Lady#gef3"); break;
  88. case 38:
  89. npctalk "Oh god! Where?!", instance_npcname("Young Lady#gef1");
  90. npctalk "Oh my god! Where? Where?", instance_npcname("Young Lady#gef2");
  91. break;
  92. case 42:
  93. hideoffnpc instance_npcname("Handsome Adventurer#gef");
  94. npctalk "Over there~!", instance_npcname("Young Lady#gef3");
  95. break;
  96. case 46: npctalk "There are many beautiful ladies at this year's Magic Tournament.", instance_npcname("Handsome Adventurer#gef"); break;
  97. case 50:
  98. npctalk "Yikes~~~!!", instance_npcname("Young Lady#gef1");
  99. npctalk "Yikes~~~! Is he talking about me?", instance_npcname("Young Lady#gef2");
  100. npctalk "Yikes~~! Nice!!", instance_npcname("Young Lady#gef3");
  101. break;
  102. case 54: npctalk "What should I do? Should I talk to him?", instance_npcname("Young Lady#gef3"); break;
  103. case 58: npctalk "Come on~! You're good at this! Hurry up and hook up with him!", instance_npcname("Young Lady#gef2"); break;
  104. case 62: npctalk "Hurry up~!", instance_npcname("Young Lady#gef1"); break;
  105. case 66: npctalk "It's almost time for the event to begin...", instance_npcname("Handsome Adventurer#gef"); break;
  106. case 70: npctalk "Maybe he's waiting for someone!", instance_npcname("Young Lady#gef3"); break;
  107. case 74: npctalk "A girlfriend?! It can't be!", instance_npcname("Young Lady#gef2"); break;
  108. case 78:
  109. hideoffnpc instance_npcname("Male Adventurer#gef");
  110. npctalk "No... it can't be~!", instance_npcname("Young Lady#gef1");
  111. break;
  112. case 79: npctalk "Have I kept you waiting for a long time?", instance_npcname("Male Adventurer#gef"); break;
  113. case 83: npctalk "Lucky! It's a man!!!", instance_npcname("Young Lady#gef3"); break;
  114. case 86:
  115. npctalk "Looks like it's just a friend~!!", instance_npcname("Young Lady#gef2");
  116. break;
  117. case 88: npctalk "Hook up with both of them? Ho ho ho~!", instance_npcname("Young Lady#gef1"); break;
  118. case 91:
  119. npctalk "Yes! You have finally arrived, my love!", instance_npcname("Handsome Adventurer#gef");
  120. emotion ET_HUK, getnpcid(0, instance_npcname("Young Lady#gef1"));
  121. emotion ET_HUK, getnpcid(0, instance_npcname("Young Lady#gef2"));
  122. emotion ET_HUK, getnpcid(0, instance_npcname("Young Lady#gef3"));
  123. break;
  124. case 95:
  125. npctalk "My love...", instance_npcname("Male Adventurer#gef");
  126. emotion ET_THROB, getnpcid(0, instance_npcname("Male Adventurer#gef"));
  127. emotion ET_THROB, getnpcid(0, instance_npcname("Handsome Adventurer#gef"));
  128. emotion ET_THROB, getnpcid(0, instance_npcname("Handsome Adventurer#gef"));
  129. break;
  130. case 99:
  131. npctalk "Maybe... There are no good guys left for us...", instance_npcname("Young Lady#gef3");
  132. emotion ET_THROB, getnpcid(0, instance_npcname("Handsome Adventurer#gef"));
  133. break;
  134. case 103:
  135. npctalk "Ahem... Maybe... Just the three of us... will be together forever...", instance_npcname("Young Lady#gef2");
  136. emotion ET_THROB, getnpcid(0, instance_npcname("Male Adventurer#gef"));
  137. break;
  138. case 106:
  139. npctalk "Our friendship is forever~!!!", instance_npcname("Young Lady#gef3");
  140. emotion ET_THROB, getnpcid(0, instance_npcname("Handsome Adventurer#gef"));
  141. sleep 500;
  142. npctalk "Our friendship is forever~!!!", instance_npcname("Young Lady#gef1");
  143. sleep 500;
  144. npctalk "Our friendship is forever~!!!", instance_npcname("Young Lady#gef2");
  145. 'm1_timer++;
  146. break;
  147. case 109:
  148. emotion ET_THROB, getnpcid(0, instance_npcname("Male Adventurer#gef"));
  149. emotion ET_CRY, getnpcid(0, instance_npcname("Young Lady#gef1"));
  150. emotion ET_CRY, getnpcid(0, instance_npcname("Young Lady#gef2"));
  151. emotion ET_CRY, getnpcid(0, instance_npcname("Young Lady#gef3"));
  152. break;
  153. case 111: emotion ET_THROB, getnpcid(0, instance_npcname("Handsome Adventurer#gef")); break;
  154. case 113: emotion ET_THROB, getnpcid(0, instance_npcname("Male Adventurer#gef")); break;
  155. case 115: emotion ET_THROB, getnpcid(0, instance_npcname("Handsome Adventurer#gef")); break;
  156. case 118:
  157. hideonnpc instance_npcname("Male Adventurer#gef");
  158. hideonnpc instance_npcname("Handsome Adventurer#gef");
  159. 'MOVIE = 0;
  160. stopnpctimer;
  161. end;
  162. }
  163. initnpctimer;
  164. end;
  165. }
  166. //Fireworks
  167. 1@gef,90,197,0 script #Firecrackers0 649,{
  168. end;
  169. OnTimer2500:
  170. .@r = rand(0,1);
  171. if (.@r != 0 ) { stopnpctimer; initnpctimer; end; }
  172. stopnpctimer;
  173. specialeffect .effects[rand(getarraysize(.effects))],AREA,instance_npcname(strnpcinfo(0));
  174. initnpctimer;
  175. end;
  176. OnInit:
  177. setarray .effects[0],EF_FIREPILLARBOMB,EF_FLAMELAUNCHER,EF_FROSTDIVER2,EF_FROSTWEAPON,EF_LIGHTBOLT,EF_LIGHTNINGLOADER,EF_MAGICROD,EF_METEORSTORM,EF_NAPALMBEAT;
  178. setarray .effects[9],EF_PETRIFYATTACK,EF_SEISMICWEAPON,EF_SIGHT,EF_SIGHTRASHER,EF_SPELLBREAKER,EF_STORMGUST,EF_THUNDERSTORM,EF_VOLCANO,EF_WATERBALL,EF_YUFITELHIT;
  179. hideonnpc strnpcinfo(0);
  180. end;
  181. OnInstanceInit:
  182. initnpctimer;
  183. hideonnpc instance_npcname(strnpcinfo(0));
  184. end;
  185. }
  186. 1@gef,106,145,0 duplicate(#Firecrackers0) #Firecrackers1 649
  187. 1@gef,112,49,0 duplicate(#Firecrackers0) #Firecrackers2 649
  188. 1@gef,134,145,0 duplicate(#Firecrackers0) #Firecrackers3 649
  189. 1@gef,132,111,0 duplicate(#Firecrackers0) #Firecrackers4 649
  190. 1@gef,141,56,0 duplicate(#Firecrackers0) #Firecrackers5 649
  191. 1@gef,146,175,0 duplicate(#Firecrackers0) #Firecrackers6 649
  192. 1@gef,182,163,0 duplicate(#Firecrackers0) #Firecrackers7 649
  193. 1@gef,183,126,0 duplicate(#Firecrackers0) #Firecrackers8 649
  194. 1@gef,194,89,0 duplicate(#Firecrackers0) #Firecrackers9 649
  195. 1@gef,59,125,0 duplicate(#Firecrackers0) #Firecrackers10 649
  196. 1@gef,62,147,0 duplicate(#Firecrackers0) #Firecrackers11 649
  197. 1@gef,62,91,0 duplicate(#Firecrackers0) #Firecrackers12 649
  198. 1@gef,71,181,0 duplicate(#Firecrackers0) #Firecrackers13 649
  199. 1@gef,112,196,0 duplicate(#Firecrackers0) #Firecrackers14 649
  200. 1@gef,98,58,0 duplicate(#Firecrackers0) #Firecrackers15 649
  201. 1@gef,98,126,0 duplicate(#Firecrackers0) #Firecrackers16 649
  202. 1@gef,127,196,0 duplicate(#Firecrackers0) #Firecrackers17 649
  203. 1@gef,40,125,0 duplicate(#Firecrackers0) #Firecrackers18 649
  204. 1@gef,116,75,0 duplicate(#Firecrackers0) #Firecrackers19 649
  205. 1@gef,58,112,0 duplicate(#Firecrackers0) #Firecrackers20 649
  206. 1@gef,40,112,0 duplicate(#Firecrackers0) #Firecrackers21 649
  207. 1@gef,107,111,0 duplicate(#Firecrackers0) #Firecrackers22 649
  208. 1@gef,127,49,0 duplicate(#Firecrackers0) #Firecrackers23 649
  209. 1@gef,123,75,0 duplicate(#Firecrackers0) #Firecrackers24 649
  210. 1@gef,199,126,0 duplicate(#Firecrackers0) #Firecrackers25 649
  211. 1@gef,183,113,0 duplicate(#Firecrackers0) #Firecrackers26 649
  212. 1@gef,199,114,0 duplicate(#Firecrackers0) #Firecrackers27 649
  213. 1@gef,140,126,0 duplicate(#Firecrackers0) #Firecrackers28 649
  214. //SHOPS
  215. 1@gef_in,77,167,0 shop Tool Dealer#gefa_0et 1_F_03,1750:-1,611:-1,501:-1,502:-1,503:-1,504:-1,645:-1,656:-1,713:-1,601:-1,602:-1,2241:-1
  216. 1@gef_in,77,173,0 shop Trader#gef_0et 1_M_WIZARD,717:-1,1601:-1,1604:-1,1607:-1,1610:-1,2232:-1,2321:-1,2332:-1
  217. 1@gef_in,74,144,0 shop Trader#gef_0et1 1_F_01,911:-1,910:-1,912:-1
  218. 1@gef_in,65,144,4 shop Tool Dealer#gefb_0et1 1_M_WIZARD,1092:-1,1093:-1,713:-1
  219. 1@gef_in,22,171,7 shop Weapon Dealer#GMT 84,1146:-1,1245:-1
  220. 1@gef_in,26,178,4 shop Armor Dealer#GMT 66,2628:-1,2101:-1,2107:-1,2401:-1,2501:-1,2230:-1,2301:-1,2303:-1,2305:-1,2321:-1,2332:-1
  221. 1@gef_in,30,178,4 shop Weapon Dealer#GMT2 47,1750:-1,1751:-1,1101:-1,1701:-1,1201:-1,1204:-1,1207:-1,1210:-1,1213:-1,1216:-1,1601:-1,1604:-1,1607:-1,1610:-1
  222. 1@gef,193,152,4 shop Pet Groomer#GMT 124,537:-1,643:-1,10013:-1,10014:-1,6113:-1,6114:-1,6115:-1,6110:-1,6100:-1,6098:-1,6112:-1,6104:-1,6108:-1,6111:-1,7824:1000,6097:1000,6107:1000
  223. 1@gef,196,111,3 shop Cook#gef_0et 85,7482:-1
  224. 1@gef,131,58,4 script Geffen Coin Operator#g 4_F_ZONDAGIRL,{ // 55149
  225. .@n$ = "[ Geffen Coin Operator ]";
  226. mes .@n$,"I exchange Magic Tournament Coins for Equipment."; next;
  227. goto L_Menu;
  228. end;
  229. L_Menu:
  230. switch(select("Shields:Rings:Armor:End Conversation")){
  231. case 1:
  232. mes .@n$,"There are two types of Shields are available for exchange.";
  233. next;
  234. L_Shield:
  235. switch(select("Magic Reflector ^3355FF<900 Coins>^000000:Revised Encyclopedia ^3355FF<900 Coins>^000000:Go back to previous menu")){
  236. case 1: .@item = 2185; .@cost = 900; break;
  237. case 2: .@item = 2186; .@cost = 900; break;
  238. case 3: goto L_Menu; break;
  239. }
  240. mes .@n$;
  241. mes mesitemlink( .@item, false );
  242. mes "Price is "+.@cost+" coins";
  243. mes "Do you wish to exchange your coins?";
  244. next;
  245. switch(select("Do Not Exchange:Exchange")){
  246. case 1:
  247. mes .@n$,"Take a look at the other equipment available.";
  248. next;
  249. goto L_Shield;
  250. break;
  251. case 2:
  252. if( countitem(6671) < .@cost ) {
  253. mes .@n$,"You need "+.@cost+" Geffen Magic Tournament Coins.";
  254. next;
  255. mes .@n$,"Participate in the Tournament to earn more coins."," ","Do you need more help?";
  256. goto L_Shield;
  257. }
  258. if(!checkweight(.@item,1)) { mes .@n$; mes "You have too many things in your inventory to carry a ^FF0000"+getitemname(.@item)+"^000000."; end; }
  259. delitem 6671,.@cost;
  260. getitem .@item,1;
  261. mes .@n$,"Thank you.";
  262. end;
  263. }
  264. case 2:
  265. mes .@n$;
  266. mes "There are two types of Rings are available for exchange.";
  267. next;
  268. L_Ring:
  269. switch(select("Physical Enhancer Ring ^3355FF<1350 Coins>^000000:Magic Intensifier Ring ^3355FF<1350 Coins>^000000:Go back to previous menu")){
  270. case 1:
  271. .@item = 2963;
  272. .@cost = 1350;
  273. break;
  274. case 2:
  275. .@item = 2964;
  276. .@cost = 1350;
  277. break;
  278. case 3:
  279. goto L_Menu;
  280. break;
  281. }
  282. mes .@n$;
  283. mes mesitemlink( .@item, false );
  284. mes "Price is "+.@cost+" coins";
  285. mes "Do you wish to exchange your coins?";
  286. next;
  287. switch(select("Do Not Exchange:Exchange")){
  288. case 1:
  289. mes .@n$,"Take a look at the other equipment available.";
  290. next;
  291. goto L_Ring;
  292. break;
  293. case 2:
  294. if( countitem(6671) < .@cost ) {
  295. mes .@n$,"You need "+.@cost+" Geffen Magic Tournament Coins.";
  296. next;
  297. mes .@n$,"Participate in the Tournament to earn more coins."," ","Do you need more help?";
  298. goto L_Ring;
  299. }
  300. if(!checkweight(.@item,1)) { mes .@n$; mes "You have too many things in your inventory to carry a ^FF0000"+getitemname(.@item)+"^000000."; end; }
  301. delitem 6671,.@cost;
  302. getitem .@item,1;
  303. mes .@n$,"Thank you.";
  304. end;
  305. }
  306. case 3:
  307. mes .@n$;
  308. mes "There are two types of Armor are available for exchange.";
  309. next;
  310. L_Armor:
  311. switch(select("Anti-Magic Suit ^3355FF<1800 Coins>^000000:Geffen Magic Robe ^3355FF<1800 Coins>^000000:Go back to previous menu")){
  312. case 1:
  313. .@item = 15073;
  314. .@cost = 1800;
  315. break;
  316. case 2:
  317. .@item = 15074;
  318. .@cost = 1800;
  319. break;
  320. case 3:
  321. goto L_Menu;
  322. break;
  323. }
  324. mes .@n$;
  325. mes mesitemlink( .@item, false );
  326. mes "Price is "+.@cost+" coins";
  327. mes "Do you wish to exchange your coins?";
  328. next;
  329. switch(select("Do Not Exchange:Exchange")){
  330. case 1:
  331. mes .@n$,"Take a look at the other equipment available.";
  332. next;
  333. goto L_Armor;
  334. break;
  335. case 2:
  336. if( countitem(6671) < .@cost ) {
  337. mes .@n$,"You need "+.@cost+" Geffen Magic Tournament Coins.";
  338. next;
  339. mes .@n$,"Participate in the Tournament to earn more coins."," ","Do you need more help?";
  340. goto L_Armor;
  341. }
  342. if(!checkweight(.@item,1)) { mes .@n$; mes "You have too many things in your inventory to carry a ^FF0000"+getitemname(.@item)+"^000000."; end; }
  343. delitem 6671,.@cost;
  344. getitem .@item,1;
  345. mes .@n$,"Thank you.";
  346. end;
  347. }
  348. case 4:
  349. mes .@n$;
  350. mes "You can tell a lot about a person by what gear they have.";
  351. mes "I will see you next time~!";
  352. close;
  353. }
  354. end;
  355. }
  356. //On Touch NPCs
  357. 1@gef,0,0,0 script #gmt_quotes -1,{
  358. end;
  359. OnTouch_:
  360. if (strnpcinfo(0) == "Old Bachelor#z1_0et") setarray .@quotes$, "Old Bachelor: It's such a good festival, and I am alone...","Old Bachelor: Maybe I should hit on that girl...","Old Bachelor: It's so crowded in here during the Magic Tournament~!";
  361. if (strnpcinfo(0) == "Little Geffen Boy#a2_0e") setarray .@quotes$, "Little Geffen Boy: Ugh ha ha~ Look~! That guy passing by there is so ugly~!!","Little Geffen Boy: I am bored! Is there anything fun to do around here?","Little Geffen Boy: I should ask my father for some pocket change.";
  362. if (strnpcinfo(0) == "Dio Anemos#z1_0et") {
  363. if ('GMT_1QUE > 1) setarray .@quotes$, "Dio Anemos : Any time I face a woman, I really have no choice but to go easy on her...";
  364. else setarray .@quotes$, "Dio Anemos: I want to eat some cookies before the Magic Tournament starts.","Dio Anemos: I'm hungry... Can i have some food?","Dio Anemos: Geffen is so lively whenever I visit.";
  365. }
  366. if (strnpcinfo(0) == "Ordre#z1_0et") {
  367. if ('GMT_1QUE > 1) setarray .@quotes$, "Ordre : Even powerful people like me can lose...";
  368. else setarray .@quotes$, "Ordre: I've been waiting for this air and mood for a long time.","Ordre: Show us what you have trained for.","Ordre: Let's go register for the competition.";
  369. }
  370. if (strnpcinfo(0) == "Ju#z1_0et") {
  371. if ('GMT_1QUE > 1) setarray .@quotes$, "Ju : ... You really defeat me...";
  372. else setarray .@quotes$, "Ju: I will make sure to register for the Magic Tournament quickly.","Ju: I only see novices around here.","Ju: I will surprise them with my excellent battle skills!";
  373. }
  374. if (strnpcinfo(0) == "Blut Hase#z1_0et") {
  375. if ('GMT_1QUE > 1) setarray .@quotes$, "Blut Hase : How can somebody be so powerful...";
  376. else setarray .@quotes$, "Blut Hase: Where do I go to register for the Magic Tournament?","Blut Hase: My clothes will be stained with the blood of my enemies.";
  377. }
  378. if (strnpcinfo(0) == "Kuro Akuma#z1_0et") {
  379. if ('GMT_1QUE > 1) setarray .@quotes$, "Kuro Akuma : Maybe just being evil isn't enough to win the tournament...";
  380. else setarray .@quotes$, "Kuro Akuma: It's like a calm before a storm~!","Kuro Akuma: So peaceful~! I love it!","Kuro Akuma: There quite a few innocent lambs joining the Magic Tournament~!";
  381. }
  382. if (strnpcinfo(0) == "Odoric#z1_0et") {
  383. if ('GMT_1QUE > 1) setarray .@quotes$, "Odoric : This is what youth looks like, sister... I'm truly jealous...";
  384. else setarray .@quotes$, "Odoric: I can't find my type of competitors at all!","Odoric: It is so crowded during the Tournament~!","Odoric: It should be fun dancing in the festival~!";
  385. }
  386. if (strnpcinfo(0) == "Fay Kanavian#z1_0et") {
  387. if ('GMT_1QUE > 1) setarray .@quotes$, "Fay Kanavian : I actually lost... How is this possible?";
  388. else setarray .@quotes$, "Fay Kanavian: It is time to show off my Philosopher's Stone at the Tournament~!","Fay Kanavian: No one can stop me. Ha ha ha ha ha ha~!","Fay Kanavian: Have you seen my Homonculus Alphonse?";
  389. }
  390. if (strnpcinfo(0) == "Licheniyes#z1_0et") {
  391. if ('GMT_1QUE > 1) setarray .@quotes$, "Lecheniyes : Most people won't even remember the outcome of the tournament, so there's no real sense of failure...";
  392. else setarray .@quotes$, "Licheni: Happy Geffen Magic Tournament~!","Licheni: It will be a very fun Magic Tournament this year.","Licheni: Yahoo~ Let's go join the Magic Tournament~";
  393. }
  394. if (strnpcinfo(0) == "Ifodes#z1_0et") {
  395. if ('GMT_1QUE > 1) setarray .@quotes$, "Ifodes : Losing to a woman... Now that's a terrifying thought.";
  396. else setarray .@quotes$, "Ifodes: I will show who I am at the Magic Tournament!","Ifodes: Strong attack and solid defense! Sigh, I wish I had a girlfriend...","Ifodes: Is there any beautiful ladies around to show my chivalry?";
  397. }
  398. if (strnpcinfo(0) == "Faymont#z1_0et") {
  399. if ('GMT_1QUE > 1) setarray .@quotes$, "Faymont : No time to chat, I need to go comfort the other girls who failed.";
  400. else setarray .@quotes$, "Faymont: I heard a new hat was released in Geffen.","Faymont: There are no other decent competitors in the Tournament?","Faymont: I've never met anyone who has a better fashion sense than me.";
  401. }
  402. if (strnpcinfo(0) == "Arhi#z1_0et") {
  403. if ('GMT_1QUE > 1) setarray .@quotes$, "Arhi: The tournament is finally over! It was really a great year... Way too intense!";
  404. else setarray .@quotes$, "Arhi: I'm thinking of joining the Magic Tournament!","Arhi: This should be a pretty good experience.","Arhi: Are there any competitors that look weak?";
  405. }
  406. if (strnpcinfo(0) == "Dwigh#z1_0et") {
  407. if ('GMT_1QUE > 1) setarray .@quotes$, "Dwigh : Needless to say, it was a pretty decisive battle!";
  408. else setarray .@quotes$, "Dwigh: I want this Magic Tournament to become my turning point.","Dwigh: I am quite depressed these days...","Dwigh: I will show my great skills to all of my students.";
  409. }
  410. showscript .@quotes$[rand(getarraysize(.@quotes$))], getnpcid(0);
  411. end;
  412. }
  413. 1@gef,124,173,4 duplicate(#gmt_quotes) Old Bachelor#z1_0et 1_M_03,4,4
  414. 1@gef,91,117,6 duplicate(#gmt_quotes) Dio Anemos#z1_0et 4_GEFFEN_01,4,4
  415. 1@gef,85,68,6 duplicate(#gmt_quotes) Ordre#z1_0et 4_GEFFEN_05,4,4
  416. 1@gef,178,91,6 duplicate(#gmt_quotes) Ju#z1_0et 4_GEFFEN_11,4,4
  417. 1@gef,194,91,4 duplicate(#gmt_quotes) Little Geffen Boy#a2_0e 4_KID01,4,4
  418. 1@gef,111,62,6 duplicate(#gmt_quotes) Blut Hase#z1_0et 4_GEFFEN_06,4,4
  419. 1@gef,104,42,6 duplicate(#gmt_quotes) Kuro Akuma#z1_0et 4_GEFFEN_07,4,4
  420. 1@gef,158,63,4 duplicate(#gmt_quotes) Odoric#z1_0et 4_GEFFEN_10,4,4
  421. 1@gef,117,72,6 duplicate(#gmt_quotes) Fay Kanavian#z1_0et 4_F_GEFFEN_FAY,4,4
  422. 1@gef,137,53,4 duplicate(#gmt_quotes) Licheniyes#z1_0et 4_GEFFEN_09,4,4
  423. 1@gef,115,66,6 duplicate(#gmt_quotes) Ifodes#z1_0et 4_GEFFEN_08,4,4
  424. 1@gef,53,90,6 duplicate(#gmt_quotes) Faymont#z1_0et 4_GEFFEN_04,4,4
  425. 1@gef,145,125,4 duplicate(#gmt_quotes) Arhi#z1_0et 4_GEFFEN_02,4,4
  426. 1@gef,120,98,4 duplicate(#gmt_quotes) Dwigh#z1_0et 4_GEFFEN_12,4,4
  427. //WARPS
  428. 1@gef_in,70,132,0 warp2 #gef_a4_0et 2,2,1@gef,46,88
  429. 1@gef_in,106,181,0 warp2 #gef_a3_0et 2,2,1@gef,178,63
  430. 1@gef,182,59,0 warp2 #gef_a1_0et 2,2,1@gef_in,106,177
  431. 1@gef_in,70,158,0 warp2 #gef_a5_0et 2,2,1@gef_in,70,146
  432. 1@gef_in,70,149,0 warp2 #gef_a6_0et 2,2,1@gef_in,70,161
  433. 1@gef,43,85,0 warp2 #gef_a2_0et 2,2,1@gef_in,70,138
  434. 1@gef,98,141,0 warp2 #gef_a8_0et 2,2,1@gef_in,28,160
  435. 1@gef_in,28,156,0 warp2 #gef_a7_0et 2,2,1@gef,101,138
  436. //SPECTATORS
  437. - script #d_c 4_M_DST_TOUGH,{ end; }
  438. 1@gef,175,74,4 duplicate(#d_c) Tournament Spectator#c0 4_M_DST_TOUGH
  439. 1@gef,130,196,6 duplicate(#d_c) Tournament Spectator#c1 1_ETC_01
  440. 1@gef,137,190,6 duplicate(#d_c) Tournament Spectator#c2 1_F_02
  441. 1@gef,149,196,6 duplicate(#d_c) Tournament Spectator#c3 1_M_01
  442. 1@gef,136,188,6 duplicate(#d_c) Tournament Spectator#c4 4_F_TWGRANDMOM
  443. 1@gef,110,195,4 duplicate(#d_c) Tournament Spectator#c5 1_M_03
  444. 1@gef,134,63,4 duplicate(#d_c) Tournament Spectator#c6 1_M_MERCHANT
  445. 1@gef,145,47,4 duplicate(#d_c) Tournament Spectator#c7 1_M_MOC_LORD
  446. 1@gef,154,55,4 duplicate(#d_c) Tournament Spectator#c8 1_M_ORIENT01
  447. 1@gef,147,65,4 duplicate(#d_c) Tournament Spectator#c9 1_M_PASTOR
  448. 1@gef,163,76,4 duplicate(#d_c) Tournament Spectator#c10 1_F_PRIEST
  449. 1@gef,180,84,4 duplicate(#d_c) Tournament Spectator#c11 1_M_INNKEEPER
  450. 1@gef,189,97,4 duplicate(#d_c) Tournament Spectator#c12 1_M_SIZ
  451. 1@gef,194,110,4 duplicate(#d_c) Tournament Spectator#c13 1_M_PAY_ELDER
  452. 1@gef,185,107,6 duplicate(#d_c) Tournament Spectator#c14 1_M_PRON_KING
  453. 1@gef,189,120,4 duplicate(#d_c) Tournament Spectator#c15 4_F_01
  454. 1@gef,44,95,6 duplicate(#d_c) Tournament Spectator#c17 1_M_JOBTESTER
  455. 1@gef,52,83,6 duplicate(#d_c) Tournament Spectator#c18 1_M_KNIGHTMASTER
  456. 1@gef,130,196,6 duplicate(#d_c) Tournament Spectator#c19 1_ETC_01
  457. 1@gef,104,189,4 duplicate(#d_c) Tournament Spectator#c20 1_F_01
  458. 1@gef,94,194,4 duplicate(#d_c) Tournament Spectator#c21 1_F_03
  459. 1@gef,52,155,6 duplicate(#d_c) Tournament Spectator#c22 1_F_04
  460. 1@gef,55,142,4 duplicate(#d_c) Tournament Spectator#c23 1_F_GYPSY
  461. 1@gef,58,146,4 duplicate(#d_c) Tournament Spectator#c24 1_M_BARD
  462. 1@gef,45,149,6 duplicate(#d_c) Tournament Spectator#c25 1_F_LIBRARYGIRL
  463. 1@gef,44,133,6 duplicate(#d_c) Tournament Spectator#c26 1_M_HOF
  464. 1@gef,45,126,6 duplicate(#d_c) Tournament Spectator#c27 1_M_02
  465. 1@gef,44,118,6 duplicate(#d_c) Tournament Spectator#c28 1_F_MERCHANT_01
  466. 1@gef,55,113,4 duplicate(#d_c) Tournament Spectator#c29 1_F_MERCHANT_02
  467. 1@gef,50,107,6 duplicate(#d_c) Tournament Spectator#c30 1_M_JOBGUIDER
  468. 1@gef,72,65,6 duplicate(#d_c) Tournament Spectator#c31 1_M_LIBRARYMASTER
  469. 1@gef,83,60,6 duplicate(#d_c) Tournament Spectator#c32 1_F_ORIENT_01
  470. 1@gef,94,68,6 duplicate(#d_c) Tournament Spectator#c33 1_F_ORIENT_02
  471. 1@gef,97,66,4 duplicate(#d_c) Tournament Spectator#c34 1_F_ORIENT_03
  472. 1@gef,167,120,4 duplicate(#d_c) Tournament Spectator#c36 1_M_SIGN1
  473. 1@gef,152,120,4 duplicate(#d_c) Tournament Spectator#c37 2_F_MAGICMASTER
  474. 1@gef,138,110,4 duplicate(#d_c) Tournament Spectator#c38 4_F_01
  475. 1@gef,128,99,4 duplicate(#d_c) Tournament Spectator#c39 4_F_02
  476. 1@gef,105,109,6 duplicate(#d_c) Tournament Spectator#c40 4_F_03
  477. 1@gef,96,122,6 duplicate(#d_c) Tournament Spectator#c41 4_F_04
  478. 1@gef,132,137,6 duplicate(#d_c) Tournament Spectator#c42 4_F_TRAINEE
  479. 1@gef,141,132,4 duplicate(#d_c) Tournament Spectator#c43 1_M_SIGNART
  480. 1@gef,124,72,4 duplicate(#d_c) Tournament Spectator#c44 1_M_SIGNMCNT
  481. 1@gef,130,49,6 duplicate(#d_c) Tournament Spectator#c45 1_M_SIGNMONK2
  482. //Dialogue NPC
  483. 1@gef_in,110,172,0 script Christopher#1_0et 1_M_SMITH,{
  484. mes "[ Christopher ]";
  485. mes "Welcome to Christopher's Workshop.";
  486. mes "Ye can get all yer stuff for";
  487. mes "forging here. What business";
  488. mes "brings ye to me?";
  489. next;
  490. mes "[ Christopher ]";
  491. mes "We are taking a break from our forges in honor of the festival.";
  492. mes "Please come back again after the festival is done.";
  493. close;
  494. }
  495. 1@gef,129,65,4 script Point Merchant#gef_m 8_F_GIRL,{
  496. if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) {
  497. mes "- Wait a minute !! -";
  498. mes "- Currently you're carrying -";
  499. mes "- too many items with you. -";
  500. mes "- Please try again -";
  501. mes "- after you lose some weight. -";
  502. close;
  503. }
  504. mes "[ Point Merchant ]";
  505. mes "Hello. I'm selling a catalyst called ^FF0000Points^000000 for Sorcerers. What would you like?";
  506. next;
  507. .@i = select("Scarlet Points - 200z:Lime Green Points - 200z:Indigo Points - 200z:Yellow Wish Points - 200z:Cancel")-1;
  508. mes "[ Point Merchant ]";
  509. if (.@i == 4) {
  510. mes "You can't find the stuff you need?";
  511. close;
  512. }
  513. setarray .@itemid[0],6360,6363,6361,6362;
  514. setarray .@color$[0],"Scarlet","Lime Green","Indigo","Yellow Wish";
  515. mes "You have chosen "+.@color$[.@i]+" Points.";
  516. mes "How many do you want?";
  517. mes "If you want to cancel, enter 0.";
  518. next;
  519. input .@amount;
  520. mes "[ Point Merchant ]";
  521. if (.@amount == 0) {
  522. mes "You've cancelled the trade.";
  523. close;
  524. }
  525. if (Zeny < .@amount*200) {
  526. mes "You don't seem to have enough money.";
  527. close;
  528. }
  529. if (!checkweight(.@itemid[.@i],.@amount)) {
  530. mes "You don't have enough space in your inventory to buy this amount.";
  531. close;
  532. }
  533. Zeny = Zeny-(.@amount*200);
  534. getitem .@itemid[.@i],.@amount;
  535. mes "Thank you very much. See you~!";
  536. close;
  537. }
  538. 1@gef,127,65,3 script Universal Rental NPC#gf 8W_SOLDIER,{
  539. if (ismounting()) {
  540. message strcharinfo(0),"You must first remove your mount.";
  541. end;
  542. } else if ((eaclass()&EAJ_THIRDMASK==EAJ_RANGER) && !countitem(6124)) {
  543. if (!checkfalcon() && getskilllv("HT_FALCON") && !checkwug()) {
  544. if(select(" ~ Falcon: ~ Warg")==1) setfalcon;
  545. else getitem 6124,1; //Wolf's_Flute
  546. } else getitem 6124,1; //Wolf's_Flute
  547. } else if ((eaclass()&EAJ_THIRDMASK==EAJ_MECHANIC) && !checkcart() && getskilllv("MC_PUSHCART")) {
  548. if (!checkmadogear() && getskilllv("NC_MADOLICENCE")) {
  549. if(select(" ~ Cart: ~ Mado")==1) setcart;
  550. else setmadogear;
  551. } else setcart;
  552. } else if (!checkcart() && getskilllv("MC_PUSHCART")) setcart;
  553. else if (!checkfalcon() && getskilllv("HT_FALCON") && !checkwug()) setfalcon;
  554. else if (!checkriding() && !checkdragon() && getskilllv("KN_RIDING")) {
  555. if (eaclass()&EAJ_THIRDMASK==EAJ_RUNE_KNIGHT) setdragon;
  556. else setriding;
  557. } else if (!checkmadogear() && getskilllv("NC_MADOLICENCE")) setmadogear;
  558. else {
  559. message strcharinfo(0),"You do not meet requirements to rent.";
  560. end;
  561. }
  562. specialeffect2 EF_TEIHIT3;
  563. end;
  564. }
  565. 1@gef,124,65,4 script Kafra Employee#gef_t 4_F_KAFRA4,{
  566. cutin "kafra_04",2;
  567. mes "[Kafra Employee]";
  568. mes "Welcome~!";
  569. mes "The Kafra Services.";
  570. mes "are always on your side.";
  571. mes "So how can I help you?";
  572. callfunc "F_Kafra",5,5,1,50,0;
  573. }
  574. dali,100,147,3 script Dimensional Device#gefma PORTAL,{
  575. .@n$ = "[ Dimensional Device ]";
  576. .@ins_geffen_time = checkquest(9316,PLAYTIME);
  577. if ( GeffenTournament < gettimetick(2)) {
  578. .@party_id = getcharid(1);
  579. .@p_name$ = getpartyname(.@party_id);
  580. .@md_name$ = "Geffen Magic Tournament";
  581. getpartymember(getcharid(1),0);
  582. set .@GPPartySize,$@partymembercount;
  583. if( !getcharid(1) || is_party_leader() == false || .@GPPartySize > 1) {
  584. mes .@n$;
  585. mes "This is a solo instance. Please form a solo party before continuing.";
  586. end;
  587. }
  588. if (!.@party_id) {
  589. mes .@n$;
  590. mes "This is a solo instance. Please form a solo party before continuing.";
  591. end;
  592. }
  593. switch(select("Leave it alone:^3355FFUse the Device^000000")){
  594. case 1:
  595. mes .@n$;
  596. mes "You can feel time being distorted by the device.";
  597. end;
  598. case 2:
  599. if (BaseLevel < 90) {
  600. mes .@n$;
  601. mes "You must be base level 90 to continue.";
  602. end;
  603. }
  604. switch(instance_enter(.@md_name$)) {
  605. case 3:
  606. mes "An unknown error has occurred.";
  607. end;
  608. case 2:
  609. mes "The Geffen Magic Tournament instance has not been created. Please go to talk to Emmitt White first.";
  610. end;
  611. case 1:
  612. mes "Only registered members can enter the "+.@md_name$+" instance.";
  613. end;
  614. case 0:
  615. mapannounce "dali02",strcharinfo(0)+" of the party, "+.@p_name$+" is entering the "+.@md_name$+".",bc_map,"0x00ff99";
  616. GeffenTournament = gettimetick(2) + 82800;
  617. if(.@ins_geffen_time != -1) erasequest 9316;
  618. setquest 9316;
  619. end;
  620. }
  621. end;
  622. }
  623. } else if ( GeffenTournament > gettimetick(2) ) {
  624. mes .@n$;
  625. mes "Looks like the window of opportunity is not open right now.";
  626. end;
  627. }
  628. end;
  629. }
  630. dali,98,141,3 script Emmitt White 4_M_KHKYEL,{
  631. .@n$ = "[ Time Travel Researcher ]";
  632. if (BaseLevel < 90) {
  633. mes .@n$;
  634. mes "You must be base level 90 to continue.";
  635. end;
  636. }
  637. if (checkquest(9309) != -1) {
  638. mes .@n$,
  639. "I see that you've returned from the Tournament.",
  640. "Did you find out anything interesting?";
  641. next;
  642. mes .@n$,
  643. "You give details of your experience to the researcher.";
  644. next;
  645. mes .@n$,
  646. "You didn't really give me any information that I didn't already know...";
  647. next;
  648. mes .@n$,
  649. "But I still want more~!",
  650. "Can you help me tomorrow?",
  651. "I will be waiting for you.";
  652. next;
  653. for (.@i = 9284; .@i <= 9314; .@i++) {
  654. if (checkquest(.@i) != -1) {
  655. erasequest .@i;
  656. }
  657. }
  658. if (checkquest(9315) != -1)
  659. changequest 9315,9316;
  660. }
  661. if (checkquest(9308) != -1) {
  662. mes .@n$,
  663. "I can't believe you won the Tournament!";
  664. next;
  665. mes .@n$,
  666. "But I still want more~!",
  667. "Can you help me tomorrow?",
  668. "I will be waiting for you.";
  669. next;
  670. for (.@i = 9284; .@i <= 9314; .@i++) {
  671. if (checkquest(.@i) != -1) {
  672. erasequest .@i;
  673. }
  674. }
  675. if (checkquest(9315) != -1)
  676. changequest 9315,9316;
  677. }
  678. getpartymember(getcharid(1),0);
  679. set .@GPPartySize,$@partymembercount;
  680. if( !getcharid(1) || is_party_leader() == false || .@GPPartySize > 1) {
  681. mes .@n$;
  682. mes "This is a solo instance. Please form a solo party before continuing.";
  683. end;
  684. }
  685. // 23 Hour Cooldown
  686. if ( GeffenTournament < gettimetick(2) ) {
  687. .@party_id = getcharid(1);
  688. .@p_name$ = getpartyname(.@party_id);
  689. .@md_name$ = "Geffen Magic Tournament";
  690. if (!.@party_id) {
  691. mes .@n$;
  692. mes "You need to be a party leader in order to continue.";
  693. end;
  694. }
  695. if (is_party_leader() == true){
  696. mes .@n$;
  697. mes "Did you know? A long time ago there was a Magic Tournament in Geffen.";
  698. next;
  699. mes .@n$;
  700. mes "I've done so much research on the Tournament but haven't gotten too much information from research alone.";
  701. next;
  702. mes .@n$;
  703. mes "When I found out that this time gap can help with my research I couldn't resist the opportunity to continue the research.";
  704. next;
  705. mes .@n$;
  706. mes "And now I've found an adventurer, in you, who can help me go back to the time that the Tournament took place.";
  707. next;
  708. mes .@n$;
  709. mes "Please use the dimensional device and participate in the Magic Tournament for me.";
  710. next;
  711. mes .@n$;
  712. mes "Will you go and tell me about it?";
  713. next;
  714. mes .@n$;
  715. mes "The portal is unstable so you have to go solo.";
  716. mes "Are you ready to enter?";
  717. next;
  718. switch(select("No:Yes")){
  719. case 1:
  720. mes .@n$;
  721. mes "Come back if you change your mind~!";
  722. end;
  723. case 2:
  724. for (.@i = 9284; .@i <= 9314; .@i++) {
  725. if (checkquest(.@i) != -1) {
  726. erasequest .@i;
  727. }
  728. }
  729. if (instance_create(.@md_name$) < 0) {
  730. mes "Party Name: "+.@p_name$;
  731. mes "Party Leader: "+strcharinfo(0);
  732. mes "^0000ff"+.@md_name$+" ^000000- Reservation Failed!";
  733. end;
  734. }
  735. mes .@n$;
  736. mes "The Dimensional Device has been activated.";
  737. end;
  738. }
  739. end;
  740. } else {
  741. mes .@n$;
  742. mes "You need to be a party leader in order to continue.";
  743. end;
  744. }
  745. } else {
  746. mes .@n$;
  747. mes "Just a second.";
  748. mes "You need to wait for the timer to expire before going back.";
  749. mes " ";
  750. .@time = (GeffenTournament - gettimetick(2));
  751. .@sec = .@time % 60;
  752. .@min = (.@time / 60) % 60;
  753. .@hrs = (.@time / 3600) % 24;
  754. mes "Cooldown: ^3355FF"+(.@hrs < 10 ? "0" : "")+.@hrs+":"+(.@min < 10 ? "0" : "")+.@min+":"+(.@sec < 10 ? "0" : "")+.@sec+"^000000";
  755. end;
  756. }
  757. }
  758. 1@gef,120,34,4 script #gefmagic_warp01 45,2,2,{
  759. callfunc("InventoryCheck");
  760. end;
  761. OnTouch:
  762. movenpc instance_npcname("Old Bachelor#z1_0et"),1,1;
  763. movenpc instance_npcname("Dio Anemos#z1_0et"),1,1;
  764. movenpc instance_npcname("Ju#z1_0et"),1,1;
  765. movenpc instance_npcname("Ordre#z1_0et"),1,1;
  766. movenpc instance_npcname("Blut Hase#z1_0et"),1,1;
  767. movenpc instance_npcname("Kuro Akuma#z1_0et"),1,1;
  768. movenpc instance_npcname("Odoric#z1_0et"),1,1;
  769. movenpc instance_npcname("Fay Kanavian#z1_0et"),1,1;
  770. movenpc instance_npcname("Licheniyes#z1_0et"),1,1;
  771. movenpc instance_npcname("Ifodes#z1_0et"),1,1;
  772. movenpc instance_npcname("Faymont#z1_0et"),1,1;
  773. movenpc instance_npcname("Arhi#z1_0et"),1,1;
  774. movenpc instance_npcname("Dwigh#z1_0et"),1,1;
  775. warp instance_mapname("1@ge_st"),104,50;
  776. donpcevent instance_npcname(strnpcinfo(0))+"::OnDisable";
  777. end;
  778. OnInstanceInit:
  779. OnDisable:
  780. disablenpc();
  781. end;
  782. OnEnable:
  783. enablenpc();
  784. end;
  785. }
  786. 1@gef,1,1,4 script #gefmagic_warp02 45,2,2,{
  787. end;
  788. OnTouch_:
  789. instance_warpall "dali",92,142;
  790. end;
  791. OnInstanceInit:
  792. OnEnable:
  793. hideoffnpc instance_npcname(strnpcinfo(0));
  794. end;
  795. }
  796. 1@gef,1,1,4 script #invisGMTquests 567,2,2,{
  797. end;
  798. OnTouch_:
  799. if ('GMTHeroes < 1 ) {
  800. 'GMTHeroes = 1;
  801. for (.@i = 9309; .@i < 9315; .@i++){
  802. setquest .@i;
  803. }
  804. }
  805. end;
  806. OnInit:
  807. hideonnpc strnpcinfo(0);
  808. end;
  809. OnInstanceInit:
  810. hideonnpc instance_npcname(strnpcinfo(0));
  811. end;
  812. }
  813. 1@gef,123,203,4 script Tournament Guide#gfmg 705,{
  814. cutin "gef_soldier.bmp",2;
  815. .@n$ = "[ Tournament Guide ]";
  816. mes .@n$,"Welcome to the Magical city of ^8B4513Geffen^000000.";
  817. next;
  818. mes .@n$,"If you want to watch the ^55CC55Magic Tournament^000000 go to the southern fountain of Geffen.";
  819. next;
  820. mes .@n$,"The fireworks are here to celebrate the Geffen Magical Tournament Festival.";
  821. next;
  822. mes .@n$,"Please enjoy the festivities and enjoy your stay here in Geffen~!";
  823. close2;
  824. cutin "",255;
  825. end;
  826. OnInstanceInit:
  827. OnEnable:
  828. enablenpc();
  829. end;
  830. }
  831. 1@gef,203,116,4 duplicate(Tournament Guide#gfmg) Tournament Guide#gf2 705
  832. 1@gef,36,123,6 duplicate(Tournament Guide#gfmg) Tournament Guide#gf3 705
  833. 1@gef,122,58,4 script Receptionist#1_0et 4_M_ARUNA_NFM1,{
  834. .@n$ = "[ Tournament Receptionist ]";
  835. if ( checkquest(9309) != -1 ) {
  836. mes .@n$;
  837. mes "Fenrir won this year's Magic Tournament!";
  838. next;
  839. mes .@n$;
  840. mes "I'm such a big fan of hers.";
  841. end;
  842. }
  843. if ( checkquest(9308) != -1 ) {
  844. mes .@n$;
  845. mes "Congratulations on being this year's Magic Tournament winner!";
  846. end;
  847. }
  848. if ( 'passtest == 2 ) {
  849. mes .@n$;
  850. mes "Do you wish to try again?";
  851. mes "If you can kill the Desert Wolf within 60 seconds, you pass the test.";
  852. next;
  853. mes .@n$;
  854. mes "If you fail, you will automatically be eliminated from the list. You can try again as many times as you want.";
  855. mes "Will you take the test again?";
  856. next;
  857. switch(select("No:Yes")){
  858. case 1:
  859. mes .@n$;
  860. mes "Come back if you change your mind.";
  861. close;
  862. case 2:
  863. mes .@n$;
  864. mes "There is no registration fee to enter.";
  865. mes "The only requirement is to pass a simple test.";
  866. next;
  867. mes .@n$;
  868. mes "The test is very simple. Defeat a Desert Wolf in 60 seconds or less and you're in.";
  869. next;
  870. mes .@n$;
  871. mes "If you fail you will automatically be eliminated from the list but you can try again as many times as you wish.";
  872. mes "Are you ready?";
  873. next;
  874. switch(select("No:Yes")){
  875. case 1:
  876. mes .@n$;
  877. mes "Come back if you change your mind.";
  878. close;
  879. case 2:
  880. mes .@n$;
  881. mes "You can participate in the Magic Tournament after passing the test.";
  882. mes "Then, let us begin!";
  883. npctalk "Time limit is 60 seconds ! Ready! Set! Go!";
  884. erasequest 9292;
  885. setquest 9293;
  886. addtimer 60000,instance_npcname("Receptionist#1_0et")+"::OnFail";
  887. monster instance_mapname("1@gef"),120,62,"--ja--",1106,1,instance_npcname("Receptionist#1_0et")+"::OnTest";
  888. hideonnpc instance_npcname("Receptionist#1_0et");
  889. break;
  890. }
  891. end;
  892. }
  893. end;
  894. }
  895. if ( 'passtest == 1 ) {
  896. if ('GMT >= 5){
  897. mes .@n$;
  898. mes "The Magic Tournament is going to start soon.";
  899. mes "Enter the portal to the south and you can join in.";
  900. next;
  901. mes .@n$;
  902. mes "Good luck!";
  903. end;
  904. }
  905. mes .@n$;
  906. mes "Congratulations! You passed the test!";
  907. next;
  908. mes .@n$;
  909. mes "Give me your name so I can write it down.";
  910. mes "You will automatically be registered for the tournament now.";
  911. next;
  912. input .@char$;
  913. if(.@char$ == "") { end; }
  914. mes .@n$;
  915. mes strcharinfo(0)+"?";
  916. mes "Okay, interesting name.";
  917. mes "Anyway, your registration is complete!";
  918. 'GMT = 5;
  919. erasequest 9293;
  920. if (checkquest(9294) > -1)
  921. erasequest 9294;
  922. setquest 9294;
  923. donpcevent instance_npcname("#gefmagic_warp01")+"::OnEnable";
  924. next;
  925. mes .@n$;
  926. mes "Competitors who registered will randomly be selected.";
  927. next;
  928. mes .@n$;
  929. mes "The Magic Tournament is going to start soon.";
  930. mes "Enter the portal to the south and you can join in.";
  931. next;
  932. mes .@n$;
  933. mes "Good Luck~!";
  934. end;
  935. }
  936. if ( checkquest(9293) == -1 ) {
  937. mes .@n$;
  938. mes "Thank you for visiting the Geffen Magic Tournament.";
  939. mes "What can I do for you?";
  940. next;
  941. L_Menu:
  942. switch(select("About Geffen Magic Tournament:How do I Register?:Collecting Rewards.:Can I get a Spectator Pass?:End Conversation")){
  943. case 1:
  944. mes .@n$;
  945. mes "Geffen Magic Tournament is being held once every 3 years.";
  946. next;
  947. mes .@n$;
  948. mes "This festival used to be a more studious event with scholars discussing magical methods.";
  949. mes "Now it's all about fun and a big party.";
  950. next;
  951. mes .@n$;
  952. mes "Now it has become almost exclusively a fighting tournament.";
  953. mes "The most famous Mages from all over the world come for the tournament.";
  954. next;
  955. mes .@n$;
  956. mes "Anything else?";
  957. next;
  958. goto L_Menu;
  959. case 2:
  960. mes .@n$;
  961. mes "There is no registration fee to enter.";
  962. mes "The only requirement is to pass a simple test.";
  963. next;
  964. mes .@n$;
  965. mes "The test is very simple. Defeat a Desert Wolf in 60 seconds or less and you're in.";
  966. next;
  967. mes .@n$;
  968. mes "If you fail you will automatically be eliminated from the list but you can try again as many times as you wish.";
  969. mes "Do you want to take the test?";
  970. next;
  971. switch(select("No:Yes")){
  972. case 1:
  973. mes .@n$;
  974. mes "Come back if you change your mind.";
  975. close;
  976. case 2:
  977. mes .@n$;
  978. mes "You can participate in the Magic Tournament after passing the test.";
  979. mes "Then, let us begin!";
  980. erasequest 9292;
  981. setquest 9293;
  982. 'GMT = 3;
  983. npctalk "Time limit is 60 seconds ! Ready! Set! Go!";
  984. addtimer 60000,instance_npcname("Receptionist#1_0et")+"::OnFail";
  985. monster instance_mapname("1@gef"),120,62,"--ja--",1106,1,instance_npcname("Receptionist#1_0et")+"::OnTest";
  986. hideonnpc instance_npcname("Receptionist#1_0et");
  987. break;
  988. }
  989. end;
  990. case 3:
  991. mes .@n$;
  992. mes "The father you go along in the tournament, the more coins you will earn.";
  993. next;
  994. mes .@n$;
  995. mes "Collect the coins and you can exchange them for equipment from the Geffen Coin Operator.";
  996. next;
  997. mes .@n$;
  998. mes "Anything else?";
  999. next;
  1000. goto L_Menu;
  1001. case 4:
  1002. mes .@n$;
  1003. mes "Hmm it seems that the Magic Tournament is so popular this year that there aren't any more spectator seats available.";
  1004. next;
  1005. mes .@n$;
  1006. mes "I am sorry for inconvenience.";
  1007. next;
  1008. mes .@n$;
  1009. mes "Do you need anything else?";
  1010. next;
  1011. goto L_Menu;
  1012. case 5:
  1013. mes .@n$;
  1014. mes "Please enjoy the Geffen Magic Tournament.";
  1015. close;
  1016. }
  1017. end;
  1018. }
  1019. end;
  1020. OnTest:
  1021. deltimer instance_npcname("Receptionist#1_0et")+"::OnFail";
  1022. 'passtest = 1;
  1023. hideoffnpc instance_npcname("Receptionist#1_0et");
  1024. npctalk "You passed the test! Shall we finish your registration?", instance_npcname("Receptionist#1_0et");
  1025. end;
  1026. OnFail:
  1027. hideoffnpc instance_npcname("Receptionist#1_0et");
  1028. 'passtest = 2;
  1029. killmonster instance_mapname("1@gef"),instance_npcname("Receptionist#1_0et")+"::OnTest";
  1030. npctalk "You failed the test. Talk to me if you wish to try again.", instance_npcname("Receptionist#1_0et");
  1031. end;
  1032. }
  1033. 1@ge_st,95,62,6 duplicate(#d_c) Tournament Spectator#70 4_M_LGTPOOR
  1034. 1@ge_st,113,62,4 duplicate(#d_c) Tournament Spectator#71 4_M_LGTGUARD
  1035. 1@ge_st,99,62,6 duplicate(#d_c) Tournament Spectator#72 4_F_JOB_HUNTER
  1036. 1@ge_st,93,62,6 duplicate(#d_c) Tournament Spectator#73 1_ETC_01
  1037. 1@ge_st,94,62,6 duplicate(#d_c) Tournament Spectator#74 1_F_02
  1038. 1@ge_st,96,62,6 duplicate(#d_c) Tournament Spectator#75 1_M_01
  1039. 1@ge_st,98,62,6 duplicate(#d_c) Tournament Spectator#76 1_M_02
  1040. 1@ge_st,100,62,6 duplicate(#d_c) Tournament Spectator#77 1_M_03
  1041. 1@ge_st,102,62,6 duplicate(#d_c) Tournament Spectator#78 1_F_01
  1042. 1@ge_st,104,62,6 duplicate(#d_c) Tournament Spectator#79 1_F_03
  1043. 1@ge_st,116,62,4 duplicate(#d_c) Tournament Spectator#80 1_F_04
  1044. 1@ge_st,118,62,4 duplicate(#d_c) Tournament Spectator#81 1_F_GYPSY
  1045. 1@ge_st,92,64,6 duplicate(#d_c) Tournament Spectator#82 4_F_TWGRANDMOM
  1046. 1@ge_st,93,64,6 duplicate(#d_c) Tournament Spectator#83 1_F_MERCHANT_01
  1047. 1@ge_st,94,64,6 duplicate(#d_c) Tournament Spectator#84 1_F_MERCHANT_02
  1048. 1@ge_st,95,64,6 duplicate(#d_c) Tournament Spectator#85 1_M_JOBGUIDER
  1049. 1@ge_st,96,64,6 duplicate(#d_c) Tournament Spectator#86 1_M_JOBTESTER
  1050. 1@ge_st,97,64,6 duplicate(#d_c) Tournament Spectator#87 1_M_KNIGHTMASTER
  1051. 1@ge_st,98,64,6 duplicate(#d_c) Tournament Spectator#88 1_M_LIBRARYMASTER
  1052. 1@ge_st,99,64,6 duplicate(#d_c) Tournament Spectator#89 1_F_ORIENT_01
  1053. 1@ge_st,100,64,6 duplicate(#d_c) Tournament Spectator#90 1_F_ORIENT_02
  1054. 1@ge_st,101,64,6 duplicate(#d_c) Tournament Spectator#91 1_F_ORIENT_03
  1055. 1@ge_st,102,64,6 duplicate(#d_c) Tournament Spectator#92 1_F_ORIENT_04
  1056. 1@ge_st,103,64,6 duplicate(#d_c) Tournament Spectator#93 1_M_MERCHANT
  1057. 1@ge_st,104,64,6 duplicate(#d_c) Tournament Spectator#94 1_M_MOC_LORD
  1058. 1@ge_st,105,64,6 duplicate(#d_c) Tournament Spectator#95 1_M_ORIENT01
  1059. 1@ge_st,106,64,6 duplicate(#d_c) Tournament Spectator#96 1_M_PASTOR
  1060. 1@ge_st,107,64,6 duplicate(#d_c) Tournament Spectator#97 1_F_PRIEST
  1061. 1@ge_st,108,64,6 duplicate(#d_c) Tournament Spectator#98 1_F_PUBGIRL
  1062. 1@ge_st,109,64,4 duplicate(#d_c) Tournament Spectator#99 4_M_DST_TOUGH
  1063. 1@ge_st,110,64,4 duplicate(#d_c) Tournament Spectator#100 1_M_INNKEEPER
  1064. 1@ge_st,111,64,4 duplicate(#d_c) Tournament Spectator#101 1_M_SIZ
  1065. 1@ge_st,112,64,4 duplicate(#d_c) Tournament Spectator#102 1_M_PAY_ELDER
  1066. 1@ge_st,113,64,4 duplicate(#d_c) Tournament Spectator#103 1_M_PRON_KING
  1067. 1@ge_st,114,64,4 duplicate(#d_c) Tournament Spectator#104 1_M_PUBMASTER
  1068. 1@ge_st,115,64,4 duplicate(#d_c) Tournament Spectator#105 1_M_SIGN1
  1069. 1@ge_st,116,64,4 duplicate(#d_c) Tournament Spectator#106 2_F_MAGICMASTER
  1070. 1@ge_st,117,64,4 duplicate(#d_c) Tournament Spectator#107 4_F_01
  1071. 1@ge_st,118,64,4 duplicate(#d_c) Tournament Spectator#108 4_F_02
  1072. 1@ge_st,90,63,6 duplicate(#d_c) Tournament Spectator#109 4_F_TELEPORTER
  1073. 1@ge_st,91,63,6 duplicate(#d_c) Tournament Spectator#110 4_F_THAIAYO
  1074. 1@ge_st,89,38,8 duplicate(#d_c) Tournament Spectator#111 4_M_ALCHE_E
  1075. 1@ge_st,89,39,8 duplicate(#d_c) Tournament Spectator#112 4_M_ARUNA_NFM1
  1076. 1@ge_st,89,40,8 duplicate(#d_c) Tournament Spectator#113 4_F_JPN2
  1077. 1@ge_st,89,41,8 duplicate(#d_c) Tournament Spectator#114 4_F_JPN
  1078. 1@ge_st,89,42,8 duplicate(#d_c) Tournament Spectator#115 4_F_JPNCHIBI
  1079. 1@ge_st,89,43,8 duplicate(#d_c) Tournament Spectator#116 4_F_HUGRANMA
  1080. 1@ge_st,89,44,8 duplicate(#d_c) Tournament Spectator#117 4_F_JPNOBA2
  1081. 1@ge_st,89,45,8 duplicate(#d_c) Tournament Spectator#118 4_F_JPNOBA
  1082. 1@ge_st,89,51,6 duplicate(#d_c) Tournament Spectator#119 4_F_SCIENCE
  1083. 1@ge_st,89,52,6 duplicate(#d_c) Tournament Spectator#120 4_F_SHABBY
  1084. 1@ge_st,89,53,6 duplicate(#d_c) Tournament Spectator#121 4_M_CRU_SOLD
  1085. 1@ge_st,89,54,6 duplicate(#d_c) Tournament Spectator#122 4_M_DESERT
  1086. 1@ge_st,89,55,6 duplicate(#d_c) Tournament Spectator#123 4_M_DEWBOY
  1087. 1@ge_st,89,56,6 duplicate(#d_c) Tournament Spectator#124 4_M_DEWMAN
  1088. 1@ge_st,89,57,6 duplicate(#d_c) Tournament Spectator#125 4_F_SHADOWCHASER
  1089. 1@ge_st,89,58,6 duplicate(#d_c) Tournament Spectator#126 4_F_SISTER
  1090. 1@ge_st,89,59,6 duplicate(#d_c) Tournament Spectator#127 4_F_SOCCER
  1091. 1@ge_st,89,62,6 duplicate(#d_c) Tournament Spectator#128 4_M_DOCTOR
  1092. 1@ge_st,88,61,6 duplicate(#d_c) Tournament Spectator#129 4_M_DEWZATICHIEF
  1093. 1@ge_st,87,37,8 duplicate(#d_c) Tournament Spectator#130 4_M_ALCHE_D
  1094. 1@ge_st,87,59,6 duplicate(#d_c) Tournament Spectator#131 4_F_SURA
  1095. 1@ge_st,87,60,6 duplicate(#d_c) Tournament Spectator#132 4_M_DEWOLDMAN
  1096. 1@ge_st,119,62,4 duplicate(#d_c) Tournament Spectator#133 4_F_JOB_KNIGHT
  1097. 1@ge_st,119,64,4 duplicate(#d_c) Tournament Spectator#134 4_F_03
  1098. 1@ge_st,120,62,4 duplicate(#d_c) Tournament Spectator#135 1_M_BARD
  1099. 1@ge_st,120,64,4 duplicate(#d_c) Tournament Spectator#136 4_F_04
  1100. 1@ge_st,121,64,4 duplicate(#d_c) Tournament Spectator#137 4_F_TRAINEE
  1101. 1@ge_st,122,64,4 duplicate(#d_c) Tournament Spectator#138 1_M_SIGNART
  1102. 1@ge_st,123,64,4 duplicate(#d_c) Tournament Spectator#139 1_M_SIGNMCNT
  1103. 1@ge_st,124,62,4 duplicate(#d_c) Tournament Spectator#140 1_F_LIBRARYGIRL
  1104. 1@ge_st,124,64,4 duplicate(#d_c) Tournament Spectator#141 1_M_SIGNMONK2
  1105. 1@ge_st,125,62,4 duplicate(#d_c) Tournament Spectator#142 1_M_HOF
  1106. 1@ge_st,125,64,4 duplicate(#d_c) Tournament Spectator#143 4_F_05
  1107. 1@ge_st,126,64,4 duplicate(#d_c) Tournament Spectator#144 4_F_06
  1108. 1@ge_st,127,63,4 duplicate(#d_c) Tournament Spectator#145 4_F_07
  1109. 1@ge_st,128,63,4 duplicate(#d_c) Tournament Spectator#146 4_F_ACROSS
  1110. 1@ge_st,128,60,4 duplicate(#d_c) Tournament Spectator#147 4_F_ALCHE
  1111. 1@ge_st,128,59,4 duplicate(#d_c) Tournament Spectator#148 4_M_EDEN_GUARDER
  1112. 1@ge_st,128,58,4 duplicate(#d_c) Tournament Spectator#149 4_F_ANNIVERSARY
  1113. 1@ge_st,128,57,4 duplicate(#d_c) Tournament Spectator#150 4_F_BRZ_INDIAN
  1114. 1@ge_st,128,56,4 duplicate(#d_c) Tournament Spectator#151 1_M_WIZARD
  1115. 1@ge_st,128,55,4 duplicate(#d_c) Tournament Spectator#152 1_M_YOUNGKNIGHT
  1116. 1@ge_st,128,54,4 duplicate(#d_c) Tournament Spectator#153 2_M_ALCHE
  1117. 1@ge_st,128,53,4 duplicate(#d_c) Tournament Spectator#154 4_F_BRZ_INDIAN
  1118. 1@ge_st,128,52,4 duplicate(#d_c) Tournament Spectator#155 4_F_BRZ_INDOLD
  1119. 1@ge_st,128,51,4 duplicate(#d_c) Tournament Spectator#156 4_F_BRZ_WOMAN
  1120. 1@ge_st,128,45,2 duplicate(#d_c) Tournament Spectator#157 2_M_BARD_ORIENT
  1121. 1@ge_st,128,44,2 duplicate(#d_c) Tournament Spectator#158 2_M_DYEINGER
  1122. 1@ge_st,129,62,4 duplicate(#d_c) Tournament Spectator#159 1_M_SIGNMONK
  1123. 1@ge_st,128,43,2 duplicate(#d_c) Tournament Spectator#160 2_M_MOLGENSTEIN
  1124. 1@ge_st,129,43,2 duplicate(#d_c) Tournament Spectator#161 4_M_CRU_OLD
  1125. 1@ge_st,129,44,2 duplicate(#d_c) Tournament Spectator#162 4_F_RUSWOMAN2
  1126. 1@ge_st,129,45,2 duplicate(#d_c) Tournament Spectator#163 4_F_RUSWOMAN3
  1127. 1@ge_st,130,61,4 duplicate(#d_c) Tournament Spectator#164 1_M_SIGNROGUE
  1128. 1@ge_st,130,60,4 duplicate(#d_c) Tournament Spectator#165 1_M_SMITH
  1129. 1@ge_st,128,42,2 duplicate(#d_c) Tournament Spectator#166 4_F_CAPEGIRL
  1130. 1@ge_st,129,42,2 duplicate(#d_c) Tournament Spectator#167 4_M_CRU_KNT
  1131. 1@ge_st,128,41,2 duplicate(#d_c) Tournament Spectator#168 4_F_CAVE1
  1132. 1@ge_st,129,41,2 duplicate(#d_c) Tournament Spectator#169 4_M_CRU_HEAD
  1133. 1@ge_st,128,40,2 duplicate(#d_c) Tournament Spectator#170 4_F_CHILD
  1134. 1@ge_st,129,40,2 duplicate(#d_c) Tournament Spectator#171 4_M_CRU_CRUA
  1135. 1@ge_st,128,39,2 duplicate(#d_c) Tournament Spectator#172 2_M_OLDBLSMITH
  1136. 1@ge_st,129,39,2 duplicate(#d_c) Tournament Spectator#173 4_F_RUSWOMAN1
  1137. 1@ge_st,128,38,2 duplicate(#d_c) Tournament Spectator#174 2_M_PHARMACIST
  1138. 1@ge_st,129,38,2 duplicate(#d_c) Tournament Spectator#175 4_F_RUSCHILD
  1139. 1@ge_st,128,37,2 duplicate(#d_c) Tournament Spectator#176 2_M_SAGE_B
  1140. 1@ge_st,130,37,2 duplicate(#d_c) Tournament Spectator#177 4_F_CHNDOCTOR
  1141. 1@ge_st,130,36,2 duplicate(#d_c) Tournament Spectator#178 4_F_CHNDRESS1
  1142. 1@ge_st,130,35,2 duplicate(#d_c) Tournament Spectator#179 2_M_SAGE_OLD
  1143. 1@ge_st,108,34,8 duplicate(#d_c) Tournament Spectator#180 4_F_KID3
  1144. 1@ge_st,109,34,2 duplicate(#d_c) Tournament Spectator#181 4_F_LGTGIRL
  1145. 1@ge_st,110,34,2 duplicate(#d_c) Tournament Spectator#182 4_F_LGTGRAND
  1146. 1@ge_st,111,34,2 duplicate(#d_c) Tournament Spectator#183 4_F_MADAME
  1147. 1@ge_st,112,34,2 duplicate(#d_c) Tournament Spectator#184 4_M_CHN8GUEK
  1148. 1@ge_st,113,34,2 duplicate(#d_c) Tournament Spectator#185 4_M_CHNCOOK
  1149. 1@ge_st,114,34,2 duplicate(#d_c) Tournament Spectator#186 4_M_CHNGENERL
  1150. 1@ge_st,115,34,2 duplicate(#d_c) Tournament Spectator#187 4_M_CHNMAN
  1151. 1@ge_st,116,34,2 duplicate(#d_c) Tournament Spectator#188 4_F_MASK
  1152. 1@ge_st,117,34,2 duplicate(#d_c) Tournament Spectator#189 4_F_MONK
  1153. 1@ge_st,118,34,2 duplicate(#d_c) Tournament Spectator#190 4_F_NFLOSTGIRL
  1154. 1@ge_st,119,34,2 duplicate(#d_c) Tournament Spectator#191 4_F_NOVICE
  1155. 1@ge_st,129,34,2 duplicate(#d_c) Tournament Spectator#192 2_M_SWORDMASTER
  1156. 1@ge_st,120,34,2 duplicate(#d_c) Tournament Spectator#193 4_M_CHNMONK
  1157. 1@ge_st,121,34,2 duplicate(#d_c) Tournament Spectator#194 4_M_CHNOLD
  1158. 1@ge_st,122,34,2 duplicate(#d_c) Tournament Spectator#195 4_M_CHNSOLDIER
  1159. 1@ge_st,123,34,2 duplicate(#d_c) Tournament Spectator#196 4_M_CRU
  1160. 1@ge_st,124,34,2 duplicate(#d_c) Tournament Spectator#197 4_F_RACHOLD
  1161. 1@ge_st,125,34,2 duplicate(#d_c) Tournament Spectator#198 4_F_ROGUE
  1162. 1@ge_st,128,33,2 duplicate(#d_c) Tournament Spectator#199 4_F_CHNDRESS2
  1163. 1@ge_st,127,33,2 duplicate(#d_c) Tournament Spectator#200 4_F_CHNDRESS3
  1164. 1@ge_st,119,32,2 duplicate(#d_c) Tournament Spectator#201 4_F_DST_CHILD
  1165. 1@ge_st,118,32,2 duplicate(#d_c) Tournament Spectator#202 4_LGTSCIENCE
  1166. 1@ge_st,117,32,2 duplicate(#d_c) Tournament Spectator#203 4_M_01
  1167. 1@ge_st,116,32,2 duplicate(#d_c) Tournament Spectator#204 4_F_DST_GRAND
  1168. 1@ge_st,115,32,2 duplicate(#d_c) Tournament Spectator#205 4_F_EDEN_MASTER
  1169. 1@ge_st,114,32,2 duplicate(#d_c) Tournament Spectator#206 4_F_EDEN_OFFICER
  1170. 1@ge_st,113,32,2 duplicate(#d_c) Tournament Spectator#207 4_M_1STPRIN1
  1171. 1@ge_st,112,32,2 duplicate(#d_c) Tournament Spectator#208 4_M_DST_CHILD
  1172. 1@ge_st,111,32,2 duplicate(#d_c) Tournament Spectator#209 4_F_EINOLD
  1173. 1@ge_st,110,32,2 duplicate(#d_c) Tournament Spectator#210 4_F_YUNYANG
  1174. 1@ge_st,109,32,2 duplicate(#d_c) Tournament Spectator#211 4_M_2NDPRIN1
  1175. 1@ge_st,108,32,8 duplicate(#d_c) Tournament Spectator#212 4_M_03
  1176. 1@ge_st,126,32,2 duplicate(#d_c) Tournament Spectator#213 2_M_THIEFMASTER
  1177. 1@ge_st,125,32,2 duplicate(#d_c) Tournament Spectator#214 4_COOK
  1178. 1@ge_st,124,32,2 duplicate(#d_c) Tournament Spectator#215 4_F_CHNWOMAN
  1179. 1@ge_st,123,32,2 duplicate(#d_c) Tournament Spectator#216 4_F_CRU
  1180. 1@ge_st,122,32,2 duplicate(#d_c) Tournament Spectator#217 4_DST_SOLDIER
  1181. 1@ge_st,121,32,2 duplicate(#d_c) Tournament Spectator#218 4_KID01
  1182. 1@ge_st,120,32,2 duplicate(#d_c) Tournament Spectator#219 4_F_DESERT
  1183. 1@ge_st,107,32,8 duplicate(#d_c) Tournament Spectator#220 4_F_GODEMOM
  1184. 1@ge_st,107,34,8 duplicate(#d_c) Tournament Spectator#221 4_F_KID2
  1185. 1@ge_st,106,32,8 duplicate(#d_c) Tournament Spectator#222 4_F_GON
  1186. 1@ge_st,106,34,8 duplicate(#d_c) Tournament Spectator#223 4_F_THAIGIRL
  1187. 1@ge_st,105,32,8 duplicate(#d_c) Tournament Spectator#224 4_M_3RDPRIN1
  1188. 1@ge_st,105,34,8 duplicate(#d_c) Tournament Spectator#225 4_M_CAVE1
  1189. 1@ge_st,104,32,8 duplicate(#d_c) Tournament Spectator#226 4_M_DST_MASTER
  1190. 1@ge_st,104,34,8 duplicate(#d_c) Tournament Spectator#227 4_M_CASMAN1
  1191. 1@ge_st,103,32,8 duplicate(#d_c) Tournament Spectator#228 4_M_4THPRIN1
  1192. 1@ge_st,103,34,8 duplicate(#d_c) Tournament Spectator#229 4_M_BUDDHIST
  1193. 1@ge_st,102,32,8 duplicate(#d_c) Tournament Spectator#230 4_M_DSTMAN
  1194. 1@ge_st,102,34,8 duplicate(#d_c) Tournament Spectator#231 4_M_BRZ_MAN1
  1195. 1@ge_st,101,32,8 duplicate(#d_c) Tournament Spectator#232 4_F_GUILLOTINE
  1196. 1@ge_st,101,34,8 duplicate(#d_c) Tournament Spectator#233 4_F_TWMASKGIRL
  1197. 1@ge_st,100,32,8 duplicate(#d_c) Tournament Spectator#234 4_F_HUGIRL
  1198. 1@ge_st,100,34,8 duplicate(#d_c) Tournament Spectator#235 4_F_KHGIRL
  1199. 1@ge_st,99,32,8 duplicate(#d_c) Tournament Spectator#236 4_F_HUGRANMA
  1200. 1@ge_st,99,34,8 duplicate(#d_c) Tournament Spectator#237 4_F_KHELLY
  1201. 1@ge_st,98,32,8 duplicate(#d_c) Tournament Spectator#238 4_F_HUWOMAN
  1202. 1@ge_st,98,34,8 duplicate(#d_c) Tournament Spectator#239 4_F_KHELLISIA
  1203. 1@ge_st,97,32,8 duplicate(#d_c) Tournament Spectator#240 4_M_5THPRIN1
  1204. 1@ge_st,97,34,8 duplicate(#d_c) Tournament Spectator#241 4_M_BRZ_JACI
  1205. 1@ge_st,96,32,8 duplicate(#d_c) Tournament Spectator#242 4_M_06
  1206. 1@ge_st,96,34,8 duplicate(#d_c) Tournament Spectator#243 4_M_BIBI
  1207. 1@ge_st,95,32,8 duplicate(#d_c) Tournament Spectator#244 4_M_6THPRIN1
  1208. 1@ge_st,95,34,8 duplicate(#d_c) Tournament Spectator#245 4_M_BARD
  1209. 1@ge_st,94,32,8 duplicate(#d_c) Tournament Spectator#246 4_M_ACROSS
  1210. 1@ge_st,94,34,8 duplicate(#d_c) Tournament Spectator#247 4_M_BARBER
  1211. 1@ge_st,93,32,8 duplicate(#d_c) Tournament Spectator#248 4_M_ALCHE_A
  1212. 1@ge_st,93,34,8 duplicate(#d_c) Tournament Spectator#249 4_M_ATEIL
  1213. 1@ge_st,92,32,8 duplicate(#d_c) Tournament Spectator#250 4_F_JOB_ASSASSIN
  1214. 1@ge_st,91,33,8 duplicate(#d_c) Tournament Spectator#251 4_F_JOB_BLACKSMITH
  1215. 1@ge_st,90,33,8 duplicate(#d_c) Tournament Spectator#252 4_M_JP_RUN
  1216. 1@ge_st,89,34,8 duplicate(#d_c) Tournament Spectator#253 4_M_EINMAN
  1217. 1@ge_st,88,35,8 duplicate(#d_c) Tournament Spectator#254 4_M_ALCHE_B
  1218. 1@ge_st,88,36,8 duplicate(#d_c) Tournament Spectator#255 4_M_ALCHE_C
  1219. 1@gef,124,72,4 duplicate(#d_c) Tournament Spectator#256 1_M_SIGNMCNT
  1220. 1@gef,106,56,6 duplicate(#d_c) Tournament Spectator#257 1_F_ORIENT_04
  1221. 1@ge_st,107,62,6 duplicate(#d_c) Veins Spectator#a1 4_F_ALCHE_A
  1222. 1@ge_st,110,62,4 duplicate(#d_c) Comodo Spectator#a1 4_F_EINWOMAN
  1223. 1@ge_st,115,62,4 duplicate(#d_c) Prontera Spectator#a1 4_M_DST_GRAND
  1224. 1@ge_st,117,62,4 duplicate(#d_c) Payon Spectator#a1 1_F_SIGNZISK
  1225. 1@ge_st,121,62,4 duplicate(#d_c) Alberta Spectator#a1 4_M_05
  1226. 1@ge_st,97,62,6 duplicate(#d_c) Prontera Spectator#a2 4_M_2NDPRIN1
  1227. 1@ge_st,101,62,6 duplicate(#d_c) Payon Spectator#a2 4_M_ROGUE
  1228. 1@ge_st,105,62,6 duplicate(#d_c) Alberta Spectator#a2 4_M_ORIENT02
  1229. 1@ge_st,103,62,6 duplicate(#d_c) Magic Academy Student#1 4_M_02
  1230. 1@ge_st,109,62,4 duplicate(#d_c) Magic Academy Student#2 4_M_CHILD1
  1231. 1@ge_st,114,62,4 duplicate(#d_c) Magic Academy Student#3 4_M_04
  1232. 1@ge_st,122,62,4 duplicate(#d_c) Magic Academy Student#4 1_F_MARIA
  1233. 1@ge_st,123,62,4 duplicate(#d_c) Magic Academy Student#5 1_M_SIGNALCHE
  1234. 1@gef,128,93,4 duplicate(#d_c) Geffen Villager#c1 4_F_CAVE1
  1235. 1@gef,103,100,6 duplicate(#d_c) Geffen Villager#c2 1_M_JOBGUIDER
  1236. // ===================================================================================
  1237. // Tournament Start - CHINESE TOURNAMENT ARENA START
  1238. // ===================================================================================
  1239. 1@ge_st,102,49,4 script Geffen Academy Master#S 567,3,3,{
  1240. end;
  1241. OnTouch_:
  1242. ignoretimeout 1;
  1243. .@n$ = "[ Geffen Academy Master ]";
  1244. if ('GMT_1QUE < 11) {
  1245. cutin "acamaster_a.bmp",2;
  1246. mes .@n$,
  1247. "Ladies and gentlemen!",
  1248. "Welcome to the Geffen Magic",
  1249. "Tournament!";
  1250. next;
  1251. mes .@n$,
  1252. "Today a champion will be crowned.";
  1253. next;
  1254. mes .@n$,
  1255. "There are 2 divisions this year",
  1256. "divided into Group A and B.",
  1257. "The winner of each group will face",
  1258. "each other for the championship",
  1259. "match.";
  1260. next;
  1261. mes .@n$,
  1262. "I am the MC of Group A.",
  1263. "Geffen Academy Master~!",
  1264. "Archmage Zanzibar Hellmod";
  1265. next;
  1266. mes .@n$,
  1267. "I am honored to be this year's MC.",
  1268. "Now, it's time for the matches to begin.";
  1269. next;
  1270. mes .@n$,
  1271. "Ahem...";
  1272. close2;
  1273. cutin "acamaster_a.bmp", 255;
  1274. hideonnpc "Geffen Academy Master";
  1275. 'GMT_1QUE = 11;
  1276. if (checkquest(9294) != -1)
  1277. changequest 9294,9295;
  1278. donpcevent instance_npcname("Geffen Academy Master")+"::OnStart";
  1279. 'charname$ = strcharinfo(0);
  1280. 'sex = Sex;
  1281. end;
  1282. }
  1283. end;
  1284. OnInit:
  1285. hideonnpc strnpcinfo(0);
  1286. end;
  1287. OnInstanceInit:
  1288. hideonnpc instance_npcname(strnpcinfo(0));
  1289. end;
  1290. }
  1291. 1@ge_st,107,57,4 script Tournament Guide#gefMT 4_M_HUMAN_02,{
  1292. .@n$ = "[ Tournament Guide ]";
  1293. ignoretimeout 1;
  1294. if (checkquest(9308) != -1) {
  1295. switch(select("Leave the Arena and receive your reward:End Conversation")) {
  1296. case 1:
  1297. mes .@n$;
  1298. mes "You won the competition!","Congratulations!";
  1299. next;
  1300. mes .@n$;
  1301. mes "By the way, the Academy Master has","something to tell you!";
  1302. next;
  1303. cutin "acamaster_a.bmp",2;
  1304. .@n2$ = "[ Geffen Academy Master ]";
  1305. mes .@n2$,
  1306. "Congratulations!",
  1307. "This has been the best pool of",
  1308. "competitors in the history of this",
  1309. "competition.";
  1310. next;
  1311. mes .@n2$,
  1312. "I present to you your earned ^55CC55Geffen",
  1313. "Magic Tournament Coins.^000000";
  1314. next;
  1315. mes .@n2$,
  1316. "Bring the coins to the ^55CC55Geffen Coin",
  1317. "Operator^000000 to exchange for special",
  1318. "equipment.";
  1319. next;
  1320. mes .@n2$,
  1321. "Your name will be remembered in the",
  1322. "history books of Geffen.";
  1323. next;
  1324. mes .@n2$,
  1325. "Congratulations again.",
  1326. "I hope you enjoy the rest of the",
  1327. "Geffen Festivities.";
  1328. close2;
  1329. cutin "",255;
  1330. getitem 6671,'reward[getarraysize('reward[0]) - 1];
  1331. warp instance_mapname("1@gef"), 120,35;
  1332. end;
  1333. case 2:
  1334. end;
  1335. }
  1336. }
  1337. mes .@n$;
  1338. if ('GMT_1QUE <22) {
  1339. mes "Congratulations on winning the "+callfunc("F_GetNumSuffix",('GMT_1QUE-10))+" round!";
  1340. .@menu$ = "Begin the "+callfunc("F_GetNumSuffix",('GMT_1QUE-9))+" match.";
  1341. }
  1342. else {
  1343. mes "Congratulations! You've defeated every other opponent in Group A! Good luck on the final!";
  1344. .@menu$ = "Begin the final match.";
  1345. }
  1346. next;
  1347. switch(select(.@menu$,"End Conversation")) {
  1348. case 1:
  1349. mes .@n$;
  1350. mes "Winners of each round will receive ^55CC55Geffen Magic Tournament Coins^000000 as a reward.";
  1351. next;
  1352. mes .@n$;
  1353. mes "Bring the coins to the ^55CC55Geffen Coin Operator^000000 to exchange them for special equipment.";
  1354. next;
  1355. mes .@n$;
  1356. mes "The "+callfunc("F_GetNumSuffix",('GMT_1QUE-9))+" match of Group A is about to begin!";
  1357. close2;
  1358. getitem 6671, 'reward['GMT_1QUE-11];
  1359. hideonnpc instance_npcname("Tournament Healer#1");
  1360. switch ('GMT_1QUE) {
  1361. case 11:
  1362. enablenpc instance_npcname("Dio Anemos#1");
  1363. break;
  1364. case 12:
  1365. if ('GMTQuest == 1)
  1366. enablenpc instance_npcname("Geffen Gangster#n1");
  1367. else if ('GMTQuest == 2)
  1368. enablenpc instance_npcname("Geffen Bully#n1");
  1369. else
  1370. enablenpc instance_npcname("Geffen Shoplifter#n1");
  1371. break;
  1372. case 13:
  1373. enablenpc instance_npcname("Faymont#1");
  1374. break;
  1375. case 14:
  1376. enablenpc instance_npcname("Ordre#1");
  1377. break;
  1378. case 15:
  1379. enablenpc instance_npcname("Blut Hase#1");
  1380. break;
  1381. case 16:
  1382. enablenpc instance_npcname("Kuro Akuma#1");
  1383. break;
  1384. case 17:
  1385. enablenpc instance_npcname("Ifodes#1");
  1386. break;
  1387. case 18:
  1388. enablenpc instance_npcname("Licheniyes#1");
  1389. break;
  1390. case 19:
  1391. enablenpc instance_npcname("Odoric#1");
  1392. break;
  1393. case 20:
  1394. enablenpc instance_npcname("Ju#1");
  1395. break;
  1396. case 21:
  1397. 'half = rand(0,1);
  1398. if ('half) {
  1399. enablenpc instance_npcname("Dwigh#1");
  1400. } else {
  1401. enablenpc instance_npcname("Fay Kanavian#1");
  1402. }
  1403. break;
  1404. case 22:
  1405. enablenpc instance_npcname("Fenrir#f");
  1406. break;
  1407. }
  1408. warp instance_mapname("1@ge_st"), 104,50;
  1409. 'GMT_1QUE++;
  1410. donpcevent instance_npcname("Geffen Academy Master")+"::OnStart";
  1411. hideoffnpc instance_npcname("Geffen Academy Master");
  1412. hideonnpc instance_npcname("Tournament Guide#gefMT");
  1413. end;
  1414. case 2:
  1415. mes .@n$; // KURAMA END CONVERSATION TEXT
  1416. mes "Need more time to prepare I see.";
  1417. mes "Not a problem, talk to me when you're ready.";
  1418. close;
  1419. }
  1420. OnInstanceInit:
  1421. setarray 'reward,1,2,3,4,5,6,7,8,9,10,15,20,20;
  1422. end;
  1423. }
  1424. 1@ge_st,109,57,4 script Geffen Academy Master 10006,{
  1425. end;
  1426. OnStart:
  1427. if ( 'GMT_1QUE != 11 ){
  1428. attachrid('gmt_account_id);
  1429. if (checkquest(9283 + 'GMT_1QUE) != -1)
  1430. changequest 9283 + 'GMT_1QUE, 9284 +'GMT_1QUE;
  1431. detachrid;
  1432. }
  1433. switch ('GMT_1QUE) {
  1434. case 11:
  1435. donpcevent instance_npcname("#Talkcontrol")+"::OnStart";
  1436. npctalk "Ladies and Gentlemen!";
  1437. sleep 3000;
  1438. npctalk "I do my best to be as loud as I can!";
  1439. donpcevent instance_npcname("#FireworksControl")+"::OnStart";
  1440. enablenpc instance_npcname("Arhi#1");
  1441. sleep 3000;
  1442. npctalk "The Geffen Magic Tournament will now commence!";
  1443. sleep 1000;
  1444. .@spec = rand(70,257);
  1445. showscript "Tournament Spectator: Wow~!!! Looks fun~~!! Yahoo~!",getnpcid(0,instance_npcname("Tournament Spectator#"+.@spec));
  1446. sleep 1000;
  1447. .@spec = rand(70,257);
  1448. showscript "Tournament Spectator: This is getting exciting~!",getnpcid(0,instance_npcname("Tournament Spectator#"+.@spec));
  1449. sleep 1000;
  1450. .@spec = rand(70,257);
  1451. showscript "Tournament Spectator: When is the game going to start~!",getnpcid(0,instance_npcname("Tournament Spectator#"+.@spec));
  1452. sleep 500;
  1453. donpcevent instance_npcname("Arhi#1")+"::OnActivate";
  1454. sleep 500;
  1455. npctalk "We are starting the 1st match for Group A";
  1456. sleep 2000;
  1457. npctalk "On this corner, "+('sex?"he":"she")+" looks weak enough to lose in the 1st match!";
  1458. sleep 3000;
  1459. npctalk "Give a big welcome to the unknown competitor! "+'charname$+"~!";
  1460. sleep 2000;
  1461. npctalk "And on the other corner, Arhi the Novice! Give it your best shot!";
  1462. end;
  1463. case 12:
  1464. donpcevent instance_npcname("#Talkcontrol")+"::OnStart";
  1465. donpcevent instance_npcname("#FireworksControl")+"::OnStart";
  1466. npctalk "The 2nd match of Group A is about to begin!";
  1467. sleep 3000;
  1468. npctalk "On this corner, the competitor who exceeded our expectations by getting past the first round!";
  1469. sleep 3000;
  1470. npctalk "The extremely weak looking competitor, "+'charname$+"!";
  1471. sleep 3000;
  1472. donpcevent instance_npcname("Dio Anemos#1")+"::OnActivate";
  1473. sleep 500;
  1474. npctalk "And "+('sex ? "his" : "her")+" opponent...";
  1475. sleep 3000;
  1476. npctalk "Despite his skipping classes at the Magic Academy...";
  1477. sleep 3000;
  1478. npctalk "A crowd favorite! A big round of applause to the Magician Apprentice, Dio Anemos!";
  1479. end;
  1480. case 13:
  1481. donpcevent instance_npcname("#Talkcontrol")+"::OnStart";
  1482. donpcevent instance_npcname("#FireworksControl")+"::OnStart";
  1483. npctalk "The 3rd match of Group A is about to begin!";
  1484. sleep 2000;
  1485. npctalk "Welcome back our unlikely competitor, "+'charname$+"!";
  1486. sleep 3000;
  1487. npctalk "And "+('sex ? "his" : "her")+" opponent...";
  1488. sleep 2000;
  1489. if ('GMTQuest == 1) {
  1490. donpcevent instance_npcname("Geffen Gangster#n1")+"::OnActivate";
  1491. sleep 500;
  1492. npctalk "Whose looks give off a creepy air about him...";
  1493. sleep 3000;
  1494. npctalk "A member of the Curvy Woman Loving club~!! Geffen Gangster!";
  1495. } else if ('GMTQuest == 2) {
  1496. donpcevent instance_npcname("Geffen Bully#n1")+"::OnActivate";
  1497. sleep 500;
  1498. npctalk "With a face only a mother can love!";
  1499. sleep 3000;
  1500. npctalk "The ruthless Geffen Bully!";
  1501. } else {
  1502. donpcevent instance_npcname("Geffen Shoplifter#n1")+"::OnActivate";
  1503. sleep 500;
  1504. npctalk "With a mischievous grin on her face!";
  1505. sleep 3000;
  1506. npctalk "The Geffen Thief Guild's Guildmaster! Geffen Shoplifter!";
  1507. }
  1508. end;
  1509. case 14:
  1510. donpcevent instance_npcname("#Talkcontrol")+"::OnStart";
  1511. donpcevent instance_npcname("#FireworksControl")+"::OnStart";
  1512. npctalk "The surprise of this year's Tournament~!";
  1513. sleep 3000;
  1514. npctalk "The unrivaled warrior! "+'charname$+"!";
  1515. sleep 3000;
  1516. donpcevent instance_npcname("Faymont#1")+"::OnActivate";
  1517. npctalk "And "+('sex ? "his" : "her")+" opponent~!!!";
  1518. sleep 3000;
  1519. npctalk "Entering the ring with pomp and circumstance.";
  1520. sleep 3000;
  1521. npctalk "Prontera's pride and style, Faymont!";
  1522. npctalk "Oh~ A player from Prontera ah!", instance_npcname("Prontera Spectator#a1");
  1523. sleep 2000;
  1524. npctalk "Do not give Prontera a bad name!!", instance_npcname("Prontera Spectator#a2");
  1525. end;
  1526. case 15:
  1527. donpcevent instance_npcname("#Talkcontrol")+"::OnStart";
  1528. donpcevent instance_npcname("#FireworksControl")+"::OnStart";
  1529. npctalk "This isn't just a fluke ladies and gents!";
  1530. sleep 3000;
  1531. npctalk "The remarkable rookie! "+'charname$+"!";
  1532. sleep 3000;
  1533. npctalk "And "+('sex ? "his" : "her")+" opponent~!!!";
  1534. sleep 500;
  1535. donpcevent instance_npcname("Ordre#1")+"::OnActivate";
  1536. sleep 3000;
  1537. npctalk "One who promises to fight with honor!";
  1538. sleep 3000;
  1539. npctalk "The self-proclaimed master of battle, Ordre!";
  1540. end;
  1541. case 16:
  1542. donpcevent instance_npcname("#Talkcontrol")+"::OnStart";
  1543. donpcevent instance_npcname("#FireworksControl")+"::OnStart";
  1544. npctalk "Suddenly, the incredibly powerful!";
  1545. sleep 3000;
  1546. npctalk "Super rookie of this year's tournament~! "+'charname$+"!";
  1547. sleep 3000;
  1548. npctalk "And "+('sex ? "his" : "her")+" opponent~!!!";
  1549. sleep 500;
  1550. donpcevent instance_npcname("Blut Hase#1")+"::OnActivate";
  1551. sleep 3000;
  1552. npctalk "Cute on the outside, but cruely destroys enemies!";
  1553. sleep 3000;
  1554. npctalk "Bloody Rabbit Ears~!! Blut Hase!";
  1555. end;
  1556. case 17:
  1557. donpcevent instance_npcname("#Talkcontrol")+"::OnStart";
  1558. donpcevent instance_npcname("#FireworksControl")+"::OnStart";
  1559. npctalk "Onwards to the 7th Round!";
  1560. sleep 3000;
  1561. npctalk "Welcome back "+'charname$+"!";
  1562. sleep 3000;
  1563. npctalk "And "+('sex ? "his" : "her")+" opponent~!!!";
  1564. sleep 2000;
  1565. donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
  1566. npctalk "A competitor more evil than any we've seen before!";
  1567. sleep 500;
  1568. donpcevent instance_npcname("Kuro Akuma#1")+"::OnActivate";
  1569. sleep 3000;
  1570. npctalk "The Devil's Tooth, Kuro Akuma!";
  1571. donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
  1572. end;
  1573. case 18:
  1574. donpcevent instance_npcname("#Talkcontrol")+"::OnStart";
  1575. donpcevent instance_npcname("#FireworksControl")+"::OnStart";
  1576. npctalk "Starting up Round 8 for Group A!";
  1577. sleep 3000;
  1578. npctalk "The darling of this year's tournament!";
  1579. sleep 3000;
  1580. npctalk "Rune-Midgarts newest star, "+'charname$+"!";
  1581. sleep 2000;
  1582. npctalk "And "+('sex ? "his" : "her")+" opponent~!!!";
  1583. sleep 2000;
  1584. npctalk "They look very strong!", instance_npcname("Payon Spectator#a1");
  1585. sleep 250;
  1586. donpcevent instance_npcname("Ifodes#1")+"::OnActivate";
  1587. sleep 250;
  1588. npctalk "Looks good and strong ah!", instance_npcname("Veins Spectator#a1");
  1589. sleep 1000;
  1590. npctalk "Slow as a turtle, fast as a hare!";
  1591. sleep 3000;
  1592. npctalk "The maniac of Rune-Midgarts! Ifodes!";
  1593. donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
  1594. end;
  1595. case 19:
  1596. donpcevent instance_npcname("#Talkcontrol")+"::OnStart";
  1597. donpcevent instance_npcname("#FireworksControl")+"::OnStart";
  1598. npctalk "We have now entered the 9th Round of this competition!";
  1599. sleep 3000;
  1600. npctalk "Nobody can stop "+('sex ? "him" : "her")+"!";
  1601. sleep 3000;
  1602. npctalk ""+('sex ? "His" : "Her")+" strength has been recognized by the people! "+'charname$;
  1603. sleep 2000;
  1604. npctalk "And "+('sex ? "his" : "her")+" opponent~!!!";
  1605. sleep 500;
  1606. donpcevent instance_npcname("Licheniyes#1")+"::OnActivate";
  1607. sleep 500;
  1608. donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
  1609. sleep 1000;
  1610. npctalk "She might look like a nice lady, but you better watch out!";
  1611. sleep 3000;
  1612. npctalk "She'll attack you with the swiftness of a snake!";
  1613. sleep 3000;
  1614. npctalk "The Lady of Death! Licheniyes!";
  1615. donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
  1616. end;
  1617. case 20:
  1618. donpcevent instance_npcname("#Talkcontrol")+"::OnStart";
  1619. donpcevent instance_npcname("#FireworksControl")+"::OnStart";
  1620. npctalk "Let us begin the 10th Round of Group A!";
  1621. sleep 3000;
  1622. npctalk "In this corner, back to entertain us again!";
  1623. sleep 3000;
  1624. npctalk "None other than the incredible "+'charname$+"!";
  1625. sleep 1000;
  1626. donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
  1627. sleep 1000;
  1628. npctalk "And "+('sex ? "his" : "her")+" opponent~!!!";
  1629. sleep 1000;
  1630. npctalk "Seductress of Rune-Midgarts...";
  1631. sleep 500;
  1632. donpcevent instance_npcname("Odoric#1")+"::OnActivate";
  1633. sleep 500;
  1634. npctalk "You can't look away from her curves!";
  1635. sleep 3000;
  1636. npctalk "The Songstress of Death! Odoric!";
  1637. donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
  1638. end;
  1639. case 21:
  1640. donpcevent instance_npcname("#Talkcontrol")+"::OnStart";
  1641. donpcevent instance_npcname("#FireworksControl")+"::OnStart";
  1642. npctalk "We're getting closer to the end, next up is Quarter-Finals!";
  1643. sleep 3000;
  1644. npctalk "The winning never ends with "+'charname$+"!";
  1645. sleep 2000;
  1646. donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
  1647. sleep 1000;
  1648. npctalk "And "+('sex ? "his" : "her")+" opponent~!!!";
  1649. sleep 500;
  1650. donpcevent instance_npcname("Ju#1")+"::OnActivate";
  1651. sleep 250;
  1652. npctalk "I can smell blood...",instance_npcname("Loki#a2");
  1653. sleep 1000;
  1654. npctalk "Oh... A fierce competitor, is not it?",instance_npcname("Iris#a2");
  1655. sleep 500;
  1656. npctalk "Hidden behind a shroud of mystery...";
  1657. sleep 3000;
  1658. npctalk "Master of power and speed! Ju!";
  1659. donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
  1660. end;
  1661. case 22:
  1662. donpcevent instance_npcname("#Talkcontrol")+"::OnStart";
  1663. donpcevent instance_npcname("#FireworksControl")+"::OnStart";
  1664. npctalk "We are now at the Semi-Finals of this competition, this match will decide the winner for Group A!";
  1665. sleep 3000;
  1666. npctalk "Winning against all odds, Group A's Dark Horse, "+'charname$+"!";
  1667. sleep 3000;
  1668. npctalk "And "+('sex ? "his" : "her")+" opponent~!!!";
  1669. if ('half) {
  1670. sleep 500;
  1671. donpcevent instance_npcname("Dwigh#1")+"::OnActivate";
  1672. sleep 1500;
  1673. npctalk "Chief Professor of the Mage Academy, loved by her many disciples!";
  1674. sleep 1000;
  1675. donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
  1676. sleep 2000;
  1677. npctalk "Commander of battle and wits! Dwigh!";
  1678. } else {
  1679. sleep 2000;
  1680. npctalk "An Alchemist from Aldebaran, the city of science!";
  1681. sleep 500;
  1682. donpcevent instance_npcname("Fay Kanavian#1")+"::OnActivate";
  1683. sleep 500;
  1684. donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
  1685. sleep 2000;
  1686. npctalk "Fay Kanavian and her homunculus, Alphonse!";
  1687. }
  1688. end;
  1689. case 23:
  1690. donpcevent instance_npcname("#Talkcontrol")+"::OnStart";
  1691. donpcevent instance_npcname("#FireworksControl")+"::OnStart";
  1692. npctalk "A previously anonymous fighter";
  1693. sleep 3000;
  1694. npctalk "Despite this, unmatched in Group A!";
  1695. sleep 2000;
  1696. npctalk "The most talked about competitor this year!";
  1697. sleep 3000;
  1698. npctalk "The unrivaled! "+'charname$+"!";
  1699. sleep 3000;
  1700. npctalk "Aha, this match looks like it will be interesting.",instance_npcname("Loki#a2");
  1701. sleep 3000;
  1702. npctalk "And the champion of Group B~!!!";
  1703. sleep 1500;
  1704. donpcevent instance_npcname("Fenrir#f")+"::OnActivate";
  1705. sleep 1500;
  1706. npctalk "A Warlock with incredible powers!";
  1707. sleep 3000;
  1708. npctalk "A competitor who swept through Group B like a hurricane!";
  1709. sleep 1000;
  1710. npctalk "Oh! This match is going to be exciting!",instance_npcname("Chaos#a2");
  1711. sleep 2000;
  1712. npctalk "Is there any Wizard stronger in all of Rune-Midgarts?!";
  1713. sleep 3000;
  1714. npctalk "The Blue Wizard! Fenris Fenrir~!!";
  1715. end;
  1716. }
  1717. OnTalk1:
  1718. showscript "Geffen Academy Master : Let's get it on!",getnpcid(0,instance_npcname(strnpcinfo(0)));
  1719. end;
  1720. OnTalk2:
  1721. if ('GMT_1QUE == 22) {
  1722. npctalk "The final match of Group A is finished~! Congratulations "+'charname$+"!";
  1723. }
  1724. else {
  1725. npctalk "The "+callfunc("F_GetNumSuffix",('GMT_1QUE-10))+" match of Group A is finished~! Congratulations "+'charname$+"!";
  1726. sleep 6000;
  1727. npctalk "You may take some time to heal your wounds.";
  1728. sleep 6000;
  1729. npctalk "Please speak with the Tournament Guide when you are ready for the next round.";
  1730. sleep 3000;
  1731. }
  1732. switch ('GMT_1QUE) {
  1733. case 11:
  1734. case 12:
  1735. case 14:
  1736. case 15:
  1737. case 17:
  1738. case 18:
  1739. case 20:
  1740. case 21:
  1741. break;
  1742. case 13:
  1743. npctalk "Fenris Fenrir has 3 consecutive victories in Group B~!";
  1744. sleep 3000;
  1745. break;
  1746. case 16:
  1747. npctalk "Okay~! There is news from Group B!";
  1748. sleep 3000;
  1749. npctalk "While all of the other competitors are doing their best,";
  1750. sleep 3000;
  1751. npctalk "Fenrir is taking the tournament by storm, and has won 5 consecutive matches!";
  1752. sleep 1000;
  1753. break;
  1754. case 19:
  1755. npctalk "This is getting exciting! More news from Group B!";
  1756. sleep 3000;
  1757. npctalk "Fenris Fenrir is continuing her reign of dominance~! Those in Group A better beware!";
  1758. sleep 2000;
  1759. break;
  1760. case 22:
  1761. npctalk "Group B has completed their 12th match as well~!";
  1762. sleep 3000;
  1763. npctalk "Have you heard of Tetra Vortex? There is a competitor using this mysterious spell!";
  1764. sleep 3000;
  1765. npctalk "Her name is none other than Fenris Fenrir!";
  1766. sleep 3000;
  1767. npctalk "The final match of this tournament is bound to be challenging!";
  1768. sleep 1000;
  1769. break;
  1770. }
  1771. hideoffnpc instance_npcname("Tournament Guide#gefMT");
  1772. hideoffnpc instance_npcname("Geffen Academy Master");
  1773. hideoffnpc instance_npcname("Tournament Healer#1");
  1774. end;
  1775. OnTalk3:
  1776. npctalk "The Final Round has started! Let's get it on!";
  1777. end;
  1778. OnTalk4:
  1779. npctalk "The Final Match of this year's Geffen Magic Tournament is finished~!";
  1780. sleep 3000;
  1781. npctalk "Everyone! Thank you for supporting the Geffen Magic Tournament~!!";
  1782. sleep 3000;
  1783. npctalk "This year's Geffen Magic Tournament Champion is "+'charname$+"~!!";
  1784. donpcevent instance_npcname("#FireworksControl")+"::OnWin";
  1785. end;
  1786. OnInstanceInit:
  1787. hideonnpc instance_npcname("Tournament Guide#gefMT");
  1788. disablenpc instance_npcname("Arhi#1");
  1789. disablenpc instance_npcname("Dio Anemos#1");
  1790. disablenpc instance_npcname("Geffen Gangster#n1");
  1791. disablenpc instance_npcname("Geffen Bully#n1");
  1792. disablenpc instance_npcname("Geffen Shoplifter#n1");
  1793. disablenpc instance_npcname("Faymont#1");
  1794. disablenpc instance_npcname("Ordre#1");
  1795. disablenpc instance_npcname("Blut Hase#1");
  1796. disablenpc instance_npcname("Kuro Akuma#1");
  1797. disablenpc instance_npcname("Ifodes#1");
  1798. disablenpc instance_npcname("Licheniyes#1");
  1799. disablenpc instance_npcname("Odoric#1");
  1800. disablenpc instance_npcname("Ju#1");
  1801. disablenpc instance_npcname("Dwigh#1");
  1802. disablenpc instance_npcname("Fay Kanavian#1");
  1803. disablenpc instance_npcname("Fenrir#f");
  1804. end;
  1805. OnMobDead:
  1806. end;
  1807. }
  1808. 1@ge_st,1,1,1 script #GMTcontroller -1,{
  1809. end;
  1810. OnStart:
  1811. .@map$ = instance_mapname("1@ge_st");
  1812. .@label$ = instance_npcname("#GMTcontroller")+"::OnMobDead";
  1813. 'timeout = 180;
  1814. if ('GMT_1QUE == 23) 'timeout = 300;
  1815. mapannounce .@map$, "<Magic Tournament Broadcast>: Time limit is " + ('timeout / 60) + " minutes.",bc_blue; sleep 2000;
  1816. mapannounce .@map$, "<Magic Tournament Broadcast>: Ready... Set...",bc_blue; sleep 2000;
  1817. mapannounce .@map$, "<Magic Tournament Broadcast>: Fight!",bc_blue;
  1818. donpcevent instance_npcname("#FireworksControl")+"::OnTurn";
  1819. initnpctimer;
  1820. switch ('GMT_1QUE) {
  1821. case 11:
  1822. hideonnpc instance_npcname("Arhi#1");
  1823. monster(.@map$,114,50,"--ja--",2549,1,.@label$);
  1824. break;
  1825. case 12:
  1826. hideonnpc instance_npcname("Dio Anemos#1");
  1827. monster(.@map$,114,50,"--ja--",2550,1,.@label$);
  1828. break;
  1829. case 13:
  1830. if ('GMTQuest == 1) {
  1831. hideonnpc instance_npcname("Geffen Gangster#n1");
  1832. monster(.@map$,114,50,"--ja--",2553,1,.@label$);
  1833. } else if ('GMTQuest == 2) {
  1834. hideonnpc instance_npcname("Geffen Bully#n1");
  1835. monster(.@map$,114,50,"--ja--",2552,1,.@label$);
  1836. } else {
  1837. hideonnpc instance_npcname("Geffen Shoplifter#n1");
  1838. monster(.@map$,114,50,"--ja--",2551,1,.@label$);
  1839. }
  1840. break;
  1841. case 14:
  1842. hideonnpc instance_npcname("Faymont#1");
  1843. monster(.@map$,114,50,"--ja--",2554,1,.@label$);
  1844. break;
  1845. case 15:
  1846. hideonnpc instance_npcname("Ordre#1");
  1847. monster(.@map$,114,50,"--ja--",2555,1,.@label$);
  1848. break;
  1849. case 16:
  1850. hideonnpc instance_npcname("Blut Hase#1");
  1851. monster(.@map$,114,50,"--ja--",2556,1,.@label$);
  1852. break;
  1853. case 17:
  1854. hideonnpc instance_npcname("Kuro Akuma#1");
  1855. monster(.@map$,114,50,"--ja--",2557,1,.@label$);
  1856. break;
  1857. case 18:
  1858. hideonnpc instance_npcname("Ifodes#1");
  1859. monster(.@map$,114,50,"--ja--",2558,1,.@label$);
  1860. break;
  1861. case 19:
  1862. hideonnpc instance_npcname("Licheniyes#1");
  1863. monster(.@map$,114,50,"--ja--",2559,1,.@label$);
  1864. break;
  1865. case 20:
  1866. hideonnpc instance_npcname("Odoric#1");
  1867. monster(.@map$,114,50,"--ja--",2560,1,.@label$);
  1868. break;
  1869. case 21:
  1870. hideonnpc instance_npcname("Ju#1");
  1871. monster(.@map$,114,50,"--ja--",2561,1,.@label$);
  1872. break;
  1873. case 22:
  1874. if ('half) {
  1875. hideonnpc instance_npcname("Dwigh#1");
  1876. monster(.@map$,114,50,"--ja--",2562,1,.@label$);
  1877. }
  1878. else {
  1879. hideonnpc instance_npcname("Fay Kanavian#1");
  1880. monster(.@map$,114,50,"--ja--",2563,1,.@label$);
  1881. donpcevent instance_npcname("#GMTHomun")+"::OnSummon";
  1882. }
  1883. break;
  1884. case 23:
  1885. hideonnpc instance_npcname("Fenrir#f");
  1886. monster(.@map$,114,50,"--ja--",2564,1,.@label$);
  1887. 'BossID = $@mobid[0];
  1888. donpcevent instance_npcname("Geffen Academy Master")+"::OnTalk3";
  1889. end;
  1890. }
  1891. 'BossID = $@mobid[0];
  1892. donpcevent instance_npcname("Geffen Academy Master")+"::OnTalk1";
  1893. end;
  1894. OnTimeout:
  1895. end;
  1896. OnMobDead:
  1897. 'timeout_exit = 1;
  1898. switch ('GMT_1QUE) {
  1899. case 11: donpcevent instance_npcname("Arhi#1")+"::OnDefeat"; break;
  1900. case 12: donpcevent instance_npcname("Dio Anemos#1")+"::OnDefeat"; break;
  1901. case 13:
  1902. if ('GMTQuest == 1) { donpcevent instance_npcname("Geffen Gangster#n1")+"::OnDefeat"; }
  1903. else if ('GMTQuest == 2) { donpcevent instance_npcname("Geffen Bully#n1")+"::OnDefeat"; }
  1904. else { donpcevent instance_npcname("Geffen Shoplifter#n1")+"::OnDefeat"; }
  1905. break;
  1906. case 14: donpcevent instance_npcname("Faymont#1")+"::OnDefeat"; break;
  1907. case 15: donpcevent instance_npcname("Ordre#1")+"::OnDefeat"; break;
  1908. case 16: donpcevent instance_npcname("Blut Hase#1")+"::OnDefeat"; break;
  1909. case 17: donpcevent instance_npcname("Kuro Akuma#1")+"::OnDefeat"; break;
  1910. case 18: donpcevent instance_npcname("Ifodes#1")+"::OnDefeat"; break;
  1911. case 19: donpcevent instance_npcname("Licheniyes#1")+"::OnDefeat"; break;
  1912. case 20: donpcevent instance_npcname("Odoric#1")+"::OnDefeat"; break;
  1913. case 21: donpcevent instance_npcname("Ju#1")+"::OnDefeat"; break;
  1914. case 22:
  1915. if ('half) {
  1916. donpcevent instance_npcname("Dwigh#1")+"::OnDefeat";
  1917. }
  1918. else {
  1919. donpcevent instance_npcname("Fay Kanavian#1")+"::OnDefeat";
  1920. donpcevent instance_npcname("#GMTHomun")+"::OnEnd";
  1921. }
  1922. break;
  1923. case 23:
  1924. donpcevent instance_npcname("Fenrir#f")+"::OnDefeat";
  1925. donpcevent instance_npcname("Geffen Academy Master")+"::OnTalk4";
  1926. end;
  1927. }
  1928. mapannounce instance_mapname("1@ge_st"), "<Magic Tournament Broadcast>: "+'charname$+" has won the round!",bc_blue;
  1929. donpcevent instance_npcname("Geffen Academy Master")+"::OnTalk2";
  1930. end;
  1931. OnTimer1000:
  1932. 'timeout--;
  1933. if ('timeout_exit) {
  1934. 'timeout_exit = 0;
  1935. stopnpctimer;
  1936. end;
  1937. }
  1938. switch('timeout) {
  1939. case 240: mapannounce instance_mapname("1@ge_st"), "<Magic Tournament Broadcast>: Time remaining is 4 minutes, this match is getting heated!",bc_blue; break;
  1940. case 180: mapannounce instance_mapname("1@ge_st"), "<Magic Tournament Broadcast>: Time remaining is 3 minutes, the match has gotten extremely heated!",bc_blue; break;
  1941. case 120: mapannounce instance_mapname("1@ge_st"), "<Magic Tournament Broadcast>: Time remaining is 2 minutes, we're racing towards the end!",bc_blue; break;
  1942. case 90: mapannounce instance_mapname("1@ge_st"), "<Magic Tournament Broadcast>: Time remaining is 1 minute 30 seconds, the bout is halfway over!",bc_blue; break;
  1943. case 60: mapannounce instance_mapname("1@ge_st"), "<Magic Tournament Broadcast>: Time remaining is 1 minute, the end of the match is nearing!",bc_blue; break;
  1944. case 30: mapannounce instance_mapname("1@ge_st"), "<Magic Tournament Broadcast>: Time remaining is 30 seconds, turn coming to an end!",bc_blue; break;
  1945. case 10: mapannounce instance_mapname("1@ge_st"), "<Magic Tournament Broadcast>: 10 seconds remaining!",bc_blue; break;
  1946. case 5: mapannounce instance_mapname("1@ge_st"), "<Magic Tournament Broadcast>: 5!",bc_blue; break;
  1947. case 4: mapannounce instance_mapname("1@ge_st"), "<Magic Tournament Broadcast>: 4!",bc_blue; break;
  1948. case 3: mapannounce instance_mapname("1@ge_st"), "<Magic Tournament Broadcast>: 3!",bc_blue; break;
  1949. case 2: mapannounce instance_mapname("1@ge_st"), "<Magic Tournament Broadcast>: 2!",bc_blue; break;
  1950. case 1: mapannounce instance_mapname("1@ge_st"), "<Magic Tournament Broadcast>: 1!",bc_blue; break;
  1951. case 0:
  1952. stopnpctimer;
  1953. donpcevent instance_npcname("#GMTcontroller") + "::OnTimeout2";
  1954. end;
  1955. }
  1956. initnpctimer;
  1957. end;
  1958. OnTimeout2:
  1959. mapannounce instance_mapname("1@ge_st"), "<Magic Tournament Broadcast>: Time's up! The judges will decide the victor for this round!",bc_blue;
  1960. setcell instance_mapname("1@ge_st"), 50, 50, 50, 50, cell_walkable, 1;
  1961. if (unitexists('BossID))
  1962. unitwarp 'BossID, instance_mapname("1@ge_st"), 50, 50;
  1963. killmonster instance_mapname("1@ge_st"), instance_npcname("#GMTcontroller")+"::OnTimeout";
  1964. 'BossID = 0;
  1965. if ('HomID) {
  1966. killmonster instance_mapname("1@ge_st"),instance_npcname("#GMTHomun")+"::OnHomJR";
  1967. killmonster instance_mapname("1@ge_st"),instance_npcname("#GMTHomun")+"::OnHomDead";
  1968. 'HomID = 0;
  1969. }
  1970. sleep 3000;
  1971. hideoffnpc instance_npcname("Geffen Academy Master");
  1972. // npctalk "The votes are in... And the winner is...",instance_npcname("Geffen Academy Master");
  1973. // sleep 1500;
  1974. npctalk "1st judge's score! "+rand(100)+" - "+rand(100)+"", "Geffen Academy Master";
  1975. sleep 1500;
  1976. npctalk "2nd judge's score! "+rand(100)+" - "+rand(100)+"", "Geffen Academy Master";
  1977. sleep 1500;
  1978. npctalk "3rd judge's score! "+rand(100)+" - "+rand(100)+"", "Geffen Academy Master";
  1979. sleep 1500;
  1980. switch ('GMT_1QUE) {
  1981. case 11:
  1982. enablenpc instance_npcname("Arhi#1");
  1983. donpcevent instance_npcname("Arhi#1")+"::OnVictory";
  1984. .@defeat$ = "The Novice, Arhi!";
  1985. break;
  1986. case 12:
  1987. enablenpc instance_npcname("Dio Anemos#1");
  1988. donpcevent instance_npcname("Dio Anemos#1")+"::OnVictory";
  1989. .@defeat$ = "The Magician Apprentice, Dio Anemos!";
  1990. break;
  1991. case 13:
  1992. if ('GMTQuest == 1) {
  1993. enablenpc instance_npcname("Geffen Gangster#n1");
  1994. donpcevent instance_npcname("Geffen Gangster#n1")+"::OnVictory";
  1995. .@defeat$ = "Geffen Gangster!";
  1996. } else if ('GMTQuest == 2) {
  1997. enablenpc instance_npcname("Geffen Bully#n1");
  1998. donpcevent instance_npcname("Geffen Bully#n1")+"::OnVictory";
  1999. .@defeat$ = "Gefen Bully!";
  2000. break;
  2001. } else {
  2002. enablenpc instance_npcname("Geffen Shoplifter#n1");
  2003. donpcevent instance_npcname("Geffen Shoplifter#n1")+"::OnVictory";
  2004. .@defeat$ = "Geffen Shoplifter!";
  2005. break;
  2006. }
  2007. break;
  2008. case 14:
  2009. enablenpc instance_npcname("Faymont#1");
  2010. donpcevent instance_npcname("Faymont#1")+"::OnVictory";
  2011. .@defeat$ = "Prontera's pride and style, Feymont!";
  2012. break;
  2013. case 15:
  2014. enablenpc instance_npcname("Ordre#1");
  2015. donpcevent instance_npcname("Ordre#1")+"::OnVictory";
  2016. .@defeat$ = "Self proclaimed Master of Battle, Ordre!";
  2017. break;
  2018. case 16:
  2019. enablenpc instance_npcname("Blut Hase#1");
  2020. donpcevent instance_npcname("Blut Hase#1")+"::OnVictory";
  2021. .@defeat$ = "Bloody Rabbit Ears~!! Blut Hase!";
  2022. break;
  2023. case 17:
  2024. enablenpc instance_npcname("Kuro Akuma#1");
  2025. donpcevent instance_npcname("Kuro Akuma#1")+"::OnVictory";
  2026. .@defeat$ = "The Devil's Tooth! Kuro Akuma!";
  2027. break;
  2028. case 18:
  2029. enablenpc instance_npcname("Ifodes#1");
  2030. donpcevent instance_npcname("Ifodes#1")+"::OnVictory";
  2031. .@defeat$ = "The Maniac of Rune Mindgard! Ifodes!";
  2032. break;
  2033. case 19:
  2034. enablenpc instance_npcname("Licheniyes#1");
  2035. donpcevent instance_npcname("Licheniyes#1")+"::OnVictory";
  2036. .@defeat$ = "The Lady of Death! Licheniyes!";
  2037. break;
  2038. case 20:
  2039. enablenpc instance_npcname("Odoric#1");
  2040. donpcevent instance_npcname("Odoric#1")+"::OnVictory";
  2041. .@defeat$ = "The Songstress of Death! Odoric!";
  2042. break;
  2043. case 21:
  2044. enablenpc instance_npcname("Ju#1");
  2045. donpcevent instance_npcname("Ju#1")+"::OnVictory";
  2046. .@defeat$ = "Master of power and speed! Ju!";
  2047. break;
  2048. case 22:
  2049. if ('half) {
  2050. enablenpc instance_npcname("Dwigh#1");
  2051. donpcevent instance_npcname("Dwigh#1")+"::OnVictory";
  2052. .@defeat$ = "Commander of battle and wits! Dwigh!";
  2053. break;
  2054. } else {
  2055. enablenpc instance_npcname("Fay Kanavian#1");
  2056. donpcevent instance_npcname("Fay Kanavian#1")+"::OnVictory";
  2057. .@defeat$ = "Fay Kanavian and her homunculus Alphonse!";
  2058. if ('HomID) {
  2059. killmonster instance_mapname("1@ge_st"),instance_npcname("#GMTHomun")+"::OnHomJR";
  2060. killmonster instance_mapname("1@ge_st"),instance_npcname("#GMTHomun")+"::OnHomDead";
  2061. 'HomID = 0;
  2062. }
  2063. break;
  2064. }
  2065. break;
  2066. case 23:
  2067. enablenpc instance_npcname("Fenrir#f");
  2068. donpcevent instance_npcname("Fenrir#f")+"::OnVictory";
  2069. .@defeat$ = "The Blue Wizard! Fenris Fenrir~!!";
  2070. break;
  2071. }
  2072. npctalk "The winner of the "+callfunc("F_GetNumSuffix",('GMT_1QUE-10))+" match in Group A by judge's decision is...! "+.@defeat$, "Geffen Academy Master";
  2073. sleep 1500;
  2074. //donpcevent instance_npcname("#DEATHGMT")+"::OnLoseRound";
  2075. npctalk "Give a warm round of applause to the losing competitor.", "Geffen Academy Master";
  2076. sleep 1500;
  2077. npctalk "Defeated competitors please leave the arena!", "Geffen Academy Master";
  2078. sleep 3000;
  2079. movenpc instance_npcname("#gefmagic_warp02"),120,213;
  2080. movenpc instance_npcname("#invisGMTquests"),120,61;
  2081. donpcevent instance_npcname("Fenrir#e1")+"::OnEnable";
  2082. donpcevent instance_npcname("Chaos#e1")+"::OnEnable";
  2083. donpcevent instance_npcname("Iris#e1")+"::OnEnable";
  2084. donpcevent instance_npcname("Lydia#e1")+"::OnEnable";
  2085. donpcevent instance_npcname("Loki#e1")+"::OnEnable";
  2086. end;
  2087. OnStop:
  2088. stopnpctimer;
  2089. end;
  2090. }
  2091. 1@ge_st,1,1,1 script #GMTHomun HIDDEN_NPC,{
  2092. end;
  2093. OnSummon:
  2094. initnpctimer;
  2095. monster (instance_mapname("1@ge_st"), 114,50,"--ja--",2565,1, instance_npcname("#GMTHomun")+"::OnHomDead");
  2096. 'HomID = $@mobid[0];
  2097. end;
  2098. OnTimer10000:
  2099. if (!'BossID) {
  2100. stopnpctimer;
  2101. disablenpc instance_npcname("#GMTHomun");
  2102. end;
  2103. }
  2104. initnpctimer;
  2105. if (unitexists('HomID) && unitexists('BossID)) {
  2106. getunitdata 'BossID,.@bossdata;
  2107. getunitdata 'HomID,.@homdata;
  2108. if (distance(.@bossdata[6],.@bossdata[7],.@homdata[6],.@homdata[7]) > 10) {
  2109. unittalk 'BossID,"Alphonse, come!";
  2110. sleep 500;
  2111. if (unitexists('HomID))
  2112. unitwarp 'HomID, instance_mapname("1@ge_st"),.@bossdata[6],.@bossdata[7];
  2113. }
  2114. }
  2115. else {
  2116. if (mobcount(instance_mapname("1@ge_st"),instance_npcname("#GMTHomun")+"::OnHomJR")) { end; }
  2117. if (unitexists('BossID)) {
  2118. getunitdata 'BossID,.@bossdata;
  2119. unittalk 'BossID, "Alphonse, I'll revive you!";
  2120. areamonster instance_mapname("1@ge_st"),.@bossdata[6]-2,.@bossdata[7]-2,.@bossdata[6]+2,.@bossdata[7]+2,"--ja--",2566,3,instance_npcname("#GMTHomun")+"::OnHomJR";
  2121. }
  2122. }
  2123. end;
  2124. OnHomDead:
  2125. initnpctimer;
  2126. 'HomID = 0;
  2127. end;
  2128. OnHomJR:
  2129. end;
  2130. OnEnd:
  2131. stopnpctimer;
  2132. if ('HomID) {
  2133. killmonster instance_mapname("1@ge_st"),instance_npcname("#GMTHomun")+"::OnHomJR";
  2134. killmonster instance_mapname("1@ge_st"),instance_npcname("#GMTHomun")+"::OnHomDead";
  2135. }
  2136. disablenpc instance_npcname("#GMTHomun");
  2137. end;
  2138. }
  2139. 1@ge_st,111,57,4 script Tournament Healer#1 569,{ //83649 (hide)
  2140. mes "[ Tournament Healer ]";
  2141. mes "The previous round's winner can receive a heal from me.";
  2142. next;
  2143. if (select ("Heal", "Cancel") == 2) {
  2144. mes "[ Tournament Healer ]";
  2145. mes "Guess you don't need to be healed.";
  2146. close;
  2147. }
  2148. mes "[ Tournament Healer ]";
  2149. mes "Enjoy.";
  2150. mes "Good luck on the next round!";
  2151. percentheal 100,100;
  2152. specialeffect2 EF_HEAL;
  2153. close2;
  2154. hideonnpc instance_npcname("Tournament Healer#1"); // 83649
  2155. end;
  2156. OnInstanceInit:
  2157. hideonnpc instance_npcname("Tournament Healer#1");
  2158. end;
  2159. }
  2160. 1@ge_st,1,1,1 script #FireworksControl -1,{
  2161. end;
  2162. OnStart:
  2163. initnpctimer;
  2164. for ( .@i = 11; .@i <= 20; .@i++ ) {
  2165. specialeffect .effect[rand(getarraysize(.effect))], AREA, instance_npcname("#fireworks_" +.@i);
  2166. }
  2167. end;
  2168. OnTimer6000:
  2169. initnpctimer;
  2170. for ( .@i = 0; .@i < 5; .@i++) {
  2171. specialeffect .effect[rand(getarraysize(.effect))], AREA, instance_npcname("#fireworks_" + rand(11,20));
  2172. }
  2173. end;
  2174. OnTurn:
  2175. stopnpctimer;
  2176. end;
  2177. OnWin:
  2178. for ( .@i = 1; .@i <= 5; .@i++ ) {
  2179. specialeffect EF_LORD, AREA, instance_npcname("#fireworks_f" + .@i);
  2180. }
  2181. sleep 3000;
  2182. for ( .@i = 1; .@i <= 5; .@i++ ) {
  2183. specialeffect EF_SIGHTRASHER, AREA, instance_npcname("#fireworks_f" + .@i);
  2184. }
  2185. sleep 500;
  2186. for ( .@i = 1; .@i <= 5; .@i++ ){
  2187. specialeffect EF_STORMGUST, AREA, instance_npcname("#fireworks_f" + .@i);
  2188. }
  2189. sleep 3000;
  2190. for ( .@i = 1; .@i <= 5; .@i++ ) {
  2191. specialeffect EF_VIOLENTGALE, AREA, instance_npcname("#fireworks_f" + .@i);
  2192. }
  2193. end;
  2194. OnInstanceInit:
  2195. setarray .effect, EF_THUNDERSTORM, EF_STORMGUST, EF_METEORSTORM;
  2196. end;
  2197. }
  2198. 1@ge_st,102,42,0 script #fireworks_11 139,{ end; }
  2199. 1@ge_st,100,60,0 duplicate(#fireworks_11) #fireworks_12 139
  2200. 1@ge_st,109,60,0 duplicate(#fireworks_11) #fireworks_13 139
  2201. 1@ge_st,118,60,0 duplicate(#fireworks_11) #fireworks_14 139
  2202. 1@ge_st,126,59,0 duplicate(#fireworks_11) #fireworks_15 139
  2203. 1@ge_st,126,37,0 duplicate(#fireworks_11) #fireworks_16 139
  2204. 1@ge_st,118,36,0 duplicate(#fireworks_11) #fireworks_17 139
  2205. 1@ge_st,109,36,0 duplicate(#fireworks_11) #fireworks_18 139
  2206. 1@ge_st,100,36,0 duplicate(#fireworks_11) #fireworks_19 139
  2207. 1@ge_st,92,37,0 duplicate(#fireworks_11) #fireworks_20 139
  2208. 1@ge_st,112,52,0 duplicate(#fireworks_11) #fireworks_f1 139
  2209. 1@ge_st,112,42,0 duplicate(#fireworks_11) #fireworks_f2 139
  2210. 1@ge_st,102,52,0 duplicate(#fireworks_11) #fireworks_f3 139
  2211. 1@ge_st,102,52,0 duplicate(#fireworks_11) #fireworks_f4 139
  2212. 1@ge_st,102,42,0 duplicate(#fireworks_11) #fireworks_f5 139
  2213. 1@ge_st,1,1,1 script #Talkcontrol -1,{
  2214. end;
  2215. OnStart:
  2216. 'Talkcounter = 0;
  2217. initnpctimer;
  2218. end;
  2219. OnTimer5000:
  2220. 'Talkcounter++;
  2221. if ('Talkcounter <4)
  2222. initnpctimer;
  2223. OnRndtalk:
  2224. .@iter = rand(1,3);
  2225. for (.@i = 0; .@i <.@iter ;.@i++) {
  2226. .@group = rand(30);
  2227. if (.@group <18) {
  2228. showscript 'audience$[rand(getarraysize('audience$))],getnpcid(0,instance_npcname("Tournament Spectator#"+rand(70,257)));
  2229. showscript 'audience$[rand(getarraysize('audience$))],getnpcid(0,instance_npcname("Tournament Spectator#"+rand(70,257)));
  2230. } else if (.@group <23) {
  2231. showscript 'student$[rand(getarraysize('student$))],getnpcid(0,instance_npcname("Magic Academy Student#" + rand(1,5)));
  2232. } else {
  2233. .@id = rand(getarraysize('tourist$));
  2234. showscript 'touristname2$[.@id]+'tourist$[.@id],getnpcid(0,instance_npcname('touristname$[.@id]));
  2235. }
  2236. sleep rand(2,5) * 100;
  2237. }
  2238. end;
  2239. OnTimer13000:
  2240. stopnpctimer;
  2241. .@iter = rand(1,3);
  2242. for ( .@i = 0; .@i <.@iter; .@i++ ) {
  2243. .@group = rand(30);
  2244. if ( .@group <18) {
  2245. showscript 'audience$[rand(getarraysize('audience$))],getnpcid(0,instance_npcname("Tournament Spectator#"+rand(70,257)));
  2246. showscript 'audience$[rand(getarraysize('audience$))],getnpcid(0,instance_npcname("Tournament Spectator#"+rand(70,257)));
  2247. } else if (.group <23) {
  2248. showscript 'student$[rand(getarraysize('student$))],getnpcid(0,instance_npcname("Magic Academy Student#" + rand(1,5)));
  2249. } else {
  2250. .@id = rand(getarraysize('tourist$));
  2251. showscript 'touristname2$[.@id]+'tourist$[.@id],getnpcid(0,instance_npcname('touristname$[.@id]));
  2252. }
  2253. sleep rand(2,5)*100;
  2254. }
  2255. end;
  2256. OnInstanceInit:
  2257. setarray 'audience$,
  2258. "Tournament Spectator : I've been watiing for this round!",
  2259. "Tournament Spectator : Hope this round's an interesting match up!",
  2260. "Tournament Spectator : Oh! Ah! Oh! Ah!",
  2261. "Tournament Spectator : Oooh, finally started!",
  2262. "Tournament Spectator : Start already! Fight! Come on, start!",
  2263. "Tournament Spectator : Is this that guy's first time? I feel he's very powerful, ah!",
  2264. "Tournament Spectator : Who do you think will win?",
  2265. "Tournament Spectator : Come on, start!",
  2266. "Tournament Spectator : Get it on already!",
  2267. "Tournament Spectator : I feel like I'm in danger...",
  2268. "Tournament Spectator : I'm counting on that "+('sex ? "guy" : "girl")+" to lose!",
  2269. "Tournament Spectator : Gotta feel sorry for that guy! Come on!",
  2270. "Tournament Spectator : He's terrific! You've got this! Come on!",
  2271. "Tournament Spectator : I'm having such a great time here!",
  2272. "Tournament Spectator : Come on!~~",
  2273. "Tournament Spectator : Let's see what you've got "+'charname$+"!",
  2274. "Tournament Spectator : He's probably going to lose this round.",
  2275. "Tournament Spectator : This contest has a lot of good participants.",
  2276. "Tournament Spectator : Do not be afraid, come on!",
  2277. "Tournament Spectator : Almost to start huh?",
  2278. "Tournament Spectator : Even just watching this is fun!",
  2279. "Tournament Spectator : My hands are sweating...",
  2280. "Tournament Spectator : Come on let's go!";
  2281. setarray 'student$,
  2282. "Magic Academy Student: Ya~ Hoo~",
  2283. "Magic Academy Student: Wow, I'm so nervous!",
  2284. "Magic Academy Student: Both of you please! Come on!";
  2285. setarray 'tourist$,
  2286. " : Oh, the atmosphere's starting to heat up...",
  2287. " : This is so energizing!",
  2288. " : There's no Payon contestants are there?",
  2289. " : The atmosphere here is great!",
  2290. " : Oooh! Come on!",
  2291. " : These participants are so energetic!",
  2292. " : Good thing too...",
  2293. " : Don't lose too quickly! Oh!~";
  2294. setarray 'touristname$,
  2295. "Prontera Spectator#a1",
  2296. "Prontera Spectator#a2",
  2297. "Payon Spectator#a1",
  2298. "Payon Spectator#a2",
  2299. "Alberta Spectator#a1",
  2300. "Alberta Spectator#a2",
  2301. "Veins Spectator#a1",
  2302. "Comodo Spectator#a1";
  2303. setarray 'touristname2$,
  2304. "Prontera Spectator",
  2305. "Prontera Spectator",
  2306. "Payon Spectator",
  2307. "Payon Spectator",
  2308. "Alberta Spectator",
  2309. "Alberta Spectator",
  2310. "Veins Spectator",
  2311. "Comodo Spectator";
  2312. end;
  2313. }
  2314. 1@ge_st,106,62,6 script Loki#a2 512,{}
  2315. 1@ge_st,108,62,6 script Chaos#a2 683,{}
  2316. 1@ge_st,111,62,4 script Iris#a2 666,{}
  2317. 1@ge_st,112,62,4 script Lydia#a2 10010,{}
  2318. // ================================================================
  2319. // Rivals
  2320. // ================================================================
  2321. 1@ge_st,114,50,4 script Arhi#1 670,{
  2322. end;
  2323. OnActivate:
  2324. enablenpc instance_npcname("Arhi#1");
  2325. npctalk "The first match always makes me nervous~!";
  2326. sleep 2000;
  2327. npctalk "Can I win?";
  2328. sleep 3000;
  2329. npctalk "I guess it will be okay, this "+('sex ? "guy" : "girl")+" seems weak.";
  2330. sleep 3000;
  2331. npctalk "Okay, just relax~!";
  2332. sleep 3000;
  2333. npctalk "Ah... Finally, It's going to start soon!";
  2334. sleep 3000;
  2335. npctalk "Just relax~!";
  2336. sleep 2000;
  2337. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  2338. end;
  2339. OnDefeat:
  2340. hideoffnpc instance_npcname("Arhi#1");
  2341. sleep 1000;
  2342. npctalk "Ah... I lost the first match...";
  2343. sleep 3000;
  2344. npctalk "How can I face my family...";
  2345. sleep 3000;
  2346. npctalk "So shameful...";
  2347. sleep 3000;
  2348. npctalk "Ah... My friends will laugh at me...";
  2349. sleep 3000;
  2350. npctalk "Sob...";
  2351. sleep 1000;
  2352. hideonnpc instance_npcname("Arhi#1");
  2353. sleep 1000;
  2354. movenpc instance_npcname("Arhi#z1_0et"),145,125;
  2355. hideoffnpc instance_npcname("Tournament Guide#gefMT");
  2356. disablenpc instance_npcname("Arhi#1");
  2357. end;
  2358. OnVictory:
  2359. hideoffnpc instance_npcname("Arhi#1");
  2360. sleep 1000;
  2361. npctalk "I knew I would win!";
  2362. sleep 3000;
  2363. npctalk "I'm so relieved!";
  2364. sleep 3000;
  2365. npctalk "I was able to beat a weak competitor.";
  2366. sleep 3000;
  2367. npctalk "Yahoo!";
  2368. sleep 5000;
  2369. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  2370. end;
  2371. }
  2372. 1@ge_st,114,50,4 script Dio Anemos#1 669,{
  2373. end;
  2374. OnActivate:
  2375. npctalk "Second round huh...";
  2376. sleep 2000;
  2377. npctalk "You look like a weak competitor.";
  2378. sleep 3000;
  2379. npctalk "I think I've got a good chance against you.";
  2380. sleep 3000;
  2381. npctalk "I wish the match would start already...";
  2382. sleep 3000;
  2383. npctalk "If I finish it quickly maybe I can go buy some cookies!";
  2384. sleep 3000;
  2385. npctalk "Okay then let's start!";
  2386. sleep 2000;
  2387. npctalk "Boring...",instance_npcname("Loki#a2");
  2388. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  2389. end;
  2390. OnDefeat:
  2391. hideoffnpc instance_npcname("Dio Anemos#1");
  2392. sleep 1000;
  2393. npctalk "Oh my god....";
  2394. sleep 2000;
  2395. npctalk "I lost...";
  2396. sleep 2000;
  2397. npctalk "Ah... and to this random loser too...";
  2398. sleep 3000;
  2399. npctalk "My skills have gotten worse...";
  2400. sleep 3000;
  2401. npctalk "This is so sad...";
  2402. sleep 2000;
  2403. npctalk "Ahhhh! Why?...";
  2404. sleep 1000;
  2405. hideonnpc instance_npcname("Dio Anemos#1");
  2406. sleep 1000;
  2407. movenpc instance_npcname("Dio Anemos#z1_0et"),91,117;
  2408. disablenpc instance_npcname("Dio Anemos#1");
  2409. end;
  2410. OnVictory:
  2411. hideoffnpc instance_npcname("Dio Anemos#1");
  2412. sleep 1000;
  2413. npctalk "Phew... That was easy.";
  2414. sleep 3000;
  2415. npctalk "You should go home and ask your mommy to feed you!";
  2416. sleep 3000;
  2417. npctalk "Ha ha ha ha~!!!!";
  2418. sleep 3000;
  2419. npctalk "Time to get ready for my next match.";
  2420. sleep 5000;
  2421. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  2422. end;
  2423. }
  2424. 1@ge_st,114,50,4 script Geffen Gangster#n1 682,{
  2425. end;
  2426. OnActivate:
  2427. npctalk "Hmmm, you're that kid from before...";
  2428. sleep 3000;
  2429. npctalk "I've got a lesson to teach you!";
  2430. sleep 3000;
  2431. npctalk "It's my turn to beat you!";
  2432. sleep 3000;
  2433. npctalk "First I'll take care of you, and then I'll go back for that Kafra...";
  2434. sleep 3000;
  2435. npctalk "Watcha got punk?!";
  2436. sleep 3000;
  2437. npctalk "Prepare to die!";
  2438. sleep 2000;
  2439. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  2440. end;
  2441. OnDefeat:
  2442. hideoffnpc instance_npcname("Geffen Gangster#n1");
  2443. sleep 1000;
  2444. npctalk "I was defeated! This doesn't make any sense!";
  2445. sleep 2000;
  2446. npctalk "I can't believe I lost to you!";
  2447. sleep 3000;
  2448. npctalk "To be embarrassed in front of the Kafra with the luscious legs...!";
  2449. sleep 3000;
  2450. npctalk "Sob.. This can't be happening!";
  2451. sleep 2000;
  2452. npctalk "I shouldn't have to go through this depression alone!";
  2453. sleep 2000;
  2454. npctalk "I'll have to go to see the Kafra gal' in Prontera hu-hu-hu...";
  2455. sleep 1000;
  2456. hideonnpc instance_npcname("Geffen Gangster#n1");
  2457. sleep 1000;
  2458. disablenpc instance_npcname("Geffen Gangster#n1");
  2459. end;
  2460. OnVictory:
  2461. hideoffnpc instance_npcname("Geffen Gangster#n1");
  2462. sleep 1000;
  2463. npctalk "This is my real ability!";
  2464. sleep 3000;
  2465. npctalk "Hu hu... That... Kafra...!";
  2466. sleep 3000;
  2467. npctalk "I want to go back to my Kafra~!!";
  2468. sleep 3000;
  2469. npctalk "Hu hu hu hu hu...";
  2470. sleep 5000;
  2471. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  2472. end;
  2473. }
  2474. 1@ge_st,114,50,4 script Geffen Bully#n1 681,{
  2475. end;
  2476. OnActivate:
  2477. npctalk "Just you wait, you'll be immediately disabled!";
  2478. sleep 3000;
  2479. npctalk "I will beat you down today!";
  2480. sleep 3000;
  2481. npctalk "Give me your zeny!";
  2482. sleep 3000;
  2483. npctalk "I'll send you crying home!";
  2484. sleep 3000;
  2485. npctalk "I will make you experience my 20 years of bullying.";
  2486. sleep 3000;
  2487. npctalk "You're dead!";
  2488. sleep 2000;
  2489. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  2490. end;
  2491. OnDefeat:
  2492. hideoffnpc instance_npcname("Geffen Bully#n1");
  2493. sleep 1000;
  2494. npctalk "I can't believe you beat me...";
  2495. sleep 3000;
  2496. npctalk "It can't be!";
  2497. sleep 3000;
  2498. npctalk "This can't be! I only wanted to get more zeny!";
  2499. sleep 3000;
  2500. npctalk "Now I'll be the laughing stock of all of Geffen!";
  2501. sleep 3000;
  2502. npctalk "Ah! Ahhh!! It can't be!!!";
  2503. sleep 1000;
  2504. hideonnpc instance_npcname("Geffen Bully#n1");
  2505. sleep 1000;
  2506. disablenpc instance_npcname("Geffen Bully#n1");
  2507. end;
  2508. OnVictory:
  2509. hideoffnpc instance_npcname("Geffen Bully#n1");
  2510. sleep 1000;
  2511. npctalk "You! How much zeny do you have left?";
  2512. sleep 3000;
  2513. npctalk "You messed with me once before!";
  2514. sleep 3000;
  2515. npctalk "And now I've left you speechless!";
  2516. sleep 3000;
  2517. npctalk "Never show your face in Geffen again!";
  2518. sleep 5000;
  2519. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  2520. end;
  2521. }
  2522. 1@ge_st,114,50,4 script Geffen Shoplifter#n1 671,{
  2523. end;
  2524. OnActivate:
  2525. npctalk "There are so many people gathered here.";
  2526. sleep 3000;
  2527. npctalk "I thought there'd be something good to steal here";
  2528. sleep 3000;
  2529. npctalk "But I can't steal anything because of all the attention it'll cause.";
  2530. sleep 3000;
  2531. npctalk "Ah... This is no good...";
  2532. sleep 2000;
  2533. npctalk "I guess I'll just participate in the tournament...";
  2534. sleep 2000;
  2535. npctalk "Well~! Let's win anyway!";
  2536. sleep 2000;
  2537. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  2538. end;
  2539. OnDefeat:
  2540. hideoffnpc instance_npcname("Geffen Shoplifter#n1");
  2541. sleep 1000;
  2542. npctalk "Oh my god... I was defeated.";
  2543. sleep 2000;
  2544. npctalk "I have been spending too much time stealing.";
  2545. sleep 2000;
  2546. npctalk "My battle power has been reduced.";
  2547. sleep 3000;
  2548. npctalk "Ah... It can't be...";
  2549. sleep 2000;
  2550. npctalk "I'll need to train more if I want to keep my position as Guild Leader...";
  2551. sleep 3000;
  2552. npctalk "Fine, I'm outta here!";
  2553. sleep 1000;
  2554. hideonnpc instance_npcname("Geffen Shoplifter#n1");
  2555. sleep 1000;
  2556. disablenpc instance_npcname("Geffen Shoplifter#n1");
  2557. end;
  2558. OnVictory:
  2559. hideoffnpc instance_npcname("Geffen Shoplifter#n1");
  2560. sleep 1000;
  2561. npctalk "I know, I'm really good.";
  2562. sleep 3000;
  2563. npctalk "Okay! Time to keep winning~!!";
  2564. sleep 3000;
  2565. npctalk "I should take as many rewards as possible~!";
  2566. sleep 3000;
  2567. npctalk "You should go home~ Bye~!";
  2568. sleep 5000;
  2569. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  2570. end;
  2571. }
  2572. 1@ge_st,114,50,4 script Faymont#1 672,{
  2573. end;
  2574. OnActivate:
  2575. enablenpc instance_npcname("Faymont#1");
  2576. npctalk "Well would you look at that... this competitor seems...";
  2577. sleep 2000;
  2578. npctalk "Like he's just gotten lucky up until now!";
  2579. sleep 3000;
  2580. npctalk "I really don't want to get my hands dirty.";
  2581. sleep 3000;
  2582. npctalk "I'll handle this in a sophisticated way...";
  2583. sleep 3000;
  2584. npctalk "Ahem... Looks like we're about to start now.";
  2585. sleep 3000;
  2586. npctalk "Maybe if I finish this quickly, I can buy that new headdress...";
  2587. npctalk "Come on!", instance_npcname("Prontera Spectator#a1");
  2588. sleep 2000;
  2589. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  2590. end;
  2591. OnDefeat:
  2592. hideoffnpc instance_npcname("Faymont#1");
  2593. sleep 1000;
  2594. npctalk "How could... How could I lose?!...";
  2595. sleep 2000;
  2596. npctalk "And to the one "+('sex ? "guy" : "girl")+" with no taste...";
  2597. sleep 2000;
  2598. npctalk "How shameful...";
  2599. sleep 2000;
  2600. npctalk "My fans will be disappointed at me for losing...";
  2601. sleep 3000;
  2602. npctalk "Ahh.... What's the quickest way out of here?";
  2603. sleep 3000;
  2604. npctalk "I can't show my face around here any longer...";
  2605. sleep 1000;
  2606. hideonnpc instance_npcname("Faymont#1");
  2607. sleep 1000;
  2608. movenpc instance_npcname("Faymont#z1_0et"),53,90;
  2609. disablenpc instance_npcname("Faymont#1");
  2610. end;
  2611. OnVictory:
  2612. hideoffnpc instance_npcname("Faymont#1");
  2613. sleep 1000;
  2614. npctalk "Can you see the difference between you and me? Noble and shallow.";
  2615. sleep 3000;
  2616. npctalk "This tournament is pointless.";
  2617. sleep 3000;
  2618. npctalk "What kind of shallow man will I have to fight with next?";
  2619. sleep 3000;
  2620. npctalk "No matter, I'll just prepare for the next match.";
  2621. sleep 5000;
  2622. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  2623. end;
  2624. }
  2625. 1@ge_st,114,50,4 script Ordre#1 673,{
  2626. end;
  2627. OnActivate:
  2628. enablenpc instance_npcname("Ordre#1");
  2629. npctalk "One! Two! One! Two!";
  2630. sleep 2000;
  2631. npctalk "Let's climb the ladder one step at a time!";
  2632. sleep 2000;
  2633. npctalk "I've been training so hard!";
  2634. sleep 3000;
  2635. npctalk "I'm not about to give up now!";
  2636. sleep 3000;
  2637. npctalk "I can't lose after coming so far";
  2638. sleep 3000;
  2639. npctalk "Now~! Let's do our best for those in the audience!";
  2640. sleep 3000;
  2641. npctalk "Shall we begin?";
  2642. npctalk "What? Is this really the level of competition?",instance_npcname("Chaos#a2");
  2643. sleep 2000;
  2644. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  2645. end;
  2646. OnDefeat:
  2647. hideoffnpc instance_npcname("Ordre#1");
  2648. sleep 1000;
  2649. npctalk "Defeated...";
  2650. sleep 2000;
  2651. npctalk "I need more practice...";
  2652. sleep 2000;
  2653. npctalk "I need more training...";
  2654. sleep 3000;
  2655. npctalk "I'll train twice as hard as before!";
  2656. sleep 3000;
  2657. npctalk "I must start over.";
  2658. sleep 2000;
  2659. npctalk "Let's go.";
  2660. sleep 1000;
  2661. hideonnpc instance_npcname("Ordre#1");
  2662. sleep 1000;
  2663. movenpc instance_npcname("Ordre#z1_0et"),85,68;
  2664. disablenpc instance_npcname("Ordre#1");
  2665. end;
  2666. OnVictory:
  2667. hideoffnpc instance_npcname("Ordre#1");
  2668. sleep 1000;
  2669. npctalk "I won!";
  2670. sleep 3000;
  2671. npctalk "As long as you try... you can get what you want!";
  2672. sleep 3000;
  2673. npctalk "Let's show respect to this competition!";
  2674. sleep 3000;
  2675. npctalk "I'm ready for the next match!!";
  2676. sleep 5000;
  2677. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  2678. end;
  2679. }
  2680. 1@ge_st,114,50,4 script Blut Hase#1 674,{
  2681. end;
  2682. OnActivate:
  2683. npctalk "You've gotten this far.";
  2684. sleep 2000;
  2685. npctalk "I imagine by now the rest of the competitors are quite strong";
  2686. sleep 3000;
  2687. npctalk "But I did not build my reputation for nothing!";
  2688. sleep 3000;
  2689. npctalk "Fear my Bunny Band!";
  2690. sleep 3000;
  2691. npctalk "You are but an obstacle in my way!";
  2692. sleep 1000;
  2693. donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
  2694. sleep 2000;
  2695. npctalk "You will be sacrificed on my path to victory!";
  2696. sleep 1000;
  2697. donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
  2698. sleep 1000;
  2699. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  2700. end;
  2701. OnDefeat:
  2702. hideoffnpc instance_npcname("Blut Hase#1");
  2703. sleep 1000;
  2704. npctalk "I will not lose!";
  2705. sleep 1000;
  2706. npctalk "My reputation... My popularity...";
  2707. sleep 3000;
  2708. npctalk "I will lose them both...";
  2709. sleep 3000;
  2710. npctalk "I cannot accept this result!";
  2711. sleep 3000;
  2712. npctalk "I will regain my reputation!";
  2713. sleep 2000;
  2714. npctalk "Next time I will be the winner!";
  2715. sleep 1000;
  2716. hideonnpc instance_npcname("Blut Hase#1");
  2717. sleep 1000;
  2718. movenpc instance_npcname("Blut Hase#z1_0et"),111,62;
  2719. disablenpc instance_npcname("Blut Hase#1");
  2720. end;
  2721. OnVictory:
  2722. hideoffnpc instance_npcname("Blut Hase#1");
  2723. sleep 1000;
  2724. npctalk "In terms of reputation or popularity...";
  2725. sleep 3000;
  2726. npctalk "It was impossible for me to lose!";
  2727. sleep 3000;
  2728. npctalk "I will be known as Ultra Rabbit's Blood instead of Rabbit's Bloody Ear now!";
  2729. sleep 3000;
  2730. npctalk "Ha ha ha ha ha~!!";
  2731. sleep 5000;
  2732. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  2733. end;
  2734. }
  2735. 1@ge_st,114,50,4 script Kuro Akuma#1 675,{
  2736. end;
  2737. OnActivate:
  2738. npctalk "Finally the 7th game has started ~!";
  2739. sleep 2000;
  2740. npctalk "You've never met anyone as evil as me ~!";
  2741. sleep 3000;
  2742. npctalk "You are lucky~!";
  2743. sleep 3000;
  2744. npctalk "This will be a good experience for you~!";
  2745. sleep 3000;
  2746. npctalk "Nobody who's faced me has ever survived~!";
  2747. sleep 3000;
  2748. npctalk "I will destroy you if I must~!";
  2749. sleep 1000;
  2750. donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
  2751. sleep 1000;
  2752. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  2753. end;
  2754. OnDefeat:
  2755. hideoffnpc instance_npcname("Kuro Akuma#1");
  2756. sleep 1000;
  2757. npctalk "Oh my god...";
  2758. sleep 3000;
  2759. npctalk "I am The Devil's Tooth...";
  2760. sleep 2000;
  2761. npctalk "And I have lost this match...";
  2762. sleep 3000;
  2763. npctalk "Yach, yikes, ah, ah, ah! Yikes ah, ah, ah!!";
  2764. sleep 3000;
  2765. npctalk "I can't lose! I'll have my revenge!";
  2766. sleep 2000;
  2767. hideonnpc instance_npcname("Kuro Akuma#1");
  2768. sleep 1000;
  2769. movenpc instance_npcname("Kuro Akuma#z1_0et"),104,42;
  2770. disablenpc instance_npcname("Kuro Akuma#1");
  2771. end;
  2772. OnVictory:
  2773. hideoffnpc instance_npcname("Kuro Akuma#1");
  2774. sleep 1000;
  2775. npctalk "How is it~! My Power~!";
  2776. sleep 3000;
  2777. npctalk "I took pity on you and decided not to send you to hell~!";
  2778. sleep 3000;
  2779. npctalk "You should appreciate that!";
  2780. sleep 3000;
  2781. npctalk "Now, I shall prepare for my next match~!";
  2782. sleep 5000;
  2783. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  2784. end;
  2785. }
  2786. 1@ge_st,114,50,4 script Ifodes#1 676,{
  2787. end;
  2788. OnActivate:
  2789. npctalk "At long last, the 8th game has started.";
  2790. sleep 3000;
  2791. npctalk "No one can pierce my defenses!";
  2792. sleep 3000;
  2793. npctalk "But I can surely get past yours.";
  2794. sleep 2000;
  2795. npctalk "Therefore, you stand no chance!";
  2796. sleep 2000;
  2797. npctalk "Once the match has started, your laughter will turn into tears!";
  2798. sleep 2000;
  2799. npctalk "Shall we start?";
  2800. sleep 1000;
  2801. donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
  2802. sleep 1000;
  2803. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  2804. end;
  2805. OnDefeat:
  2806. hideoffnpc instance_npcname("Ifodes#1");
  2807. sleep 1000;
  2808. npctalk "I will not lose this tournament!";
  2809. sleep 3000;
  2810. npctalk "This is nonsense.";
  2811. sleep 2000;
  2812. npctalk "How could this happen?";
  2813. sleep 3000;
  2814. npctalk "I can't understand!";
  2815. sleep 3000;
  2816. npctalk "Arrgggh!";
  2817. sleep 2000;
  2818. hideonnpc instance_npcname("Ifodes#1");
  2819. sleep 1000;
  2820. movenpc instance_npcname("Ifodes#z1_0et"),115,66;
  2821. disablenpc instance_npcname("Ifodes#1");
  2822. end;
  2823. OnVictory:
  2824. hideoffnpc instance_npcname("Ifodes#1");
  2825. sleep 1000;
  2826. npctalk "You can't penetrate my defense!";
  2827. sleep 3000;
  2828. npctalk "You can't even protect yourself from my powerful attacks!";
  2829. sleep 3000;
  2830. npctalk "Wahahaha~!!";
  2831. sleep 5000;
  2832. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  2833. end;
  2834. }
  2835. 1@ge_st,114,50,4 script Licheniyes#1 677,{
  2836. end;
  2837. OnActivate:
  2838. npctalk "Ho ho ho~!!";
  2839. sleep 3000;
  2840. npctalk "The competitor of the 9th match looks scary~!";
  2841. sleep 3000;
  2842. npctalk "You don't scare me though~!";
  2843. sleep 2000;
  2844. npctalk "I'm a lady~!";
  2845. sleep 2000;
  2846. npctalk "But once this match starts...!";
  2847. sleep 2000;
  2848. npctalk "*Giggling*... I will bite you!";
  2849. sleep 1000;
  2850. npctalk "good horror players ...", instance_npcname("Payon Spectator#a1");
  2851. sleep 1000;
  2852. npctalk "Do not be afraid ah, dark horse contestant!", instance_npcname("Prontera Spectator#a1");
  2853. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  2854. end;
  2855. OnDefeat:
  2856. hideoffnpc instance_npcname("Licheniyes#1");
  2857. sleep 1000;
  2858. npctalk "You try to beat me with cruelty, a lady like me...";
  2859. sleep 3000;
  2860. npctalk "I am very sad...";
  2861. sleep 2000;
  2862. npctalk "Sob...";
  2863. sleep 3000;
  2864. npctalk "But, next time we meet...";
  2865. sleep 3000;
  2866. npctalk "I will destroy you with little effort!";
  2867. sleep 1000;
  2868. hideonnpc instance_npcname("Licheniyes#1");
  2869. sleep 1000;
  2870. movenpc instance_npcname("Licheniyes#z1_0et"),137,53;
  2871. disablenpc instance_npcname("Licheniyes#1");
  2872. end;
  2873. OnVictory:
  2874. hideoffnpc instance_npcname("Licheniyes#1");
  2875. sleep 1000;
  2876. npctalk "Oh ho ho ho~~! I knew I would win~!";
  2877. sleep 3000;
  2878. npctalk "Oh my! Oh my! I am very sorry~!";
  2879. sleep 3000;
  2880. npctalk "Ah, Ah~ I need to prepare next match!";
  2881. sleep 3000;
  2882. npctalk "I'm so giddy to find out who I'm up against next!~";
  2883. sleep 5000;
  2884. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  2885. end;
  2886. }
  2887. 1@ge_st,114,50,4 script Odoric#1 678,{
  2888. end;
  2889. OnActivate:
  2890. npctalk "Lu lu~ What a fun tournament!";
  2891. sleep 3000;
  2892. npctalk "Dance~ Dance~ Bewitching dance~!";
  2893. sleep 3000;
  2894. npctalk "Everyone is mesmerized by my magical dance!";
  2895. sleep 3000;
  2896. npctalk "You will be captured by my charm~!";
  2897. sleep 2000;
  2898. npctalk "Now, feast on my magical dance!";
  2899. sleep 2000;
  2900. npctalk "Lah, Lah, Lah, Lah~~!";
  2901. sleep 1000;
  2902. npctalk "How beautiful!", instance_npcname("Veins Spectator#a1");
  2903. sleep 1000;
  2904. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  2905. end;
  2906. OnDefeat:
  2907. hideoffnpc instance_npcname("Odoric#1");
  2908. sleep 1000;
  2909. npctalk "Sob...";
  2910. sleep 3000;
  2911. npctalk "I lost, even though I did my best...";
  2912. sleep 2000;
  2913. npctalk "My charming poses...";
  2914. sleep 3000;
  2915. npctalk "They didn't work... Sob...";
  2916. sleep 3000;
  2917. npctalk "I'm so sad that I lost here...";
  2918. sleep 2000;
  2919. npctalk "I have to leave~!";
  2920. sleep 1000;
  2921. hideonnpc instance_npcname("Odoric#1");
  2922. sleep 1000;
  2923. movenpc instance_npcname("Odoric#z1_0et"),158,63;
  2924. disablenpc instance_npcname("Odoric#1");
  2925. end;
  2926. OnVictory:
  2927. hideoffnpc instance_npcname("Odoric#1");
  2928. sleep 1000;
  2929. npctalk "Even you... Against my fascinating dance moves...";
  2930. sleep 3000;
  2931. npctalk "You're nothing special~!!";
  2932. sleep 3000;
  2933. npctalk "You did a good job getting to this point~!!";
  2934. sleep 3000;
  2935. npctalk "I need to get ready for my next match now~";
  2936. sleep 5000;
  2937. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  2938. end;
  2939. }
  2940. 1@ge_st,114,50,4 script Ju#1 679,{
  2941. end;
  2942. OnActivate:
  2943. npctalk "Another match has started...";
  2944. sleep 3000;
  2945. npctalk "A real battle is a serious matter...";
  2946. sleep 3000;
  2947. npctalk "It is something to be feared!";
  2948. sleep 3000;
  2949. npctalk "All of these novices who spent their time only training";
  2950. sleep 3000;
  2951. npctalk "They will never know the true meaning of battle!";
  2952. sleep 3000;
  2953. npctalk "I will make sure to handle them as fast as possible.";
  2954. sleep 3000;
  2955. npctalk "My heart is beating so fast! I'm so nervous!",instance_npcname("Lydia#a2");
  2956. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  2957. end;
  2958. OnDefeat:
  2959. hideoffnpc instance_npcname("Ju#1");
  2960. sleep 1000;
  2961. npctalk "Sob... defeated...";
  2962. sleep 3000;
  2963. npctalk "You're stronger than I thought...";
  2964. sleep 3000;
  2965. npctalk "You must have experienced many cruel battles.";
  2966. sleep 3000;
  2967. npctalk "Sob... Victory was the only thing in my mind...";
  2968. sleep 3000;
  2969. npctalk "I wish you luck on your following matches.";
  2970. sleep 3000;
  2971. npctalk "You better not lose after defeating me!";
  2972. sleep 2000;
  2973. hideonnpc instance_npcname("Ju#1");
  2974. sleep 1000;
  2975. movenpc instance_npcname("Ju#z1_0et"),178,91;
  2976. disablenpc instance_npcname("Ju#1");
  2977. end;
  2978. OnVictory:
  2979. hideoffnpc instance_npcname("Ju#1");
  2980. sleep 1000;
  2981. npctalk "This is not a game.";
  2982. sleep 3000;
  2983. npctalk "This is real battle.";
  2984. sleep 3000;
  2985. npctalk "Yeahhhh !!";
  2986. sleep 3000;
  2987. npctalk "The real game is battle!";
  2988. sleep 5000;
  2989. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  2990. end;
  2991. }
  2992. 1@ge_st,114,50,4 script Dwigh#1 680,{
  2993. end;
  2994. OnActivate:
  2995. npctalk "Semi-Finals huh...";
  2996. sleep 2000;
  2997. npctalk "I can see the end...";
  2998. sleep 3000;
  2999. npctalk "You must be a decent fighter, making it all the way here...";
  3000. sleep 3000;
  3001. npctalk "But I came to here for my students.";
  3002. sleep 3000;
  3003. npctalk "People who are important to me are watching this battle!";
  3004. sleep 3000;
  3005. npctalk "Wow, teacher!",instance_npcname("Magic Academy Student#22");
  3006. npctalk "Teacher, show 'em what you've got!",instance_npcname("Magic Academy Student#3");
  3007. npctalk "What a great teacher, I want to be like her!",instance_npcname("Magic Academy Student#4");
  3008. sleep 2000;
  3009. npctalk "I can't imagine teacher losing here~!",instance_npcname("Magic Academy Student#1");
  3010. npctalk "Everyone cheer loudly for our teacher!",instance_npcname("Magic Academy Student#5");
  3011. sleep 2000;
  3012. npctalk "I can't lose in front of my students!";
  3013. sleep 2000;
  3014. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  3015. sleep 1000;
  3016. npctalk "Ahh!~ Go teacher~!!",instance_npcname("Magic Academy Student#5");
  3017. sleep 1000;
  3018. npctalk "Go! Go! Teacher~!!",instance_npcname("Magic Academy Student#22");
  3019. npctalk "Teacher! She's the one~!!",instance_npcname("Magic Academy Student#3");
  3020. npctalk "If she can't do it~!!",instance_npcname("Magic Academy Student#4");
  3021. npctalk "No one can~!!",instance_npcname("Magic Academy Student#1");
  3022. npctalk "Teacher~!!",instance_npcname("Magic Academy Student#5");
  3023. end;
  3024. OnDefeat:
  3025. hideoffnpc instance_npcname("Dwigh#1");
  3026. sleep 1000;
  3027. npctalk "If I had just won one more game, I could have been in the finals...";
  3028. sleep 3000;
  3029. npctalk "I'm ashamed for losing in front of my students...";
  3030. sleep 3000;
  3031. npctalk "But the competition was too strong.";
  3032. sleep 3000;
  3033. npctalk "I admit defeat.";
  3034. sleep 3000;
  3035. npctalk "According to my students, Fenrir's strength should still be above me, I wish you luck.";
  3036. sleep 2000;
  3037. hideonnpc instance_npcname("Dwigh#1");
  3038. sleep 1000;
  3039. movenpc instance_npcname("Dwigh#z1_0et"),120,98;
  3040. disablenpc instance_npcname("Dwigh#1");
  3041. end;
  3042. OnVictory:
  3043. hideoffnpc instance_npcname("Dwigh#1");
  3044. sleep 1000;
  3045. npctalk "Ugh... It was a tough match.";
  3046. sleep 3000;
  3047. npctalk "But I am happy to have won.";
  3048. sleep 3000;
  3049. npctalk "I will do my best for my students.";
  3050. sleep 3000;
  3051. npctalk "I have just one more match to win!";
  3052. sleep 5000;
  3053. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  3054. end;
  3055. }
  3056. 1@ge_st,114,50,4 script Fay Kanavian#1 665,{
  3057. end;
  3058. OnActivate:
  3059. enablenpc instance_npcname("#paycanatalk");
  3060. end;
  3061. OnDefeat:
  3062. hideoffnpc instance_npcname("Fay Kanavian#1");
  3063. killmonster instance_mapname("1@ge_st"),instance_npcname("#GMTHomun")+"::OnHomJR";
  3064. killmonster instance_mapname("1@ge_st"),instance_npcname("#GMTHomun")+"::OnHomDead";
  3065. enablenpc instance_npcname("#paycanatalk2");
  3066. end;
  3067. OnTalk1:
  3068. cutin "paycana_a", 2;
  3069. npctalk "You~ I've never heard about you before~!";
  3070. sleep2 4000;
  3071. npctalk "You must know, all of the spectators are cheering for me!";
  3072. sleep2 4000;
  3073. npctalk "If you want to keep your life you should run now~!";
  3074. sleep2 4000;
  3075. npctalk "Unless you want to experience the strength of my masterpiece, Alphonse!";
  3076. sleep2 4000;
  3077. npctalk "You HAVE seen my Alphonse, right?";
  3078. sleep2 4000;
  3079. donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
  3080. sleep2 1000;
  3081. npctalk "Once this match starts, you will see his full power!";
  3082. sleep2 2000;
  3083. cutin "", 255;
  3084. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  3085. end;
  3086. OnTalk2:
  3087. cutin "paycana_b ", 2;
  3088. npctalk "I actually lost...";
  3089. sleep2 3000;
  3090. npctalk "Alphonse... I gave you my heart and soul...";
  3091. sleep2 3000;
  3092. npctalk "I was supposed to make it to the finals...";
  3093. sleep2 3000;
  3094. npctalk "And face Fenris Fenrir...";
  3095. sleep2 3000;
  3096. npctalk "I wanted to fight her so bad!";
  3097. sleep2 2000;
  3098. cutin "", 255;
  3099. hideonnpc instance_npcname("Fay Kanavian#1");
  3100. sleep 1000;
  3101. movenpc instance_npcname("Fay Kanavian#z1_0et"),117,72;
  3102. disablenpc instance_npcname("Fay Kanavian#1");
  3103. end;
  3104. OnVictory:
  3105. hideoffnpc instance_npcname("Fay Kanavian#1");
  3106. sleep 1000;
  3107. npctalk "My abilities are amazing~!";
  3108. sleep 3000;
  3109. npctalk "This tournament is but a game to me, and not at all important.";
  3110. sleep 3000;
  3111. npctalk "But Fenrir has reached the finals by winning every single round...";
  3112. sleep 3000;
  3113. npctalk "I will defeat her and win this tournament!";
  3114. sleep 5000;
  3115. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  3116. end;
  3117. }
  3118. 1@ge_st,108,50,4 script #paycanatalk 139,25,25,{
  3119. end;
  3120. OnTouch:
  3121. doevent instance_npcname("Fay Kanavian#1")+"::OnTalk1";
  3122. disablenpc instance_npcname("#paycanatalk");
  3123. end;
  3124. OnInstanceInit:
  3125. disablenpc instance_npcname("#paycanatalk");
  3126. end;
  3127. }
  3128. 1@ge_st,108,50,4 script #paycanatalk2 139,25,25,{
  3129. end;
  3130. OnTouch_:
  3131. doevent instance_npcname("Fay Kanavian#1")+"::OnTalk2";
  3132. disablenpc instance_npcname("#paycanatalk2");
  3133. end;
  3134. OnInstanceInit:
  3135. disablenpc instance_npcname("#paycanatalk2");
  3136. end;
  3137. }
  3138. 1@ge_st,114,50,4 script Fenrir#f 664,{
  3139. end;
  3140. OnActivate:
  3141. enablenpc instance_npcname("#fenrirtalk");
  3142. end;
  3143. OnDefeat:
  3144. hideoffnpc instance_npcname("Fenrir#f");
  3145. enablenpc instance_npcname("#fenrirtalk2");
  3146. end;
  3147. OnTalk1:
  3148. cutin "fenrir_b", 1;
  3149. npctalk "The final match...";
  3150. sleep2 1000;
  3151. npctalk "Fenrir is going to win without a doubt~!", instance_npcname("Payon Spectator#a1");
  3152. sleep2 1000;
  3153. npctalk "I am Fenris Fenrir.";
  3154. sleep2 1000;
  3155. npctalk "Hey, do your best!",instance_npcname("Iris#a2");
  3156. sleep2 2000;
  3157. npctalk "You... made it here.";
  3158. sleep2 2000;
  3159. npctalk "I am sure that this will be a hard fought match.";
  3160. sleep2 1000;
  3161. npctalk "Wow! I'm so excited!",instance_npcname("Lydia#a2");
  3162. npctalk "Fenrir, please give me an autograph!", instance_npcname("Prontera Spectator#a2");
  3163. sleep2 2000;
  3164. npctalk "I will do my best to fight you fairly.";
  3165. sleep2 2000;
  3166. npctalk "Then, should we start the final match?";
  3167. cutin "", 255;
  3168. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  3169. end;
  3170. OnTalk2:
  3171. cutin "fenrir_a", 1;
  3172. npctalk "Uh... I am defeated.";
  3173. sleep2 2000;
  3174. npctalk "How did you get to be so strong?";
  3175. sleep2 3000;
  3176. npctalk "I am completely defeated...";
  3177. sleep2 3000;
  3178. npctalk "This world is full of surprises...";
  3179. sleep2 3000;
  3180. npctalk "Congratulations on your victory "+'charname$+".";
  3181. sleep2 2000;
  3182. npctalk "However, next time, I won't lose!";
  3183. sleep2 2000;
  3184. cutin "", 255;
  3185. if (checkquest(9307) != -1)
  3186. changequest 9307,9308;
  3187. warp instance_mapname("1@ge_st"), 109,50;
  3188. donpcevent instance_npcname("#win")+"::OnEnable";
  3189. movenpc instance_npcname("#gefmagic_warp02"),120,213;
  3190. end;
  3191. OnVictory:
  3192. hideoffnpc instance_npcname("Fenrir#f");
  3193. sleep 1000;
  3194. npctalk "Thank you~ It was a good match.";
  3195. sleep 3000;
  3196. npctalk "It feels good to be the winner.";
  3197. sleep 3000;
  3198. npctalk "I hope to see you again.";
  3199. sleep 3000;
  3200. npctalk "I have to go... My friends are waiting for me.";
  3201. sleep 5000;
  3202. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  3203. end;
  3204. }
  3205. 1@ge_st,108,50,4 script #fenrirtalk 139,25,25,{
  3206. end;
  3207. OnTouch:
  3208. doevent instance_npcname("Fenrir#f")+"::OnTalk1";
  3209. disablenpc instance_npcname("#fenrirtalk");
  3210. end;
  3211. OnInstanceInit:
  3212. disablenpc instance_npcname("#fenrirtalk");
  3213. end;
  3214. }
  3215. 1@ge_st,108,50,4 script #fenrirtalk2 139,25,25,{
  3216. end;
  3217. OnTouch_:
  3218. doevent instance_npcname("Fenrir#f")+"::OnTalk2";
  3219. disablenpc instance_npcname("#fenrirtalk2");
  3220. end;
  3221. OnInstanceInit:
  3222. disablenpc instance_npcname("#fenrirtalk2");
  3223. end;
  3224. }
  3225. 1@ge_st,1,1,1 script #win CLEAR_NPC,{
  3226. end;
  3227. OnEnable:
  3228. disablenpc instance_npcname("Fenrir#f");
  3229. movenpc instance_npcname("Arhi#q1"), 104, 53;
  3230. movenpc instance_npcname("Dio Anemos#q1"), 100, 49;
  3231. movenpc instance_npcname("Faymont#q1"), 102, 46;
  3232. movenpc instance_npcname("Ordre#q1"), 104, 44;
  3233. movenpc instance_npcname("Blut Hase#q1"), 112, 45;
  3234. movenpc instance_npcname("Kuro Akuma#q1"), 116, 46;
  3235. movenpc instance_npcname("Ifodes#q1"), 115, 53;
  3236. movenpc instance_npcname("Licheniyes#q1"), 116, 49;
  3237. movenpc instance_npcname("Odoric#q1"), 112, 53;
  3238. movenpc instance_npcname("Ju#q1"), 109, 54;
  3239. movenpc instance_npcname("Dwigh#q1"), 106, 50;
  3240. movenpc instance_npcname("Fay Kanavian#q1"), 107, 48;
  3241. movenpc instance_npcname("Fenrir#q1"), 112, 50;
  3242. hideoffnpc instance_npcname("Tournament Guide#gefMT");
  3243. hideoffnpc instance_npcname("Geffen Academy Master");
  3244. sleep 1000;
  3245. npctalk "The other contestants want to congratulate you on winning as well!",instance_npcname("Fenrir#q1");
  3246. end;
  3247. OnInstanceInit:
  3248. end;
  3249. }
  3250. 1@ge_st,1,1,6 script Arhi#q1 670,{
  3251. switch(rand(1,2)){
  3252. case 1:
  3253. showscript "Arhi : Tsk, I will come back when I get stronger!",getnpcid(0);//DONE
  3254. break;
  3255. case 2:
  3256. showscript "Arhi : Congratulations~!",getnpcid(0);//DONE
  3257. break;
  3258. }
  3259. end;
  3260. }
  3261. 1@ge_st,1,1,6 script Dio Anemos#q1 669,{
  3262. switch(rand(1,2)){
  3263. case 1:
  3264. showscript "Dio Anemos : I'm suddenly really hungry...",getnpcid(0);//DONE
  3265. break;
  3266. case 2:
  3267. showscript "Dio Anemos : Congratulations~! It is your treat~!",getnpcid(0);//DONE
  3268. break;
  3269. }
  3270. end;
  3271. }
  3272. 1@ge_st,1,1,0 script Faymont#q1 672,{
  3273. showscript "Faymont : Awesome fighting ability!",getnpcid(0);//DONE
  3274. end;
  3275. }
  3276. 1@ge_st,1,1,0 script Ordre#q1 673,{
  3277. switch(rand(1,2)){
  3278. case 1:
  3279. showscript "Ordre : Simply amazing!",getnpcid(0);//DONE
  3280. break;
  3281. case 2:
  3282. showscript "Ordre : I can only imagine how long you have trained yourself to become this strong.",getnpcid(0);//DONE
  3283. break;
  3284. }
  3285. end;
  3286. }
  3287. 1@ge_st,1,1,2 script Blut Hase#q1 674,{
  3288. switch(rand(1,2)){
  3289. case 1:
  3290. showscript "Blut Hase : You must be famous, right?",getnpcid(0);//DONE
  3291. break;
  3292. case 2:
  3293. showscript "Blut Hase : Well... Congratulations anyway...",getnpcid(0);//DONE
  3294. break;
  3295. }
  3296. end;
  3297. }
  3298. 1@ge_st,1,1,2 script Kuro Akuma#q1 675,{
  3299. showscript "Kuro Akuma : So... very strong...",getnpcid(0);//DONE
  3300. end;
  3301. }
  3302. 1@ge_st,1,1,4 script Ifodes#q1 676,{
  3303. switch(rand(1,2)){
  3304. case 1:
  3305. showscript "Ifodes : Your talents suit your chivalry.",getnpcid(0);//DONE
  3306. break;
  3307. case 2:
  3308. showscript "Ifodes : You were great competition. Congratulations!",getnpcid(0);//DONE
  3309. break;
  3310. }
  3311. end;
  3312. }
  3313. 1@ge_st,1,1,4 script Licheniyes#q1 677,{
  3314. showscript "Licheniyes : Awesome victory~!",getnpcid(0);//DONE
  3315. end;
  3316. }
  3317. 1@ge_st,1,1,4 script Odoric#q1 678,{
  3318. switch(rand(1,2)){
  3319. case 1:
  3320. showscript "Odoric : Simply amazing.",getnpcid(0);//DONE
  3321. break;
  3322. case 2:
  3323. showscript "Odoric : Congratulations on your victory~!",getnpcid(0);//DONE
  3324. break;
  3325. }
  3326. end;
  3327. }
  3328. 1@ge_st,1,1,4 script Ju#q1 679,{
  3329. switch(rand(1,2)){
  3330. case 1:
  3331. showscript "Ju : You... are... strong... I... won't... forget... you...",getnpcid(0);//DONE
  3332. break;
  3333. case 2:
  3334. showscript "Ju : I've never lost before. But you are a worthy foe.",getnpcid(0);//DONE
  3335. break;
  3336. }
  3337. end;
  3338. }
  3339. 1@ge_st,1,1,6 script Dwigh#q1 680,{
  3340. showscript "Dwigh : Really good fight, you've got exceptional strength!",getnpcid(0);
  3341. end;
  3342. }
  3343. 1@ge_st,1,1,0 script Fay Kanavian#q1 665,{
  3344. switch(rand(1,2)){
  3345. case 1:
  3346. showscript "Fay Kanavian : I didn't think that Fenrir would lose...",getnpcid(0);//DONE
  3347. break;
  3348. case 2:
  3349. showscript "Fay Kanavian : Next time we fight, Alphonse will be stronger!",getnpcid(0);//DONE
  3350. break;
  3351. }
  3352. end;
  3353. }
  3354. 1@ge_st,1,1,4 script Fenrir#q1 664,{
  3355. switch(rand(1,2)){
  3356. case 1:
  3357. showscript "Fenrir : All of my colleagues are so excited about your victory. They are eager to meet you.",getnpcid(0);//DONE
  3358. break;
  3359. case 2:
  3360. showscript "Fenrir : You defeated me in a fair fight. You are very strong.",getnpcid(0);//DONE
  3361. break;
  3362. }
  3363. end;
  3364. }
  3365. - script #EVT_GMT -1,{
  3366. OnPCDieEvent:
  3367. if (strcharinfo(3) == "1@ge_st" || strcharinfo(3) == instance_mapname("1@ge_st") ) {
  3368. dispbottom "You've fallen! You have 10 seconds to get up or the match will be over!";
  3369. sleep2 10000;
  3370. if (Hp >= 1) {
  3371. end;
  3372. }
  3373. if (Hp == 0) {
  3374. instance_warpall instance_mapname("1@ge_st"),104,50;
  3375. donpcevent instance_npcname("#DEATHGMT")+"::OnLoseRound";
  3376. donpcevent instance_npcname("#GMTcontroller")+"::OnStop";
  3377. end;
  3378. }
  3379. }
  3380. end;
  3381. }
  3382. 1@ge_st,1,1,1 script #DEATHGMT -1,{
  3383. end;
  3384. OnInstanceInit:
  3385. enablenpc instance_npcname("#DEATHGMT");
  3386. end;
  3387. OnLoseRound:
  3388. killmonster instance_mapname("1@ge_st"),instance_npcname("#GMTcontroller")+"::OnMobDead";
  3389. movenpc instance_npcname("#gefmagic_warp02"),120,213;
  3390. movenpc instance_npcname("#invisGMTquests"),120,61;
  3391. donpcevent instance_npcname("Fenrir#e1")+"::OnEnable";
  3392. donpcevent instance_npcname("Chaos#e1")+"::OnEnable";
  3393. donpcevent instance_npcname("Iris#e1")+"::OnEnable";
  3394. donpcevent instance_npcname("Lydia#e1")+"::OnEnable";
  3395. donpcevent instance_npcname("Loki#e1")+"::OnEnable";
  3396. switch ('GMT_1QUE) {
  3397. case 11:
  3398. .@defeat$ = "Arhi";
  3399. break;
  3400. case 12:
  3401. .@defeat$ = "Dio Anemos";
  3402. break;
  3403. case 13:
  3404. if ('GMTQuest == 1) {
  3405. .@defeat$ = "Geffen Gangster";
  3406. }
  3407. else if ('GMTQuest == 2) {
  3408. .@defeat$ = "Gefen Bully";
  3409. }
  3410. else {
  3411. .@defeat$ = "Geffen Shoplifter";
  3412. }
  3413. break;
  3414. case 14:
  3415. .@defeat$ = "Feymont";
  3416. break;
  3417. case 15:
  3418. .@defeat$ = "Ordre";
  3419. break;
  3420. case 16:
  3421. .@defeat$ = "Blut Hase";
  3422. break;
  3423. case 17:
  3424. .@defeat$ = "Kuro Akuma";
  3425. break;
  3426. case 18:
  3427. .@defeat$ = "Ifodes";
  3428. break;
  3429. case 19:
  3430. .@defeat$ = "Licheniyes";
  3431. break;
  3432. case 20:
  3433. .@defeat$ = "Odoric";
  3434. break;
  3435. case 21:
  3436. .@defeat$ = "Ju";
  3437. break;
  3438. case 22:
  3439. if ('half) {
  3440. .@defeat$ = "Dwigh";
  3441. } else {
  3442. .@defeat$ = "Fay Kanavian";
  3443. }
  3444. break;
  3445. case 23:
  3446. .@defeat$ = "Fenrir";
  3447. break;
  3448. default:
  3449. break;
  3450. }
  3451. npctalk ""+.@defeat$+" has won the "+callfunc("F_GetNumSuffix",('GMT_1QUE-10))+" Round of Group A!",instance_npcname("Geffen Academy Master");
  3452. switch ('GMT_1QUE) {
  3453. case 11:
  3454. enablenpc instance_npcname("Arhi#1");
  3455. donpcevent instance_npcname("Arhi#1")+"::OnVictory";
  3456. break;
  3457. case 12:
  3458. enablenpc instance_npcname("Dio Anemos#1");
  3459. donpcevent instance_npcname("Dio Anemos#1")+"::OnVictory";
  3460. break;
  3461. case 13:
  3462. if ('GMTQuest == 1) {
  3463. enablenpc instance_npcname("Geffen Gangster#n1");
  3464. donpcevent instance_npcname("Geffen Gangster#n1")+"::OnVictory";
  3465. break;
  3466. } else if ('GMTQuest == 2) {
  3467. enablenpc instance_npcname("Geffen Bully#n1");
  3468. donpcevent instance_npcname("Geffen Bully#n1")+"::OnVictory";
  3469. break;
  3470. } else {
  3471. enablenpc instance_npcname("Geffen Shoplifter#n1");
  3472. donpcevent instance_npcname("Geffen Shoplifter#n1")+"::OnVictory";
  3473. break;
  3474. }
  3475. break;
  3476. case 14:
  3477. enablenpc instance_npcname("Faymont#1");
  3478. donpcevent instance_npcname("Faymont#1")+"::OnVictory";
  3479. break;
  3480. case 15:
  3481. enablenpc instance_npcname("Ordre#1");
  3482. donpcevent instance_npcname("Ordre#1")+"::OnVictory";
  3483. break;
  3484. case 16:
  3485. enablenpc instance_npcname("Blut Hase#1");
  3486. donpcevent instance_npcname("Blut Hase#1")+"::OnVictory";
  3487. break;
  3488. case 17:
  3489. enablenpc instance_npcname("Kuro Akuma#1");
  3490. donpcevent instance_npcname("Kuro Akuma#1")+"::OnVictory";
  3491. break;
  3492. case 18:
  3493. enablenpc instance_npcname("Ifodes#1");
  3494. donpcevent instance_npcname("Ifodes#1")+"::OnVictory";
  3495. break;
  3496. case 19:
  3497. enablenpc instance_npcname("Licheniyes#1");
  3498. donpcevent instance_npcname("Licheniyes#1")+"::OnVictory";
  3499. break;
  3500. case 20:
  3501. enablenpc instance_npcname("Odoric#1");
  3502. donpcevent instance_npcname("Odoric#1")+"::OnVictory";
  3503. break;
  3504. case 21:
  3505. enablenpc instance_npcname("Ju#1");
  3506. donpcevent instance_npcname("Ju#1")+"::OnVictory";
  3507. break;
  3508. case 22:
  3509. if ('half) {
  3510. enablenpc instance_npcname("Dwigh#1");
  3511. donpcevent instance_npcname("Dwigh#1")+"::OnVictory";
  3512. break;
  3513. } else {
  3514. enablenpc instance_npcname("Fay Kanavian#1");
  3515. donpcevent instance_npcname("Fay Kanavian#1")+"::OnVictory";
  3516. if ('HomID) {
  3517. killmonster instance_mapname("1@ge_st"),instance_npcname("#GMTHomun")+"::OnHomJR";
  3518. killmonster instance_mapname("1@ge_st"),instance_npcname("#GMTHomun")+"::OnHomDead";
  3519. 'HomID = 0;
  3520. }
  3521. break;
  3522. }
  3523. break;
  3524. case 23:
  3525. enablenpc instance_npcname("Fenrir#f");
  3526. donpcevent instance_npcname("Fenrir#f")+"::OnVictory";
  3527. break;
  3528. }
  3529. end;
  3530. }
  3531. 1@gef,115,105,6 script Loki#e1 4_M_ROKI2,{
  3532. .@n$ = "[ Loki ]";
  3533. if(checkquest(9314) != -1) {
  3534. cutin "ep14_roki01.bmp", 2;
  3535. mes .@n$;
  3536. mes "That's a pretty good score.";
  3537. next;
  3538. mes .@n$;
  3539. mes "Please take this present.";
  3540. setarray .items,501,502,503,504,505,506,608,607;
  3541. getitem .items[rand(0,7)],1;
  3542. erasequest 9314;
  3543. cutin "", 255;
  3544. end;
  3545. }
  3546. cutin "ep14_roki01", 2;
  3547. mes .@n$;
  3548. mes "Let's take a rain check on our match.";
  3549. mes "We'll fight next time we meet...";
  3550. close2;
  3551. cutin "", 255;
  3552. end;
  3553. OnInstanceInit:
  3554. hideonnpc instance_npcname(strnpcinfo(0));
  3555. end;
  3556. OnEnable:
  3557. hideoffnpc instance_npcname(strnpcinfo(0));
  3558. end;
  3559. }
  3560. 1@gef,117,108,6 script Lydia#e1 4_F_LYDIA,{
  3561. .@n$ = "[ Lydia ]";
  3562. if(checkquest(9312) != -1) {
  3563. cutin "lydia_a.bmp",2;
  3564. mes .@n$;
  3565. mes "Good game~!";
  3566. next;
  3567. mes .@n$;
  3568. mes "I want to give you a reward even if you lost~!";
  3569. setarray .items,501,502,503,504,505,506,608,607;
  3570. getitem .items[rand(0,7)],1;
  3571. erasequest 9312;
  3572. cutin "", 255;
  3573. end;
  3574. }
  3575. cutin "lydia_a.bmp",2;
  3576. mes .@n$;
  3577. mes "I hope to see you again.";
  3578. close2;
  3579. cutin "", 255;
  3580. end;
  3581. OnInstanceInit:
  3582. hideonnpc instance_npcname(strnpcinfo(0));
  3583. end;
  3584. OnEnable:
  3585. hideoffnpc instance_npcname(strnpcinfo(0));
  3586. end;
  3587. }
  3588. 1@gef,125,105,4 script Iris#e1 4_F_IRIS,{
  3589. .@n$ = "[ Iris ]";
  3590. if(checkquest(9310) != -1) {
  3591. cutin "hero_iris_01.bmp",2;
  3592. mes .@n$;
  3593. mes "I enjoyed watching your round~";
  3594. mes "Bad luck this year huh?~";
  3595. mes "Wish you luck next year.";
  3596. next;
  3597. mes .@n$;
  3598. mes "Take this to cheer you up.";
  3599. setarray .items,501,502,503,504,505,506,608,607;
  3600. getitem .items[rand(0,7)],1;
  3601. erasequest 9310;
  3602. cutin "", 255;
  3603. end;
  3604. }
  3605. cutin "hero_iris_01.bmp",2;
  3606. mes .@n$;
  3607. mes "Think we'll meet again?";
  3608. close2;
  3609. cutin "", 255;
  3610. end;
  3611. OnInstanceInit:
  3612. hideonnpc instance_npcname(strnpcinfo(0));
  3613. end;
  3614. OnEnable:
  3615. hideoffnpc instance_npcname(strnpcinfo(0));
  3616. end;
  3617. }
  3618. 1@gef,123,108,4 script Chaos#e1 4_M_CHAOS,{
  3619. .@n$ = "[ Chaos ]";
  3620. if(checkquest(9311) != -1) {
  3621. cutin "hero_chaos_01.bmp",2;
  3622. mes .@n$;
  3623. mes "That was a good match~!";
  3624. mes "Not bad at all~!";
  3625. next;
  3626. mes .@n$;
  3627. mes "You have been very impressive today.";
  3628. mes "I want to give you a present~!";
  3629. setarray .items,501,502,503,504,505,506,608,607;
  3630. getitem .items[rand(0,7)],1;
  3631. erasequest 9311;
  3632. cutin "", 255;
  3633. end;
  3634. }
  3635. cutin "hero_chaos_01.bmp",2;
  3636. mes .@n$;
  3637. mes "I hope to see you again next time~!";
  3638. close2;
  3639. cutin "", 255;
  3640. end;
  3641. OnInstanceInit:
  3642. hideonnpc instance_npcname(strnpcinfo(0));
  3643. end;
  3644. OnEnable:
  3645. hideoffnpc instance_npcname(strnpcinfo(0));
  3646. end;
  3647. }
  3648. 1@gef,120,108,4 script Fenrir#e1 4_F_FENRIR,{
  3649. .@n$ = "[ Fenrir ]";
  3650. if(checkquest(9313) != -1) {
  3651. cutin "fenrir_a.bmp",2;
  3652. mes .@n$;
  3653. mes "It was a good game.";
  3654. mes "Hope you get farther next time.";
  3655. next;
  3656. mes .@n$;
  3657. mes "Take this gift.";
  3658. mes "Keep trying harder~!";
  3659. setarray .items,501,502,503,504,505,506,608,607;
  3660. getitem .items[rand(0,7)],1;
  3661. erasequest 9313;
  3662. cutin "", 255;
  3663. end;
  3664. }
  3665. cutin "fenrir_a.bmp",2;
  3666. mes .@n$;
  3667. mes "I hope to see you again adventurer!";
  3668. close2;
  3669. cutin "", 255;
  3670. end;
  3671. OnInstanceInit:
  3672. hideonnpc instance_npcname(strnpcinfo(0));
  3673. end;
  3674. OnEnable:
  3675. hideoffnpc instance_npcname(strnpcinfo(0));
  3676. end;
  3677. }
  3678. // Cutscenes
  3679. //ϯϯϯϯϯϯϯϯϯ
  3680. // Event 1
  3681. //__________________
  3682. 1@gef,159,172,6 duplicate(#gmt_dummy) Geffen Gangster#1 682
  3683. 1@gef,160,176,6 duplicate(#gmt_dummy) Geffen Gangster#3 682
  3684. 1@gef,164,175,6 duplicate(#gmt_dummy) Geffen Gangster#2 682
  3685. 1@gef,168,170,6 duplicate(#gmt_dummy) Geffen Gangster#11 682
  3686. 1@gef,167,169,6 duplicate(#gmt_dummy) Geffen Gangster#22 682
  3687. 1@gef,166,168,6 duplicate(#gmt_dummy) Geffen Gangster#33 682
  3688. 1@gef,170,168,4 duplicate(#gmt_dummy) Iris#Gef1 666
  3689. 1@gef,169,167,2 duplicate(#gmt_dummy) Kafra Employee#1 114
  3690. 1@gef,173,167,4 duplicate(#gmt_dummy) Chaos#Gef1 683
  3691. 1@gef,168,168,4 duplicate(#gmt_dummy) Chaos#Gef2 683
  3692. 1@gef,162,174,4 duplicate(#gmt_dummy) Chaos#3 683
  3693. 1@gef,166,168,0 script #Event 1 start 139,7,7,{
  3694. end;
  3695. OnTouch:
  3696. if ('gmt_event != 0) end;
  3697. if('OnTouchOnce1) end;
  3698. set 'OnTouchOnce1,1;
  3699. hideonnpc instance_npcname("#Event 1 start");
  3700. disablenpc instance_npcname("#Event 1 start");
  3701. hideoffnpc instance_npcname("Geffen Gangster#1");
  3702. hideoffnpc instance_npcname("Geffen Gangster#2");
  3703. hideoffnpc instance_npcname("Geffen Gangster#3");
  3704. hideoffnpc instance_npcname("Kafra Employee#1");
  3705. 'gmt_char_name$ = strcharinfo(0);
  3706. 'GMTQuest = 1;
  3707. //if (checkquest(9284) > -1)
  3708. // erasequest 9284;
  3709. //setquest 9284;
  3710. 'gmt_timer_evt1 = 0;
  3711. initnpctimer;
  3712. end;
  3713. OnTimer1000:
  3714. 'gmt_timer_evt1++;
  3715. switch('gmt_timer_evt1) {
  3716. case 1: npctalk "Geffen Gangster : Hey girl~", instance_npcname("Geffen Gangster#1"); break;
  3717. case 3: npctalk "Geffen Gangster : Whoo~ You have beautiful legs~!", instance_npcname("Geffen Gangster#2"); break;
  3718. case 5: npctalk "Kafra Employee : What are you doing?", instance_npcname("Kafra Employee#1"); break;
  3719. case 10: npctalk "Geffen Gangster : What do you think I'm doing~?", instance_npcname("Geffen Gangster#3"); break;
  3720. case 13: npctalk "Kafra Employee : You creep! Get away~!", instance_npcname("Kafra Employee#1"); break;
  3721. case 15: npctalk "Geffen Gangster : How dare you!", instance_npcname("Geffen Gangster#1"); break;
  3722. case 16:
  3723. hideonnpc instance_npcname("Geffen Gangster#1");
  3724. hideonnpc instance_npcname("Geffen Gangster#2");
  3725. hideonnpc instance_npcname("Geffen Gangster#3");
  3726. hideoffnpc instance_npcname("Geffen Gangster#11");
  3727. hideoffnpc instance_npcname("Geffen Gangster#22");
  3728. hideoffnpc instance_npcname("Geffen Gangster#33");
  3729. break;
  3730. case 19: npctalk "Geffen Gangster : Wanna have some fun?", instance_npcname("Geffen Gangster#11"); break;
  3731. case 20: npctalk "Geffen Gangster : We won't bite!", instance_npcname("Geffen Gangster#22"); break;
  3732. case 21: npctalk "Geffen Gangster : Unless...", instance_npcname("Geffen Gangster#33"); break;
  3733. case 23: npctalk "Kafra Employee : Help me~!!!", instance_npcname("Kafra Employee#1"); break;
  3734. case 25: unittalk 'gmt_account_id, "What can I do? I have to help."; break;
  3735. case 27:
  3736. enablenpc instance_npcname("#Event 1 start 2");
  3737. stopnpctimer;
  3738. end;
  3739. }
  3740. initnpctimer;
  3741. end;
  3742. }
  3743. 1@gef,166,169,0 script #Event 1 start 2 139,5,5,{
  3744. end;
  3745. OnTouch:
  3746. if('OnTouchOnce2) end;
  3747. set 'OnTouchOnce2,1;
  3748. if ('gmt_event != 0) end;
  3749. 'gmt_event = 2;
  3750. hideonnpc instance_npcname("#Event 1 start 2");
  3751. 'gmt_timer_evt1 = 0;
  3752. initnpctimer;
  3753. end;
  3754. OnTimer1000:
  3755. 'gmt_timer_evt1++;
  3756. switch('gmt_timer_evt1) {
  3757. case 1: unittalk 'gmt_account_id, "You bastards! Leave her alone!"; break;
  3758. case 3: npctalk "Geffen Gangster : What's with your attitude?", instance_npcname("Geffen Gangster#11"); break;
  3759. case 4: npctalk "Geffen Gangster : You're such an idiot!", instance_npcname("Geffen Gangster#22"); break;
  3760. case 5: npctalk "Geffen Gangster : Who're you calling bastards!?", instance_npcname("Geffen Gangster#33"); break;
  3761. case 8: npctalk "Kafra Employee : Please help me~!", instance_npcname("Kafra Employee#1"); break;
  3762. case 9:
  3763. unittalk 'gmt_account_id, "Time to teach them a lesson~!";
  3764. hideonnpc instance_npcname("Geffen Gangster#11");
  3765. hideonnpc instance_npcname("Geffen Gangster#22");
  3766. hideonnpc instance_npcname("Geffen Gangster#33");
  3767. monster instance_mapname("1@gef"), 168, 170, "Geffen Gangster", 2568, 1, instance_npcname("#Event 1 start 2") + "::OnMobKilled";
  3768. monster instance_mapname("1@gef"), 167, 169, "Geffen Gangster", 2568, 1, instance_npcname("#Event 1 start 2") + "::OnMobKilled";
  3769. monster instance_mapname("1@gef"), 166, 168, "Geffen Gangster", 2568, 1, instance_npcname("#Event 1 start 2") + "::OnMobKilled";
  3770. stopnpctimer;
  3771. end;
  3772. }
  3773. initnpctimer;
  3774. end;
  3775. OnMobKilled:
  3776. if (mobcount(instance_mapname("1@gef"), instance_npcname("#Event 1 start 2") + "::OnMobKilled") <= 0) {
  3777. hideoffnpc instance_npcname("Geffen Gangster#1");
  3778. hideoffnpc instance_npcname("Geffen Gangster#2");
  3779. hideoffnpc instance_npcname("Geffen Gangster#3");
  3780. //completequest 9284;
  3781. //setquest 9284;
  3782. //completequest 9284;
  3783. //setquest 9285;
  3784. donpcevent instance_npcname("#GefGangsterEvent1")+"::OnStart";
  3785. }
  3786. end;
  3787. }
  3788. 1@gef,166,167,0 script #GefGangsterEvent1 -1,{
  3789. end;
  3790. OnStart:
  3791. 'gmt_timer_evt1 = 0;
  3792. initnpctimer;
  3793. end;
  3794. OnTimer1000:
  3795. 'gmt_timer_evt1++;
  3796. switch('gmt_timer_evt1) {
  3797. case 1:
  3798. specialeffect EF_POTION_BERSERK, AREA, instance_npcname("Geffen Gangster#1");
  3799. specialeffect EF_POTION_BERSERK, AREA, instance_npcname("Geffen Gangster#2");
  3800. specialeffect EF_POTION_BERSERK, AREA, instance_npcname("Geffen Gangster#3");
  3801. npctalk "Geffen Gangster : You're pretty good...!", instance_npcname("Geffen Gangster#1");
  3802. npctalk "Geffen Gangster : We should stop playing around...", instance_npcname("Geffen Gangster#2");
  3803. npctalk "Geffen Gangster : You're gonna pay the price!", instance_npcname("Geffen Gangster#3");
  3804. break;
  3805. case 4: npctalk "Kafra Employee : No... I'm scared...!", instance_npcname("Kafra Employee#1"); break;
  3806. case 5:
  3807. hideoffnpc instance_npcname("Iris#Gef1");
  3808. npctalk "Iris : Hey, you stop right there~!!", instance_npcname("Iris#Gef1");
  3809. break;
  3810. case 8: npctalk "Iris : That's enough.", instance_npcname("Iris#Gef1"); break;
  3811. case 11: npctalk "Iris : I won't forgive you~!", instance_npcname("Iris#Gef1"); break;
  3812. case 13: specialeffect EF_POTION1, AREA, instance_npcname("Iris#Gef1"); break;
  3813. case 14:
  3814. npctalk "Geffen Gangster : Why hello there, are you scared?", instance_npcname("Geffen Gangster#1");
  3815. npctalk "Geffen Gangster : You're pretty cute. Do you want to play with us too?", instance_npcname("Geffen Gangster#2");
  3816. npctalk "Geffen Gangster : Aren't I your type babe?~", instance_npcname("Geffen Gangster#3");
  3817. break;
  3818. case 18:
  3819. hideonnpc instance_npcname("Geffen Gangster#1");
  3820. hideonnpc instance_npcname("Geffen Gangster#2");
  3821. hideonnpc instance_npcname("Geffen Gangster#3");
  3822. hideoffnpc instance_npcname("Geffen Gangster#11");
  3823. hideoffnpc instance_npcname("Geffen Gangster#22");
  3824. hideoffnpc instance_npcname("Geffen Gangster#33");
  3825. break;
  3826. case 22: mapannounce instance_mapname("1@gef"), "Stop right there! Jerks!", 0x00ebff; break;
  3827. case 23: hideoffnpc instance_npcname("Chaos#Gef1"); break;
  3828. case 25: specialeffect EF_POTION_CON, AREA, instance_npcname("Chaos#Gef1"); break;
  3829. case 26: npctalk "Chaos : Are you clowns harassing Iris?", instance_npcname("Chaos#Gef1"); break;
  3830. case 30: npctalk "Chaos : I think I need to teach someone a lesson!", instance_npcname("Chaos#Gef1"); break;
  3831. case 31:
  3832. specialeffect EF_LOCKON, AREA, instance_npcname("Geffen Gangster#11");
  3833. specialeffect EF_LOCKON, AREA, instance_npcname("Geffen Gangster#22");
  3834. specialeffect EF_LOCKON, AREA, instance_npcname("Geffen Gangster#33");
  3835. npctalk "Chaos : Come and fight me!", instance_npcname("Chaos#Gef2");
  3836. hideonnpc instance_npcname("Chaos#Gef1");
  3837. hideoffnpc instance_npcname("Chaos#Gef2");
  3838. break;
  3839. case 34:
  3840. npctalk "Chaos : Bash~!!!", instance_npcname("Chaos#Gef2");
  3841. specialeffect EF_HIT2, AREA, instance_npcname("Chaos#Gef2");
  3842. specialeffect EF_BASH, AREA, instance_npcname("Geffen Gangster#11");
  3843. specialeffect EF_BASH, AREA, instance_npcname("Geffen Gangster#22");
  3844. specialeffect EF_BASH, AREA, instance_npcname("Geffen Gangster#33");
  3845. hideonnpc instance_npcname("Geffen Gangster#11");
  3846. hideonnpc instance_npcname("Geffen Gangster#22");
  3847. hideonnpc instance_npcname("Geffen Gangster#33");
  3848. break;
  3849. case 35:
  3850. hideoffnpc instance_npcname("Geffen Gangster#1");
  3851. hideoffnpc instance_npcname("Geffen Gangster#2");
  3852. hideoffnpc instance_npcname("Geffen Gangster#3");
  3853. break;
  3854. case 36:
  3855. npctalk "Geffen Gangster : Ugh...", instance_npcname("Geffen Gangster#1");
  3856. npctalk "Geffen Gangster : Strong...", instance_npcname("Geffen Gangster#2");
  3857. npctalk "Geffen Gangster : Too strong...", instance_npcname("Geffen Gangster#3");
  3858. break;
  3859. case 39:
  3860. hideonnpc instance_npcname("Chaos#Gef2");
  3861. hideoffnpc instance_npcname("Chaos#3");
  3862. break;
  3863. case 42:
  3864. npctalk "Chaos : I'm not done yet!! Magnum Break~!", instance_npcname("Chaos#3");
  3865. specialeffect EF_MAGNUMBREAK, AREA, instance_npcname("Geffen Gangster#1");
  3866. specialeffect EF_MAGNUMBREAK, AREA, instance_npcname("Geffen Gangster#2");
  3867. specialeffect EF_MAGNUMBREAK, AREA, instance_npcname("Geffen Gangster#3");
  3868. break;
  3869. case 43:
  3870. specialeffect EF_SUI_EXPLOSION, AREA, instance_npcname("Geffen Gangster#1");
  3871. specialeffect EF_SUI_EXPLOSION, AREA, instance_npcname("Geffen Gangster#2");
  3872. specialeffect EF_SUI_EXPLOSION, AREA, instance_npcname("Geffen Gangster#3");
  3873. hideonnpc instance_npcname("Geffen Gangster#1");
  3874. hideonnpc instance_npcname("Geffen Gangster#2");
  3875. hideonnpc instance_npcname("Geffen Gangster#3");
  3876. break;
  3877. case 45: hideonnpc instance_npcname("Chaos#3"); break;
  3878. case 46:
  3879. hideoffnpc instance_npcname("Chaos#Gef1");
  3880. stopnpctimer;
  3881. if (attachrid('gmt_account_id)) {
  3882. cutin "hero_iris_01.bmp", 2;
  3883. mes "[Iris]", "Are you okay?", "There have been so many jerks everywhere we go..."; next;
  3884. cutin "", 255;
  3885. mes "[Kafra]", "Thanks for helping me out.", "Who are you?"; next;
  3886. cutin "hero_iris_01.bmp", 2;
  3887. mes "[Iris]", "I am Iris~", "I am travelling with my good friend Chaos~!"; next;
  3888. mes "[Iris]", "I am not the one you should thank.", "Thank that adventurer, " + strcharinfo(0) + ".", "It could have been much worse."; next;
  3889. cutin "", 255;
  3890. mes "[Kafra]", "Thank you " + strcharinfo(0) + ".", "You saved me."; next;
  3891. cutin "hero_iris_01.bmp", 2;
  3892. mes "[Iris]", "It's pretty rare to meet someone as righteous as " + strcharinfo(0) + "."; next;
  3893. mes "[Iris]", "I'm on my way to see the Geffen Magic Tournament with Chaos.", "Are you on your way there too, " + strcharinfo(0) + "?"; next;
  3894. cutin "hero_chaos_01.bmp", 2;
  3895. mes "[Chaos]", "Yes, you seem strong enough to be in the Tournament."; next;
  3896. mes "[Chaos]", "Just know that Fenrir plans on joining as well, so it won't be that easy."; next;
  3897. mes "[Chaos]", "This is my favorite magic buff scroll, so take it as a token of our appreciation.";
  3898. sc_start4 SC_GEFFEN_MAGIC3, 3600000, 5, 0, 0, 0, 10000, 1;
  3899. atcommand "@effect 220";
  3900. next;
  3901. mes "[Chaos]", "It will be useful in the Magic Tournament.", "Let's go Iris~!", "It's going to start soon~!"; next;
  3902. cutin "hero_iris_01.bmp", 2;
  3903. mes "[Iris]", "Yes~! Go " + strcharinfo(0) + "~", "Kafra, wish us luck~!", "Do your best " + strcharinfo(0) + ".";
  3904. close2;
  3905. cutin "", 255;
  3906. hideonnpc instance_npcname("Iris#Gef1");
  3907. hideonnpc instance_npcname("Chaos#Gef1");
  3908. hideonnpc instance_npcname("Kafra Employee#1");
  3909. sleep2 2000;
  3910. unittalk 'gmt_account_id, "They sure are brave...";
  3911. sleep2 2000;
  3912. unittalk 'gmt_account_id, "Should we apply for the Magic Tournament now?";
  3913. end;
  3914. }
  3915. end;
  3916. }
  3917. initnpctimer;
  3918. end;
  3919. }
  3920. //ϯϯϯϯϯϯϯϯϯ
  3921. // Event 2
  3922. //__________________
  3923. 1@gef,75,172,4 duplicate(#gmt_dummy) Geffen Bully#1 681
  3924. 1@gef,76,170,4 duplicate(#gmt_dummy) Geffen Bully#2 681
  3925. 1@gef,73,173,4 duplicate(#gmt_dummy) Geffen Bully#3 681
  3926. 1@gef,68,171,4 duplicate(#gmt_dummy) Geffen Bully#11 681
  3927. 1@gef,70,171,4 duplicate(#gmt_dummy) Geffen Bully#22 681
  3928. 1@gef,70,169,4 duplicate(#gmt_dummy) Geffen Bully#33 681
  3929. 1@gef,70,167,8 duplicate(#gmt_dummy) Magic Academy Student#11 123
  3930. 1@gef,73,170,8 duplicate(#gmt_dummy) Magic Academy Student#22 123
  3931. 1@gef,69,168,8 duplicate(#gmt_dummy) Loki#1 512
  3932. 1@gef,69,170,8 duplicate(#gmt_dummy) Loki#2 512
  3933. 1@gef,67,170,8 duplicate(#gmt_dummy) Loki#3 512
  3934. 1@gef,68,169,8 duplicate(#gmt_dummy) Fenrir#1 664
  3935. 1@gef,72,169,0 script #Event 2 start 139,7,7,{
  3936. end;
  3937. OnTouch:
  3938. if ('gmt_event != 0) end;
  3939. if('OnTouchOnce3) end;
  3940. set 'OnTouchOnce3,1;
  3941. hideoffnpc instance_npcname("Geffen Bully#1");
  3942. hideoffnpc instance_npcname("Geffen Bully#2");
  3943. hideoffnpc instance_npcname("Geffen Bully#3");
  3944. hideoffnpc instance_npcname("Magic Academy Student#11");
  3945. hideonnpc instance_npcname("#Event 2 start");
  3946. disablenpc instance_npcname("#Event 2 start");
  3947. //setquest 9286;
  3948. 'gmt_timer_evt2 = 2;
  3949. 'gmt_char_name$ = strcharinfo(0);
  3950. 'GMTQuest = 2;
  3951. initnpctimer;
  3952. end;
  3953. OnTimer1000:
  3954. 'gmt_timer_evt2++;
  3955. switch('gmt_timer_evt2) {
  3956. case 5: npctalk "Geffen Bully : Hey you! Yeah you~", instance_npcname("Geffen Bully#1"); break;
  3957. case 7: npctalk "Magic Academy Student : Yea... yeah? Me...? Do you mean me?", instance_npcname("Magic Academy Student#11"); break;
  3958. case 8: npctalk "Geffen Bully : Yes, you! Come over here!", instance_npcname("Geffen Bully#2"); break;
  3959. case 9: npctalk "Geffen Bully : Hurry! You have 3 seconds!", instance_npcname("Geffen Bully#3"); break;
  3960. case 11: npctalk "Geffen Bully : 3...", instance_npcname("Geffen Bully#3"); break;
  3961. case 12: npctalk "Geffen Bully : 2...", instance_npcname("Geffen Bully#3"); break;
  3962. case 13: npctalk "Geffen Bully : 1...", instance_npcname("Geffen Bully#3"); break;
  3963. case 14:
  3964. hideonnpc instance_npcname("Magic Academy Student#11");
  3965. hideoffnpc instance_npcname("Magic Academy Student#22");
  3966. break;
  3967. case 17: npctalk "Geffen Bully : You! How much zeny do you have?", instance_npcname("Geffen Bully#1"); break;
  3968. case 20: npctalk "Magic Academy Student : What... huh?", instance_npcname("Magic Academy Student#22"); break;
  3969. case 23: npctalk "Geffen Bully : Did I stutter? I said, how much zeny do you have! You idiot!", instance_npcname("Geffen Bully#2"); break;
  3970. case 27: npctalk "Magic Academy Student : I don't have any zeny... I'm but a student...", instance_npcname("Magic Academy Student#22"); break;
  3971. case 30: npctalk "Geffen Bully : Do I have to beat the zeny out of you?!", instance_npcname("Geffen Bully#3"); break;
  3972. case 33: npctalk "Magic Academy Student : Ugh... I told you, I don't have any zeny!", instance_npcname("Magic Academy Student#22"); break;
  3973. case 36:
  3974. unittalk 'gmt_account_id, "What should I do? I have to help!";
  3975. enablenpc instance_npcname("#Event 2 start 2");
  3976. hideoffnpc instance_npcname("#Event 2 start 2");
  3977. stopnpctimer;
  3978. end;
  3979. }
  3980. initnpctimer;
  3981. end;
  3982. }
  3983. 1@gef,72,170,0 script #Event 2 start 2 139,3,3,{
  3984. end;
  3985. OnTouch:
  3986. if ('gmt_event != 0) end;
  3987. if('OnTouchOnce4) end;
  3988. set 'OnTouchOnce4,1;
  3989. hideonnpc instance_npcname("#Event 2 start 2");
  3990. 'gmt_timer_evt2 = 0;
  3991. 'gmt_event = 2;
  3992. initnpctimer;
  3993. end;
  3994. OnTimer1000:
  3995. 'gmt_timer_evt2++;
  3996. switch('gmt_timer_evt2) {
  3997. case 2: unittalk 'gmt_account_id, "You! Bullies! Stop!"; break;
  3998. case 3: npctalk "Geffen Bully : You ready for a beating?", instance_npcname("Geffen Bully#1"); break;
  3999. case 4: npctalk "Geffen Bully : I've been waiting to have some fun...", instance_npcname("Geffen Bully#2"); break;
  4000. case 5: npctalk "Geffen Bully : Say hello to my little friends!", instance_npcname("Geffen Bully#3"); break;
  4001. case 7: npctalk "Magic Academy Student : Please help me~", instance_npcname("Magic Academy Student#22"); break;
  4002. case 9:
  4003. unittalk 'gmt_account_id, "I have to help!";
  4004. attachrid 'gmt_account_id;
  4005. specialeffect2 EF_LOCKON;
  4006. detachrid;
  4007. monster instance_mapname("1@gef"), 75, 172, "Geffen Bully", 2567, 1, instance_npcname("#Event 2 start 2") + "::OnMobKilled";
  4008. monster instance_mapname("1@gef"), 76, 170, "Geffen Bully", 2567, 1, instance_npcname("#Event 2 start 2") + "::OnMobKilled";
  4009. monster instance_mapname("1@gef"), 73, 173, "Geffen Bully", 2567, 1, instance_npcname("#Event 2 start 2") + "::OnMobKilled";
  4010. hideonnpc instance_npcname("Geffen Bully#1");
  4011. hideonnpc instance_npcname("Geffen Bully#2");
  4012. hideonnpc instance_npcname("Geffen Bully#3");
  4013. stopnpctimer;
  4014. end;
  4015. }
  4016. initnpctimer;
  4017. end;
  4018. OnMobKilled:
  4019. if (mobcount(instance_mapname("1@gef"), instance_npcname("#Event 2 start 2") + "::OnMobKilled") <= 0) {
  4020. hideoffnpc instance_npcname("Geffen Bully#1");
  4021. hideoffnpc instance_npcname("Geffen Bully#2");
  4022. hideoffnpc instance_npcname("Geffen Bully#3");
  4023. //completequest 9286;
  4024. //setquest 9286;
  4025. //completequest 9286;
  4026. //setquest 9287;
  4027. sleep2 500;
  4028. specialeffect EF_POTION_BERSERK, AREA, instance_npcname("Geffen Bully#1");
  4029. specialeffect EF_POTION_BERSERK, AREA, instance_npcname("Geffen Bully#2");
  4030. specialeffect EF_POTION_BERSERK, AREA, instance_npcname("Geffen Bully#3");
  4031. $gmt_timer_evt2 = -1;
  4032. while($gmt_timer_evt2 < 50) {
  4033. $gmt_timer_evt2++;
  4034. switch($gmt_timer_evt2) {
  4035. case 0:
  4036. npctalk "Geffen Bully : He has surprisingly good skills.", instance_npcname("Geffen Bully#1");
  4037. npctalk "Geffen Bully : This isn't good...", instance_npcname("Geffen Bully#2");
  4038. npctalk "Geffen Bully : 1 slap for 10 wins. No... You get 10 slaps for 1 win.", instance_npcname("Geffen Bully#3");
  4039. break;
  4040. case 3:
  4041. hideonnpc instance_npcname("Magic Academy Student#22");
  4042. hideoffnpc instance_npcname("Magic Academy Student#11");
  4043. sleep2 500;
  4044. npctalk "Magic Academy Student : I'm scared~! Help me...", instance_npcname("Magic Academy Student#11");
  4045. break;
  4046. case 6: hideoffnpc instance_npcname("Fenrir#1"); break;
  4047. case 7: npctalk "Fenrir : Hello. Are you going to stop now?", instance_npcname("Fenrir#1"); break;
  4048. case 10: npctalk "Fenrir : This is really uncomfortable. I can't just sit back and watch.", instance_npcname("Fenrir#1"); break;
  4049. case 13:
  4050. npctalk "Fenrir : Stop harassing her. I won't forgive you.", instance_npcname("Fenrir#1");
  4051. specialeffect EF_POTION1, AREA, instance_npcname("Fenrir#1");
  4052. break;
  4053. case 15: npctalk "Geffen Bully : Hey~ You look rich, you must have a lot of zeny right?", instance_npcname("Geffen Bully#1"); break;
  4054. case 17: npctalk "Geffen Bully : What's a rich girl like you doing around here?~", instance_npcname("Geffen Bully#2"); break;
  4055. case 19: npctalk "Geffen Bully : Hey! Rich girl~! How much zeny do you got?", instance_npcname("Geffen Bully#3"); break;
  4056. case 22:
  4057. hideonnpc instance_npcname("Geffen Bully#1");
  4058. hideonnpc instance_npcname("Geffen Bully#2");
  4059. hideonnpc instance_npcname("Geffen Bully#3");
  4060. hideoffnpc instance_npcname("Geffen Bully#11");
  4061. hideoffnpc instance_npcname("Geffen Bully#22");
  4062. hideoffnpc instance_npcname("Geffen Bully#33");
  4063. break;
  4064. case 23:
  4065. emotion ET_SURPRISE, getnpcid(0, instance_npcname("Fenrir#1"));
  4066. mapannounce instance_mapname("1@gef"), "Take your dirty hands off of me.", 0x00ebff;
  4067. break;
  4068. case 25:
  4069. hideoffnpc instance_npcname("Loki#1");
  4070. sleep2 500;
  4071. specialeffect EF_POISONREACT, AREA, instance_npcname("Loki#1");
  4072. sleep2 1500;
  4073. specialeffect EF_SONICBLOW, AREA, instance_npcname("Loki#1");
  4074. npctalk "Loki : Hmph!", instance_npcname("Loki#1");
  4075. sleep2 500;
  4076. specialeffect EF_VENOMDUST, AREA, instance_npcname("Loki#1");
  4077. specialeffect EF_SONICBLOWHIT, AREA, instance_npcname("Geffen Bully#33");
  4078. specialeffect EF_SONICBLOW2, AREA, instance_npcname("Geffen Bully#33");
  4079. sleep2 330;
  4080. specialeffect EF_NAPALMBEAT, AREA, instance_npcname("Geffen Bully#33");
  4081. hideonnpc instance_npcname("Geffen Bully#33");
  4082. hideoffnpc instance_npcname("Geffen Bully#3");
  4083. break;
  4084. case 26: npctalk "Geffen Bully : Yikes!", instance_npcname("Geffen Bully#3"); break;
  4085. case 27:
  4086. hideonnpc instance_npcname("Loki#1");
  4087. hideoffnpc instance_npcname("Loki#2");
  4088. sleep2 750;
  4089. npctalk "Loki : Take this.", instance_npcname("Loki#2");
  4090. sleep2 500;
  4091. specialeffect EF_STRIPARMOR, AREA, instance_npcname("Geffen Bully#22");
  4092. specialeffect EF_SONICBLOWHIT, AREA, instance_npcname("Geffen Bully#22");
  4093. specialeffect EF_SONICBLOW2, AREA, instance_npcname("Geffen Bully#22");
  4094. sleep2 330;
  4095. specialeffect EF_NAPALMBEAT, AREA, instance_npcname("Geffen Bully#22");
  4096. hideonnpc instance_npcname("Geffen Bully#22");
  4097. hideoffnpc instance_npcname("Geffen Bully#2");
  4098. break;
  4099. case 28:
  4100. npctalk "Geffen Bully : Ugh, uuurgh! What the?!", instance_npcname("Geffen Bully#2");
  4101. hideonnpc instance_npcname("Loki#2");
  4102. hideoffnpc instance_npcname("Loki#3");
  4103. sleep2 750;
  4104. npctalk "Loki : Change your mind yet?", instance_npcname("Loki#3");
  4105. sleep2 500;
  4106. specialeffect EF_STRIPSHIELD, AREA, instance_npcname("Geffen Bully#11");
  4107. specialeffect EF_SONICBLOWHIT, AREA, instance_npcname("Geffen Bully#11");
  4108. specialeffect EF_SONICBLOW2, AREA, instance_npcname("Geffen Bully#11");
  4109. sleep2 330;
  4110. specialeffect EF_NAPALMBEAT, AREA, instance_npcname("Geffen Bully#11");
  4111. hideonnpc instance_npcname("Geffen Bully#11");
  4112. hideoffnpc instance_npcname("Geffen Bully#1");
  4113. break;
  4114. case 29: npctalk "Geffen Bully : Ugh, urgh, urgh! GAAAAAAH!!", instance_npcname("Geffen Bully#1"); break;
  4115. case 31: npctalk "Loki : If you don't want to taste my Katar, leave now.", instance_npcname("Loki#3"); break;
  4116. case 34: npctalk "Loki : Get out of my sight.", instance_npcname("Loki#3"); break;
  4117. case 36: npctalk "Geffen Bully : Oh, oh! Time to go!", instance_npcname("Geffen Bully#1"); break;
  4118. case 38: npctalk "Geffen Bully : Please... spare my life...", instance_npcname("Geffen Bully#2"); break;
  4119. case 40: npctalk "Geffen Bully : Let's get away!~!!!!!", instance_npcname("Geffen Bully#3"); break;
  4120. case 41:
  4121. npctalk "Loki : You have 10 seconds.", instance_npcname("Loki#3");
  4122. specialeffect EF_SONICBLOW, AREA, instance_npcname("Loki#3");
  4123. break;
  4124. case 43:
  4125. specialeffect EF_SLOWPOISON, AREA, instance_npcname("Loki#3");
  4126. npctalk "Loki : 10... 9...", instance_npcname("Loki#3");
  4127. sleep2 500;
  4128. specialeffect EF_STRIPWEAPON, AREA, instance_npcname("Loki#3");
  4129. specialeffect EF_POISONREACT, AREA, instance_npcname("Loki#3");
  4130. specialeffect EF_POISONREACT2, AREA, instance_npcname("Loki#3");
  4131. break;
  4132. case 45:
  4133. specialeffect EF_ENCHANTPOISON, AREA, instance_npcname("Loki#3");
  4134. sleep2 500;
  4135. emotion ET_KIK, getnpcid(0, instance_npcname("Loki#3"));
  4136. npctalk "Loki : 3... 2...", instance_npcname("Loki#3");
  4137. sleep2 500;
  4138. npctalk "Geffen Bully : What?! You went from from 9 to 3 seconds!!", instance_npcname("Geffen Bully#1");
  4139. npctalk "Geffen Bully : Screw this, let's run~!!!!!!!!!", instance_npcname("Geffen Bully#2");
  4140. npctalk "Geffen Bully : I will have my revenge~!!", instance_npcname("Geffen Bully#3");
  4141. break;
  4142. case 46:
  4143. specialeffect EF_SOULBREAKER, AREA, instance_npcname("Loki#3");
  4144. specialeffect EF_VENOMDUST, AREA, instance_npcname("Loki#3");
  4145. npctalk "Loki : 1...", instance_npcname("Loki#3");
  4146. sleep2 330;
  4147. hideonnpc instance_npcname("Geffen Bully#1");
  4148. hideonnpc instance_npcname("Geffen Bully#2");
  4149. hideonnpc instance_npcname("Geffen Bully#3");
  4150. break;
  4151. case 48:
  4152. hideonnpc instance_npcname("Loki#3");
  4153. hideoffnpc instance_npcname("Loki#1");
  4154. break;
  4155. case 49:
  4156. attachrid('gmt_account_id);
  4157. cutin "fenrir_a.bmp", 2;
  4158. mes "[Fenrir]", "Are you okay?", "Where are all these punks coming from anyways?"; next;
  4159. cutin "", 255;
  4160. mes "[Magic Academy Student]", "Thanks for helping me.", "Who are you?"; next;
  4161. cutin "fenrir_a.bmp", 2;
  4162. mes "[Fenrir]", "I am Fenris Fenrir."; next;
  4163. mes "[Fenrir]", "Thank " + strcharinfo(0) + ".", "It would have been much worse if "+('sex?"he":"she")+" hadn't shown up."; next;
  4164. cutin "", 255;
  4165. mes "[Magic Academy Student]", "Thank you so much " + strcharinfo(0) + ".", "You saved me."; next;
  4166. cutin "fenrir_a.bmp", 2;
  4167. mes "[Fenrir]", "You don't meet many people like " + strcharinfo(0) + " these days.", "You're a good person."; next;
  4168. mes "[Fenrir]", "I was on the way to register for the Geffen Magic Tournament with Loki."; next;
  4169. mes "[Fenrir]", "I have a feeling that you will register too " + strcharinfo(0) + ".", "I hope to meet you in the finals of the Tournament."; next;
  4170. cutin "ep14_roki01.bmp", 2;
  4171. mes "[Loki]", "Oh yeah?", "" + strcharinfo(0) + " is going to register?", "That's interesting."; next;
  4172. mes "[Loki]", "I have a spare magic buff scroll.", "I will give it to you as a present.";
  4173. sc_start4 SC_GEFFEN_MAGIC2, 3600000, 5, 0, 0, 0, 10000, 1;
  4174. atcommand "@effect 220";
  4175. next;
  4176. mes "[Loki]", "I doubt that you can beat Fenrir at the Tournament.", "Her fighting prowess is unmatched."; next;
  4177. mes "[Loki]", "Fenrir, it's time to register.", "Let's hurry."; next;
  4178. cutin "fenrir_a.bmp", 2;
  4179. mes "[Fenrir]", "Yes~! I almost forgot.", "It was nice meeting you " + strcharinfo(0) + "~!"; next;
  4180. mes "[Fenrir]", "I hope to meet you in combat soon.";
  4181. close2;
  4182. cutin "", 255;
  4183. hideonnpc instance_npcname("Fenrir#1");
  4184. hideonnpc instance_npcname("Loki#1");
  4185. sleep2 1000;
  4186. hideonnpc instance_npcname("Magic Academy Student#11");
  4187. sleep2 3000;
  4188. unittalk $gmt_account_id, "It was fun meeting Fenrir.";
  4189. sleep2 2000;
  4190. unittalk $gmt_account_id, "I should register for the Magic Tournament.";
  4191. end;
  4192. }
  4193. sleep2 1000;
  4194. }
  4195. }
  4196. end;
  4197. }
  4198. //ϯϯϯϯϯϯϯϯϯ
  4199. // Event 3
  4200. //__________________
  4201. 1@gef,111,146,4 duplicate(#gmt_dummy) Geffen Resident#1 67
  4202. 1@gef,106,141,4 duplicate(#gmt_dummy) Geffen Resident#2 67
  4203. 1@gef,104,141,6 duplicate(#gmt_dummy) Lydia#1 10010
  4204. 1@gef,108,139,6 script Geffen Shoplifter#1 671,4,4,{
  4205. OnTouch:
  4206. if ('gmt_chase != 1) end;
  4207. if ('gmt_event != 0) end;
  4208. 'gmt_event = 3;
  4209. unittalk 'gmt_account_id, "Thief! Give that zeny back!! Don't move!!";
  4210. sleep2 3000;
  4211. npctalk "Geffen Shoplifter : Threatening me?~!! Yeah, boo hoo! You really scare me~!!", instance_npcname("Geffen Shoplifter#1");
  4212. sleep2 2000;
  4213. npctalk "Geffen Shoplifter : Catch me if you can~!!", instance_npcname("Geffen Shoplifter#1");
  4214. sleep2 2000;
  4215. npctalk "Geffen Resident : Please find my paycheck...", instance_npcname("Geffen Resident#1");
  4216. sleep2 3000;
  4217. unittalk 'gmt_account_id, "I have you now!";
  4218. hideonnpc instance_npcname("Geffen Shoplifter#1");
  4219. hideoffnpc instance_npcname("Geffen Shoplifter#2");
  4220. 'gmt_chase = 2;
  4221. 'GMTQuest = 3;
  4222. end;
  4223. }
  4224. 1@gef,107,126,4 script Geffen Shoplifter#2 671,4,4,{
  4225. end;
  4226. OnTouch:
  4227. if ('gmt_chase != 2) end;
  4228. if('OnTouchOnce5) end;
  4229. set 'OnTouchOnce5,1;
  4230. if (Zeny > 2000) Zeny -= 2000;
  4231. npctalk "Geffen Shoplifter : Are you following me? Thanks for the 2,000 zeny~!", instance_npcname("Geffen Shoplifter#2");
  4232. atcommand "@effect 18";
  4233. sleep2 3000;
  4234. unittalk 'gmt_account_id, "Hey~ Stop right there! Thief!";
  4235. sleep2 3000;
  4236. hideonnpc instance_npcname("Geffen Shoplifter#2");
  4237. hideoffnpc instance_npcname("Geffen Shoplifter#3");
  4238. 'gmt_chase = 3;
  4239. end;
  4240. }
  4241. 1@gef,111,118,4 script Geffen Shoplifter#3 671,4,4,{
  4242. end;
  4243. OnTouch:
  4244. if ('gmt_chase != 3) end;
  4245. if('OnTouchOnce6) end;
  4246. set 'OnTouchOnce6,1;
  4247. if (Zeny > 2000) Zeny -= 2000;
  4248. npctalk "Geffen Shoplifter : Woohoo~ Catch me if you can~! 4,000 large! Easy~!", instance_npcname("Geffen Shoplifter#3");
  4249. atcommand "@effect 18";
  4250. sleep2 3000;
  4251. unittalk 'gmt_account_id, "I will beat you down once I catch you!";
  4252. sleep2 3000;
  4253. hideonnpc instance_npcname("Geffen Shoplifter#3");
  4254. hideoffnpc instance_npcname("Geffen Shoplifter#11");
  4255. 'gmt_chase = 11;
  4256. end;
  4257. }
  4258. 1@gef,123,111,4 script Geffen Shoplifter#11 671,4,4,{
  4259. end;
  4260. OnTouch:
  4261. if ('gmt_chase != 11) end;
  4262. if('OnTouchOnce7) end;
  4263. set 'OnTouchOnce7,1;
  4264. if (Zeny > 2000) Zeny -= 2000;
  4265. npctalk "Geffen Shoplifter : You're annoying me~! I like it! 6,000 zeny~!", instance_npcname("Geffen Shoplifter#11");
  4266. atcommand "@effect 18";
  4267. sleep2 3000;
  4268. unittalk 'gmt_account_id, "Stop right there you filthy thief!";
  4269. sleep2 3000;
  4270. hideonnpc instance_npcname("Geffen Shoplifter#11");
  4271. hideoffnpc instance_npcname("Geffen Shoplifter#22");
  4272. 'gmt_chase = 22;
  4273. end;
  4274. }
  4275. 1@gef,129,121,4 script Geffen Shoplifter#22 671,4,4,{
  4276. end;
  4277. OnTouch:
  4278. if ('gmt_chase != 22) end;
  4279. if('OnTouchOnce8) end;
  4280. set 'OnTouchOnce8,1;
  4281. if (Zeny > 2000) Zeny -= 2000;
  4282. npctalk "Geffen Shoplifter : Calling me a rat? Yoink~ 8,000 zeny~!", instance_npcname("Geffen Shoplifter#22");
  4283. atcommand "@effect 18";
  4284. sleep2 3000;
  4285. unittalk 'gmt_account_id, "Would you stop?!";
  4286. sleep2 3000;
  4287. hideonnpc instance_npcname("Geffen Shoplifter#22");
  4288. hideoffnpc instance_npcname("Geffen Shoplifter#33");
  4289. 'gmt_chase = 33;
  4290. end;
  4291. }
  4292. 1@gef,114,137,4 script Geffen Shoplifter#33 671,4,4,{
  4293. end;
  4294. OnTouch:
  4295. if ('gmt_chase != 33) end;
  4296. if('OnTouchOnce9) end;
  4297. set 'OnTouchOnce9,1;
  4298. if (Zeny > 2000) Zeny -= 2000;
  4299. npctalk "Geffen Shoplifter : Stop following me. It's driving me crazy! 10,000 zeny~!", instance_npcname("Geffen Shoplifter#33");
  4300. atcommand "@effect 18";
  4301. sleep2 3000;
  4302. unittalk 'gmt_account_id, "You can't run away anymore. I've got you now!";
  4303. sleep2 3000;
  4304. npctalk "Geffen Shoplifter : You really piss me off! I'm gonna have to beat you down!", instance_npcname("Geffen Shoplifter#33");
  4305. sleep2 3000;
  4306. hideonnpc instance_npcname("Geffen Shoplifter#33");
  4307. monster instance_mapname("1@gef"), 114, 137, "Geffen Shoplifter", 2914, 1, instance_npcname("Geffen Shoplifter#33") + "::OnMobKilled";
  4308. end;
  4309. OnMobKilled:
  4310. hideoffnpc instance_npcname("Geffen Shoplifter#1");
  4311. //completequest 9288;
  4312. //setquest 9288; // State = 1, Time = 0
  4313. //completequest 9288;
  4314. //setquest 9289; // State = 1, Time = 0
  4315. 'gmt_timer_evt3 = 0;
  4316. initnpctimer;
  4317. end;
  4318. OnTimer1000:
  4319. 'gmt_timer_evt3++;
  4320. switch('gmt_timer_evt3) {
  4321. case 1: specialeffect EF_PATTACK, AREA, instance_npcname("Geffen Shoplifter#1"); break;
  4322. case 4: npctalk "Geffen Shoplifter : Ugh, I shouldn't fight toe to toe with anyone...", instance_npcname("Geffen Shoplifter#1"); break;
  4323. case 7: unittalk 'gmt_account_id, "Don't want to be in a fair fight, huh thief?"; break;
  4324. case 10: npctalk "Geffen Shoplifter : Umm... stealing zeny is my job~ I did nothing wrong~!", instance_npcname("Geffen Shoplifter#1"); break;
  4325. case 13: unittalk 'gmt_account_id, "What? You're stealing from needy people."; break;
  4326. case 16: npctalk "Geffen Shoplifter : Well, it has been fun~! I'm outta here~", instance_npcname("Geffen Shoplifter#1"); break;
  4327. case 17: unittalk 'gmt_account_id, "Hey! Give back what you stole thief!"; break;
  4328. case 20: npctalk "Geffen Shoplifter : Hahaha~! You'll get nothing~!", instance_npcname("Geffen Shoplifter#1"); break;
  4329. case 22: hideonnpc instance_npcname("Geffen Shoplifter#1"); break;
  4330. case 24:
  4331. if (attachrid('gmt_account_id)) {
  4332. mes "[Geffen Resident]", "My monthly salary...", "What am I gonna do?", "I have to eat..."; next;
  4333. mes "[Geffen Resident]", "You're not a thief are you?", "I don't know what to do about my zeny being stolen."; next;
  4334. mes "[Lydia]", "Woo, yeah, what a day~", "It seems like all these thieves in Geffen are rich.", "They may be good at stealing but they're easy to steal from too.";
  4335. cutin "lydia_a.bmp", 0;
  4336. next;
  4337. hideoffnpc instance_npcname("Lydia#1");
  4338. mes "[Lydia]", "Hey, why are you crying?", "What happened?"; next;
  4339. mes "You tell Lydia about the shoplifters.";
  4340. cutin "", 255;
  4341. next;
  4342. mes "[Geffen Resident]", "What am I going to do?", "*sobbing*"; next;
  4343. mes "[Lydia]", "(I stole this envelope from one of those thug-looking guys)", "....", "How much zeny was stolen from you?";
  4344. cutin "lydia_a.bmp", 0;
  4345. next;
  4346. mes "[Geffen Resident]", "1,000,000 zeny!", "It's everything that I had.";
  4347. cutin "", 255;
  4348. next;
  4349. mes "[Lydia]", "Whoa! That's the same amount as what's in this envelope that I stole from that shoplifter.";
  4350. cutin "lydia_a.bmp", 0;
  4351. next;
  4352. mes "[Lydia]", "Maybe this is what you are looking for?", "Check it out!"; next;
  4353. mes "[Geffen Resident]", "Let me see...", "Wait, this has to be my zeny!", "Thank you very much for finding it!";
  4354. cutin "", 255;
  4355. next;
  4356. hideonnpc instance_npcname("Geffen Resident#1");
  4357. hideoffnpc instance_npcname("Geffen Resident#2");
  4358. mes "[Lydia]", "Well... Um, that is...", "I didn't say I was gonna give it back to you...";
  4359. cutin "lydia_a.bmp", 0;
  4360. next;
  4361. mes "[Geffen Resident]", "Thank you very much!!", "I will never forget your kindness~!", "I'm putting it in the bank right now!", "Have a good day~!!! Zap~!!";
  4362. cutin "", 255;
  4363. next;
  4364. hideonnpc instance_npcname("Geffen Resident#2");
  4365. mes "[Lydia]", "......", "I guess... I did a good thing...?";
  4366. cutin "lydia_a.bmp", 0;
  4367. next;
  4368. mes "You tell Lydia about your stolen zeny.";
  4369. cutin "", 255;
  4370. next;
  4371. mes "[Lydia]";
  4372. mes "So, are you asking me for more zeny?";
  4373. mes "Zeny doesn't grow on trees you know!";
  4374. cutin "lydia_a.bmp", 0;
  4375. next;
  4376. mes "[Lydia]";
  4377. mes "I mean it is hers so...";
  4378. mes "I'll just consider it a donation to the Geffen Magic Tournament.";
  4379. next;
  4380. mes "[Lydia]";
  4381. mes "Well, I can't give away any Tournament participants any zeny...";
  4382. next;
  4383. mes "[Lydia]";
  4384. mes "I stole this magic scroll from another thief, so don't worry about taking it.";
  4385. sc_start4 SC_GEFFEN_MAGIC1, 3600000, 5, 0, 0, 0, 10000, 1; // flag = 1
  4386. atcommand "@effect 220";
  4387. next;
  4388. mes "[Lydia]";
  4389. mes "I need to get to the Geffen Magic Tournament.";
  4390. mes "Gotta go!";
  4391. close2;
  4392. cutin "", 255;
  4393. hideonnpc instance_npcname("Lydia#1");
  4394. sleep2 2000;
  4395. unittalk 'gmt_account_id, "She disappeared before I could thank her...";
  4396. sleep2 3000;
  4397. unittalk 'gmt_account_id, "She seems like a good person...";
  4398. sleep2 3000;
  4399. unittalk 'gmt_account_id, "Well, time to register for the Magic Tournament.";
  4400. stopnpctimer;
  4401. end;
  4402. }
  4403. stopnpctimer;
  4404. end;
  4405. }
  4406. initnpctimer;
  4407. end;
  4408. }
  4409. 1@gef,114,143,0 script #Event 3 start 139,5,5,{
  4410. end;
  4411. OnTouch:
  4412. if ('gmt_event != 0) end;
  4413. if('OnTouchOnce10) end;
  4414. set 'OnTouchOnce10,1;
  4415. 'gmt_char_name$ = strcharinfo(0);
  4416. hideonnpc instance_npcname("#Event 3 start");
  4417. disablenpc instance_npcname("#Event 3 start");
  4418. hideoffnpc instance_npcname("Geffen Resident#1");
  4419. //setquest 9288;
  4420. 'gmt_timer_evt3 = 0;
  4421. initnpctimer;
  4422. end;
  4423. OnTimer1000:
  4424. 'gmt_timer_evt3++;
  4425. switch('gmt_timer_evt3) {
  4426. case 1: npctalk "Geffen Resident : A thief...! A thief~!!", instance_npcname("Geffen Resident#1"); break;
  4427. case 3: npctalk "Geffen Resident : Help me~!! Someone stole my paycheck!", instance_npcname("Geffen Resident#1"); break;
  4428. case 6:
  4429. hideoffnpc instance_npcname("Geffen Shoplifter#1");
  4430. 'gmt_chase = 1;
  4431. break;
  4432. case 8: npctalk "Geffen Shoplifter : Damn... Someone saw me...", instance_npcname("Geffen Shoplifter#1"); break;
  4433. case 11:
  4434. unittalk 'gmt_account_id, "What can I do? I gotta help.";
  4435. stopnpctimer;
  4436. end;
  4437. }
  4438. initnpctimer;
  4439. end;
  4440. }
  4441. 1@gef,0,0,0 script #gmt_main -1,{
  4442. end;
  4443. OnInstanceInit:
  4444. // Event 1
  4445. hideonnpc instance_npcname("Geffen Gangster#1");
  4446. hideonnpc instance_npcname("Geffen Gangster#2");
  4447. hideonnpc instance_npcname("Geffen Gangster#3");
  4448. hideonnpc instance_npcname("Kafra Employee#1");
  4449. hideonnpc instance_npcname("Geffen Gangster#11");
  4450. hideonnpc instance_npcname("Geffen Gangster#22");
  4451. hideonnpc instance_npcname("Geffen Gangster#33");
  4452. disablenpc instance_npcname("#Event 1 start 2");
  4453. hideonnpc instance_npcname("Chaos#Gef1");
  4454. hideonnpc instance_npcname("Chaos#Gef2");
  4455. hideonnpc instance_npcname("Chaos#3");
  4456. hideonnpc instance_npcname("Iris#Gef1");
  4457. // Event 2
  4458. hideonnpc instance_npcname("Geffen Bully#1");
  4459. hideonnpc instance_npcname("Geffen Bully#2");
  4460. hideonnpc instance_npcname("Geffen Bully#3");
  4461. hideonnpc instance_npcname("Geffen Bully#11");
  4462. hideonnpc instance_npcname("Geffen Bully#22");
  4463. hideonnpc instance_npcname("Geffen Bully#33");
  4464. hideonnpc instance_npcname("Magic Academy Student#11");
  4465. hideonnpc instance_npcname("Magic Academy Student#22");
  4466. hideonnpc instance_npcname("Loki#1");
  4467. hideonnpc instance_npcname("Loki#2");
  4468. hideonnpc instance_npcname("Loki#3");
  4469. hideonnpc instance_npcname("Fenrir#1");
  4470. disablenpc instance_npcname("#Event 2 start 2");
  4471. // Event 3
  4472. hideonnpc instance_npcname("Geffen Resident#1");
  4473. hideonnpc instance_npcname("Geffen Resident#2");
  4474. hideonnpc instance_npcname("Geffen Shoplifter#1");
  4475. hideonnpc instance_npcname("Geffen Shoplifter#2");
  4476. hideonnpc instance_npcname("Geffen Shoplifter#3");
  4477. hideonnpc instance_npcname("Geffen Shoplifter#11");
  4478. hideonnpc instance_npcname("Geffen Shoplifter#22");
  4479. hideonnpc instance_npcname("Geffen Shoplifter#33");
  4480. hideonnpc instance_npcname("Geffen Shoplifter#33");
  4481. hideonnpc instance_npcname("Lydia#1");
  4482. hideonnpc instance_npcname("Male Adventurer#gef");
  4483. hideonnpc instance_npcname("Handsome Adventurer#gef");
  4484. end;
  4485. }
  4486. 1@gef mapflag nowarp
  4487. 1@gef mapflag nomemo
  4488. 1@gef mapflag noteleport
  4489. 1@gef mapflag monster_noteleport
  4490. 1@gef mapflag nosave
  4491. 1@gef mapflag nobranch
  4492. 1@gef mapflag nowarpto
  4493. 1@gef mapflag noicewall
  4494. 1@gef mapflag restricted 9
  4495. 1@ge_st mapflag nowarp
  4496. 1@ge_st mapflag nomemo
  4497. 1@ge_st mapflag noteleport
  4498. 1@ge_st mapflag monster_noteleport
  4499. 1@ge_st mapflag nosave
  4500. 1@ge_st mapflag nobranch
  4501. 1@ge_st mapflag nowarpto
  4502. 1@ge_st mapflag noicewall
  4503. 1@ge_st mapflag restricted 9
  4504. 1@gef_in mapflag nowarp
  4505. 1@gef_in mapflag nomemo
  4506. 1@gef_in mapflag noteleport
  4507. 1@gef_in mapflag monster_noteleport
  4508. 1@gef_in mapflag nosave
  4509. 1@gef_in mapflag nobranch
  4510. 1@gef_in mapflag nowarpto
  4511. 1@gef_in mapflag noicewall
  4512. 1@gef_in mapflag restricted 9