GeffenMagicTournament.txt 168 KB

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