GeffenMagicTournament.txt 168 KB

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