GeffenMagicTournament.txt 167 KB

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