GeffenMagicTournament.txt 168 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859
  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 "<ITEM>"+getitemname(.@item)+"<INFO>"+.@item+"</INFO></ITEM>";
  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 "<ITEM>"+getitemname(.@item)+"<INFO>"+.@item+"</INFO></ITEM>";
  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 "<ITEM>"+getitemname(.@item)+"<INFO>"+.@item+"</INFO></ITEM>";
  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 instance_npcname(strnpcinfo(0));
  781. end;
  782. OnEnable:
  783. enablenpc instance_npcname(strnpcinfo(0));
  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 instance_npcname(strnpcinfo(0));
  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 ('HomID != 0) {
  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. unitwarp 'HomID, instance_mapname("1@ge_st"),.@bossdata[6],.@bossdata[7];
  2112. }
  2113. }
  2114. else {
  2115. if (mobcount(instance_mapname("1@ge_st"),instance_npcname("#GMTHomun")+"::OnHomJR")) { end; }
  2116. getunitdata 'BossID,.@bossdata;
  2117. unittalk 'BossID, "Alphonse, I'll revive you!";
  2118. 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";
  2119. }
  2120. end;
  2121. OnHomDead:
  2122. initnpctimer;
  2123. 'HomID = 0;
  2124. end;
  2125. OnHomJR:
  2126. end;
  2127. OnEnd:
  2128. stopnpctimer;
  2129. if ('HomID) {
  2130. killmonster instance_mapname("1@ge_st"),instance_npcname("#GMTHomun")+"::OnHomJR";
  2131. killmonster instance_mapname("1@ge_st"),instance_npcname("#GMTHomun")+"::OnHomDead";
  2132. }
  2133. disablenpc instance_npcname("#GMTHomun");
  2134. end;
  2135. }
  2136. 1@ge_st,111,57,4 script Tournament Healer#1 569,{ //83649 (hide)
  2137. mes "[ Tournament Healer ]";
  2138. mes "The previous round's winner can receive a heal from me.";
  2139. next;
  2140. if (select ("Heal", "Cancel") == 2) {
  2141. mes "[ Tournament Healer ]";
  2142. mes "Guess you don't need to be healed.";
  2143. close;
  2144. }
  2145. mes "[ Tournament Healer ]";
  2146. mes "Enjoy.";
  2147. mes "Good luck on the next round!";
  2148. percentheal 100,100;
  2149. specialeffect2 EF_HEAL;
  2150. close2;
  2151. hideonnpc instance_npcname("Tournament Healer#1"); // 83649
  2152. end;
  2153. OnInstanceInit:
  2154. hideonnpc instance_npcname("Tournament Healer#1");
  2155. end;
  2156. }
  2157. 1@ge_st,1,1,1 script #FireworksControl -1,{
  2158. end;
  2159. OnStart:
  2160. initnpctimer;
  2161. for ( .@i = 11; .@i <= 20; .@i++ ) {
  2162. specialeffect .effect[rand(getarraysize(.effect))], AREA, instance_npcname("#fireworks_" +.@i);
  2163. }
  2164. end;
  2165. OnTimer6000:
  2166. initnpctimer;
  2167. for ( .@i = 0; .@i < 5; .@i++) {
  2168. specialeffect .effect[rand(getarraysize(.effect))], AREA, instance_npcname("#fireworks_" + rand(11,20));
  2169. }
  2170. end;
  2171. OnTurn:
  2172. stopnpctimer;
  2173. end;
  2174. OnWin:
  2175. for ( .@i = 1; .@i <= 5; .@i++ ) {
  2176. specialeffect EF_LORD, AREA, instance_npcname("#fireworks_f" + .@i);
  2177. }
  2178. sleep 3000;
  2179. for ( .@i = 1; .@i <= 5; .@i++ ) {
  2180. specialeffect EF_SIGHTRASHER, AREA, instance_npcname("#fireworks_f" + .@i);
  2181. }
  2182. sleep 500;
  2183. for ( .@i = 1; .@i <= 5; .@i++ ){
  2184. specialeffect EF_STORMGUST, AREA, instance_npcname("#fireworks_f" + .@i);
  2185. }
  2186. sleep 3000;
  2187. for ( .@i = 1; .@i <= 5; .@i++ ) {
  2188. specialeffect EF_VIOLENTGALE, AREA, instance_npcname("#fireworks_f" + .@i);
  2189. }
  2190. end;
  2191. OnInstanceInit:
  2192. setarray .effect, EF_THUNDERSTORM, EF_STORMGUST, EF_METEORSTORM;
  2193. end;
  2194. }
  2195. 1@ge_st,102,42,0 script #fireworks_11 139,{ end; }
  2196. 1@ge_st,100,60,0 duplicate(#fireworks_11) #fireworks_12 139
  2197. 1@ge_st,109,60,0 duplicate(#fireworks_11) #fireworks_13 139
  2198. 1@ge_st,118,60,0 duplicate(#fireworks_11) #fireworks_14 139
  2199. 1@ge_st,126,59,0 duplicate(#fireworks_11) #fireworks_15 139
  2200. 1@ge_st,126,37,0 duplicate(#fireworks_11) #fireworks_16 139
  2201. 1@ge_st,118,36,0 duplicate(#fireworks_11) #fireworks_17 139
  2202. 1@ge_st,109,36,0 duplicate(#fireworks_11) #fireworks_18 139
  2203. 1@ge_st,100,36,0 duplicate(#fireworks_11) #fireworks_19 139
  2204. 1@ge_st,92,37,0 duplicate(#fireworks_11) #fireworks_20 139
  2205. 1@ge_st,112,52,0 duplicate(#fireworks_11) #fireworks_f1 139
  2206. 1@ge_st,112,42,0 duplicate(#fireworks_11) #fireworks_f2 139
  2207. 1@ge_st,102,52,0 duplicate(#fireworks_11) #fireworks_f3 139
  2208. 1@ge_st,102,52,0 duplicate(#fireworks_11) #fireworks_f4 139
  2209. 1@ge_st,102,42,0 duplicate(#fireworks_11) #fireworks_f5 139
  2210. 1@ge_st,1,1,1 script #Talkcontrol -1,{
  2211. end;
  2212. OnStart:
  2213. 'Talkcounter = 0;
  2214. initnpctimer;
  2215. end;
  2216. OnTimer5000:
  2217. 'Talkcounter++;
  2218. if ('Talkcounter <4)
  2219. initnpctimer;
  2220. OnRndtalk:
  2221. .@iter = rand(1,3);
  2222. for (.@i = 0; .@i <.@iter ;.@i++) {
  2223. .@group = rand(30);
  2224. if (.@group <18) {
  2225. showscript 'audience$[rand(getarraysize('audience$))],getnpcid(0,instance_npcname("Tournament Spectator#"+rand(70,257)));
  2226. showscript 'audience$[rand(getarraysize('audience$))],getnpcid(0,instance_npcname("Tournament Spectator#"+rand(70,257)));
  2227. } else if (.@group <23) {
  2228. showscript 'student$[rand(getarraysize('student$))],getnpcid(0,instance_npcname("Magic Academy Student#" + rand(1,5)));
  2229. } else {
  2230. .@id = rand(getarraysize('tourist$));
  2231. showscript 'touristname2$[.@id]+'tourist$[.@id],getnpcid(0,instance_npcname('touristname$[.@id]));
  2232. }
  2233. sleep rand(2,5) * 100;
  2234. }
  2235. end;
  2236. OnTimer13000:
  2237. stopnpctimer;
  2238. .@iter = rand(1,3);
  2239. for ( .@i = 0; .@i <.@iter; .@i++ ) {
  2240. .@group = rand(30);
  2241. if ( .@group <18) {
  2242. showscript 'audience$[rand(getarraysize('audience$))],getnpcid(0,instance_npcname("Tournament Spectator#"+rand(70,257)));
  2243. showscript 'audience$[rand(getarraysize('audience$))],getnpcid(0,instance_npcname("Tournament Spectator#"+rand(70,257)));
  2244. } else if (.group <23) {
  2245. showscript 'student$[rand(getarraysize('student$))],getnpcid(0,instance_npcname("Magic Academy Student#" + rand(1,5)));
  2246. } else {
  2247. .@id = rand(getarraysize('tourist$));
  2248. showscript 'touristname2$[.@id]+'tourist$[.@id],getnpcid(0,instance_npcname('touristname$[.@id]));
  2249. }
  2250. sleep rand(2,5)*100;
  2251. }
  2252. end;
  2253. OnInstanceInit:
  2254. setarray 'audience$,
  2255. "Tournament Spectator : I've been watiing for this round!",
  2256. "Tournament Spectator : Hope this round's an interesting match up!",
  2257. "Tournament Spectator : Oh! Ah! Oh! Ah!",
  2258. "Tournament Spectator : Oooh, finally started!",
  2259. "Tournament Spectator : Start already! Fight! Come on, start!",
  2260. "Tournament Spectator : Is this that guy's first time? I feel he's very powerful, ah!",
  2261. "Tournament Spectator : Who do you think will win?",
  2262. "Tournament Spectator : Come on, start!",
  2263. "Tournament Spectator : Get it on already!",
  2264. "Tournament Spectator : I feel like I'm in danger...",
  2265. "Tournament Spectator : I'm counting on that "+('sex ? "guy" : "girl")+" to lose!",
  2266. "Tournament Spectator : Gotta feel sorry for that guy! Come on!",
  2267. "Tournament Spectator : He's terrific! You've got this! Come on!",
  2268. "Tournament Spectator : I'm having such a great time here!",
  2269. "Tournament Spectator : Come on!~~",
  2270. "Tournament Spectator : Let's see what you've got "+'charname$+"!",
  2271. "Tournament Spectator : He's probably going to lose this round.",
  2272. "Tournament Spectator : This contest has a lot of good participants.",
  2273. "Tournament Spectator : Do not be afraid, come on!",
  2274. "Tournament Spectator : Almost to start huh?",
  2275. "Tournament Spectator : Even just watching this is fun!",
  2276. "Tournament Spectator : My hands are sweating...",
  2277. "Tournament Spectator : Come on let's go!";
  2278. setarray 'student$,
  2279. "Magic Academy Student: Ya~ Hoo~",
  2280. "Magic Academy Student: Wow, I'm so nervous!",
  2281. "Magic Academy Student: Both of you please! Come on!";
  2282. setarray 'tourist$,
  2283. " : Oh, the atmosphere's starting to heat up...",
  2284. " : This is so energizing!",
  2285. " : There's no Payon contestants are there?",
  2286. " : The atmosphere here is great!",
  2287. " : Oooh! Come on!",
  2288. " : These participants are so energetic!",
  2289. " : Good thing too...",
  2290. " : Don't lose too quickly! Oh!~";
  2291. setarray 'touristname$,
  2292. "Prontera Spectator#a1",
  2293. "Prontera Spectator#a2",
  2294. "Payon Spectator#a1",
  2295. "Payon Spectator#a2",
  2296. "Alberta Spectator#a1",
  2297. "Alberta Spectator#a2",
  2298. "Veins Spectator#a1",
  2299. "Comodo Spectator#a1";
  2300. setarray 'touristname2$,
  2301. "Prontera Spectator",
  2302. "Prontera Spectator",
  2303. "Payon Spectator",
  2304. "Payon Spectator",
  2305. "Alberta Spectator",
  2306. "Alberta Spectator",
  2307. "Veins Spectator",
  2308. "Comodo Spectator";
  2309. end;
  2310. }
  2311. 1@ge_st,106,62,6 script Loki#a2 512,{}
  2312. 1@ge_st,108,62,6 script Chaos#a2 683,{}
  2313. 1@ge_st,111,62,4 script Iris#a2 666,{}
  2314. 1@ge_st,112,62,4 script Lydia#a2 10010,{}
  2315. // ================================================================
  2316. // Rivals
  2317. // ================================================================
  2318. 1@ge_st,114,50,4 script Arhi#1 670,{
  2319. end;
  2320. OnActivate:
  2321. enablenpc instance_npcname("Arhi#1");
  2322. npctalk "The first match always makes me nervous~!";
  2323. sleep 2000;
  2324. npctalk "Can I win?";
  2325. sleep 3000;
  2326. npctalk "I guess it will be okay, this "+('sex ? "guy" : "girl")+" seems weak.";
  2327. sleep 3000;
  2328. npctalk "Okay, just relax~!";
  2329. sleep 3000;
  2330. npctalk "Ah... Finally, It's going to start soon!";
  2331. sleep 3000;
  2332. npctalk "Just relax~!";
  2333. sleep 2000;
  2334. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  2335. end;
  2336. OnDefeat:
  2337. hideoffnpc instance_npcname("Arhi#1");
  2338. sleep 1000;
  2339. npctalk "Ah... I lost the first match...";
  2340. sleep 3000;
  2341. npctalk "How can I face my family...";
  2342. sleep 3000;
  2343. npctalk "So shameful...";
  2344. sleep 3000;
  2345. npctalk "Ah... My friends will laugh at me...";
  2346. sleep 3000;
  2347. npctalk "Sob...";
  2348. sleep 1000;
  2349. hideonnpc instance_npcname("Arhi#1");
  2350. sleep 1000;
  2351. movenpc instance_npcname("Arhi#z1_0et"),145,125;
  2352. hideoffnpc instance_npcname("Tournament Guide#gefMT");
  2353. disablenpc instance_npcname("Arhi#1");
  2354. end;
  2355. OnVictory:
  2356. hideoffnpc instance_npcname("Arhi#1");
  2357. sleep 1000;
  2358. npctalk "I knew I would win!";
  2359. sleep 3000;
  2360. npctalk "I'm so relieved!";
  2361. sleep 3000;
  2362. npctalk "I was able to beat a weak competitor.";
  2363. sleep 3000;
  2364. npctalk "Yahoo!";
  2365. sleep 5000;
  2366. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  2367. end;
  2368. }
  2369. 1@ge_st,114,50,4 script Dio Anemos#1 669,{
  2370. end;
  2371. OnActivate:
  2372. npctalk "Second round huh...";
  2373. sleep 2000;
  2374. npctalk "You look like a weak competitor.";
  2375. sleep 3000;
  2376. npctalk "I think I've got a good chance against you.";
  2377. sleep 3000;
  2378. npctalk "I wish the match would start already...";
  2379. sleep 3000;
  2380. npctalk "If I finish it quickly maybe I can go buy some cookies!";
  2381. sleep 3000;
  2382. npctalk "Okay then let's start!";
  2383. sleep 2000;
  2384. npctalk "Boring...",instance_npcname("Loki#a2");
  2385. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  2386. end;
  2387. OnDefeat:
  2388. hideoffnpc instance_npcname("Dio Anemos#1");
  2389. sleep 1000;
  2390. npctalk "Oh my god....";
  2391. sleep 2000;
  2392. npctalk "I lost...";
  2393. sleep 2000;
  2394. npctalk "Ah... and to this random loser too...";
  2395. sleep 3000;
  2396. npctalk "My skills have gotten worse...";
  2397. sleep 3000;
  2398. npctalk "This is so sad...";
  2399. sleep 2000;
  2400. npctalk "Ahhhh! Why?...";
  2401. sleep 1000;
  2402. hideonnpc instance_npcname("Dio Anemos#1");
  2403. sleep 1000;
  2404. movenpc instance_npcname("Dio Anemos#z1_0et"),91,117;
  2405. disablenpc instance_npcname("Dio Anemos#1");
  2406. end;
  2407. OnVictory:
  2408. hideoffnpc instance_npcname("Dio Anemos#1");
  2409. sleep 1000;
  2410. npctalk "Phew... That was easy.";
  2411. sleep 3000;
  2412. npctalk "You should go home and ask your mommy to feed you!";
  2413. sleep 3000;
  2414. npctalk "Ha ha ha ha~!!!!";
  2415. sleep 3000;
  2416. npctalk "Time to get ready for my next match.";
  2417. sleep 5000;
  2418. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  2419. end;
  2420. }
  2421. 1@ge_st,114,50,4 script Geffen Gangster#n1 682,{
  2422. end;
  2423. OnActivate:
  2424. npctalk "Hmmm, you're that kid from before...";
  2425. sleep 3000;
  2426. npctalk "I've got a lesson to teach you!";
  2427. sleep 3000;
  2428. npctalk "It's my turn to beat you!";
  2429. sleep 3000;
  2430. npctalk "First I'll take care of you, and then I'll go back for that Kafra...";
  2431. sleep 3000;
  2432. npctalk "Watcha got punk?!";
  2433. sleep 3000;
  2434. npctalk "Prepare to die!";
  2435. sleep 2000;
  2436. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  2437. end;
  2438. OnDefeat:
  2439. hideoffnpc instance_npcname("Geffen Gangster#n1");
  2440. sleep 1000;
  2441. npctalk "I was defeated! This doesn't make any sense!";
  2442. sleep 2000;
  2443. npctalk "I can't believe I lost to you!";
  2444. sleep 3000;
  2445. npctalk "To be embarrassed in front of the Kafra with the luscious legs...!";
  2446. sleep 3000;
  2447. npctalk "Sob.. This can't be happening!";
  2448. sleep 2000;
  2449. npctalk "I shouldn't have to go through this depression alone!";
  2450. sleep 2000;
  2451. npctalk "I'll have to go to see the Kafra gal' in Prontera hu-hu-hu...";
  2452. sleep 1000;
  2453. hideonnpc instance_npcname("Geffen Gangster#n1");
  2454. sleep 1000;
  2455. disablenpc instance_npcname("Geffen Gangster#n1");
  2456. end;
  2457. OnVictory:
  2458. hideoffnpc instance_npcname("Geffen Gangster#n1");
  2459. sleep 1000;
  2460. npctalk "This is my real ability!";
  2461. sleep 3000;
  2462. npctalk "Hu hu... That... Kafra...!";
  2463. sleep 3000;
  2464. npctalk "I want to go back to my Kafra~!!";
  2465. sleep 3000;
  2466. npctalk "Hu hu hu hu hu...";
  2467. sleep 5000;
  2468. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  2469. end;
  2470. }
  2471. 1@ge_st,114,50,4 script Geffen Bully#n1 681,{
  2472. end;
  2473. OnActivate:
  2474. npctalk "Just you wait, you'll be immediately disabled!";
  2475. sleep 3000;
  2476. npctalk "I will beat you down today!";
  2477. sleep 3000;
  2478. npctalk "Give me your zeny!";
  2479. sleep 3000;
  2480. npctalk "I'll send you crying home!";
  2481. sleep 3000;
  2482. npctalk "I will make you experience my 20 years of bullying.";
  2483. sleep 3000;
  2484. npctalk "You're dead!";
  2485. sleep 2000;
  2486. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  2487. end;
  2488. OnDefeat:
  2489. hideoffnpc instance_npcname("Geffen Bully#n1");
  2490. sleep 1000;
  2491. npctalk "I can't believe you beat me...";
  2492. sleep 3000;
  2493. npctalk "It can't be!";
  2494. sleep 3000;
  2495. npctalk "This can't be! I only wanted to get more zeny!";
  2496. sleep 3000;
  2497. npctalk "Now I'll be the laughing stock of all of Geffen!";
  2498. sleep 3000;
  2499. npctalk "Ah! Ahhh!! It can't be!!!";
  2500. sleep 1000;
  2501. hideonnpc instance_npcname("Geffen Bully#n1");
  2502. sleep 1000;
  2503. disablenpc instance_npcname("Geffen Bully#n1");
  2504. end;
  2505. OnVictory:
  2506. hideoffnpc instance_npcname("Geffen Bully#n1");
  2507. sleep 1000;
  2508. npctalk "You! How much zeny do you have left?";
  2509. sleep 3000;
  2510. npctalk "You messed with me once before!";
  2511. sleep 3000;
  2512. npctalk "And now I've left you speechless!";
  2513. sleep 3000;
  2514. npctalk "Never show your face in Geffen again!";
  2515. sleep 5000;
  2516. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  2517. end;
  2518. }
  2519. 1@ge_st,114,50,4 script Geffen Shoplifter#n1 671,{
  2520. end;
  2521. OnActivate:
  2522. npctalk "There are so many people gathered here.";
  2523. sleep 3000;
  2524. npctalk "I thought there'd be something good to steal here";
  2525. sleep 3000;
  2526. npctalk "But I can't steal anything because of all the attention it'll cause.";
  2527. sleep 3000;
  2528. npctalk "Ah... This is no good...";
  2529. sleep 2000;
  2530. npctalk "I guess I'll just participate in the tournament...";
  2531. sleep 2000;
  2532. npctalk "Well~! Let's win anyway!";
  2533. sleep 2000;
  2534. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  2535. end;
  2536. OnDefeat:
  2537. hideoffnpc instance_npcname("Geffen Shoplifter#n1");
  2538. sleep 1000;
  2539. npctalk "Oh my god... I was defeated.";
  2540. sleep 2000;
  2541. npctalk "I have been spending too much time stealing.";
  2542. sleep 2000;
  2543. npctalk "My battle power has been reduced.";
  2544. sleep 3000;
  2545. npctalk "Ah... It can't be...";
  2546. sleep 2000;
  2547. npctalk "I'll need to train more if I want to keep my position as Guild Leader...";
  2548. sleep 3000;
  2549. npctalk "Fine, I'm outta here!";
  2550. sleep 1000;
  2551. hideonnpc instance_npcname("Geffen Shoplifter#n1");
  2552. sleep 1000;
  2553. disablenpc instance_npcname("Geffen Shoplifter#n1");
  2554. end;
  2555. OnVictory:
  2556. hideoffnpc instance_npcname("Geffen Shoplifter#n1");
  2557. sleep 1000;
  2558. npctalk "I know, I'm really good.";
  2559. sleep 3000;
  2560. npctalk "Okay! Time to keep winning~!!";
  2561. sleep 3000;
  2562. npctalk "I should take as many rewards as possible~!";
  2563. sleep 3000;
  2564. npctalk "You should go home~ Bye~!";
  2565. sleep 5000;
  2566. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  2567. end;
  2568. }
  2569. 1@ge_st,114,50,4 script Faymont#1 672,{
  2570. end;
  2571. OnActivate:
  2572. enablenpc instance_npcname("Faymont#1");
  2573. npctalk "Well would you look at that... this competitor seems...";
  2574. sleep 2000;
  2575. npctalk "Like he's just gotten lucky up until now!";
  2576. sleep 3000;
  2577. npctalk "I really don't want to get my hands dirty.";
  2578. sleep 3000;
  2579. npctalk "I'll handle this in a sophisticated way...";
  2580. sleep 3000;
  2581. npctalk "Ahem... Looks like we're about to start now.";
  2582. sleep 3000;
  2583. npctalk "Maybe if I finish this quickly, I can buy that new headdress...";
  2584. npctalk "Come on!", instance_npcname("Prontera Spectator#a1");
  2585. sleep 2000;
  2586. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  2587. end;
  2588. OnDefeat:
  2589. hideoffnpc instance_npcname("Faymont#1");
  2590. sleep 1000;
  2591. npctalk "How could... How could I lose?!...";
  2592. sleep 2000;
  2593. npctalk "And to the one "+('sex ? "guy" : "girl")+" with no taste...";
  2594. sleep 2000;
  2595. npctalk "How shameful...";
  2596. sleep 2000;
  2597. npctalk "My fans will be disappointed at me for losing...";
  2598. sleep 3000;
  2599. npctalk "Ahh.... What's the quickest way out of here?";
  2600. sleep 3000;
  2601. npctalk "I can't show my face around here any longer...";
  2602. sleep 1000;
  2603. hideonnpc instance_npcname("Faymont#1");
  2604. sleep 1000;
  2605. movenpc instance_npcname("Faymont#z1_0et"),53,90;
  2606. disablenpc instance_npcname("Faymont#1");
  2607. end;
  2608. OnVictory:
  2609. hideoffnpc instance_npcname("Faymont#1");
  2610. sleep 1000;
  2611. npctalk "Can you see the difference between you and me? Noble and shallow.";
  2612. sleep 3000;
  2613. npctalk "This tournament is pointless.";
  2614. sleep 3000;
  2615. npctalk "What kind of shallow man will I have to fight with next?";
  2616. sleep 3000;
  2617. npctalk "No matter, I'll just prepare for the next match.";
  2618. sleep 5000;
  2619. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  2620. end;
  2621. }
  2622. 1@ge_st,114,50,4 script Ordre#1 673,{
  2623. end;
  2624. OnActivate:
  2625. enablenpc instance_npcname("Ordre#1");
  2626. npctalk "One! Two! One! Two!";
  2627. sleep 2000;
  2628. npctalk "Let's climb the ladder one step at a time!";
  2629. sleep 2000;
  2630. npctalk "I've been training so hard!";
  2631. sleep 3000;
  2632. npctalk "I'm not about to give up now!";
  2633. sleep 3000;
  2634. npctalk "I can't lose after coming so far";
  2635. sleep 3000;
  2636. npctalk "Now~! Let's do our best for those in the audience!";
  2637. sleep 3000;
  2638. npctalk "Shall we begin?";
  2639. npctalk "What? Is this really the level of competition?",instance_npcname("Chaos#a2");
  2640. sleep 2000;
  2641. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  2642. end;
  2643. OnDefeat:
  2644. hideoffnpc instance_npcname("Ordre#1");
  2645. sleep 1000;
  2646. npctalk "Defeated...";
  2647. sleep 2000;
  2648. npctalk "I need more practice...";
  2649. sleep 2000;
  2650. npctalk "I need more training...";
  2651. sleep 3000;
  2652. npctalk "I'll train twice as hard as before!";
  2653. sleep 3000;
  2654. npctalk "I must start over.";
  2655. sleep 2000;
  2656. npctalk "Let's go.";
  2657. sleep 1000;
  2658. hideonnpc instance_npcname("Ordre#1");
  2659. sleep 1000;
  2660. movenpc instance_npcname("Ordre#z1_0et"),85,68;
  2661. disablenpc instance_npcname("Ordre#1");
  2662. end;
  2663. OnVictory:
  2664. hideoffnpc instance_npcname("Ordre#1");
  2665. sleep 1000;
  2666. npctalk "I won!";
  2667. sleep 3000;
  2668. npctalk "As long as you try... you can get what you want!";
  2669. sleep 3000;
  2670. npctalk "Let's show respect to this competition!";
  2671. sleep 3000;
  2672. npctalk "I'm ready for the next match!!";
  2673. sleep 5000;
  2674. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  2675. end;
  2676. }
  2677. 1@ge_st,114,50,4 script Blut Hase#1 674,{
  2678. end;
  2679. OnActivate:
  2680. npctalk "You've gotten this far.";
  2681. sleep 2000;
  2682. npctalk "I imagine by now the rest of the competitors are quite strong";
  2683. sleep 3000;
  2684. npctalk "But I did not build my reputation for nothing!";
  2685. sleep 3000;
  2686. npctalk "Fear my Bunny Band!";
  2687. sleep 3000;
  2688. npctalk "You are but an obstacle in my way!";
  2689. sleep 1000;
  2690. donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
  2691. sleep 2000;
  2692. npctalk "You will be sacrificed on my path to victory!";
  2693. sleep 1000;
  2694. donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
  2695. sleep 1000;
  2696. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  2697. end;
  2698. OnDefeat:
  2699. hideoffnpc instance_npcname("Blut Hase#1");
  2700. sleep 1000;
  2701. npctalk "I will not lose!";
  2702. sleep 1000;
  2703. npctalk "My reputation... My popularity...";
  2704. sleep 3000;
  2705. npctalk "I will lose them both...";
  2706. sleep 3000;
  2707. npctalk "I cannot accept this result!";
  2708. sleep 3000;
  2709. npctalk "I will regain my reputation!";
  2710. sleep 2000;
  2711. npctalk "Next time I will be the winner!";
  2712. sleep 1000;
  2713. hideonnpc instance_npcname("Blut Hase#1");
  2714. sleep 1000;
  2715. movenpc instance_npcname("Blut Hase#z1_0et"),111,62;
  2716. disablenpc instance_npcname("Blut Hase#1");
  2717. end;
  2718. OnVictory:
  2719. hideoffnpc instance_npcname("Blut Hase#1");
  2720. sleep 1000;
  2721. npctalk "In terms of reputation or popularity...";
  2722. sleep 3000;
  2723. npctalk "It was impossible for me to lose!";
  2724. sleep 3000;
  2725. npctalk "I will be known as Ultra Rabbit's Blood instead of Rabbit's Bloody Ear now!";
  2726. sleep 3000;
  2727. npctalk "Ha ha ha ha ha~!!";
  2728. sleep 5000;
  2729. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  2730. end;
  2731. }
  2732. 1@ge_st,114,50,4 script Kuro Akuma#1 675,{
  2733. end;
  2734. OnActivate:
  2735. npctalk "Finally the 7th game has started ~!";
  2736. sleep 2000;
  2737. npctalk "You've never met anyone as evil as me ~!";
  2738. sleep 3000;
  2739. npctalk "You are lucky~!";
  2740. sleep 3000;
  2741. npctalk "This will be a good experience for you~!";
  2742. sleep 3000;
  2743. npctalk "Nobody who's faced me has ever survived~!";
  2744. sleep 3000;
  2745. npctalk "I will destroy you if I must~!";
  2746. sleep 1000;
  2747. donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
  2748. sleep 1000;
  2749. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  2750. end;
  2751. OnDefeat:
  2752. hideoffnpc instance_npcname("Kuro Akuma#1");
  2753. sleep 1000;
  2754. npctalk "Oh my god...";
  2755. sleep 3000;
  2756. npctalk "I am The Devil's Tooth...";
  2757. sleep 2000;
  2758. npctalk "And I have lost this match...";
  2759. sleep 3000;
  2760. npctalk "Yach, yikes, ah, ah, ah! Yikes ah, ah, ah!!";
  2761. sleep 3000;
  2762. npctalk "I can't lose! I'll have my revenge!";
  2763. sleep 2000;
  2764. hideonnpc instance_npcname("Kuro Akuma#1");
  2765. sleep 1000;
  2766. movenpc instance_npcname("Kuro Akuma#z1_0et"),104,42;
  2767. disablenpc instance_npcname("Kuro Akuma#1");
  2768. end;
  2769. OnVictory:
  2770. hideoffnpc instance_npcname("Kuro Akuma#1");
  2771. sleep 1000;
  2772. npctalk "How is it~! My Power~!";
  2773. sleep 3000;
  2774. npctalk "I took pity on you and decided not to send you to hell~!";
  2775. sleep 3000;
  2776. npctalk "You should appreciate that!";
  2777. sleep 3000;
  2778. npctalk "Now, I shall prepare for my next match~!";
  2779. sleep 5000;
  2780. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  2781. end;
  2782. }
  2783. 1@ge_st,114,50,4 script Ifodes#1 676,{
  2784. end;
  2785. OnActivate:
  2786. npctalk "At long last, the 8th game has started.";
  2787. sleep 3000;
  2788. npctalk "No one can pierce my defenses!";
  2789. sleep 3000;
  2790. npctalk "But I can surely get past yours.";
  2791. sleep 2000;
  2792. npctalk "Therefore, you stand no chance!";
  2793. sleep 2000;
  2794. npctalk "Once the match has started, your laughter will turn into tears!";
  2795. sleep 2000;
  2796. npctalk "Shall we start?";
  2797. sleep 1000;
  2798. donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
  2799. sleep 1000;
  2800. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  2801. end;
  2802. OnDefeat:
  2803. hideoffnpc instance_npcname("Ifodes#1");
  2804. sleep 1000;
  2805. npctalk "I will not lose this tournament!";
  2806. sleep 3000;
  2807. npctalk "This is nonsense.";
  2808. sleep 2000;
  2809. npctalk "How could this happen?";
  2810. sleep 3000;
  2811. npctalk "I can't understand!";
  2812. sleep 3000;
  2813. npctalk "Arrgggh!";
  2814. sleep 2000;
  2815. hideonnpc instance_npcname("Ifodes#1");
  2816. sleep 1000;
  2817. movenpc instance_npcname("Ifodes#z1_0et"),115,66;
  2818. disablenpc instance_npcname("Ifodes#1");
  2819. end;
  2820. OnVictory:
  2821. hideoffnpc instance_npcname("Ifodes#1");
  2822. sleep 1000;
  2823. npctalk "You can't penetrate my defense!";
  2824. sleep 3000;
  2825. npctalk "You can't even protect yourself from my powerful attacks!";
  2826. sleep 3000;
  2827. npctalk "Wahahaha~!!";
  2828. sleep 5000;
  2829. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  2830. end;
  2831. }
  2832. 1@ge_st,114,50,4 script Licheniyes#1 677,{
  2833. end;
  2834. OnActivate:
  2835. npctalk "Ho ho ho~!!";
  2836. sleep 3000;
  2837. npctalk "The competitor of the 9th match looks scary~!";
  2838. sleep 3000;
  2839. npctalk "You don't scare me though~!";
  2840. sleep 2000;
  2841. npctalk "I'm a lady~!";
  2842. sleep 2000;
  2843. npctalk "But once this match starts...!";
  2844. sleep 2000;
  2845. npctalk "*Giggling*... I will bite you!";
  2846. sleep 1000;
  2847. npctalk "good horror players ...", instance_npcname("Payon Spectator#a1");
  2848. sleep 1000;
  2849. npctalk "Do not be afraid ah, dark horse contestant!", instance_npcname("Prontera Spectator#a1");
  2850. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  2851. end;
  2852. OnDefeat:
  2853. hideoffnpc instance_npcname("Licheniyes#1");
  2854. sleep 1000;
  2855. npctalk "You try to beat me with cruelty, a lady like me...";
  2856. sleep 3000;
  2857. npctalk "I am very sad...";
  2858. sleep 2000;
  2859. npctalk "Sob...";
  2860. sleep 3000;
  2861. npctalk "But, next time we meet...";
  2862. sleep 3000;
  2863. npctalk "I will destroy you with little effort!";
  2864. sleep 1000;
  2865. hideonnpc instance_npcname("Licheniyes#1");
  2866. sleep 1000;
  2867. movenpc instance_npcname("Licheniyes#z1_0et"),137,53;
  2868. disablenpc instance_npcname("Licheniyes#1");
  2869. end;
  2870. OnVictory:
  2871. hideoffnpc instance_npcname("Licheniyes#1");
  2872. sleep 1000;
  2873. npctalk "Oh ho ho ho~~! I knew I would win~!";
  2874. sleep 3000;
  2875. npctalk "Oh my! Oh my! I am very sorry~!";
  2876. sleep 3000;
  2877. npctalk "Ah, Ah~ I need to prepare next match!";
  2878. sleep 3000;
  2879. npctalk "I'm so giddy to find out who I'm up against next!~";
  2880. sleep 5000;
  2881. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  2882. end;
  2883. }
  2884. 1@ge_st,114,50,4 script Odoric#1 678,{
  2885. end;
  2886. OnActivate:
  2887. npctalk "Lu lu~ What a fun tournament!";
  2888. sleep 3000;
  2889. npctalk "Dance~ Dance~ Bewitching dance~!";
  2890. sleep 3000;
  2891. npctalk "Everyone is mesmerized by my magical dance!";
  2892. sleep 3000;
  2893. npctalk "You will be captured by my charm~!";
  2894. sleep 2000;
  2895. npctalk "Now, feast on my magical dance!";
  2896. sleep 2000;
  2897. npctalk "Lah, Lah, Lah, Lah~~!";
  2898. sleep 1000;
  2899. npctalk "How beautiful!", instance_npcname("Veins Spectator#a1");
  2900. sleep 1000;
  2901. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  2902. end;
  2903. OnDefeat:
  2904. hideoffnpc instance_npcname("Odoric#1");
  2905. sleep 1000;
  2906. npctalk "Sob...";
  2907. sleep 3000;
  2908. npctalk "I lost, even though I did my best...";
  2909. sleep 2000;
  2910. npctalk "My charming poses...";
  2911. sleep 3000;
  2912. npctalk "They didn't work... Sob...";
  2913. sleep 3000;
  2914. npctalk "I'm so sad that I lost here...";
  2915. sleep 2000;
  2916. npctalk "I have to leave~!";
  2917. sleep 1000;
  2918. hideonnpc instance_npcname("Odoric#1");
  2919. sleep 1000;
  2920. movenpc instance_npcname("Odoric#z1_0et"),158,63;
  2921. disablenpc instance_npcname("Odoric#1");
  2922. end;
  2923. OnVictory:
  2924. hideoffnpc instance_npcname("Odoric#1");
  2925. sleep 1000;
  2926. npctalk "Even you... Against my fascinating dance moves...";
  2927. sleep 3000;
  2928. npctalk "You're nothing special~!!";
  2929. sleep 3000;
  2930. npctalk "You did a good job getting to this point~!!";
  2931. sleep 3000;
  2932. npctalk "I need to get ready for my next match now~";
  2933. sleep 5000;
  2934. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  2935. end;
  2936. }
  2937. 1@ge_st,114,50,4 script Ju#1 679,{
  2938. end;
  2939. OnActivate:
  2940. npctalk "Another match has started...";
  2941. sleep 3000;
  2942. npctalk "A real battle is a serious matter...";
  2943. sleep 3000;
  2944. npctalk "It is something to be feared!";
  2945. sleep 3000;
  2946. npctalk "All of these novices who spent their time only training";
  2947. sleep 3000;
  2948. npctalk "They will never know the true meaning of battle!";
  2949. sleep 3000;
  2950. npctalk "I will make sure to handle them as fast as possible.";
  2951. sleep 3000;
  2952. npctalk "My heart is beating so fast! I'm so nervous!",instance_npcname("Lydia#a2");
  2953. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  2954. end;
  2955. OnDefeat:
  2956. hideoffnpc instance_npcname("Ju#1");
  2957. sleep 1000;
  2958. npctalk "Sob... defeated...";
  2959. sleep 3000;
  2960. npctalk "You're stronger than I thought...";
  2961. sleep 3000;
  2962. npctalk "You must have experienced many cruel battles.";
  2963. sleep 3000;
  2964. npctalk "Sob... Victory was the only thing in my mind...";
  2965. sleep 3000;
  2966. npctalk "I wish you luck on your following matches.";
  2967. sleep 3000;
  2968. npctalk "You better not lose after defeating me!";
  2969. sleep 2000;
  2970. hideonnpc instance_npcname("Ju#1");
  2971. sleep 1000;
  2972. movenpc instance_npcname("Ju#z1_0et"),178,91;
  2973. disablenpc instance_npcname("Ju#1");
  2974. end;
  2975. OnVictory:
  2976. hideoffnpc instance_npcname("Ju#1");
  2977. sleep 1000;
  2978. npctalk "This is not a game.";
  2979. sleep 3000;
  2980. npctalk "This is real battle.";
  2981. sleep 3000;
  2982. npctalk "Yeahhhh !!";
  2983. sleep 3000;
  2984. npctalk "The real game is battle!";
  2985. sleep 5000;
  2986. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  2987. end;
  2988. }
  2989. 1@ge_st,114,50,4 script Dwigh#1 680,{
  2990. end;
  2991. OnActivate:
  2992. npctalk "Semi-Finals huh...";
  2993. sleep 2000;
  2994. npctalk "I can see the end...";
  2995. sleep 3000;
  2996. npctalk "You must be a decent fighter, making it all the way here...";
  2997. sleep 3000;
  2998. npctalk "But I came to here for my students.";
  2999. sleep 3000;
  3000. npctalk "People who are important to me are watching this battle!";
  3001. sleep 3000;
  3002. npctalk "Wow, teacher!",instance_npcname("Magic Academy Student#22");
  3003. npctalk "Teacher, show 'em what you've got!",instance_npcname("Magic Academy Student#3");
  3004. npctalk "What a great teacher, I want to be like her!",instance_npcname("Magic Academy Student#4");
  3005. sleep 2000;
  3006. npctalk "I can't imagine teacher losing here~!",instance_npcname("Magic Academy Student#1");
  3007. npctalk "Everyone cheer loudly for our teacher!",instance_npcname("Magic Academy Student#5");
  3008. sleep 2000;
  3009. npctalk "I can't lose in front of my students!";
  3010. sleep 2000;
  3011. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  3012. sleep 1000;
  3013. npctalk "Ahh!~ Go teacher~!!",instance_npcname("Magic Academy Student#5");
  3014. sleep 1000;
  3015. npctalk "Go! Go! Teacher~!!",instance_npcname("Magic Academy Student#22");
  3016. npctalk "Teacher! She's the one~!!",instance_npcname("Magic Academy Student#3");
  3017. npctalk "If she can't do it~!!",instance_npcname("Magic Academy Student#4");
  3018. npctalk "No one can~!!",instance_npcname("Magic Academy Student#1");
  3019. npctalk "Teacher~!!",instance_npcname("Magic Academy Student#5");
  3020. end;
  3021. OnDefeat:
  3022. hideoffnpc instance_npcname("Dwigh#1");
  3023. sleep 1000;
  3024. npctalk "If I had just won one more game, I could have been in the finals...";
  3025. sleep 3000;
  3026. npctalk "I'm ashamed for losing in front of my students...";
  3027. sleep 3000;
  3028. npctalk "But the competition was too strong.";
  3029. sleep 3000;
  3030. npctalk "I admit defeat.";
  3031. sleep 3000;
  3032. npctalk "According to my students, Fenrir's strength should still be above me, I wish you luck.";
  3033. sleep 2000;
  3034. hideonnpc instance_npcname("Dwigh#1");
  3035. sleep 1000;
  3036. movenpc instance_npcname("Dwigh#z1_0et"),120,98;
  3037. disablenpc instance_npcname("Dwigh#1");
  3038. end;
  3039. OnVictory:
  3040. hideoffnpc instance_npcname("Dwigh#1");
  3041. sleep 1000;
  3042. npctalk "Ugh... It was a tough match.";
  3043. sleep 3000;
  3044. npctalk "But I am happy to have won.";
  3045. sleep 3000;
  3046. npctalk "I will do my best for my students.";
  3047. sleep 3000;
  3048. npctalk "I have just one more match to win!";
  3049. sleep 5000;
  3050. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  3051. end;
  3052. }
  3053. 1@ge_st,114,50,4 script Fay Kanavian#1 665,{
  3054. end;
  3055. OnActivate:
  3056. enablenpc instance_npcname("#paycanatalk");
  3057. end;
  3058. OnDefeat:
  3059. hideoffnpc instance_npcname("Fay Kanavian#1");
  3060. killmonster instance_mapname("1@ge_st"),instance_npcname("#GMTHomun")+"::OnHomJR";
  3061. killmonster instance_mapname("1@ge_st"),instance_npcname("#GMTHomun")+"::OnHomDead";
  3062. enablenpc instance_npcname("#paycanatalk2");
  3063. end;
  3064. OnTalk1:
  3065. cutin "paycana_a", 2;
  3066. npctalk "You~ I've never heard about you before~!";
  3067. sleep2 4000;
  3068. npctalk "You must know, all of the spectators are cheering for me!";
  3069. sleep2 4000;
  3070. npctalk "If you want to keep your life you should run now~!";
  3071. sleep2 4000;
  3072. npctalk "Unless you want to experience the strength of my masterpiece, Alphonse!";
  3073. sleep2 4000;
  3074. npctalk "You HAVE seen my Alphonse, right?";
  3075. sleep2 4000;
  3076. donpcevent instance_npcname("#Talkcontrol")+"::OnRndtalk";
  3077. sleep2 1000;
  3078. npctalk "Once this match starts, you will see his full power!";
  3079. sleep2 2000;
  3080. cutin "", 255;
  3081. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  3082. end;
  3083. OnTalk2:
  3084. cutin "paycana_b ", 2;
  3085. npctalk "I actually lost...";
  3086. sleep2 3000;
  3087. npctalk "Alphonse... I gave you my heart and soul...";
  3088. sleep2 3000;
  3089. npctalk "I was supposed to make it to the finals...";
  3090. sleep2 3000;
  3091. npctalk "And face Fenris Fenrir...";
  3092. sleep2 3000;
  3093. npctalk "I wanted to fight her so bad!";
  3094. sleep2 2000;
  3095. cutin "", 255;
  3096. hideonnpc instance_npcname("Fay Kanavian#1");
  3097. sleep 1000;
  3098. movenpc instance_npcname("Fay Kanavian#z1_0et"),117,72;
  3099. disablenpc instance_npcname("Fay Kanavian#1");
  3100. end;
  3101. OnVictory:
  3102. hideoffnpc instance_npcname("Fay Kanavian#1");
  3103. sleep 1000;
  3104. npctalk "My abilities are amazing~!";
  3105. sleep 3000;
  3106. npctalk "This tournament is but a game to me, and not at all important.";
  3107. sleep 3000;
  3108. npctalk "But Fenrir has reached the finals by winning every single round...";
  3109. sleep 3000;
  3110. npctalk "I will defeat her and win this tournament!";
  3111. sleep 5000;
  3112. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  3113. end;
  3114. }
  3115. 1@ge_st,108,50,4 script #paycanatalk 139,25,25,{
  3116. end;
  3117. OnTouch:
  3118. doevent instance_npcname("Fay Kanavian#1")+"::OnTalk1";
  3119. disablenpc instance_npcname("#paycanatalk");
  3120. end;
  3121. OnInstanceInit:
  3122. disablenpc instance_npcname("#paycanatalk");
  3123. end;
  3124. }
  3125. 1@ge_st,108,50,4 script #paycanatalk2 139,25,25,{
  3126. end;
  3127. OnTouch_:
  3128. doevent instance_npcname("Fay Kanavian#1")+"::OnTalk2";
  3129. disablenpc instance_npcname("#paycanatalk2");
  3130. end;
  3131. OnInstanceInit:
  3132. disablenpc instance_npcname("#paycanatalk2");
  3133. end;
  3134. }
  3135. 1@ge_st,114,50,4 script Fenrir#f 664,{
  3136. end;
  3137. OnActivate:
  3138. enablenpc instance_npcname("#fenrirtalk");
  3139. end;
  3140. OnDefeat:
  3141. hideoffnpc instance_npcname("Fenrir#f");
  3142. enablenpc instance_npcname("#fenrirtalk2");
  3143. end;
  3144. OnTalk1:
  3145. cutin "fenrir_b", 1;
  3146. npctalk "The final match...";
  3147. sleep2 1000;
  3148. npctalk "Fenrir is going to win without a doubt~!", instance_npcname("Payon Spectator#a1");
  3149. sleep2 1000;
  3150. npctalk "I am Fenris Fenrir.";
  3151. sleep2 1000;
  3152. npctalk "Hey, do your best!",instance_npcname("Iris#a2");
  3153. sleep2 2000;
  3154. npctalk "You... made it here.";
  3155. sleep2 2000;
  3156. npctalk "I am sure that this will be a hard fought match.";
  3157. sleep2 1000;
  3158. npctalk "Wow! I'm so excited!",instance_npcname("Lydia#a2");
  3159. npctalk "Fenrir, please give me an autograph!", instance_npcname("Prontera Spectator#a2");
  3160. sleep2 2000;
  3161. npctalk "I will do my best to fight you fairly.";
  3162. sleep2 2000;
  3163. npctalk "Then, should we start the final match?";
  3164. cutin "", 255;
  3165. donpcevent instance_npcname("#GMTcontroller")+"::OnStart";
  3166. end;
  3167. OnTalk2:
  3168. cutin "fenrir_a", 1;
  3169. npctalk "Uh... I am defeated.";
  3170. sleep2 2000;
  3171. npctalk "How did you get to be so strong?";
  3172. sleep2 3000;
  3173. npctalk "I am completely defeated...";
  3174. sleep2 3000;
  3175. npctalk "This world is full of surprises...";
  3176. sleep2 3000;
  3177. npctalk "Congratulations on your victory "+'charname$+".";
  3178. sleep2 2000;
  3179. npctalk "However, next time, I won't lose!";
  3180. sleep2 2000;
  3181. cutin "", 255;
  3182. if (checkquest(9307) != -1)
  3183. changequest 9307,9308;
  3184. warp instance_mapname("1@ge_st"), 109,50;
  3185. donpcevent instance_npcname("#win")+"::OnEnable";
  3186. movenpc instance_npcname("#gefmagic_warp02"),120,213;
  3187. end;
  3188. OnVictory:
  3189. hideoffnpc instance_npcname("Fenrir#f");
  3190. sleep 1000;
  3191. npctalk "Thank you~ It was a good match.";
  3192. sleep 3000;
  3193. npctalk "It feels good to be the winner.";
  3194. sleep 3000;
  3195. npctalk "I hope to see you again.";
  3196. sleep 3000;
  3197. npctalk "I have to go... My friends are waiting for me.";
  3198. sleep 5000;
  3199. instance_warpall instance_mapname("1@gef"),120,61, instance_id();
  3200. end;
  3201. }
  3202. 1@ge_st,108,50,4 script #fenrirtalk 139,25,25,{
  3203. end;
  3204. OnTouch:
  3205. doevent instance_npcname("Fenrir#f")+"::OnTalk1";
  3206. disablenpc instance_npcname("#fenrirtalk");
  3207. end;
  3208. OnInstanceInit:
  3209. disablenpc instance_npcname("#fenrirtalk");
  3210. end;
  3211. }
  3212. 1@ge_st,108,50,4 script #fenrirtalk2 139,25,25,{
  3213. end;
  3214. OnTouch_:
  3215. doevent instance_npcname("Fenrir#f")+"::OnTalk2";
  3216. disablenpc instance_npcname("#fenrirtalk2");
  3217. end;
  3218. OnInstanceInit:
  3219. disablenpc instance_npcname("#fenrirtalk2");
  3220. end;
  3221. }
  3222. 1@ge_st,1,1,1 script #win CLEAR_NPC,{
  3223. end;
  3224. OnEnable:
  3225. disablenpc instance_npcname("Fenrir#f");
  3226. movenpc instance_npcname("Arhi#q1"), 104, 53;
  3227. movenpc instance_npcname("Dio Anemos#q1"), 100, 49;
  3228. movenpc instance_npcname("Faymont#q1"), 102, 46;
  3229. movenpc instance_npcname("Ordre#q1"), 104, 44;
  3230. movenpc instance_npcname("Blut Hase#q1"), 112, 45;
  3231. movenpc instance_npcname("Kuro Akuma#q1"), 116, 46;
  3232. movenpc instance_npcname("Ifodes#q1"), 115, 53;
  3233. movenpc instance_npcname("Licheniyes#q1"), 116, 49;
  3234. movenpc instance_npcname("Odoric#q1"), 112, 53;
  3235. movenpc instance_npcname("Ju#q1"), 109, 54;
  3236. movenpc instance_npcname("Dwigh#q1"), 106, 50;
  3237. movenpc instance_npcname("Fay Kanavian#q1"), 107, 48;
  3238. movenpc instance_npcname("Fenrir#q1"), 112, 50;
  3239. hideoffnpc instance_npcname("Tournament Guide#gefMT");
  3240. hideoffnpc instance_npcname("Geffen Academy Master");
  3241. sleep 1000;
  3242. npctalk "The other contestants want to congratulate you on winning as well!",instance_npcname("Fenrir#q1");
  3243. end;
  3244. OnInstanceInit:
  3245. end;
  3246. }
  3247. 1@ge_st,1,1,6 script Arhi#q1 670,{
  3248. switch(rand(1,2)){
  3249. case 1:
  3250. showscript "Arhi : Tsk, I will come back when I get stronger!",getnpcid(0);//DONE
  3251. break;
  3252. case 2:
  3253. showscript "Arhi : Congratulations~!",getnpcid(0);//DONE
  3254. break;
  3255. }
  3256. end;
  3257. }
  3258. 1@ge_st,1,1,6 script Dio Anemos#q1 669,{
  3259. switch(rand(1,2)){
  3260. case 1:
  3261. showscript "Dio Anemos : I'm suddenly really hungry...",getnpcid(0);//DONE
  3262. break;
  3263. case 2:
  3264. showscript "Dio Anemos : Congratulations~! It is your treat~!",getnpcid(0);//DONE
  3265. break;
  3266. }
  3267. end;
  3268. }
  3269. 1@ge_st,1,1,0 script Faymont#q1 672,{
  3270. showscript "Faymont : Awesome fighting ability!",getnpcid(0);//DONE
  3271. end;
  3272. }
  3273. 1@ge_st,1,1,0 script Ordre#q1 673,{
  3274. switch(rand(1,2)){
  3275. case 1:
  3276. showscript "Ordre : Simply amazing!",getnpcid(0);//DONE
  3277. break;
  3278. case 2:
  3279. showscript "Ordre : I can only imagine how long you have trained yourself to become this strong.",getnpcid(0);//DONE
  3280. break;
  3281. }
  3282. end;
  3283. }
  3284. 1@ge_st,1,1,2 script Blut Hase#q1 674,{
  3285. switch(rand(1,2)){
  3286. case 1:
  3287. showscript "Blut Hase : You must be famous, right?",getnpcid(0);//DONE
  3288. break;
  3289. case 2:
  3290. showscript "Blut Hase : Well... Congratulations anyway...",getnpcid(0);//DONE
  3291. break;
  3292. }
  3293. end;
  3294. }
  3295. 1@ge_st,1,1,2 script Kuro Akuma#q1 675,{
  3296. showscript "Kuro Akuma : So... very strong...",getnpcid(0);//DONE
  3297. end;
  3298. }
  3299. 1@ge_st,1,1,4 script Ifodes#q1 676,{
  3300. switch(rand(1,2)){
  3301. case 1:
  3302. showscript "Ifodes : Your talents suit your chivalry.",getnpcid(0);//DONE
  3303. break;
  3304. case 2:
  3305. showscript "Ifodes : You were great competition. Congratulations!",getnpcid(0);//DONE
  3306. break;
  3307. }
  3308. end;
  3309. }
  3310. 1@ge_st,1,1,4 script Licheniyes#q1 677,{
  3311. showscript "Licheniyes : Awesome victory~!",getnpcid(0);//DONE
  3312. end;
  3313. }
  3314. 1@ge_st,1,1,4 script Odoric#q1 678,{
  3315. switch(rand(1,2)){
  3316. case 1:
  3317. showscript "Odoric : Simply amazing.",getnpcid(0);//DONE
  3318. break;
  3319. case 2:
  3320. showscript "Odoric : Congratulations on your victory~!",getnpcid(0);//DONE
  3321. break;
  3322. }
  3323. end;
  3324. }
  3325. 1@ge_st,1,1,4 script Ju#q1 679,{
  3326. switch(rand(1,2)){
  3327. case 1:
  3328. showscript "Ju : You... are... strong... I... won't... forget... you...",getnpcid(0);//DONE
  3329. break;
  3330. case 2:
  3331. showscript "Ju : I've never lost before. But you are a worthy foe.",getnpcid(0);//DONE
  3332. break;
  3333. }
  3334. end;
  3335. }
  3336. 1@ge_st,1,1,6 script Dwigh#q1 680,{
  3337. showscript "Dwigh : Really good fight, you've got exceptional strength!",getnpcid(0);
  3338. end;
  3339. }
  3340. 1@ge_st,1,1,0 script Fay Kanavian#q1 665,{
  3341. switch(rand(1,2)){
  3342. case 1:
  3343. showscript "Fay Kanavian : I didn't think that Fenrir would lose...",getnpcid(0);//DONE
  3344. break;
  3345. case 2:
  3346. showscript "Fay Kanavian : Next time we fight, Alphonse will be stronger!",getnpcid(0);//DONE
  3347. break;
  3348. }
  3349. end;
  3350. }
  3351. 1@ge_st,1,1,4 script Fenrir#q1 664,{
  3352. switch(rand(1,2)){
  3353. case 1:
  3354. showscript "Fenrir : All of my colleagues are so excited about your victory. They are eager to meet you.",getnpcid(0);//DONE
  3355. break;
  3356. case 2:
  3357. showscript "Fenrir : You defeated me in a fair fight. You are very strong.",getnpcid(0);//DONE
  3358. break;
  3359. }
  3360. end;
  3361. }
  3362. - script #EVT_GMT -1,{
  3363. OnPCDieEvent:
  3364. if (strcharinfo(3) == "1@ge_st" || strcharinfo(3) == instance_mapname("1@ge_st") ) {
  3365. dispbottom "You've fallen! You have 10 seconds to get up or the match will be over!";
  3366. sleep2 10000;
  3367. if (Hp >= 1) {
  3368. end;
  3369. }
  3370. if (Hp == 0) {
  3371. instance_warpall instance_mapname("1@ge_st"),104,50;
  3372. donpcevent instance_npcname("#DEATHGMT")+"::OnLoseRound";
  3373. donpcevent instance_npcname("#GMTcontroller")+"::OnStop";
  3374. end;
  3375. }
  3376. }
  3377. end;
  3378. }
  3379. 1@ge_st,1,1,1 script #DEATHGMT -1,{
  3380. end;
  3381. OnInstanceInit:
  3382. enablenpc instance_npcname("#DEATHGMT");
  3383. end;
  3384. OnLoseRound:
  3385. killmonster instance_mapname("1@ge_st"),instance_npcname("#GMTcontroller")+"::OnMobDead";
  3386. movenpc instance_npcname("#gefmagic_warp02"),120,213;
  3387. movenpc instance_npcname("#invisGMTquests"),120,61;
  3388. donpcevent instance_npcname("Fenrir#e1")+"::OnEnable";
  3389. donpcevent instance_npcname("Chaos#e1")+"::OnEnable";
  3390. donpcevent instance_npcname("Iris#e1")+"::OnEnable";
  3391. donpcevent instance_npcname("Lydia#e1")+"::OnEnable";
  3392. donpcevent instance_npcname("Loki#e1")+"::OnEnable";
  3393. switch ('GMT_1QUE) {
  3394. case 11:
  3395. .@defeat$ = "Arhi";
  3396. break;
  3397. case 12:
  3398. .@defeat$ = "Dio Anemos";
  3399. break;
  3400. case 13:
  3401. if ('GMTQuest == 1) {
  3402. .@defeat$ = "Geffen Gangster";
  3403. }
  3404. else if ('GMTQuest == 2) {
  3405. .@defeat$ = "Gefen Bully";
  3406. }
  3407. else {
  3408. .@defeat$ = "Geffen Shoplifter";
  3409. }
  3410. break;
  3411. case 14:
  3412. .@defeat$ = "Feymont";
  3413. break;
  3414. case 15:
  3415. .@defeat$ = "Ordre";
  3416. break;
  3417. case 16:
  3418. .@defeat$ = "Blut Hase";
  3419. break;
  3420. case 17:
  3421. .@defeat$ = "Kuro Akuma";
  3422. break;
  3423. case 18:
  3424. .@defeat$ = "Ifodes";
  3425. break;
  3426. case 19:
  3427. .@defeat$ = "Licheniyes";
  3428. break;
  3429. case 20:
  3430. .@defeat$ = "Odoric";
  3431. break;
  3432. case 21:
  3433. .@defeat$ = "Ju";
  3434. break;
  3435. case 22:
  3436. if ('half) {
  3437. .@defeat$ = "Dwigh";
  3438. } else {
  3439. .@defeat$ = "Fay Kanavian";
  3440. }
  3441. break;
  3442. case 23:
  3443. .@defeat$ = "Fenrir";
  3444. break;
  3445. default:
  3446. break;
  3447. }
  3448. npctalk ""+.@defeat$+" has won the "+callfunc("F_GetNumSuffix",('GMT_1QUE-10))+" Round of Group A!",instance_npcname("Geffen Academy Master");
  3449. switch ('GMT_1QUE) {
  3450. case 11:
  3451. enablenpc instance_npcname("Arhi#1");
  3452. donpcevent instance_npcname("Arhi#1")+"::OnVictory";
  3453. break;
  3454. case 12:
  3455. enablenpc instance_npcname("Dio Anemos#1");
  3456. donpcevent instance_npcname("Dio Anemos#1")+"::OnVictory";
  3457. break;
  3458. case 13:
  3459. if ('GMTQuest == 1) {
  3460. enablenpc instance_npcname("Geffen Gangster#n1");
  3461. donpcevent instance_npcname("Geffen Gangster#n1")+"::OnVictory";
  3462. break;
  3463. } else if ('GMTQuest == 2) {
  3464. enablenpc instance_npcname("Geffen Bully#n1");
  3465. donpcevent instance_npcname("Geffen Bully#n1")+"::OnVictory";
  3466. break;
  3467. } else {
  3468. enablenpc instance_npcname("Geffen Shoplifter#n1");
  3469. donpcevent instance_npcname("Geffen Shoplifter#n1")+"::OnVictory";
  3470. break;
  3471. }
  3472. break;
  3473. case 14:
  3474. enablenpc instance_npcname("Faymont#1");
  3475. donpcevent instance_npcname("Faymont#1")+"::OnVictory";
  3476. break;
  3477. case 15:
  3478. enablenpc instance_npcname("Ordre#1");
  3479. donpcevent instance_npcname("Ordre#1")+"::OnVictory";
  3480. break;
  3481. case 16:
  3482. enablenpc instance_npcname("Blut Hase#1");
  3483. donpcevent instance_npcname("Blut Hase#1")+"::OnVictory";
  3484. break;
  3485. case 17:
  3486. enablenpc instance_npcname("Kuro Akuma#1");
  3487. donpcevent instance_npcname("Kuro Akuma#1")+"::OnVictory";
  3488. break;
  3489. case 18:
  3490. enablenpc instance_npcname("Ifodes#1");
  3491. donpcevent instance_npcname("Ifodes#1")+"::OnVictory";
  3492. break;
  3493. case 19:
  3494. enablenpc instance_npcname("Licheniyes#1");
  3495. donpcevent instance_npcname("Licheniyes#1")+"::OnVictory";
  3496. break;
  3497. case 20:
  3498. enablenpc instance_npcname("Odoric#1");
  3499. donpcevent instance_npcname("Odoric#1")+"::OnVictory";
  3500. break;
  3501. case 21:
  3502. enablenpc instance_npcname("Ju#1");
  3503. donpcevent instance_npcname("Ju#1")+"::OnVictory";
  3504. break;
  3505. case 22:
  3506. if ('half) {
  3507. enablenpc instance_npcname("Dwigh#1");
  3508. donpcevent instance_npcname("Dwigh#1")+"::OnVictory";
  3509. break;
  3510. } else {
  3511. enablenpc instance_npcname("Fay Kanavian#1");
  3512. donpcevent instance_npcname("Fay Kanavian#1")+"::OnVictory";
  3513. if ('HomID) {
  3514. killmonster instance_mapname("1@ge_st"),instance_npcname("#GMTHomun")+"::OnHomJR";
  3515. killmonster instance_mapname("1@ge_st"),instance_npcname("#GMTHomun")+"::OnHomDead";
  3516. 'HomID = 0;
  3517. }
  3518. break;
  3519. }
  3520. break;
  3521. case 23:
  3522. enablenpc instance_npcname("Fenrir#f");
  3523. donpcevent instance_npcname("Fenrir#f")+"::OnVictory";
  3524. break;
  3525. }
  3526. end;
  3527. }
  3528. 1@gef,115,105,6 script Loki#e1 4_M_ROKI2,{
  3529. .@n$ = "[ Loki ]";
  3530. if(checkquest(9314) != -1) {
  3531. cutin "ep14_roki01.bmp", 2;
  3532. mes .@n$;
  3533. mes "That's a pretty good score.";
  3534. next;
  3535. mes .@n$;
  3536. mes "Please take this present.";
  3537. setarray .items,501,502,503,504,505,506,608,607;
  3538. getitem .items[rand(0,7)],1;
  3539. erasequest 9314;
  3540. cutin "", 255;
  3541. end;
  3542. }
  3543. cutin "ep14_roki01", 2;
  3544. mes .@n$;
  3545. mes "Let's take a rain check on our match.";
  3546. mes "We'll fight next time we meet...";
  3547. close2;
  3548. cutin "", 255;
  3549. end;
  3550. OnInstanceInit:
  3551. hideonnpc instance_npcname(strnpcinfo(0));
  3552. end;
  3553. OnEnable:
  3554. hideoffnpc instance_npcname(strnpcinfo(0));
  3555. end;
  3556. }
  3557. 1@gef,117,108,6 script Lydia#e1 4_F_LYDIA,{
  3558. .@n$ = "[ Lydia ]";
  3559. if(checkquest(9312) != -1) {
  3560. cutin "lydia_a.bmp",2;
  3561. mes .@n$;
  3562. mes "Good game~!";
  3563. next;
  3564. mes .@n$;
  3565. mes "I want to give you a reward even if you lost~!";
  3566. setarray .items,501,502,503,504,505,506,608,607;
  3567. getitem .items[rand(0,7)],1;
  3568. erasequest 9312;
  3569. cutin "", 255;
  3570. end;
  3571. }
  3572. cutin "lydia_a.bmp",2;
  3573. mes .@n$;
  3574. mes "I hope to see you again.";
  3575. close2;
  3576. cutin "", 255;
  3577. end;
  3578. OnInstanceInit:
  3579. hideonnpc instance_npcname(strnpcinfo(0));
  3580. end;
  3581. OnEnable:
  3582. hideoffnpc instance_npcname(strnpcinfo(0));
  3583. end;
  3584. }
  3585. 1@gef,125,105,4 script Iris#e1 4_F_IRIS,{
  3586. .@n$ = "[ Iris ]";
  3587. if(checkquest(9310) != -1) {
  3588. cutin "hero_iris_01.bmp",2;
  3589. mes .@n$;
  3590. mes "I enjoyed watching your round~";
  3591. mes "Bad luck this year huh?~";
  3592. mes "Wish you luck next year.";
  3593. next;
  3594. mes .@n$;
  3595. mes "Take this to cheer you up.";
  3596. setarray .items,501,502,503,504,505,506,608,607;
  3597. getitem .items[rand(0,7)],1;
  3598. erasequest 9310;
  3599. cutin "", 255;
  3600. end;
  3601. }
  3602. cutin "hero_iris_01.bmp",2;
  3603. mes .@n$;
  3604. mes "Think we'll meet again?";
  3605. close2;
  3606. cutin "", 255;
  3607. end;
  3608. OnInstanceInit:
  3609. hideonnpc instance_npcname(strnpcinfo(0));
  3610. end;
  3611. OnEnable:
  3612. hideoffnpc instance_npcname(strnpcinfo(0));
  3613. end;
  3614. }
  3615. 1@gef,123,108,4 script Chaos#e1 4_M_CHAOS,{
  3616. .@n$ = "[ Chaos ]";
  3617. if(checkquest(9311) != -1) {
  3618. cutin "hero_chaos_01.bmp",2;
  3619. mes .@n$;
  3620. mes "That was a good match~!";
  3621. mes "Not bad at all~!";
  3622. next;
  3623. mes .@n$;
  3624. mes "You have been very impressive today.";
  3625. mes "I want to give you a present~!";
  3626. setarray .items,501,502,503,504,505,506,608,607;
  3627. getitem .items[rand(0,7)],1;
  3628. erasequest 9311;
  3629. cutin "", 255;
  3630. end;
  3631. }
  3632. cutin "hero_chaos_01.bmp",2;
  3633. mes .@n$;
  3634. mes "I hope to see you again next time~!";
  3635. close2;
  3636. cutin "", 255;
  3637. end;
  3638. OnInstanceInit:
  3639. hideonnpc instance_npcname(strnpcinfo(0));
  3640. end;
  3641. OnEnable:
  3642. hideoffnpc instance_npcname(strnpcinfo(0));
  3643. end;
  3644. }
  3645. 1@gef,120,108,4 script Fenrir#e1 4_F_FENRIR,{
  3646. .@n$ = "[ Fenrir ]";
  3647. if(checkquest(9313) != -1) {
  3648. cutin "fenrir_a.bmp",2;
  3649. mes .@n$;
  3650. mes "It was a good game.";
  3651. mes "Hope you get farther next time.";
  3652. next;
  3653. mes .@n$;
  3654. mes "Take this gift.";
  3655. mes "Keep trying harder~!";
  3656. setarray .items,501,502,503,504,505,506,608,607;
  3657. getitem .items[rand(0,7)],1;
  3658. erasequest 9313;
  3659. cutin "", 255;
  3660. end;
  3661. }
  3662. cutin "fenrir_a.bmp",2;
  3663. mes .@n$;
  3664. mes "I hope to see you again adventurer!";
  3665. close2;
  3666. cutin "", 255;
  3667. end;
  3668. OnInstanceInit:
  3669. hideonnpc instance_npcname(strnpcinfo(0));
  3670. end;
  3671. OnEnable:
  3672. hideoffnpc instance_npcname(strnpcinfo(0));
  3673. end;
  3674. }
  3675. // Cutscenes
  3676. //ϯϯϯϯϯϯϯϯϯ
  3677. // Event 1
  3678. //__________________
  3679. 1@gef,159,172,6 duplicate(#gmt_dummy) Geffen Gangster#1 682
  3680. 1@gef,160,176,6 duplicate(#gmt_dummy) Geffen Gangster#3 682
  3681. 1@gef,164,175,6 duplicate(#gmt_dummy) Geffen Gangster#2 682
  3682. 1@gef,168,170,6 duplicate(#gmt_dummy) Geffen Gangster#11 682
  3683. 1@gef,167,169,6 duplicate(#gmt_dummy) Geffen Gangster#22 682
  3684. 1@gef,166,168,6 duplicate(#gmt_dummy) Geffen Gangster#33 682
  3685. 1@gef,170,168,4 duplicate(#gmt_dummy) Iris#Gef1 666
  3686. 1@gef,169,167,2 duplicate(#gmt_dummy) Kafra Employee#1 114
  3687. 1@gef,173,167,4 duplicate(#gmt_dummy) Chaos#Gef1 683
  3688. 1@gef,168,168,4 duplicate(#gmt_dummy) Chaos#Gef2 683
  3689. 1@gef,162,174,4 duplicate(#gmt_dummy) Chaos#3 683
  3690. 1@gef,166,168,0 script #Event 1 start 139,7,7,{
  3691. end;
  3692. OnTouch:
  3693. if ('gmt_event != 0) end;
  3694. if('OnTouchOnce1) end;
  3695. set 'OnTouchOnce1,1;
  3696. hideonnpc instance_npcname("#Event 1 start");
  3697. disablenpc instance_npcname("#Event 1 start");
  3698. hideoffnpc instance_npcname("Geffen Gangster#1");
  3699. hideoffnpc instance_npcname("Geffen Gangster#2");
  3700. hideoffnpc instance_npcname("Geffen Gangster#3");
  3701. hideoffnpc instance_npcname("Kafra Employee#1");
  3702. 'gmt_char_name$ = strcharinfo(0);
  3703. 'GMTQuest = 1;
  3704. //if (checkquest(9284) > -1)
  3705. // erasequest 9284;
  3706. //setquest 9284;
  3707. 'gmt_timer_evt1 = 0;
  3708. initnpctimer;
  3709. end;
  3710. OnTimer1000:
  3711. 'gmt_timer_evt1++;
  3712. switch('gmt_timer_evt1) {
  3713. case 1: npctalk "Geffen Gangster : Hey girl~", instance_npcname("Geffen Gangster#1"); break;
  3714. case 3: npctalk "Geffen Gangster : Whoo~ You have beautiful legs~!", instance_npcname("Geffen Gangster#2"); break;
  3715. case 5: npctalk "Kafra Employee : What are you doing?", instance_npcname("Kafra Employee#1"); break;
  3716. case 10: npctalk "Geffen Gangster : What do you think I'm doing~?", instance_npcname("Geffen Gangster#3"); break;
  3717. case 13: npctalk "Kafra Employee : You creep! Get away~!", instance_npcname("Kafra Employee#1"); break;
  3718. case 15: npctalk "Geffen Gangster : How dare you!", instance_npcname("Geffen Gangster#1"); break;
  3719. case 16:
  3720. hideonnpc instance_npcname("Geffen Gangster#1");
  3721. hideonnpc instance_npcname("Geffen Gangster#2");
  3722. hideonnpc instance_npcname("Geffen Gangster#3");
  3723. hideoffnpc instance_npcname("Geffen Gangster#11");
  3724. hideoffnpc instance_npcname("Geffen Gangster#22");
  3725. hideoffnpc instance_npcname("Geffen Gangster#33");
  3726. break;
  3727. case 19: npctalk "Geffen Gangster : Wanna have some fun?", instance_npcname("Geffen Gangster#11"); break;
  3728. case 20: npctalk "Geffen Gangster : We won't bite!", instance_npcname("Geffen Gangster#22"); break;
  3729. case 21: npctalk "Geffen Gangster : Unless...", instance_npcname("Geffen Gangster#33"); break;
  3730. case 23: npctalk "Kafra Employee : Help me~!!!", instance_npcname("Kafra Employee#1"); break;
  3731. case 25: unittalk 'gmt_account_id, "What can I do? I have to help."; break;
  3732. case 27:
  3733. enablenpc instance_npcname("#Event 1 start 2");
  3734. stopnpctimer;
  3735. end;
  3736. }
  3737. initnpctimer;
  3738. end;
  3739. }
  3740. 1@gef,166,169,0 script #Event 1 start 2 139,5,5,{
  3741. end;
  3742. OnTouch:
  3743. if('OnTouchOnce2) end;
  3744. set 'OnTouchOnce2,1;
  3745. if ('gmt_event != 0) end;
  3746. 'gmt_event = 2;
  3747. hideonnpc instance_npcname("#Event 1 start 2");
  3748. 'gmt_timer_evt1 = 0;
  3749. initnpctimer;
  3750. end;
  3751. OnTimer1000:
  3752. 'gmt_timer_evt1++;
  3753. switch('gmt_timer_evt1) {
  3754. case 1: unittalk 'gmt_account_id, "You bastards! Leave her alone!"; break;
  3755. case 3: npctalk "Geffen Gangster : What's with your attitude?", instance_npcname("Geffen Gangster#11"); break;
  3756. case 4: npctalk "Geffen Gangster : You're such an idiot!", instance_npcname("Geffen Gangster#22"); break;
  3757. case 5: npctalk "Geffen Gangster : Who're you calling bastards!?", instance_npcname("Geffen Gangster#33"); break;
  3758. case 8: npctalk "Kafra Employee : Please help me~!", instance_npcname("Kafra Employee#1"); break;
  3759. case 9:
  3760. unittalk 'gmt_account_id, "Time to teach them a lesson~!";
  3761. hideonnpc instance_npcname("Geffen Gangster#11");
  3762. hideonnpc instance_npcname("Geffen Gangster#22");
  3763. hideonnpc instance_npcname("Geffen Gangster#33");
  3764. monster instance_mapname("1@gef"), 168, 170, "Geffen Gangster", 2568, 1, instance_npcname("#Event 1 start 2") + "::OnMobKilled";
  3765. monster instance_mapname("1@gef"), 167, 169, "Geffen Gangster", 2568, 1, instance_npcname("#Event 1 start 2") + "::OnMobKilled";
  3766. monster instance_mapname("1@gef"), 166, 168, "Geffen Gangster", 2568, 1, instance_npcname("#Event 1 start 2") + "::OnMobKilled";
  3767. stopnpctimer;
  3768. end;
  3769. }
  3770. initnpctimer;
  3771. end;
  3772. OnMobKilled:
  3773. if (mobcount(instance_mapname("1@gef"), instance_npcname("#Event 1 start 2") + "::OnMobKilled") <= 0) {
  3774. hideoffnpc instance_npcname("Geffen Gangster#1");
  3775. hideoffnpc instance_npcname("Geffen Gangster#2");
  3776. hideoffnpc instance_npcname("Geffen Gangster#3");
  3777. //completequest 9284;
  3778. //setquest 9284;
  3779. //completequest 9284;
  3780. //setquest 9285;
  3781. donpcevent instance_npcname("#GefGangsterEvent1")+"::OnStart";
  3782. }
  3783. end;
  3784. }
  3785. 1@gef,166,167,0 script #GefGangsterEvent1 -1,{
  3786. end;
  3787. OnStart:
  3788. 'gmt_timer_evt1 = 0;
  3789. initnpctimer;
  3790. end;
  3791. OnTimer1000:
  3792. 'gmt_timer_evt1++;
  3793. switch('gmt_timer_evt1) {
  3794. case 1:
  3795. specialeffect EF_POTION_BERSERK, AREA, instance_npcname("Geffen Gangster#1");
  3796. specialeffect EF_POTION_BERSERK, AREA, instance_npcname("Geffen Gangster#2");
  3797. specialeffect EF_POTION_BERSERK, AREA, instance_npcname("Geffen Gangster#3");
  3798. npctalk "Geffen Gangster : You're pretty good...!", instance_npcname("Geffen Gangster#1");
  3799. npctalk "Geffen Gangster : We should stop playing around...", instance_npcname("Geffen Gangster#2");
  3800. npctalk "Geffen Gangster : You're gonna pay the price!", instance_npcname("Geffen Gangster#3");
  3801. break;
  3802. case 4: npctalk "Kafra Employee : No... I'm scared...!", instance_npcname("Kafra Employee#1"); break;
  3803. case 5:
  3804. hideoffnpc instance_npcname("Iris#Gef1");
  3805. npctalk "Iris : Hey, you stop right there~!!", instance_npcname("Iris#Gef1");
  3806. break;
  3807. case 8: npctalk "Iris : That's enough.", instance_npcname("Iris#Gef1"); break;
  3808. case 11: npctalk "Iris : I won't forgive you~!", instance_npcname("Iris#Gef1"); break;
  3809. case 13: specialeffect EF_POTION1, AREA, instance_npcname("Iris#Gef1"); break;
  3810. case 14:
  3811. npctalk "Geffen Gangster : Why hello there, are you scared?", instance_npcname("Geffen Gangster#1");
  3812. npctalk "Geffen Gangster : You're pretty cute. Do you want to play with us too?", instance_npcname("Geffen Gangster#2");
  3813. npctalk "Geffen Gangster : Aren't I your type babe?~", instance_npcname("Geffen Gangster#3");
  3814. break;
  3815. case 18:
  3816. hideonnpc instance_npcname("Geffen Gangster#1");
  3817. hideonnpc instance_npcname("Geffen Gangster#2");
  3818. hideonnpc instance_npcname("Geffen Gangster#3");
  3819. hideoffnpc instance_npcname("Geffen Gangster#11");
  3820. hideoffnpc instance_npcname("Geffen Gangster#22");
  3821. hideoffnpc instance_npcname("Geffen Gangster#33");
  3822. break;
  3823. case 22: mapannounce instance_mapname("1@gef"), "Stop right there! Jerks!", 0x00ebff; break;
  3824. case 23: hideoffnpc instance_npcname("Chaos#Gef1"); break;
  3825. case 25: specialeffect EF_POTION_CON, AREA, instance_npcname("Chaos#Gef1"); break;
  3826. case 26: npctalk "Chaos : Are you clowns harassing Iris?", instance_npcname("Chaos#Gef1"); break;
  3827. case 30: npctalk "Chaos : I think I need to teach someone a lesson!", instance_npcname("Chaos#Gef1"); break;
  3828. case 31:
  3829. specialeffect EF_LOCKON, AREA, instance_npcname("Geffen Gangster#11");
  3830. specialeffect EF_LOCKON, AREA, instance_npcname("Geffen Gangster#22");
  3831. specialeffect EF_LOCKON, AREA, instance_npcname("Geffen Gangster#33");
  3832. npctalk "Chaos : Come and fight me!", instance_npcname("Chaos#Gef2");
  3833. hideonnpc instance_npcname("Chaos#Gef1");
  3834. hideoffnpc instance_npcname("Chaos#Gef2");
  3835. break;
  3836. case 34:
  3837. npctalk "Chaos : Bash~!!!", instance_npcname("Chaos#Gef2");
  3838. specialeffect EF_HIT2, AREA, instance_npcname("Chaos#Gef2");
  3839. specialeffect EF_BASH, AREA, instance_npcname("Geffen Gangster#11");
  3840. specialeffect EF_BASH, AREA, instance_npcname("Geffen Gangster#22");
  3841. specialeffect EF_BASH, AREA, instance_npcname("Geffen Gangster#33");
  3842. hideonnpc instance_npcname("Geffen Gangster#11");
  3843. hideonnpc instance_npcname("Geffen Gangster#22");
  3844. hideonnpc instance_npcname("Geffen Gangster#33");
  3845. break;
  3846. case 35:
  3847. hideoffnpc instance_npcname("Geffen Gangster#1");
  3848. hideoffnpc instance_npcname("Geffen Gangster#2");
  3849. hideoffnpc instance_npcname("Geffen Gangster#3");
  3850. break;
  3851. case 36:
  3852. npctalk "Geffen Gangster : Ugh...", instance_npcname("Geffen Gangster#1");
  3853. npctalk "Geffen Gangster : Strong...", instance_npcname("Geffen Gangster#2");
  3854. npctalk "Geffen Gangster : Too strong...", instance_npcname("Geffen Gangster#3");
  3855. break;
  3856. case 39:
  3857. hideonnpc instance_npcname("Chaos#Gef2");
  3858. hideoffnpc instance_npcname("Chaos#3");
  3859. break;
  3860. case 42:
  3861. npctalk "Chaos : I'm not done yet!! Magnum Break~!", instance_npcname("Chaos#3");
  3862. specialeffect EF_MAGNUMBREAK, AREA, instance_npcname("Geffen Gangster#1");
  3863. specialeffect EF_MAGNUMBREAK, AREA, instance_npcname("Geffen Gangster#2");
  3864. specialeffect EF_MAGNUMBREAK, AREA, instance_npcname("Geffen Gangster#3");
  3865. break;
  3866. case 43:
  3867. specialeffect EF_SUI_EXPLOSION, AREA, instance_npcname("Geffen Gangster#1");
  3868. specialeffect EF_SUI_EXPLOSION, AREA, instance_npcname("Geffen Gangster#2");
  3869. specialeffect EF_SUI_EXPLOSION, AREA, instance_npcname("Geffen Gangster#3");
  3870. hideonnpc instance_npcname("Geffen Gangster#1");
  3871. hideonnpc instance_npcname("Geffen Gangster#2");
  3872. hideonnpc instance_npcname("Geffen Gangster#3");
  3873. break;
  3874. case 45: hideonnpc instance_npcname("Chaos#3"); break;
  3875. case 46:
  3876. hideoffnpc instance_npcname("Chaos#Gef1");
  3877. stopnpctimer;
  3878. if (attachrid('gmt_account_id)) {
  3879. cutin "hero_iris_01.bmp", 2;
  3880. mes "[Iris]", "Are you okay?", "There have been so many jerks everywhere we go..."; next;
  3881. cutin "", 255;
  3882. mes "[Kafra]", "Thanks for helping me out.", "Who are you?"; next;
  3883. cutin "hero_iris_01.bmp", 2;
  3884. mes "[Iris]", "I am Iris~", "I am travelling with my good friend Chaos~!"; next;
  3885. mes "[Iris]", "I am not the one you should thank.", "Thank that adventurer, " + strcharinfo(0) + ".", "It could have been much worse."; next;
  3886. cutin "", 255;
  3887. mes "[Kafra]", "Thank you " + strcharinfo(0) + ".", "You saved me."; next;
  3888. cutin "hero_iris_01.bmp", 2;
  3889. mes "[Iris]", "It's pretty rare to meet someone as righteous as " + strcharinfo(0) + "."; next;
  3890. 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;
  3891. cutin "hero_chaos_01.bmp", 2;
  3892. mes "[Chaos]", "Yes, you seem strong enough to be in the Tournament."; next;
  3893. mes "[Chaos]", "Just know that Fenrir plans on joining as well, so it won't be that easy."; next;
  3894. mes "[Chaos]", "This is my favorite magic buff scroll, so take it as a token of our appreciation.";
  3895. sc_start4 SC_GEFFEN_MAGIC3, 3600000, 5, 0, 0, 0, 10000, 1;
  3896. atcommand "@effect 220";
  3897. next;
  3898. mes "[Chaos]", "It will be useful in the Magic Tournament.", "Let's go Iris~!", "It's going to start soon~!"; next;
  3899. cutin "hero_iris_01.bmp", 2;
  3900. mes "[Iris]", "Yes~! Go " + strcharinfo(0) + "~", "Kafra, wish us luck~!", "Do your best " + strcharinfo(0) + ".";
  3901. close2;
  3902. cutin "", 255;
  3903. hideonnpc instance_npcname("Iris#Gef1");
  3904. hideonnpc instance_npcname("Chaos#Gef1");
  3905. hideonnpc instance_npcname("Kafra Employee#1");
  3906. sleep2 2000;
  3907. unittalk 'gmt_account_id, "They sure are brave...";
  3908. sleep2 2000;
  3909. unittalk 'gmt_account_id, "Should we apply for the Magic Tournament now?";
  3910. end;
  3911. }
  3912. end;
  3913. }
  3914. initnpctimer;
  3915. end;
  3916. }
  3917. //ϯϯϯϯϯϯϯϯϯ
  3918. // Event 2
  3919. //__________________
  3920. 1@gef,75,172,4 duplicate(#gmt_dummy) Geffen Bully#1 681
  3921. 1@gef,76,170,4 duplicate(#gmt_dummy) Geffen Bully#2 681
  3922. 1@gef,73,173,4 duplicate(#gmt_dummy) Geffen Bully#3 681
  3923. 1@gef,68,171,4 duplicate(#gmt_dummy) Geffen Bully#11 681
  3924. 1@gef,70,171,4 duplicate(#gmt_dummy) Geffen Bully#22 681
  3925. 1@gef,70,169,4 duplicate(#gmt_dummy) Geffen Bully#33 681
  3926. 1@gef,70,167,8 duplicate(#gmt_dummy) Magic Academy Student#11 123
  3927. 1@gef,73,170,8 duplicate(#gmt_dummy) Magic Academy Student#22 123
  3928. 1@gef,69,168,8 duplicate(#gmt_dummy) Loki#1 512
  3929. 1@gef,69,170,8 duplicate(#gmt_dummy) Loki#2 512
  3930. 1@gef,67,170,8 duplicate(#gmt_dummy) Loki#3 512
  3931. 1@gef,68,169,8 duplicate(#gmt_dummy) Fenrir#1 664
  3932. 1@gef,72,169,0 script #Event 2 start 139,7,7,{
  3933. end;
  3934. OnTouch:
  3935. if ('gmt_event != 0) end;
  3936. if('OnTouchOnce3) end;
  3937. set 'OnTouchOnce3,1;
  3938. hideoffnpc instance_npcname("Geffen Bully#1");
  3939. hideoffnpc instance_npcname("Geffen Bully#2");
  3940. hideoffnpc instance_npcname("Geffen Bully#3");
  3941. hideoffnpc instance_npcname("Magic Academy Student#11");
  3942. hideonnpc instance_npcname("#Event 2 start");
  3943. disablenpc instance_npcname("#Event 2 start");
  3944. //setquest 9286;
  3945. 'gmt_timer_evt2 = 2;
  3946. 'gmt_char_name$ = strcharinfo(0);
  3947. 'GMTQuest = 2;
  3948. initnpctimer;
  3949. end;
  3950. OnTimer1000:
  3951. 'gmt_timer_evt2++;
  3952. switch('gmt_timer_evt2) {
  3953. case 5: npctalk "Geffen Bully : Hey you! Yeah you~", instance_npcname("Geffen Bully#1"); break;
  3954. case 7: npctalk "Magic Academy Student : Yea... yeah? Me...? Do you mean me?", instance_npcname("Magic Academy Student#11"); break;
  3955. case 8: npctalk "Geffen Bully : Yes, you! Come over here!", instance_npcname("Geffen Bully#2"); break;
  3956. case 9: npctalk "Geffen Bully : Hurry! You have 3 seconds!", instance_npcname("Geffen Bully#3"); break;
  3957. case 11: npctalk "Geffen Bully : 3...", instance_npcname("Geffen Bully#3"); break;
  3958. case 12: npctalk "Geffen Bully : 2...", instance_npcname("Geffen Bully#3"); break;
  3959. case 13: npctalk "Geffen Bully : 1...", instance_npcname("Geffen Bully#3"); break;
  3960. case 14:
  3961. hideonnpc instance_npcname("Magic Academy Student#11");
  3962. hideoffnpc instance_npcname("Magic Academy Student#22");
  3963. break;
  3964. case 17: npctalk "Geffen Bully : You! How much zeny do you have?", instance_npcname("Geffen Bully#1"); break;
  3965. case 20: npctalk "Magic Academy Student : What... huh?", instance_npcname("Magic Academy Student#22"); break;
  3966. case 23: npctalk "Geffen Bully : Did I stutter? I said, how much zeny do you have! You idiot!", instance_npcname("Geffen Bully#2"); break;
  3967. case 27: npctalk "Magic Academy Student : I don't have any zeny... I'm but a student...", instance_npcname("Magic Academy Student#22"); break;
  3968. case 30: npctalk "Geffen Bully : Do I have to beat the zeny out of you?!", instance_npcname("Geffen Bully#3"); break;
  3969. case 33: npctalk "Magic Academy Student : Ugh... I told you, I don't have any zeny!", instance_npcname("Magic Academy Student#22"); break;
  3970. case 36:
  3971. unittalk 'gmt_account_id, "What should I do? I have to help!";
  3972. enablenpc instance_npcname("#Event 2 start 2");
  3973. hideoffnpc instance_npcname("#Event 2 start 2");
  3974. stopnpctimer;
  3975. end;
  3976. }
  3977. initnpctimer;
  3978. end;
  3979. }
  3980. 1@gef,72,170,0 script #Event 2 start 2 139,3,3,{
  3981. end;
  3982. OnTouch:
  3983. if ('gmt_event != 0) end;
  3984. if('OnTouchOnce4) end;
  3985. set 'OnTouchOnce4,1;
  3986. hideonnpc instance_npcname("#Event 2 start 2");
  3987. 'gmt_timer_evt2 = 0;
  3988. 'gmt_event = 2;
  3989. initnpctimer;
  3990. end;
  3991. OnTimer1000:
  3992. 'gmt_timer_evt2++;
  3993. switch('gmt_timer_evt2) {
  3994. case 2: unittalk 'gmt_account_id, "You! Bullies! Stop!"; break;
  3995. case 3: npctalk "Geffen Bully : You ready for a beating?", instance_npcname("Geffen Bully#1"); break;
  3996. case 4: npctalk "Geffen Bully : I've been waiting to have some fun...", instance_npcname("Geffen Bully#2"); break;
  3997. case 5: npctalk "Geffen Bully : Say hello to my little friends!", instance_npcname("Geffen Bully#3"); break;
  3998. case 7: npctalk "Magic Academy Student : Please help me~", instance_npcname("Magic Academy Student#22"); break;
  3999. case 9:
  4000. unittalk 'gmt_account_id, "I have to help!";
  4001. attachrid 'gmt_account_id;
  4002. specialeffect2 EF_LOCKON;
  4003. detachrid;
  4004. monster instance_mapname("1@gef"), 75, 172, "Geffen Bully", 2567, 1, instance_npcname("#Event 2 start 2") + "::OnMobKilled";
  4005. monster instance_mapname("1@gef"), 76, 170, "Geffen Bully", 2567, 1, instance_npcname("#Event 2 start 2") + "::OnMobKilled";
  4006. monster instance_mapname("1@gef"), 73, 173, "Geffen Bully", 2567, 1, instance_npcname("#Event 2 start 2") + "::OnMobKilled";
  4007. hideonnpc instance_npcname("Geffen Bully#1");
  4008. hideonnpc instance_npcname("Geffen Bully#2");
  4009. hideonnpc instance_npcname("Geffen Bully#3");
  4010. stopnpctimer;
  4011. end;
  4012. }
  4013. initnpctimer;
  4014. end;
  4015. OnMobKilled:
  4016. if (mobcount(instance_mapname("1@gef"), instance_npcname("#Event 2 start 2") + "::OnMobKilled") <= 0) {
  4017. hideoffnpc instance_npcname("Geffen Bully#1");
  4018. hideoffnpc instance_npcname("Geffen Bully#2");
  4019. hideoffnpc instance_npcname("Geffen Bully#3");
  4020. //completequest 9286;
  4021. //setquest 9286;
  4022. //completequest 9286;
  4023. //setquest 9287;
  4024. sleep2 500;
  4025. specialeffect EF_POTION_BERSERK, AREA, instance_npcname("Geffen Bully#1");
  4026. specialeffect EF_POTION_BERSERK, AREA, instance_npcname("Geffen Bully#2");
  4027. specialeffect EF_POTION_BERSERK, AREA, instance_npcname("Geffen Bully#3");
  4028. $gmt_timer_evt2 = -1;
  4029. while($gmt_timer_evt2 < 50) {
  4030. $gmt_timer_evt2++;
  4031. switch($gmt_timer_evt2) {
  4032. case 0:
  4033. npctalk "Geffen Bully : He has surprisingly good skills.", instance_npcname("Geffen Bully#1");
  4034. npctalk "Geffen Bully : This isn't good...", instance_npcname("Geffen Bully#2");
  4035. npctalk "Geffen Bully : 1 slap for 10 wins. No... You get 10 slaps for 1 win.", instance_npcname("Geffen Bully#3");
  4036. break;
  4037. case 3:
  4038. hideonnpc instance_npcname("Magic Academy Student#22");
  4039. hideoffnpc instance_npcname("Magic Academy Student#11");
  4040. sleep2 500;
  4041. npctalk "Magic Academy Student : I'm scared~! Help me...", instance_npcname("Magic Academy Student#11");
  4042. break;
  4043. case 6: hideoffnpc instance_npcname("Fenrir#1"); break;
  4044. case 7: npctalk "Fenrir : Hello. Are you going to stop now?", instance_npcname("Fenrir#1"); break;
  4045. case 10: npctalk "Fenrir : This is really uncomfortable. I can't just sit back and watch.", instance_npcname("Fenrir#1"); break;
  4046. case 13:
  4047. npctalk "Fenrir : Stop harassing her. I won't forgive you.", instance_npcname("Fenrir#1");
  4048. specialeffect EF_POTION1, AREA, instance_npcname("Fenrir#1");
  4049. break;
  4050. case 15: npctalk "Geffen Bully : Hey~ You look rich, you must have a lot of zeny right?", instance_npcname("Geffen Bully#1"); break;
  4051. case 17: npctalk "Geffen Bully : What's a rich girl like you doing around here?~", instance_npcname("Geffen Bully#2"); break;
  4052. case 19: npctalk "Geffen Bully : Hey! Rich girl~! How much zeny do you got?", instance_npcname("Geffen Bully#3"); break;
  4053. case 22:
  4054. hideonnpc instance_npcname("Geffen Bully#1");
  4055. hideonnpc instance_npcname("Geffen Bully#2");
  4056. hideonnpc instance_npcname("Geffen Bully#3");
  4057. hideoffnpc instance_npcname("Geffen Bully#11");
  4058. hideoffnpc instance_npcname("Geffen Bully#22");
  4059. hideoffnpc instance_npcname("Geffen Bully#33");
  4060. break;
  4061. case 23:
  4062. emotion ET_SURPRISE, getnpcid(0, instance_npcname("Fenrir#1"));
  4063. mapannounce instance_mapname("1@gef"), "Take your dirty hands off of me.", 0x00ebff;
  4064. break;
  4065. case 25:
  4066. hideoffnpc instance_npcname("Loki#1");
  4067. sleep2 500;
  4068. specialeffect EF_POISONREACT, AREA, instance_npcname("Loki#1");
  4069. sleep2 1500;
  4070. specialeffect EF_SONICBLOW, AREA, instance_npcname("Loki#1");
  4071. npctalk "Loki : Hmph!", instance_npcname("Loki#1");
  4072. sleep2 500;
  4073. specialeffect EF_VENOMDUST, AREA, instance_npcname("Loki#1");
  4074. specialeffect EF_SONICBLOWHIT, AREA, instance_npcname("Geffen Bully#33");
  4075. specialeffect EF_SONICBLOW2, AREA, instance_npcname("Geffen Bully#33");
  4076. sleep2 330;
  4077. specialeffect EF_NAPALMBEAT, AREA, instance_npcname("Geffen Bully#33");
  4078. hideonnpc instance_npcname("Geffen Bully#33");
  4079. hideoffnpc instance_npcname("Geffen Bully#3");
  4080. break;
  4081. case 26: npctalk "Geffen Bully : Yikes!", instance_npcname("Geffen Bully#3"); break;
  4082. case 27:
  4083. hideonnpc instance_npcname("Loki#1");
  4084. hideoffnpc instance_npcname("Loki#2");
  4085. sleep2 750;
  4086. npctalk "Loki : Take this.", instance_npcname("Loki#2");
  4087. sleep2 500;
  4088. specialeffect EF_STRIPARMOR, AREA, instance_npcname("Geffen Bully#22");
  4089. specialeffect EF_SONICBLOWHIT, AREA, instance_npcname("Geffen Bully#22");
  4090. specialeffect EF_SONICBLOW2, AREA, instance_npcname("Geffen Bully#22");
  4091. sleep2 330;
  4092. specialeffect EF_NAPALMBEAT, AREA, instance_npcname("Geffen Bully#22");
  4093. hideonnpc instance_npcname("Geffen Bully#22");
  4094. hideoffnpc instance_npcname("Geffen Bully#2");
  4095. break;
  4096. case 28:
  4097. npctalk "Geffen Bully : Ugh, uuurgh! What the?!", instance_npcname("Geffen Bully#2");
  4098. hideonnpc instance_npcname("Loki#2");
  4099. hideoffnpc instance_npcname("Loki#3");
  4100. sleep2 750;
  4101. npctalk "Loki : Change your mind yet?", instance_npcname("Loki#3");
  4102. sleep2 500;
  4103. specialeffect EF_STRIPSHIELD, AREA, instance_npcname("Geffen Bully#11");
  4104. specialeffect EF_SONICBLOWHIT, AREA, instance_npcname("Geffen Bully#11");
  4105. specialeffect EF_SONICBLOW2, AREA, instance_npcname("Geffen Bully#11");
  4106. sleep2 330;
  4107. specialeffect EF_NAPALMBEAT, AREA, instance_npcname("Geffen Bully#11");
  4108. hideonnpc instance_npcname("Geffen Bully#11");
  4109. hideoffnpc instance_npcname("Geffen Bully#1");
  4110. break;
  4111. case 29: npctalk "Geffen Bully : Ugh, urgh, urgh! GAAAAAAH!!", instance_npcname("Geffen Bully#1"); break;
  4112. case 31: npctalk "Loki : If you don't want to taste my Katar, leave now.", instance_npcname("Loki#3"); break;
  4113. case 34: npctalk "Loki : Get out of my sight.", instance_npcname("Loki#3"); break;
  4114. case 36: npctalk "Geffen Bully : Oh, oh! Time to go!", instance_npcname("Geffen Bully#1"); break;
  4115. case 38: npctalk "Geffen Bully : Please... spare my life...", instance_npcname("Geffen Bully#2"); break;
  4116. case 40: npctalk "Geffen Bully : Let's get away!~!!!!!", instance_npcname("Geffen Bully#3"); break;
  4117. case 41:
  4118. npctalk "Loki : You have 10 seconds.", instance_npcname("Loki#3");
  4119. specialeffect EF_SONICBLOW, AREA, instance_npcname("Loki#3");
  4120. break;
  4121. case 43:
  4122. specialeffect EF_SLOWPOISON, AREA, instance_npcname("Loki#3");
  4123. npctalk "Loki : 10... 9...", instance_npcname("Loki#3");
  4124. sleep2 500;
  4125. specialeffect EF_STRIPWEAPON, AREA, instance_npcname("Loki#3");
  4126. specialeffect EF_POISONREACT, AREA, instance_npcname("Loki#3");
  4127. specialeffect EF_POISONREACT2, AREA, instance_npcname("Loki#3");
  4128. break;
  4129. case 45:
  4130. specialeffect EF_ENCHANTPOISON, AREA, instance_npcname("Loki#3");
  4131. sleep2 500;
  4132. emotion ET_KIK, getnpcid(0, instance_npcname("Loki#3"));
  4133. npctalk "Loki : 3... 2...", instance_npcname("Loki#3");
  4134. sleep2 500;
  4135. npctalk "Geffen Bully : What?! You went from from 9 to 3 seconds!!", instance_npcname("Geffen Bully#1");
  4136. npctalk "Geffen Bully : Screw this, let's run~!!!!!!!!!", instance_npcname("Geffen Bully#2");
  4137. npctalk "Geffen Bully : I will have my revenge~!!", instance_npcname("Geffen Bully#3");
  4138. break;
  4139. case 46:
  4140. specialeffect EF_SOULBREAKER, AREA, instance_npcname("Loki#3");
  4141. specialeffect EF_VENOMDUST, AREA, instance_npcname("Loki#3");
  4142. npctalk "Loki : 1...", instance_npcname("Loki#3");
  4143. sleep2 330;
  4144. hideonnpc instance_npcname("Geffen Bully#1");
  4145. hideonnpc instance_npcname("Geffen Bully#2");
  4146. hideonnpc instance_npcname("Geffen Bully#3");
  4147. break;
  4148. case 48:
  4149. hideonnpc instance_npcname("Loki#3");
  4150. hideoffnpc instance_npcname("Loki#1");
  4151. break;
  4152. case 49:
  4153. attachrid('gmt_account_id);
  4154. cutin "fenrir_a.bmp", 2;
  4155. mes "[Fenrir]", "Are you okay?", "Where are all these punks coming from anyways?"; next;
  4156. cutin "", 255;
  4157. mes "[Magic Academy Student]", "Thanks for helping me.", "Who are you?"; next;
  4158. cutin "fenrir_a.bmp", 2;
  4159. mes "[Fenrir]", "I am Fenris Fenrir."; next;
  4160. mes "[Fenrir]", "Thank " + strcharinfo(0) + ".", "It would have been much worse if "+('sex?"he":"she")+" hadn't shown up."; next;
  4161. cutin "", 255;
  4162. mes "[Magic Academy Student]", "Thank you so much " + strcharinfo(0) + ".", "You saved me."; next;
  4163. cutin "fenrir_a.bmp", 2;
  4164. mes "[Fenrir]", "You don't meet many people like " + strcharinfo(0) + " these days.", "You're a good person."; next;
  4165. mes "[Fenrir]", "I was on the way to register for the Geffen Magic Tournament with Loki."; next;
  4166. 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;
  4167. cutin "ep14_roki01.bmp", 2;
  4168. mes "[Loki]", "Oh yeah?", "" + strcharinfo(0) + " is going to register?", "That's interesting."; next;
  4169. mes "[Loki]", "I have a spare magic buff scroll.", "I will give it to you as a present.";
  4170. sc_start4 SC_GEFFEN_MAGIC2, 3600000, 5, 0, 0, 0, 10000, 1;
  4171. atcommand "@effect 220";
  4172. next;
  4173. mes "[Loki]", "I doubt that you can beat Fenrir at the Tournament.", "Her fighting prowess is unmatched."; next;
  4174. mes "[Loki]", "Fenrir, it's time to register.", "Let's hurry."; next;
  4175. cutin "fenrir_a.bmp", 2;
  4176. mes "[Fenrir]", "Yes~! I almost forgot.", "It was nice meeting you " + strcharinfo(0) + "~!"; next;
  4177. mes "[Fenrir]", "I hope to meet you in combat soon.";
  4178. close2;
  4179. cutin "", 255;
  4180. hideonnpc instance_npcname("Fenrir#1");
  4181. hideonnpc instance_npcname("Loki#1");
  4182. sleep2 1000;
  4183. hideonnpc instance_npcname("Magic Academy Student#11");
  4184. sleep2 3000;
  4185. unittalk $gmt_account_id, "It was fun meeting Fenrir.";
  4186. sleep2 2000;
  4187. unittalk $gmt_account_id, "I should register for the Magic Tournament.";
  4188. end;
  4189. }
  4190. sleep2 1000;
  4191. }
  4192. }
  4193. end;
  4194. }
  4195. //ϯϯϯϯϯϯϯϯϯ
  4196. // Event 3
  4197. //__________________
  4198. 1@gef,111,146,4 duplicate(#gmt_dummy) Geffen Resident#1 67
  4199. 1@gef,106,141,4 duplicate(#gmt_dummy) Geffen Resident#2 67
  4200. 1@gef,104,141,6 duplicate(#gmt_dummy) Lydia#1 10010
  4201. 1@gef,108,139,6 script Geffen Shoplifter#1 671,4,4,{
  4202. OnTouch:
  4203. if ('gmt_chase != 1) end;
  4204. if ('gmt_event != 0) end;
  4205. 'gmt_event = 3;
  4206. unittalk 'gmt_account_id, "Thief! Give that zeny back!! Don't move!!";
  4207. sleep2 3000;
  4208. npctalk "Geffen Shoplifter : Threatening me?~!! Yeah, boo hoo! You really scare me~!!", instance_npcname("Geffen Shoplifter#1");
  4209. sleep2 2000;
  4210. npctalk "Geffen Shoplifter : Catch me if you can~!!", instance_npcname("Geffen Shoplifter#1");
  4211. sleep2 2000;
  4212. npctalk "Geffen Resident : Please find my paycheck...", instance_npcname("Geffen Resident#1");
  4213. sleep2 3000;
  4214. unittalk 'gmt_account_id, "I have you now!";
  4215. hideonnpc instance_npcname("Geffen Shoplifter#1");
  4216. hideoffnpc instance_npcname("Geffen Shoplifter#2");
  4217. 'gmt_chase = 2;
  4218. 'GMTQuest = 3;
  4219. end;
  4220. }
  4221. 1@gef,107,126,4 script Geffen Shoplifter#2 671,4,4,{
  4222. end;
  4223. OnTouch:
  4224. if ('gmt_chase != 2) end;
  4225. if('OnTouchOnce5) end;
  4226. set 'OnTouchOnce5,1;
  4227. if (Zeny > 2000) Zeny -= 2000;
  4228. npctalk "Geffen Shoplifter : Are you following me? Thanks for the 2,000 zeny~!", instance_npcname("Geffen Shoplifter#2");
  4229. atcommand "@effect 18";
  4230. sleep2 3000;
  4231. unittalk 'gmt_account_id, "Hey~ Stop right there! Thief!";
  4232. sleep2 3000;
  4233. hideonnpc instance_npcname("Geffen Shoplifter#2");
  4234. hideoffnpc instance_npcname("Geffen Shoplifter#3");
  4235. 'gmt_chase = 3;
  4236. end;
  4237. }
  4238. 1@gef,111,118,4 script Geffen Shoplifter#3 671,4,4,{
  4239. end;
  4240. OnTouch:
  4241. if ('gmt_chase != 3) end;
  4242. if('OnTouchOnce6) end;
  4243. set 'OnTouchOnce6,1;
  4244. if (Zeny > 2000) Zeny -= 2000;
  4245. npctalk "Geffen Shoplifter : Woohoo~ Catch me if you can~! 4,000 large! Easy~!", instance_npcname("Geffen Shoplifter#3");
  4246. atcommand "@effect 18";
  4247. sleep2 3000;
  4248. unittalk 'gmt_account_id, "I will beat you down once I catch you!";
  4249. sleep2 3000;
  4250. hideonnpc instance_npcname("Geffen Shoplifter#3");
  4251. hideoffnpc instance_npcname("Geffen Shoplifter#11");
  4252. 'gmt_chase = 11;
  4253. end;
  4254. }
  4255. 1@gef,123,111,4 script Geffen Shoplifter#11 671,4,4,{
  4256. end;
  4257. OnTouch:
  4258. if ('gmt_chase != 11) end;
  4259. if('OnTouchOnce7) end;
  4260. set 'OnTouchOnce7,1;
  4261. if (Zeny > 2000) Zeny -= 2000;
  4262. npctalk "Geffen Shoplifter : You're annoying me~! I like it! 6,000 zeny~!", instance_npcname("Geffen Shoplifter#11");
  4263. atcommand "@effect 18";
  4264. sleep2 3000;
  4265. unittalk 'gmt_account_id, "Stop right there you filthy thief!";
  4266. sleep2 3000;
  4267. hideonnpc instance_npcname("Geffen Shoplifter#11");
  4268. hideoffnpc instance_npcname("Geffen Shoplifter#22");
  4269. 'gmt_chase = 22;
  4270. end;
  4271. }
  4272. 1@gef,129,121,4 script Geffen Shoplifter#22 671,4,4,{
  4273. end;
  4274. OnTouch:
  4275. if ('gmt_chase != 22) end;
  4276. if('OnTouchOnce8) end;
  4277. set 'OnTouchOnce8,1;
  4278. if (Zeny > 2000) Zeny -= 2000;
  4279. npctalk "Geffen Shoplifter : Calling me a rat? Yoink~ 8,000 zeny~!", instance_npcname("Geffen Shoplifter#22");
  4280. atcommand "@effect 18";
  4281. sleep2 3000;
  4282. unittalk 'gmt_account_id, "Would you stop?!";
  4283. sleep2 3000;
  4284. hideonnpc instance_npcname("Geffen Shoplifter#22");
  4285. hideoffnpc instance_npcname("Geffen Shoplifter#33");
  4286. 'gmt_chase = 33;
  4287. end;
  4288. }
  4289. 1@gef,114,137,4 script Geffen Shoplifter#33 671,4,4,{
  4290. end;
  4291. OnTouch:
  4292. if ('gmt_chase != 33) end;
  4293. if('OnTouchOnce9) end;
  4294. set 'OnTouchOnce9,1;
  4295. if (Zeny > 2000) Zeny -= 2000;
  4296. npctalk "Geffen Shoplifter : Stop following me. It's driving me crazy! 10,000 zeny~!", instance_npcname("Geffen Shoplifter#33");
  4297. atcommand "@effect 18";
  4298. sleep2 3000;
  4299. unittalk 'gmt_account_id, "You can't run away anymore. I've got you now!";
  4300. sleep2 3000;
  4301. npctalk "Geffen Shoplifter : You really piss me off! I'm gonna have to beat you down!", instance_npcname("Geffen Shoplifter#33");
  4302. sleep2 3000;
  4303. hideonnpc instance_npcname("Geffen Shoplifter#33");
  4304. monster instance_mapname("1@gef"), 114, 137, "Geffen Shoplifter", 2914, 1, instance_npcname("Geffen Shoplifter#33") + "::OnMobKilled";
  4305. end;
  4306. OnMobKilled:
  4307. hideoffnpc instance_npcname("Geffen Shoplifter#1");
  4308. //completequest 9288;
  4309. //setquest 9288; // State = 1, Time = 0
  4310. //completequest 9288;
  4311. //setquest 9289; // State = 1, Time = 0
  4312. 'gmt_timer_evt3 = 0;
  4313. initnpctimer;
  4314. end;
  4315. OnTimer1000:
  4316. 'gmt_timer_evt3++;
  4317. switch('gmt_timer_evt3) {
  4318. case 1: specialeffect EF_PATTACK, AREA, instance_npcname("Geffen Shoplifter#1"); break;
  4319. case 4: npctalk "Geffen Shoplifter : Ugh, I shouldn't fight toe to toe with anyone...", instance_npcname("Geffen Shoplifter#1"); break;
  4320. case 7: unittalk 'gmt_account_id, "Don't want to be in a fair fight, huh thief?"; break;
  4321. case 10: npctalk "Geffen Shoplifter : Umm... stealing zeny is my job~ I did nothing wrong~!", instance_npcname("Geffen Shoplifter#1"); break;
  4322. case 13: unittalk 'gmt_account_id, "What? You're stealing from needy people."; break;
  4323. case 16: npctalk "Geffen Shoplifter : Well, it has been fun~! I'm outta here~", instance_npcname("Geffen Shoplifter#1"); break;
  4324. case 17: unittalk 'gmt_account_id, "Hey! Give back what you stole thief!"; break;
  4325. case 20: npctalk "Geffen Shoplifter : Hahaha~! You'll get nothing~!", instance_npcname("Geffen Shoplifter#1"); break;
  4326. case 22: hideonnpc instance_npcname("Geffen Shoplifter#1"); break;
  4327. case 24:
  4328. if (attachrid('gmt_account_id)) {
  4329. mes "[Geffen Resident]", "My monthly salary...", "What am I gonna do?", "I have to eat..."; next;
  4330. mes "[Geffen Resident]", "You're not a thief are you?", "I don't know what to do about my zeny being stolen."; next;
  4331. 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.";
  4332. cutin "lydia_a.bmp", 0;
  4333. next;
  4334. hideoffnpc instance_npcname("Lydia#1");
  4335. mes "[Lydia]", "Hey, why are you crying?", "What happened?"; next;
  4336. mes "You tell Lydia about the shoplifters.";
  4337. cutin "", 255;
  4338. next;
  4339. mes "[Geffen Resident]", "What am I going to do?", "*sobbing*"; next;
  4340. mes "[Lydia]", "(I stole this envelope from one of those thug-looking guys)", "....", "How much zeny was stolen from you?";
  4341. cutin "lydia_a.bmp", 0;
  4342. next;
  4343. mes "[Geffen Resident]", "1,000,000 zeny!", "It's everything that I had.";
  4344. cutin "", 255;
  4345. next;
  4346. mes "[Lydia]", "Whoa! That's the same amount as what's in this envelope that I stole from that shoplifter.";
  4347. cutin "lydia_a.bmp", 0;
  4348. next;
  4349. mes "[Lydia]", "Maybe this is what you are looking for?", "Check it out!"; next;
  4350. mes "[Geffen Resident]", "Let me see...", "Wait, this has to be my zeny!", "Thank you very much for finding it!";
  4351. cutin "", 255;
  4352. next;
  4353. hideonnpc instance_npcname("Geffen Resident#1");
  4354. hideoffnpc instance_npcname("Geffen Resident#2");
  4355. mes "[Lydia]", "Well... Um, that is...", "I didn't say I was gonna give it back to you...";
  4356. cutin "lydia_a.bmp", 0;
  4357. next;
  4358. 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~!!";
  4359. cutin "", 255;
  4360. next;
  4361. hideonnpc instance_npcname("Geffen Resident#2");
  4362. mes "[Lydia]", "......", "I guess... I did a good thing...?";
  4363. cutin "lydia_a.bmp", 0;
  4364. next;
  4365. mes "You tell Lydia about your stolen zeny.";
  4366. cutin "", 255;
  4367. next;
  4368. mes "[Lydia]";
  4369. mes "So, are you asking me for more zeny?";
  4370. mes "Zeny doesn't grow on trees you know!";
  4371. cutin "lydia_a.bmp", 0;
  4372. next;
  4373. mes "[Lydia]";
  4374. mes "I mean it is hers so...";
  4375. mes "I'll just consider it a donation to the Geffen Magic Tournament.";
  4376. next;
  4377. mes "[Lydia]";
  4378. mes "Well, I can't give away any Tournament participants any zeny...";
  4379. next;
  4380. mes "[Lydia]";
  4381. mes "I stole this magic scroll from another thief, so don't worry about taking it.";
  4382. sc_start4 SC_GEFFEN_MAGIC1, 3600000, 5, 0, 0, 0, 10000, 1; // flag = 1
  4383. atcommand "@effect 220";
  4384. next;
  4385. mes "[Lydia]";
  4386. mes "I need to get to the Geffen Magic Tournament.";
  4387. mes "Gotta go!";
  4388. close2;
  4389. cutin "", 255;
  4390. hideonnpc instance_npcname("Lydia#1");
  4391. sleep2 2000;
  4392. unittalk 'gmt_account_id, "She disappeared before I could thank her...";
  4393. sleep2 3000;
  4394. unittalk 'gmt_account_id, "She seems like a good person...";
  4395. sleep2 3000;
  4396. unittalk 'gmt_account_id, "Well, time to register for the Magic Tournament.";
  4397. stopnpctimer;
  4398. end;
  4399. }
  4400. stopnpctimer;
  4401. end;
  4402. }
  4403. initnpctimer;
  4404. end;
  4405. }
  4406. 1@gef,114,143,0 script #Event 3 start 139,5,5,{
  4407. end;
  4408. OnTouch:
  4409. if ('gmt_event != 0) end;
  4410. if('OnTouchOnce10) end;
  4411. set 'OnTouchOnce10,1;
  4412. 'gmt_char_name$ = strcharinfo(0);
  4413. hideonnpc instance_npcname("#Event 3 start");
  4414. disablenpc instance_npcname("#Event 3 start");
  4415. hideoffnpc instance_npcname("Geffen Resident#1");
  4416. //setquest 9288;
  4417. 'gmt_timer_evt3 = 0;
  4418. initnpctimer;
  4419. end;
  4420. OnTimer1000:
  4421. 'gmt_timer_evt3++;
  4422. switch('gmt_timer_evt3) {
  4423. case 1: npctalk "Geffen Resident : A thief...! A thief~!!", instance_npcname("Geffen Resident#1"); break;
  4424. case 3: npctalk "Geffen Resident : Help me~!! Someone stole my paycheck!", instance_npcname("Geffen Resident#1"); break;
  4425. case 6:
  4426. hideoffnpc instance_npcname("Geffen Shoplifter#1");
  4427. 'gmt_chase = 1;
  4428. break;
  4429. case 8: npctalk "Geffen Shoplifter : Damn... Someone saw me...", instance_npcname("Geffen Shoplifter#1"); break;
  4430. case 11:
  4431. unittalk 'gmt_account_id, "What can I do? I gotta help.";
  4432. stopnpctimer;
  4433. end;
  4434. }
  4435. initnpctimer;
  4436. end;
  4437. }
  4438. 1@gef,0,0,0 script #gmt_main -1,{
  4439. end;
  4440. OnInstanceInit:
  4441. // Event 1
  4442. hideonnpc instance_npcname("Geffen Gangster#1");
  4443. hideonnpc instance_npcname("Geffen Gangster#2");
  4444. hideonnpc instance_npcname("Geffen Gangster#3");
  4445. hideonnpc instance_npcname("Kafra Employee#1");
  4446. hideonnpc instance_npcname("Geffen Gangster#11");
  4447. hideonnpc instance_npcname("Geffen Gangster#22");
  4448. hideonnpc instance_npcname("Geffen Gangster#33");
  4449. disablenpc instance_npcname("#Event 1 start 2");
  4450. hideonnpc instance_npcname("Chaos#Gef1");
  4451. hideonnpc instance_npcname("Chaos#Gef2");
  4452. hideonnpc instance_npcname("Chaos#3");
  4453. hideonnpc instance_npcname("Iris#Gef1");
  4454. // Event 2
  4455. hideonnpc instance_npcname("Geffen Bully#1");
  4456. hideonnpc instance_npcname("Geffen Bully#2");
  4457. hideonnpc instance_npcname("Geffen Bully#3");
  4458. hideonnpc instance_npcname("Geffen Bully#11");
  4459. hideonnpc instance_npcname("Geffen Bully#22");
  4460. hideonnpc instance_npcname("Geffen Bully#33");
  4461. hideonnpc instance_npcname("Magic Academy Student#11");
  4462. hideonnpc instance_npcname("Magic Academy Student#22");
  4463. hideonnpc instance_npcname("Loki#1");
  4464. hideonnpc instance_npcname("Loki#2");
  4465. hideonnpc instance_npcname("Loki#3");
  4466. hideonnpc instance_npcname("Fenrir#1");
  4467. disablenpc instance_npcname("#Event 2 start 2");
  4468. // Event 3
  4469. hideonnpc instance_npcname("Geffen Resident#1");
  4470. hideonnpc instance_npcname("Geffen Resident#2");
  4471. hideonnpc instance_npcname("Geffen Shoplifter#1");
  4472. hideonnpc instance_npcname("Geffen Shoplifter#2");
  4473. hideonnpc instance_npcname("Geffen Shoplifter#3");
  4474. hideonnpc instance_npcname("Geffen Shoplifter#11");
  4475. hideonnpc instance_npcname("Geffen Shoplifter#22");
  4476. hideonnpc instance_npcname("Geffen Shoplifter#33");
  4477. hideonnpc instance_npcname("Geffen Shoplifter#33");
  4478. hideonnpc instance_npcname("Lydia#1");
  4479. hideonnpc instance_npcname("Male Adventurer#gef");
  4480. hideonnpc instance_npcname("Handsome Adventurer#gef");
  4481. end;
  4482. }
  4483. 1@gef mapflag nowarp
  4484. 1@gef mapflag nomemo
  4485. 1@gef mapflag noteleport
  4486. 1@gef mapflag monster_noteleport
  4487. 1@gef mapflag nosave
  4488. 1@gef mapflag nobranch
  4489. 1@gef mapflag nowarpto
  4490. 1@gef mapflag noicewall
  4491. 1@gef mapflag restricted 9
  4492. 1@ge_st mapflag nowarp
  4493. 1@ge_st mapflag nomemo
  4494. 1@ge_st mapflag noteleport
  4495. 1@ge_st mapflag monster_noteleport
  4496. 1@ge_st mapflag nosave
  4497. 1@ge_st mapflag nobranch
  4498. 1@ge_st mapflag nowarpto
  4499. 1@ge_st mapflag noicewall
  4500. 1@ge_st mapflag restricted 9
  4501. 1@gef_in mapflag nowarp
  4502. 1@gef_in mapflag nomemo
  4503. 1@gef_in mapflag noteleport
  4504. 1@gef_in mapflag monster_noteleport
  4505. 1@gef_in mapflag nosave
  4506. 1@gef_in mapflag nobranch
  4507. 1@gef_in mapflag nowarpto
  4508. 1@gef_in mapflag noicewall
  4509. 1@gef_in mapflag restricted 9