monster_race.txt 306 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426
  1. //===== eAthena Script =======================================
  2. //= Hugel Monster Races
  3. //===== By: ==================================================
  4. //= L0ne_W0lf
  5. //===== Current Version: =====================================
  6. //= 1.4
  7. //===== Compatible With: =====================================
  8. //= eAthena SVN (Trunk, r12752+)
  9. //===== Description: =========================================
  10. //= [Aegis Conversion]
  11. //= - Hugel Monster Races (Single and Double)
  12. //= - Prize Medal Exchanging, and Monster Track NPCs.
  13. //= - Contains both euRO and iRO dialog.
  14. //= - There are no permenent variables.
  15. //===== Additional Comments: =================================
  16. //= 1.0 First version. Please report bugs. [L0ne_W0lf]
  17. //= 1.1 Corrected a minor typo. [L0ne_W0lf]
  18. //= 1.2 Replaced effect numerics with constants. [L0ne_W0lf]
  19. //= 1.3 Ei'felle now gives Exercise. (Bugreport:4092) [L0ne_W0lf]
  20. //= 1.4 Fixed call to a non-existant event. [L0ne_W0lf]
  21. //============================================================
  22. //============================================================
  23. // Monstrer Race - Single Monster Race
  24. //============================================================
  25. hugel,51,61,0 script #race_timer1-1 -1,{
  26. OnInit:
  27. enablenpc "#race_timer1-1";
  28. set $@mon_time_1_1,2;
  29. initnpctimer;
  30. end;
  31. OnEnable:
  32. enablenpc "#race_timer1-1";
  33. set $@mon_time_1_1,2;
  34. initnpctimer;
  35. end;
  36. OnDisable:
  37. disablenpc "#race_timer1-1";
  38. stopnpctimer;
  39. end;
  40. OnTimer10000:
  41. mapannounce "hugel","The Single Monster Race will soon begin. We hope to see many of you participate!",bc_map,"0x87ceeb";
  42. end;
  43. OnTimer30000:
  44. mapannounce "hugel","The Single Monster Race Arena has just opened.",bc_map,"0x87ceeb";
  45. set $@mon_time_1_1,1;
  46. donpcevent "Race Progress Timer::OnEnable";
  47. end;
  48. OnTimer90000:
  49. mapannounce "hugel","The Single Monster Race arena is now open. Participants should enter the Arena as soon as they can.",bc_map,"0x87ceeb";
  50. end;
  51. OnTimer210000:
  52. mapannounce "hugel","The entrance to the Single Monster Race Arena will close shortly. Participants, please enter the arena now.",bc_map,"0x87ceeb";
  53. end;
  54. OnTimer270000:
  55. mapannounce "hugel","The Single Monster Race Arena's entrance will soon close.",bc_map,"0x87ceeb";
  56. end;
  57. OnTimer272000:
  58. mapannounce "hugel","Participants, please enter the Arena before the doors close.",bc_map,"0x87ceeb";
  59. end;
  60. OnTimer330000:
  61. mapannounce "hugel","The race is now starting. If you missed your chance to enter this race, please try again next time~!",bc_map,"0x87ceeb";
  62. set $@mon_time_1_1,0;
  63. donpcevent "#race_timer1-1::OnDisable";
  64. stopnpctimer;
  65. end;
  66. }
  67. p_track01,58,0,0 script Race Progress Timer -1,{
  68. OnInit:
  69. disablenpc "Race Progress Timer";
  70. end;
  71. OnEnable:
  72. enablenpc "Race Progress Timer";
  73. initnpctimer;
  74. enablenpc "starting#1";
  75. enablenpc "starting#2";
  76. enablenpc "starting#3";
  77. enablenpc "starting#4";
  78. enablenpc "starting#5";
  79. enablenpc "starting#6";
  80. set .@1st_line,rand(1,70);
  81. if ((.@1st_line > 0) && (.@1st_line < 11)) {
  82. set $@mr_1_luk1,.@1st_line;
  83. enablenpc "Luk#5";
  84. enablenpc "Luk#6";
  85. set .@tired1,rand(50,60);
  86. if (.@tired1 > 49) && (.@tired1 < 61) {
  87. set $@mr_1_tire1,.@tired1;
  88. enablenpc "Tire#1";
  89. }
  90. }
  91. else if ((.@1st_line > 10) && (.@1st_line < 31)) {
  92. set $@mr_1_luk1,.@1st_line;
  93. enablenpc "Luk#5";
  94. set .@tired1,rand(40,60);
  95. if (.@tired1 > 49) && (.@tired1 < 61) {
  96. set $@mr_1_tire1,.@tired1;
  97. enablenpc "Tire#1";
  98. }
  99. else {
  100. set $@mr_1_tire1,.@tired1;
  101. enablenpc "Tire#1";
  102. enablenpc "Tire#2";
  103. }
  104. }
  105. else if ((.@1st_line > 20) && (.@1st_line < 41)) {
  106. set $@mr_1_luk1,.@1st_line;
  107. enablenpc "Luk#1";
  108. set .@tired1,rand(30,50);
  109. if (.@tired1 > 39) && (.@tired1 < 51) {
  110. set $@mr_1_tire1,.@tired1;
  111. enablenpc "Tire#1";
  112. enablenpc "Tire#2";
  113. }
  114. else {
  115. set $@mr_1_tire1,.@tired1;
  116. enablenpc "Tire#1";
  117. enablenpc "Tire#2";
  118. enablenpc "Tire#3";
  119. }
  120. }
  121. else if ((.@1st_line > 40) && (.@1st_line < 51)) {
  122. set $@mr_1_luk1,.@1st_line;
  123. enablenpc "Luk#1";
  124. enablenpc "Luk#2";
  125. set .@tired1,rand(20,40);
  126. if (.@tired1 > 29) && (.@tired1 < 41) {
  127. set $@mr_1_tire1,.@tired1;
  128. enablenpc "Tire#1";
  129. enablenpc "Tire#2";
  130. enablenpc "Tire#3";
  131. }
  132. else {
  133. set $@mr_1_tire1,.@tired1;
  134. enablenpc "Tire#1";
  135. enablenpc "Tire#2";
  136. enablenpc "Tire#3";
  137. enablenpc "Tire#4";
  138. }
  139. }
  140. else if ((.@1st_line > 50) && (.@1st_line < 61)) {
  141. set $@mr_1_luk1,.@1st_line;
  142. enablenpc "Luk#1";
  143. enablenpc "Luk#2";
  144. enablenpc "Luk#3";
  145. set .@tired1,rand(10,30);
  146. if (.@tired1 > 19) && (.@tired1 < 31) {
  147. set $@mr_1_tire1,.@tired1;
  148. enablenpc "Tire#1";
  149. enablenpc "Tire#2";
  150. enablenpc "Tire#3";
  151. enablenpc "Tire#4";
  152. }
  153. else {
  154. set $@mr_1_tire1,.@tired1;
  155. enablenpc "Tire#1";
  156. enablenpc "Tire#2";
  157. enablenpc "Tire#3";
  158. enablenpc "Tire#4";
  159. enablenpc "Tire#5";
  160. }
  161. }
  162. else if ((.@1st_line > 60) && (.@1st_line < 71)) {
  163. set $@mr_1_luk1,.@1st_line;
  164. enablenpc "Luk#1";
  165. enablenpc "Luk#2";
  166. enablenpc "Luk#3";
  167. enablenpc "Luk#4";
  168. set .@tired1,rand(0,20);
  169. if (.@tired1 > 9) && (.@tired1 < 21) {
  170. set $@mr_1_tire1,.@tired1;
  171. enablenpc "Tire#1";
  172. enablenpc "Tire#2";
  173. enablenpc "Tire#3";
  174. enablenpc "Tire#4";
  175. enablenpc "Tire#5";
  176. }
  177. else {
  178. set $@mr_1_tire1,.@tired1;
  179. enablenpc "Tire#1";
  180. enablenpc "Tire#2";
  181. enablenpc "Tire#3";
  182. enablenpc "Tire#4";
  183. enablenpc "Tire#5";
  184. enablenpc "Tire#6";
  185. }
  186. }
  187. else {
  188. set $@mr_1_luk1,.@1st_line;
  189. enablenpc "Luk#1";
  190. enablenpc "Luk#2";
  191. enablenpc "Luk#3";
  192. enablenpc "Luk#4";
  193. set .@tired1,rand(0,20);
  194. if (.@tired1 > 9) && (.@tired1 < 21) {
  195. set $@mr_1_tire1,.@tired1;
  196. enablenpc "Tire#1";
  197. enablenpc "Tire#2";
  198. enablenpc "Tire#3";
  199. enablenpc "Tire#4";
  200. enablenpc "Tire#5";
  201. }
  202. else {
  203. set $@mr_1_tire1,.@tired1;
  204. enablenpc "Tire#1";
  205. enablenpc "Tire#2";
  206. enablenpc "Tire#3";
  207. enablenpc "Tire#4";
  208. enablenpc "Tire#5";
  209. enablenpc "Tire#6";
  210. }
  211. }
  212. set .@2nd_line,rand(1,70);
  213. if ((.@2nd_line > 0) && (.@2nd_line < 11)) {
  214. set $@mr_1_luk2,.@2nd_line;
  215. enablenpc "Luk2#5";
  216. enablenpc "Luk2#6";
  217. set .@tired2,rand(50,60);
  218. if (.@tired2 > 49) && (.@tired2 < 61) {
  219. set $@mr_1_tire2,.@tired2;
  220. enablenpc "Tire2#2";
  221. }
  222. }
  223. else if ((.@2nd_line > 10) && (.@2nd_line < 31)) {
  224. set $@mr_1_luk2,.@2nd_line;
  225. enablenpc "Luk2#5";
  226. set .@tired2,rand(40,60);
  227. if (.@tired2 > 49) && (.@tired2 < 61) {
  228. set $@mr_1_tire2,.@tired2;
  229. enablenpc "Tire2#1";
  230. }
  231. else {
  232. set $@mr_1_tire2,.@tired2;
  233. enablenpc "Tire2#1";
  234. enablenpc "Tire2#2";
  235. }
  236. }
  237. else if ((.@2nd_line > 20) && (.@2nd_line < 41)) {
  238. set $@mr_1_luk2,.@2nd_line;
  239. enablenpc "Luk2#1";
  240. set .@tired2,rand(30,50);
  241. if (.@tired2 > 39) && (.@tired2 < 51) {
  242. set $@mr_1_tire2,.@tired2;
  243. enablenpc "Tire2#1";
  244. enablenpc "Tire2#2";
  245. }
  246. else {
  247. set $@mr_1_tire2,.@tired2;
  248. enablenpc "Tire2#1";
  249. enablenpc "Tire2#2";
  250. enablenpc "Tire2#3";
  251. }
  252. }
  253. else if ((.@2nd_line > 40) && (.@2nd_line < 51)) {
  254. set $@mr_1_luk2,.@2nd_line;
  255. enablenpc "Luk2#1";
  256. enablenpc "Luk2#2";
  257. set .@tired2,rand(20,40);
  258. if (.@tired2 > 29) && (.@tired2 < 41) {
  259. set $@mr_1_tire2,.@tired2;
  260. enablenpc "Tire2#1";
  261. enablenpc "Tire2#2";
  262. enablenpc "Tire2#3";
  263. }
  264. else {
  265. set $@mr_1_tire2,.@tired2;
  266. enablenpc "Tire2#1";
  267. enablenpc "Tire2#2";
  268. enablenpc "Tire2#3";
  269. enablenpc "Tire2#4";
  270. }
  271. }
  272. else if ((.@2nd_line > 50) && (.@2nd_line < 61)) {
  273. set $@mr_1_luk2,.@2nd_line;
  274. enablenpc "Luk2#1";
  275. enablenpc "Luk2#2";
  276. enablenpc "Luk2#3";
  277. set .@tired2,rand(10,30);
  278. if (.@tired2 > 19) && (.@tired2 < 31) {
  279. set $@mr_1_tire2,.@tired2;
  280. enablenpc "Tire2#1";
  281. enablenpc "Tire2#2";
  282. enablenpc "Tire2#3";
  283. enablenpc "Tire2#4";
  284. }
  285. else {
  286. set $@mr_1_tire2,.@tired2;
  287. enablenpc "Tire2#1";
  288. enablenpc "Tire2#2";
  289. enablenpc "Tire2#3";
  290. enablenpc "Tire2#4";
  291. enablenpc "Tire2#5";
  292. }
  293. }
  294. else if ((.@2nd_line > 60) && (.@2nd_line < 71)) {
  295. set $@mr_1_luk2,.@2nd_line;
  296. enablenpc "Luk2#1";
  297. enablenpc "Luk2#2";
  298. enablenpc "Luk2#3";
  299. enablenpc "Luk2#4";
  300. set .@tired2,rand(0,20);
  301. if (.@tired2 > 9) && (.@tired2 < 21) {
  302. set $@mr_1_tire2,.@tired2;
  303. enablenpc "Tire2#1";
  304. enablenpc "Tire2#2";
  305. enablenpc "Tire2#3";
  306. enablenpc "Tire2#4";
  307. enablenpc "Tire2#5";
  308. }
  309. else {
  310. set $@mr_1_tire2,.@tired2;
  311. enablenpc "Tire2#1";
  312. enablenpc "Tire2#2";
  313. enablenpc "Tire2#3";
  314. enablenpc "Tire2#4";
  315. enablenpc "Tire2#5";
  316. enablenpc "Tire2#6";
  317. }
  318. }
  319. else {
  320. set $@mr_1_luk2,.@2nd_line;
  321. enablenpc "Luk2#1";
  322. enablenpc "Luk2#2";
  323. enablenpc "Luk2#3";
  324. enablenpc "Luk2#4";
  325. set .@tired2,rand(0,20);
  326. if (.@tired2 > 9) && (.@tired2 < 21) {
  327. set $@mr_1_tire2,.@tired2;
  328. enablenpc "Tire2#1";
  329. enablenpc "Tire2#2";
  330. enablenpc "Tire2#3";
  331. enablenpc "Tire2#4";
  332. enablenpc "Tire2#5";
  333. }
  334. else {
  335. set $@mr_1_tire2,.@tired2;
  336. enablenpc "Tire2#1";
  337. enablenpc "Tire2#2";
  338. enablenpc "Tire2#3";
  339. enablenpc "Tire2#4";
  340. enablenpc "Tire2#5";
  341. enablenpc "Tire2#6";
  342. }
  343. }
  344. set .@3rd_line,rand(1,70);
  345. if ((.@3rd_line > 0) && (.@3rd_line < 11)) {
  346. set $@mr_1_luk3,.@3rd_line;
  347. enablenpc "Luk3#5";
  348. enablenpc "Luk3#6";
  349. set .@tired3,rand(50,60);
  350. if (.@tired3 > 49) && (.@tired3 < 61) {
  351. set $@mr_1_tire3,.@tired3;
  352. enablenpc "Tire3#1";
  353. }
  354. }
  355. else if ((.@3rd_line > 10) && (.@3rd_line < 31)) {
  356. set $@mr_1_luk3,.@3rd_line;
  357. enablenpc "Luk3#5";
  358. set .@tired3,rand(40,60);
  359. if (.@tired3 > 49) && (.@tired3 < 61) {
  360. set $@mr_1_tire3,.@tired3;
  361. enablenpc "Tire3#1";
  362. }
  363. else {
  364. set $@mr_1_tire3,.@tired3;
  365. enablenpc "Tire3#1";
  366. enablenpc "Tire3#2";
  367. }
  368. }
  369. else if ((.@3rd_line > 20) && (.@3rd_line < 41)) {
  370. set $@mr_1_luk3,.@3rd_line;
  371. enablenpc "Luk3#1";
  372. set .@tired3,rand(30,50);
  373. if (.@tired3 > 39) && (.@tired3 < 51) {
  374. set $@mr_1_tire3,.@tired3;
  375. enablenpc "Tire3#1";
  376. enablenpc "Tire3#2";
  377. }
  378. else {
  379. set $@mr_1_tire3,.@tired3;
  380. enablenpc "Tire3#1";
  381. enablenpc "Tire3#2";
  382. enablenpc "Tire3#3";
  383. }
  384. }
  385. else if ((.@3rd_line > 40) && (.@3rd_line < 51)) {
  386. set $@mr_1_luk3,.@3rd_line;
  387. enablenpc "Luk3#1";
  388. enablenpc "Luk3#2";
  389. set .@tired3,rand(20,40);
  390. if (.@tired3 > 29) && (.@tired3 < 41) {
  391. set $@mr_1_tire3,.@tired3;
  392. enablenpc "Tire3#1";
  393. enablenpc "Tire3#2";
  394. enablenpc "Tire3#3";
  395. }
  396. else {
  397. set $@mr_1_tire3,.@tired3;
  398. enablenpc "Tire3#1";
  399. enablenpc "Tire3#2";
  400. enablenpc "Tire3#3";
  401. enablenpc "Tire3#4";
  402. }
  403. }
  404. else if ((.@3rd_line > 50) && (.@3rd_line < 61)) {
  405. set $@mr_1_luk3,.@3rd_line;
  406. enablenpc "Luk3#1";
  407. enablenpc "Luk3#2";
  408. enablenpc "Luk3#3";
  409. set .@tired3,rand(10,30);
  410. if (.@tired3 > 19) && (.@tired3 < 31) {
  411. set $@mr_1_tire3,.@tired3;
  412. enablenpc "Tire3#1";
  413. enablenpc "Tire3#2";
  414. enablenpc "Tire3#3";
  415. enablenpc "Tire3#4";
  416. }
  417. else {
  418. set $@mr_1_tire3,.@tired3;
  419. enablenpc "Tire#1";
  420. enablenpc "Tire#2";
  421. enablenpc "Tire#3";
  422. enablenpc "Tire#4";
  423. enablenpc "Tire#5";
  424. }
  425. }
  426. else if ((.@3rd_line > 60) && (.@3rd_line < 71)) {
  427. set $@mr_1_luk3,.@3rd_line;
  428. enablenpc "Luk3#1";
  429. enablenpc "Luk3#2";
  430. enablenpc "Luk3#3";
  431. enablenpc "Luk3#4";
  432. set .@tired3,rand(0,20);
  433. if (.@tired3 > 9) && (.@tired3 < 21) {
  434. set $@mr_1_tire3,.@tired3;
  435. enablenpc "Tire3#1";
  436. enablenpc "Tire3#2";
  437. enablenpc "Tire3#3";
  438. enablenpc "Tire3#4";
  439. enablenpc "Tire3#5";
  440. }
  441. else {
  442. set $@mr_1_tire3,.@tired3;
  443. enablenpc "Tire3#1";
  444. enablenpc "Tire3#2";
  445. enablenpc "Tire3#3";
  446. enablenpc "Tire3#4";
  447. enablenpc "Tire3#5";
  448. enablenpc "Tire3#6";
  449. }
  450. }
  451. else {
  452. set $@mr_1_luk3,.@3rd_line;
  453. enablenpc "Luk3#1";
  454. enablenpc "Luk3#2";
  455. enablenpc "Luk3#3";
  456. enablenpc "Luk3#4";
  457. set .@tired3,rand(0,20);
  458. if (.@tired3 > 9) && (.@tired3 < 21) {
  459. set $@mr_1_tire3,.@tired3;
  460. enablenpc "Tire3#1";
  461. enablenpc "Tire3#2";
  462. enablenpc "Tire3#3";
  463. enablenpc "Tire3#4";
  464. enablenpc "Tire3#5";
  465. }
  466. else {
  467. set $@mr_1_tire3,.@tired3;
  468. enablenpc "Tire3#1";
  469. enablenpc "Tire3#2";
  470. enablenpc "Tire3#3";
  471. enablenpc "Tire3#4";
  472. enablenpc "Tire3#5";
  473. enablenpc "Tire3#6";
  474. }
  475. }
  476. set .@4th_line,rand(1,70);
  477. if ((.@4th_line > 0) && (.@4th_line < 11)) {
  478. set $@mr_1_luk4,.@4th_line;
  479. enablenpc "Luk4#5";
  480. enablenpc "Luk4#6";
  481. set .@tired4,rand(50,60);
  482. if (.@tired4 > 49) && (.@tired4 < 61) {
  483. set $@mr_1_tire4,.@tired4;
  484. enablenpc "Tire4#1";
  485. }
  486. }
  487. else if ((.@4th_line > 10) && (.@4th_line < 31)) {
  488. set $@mr_1_luk4,.@4th_line;
  489. enablenpc "Luk4#5";
  490. set .@tired4,rand(40,60);
  491. if (.@tired4 > 49) && (.@tired4 < 61) {
  492. set $@mr_1_tire4,.@tired4;
  493. enablenpc "Tire#1";
  494. }
  495. else {
  496. set $@mr_1_tire4,.@tired4;
  497. enablenpc "Tire#1";
  498. enablenpc "Tire#2";
  499. }
  500. }
  501. else if ((.@4th_line > 20) && (.@4th_line < 41)) {
  502. set $@mr_1_luk4,.@4th_line;
  503. enablenpc "Luk4#1";
  504. set .@tired4,rand(30,50);
  505. if (.@tired4 > 39) && (.@tired4 < 51) {
  506. set $@mr_1_tire4,.@tired4;
  507. enablenpc "Tire4#1";
  508. enablenpc "Tire4#2";
  509. }
  510. else {
  511. set $@mr_1_tire4,.@tired4;
  512. enablenpc "Tire4#1";
  513. enablenpc "Tire4#2";
  514. enablenpc "Tire4#3";
  515. }
  516. }
  517. else if ((.@4th_line > 40) && (.@4th_line < 51)) {
  518. set $@mr_1_luk4,.@4th_line;
  519. enablenpc "Luk4#1";
  520. enablenpc "Luk4#2";
  521. set .@tired4,rand(20,40);
  522. if (.@tired4 > 29) && (.@tired4 < 41) {
  523. set $@mr_1_tire4,.@tired4;
  524. enablenpc "Tire4#1";
  525. enablenpc "Tire4#2";
  526. enablenpc "Tire4#3";
  527. }
  528. else {
  529. set $@mr_1_tire4,.@tired4;
  530. enablenpc "Tire4#1";
  531. enablenpc "Tire4#2";
  532. enablenpc "Tire4#3";
  533. enablenpc "Tire4#4";
  534. }
  535. }
  536. else if ((.@4th_line > 50) && (.@4th_line < 61)) {
  537. set $@mr_1_luk4,.@4th_line;
  538. enablenpc "Luk#1";
  539. enablenpc "Luk#2";
  540. enablenpc "Luk#3";
  541. set .@tired4,rand(10,30);
  542. if (.@tired4 > 19) && (.@tired4 < 31) {
  543. set $@mr_1_tire4,.@tired4;
  544. enablenpc "Tire4#1";
  545. enablenpc "Tire4#2";
  546. enablenpc "Tire4#3";
  547. enablenpc "Tire4#4";
  548. }
  549. else {
  550. set $@mr_1_tire4,.@tired4;
  551. enablenpc "Tire4#1";
  552. enablenpc "Tire4#2";
  553. enablenpc "Tire4#3";
  554. enablenpc "Tire4#4";
  555. enablenpc "Tire4#5";
  556. }
  557. }
  558. else if ((.@4th_line > 60) && (.@4th_line < 71)) {
  559. set $@mr_1_luk4,.@4th_line;
  560. enablenpc "Luk4#1";
  561. enablenpc "Luk4#2";
  562. enablenpc "Luk4#3";
  563. enablenpc "Luk4#4";
  564. set .@tired4,rand(0,20);
  565. if (.@tired4 > 9) && (.@tired4 < 21) {
  566. set $@mr_1_tire4,.@tired4;
  567. enablenpc "Tire4#1";
  568. enablenpc "Tire4#2";
  569. enablenpc "Tire4#3";
  570. enablenpc "Tire4#4";
  571. enablenpc "Tire4#5";
  572. }
  573. else {
  574. set $@mr_1_tire4,.@tired4;
  575. enablenpc "Tire4#1";
  576. enablenpc "Tire4#2";
  577. enablenpc "Tire4#3";
  578. enablenpc "Tire4#4";
  579. enablenpc "Tire4#5";
  580. enablenpc "Tire4#6";
  581. }
  582. }
  583. else {
  584. set $@mr_1_luk4,.@4th_line;
  585. enablenpc "Luk4#1";
  586. enablenpc "Luk4#2";
  587. enablenpc "Luk4#3";
  588. enablenpc "Luk4#4";
  589. set .@tired4,rand(0,20);
  590. if (.@tired4 > 9) && (.@tired4 < 21) {
  591. set $@mr_1_tire4,.@tired4;
  592. enablenpc "Tire4#1";
  593. enablenpc "Tire4#2";
  594. enablenpc "Tire4#3";
  595. enablenpc "Tire4#4";
  596. enablenpc "Tire4#5";
  597. }
  598. else {
  599. set $@mr_1_tire4,.@tired4;
  600. enablenpc "Tire4#1";
  601. enablenpc "Tire4#2";
  602. enablenpc "Tire4#3";
  603. enablenpc "Tire4#4";
  604. enablenpc "Tire4#5";
  605. enablenpc "Tire4#6";
  606. }
  607. }
  608. set .@5th_line,rand(1,70);
  609. if ((.@5th_line > 0) && (.@5th_line < 11)) {
  610. set $@mr_1_luk5,.@5th_line;
  611. enablenpc "Luk5#5";
  612. enablenpc "Luk5#6";
  613. set .@tired5,rand(50,60);
  614. if (.@tired5 > 49) && (.@tired5 < 61) {
  615. set $@mr_1_tire5,.@tired5;
  616. enablenpc "Tire5#1";
  617. }
  618. }
  619. else if ((.@5th_line > 10) && (.@5th_line < 31)) {
  620. set $@mr_1_luk5,.@5th_line;
  621. enablenpc "Luk5#5";
  622. set .@tired5,rand(40,60);
  623. if (.@tired5 > 49) && (.@tired5 < 61) {
  624. set $@mr_1_tire5,.@tired5;
  625. enablenpc "Tire5#1";
  626. }
  627. else {
  628. set $@mr_1_tire5,.@tired5;
  629. enablenpc "Tire5#1";
  630. enablenpc "Tire5#2";
  631. }
  632. }
  633. else if ((.@5th_line > 20) && (.@5th_line < 41)) {
  634. set $@mr_1_luk5,.@5th_line;
  635. enablenpc "Luk5#1";
  636. set .@tired5,rand(30,50);
  637. if (.@tired5 > 39) && (.@tired5 < 51) {
  638. set $@mr_1_tire5,.@tired5;
  639. enablenpc "Tire5#1";
  640. enablenpc "Tire5#2";
  641. }
  642. else {
  643. set $@mr_1_tire5,.@tired5;
  644. enablenpc "Tire5#1";
  645. enablenpc "Tire5#2";
  646. enablenpc "Tire5#3";
  647. }
  648. }
  649. else if ((.@5th_line > 40) && (.@5th_line < 51)) {
  650. set $@mr_1_luk5,.@5th_line;
  651. enablenpc "Luk5#1";
  652. enablenpc "Luk5#2";
  653. set .@tired5,rand(20,40);
  654. if (.@tired5 > 29) && (.@tired5 < 41) {
  655. set $@mr_1_tire5,.@tired5;
  656. enablenpc "Tire5#1";
  657. enablenpc "Tire5#2";
  658. enablenpc "Tire5#3";
  659. }
  660. else {
  661. set $@mr_1_tire5,.@tired5;
  662. enablenpc "Tire5#1";
  663. enablenpc "Tire5#2";
  664. enablenpc "Tire5#3";
  665. enablenpc "Tire5#4";
  666. }
  667. }
  668. else if ((.@5th_line > 50) && (.@5th_line < 61)) {
  669. set $@mr_1_luk5,.@5th_line;
  670. enablenpc "Luk5#1";
  671. enablenpc "Luk5#2";
  672. enablenpc "Luk5#3";
  673. set .@tired5,rand(10,30);
  674. if (.@tired5 > 19) && (.@tired5 < 31) {
  675. set $@mr_1_tire5,.@tired5;
  676. enablenpc "Tire5#1";
  677. enablenpc "Tire5#2";
  678. enablenpc "Tire5#3";
  679. enablenpc "Tire5#4";
  680. }
  681. else {
  682. set $@mr_1_tire5,.@tired5;
  683. enablenpc "Tire5#1";
  684. enablenpc "Tire5#2";
  685. enablenpc "Tire5#3";
  686. enablenpc "Tire5#4";
  687. enablenpc "Tire5#5";
  688. }
  689. }
  690. else if ((.@5th_line > 60) && (.@5th_line < 71)) {
  691. set $@mr_1_luk5,.@5th_line;
  692. enablenpc "Luk5#1";
  693. enablenpc "Luk5#2";
  694. enablenpc "Luk5#3";
  695. enablenpc "Luk5#4";
  696. set .@tired5,rand(0,20);
  697. if (.@tired5 > 9) && (.@tired5 < 21) {
  698. set $@mr_1_tire5,.@tired5;
  699. enablenpc "Tire5#1";
  700. enablenpc "Tire5#2";
  701. enablenpc "Tire5#3";
  702. enablenpc "Tire5#4";
  703. enablenpc "Tire5#5";
  704. }
  705. else {
  706. set $@mr_1_tire5,.@tired5;
  707. enablenpc "Tire5#1";
  708. enablenpc "Tire5#2";
  709. enablenpc "Tire5#3";
  710. enablenpc "Tire5#4";
  711. enablenpc "Tire5#5";
  712. enablenpc "Tire5#6";
  713. }
  714. }
  715. else {
  716. set $@mr_1_luk5,.@5th_line;
  717. enablenpc "Luk5#1";
  718. enablenpc "Luk5#2";
  719. enablenpc "Luk5#3";
  720. enablenpc "Luk5#4";
  721. set .@tired5,rand(0,20);
  722. if (.@tired5 > 9) && (.@tired5 < 21) {
  723. set $@mr_1_tire5,.@tired5;
  724. enablenpc "Tire5#1";
  725. enablenpc "Tire5#2";
  726. enablenpc "Tire5#3";
  727. enablenpc "Tire5#4";
  728. enablenpc "Tire5#5";
  729. }
  730. else {
  731. set $@mr_1_tire5,.@tired5;
  732. enablenpc "Tire5#1";
  733. enablenpc "Tire5#2";
  734. enablenpc "Tire5#3";
  735. enablenpc "Tire5#4";
  736. enablenpc "Tire5#5";
  737. enablenpc "Tire5#6";
  738. }
  739. }
  740. set .@6th_line,rand(1,70);
  741. if ((.@6th_line > 0) && (.@6th_line < 11)) {
  742. set $@mr_1_luk6,.@6th_line;
  743. enablenpc "Luk6#5";
  744. enablenpc "Luk6#6";
  745. set .@tired6,rand(50,60);
  746. if (.@tired6 > 49) && (.@tired6 < 61) {
  747. set $@mr_1_tire6,.@tired6;
  748. enablenpc "Tire6#1";
  749. }
  750. }
  751. else if ((.@6th_line > 10) && (.@6th_line < 31)) {
  752. set $@mr_1_luk6,.@6th_line;
  753. enablenpc "Luk6#5";
  754. set .@tired6,rand(40,60);
  755. if (.@tired6 > 49) && (.@tired6 < 61) {
  756. set $@mr_1_tire6,.@tired6;
  757. enablenpc "Tire6#1";
  758. }
  759. else {
  760. set $@mr_1_tire6,.@tired6;
  761. enablenpc "Tire6#1";
  762. enablenpc "Tire6#2";
  763. }
  764. }
  765. else if ((.@6th_line > 20) && (.@6th_line < 41)) {
  766. set $@mr_1_luk6,.@6th_line;
  767. enablenpc "Luk6#1";
  768. set .@tired6,rand(30,50);
  769. if (.@tired6 > 39) && (.@tired6 < 51) {
  770. set $@mr_1_tire6,.@tired6;
  771. enablenpc "Tire6#1";
  772. enablenpc "Tire6#2";
  773. }
  774. else {
  775. set $@mr_1_tire6,.@tired6;
  776. enablenpc "Tire6#1";
  777. enablenpc "Tire6#2";
  778. enablenpc "Tire6#3";
  779. }
  780. }
  781. else if ((.@6th_line > 40) && (.@6th_line < 51)) {
  782. set $@mr_1_luk6,.@6th_line;
  783. enablenpc "Luk6#1";
  784. enablenpc "Luk6#2";
  785. set .@tired6,rand(20,40);
  786. if (.@tired6 > 29) && (.@tired6 < 41) {
  787. set $@mr_1_tire6,.@tired6;
  788. enablenpc "Tire6#1";
  789. enablenpc "Tire6#2";
  790. enablenpc "Tire6#3";
  791. }
  792. else {
  793. set $@mr_1_tire6,.@tired6;
  794. enablenpc "Tire6#1";
  795. enablenpc "Tire6#2";
  796. enablenpc "Tire6#3";
  797. enablenpc "Tire6#4";
  798. }
  799. }
  800. else if ((.@6th_line > 50) && (.@6th_line < 61)) {
  801. set $@mr_1_luk6,.@6th_line;
  802. enablenpc "Luk6#1";
  803. enablenpc "Luk6#2";
  804. enablenpc "Luk6#3";
  805. set .@tired6,rand(10,30);
  806. if (.@tired6 > 19) && (.@tired6 < 31) {
  807. set $@mr_1_tire6,.@tired6;
  808. enablenpc "Tire6#1";
  809. enablenpc "Tire6#2";
  810. enablenpc "Tire6#3";
  811. enablenpc "Tire6#4";
  812. }
  813. else {
  814. set $@mr_1_tire6,.@tired6;
  815. enablenpc "Tire6#1";
  816. enablenpc "Tire6#2";
  817. enablenpc "Tire6#3";
  818. enablenpc "Tire6#4";
  819. enablenpc "Tire6#5";
  820. }
  821. }
  822. else if ((.@6th_line > 60) && (.@6th_line < 71)) {
  823. set $@mr_1_luk6,.@6th_line;
  824. enablenpc "Luk6#1";
  825. enablenpc "Luk6#2";
  826. enablenpc "Luk6#3";
  827. enablenpc "Luk6#4";
  828. set .@tired6,rand(0,20);
  829. if (.@tired6 > 9) && (.@tired6 < 21) {
  830. set $@mr_1_tire6,.@tired6;
  831. enablenpc "Tire6#1";
  832. enablenpc "Tire6#2";
  833. enablenpc "Tire6#3";
  834. enablenpc "Tire6#4";
  835. enablenpc "Tire6#5";
  836. }
  837. else {
  838. set $@mr_1_tire6,.@tired6;
  839. enablenpc "Tire6#1";
  840. enablenpc "Tire6#2";
  841. enablenpc "Tire6#3";
  842. enablenpc "Tire6#4";
  843. enablenpc "Tire6#5";
  844. enablenpc "Tire6#6";
  845. }
  846. }
  847. else {
  848. set $@mr_1_luk6,.@6th_line;
  849. enablenpc "Luk6#1";
  850. enablenpc "Luk6#2";
  851. enablenpc "Luk6#3";
  852. enablenpc "Luk6#4";
  853. set .@tired6,rand(0,20);
  854. if (.@tired6 > 9) && (.@tired6 < 21) {
  855. set $@mr_1_tire6,.@tired6;
  856. enablenpc "Tire6#1";
  857. enablenpc "Tire6#2";
  858. enablenpc "Tire6#3";
  859. enablenpc "Tire6#4";
  860. enablenpc "Tire6#5";
  861. }
  862. else {
  863. set $@mr_1_tire6,.@tired6;
  864. enablenpc "Tire6#1";
  865. enablenpc "Tire6#2";
  866. enablenpc "Tire6#3";
  867. enablenpc "Tire6#4";
  868. enablenpc "Tire6#5";
  869. enablenpc "Tire6#6";
  870. }
  871. }
  872. end;
  873. OnDisable:
  874. disablenpc "Race Progress Timer";
  875. stopnpctimer;
  876. end;
  877. OnTimer1000:
  878. enablenpc "Ticket Helper#single";
  879. end;
  880. OnTimer7000:
  881. mapannounce "p_track01","Welcome to the Monster Race Arena.",bc_map,"0xffb6c1";
  882. end;
  883. OnTimer10000:
  884. mapannounce "p_track01","Feel free to inquire at the help desk whenever you have questions.",bc_map,"0xffb6c1";
  885. end;
  886. OnTimer120000:
  887. mapannounce "p_track01","The Individual Monster Race will begin after 3 minutes.",bc_map,"0xffb6c1";
  888. end;
  889. OnTimer123000:
  890. mapannounce "p_track01","Anyone who wishes to join the race can enquire from the service staff in the arena.",bc_map,"0xffb6c1";
  891. end;
  892. OnTimer240000:
  893. mapannounce "p_track01","The Individual Monster Race will begin soon.",bc_map,"0xffb6c1";
  894. end;
  895. OnTimer243000:
  896. mapannounce "p_track01","Anyone who wishes to join the race can enquire from the service staff in the arena.",bc_map,"0xffb6c1";
  897. end;
  898. OnTimer300000:
  899. mapannounce "p_track01","The Monster Race has already begun. Good luck to all the participants.",bc_map,"0xffb6c1";
  900. set $@mon_time_1_1,0;
  901. set $@monster_race,0;
  902. disablenpc "Ticket Helper#single";
  903. donpcevent "Runner No. 1::OnEnable";
  904. donpcevent "Runner No. 2::OnEnable";
  905. donpcevent "Runner No. 3::OnEnable";
  906. donpcevent "Runner No. 4::OnEnable";
  907. donpcevent "Runner No. 5::OnEnable";
  908. donpcevent "Runner No. 6::OnEnable";
  909. stopnpctimer;
  910. end;
  911. }
  912. p_track01,73,22,1 script Ticket Helper#single 899,{
  913. if (checkweight(908,200) == 0) {
  914. mes "[Ticket Helper]";
  915. mes "Hello there!";
  916. mes "If you wish to join the 'Individual' Monster Race, ";
  917. mes "please choose one monster from ";
  918. mes "Monster No.1 to Monster No. 6 ~";
  919. next;
  920. mes "[Ticket Helper]";
  921. mes "However..";
  922. mes "It seems that you don't have enough space ";
  923. mes "to receive the monster ticket.";
  924. close;
  925. }
  926. mes "[Ticket Helper]";
  927. mes "Welcome to the";
  928. mes "Monster Race Arena.";
  929. mes "If you'd like to participate";
  930. mes "in the ^3131FFSingle Monster Race^000000,";
  931. mes "then please select 1 out of";
  932. mes "the 6 monsters from the list.";
  933. next;
  934. switch(select("Monster Status:Monster 1:Monster 2:Monster 3:Monster 4:Monster 5:Monster 6")) {
  935. case 1:
  936. mes "Monster 1 [^CC6600Luck^000000: " + $@mr_1_luk1 + "] [^EE0000HP^000000: " + $@mr_1_tire1 + "]";
  937. mes "Monster 2 [^CC6600Luck^000000: " + $@mr_1_luk2 + "] [^EE0000HP^000000: " + $@mr_1_tire2 + "]";
  938. mes "Monster 3 [^CC6600Luck^000000: " + $@mr_1_luk3 + "] [^EE0000HP^000000: " + $@mr_1_tire3 + "]";
  939. mes "Monster 4 [^CC6600Luck^000000: " + $@mr_1_luk4 + "] [^EE0000HP^000000: " + $@mr_1_tire4 + "]";
  940. mes "Monster 5 [^CC6600Luck^000000: " + $@mr_1_luk5 + "] [^EE0000HP^000000: " + $@mr_1_tire5 + "]";
  941. mes "Monster 6 [^CC6600Luck^000000: " + $@mr_1_luk6 + "] [^EE0000HP^000000: " + $@mr_1_tire6 + "]";
  942. close;
  943. case 2:
  944. if ($@mon_time_1_1 == 1) {
  945. if (monster_race_1 > 0) {
  946. mes "[Ticket Helper]";
  947. mes "You have selected";
  948. mes "Monster ^FF0000"+ monster_race_1 +"^000000 for the";
  949. mes "Single Monster Race.";
  950. mes "The start of the race";
  951. mes "will be announced soon,";
  952. mes "so please wait. Thank you.";
  953. close;
  954. }
  955. else {
  956. mes "[Ticket Helper]";
  957. mes "You've chosen Monster 1?";
  958. mes "Alright then, please wait";
  959. mes "until the start of the race is";
  960. mes "announced. If the monster you";
  961. mes "picked wins, then please use";
  962. mes "this ticket to redeem your prize.";
  963. getitem 7514,1; //Monster_Ticket
  964. set monster_race_1,1;
  965. close;
  966. }
  967. }
  968. else {
  969. mes "[Ticket Helper]";
  970. mes "I'm sorry, but a Monster";
  971. mes "Race is now in progress.";
  972. mes "If you'd like to participate, then please wait for the next race.";
  973. close;
  974. }
  975. case 3:
  976. if ($@mon_time_1_1 == 1) {
  977. if (monster_race_1 > 0) {
  978. mes "[Ticket Helper]";
  979. mes "You have selected";
  980. mes "Monster ^FF0000"+ monster_race_1 +"^000000 for the";
  981. mes "Single Monster Race.";
  982. mes "The start of the race";
  983. mes "will be announced soon,";
  984. mes "so please wait. Thank you.";
  985. close;
  986. }
  987. else {
  988. mes "[Ticket Helper]";
  989. mes "You've chosen Monster 2?";
  990. mes "Alright then, please wait";
  991. mes "until the start of the race is";
  992. mes "announced. If the monster you";
  993. mes "picked wins, then please use";
  994. mes "this ticket to redeem your prize.";
  995. getitem 7514,1; //Monster_Ticket
  996. set monster_race_1,2;
  997. close;
  998. }
  999. }
  1000. else {
  1001. mes "[Ticket Helper]";
  1002. mes "I'm sorry, but a Monster";
  1003. mes "Race is now in progress.";
  1004. mes "If you'd like to participate, then please wait for the next race.";
  1005. close;
  1006. }
  1007. case 4:
  1008. if ($@mon_time_1_1 == 1) {
  1009. if (monster_race_1 > 0) {
  1010. mes "[Ticket Helper]";
  1011. mes "You have selected";
  1012. mes "Monster ^FF0000"+ monster_race_1 +"^000000 for the";
  1013. mes "Single Monster Race.";
  1014. mes "The start of the race";
  1015. mes "will be announced soon,";
  1016. mes "so please wait. Thank you.";
  1017. close;
  1018. }
  1019. else {
  1020. mes "[Ticket Helper]";
  1021. mes "You've chosen Monster 3?";
  1022. mes "Alright then, please wait";
  1023. mes "until the start of the race is";
  1024. mes "announced. If the monster you";
  1025. mes "picked wins, then please use";
  1026. mes "this ticket to redeem your prize.";
  1027. getitem 7514,1; //Monster_Ticket
  1028. set monster_race_1,3;
  1029. close;
  1030. }
  1031. }
  1032. else {
  1033. mes "[Ticket Helper]";
  1034. mes "I'm sorry, but a Monster";
  1035. mes "Race is now in progress.";
  1036. mes "If you'd like to participate, then please wait for the next race.";
  1037. close;
  1038. }
  1039. case 5:
  1040. if ($@mon_time_1_1 == 1) {
  1041. if (monster_race_1 > 0) {
  1042. mes "[Ticket Helper]";
  1043. mes "You have selected";
  1044. mes "Monster ^FF0000"+ monster_race_1 +"^000000 for the";
  1045. mes "Single Monster Race.";
  1046. mes "The start of the race";
  1047. mes "will be announced soon,";
  1048. mes "so please wait. Thank you.";
  1049. close;
  1050. }
  1051. else {
  1052. mes "[Ticket Helper]";
  1053. mes "You've chosen Monster 4?";
  1054. mes "Alright then, please wait";
  1055. mes "until the start of the race is";
  1056. mes "announced. If the monster you";
  1057. mes "picked wins, then please use";
  1058. mes "this ticket to redeem your prize.";
  1059. getitem 7514,1; //Monster_Ticket
  1060. set monster_race_1,4;
  1061. close;
  1062. }
  1063. }
  1064. else {
  1065. mes "[Ticket Helper]";
  1066. mes "I'm sorry, but a Monster";
  1067. mes "Race is now in progress.";
  1068. mes "If you'd like to participate, then please wait for the next race.";
  1069. close;
  1070. }
  1071. case 6:
  1072. if ($@mon_time_1_1 == 1) {
  1073. if (monster_race_1 > 0) {
  1074. mes "[Ticket Helper]";
  1075. mes "You have selected";
  1076. mes "Monster ^FF0000"+ monster_race_1 +"^000000 for the";
  1077. mes "Single Monster Race.";
  1078. mes "The start of the race";
  1079. mes "will be announced soon,";
  1080. mes "so please wait. Thank you.";
  1081. close;
  1082. }
  1083. else {
  1084. mes "[Ticket Helper]";
  1085. mes "You've chosen Monster 5?";
  1086. mes "Alright then, please wait";
  1087. mes "until the start of the race is";
  1088. mes "announced. If the monster you";
  1089. mes "picked wins, then please use";
  1090. mes "this ticket to redeem your prize.";
  1091. getitem 7514,1; //Monster_Ticket
  1092. set monster_race_1,5;
  1093. close;
  1094. }
  1095. }
  1096. else {
  1097. mes "[Ticket Helper]";
  1098. mes "I'm sorry, but a Monster";
  1099. mes "Race is now in progress.";
  1100. mes "If you'd like to participate, then please wait for the next race.";
  1101. close;
  1102. }
  1103. case 7:
  1104. if ($@mon_time_1_1 == 1) {
  1105. if (monster_race_1 > 0) {
  1106. mes "[Ticket Helper]";
  1107. mes "You have selected";
  1108. mes "Monster ^FF0000"+ monster_race_1 +"^000000 for the";
  1109. mes "Single Monster Race.";
  1110. mes "The start of the race";
  1111. mes "will be announced soon,";
  1112. mes "so please wait. Thank you.";
  1113. close;
  1114. }
  1115. else {
  1116. mes "[Ticket Helper]";
  1117. mes "You've chosen Monster 6?";
  1118. mes "Alright then, please wait";
  1119. mes "until the start of the race is";
  1120. mes "announced. If the monster you";
  1121. mes "picked wins, then please use";
  1122. mes "this ticket to redeem your prize.";
  1123. getitem 7514,1; //Monster_Ticket
  1124. set monster_race_1,6;
  1125. close;
  1126. }
  1127. }
  1128. else {
  1129. mes "[Ticket Helper]";
  1130. mes "I'm sorry, but a Monster";
  1131. mes "Race is now in progress.";
  1132. mes "If you'd like to participate, then please wait for the next race.";
  1133. close;
  1134. }
  1135. }
  1136. close;
  1137. OnInit:
  1138. disablenpc "Ticket Helper#single";
  1139. end;
  1140. }
  1141. p_track01,30,38,0 script Runner No. 1 -1,1,0,{
  1142. end;
  1143. OnInit:
  1144. disablenpc "Runner No. 1";
  1145. end;
  1146. OnEnable:
  1147. emotion e_gasp;
  1148. enablenpc "Runner No. 1";
  1149. monster "p_track01",58,38,"The 1st Racer",1725,1,"Runner No. 1::OnMyMobDead";
  1150. end;
  1151. OnDisable:
  1152. disablenpc "Runner No. 1";
  1153. killmonster "p_track01","Runner No. 1::OnMyMobDead";
  1154. end;
  1155. OnTouchNPC:
  1156. initnpctimer;
  1157. set $@monster_race,1;
  1158. donpcevent "Runner No. 2::OnDisable";
  1159. donpcevent "Runner No. 3::OnDisable";
  1160. donpcevent "Runner No. 4::OnDisable";
  1161. donpcevent "Runner No. 5::OnDisable";
  1162. donpcevent "Runner No. 6::OnDisable";
  1163. end;
  1164. OnTimer1000:
  1165. mapannounce "p_track01","We have a winner...!",bc_map,"0x33FF66";
  1166. end;
  1167. OnTimer2000:
  1168. mapannounce "p_track01","Monster 1 is the winner of this race!",bc_map,"0x33FF66";
  1169. end;
  1170. OnTimer6000:
  1171. mapannounce "p_track01","If you wagered on Monster 1 in this race, talk to the Medal Distributor to receive your prize!",bc_map,"0x33FF66";
  1172. end;
  1173. OnTimer8000:
  1174. mapannounce "p_track01","Please remember that we can distribute Prize Medals for only 5 minutes after each race.",bc_map,"0x33FF66";
  1175. end;
  1176. OnTimer9000:
  1177. donpcevent "Medal Distributor#single::OnEnable";
  1178. donpcevent "Runner No. 1::OnDisable";
  1179. killmonster "p_track01","Runner No. 1::OnMyMobDead";
  1180. stopnpctimer;
  1181. end;
  1182. }
  1183. p_track01,30,36,0 script Runner No. 2 -1,1,0,{
  1184. end;
  1185. OnInit:
  1186. disablenpc "Runner No. 2";
  1187. end;
  1188. OnEnable:
  1189. emotion e_gasp;
  1190. enablenpc "Runner No. 2";
  1191. monster "p_track01",58,36,"The 2nd Racer",1726,1,"Runner No. 2::OnMyMobDead";
  1192. end;
  1193. OnDisable:
  1194. disablenpc "Runner No. 2";
  1195. killmonster "p_track01","Runner No. 2::OnMyMobDead";
  1196. end;
  1197. OnTouchNPC:
  1198. initnpctimer;
  1199. set $@monster_race,2;
  1200. donpcevent "Runner No. 1::OnDisable";
  1201. donpcevent "Runner No. 3::OnDisable";
  1202. donpcevent "Runner No. 4::OnDisable";
  1203. donpcevent "Runner No. 5::OnDisable";
  1204. donpcevent "Runner No. 6::OnDisable";
  1205. end;
  1206. OnTimer1000:
  1207. mapannounce "p_track01","We have a winner...!",bc_map,"0x33FF66";
  1208. end;
  1209. OnTimer2000:
  1210. mapannounce "p_track01","Monster 2 is the winner of this race!",bc_map,"0x33FF66";
  1211. end;
  1212. OnTimer6000:
  1213. mapannounce "p_track01","If you wagered on Monster 2 in this race, talk to the Medal Distributor to receive your prize!",bc_map,"0x33FF66";
  1214. end;
  1215. OnTimer8000:
  1216. mapannounce "p_track01","Please remember that we can distribute Prize Medals for only 5 minutes after each race.",bc_map,"0x33FF66";
  1217. end;
  1218. OnTimer9000:
  1219. donpcevent "Medal Distributor#single::OnEnable";
  1220. donpcevent "Runner No. 2::OnDisable";
  1221. killmonster "p_track01","Runner No. 2::OnMyMobDead";
  1222. stopnpctimer;
  1223. end;
  1224. }
  1225. p_track01,30,34,0 script Runner No. 3 -1,1,0,{
  1226. end;
  1227. OnInit:
  1228. disablenpc "Runner No. 3";
  1229. end;
  1230. OnEnable:
  1231. emotion e_gasp;
  1232. enablenpc "Runner No. 3";
  1233. monster "p_track01",58,34,"The 3rd Racer",1727,1,"Runner No. 3::OnMyMobDead";
  1234. end;
  1235. OnDisable:
  1236. disablenpc "Runner No. 3";
  1237. killmonster "p_track01","Runner No. 3::OnMyMobDead";
  1238. end;
  1239. OnTouchNPC:
  1240. initnpctimer;
  1241. set $@monster_race,3;
  1242. donpcevent "Runner No. 1::OnDisable";
  1243. donpcevent "Runner No. 2::OnDisable";
  1244. donpcevent "Runner No. 4::OnDisable";
  1245. donpcevent "Runner No. 5::OnDisable";
  1246. donpcevent "Runner No. 6::OnDisable";
  1247. end;
  1248. OnTimer1000:
  1249. mapannounce "p_track01","We have a winner...!",bc_map,"0x33FF66";
  1250. end;
  1251. OnTimer2000:
  1252. mapannounce "p_track01","Monster 3 is the winner of this race!",bc_map,"0x33FF66";
  1253. end;
  1254. OnTimer6000:
  1255. mapannounce "p_track01","If you wagered on Monster 3 in this race, talk to the Medal Distributor to receive your prize!",bc_map,"0x33FF66";
  1256. end;
  1257. OnTimer8000:
  1258. mapannounce "p_track01","Please remember that we can distribute Prize Medals for only 5 minutes after each race.",bc_map,"0x33FF66";
  1259. end;
  1260. OnTimer9000:
  1261. donpcevent "Medal Distributor#single::OnEnable";
  1262. donpcevent "Runner No. 3::OnDisable";
  1263. killmonster "p_track01","Runner No. 3::OnMyMobDead";
  1264. stopnpctimer;
  1265. end;
  1266. }
  1267. p_track01,30,32,0 script Runner No. 4 -1,1,0,{
  1268. end;
  1269. OnInit:
  1270. disablenpc "Runner No. 4";
  1271. end;
  1272. OnEnable:
  1273. emotion e_gasp;
  1274. enablenpc "Runner No. 4";
  1275. monster "p_track01",58,32,"The 4th Racer",1728,1,"Runner No. 4::OnMyMobDead";
  1276. end;
  1277. OnDisable:
  1278. disablenpc "Runner No. 4";
  1279. killmonster "p_track01","Runner No. 4::OnMyMobDead";
  1280. end;
  1281. OnTouchNPC:
  1282. initnpctimer;
  1283. set $@monster_race,4;
  1284. donpcevent "Runner No. 1::OnDisable";
  1285. donpcevent "Runner No. 2::OnDisable";
  1286. donpcevent "Runner No. 3::OnDisable";
  1287. donpcevent "Runner No. 5::OnDisable";
  1288. donpcevent "Runner No. 6::OnDisable";
  1289. end;
  1290. OnTimer1000:
  1291. mapannounce "p_track01","We have a winner...!",bc_map,"0x33FF66";
  1292. end;
  1293. OnTimer2000:
  1294. mapannounce "p_track01","Monster 4 is the winner of this race!",bc_map,"0x33FF66";
  1295. end;
  1296. OnTimer6000:
  1297. mapannounce "p_track01","If you wagered on Monster 4 in this race, talk to the Medal Distributor to receive your prize!",bc_map,"0x33FF66";
  1298. end;
  1299. OnTimer8000:
  1300. mapannounce "p_track01","Please remember that we can distribute Prize Medals for only 5 minutes after each race.",bc_map,"0x33FF66";
  1301. end;
  1302. OnTimer9000:
  1303. donpcevent "Medal Distributor#single::OnEnable";
  1304. donpcevent "Runner No. 4::OnDisable";
  1305. killmonster "p_track01","Runner No. 4::OnMyMobDead";
  1306. stopnpctimer;
  1307. end;
  1308. }
  1309. p_track01,30,30,0 script Runner No. 5 -1,1,0,{
  1310. end;
  1311. OnInit:
  1312. disablenpc "Runner No. 5";
  1313. end;
  1314. OnEnable:
  1315. emotion e_gasp;
  1316. enablenpc "Runner No. 5";
  1317. monster "p_track01",58,30,"The 5th Racer",1730,1,"Runner No. 5::OnMyMobDead";
  1318. end;
  1319. OnDisable:
  1320. disablenpc "Runner No. 5";
  1321. killmonster "p_track01","Runner No. 5::OnMyMobDead";
  1322. end;
  1323. OnTouchNPC:
  1324. initnpctimer;
  1325. set $@monster_race,5;
  1326. donpcevent "Runner No. 1::OnDisable";
  1327. donpcevent "Runner No. 2::OnDisable";
  1328. donpcevent "Runner No. 3::OnDisable";
  1329. donpcevent "Runner No. 4::OnDisable";
  1330. donpcevent "Runner No. 6::OnDisable";
  1331. end;
  1332. OnTimer1000:
  1333. mapannounce "p_track01","We have a winner...!",bc_map,"0x33FF66";
  1334. end;
  1335. OnTimer2000:
  1336. mapannounce "p_track01","Monster 5 is the winner of this race!",bc_map,"0x33FF66";
  1337. end;
  1338. OnTimer6000:
  1339. mapannounce "p_track01","If you wagered on Monster 5 in this race, talk to the Medal Distributor to receive your prize!",bc_map,"0x33FF66";
  1340. end;
  1341. OnTimer8000:
  1342. mapannounce "p_track01","Please remember that we can distribute Prize Medals for only 5 minutes after each race.",bc_map,"0x33FF66";
  1343. end;
  1344. OnTimer9000:
  1345. donpcevent "Medal Distributor#single::OnEnable";
  1346. donpcevent "Runner No. 5::OnDisable";
  1347. killmonster "p_track01","Runner No. 5::OnMyMobDead";
  1348. stopnpctimer;
  1349. end;
  1350. }
  1351. p_track01,30,28,0 script Runner No. 6 -1,1,0,{
  1352. end;
  1353. OnInit:
  1354. disablenpc "Runner No. 6";
  1355. end;
  1356. OnEnable:
  1357. emotion e_gasp;
  1358. enablenpc "Runner No. 6";
  1359. monster "p_track01",58,28,"The 6th Racer",1729,1,"Runner No. 6::OnMyMobDead";
  1360. end;
  1361. OnDisable:
  1362. disablenpc "Runner No. 6";
  1363. killmonster "p_track01","Runner No. 6::OnMyMobDead";
  1364. end;
  1365. OnTouchNPC:
  1366. initnpctimer;
  1367. set $@monster_race,6;
  1368. donpcevent "Runner No. 1::OnDisable";
  1369. donpcevent "Runner No. 2::OnDisable";
  1370. donpcevent "Runner No. 3::OnDisable";
  1371. donpcevent "Runner No. 4::OnDisable";
  1372. donpcevent "Runner No. 5::OnDisable";
  1373. end;
  1374. OnTimer1000:
  1375. mapannounce "p_track01","We have a winner...!",bc_map,"0x33FF66";
  1376. end;
  1377. OnTimer2000:
  1378. mapannounce "p_track01","Monster 6 is the winner of this race!",bc_map,"0x33FF66";
  1379. end;
  1380. OnTimer6000:
  1381. mapannounce "p_track01","If you wagered on Monster 6 in this race, talk to the Medal Distributor to receive your prize!",bc_map,"0x33FF66";
  1382. end;
  1383. OnTimer8000:
  1384. mapannounce "p_track01","Please remember that we can distribute Prize Medals for only 5 minutes after each race.",bc_map,"0x33FF66";
  1385. end;
  1386. OnTimer9000:
  1387. donpcevent "Medal Distributor#single::OnEnable";
  1388. donpcevent "Runner No. 6::OnDisable";
  1389. killmonster "p_track01","Runner No. 6::OnMyMobDead";
  1390. stopnpctimer;
  1391. end;
  1392. }
  1393. p_track01,67,45,5 script Medal Distributor#single 845,{
  1394. if (checkweight(908,200) == 0) {
  1395. mes "[Medal Distributor]";
  1396. mes "Before exchanging";
  1397. mes "please take off some of the things that you're carrying.";
  1398. close;
  1399. }
  1400. if (countitem(7514) > 0) {
  1401. mes "[Medal Distributor]";
  1402. mes "I am the Redemption Service Staff";
  1403. mes "who will give the winner medals and ticket";
  1404. mes "to the participants who";
  1405. mes "make the correct guess";
  1406. mes "for the Monster Race.";
  1407. next;
  1408. mes "[Medal Distributor]";
  1409. mes "The redemption of the winner ticket of every round";
  1410. mes "can only be made at ^0000FFthe particular round^000000.";
  1411. mes "Please remember that.";
  1412. mes "You can take the medal and";
  1413. mes "find Wayne in Hugel to retrieve your prizes.";
  1414. next;
  1415. mes "[Medal Distributor]";
  1416. mes "Do you want to show me your ticket?";
  1417. next;
  1418. if ($@monster_race == 1) {
  1419. if (monster_race_1 == 1) {
  1420. mes "[Medal Distributor]";
  1421. mes "Congratulations! You have won!";
  1422. mes "Although the winning rate for individual is higher than the doubles,";
  1423. mes "it's not easy to get a correct guess too..";
  1424. mes "You're really amazing";
  1425. next;
  1426. mes "[Medal Distributor]";
  1427. mes "Anyway...";
  1428. mes "Do you want to change";
  1429. mes "the 'ticket' into 'medal' right now?";
  1430. next;
  1431. switch(select("Yes:Maybe later")) {
  1432. case 1:
  1433. mes "[Medal Distributor]";
  1434. mes "I will confirm your ticket now.";
  1435. mes "Hmm, the winning monster for this round...";
  1436. mes "Yup! That's right!";
  1437. mes "Congratulations again!";
  1438. next;
  1439. mes "[Medal Distributor]";
  1440. mes "I will give you the medal as";
  1441. mes "the proof of the winner for the individual race.";
  1442. mes "As for the medal, bring it to Hugel ";
  1443. mes "and look for Wayne";
  1444. mes "to change it into prizes.";
  1445. mes "Please use it wisely.";
  1446. delitem 7514,1; //Monster_Ticket
  1447. set monster_race_1,0;
  1448. getitem 7515,4; //Marvelous_Medal
  1449. close;
  1450. case 2:
  1451. mes "[Medal Distributor]";
  1452. mes "The redemption of the winner ticket of every round";
  1453. mes "can only be made at ^0000FFthe particular round^000000.";
  1454. mes "Please remember that.";
  1455. close;
  1456. }
  1457. close;
  1458. }
  1459. else {
  1460. mes "[Medal Distributor]";
  1461. mes "Ah, what a pity.";
  1462. mes "I hope that you will win it next time.";
  1463. close;
  1464. }
  1465. }
  1466. else if ($@monster_race == 2) {
  1467. if (monster_race_1 == 2) {
  1468. mes "[Medal Distributor]";
  1469. mes "Congratulations! You have won!";
  1470. mes "Although the winning rate for individual is higher than the doubles,";
  1471. mes "it's not easy to get a correct guess too..";
  1472. mes "You're really amazing";
  1473. next;
  1474. mes "[Medal Distributor]";
  1475. mes "Anyway...";
  1476. mes "Do you want to change";
  1477. mes "the 'ticket' into 'medal' right now?";
  1478. next;
  1479. switch(select("Yes:Maybe later")) {
  1480. case 1:
  1481. mes "[Medal Distributor]";
  1482. mes "I will confirm your ticket now.";
  1483. mes "Hmm, the winning monster for this round...";
  1484. mes "Yup! That's right!";
  1485. mes "Congratulations again!";
  1486. next;
  1487. mes "[Medal Distributor]";
  1488. mes "I will give you the medal as";
  1489. mes "the proof of the winner for the individual race.";
  1490. mes "As for the medal, bring it to Hugel ";
  1491. mes "and look for Wayne";
  1492. mes "to change it into prizes.";
  1493. mes "Please use it wisely.";
  1494. delitem 7514,1; //Monster_Ticket
  1495. set monster_race_1,0;
  1496. getitem 7515,4; //Marvelous_Medal
  1497. close;
  1498. case 2:
  1499. mes "[Medal Distributor]";
  1500. mes "The redemption of the winner ticket of every round";
  1501. mes "can only be made at ^0000FFthe particular round^000000.";
  1502. mes "Please remember that.";
  1503. close;
  1504. }
  1505. close;
  1506. }
  1507. else {
  1508. mes "[Medal Distributor]";
  1509. mes "Ah, what a pity.";
  1510. mes "I hope that you will win it next time.";
  1511. close;
  1512. }
  1513. }
  1514. else if ($@monster_race == 3) {
  1515. if (monster_race_1 == 3) {
  1516. mes "[Medal Distributor]";
  1517. mes "Congratulations! You have won!";
  1518. mes "Although the winning rate for individual is higher than the doubles,";
  1519. mes "it's not easy to get a correct guess too..";
  1520. mes "You're really amazing";
  1521. next;
  1522. mes "[Medal Distributor]";
  1523. mes "Anyway...";
  1524. mes "Do you want to change";
  1525. mes "the 'ticket' into 'medal' right now?";
  1526. next;
  1527. switch(select("Yes:Maybe later")) {
  1528. case 1:
  1529. mes "[Medal Distributor]";
  1530. mes "I will confirm your ticket now.";
  1531. mes "Hmm, the winning monster for this round...";
  1532. mes "Yup! That's right!";
  1533. mes "Congratulations again!";
  1534. next;
  1535. mes "[Medal Distributor]";
  1536. mes "I will give you the medal as";
  1537. mes "the proof of the winner for the individual race.";
  1538. mes "As for the medal, bring it to Hugel ";
  1539. mes "and look for Wayne";
  1540. mes "to change it into prizes.";
  1541. mes "Please use it wisely.";
  1542. delitem 7514,1; //Monster_Ticket
  1543. set monster_race_1,0;
  1544. getitem 7515,4; //Marvelous_Medal
  1545. close;
  1546. case 2:
  1547. mes "[Medal Distributor]";
  1548. mes "The redemption of the winner ticket of every round";
  1549. mes "can only be made at ^0000FFthe particular round^000000.";
  1550. mes "Please remember that.";
  1551. close;
  1552. }
  1553. close;
  1554. }
  1555. else {
  1556. mes "[Medal Distributor]";
  1557. mes "Ah, what a pity.";
  1558. mes "I hope that you will win it next time.";
  1559. close;
  1560. }
  1561. }
  1562. else if ($@monster_race == 4) {
  1563. if (monster_race_1 == 4) {
  1564. mes "[Medal Distributor]";
  1565. mes "Congratulations! You have won!";
  1566. mes "Although the winning rate for individual is higher than the doubles,";
  1567. mes "it's not easy to get a correct guess too..";
  1568. mes "You're really amazing";
  1569. next;
  1570. mes "[Medal Distributor]";
  1571. mes "Anyway...";
  1572. mes "Do you want to change";
  1573. mes "the 'ticket' into 'medal' right now?";
  1574. next;
  1575. switch(select("Yes:Maybe later")) {
  1576. case 1:
  1577. mes "[Medal Distributor]";
  1578. mes "I will confirm your ticket now.";
  1579. mes "Hmm, the winning monster for this round...";
  1580. mes "Yup! That's right!";
  1581. mes "Congratulations again!";
  1582. next;
  1583. mes "[Medal Distributor]";
  1584. mes "I will give you the medal as";
  1585. mes "the proof of the winner for the individual race.";
  1586. mes "As for the medal, bring it to Hugel ";
  1587. mes "and look for Wayne";
  1588. mes "to change it into prizes.";
  1589. mes "Please use it wisely.";
  1590. delitem 7514,1; //Monster_Ticket
  1591. set monster_race_1,0;
  1592. getitem 7515,4; //Marvelous_Medal
  1593. close;
  1594. case 2:
  1595. mes "[Medal Distributor]";
  1596. mes "The redemption of the winner ticket of every round";
  1597. mes "can only be made at ^0000FFthe particular round^000000.";
  1598. mes "Please remember that.";
  1599. close;
  1600. }
  1601. close;
  1602. }
  1603. else {
  1604. mes "[Medal Distributor]";
  1605. mes "Ah, what a pity.";
  1606. mes "I hope that you will win it next time.";
  1607. close;
  1608. }
  1609. }
  1610. else if ($@monster_race == 5) {
  1611. if (monster_race_1 == 5) {
  1612. mes "[Medal Distributor]";
  1613. mes "Congratulations! You have won!";
  1614. mes "Although the winning rate for individual is higher than the doubles,";
  1615. mes "it's not easy to get a correct guess too..";
  1616. mes "You're really amazing";
  1617. next;
  1618. mes "[Medal Distributor]";
  1619. mes "Anyway...";
  1620. mes "Do you want to change";
  1621. mes "the 'ticket' into 'medal' right now?";
  1622. next;
  1623. switch(select("Yes:Maybe later")) {
  1624. case 1:
  1625. mes "[Medal Distributor]";
  1626. mes "I will confirm your ticket now.";
  1627. mes "Hmm, the winning monster for this round...";
  1628. mes "Yup! That's right!";
  1629. mes "Congratulations again!";
  1630. next;
  1631. mes "[Medal Distributor]";
  1632. mes "I will give you the medal as";
  1633. mes "the proof of the winner for the individual race.";
  1634. mes "As for the medal, bring it to Hugel ";
  1635. mes "and look for Wayne";
  1636. mes "to change it into prizes.";
  1637. mes "Please use it wisely.";
  1638. delitem 7514,1; //Monster_Ticket
  1639. set monster_race_1,0;
  1640. getitem 7515,4; //Marvelous_Medal
  1641. close;
  1642. case 2:
  1643. mes "[Medal Distributor]";
  1644. mes "The redemption of the winner ticket of every round";
  1645. mes "can only be made at ^0000FFthe particular round^000000.";
  1646. mes "Please remember that.";
  1647. close;
  1648. }
  1649. close;
  1650. }
  1651. else {
  1652. mes "[Medal Distributor]";
  1653. mes "Ah, what a pity.";
  1654. mes "I hope that you will win it next time.";
  1655. close;
  1656. }
  1657. }
  1658. else if ($@monster_race == 6) {
  1659. if (monster_race_1 == 6) {
  1660. mes "[Medal Distributor]";
  1661. mes "Congratulations! You have won!";
  1662. mes "Although the winning rate for individual is higher than the doubles,";
  1663. mes "it's not easy to get a correct guess too..";
  1664. mes "You're really amazing";
  1665. next;
  1666. mes "[Medal Distributor]";
  1667. mes "Anyway...";
  1668. mes "Do you want to change";
  1669. mes "the 'ticket' into 'medal' right now?";
  1670. next;
  1671. switch(select("Yes:Maybe later")) {
  1672. case 1:
  1673. mes "[Medal Distributor]";
  1674. mes "I will confirm your ticket now.";
  1675. mes "Hmm, the winning monster for this round...";
  1676. mes "Yup! That's right!";
  1677. mes "Congratulations again!";
  1678. next;
  1679. mes "[Medal Distributor]";
  1680. mes "I will give you the medal as";
  1681. mes "the proof of the winner for the individual race.";
  1682. mes "As for the medal, bring it to Hugel ";
  1683. mes "and look for Wayne";
  1684. mes "to change it into prizes.";
  1685. mes "Please use it wisely.";
  1686. delitem 7514,1; //Monster_Ticket
  1687. set monster_race_1,0;
  1688. getitem 7515,4; //Marvelous_Medal
  1689. close;
  1690. case 2:
  1691. mes "[Medal Distributor]";
  1692. mes "The redemption of the winner ticket of every round";
  1693. mes "can only be made at ^0000FFthe particular round^000000.";
  1694. mes "Please remember that.";
  1695. close;
  1696. }
  1697. close;
  1698. }
  1699. else {
  1700. mes "[Medal Distributor]";
  1701. mes "Ah, what a pity.";
  1702. mes "I hope that you will win it next time.";
  1703. close;
  1704. }
  1705. }
  1706. else {
  1707. mes "[Medal Distributor]";
  1708. mes "I am the Redemption Service Staff";
  1709. mes "who will give the winner medals and ticket";
  1710. mes "to the participants who";
  1711. mes "make the correct guess";
  1712. mes "for the Monster Race.";
  1713. next;
  1714. mes "[Medal Distributor]";
  1715. mes "The redemption of the winner ticket of every round";
  1716. mes "can only be made at ^0000FFthe particular round^000000.";
  1717. mes "Please remember that.";
  1718. mes "You can take the medal and";
  1719. mes "find Wayne in Hugel to retrieve your prizes.";
  1720. close;
  1721. }
  1722. }
  1723. else {
  1724. mes "[Medal Distributor]";
  1725. mes "I am the Redemption Service Staff";
  1726. mes "who will give the winner medals and ticket";
  1727. mes "to the participants who";
  1728. mes "make the correct guess";
  1729. mes "for the Monster Race.";
  1730. next;
  1731. mes "[Medal Distributor]";
  1732. mes "The redemption of the winner ticket of every round";
  1733. mes "can only be made at ^0000FFthe particular round^000000.";
  1734. mes "Please remember that.";
  1735. mes "You can take the medal and";
  1736. mes "find Wayne in Hugel to retrieve your prizes.";
  1737. close;
  1738. }
  1739. end;
  1740. OnInit:
  1741. disablenpc "Medal Distributor#single";
  1742. end;
  1743. OnEnable:
  1744. emotion e_gasp;
  1745. enablenpc "Medal Distributor#single";
  1746. initnpctimer;
  1747. end;
  1748. OnTimer1000:
  1749. mapannounce "p_track01","The Monster Race is finished! Congratulations to all the winners!",bc_map,"0xFFFF00";
  1750. end;
  1751. OnTimer4000:
  1752. mapannounce "p_track01","Please give your Racing Ticket to the Medal Distributor if you bet on the winning monster.",bc_map,"0xFFFF00";
  1753. end;
  1754. OnTimer7000:
  1755. mapannounce "p_track01","You have 5 minutes to exchange a winning ticket for Prize Medals from the Medal Distributor.",bc_map,"0xFFFF00";
  1756. end;
  1757. OnTimer10000:
  1758. mapannounce "p_track01","All tickets become void after this 5 minute period, so winners should claim their prize now.",bc_map,"0xFFFF00";
  1759. end;
  1760. OnTimer13000:
  1761. mapannounce "p_track01","Please leave the Race Arena before this 5 minute period elapses. Thank you.",bc_map,"0xFFFF00";
  1762. end;
  1763. OnTimer240000:
  1764. mapannounce "p_track01","Attention. We will being preparing for the next race shortly...",bc_map,"0xFFFF00";
  1765. end;
  1766. OnTimer243000:
  1767. mapannounce "p_track01","We will close the Racing Arena in 1 minute to prepare for the next race.",bc_map,"0xFFFF00";
  1768. end;
  1769. OnTimer246000:
  1770. mapannounce "p_track01","Participants in the last race should leave the arena as soon as possible.",bc_map,"0xFFFF00";
  1771. end;
  1772. OnTimer249000:
  1773. mapannounce "p_track01","Thank you for your cooperation.",bc_map,"0xFFFF00";
  1774. end;
  1775. OnTimer252000:
  1776. mapannounce "p_track01","We hope that you enjoyed the Monster Race arena. Come back again soon~",bc_map,"0xFFFF00";
  1777. donpcevent "starting#1::OnDisable";
  1778. donpcevent "starting#2::OnDisable";
  1779. donpcevent "starting#3::OnDisable";
  1780. donpcevent "starting#5::OnDisable";
  1781. donpcevent "starting#6::OnDisable";
  1782. end;
  1783. OnTimer300000:
  1784. donpcevent "#race_timer1-1::OnEnable";
  1785. set $@mon_time_1_1,2;
  1786. set $@monster_race,0;
  1787. mapwarp "p_track01","hugel",63,73;
  1788. end;
  1789. OnTimer306000:
  1790. donpcevent "Race Progress Timer::OnEnable";
  1791. end;
  1792. OnTimer342000:
  1793. disablenpc "Medal Distributor#single";
  1794. stopnpctimer;
  1795. end;
  1796. }
  1797. p_track01,76,36,1 script Exit Guide#single 798,{
  1798. mes "[Exit Guide]";
  1799. mes "If you have a winning Racing";
  1800. mes "Ticket, please make sure that.";
  1801. mes "you redeem it for Prize Medals";
  1802. mes "now. All Racing Rickets become";
  1803. mes "void once the next race begins.";
  1804. next;
  1805. mes "[Exit Guide]";
  1806. mes "If you wish to leave";
  1807. mes "the arena, then I can guide";
  1808. mes "you outside. Would you like";
  1809. mes "to leave the arena right now?";
  1810. next;
  1811. switch(select("Yes:No")) {
  1812. case 1:
  1813. if (countitem(7514) == 0) {
  1814. mes "[Exit Guide]";
  1815. mes "Thank you for";
  1816. mes "your patronage, and";
  1817. mes "I hope that you come";
  1818. mes "visit us again soon~";
  1819. }
  1820. else {
  1821. mes "[Exit Guide]";
  1822. mes "In accordance with our";
  1823. mes "policies, I must take your";
  1824. mes "Racing Ticket before you leave.";
  1825. mes "Thank you for your patronage";
  1826. mes "and I hope you enjoy your time";
  1827. mes "here in the Monster Race Arena.";
  1828. delitem 7514,1; //Monster_Ticket
  1829. }
  1830. set monster_race_1,0;
  1831. close2;
  1832. warp "hugel",63,73;
  1833. end;
  1834. case 2:
  1835. mes "[Exit Guide]";
  1836. mes "Alright, then";
  1837. mes "Kist let me know";
  1838. mes "whenever you're";
  1839. mes "ready to leave.";
  1840. close;
  1841. }
  1842. }
  1843. hugel,58,72,6 script Eckar Ellebird#single 798,{
  1844. mes "[Eckar Ellebird]";
  1845. mes "Welcome to the biggest";
  1846. mes "attraction in Hugel, the";
  1847. mes "Monster Race Arena.";
  1848. mes "How may I help you today?";
  1849. next;
  1850. if (select("Monster Race Info:Enter Monster Race") == 1) {
  1851. mes "[Eckar Erenes]";
  1852. mes "Monster Races originated from";
  1853. mes "simple children's games in which";
  1854. mes "Cute Pets would race against each other. This grew into an adult";
  1855. mes "pastime that is so popular, we've built a racing arena in Hugel.";
  1856. next;
  1857. mes "[Eckar Erenes]";
  1858. mes "Our Monster Race Arena hosts";
  1859. mes "two types of monster races. First, we have the Single Monster Race,";
  1860. mes "in which those that wagered on the 1st place monster are rewarded.";
  1861. next;
  1862. mes "[Eckar Erenes]";
  1863. mes "Then, we have the Dual Monster";
  1864. mes "Race in which the house odds and";
  1865. mes "rewards are greater than in Single";
  1866. mes "Monster Races: you must wager on";
  1867. mes "2 monsters, and they must place in.";
  1868. next;
  1869. mes "[Eckar Erenes]";
  1870. mes "Although a small entrance";
  1871. mes "fee is required, we only use";
  1872. mes "the money to give rewards to";
  1873. mes "participants and maintain this";
  1874. mes "arena. Therefore, we're not";
  1875. mes "profiting from this enterprise.";
  1876. next;
  1877. mes "[Eckar Erenes]";
  1878. mes "Also, we prohibit others";
  1879. mes "from making personal bets";
  1880. mes "and wagers, using items and";
  1881. mes "zeny, based on the outcomes";
  1882. mes "of these races. That kind of";
  1883. mes "gambling is illegal here.";
  1884. next;
  1885. mes "[Eckar Erenes]";
  1886. mes "Once you enter the Race Arena,";
  1887. mes "you will receive a Racing Ticket.";
  1888. mes "Keep in mind that winning Racing";
  1889. mes "Tickets can only be exchanged for";
  1890. mes "Prize Medals during a 5 minute";
  1891. mes "window after the end of the race.";
  1892. next;
  1893. }
  1894. mes "[Eckar Ellebird]";
  1895. mes "The entrance fee for all races";
  1896. mes "in the Monster Race Arena is";
  1897. mes "2,000 zeny. If you'd like to wager on a Dual Monster Race, then";
  1898. mes "please ask my brother Erenes,";
  1899. mes "and he will help you.";
  1900. next;
  1901. mes "[Eckar Ellebird]";
  1902. mes "Otherwise, I'll help get you";
  1903. mes "started if you're interested";
  1904. mes "in a Single Monster Race.";
  1905. mes "Would you like wager on";
  1906. mes "a Single Monster Race?";
  1907. next;
  1908. switch(select("Yes, please.:No, thanks.")) {
  1909. case 1:
  1910. if (checkweight(908,700) == 0) {
  1911. mes "[Eckar Ellebird]";
  1912. mes "Hmm... You're toting";
  1913. mes "too many things with you";
  1914. mes "right now. You better put";
  1915. mes "some of your stuff away in";
  1916. mes "Kafra Storage before you can";
  1917. mes "wager on any monster races.";
  1918. close;
  1919. }
  1920. if (Zeny > 1999) {
  1921. if (countitem(7514) > 0) {
  1922. mes "[Eckar Ellebird]";
  1923. mes "Hm? What are you doing";
  1924. mes "with an expired Racing Ticket?";
  1925. mes "Well, I better get rid of it for";
  1926. mes "you before it can get mixed up";
  1927. mes "with your new Racing Ticket.";
  1928. delitem 7514,1; //Monster_Ticket
  1929. next;
  1930. if ($@mon_time_1_1 == 1) {
  1931. mes "[Eckar Ellebird]";
  1932. mes "Thanks, I hope that";
  1933. mes "you enjoy this race.";
  1934. mes "Let me guide you now";
  1935. mes "to the Monster Race Arena.";
  1936. set monster_race_1,0;
  1937. close2;
  1938. warp "p_track01",75,41;
  1939. end;
  1940. }
  1941. else if ($@mon_time_1_1 == 2) {
  1942. mes "[Eckar Ellebird]";
  1943. mes "We're still finishing our";
  1944. mes "preparations for the next";
  1945. mes "Single Monster Race, so";
  1946. mes "we ask that you please";
  1947. mes "wait a little while longer.";
  1948. close;
  1949. }
  1950. else {
  1951. if (.@monster_race == 0) {
  1952. mes "[Eckar Ellebird]";
  1953. mes "Right now, a Monster Race";
  1954. mes "is in progress. It's too late to";
  1955. mes "place a wager, but if you'd like";
  1956. mes "to watch, the fee is 500 zeny";
  1957. mes "for spectators. Would you like";
  1958. mes "to enter the Monster Race Arena?";
  1959. next;
  1960. switch(select("Yes:No, thanks")) {
  1961. case 1:
  1962. if (Zeny > 499) {
  1963. mes "[Eckar Ellebird]";
  1964. mes "Thanks, I hope that";
  1965. mes "you enjoy this race.";
  1966. mes "Let me guide you now";
  1967. mes "to the Monster Race Arena.";
  1968. set zeny,zeny-500;
  1969. set monster_race_1,0;
  1970. close2;
  1971. warp "p_track01",75,41;
  1972. end;
  1973. }
  1974. else {
  1975. mes "[Eckar Ellebird]";
  1976. mes "I'm sorry, but you";
  1977. mes "don't have enough";
  1978. mes "money to pay the";
  1979. mes "2,000 zeny entrance fee.";
  1980. close;
  1981. }
  1982. case 2:
  1983. mes "[Eckar Ellebird]";
  1984. mes "Alright, then. If you'd like";
  1985. mes "to wager on a monster";
  1986. mes "race, please wait for the";
  1987. mes "current race to finish. I hope";
  1988. mes "that you enjoy your time here";
  1989. mes "in the Monster Race Arena~";
  1990. close;
  1991. }
  1992. }
  1993. else {
  1994. mes "[Eckar Ellebird]";
  1995. mes "I'm sorry, but a monster";
  1996. mes "race has just ended, so we're";
  1997. mes "having the 5 minute period in";
  1998. mes "which the winners can claim";
  1999. mes "their Prize Medals. The gate";
  2000. mes "will open soon, so please wait.";
  2001. close;
  2002. }
  2003. }
  2004. }
  2005. else {
  2006. if ($@mon_time_1_1 == 1) {
  2007. mes "[Eckar Ellebird]";
  2008. mes "Thanks, I hope that";
  2009. mes "you enjoy this race.";
  2010. mes "Let me guide you now";
  2011. mes "to the Monster Race Arena.";
  2012. set zeny,zeny-2000;
  2013. set monster_race_1,0;
  2014. close2;
  2015. warp "p_track01",75,41;
  2016. end;
  2017. }
  2018. else if ($@mon_time_1_1 == 2) {
  2019. mes "[Eckar Ellebird]";
  2020. mes "We're still finishing our";
  2021. mes "preparations for the next";
  2022. mes "Single Monster Race, so";
  2023. mes "we ask that you please";
  2024. mes "wait a little while longer.";
  2025. close;
  2026. }
  2027. else {
  2028. if ($@monster_race == 0) {
  2029. mes "[Eckar Ellebird]";
  2030. mes "Right now, a Monster Race";
  2031. mes "is in progress. It's too late to";
  2032. mes "place a wager, but if you'd like";
  2033. mes "to watch, the fee is 500 zeny";
  2034. mes "for spectators. Would you like";
  2035. mes "to enter the Monster Race Arena?";
  2036. next;
  2037. switch(select("Yes:No, thanks")) {
  2038. case 1:
  2039. if (Zeny > 499) {
  2040. mes "[Eckar Ellebird]";
  2041. mes "Thank you~";
  2042. mes "I hope you enjoy.";
  2043. mes "watching this race!";
  2044. set zeny,zeny-500;
  2045. set monster_race_1,0;
  2046. close2;
  2047. warp "p_track01",75,41;
  2048. end;
  2049. }
  2050. else {
  2051. mes "[Eckar Ellebird]";
  2052. mes "I'm sorry, but you";
  2053. mes "don't have enough";
  2054. mes "money to pay the";
  2055. mes "2,000 zeny entrance fee.";
  2056. close;
  2057. }
  2058. case 2:
  2059. mes "[Eckar Ellebird]";
  2060. mes "Alright, then. If you'd like";
  2061. mes "to wager on a monster";
  2062. mes "race, please wait for the";
  2063. mes "current race to finish. I hope";
  2064. mes "that you enjoy your time here";
  2065. mes "in the Monster Race Arena~";
  2066. close;
  2067. }
  2068. }
  2069. else {
  2070. mes "[Eckar Ellebird]";
  2071. mes "I'm sorry, but a monster";
  2072. mes "race has just ended, so we're";
  2073. mes "having the 5 minute period in";
  2074. mes "which the winners can claim";
  2075. mes "their Prize Medals. The gate";
  2076. mes "will open soon, so please wait.";
  2077. close;
  2078. }
  2079. }
  2080. }
  2081. }
  2082. else {
  2083. mes "[Eckar Ellebird]";
  2084. mes "I'm sorry, but you";
  2085. mes "don't have enough";
  2086. mes "money to pay the";
  2087. mes "2,000 zeny entrance fee.";
  2088. close;
  2089. }
  2090. case 2:
  2091. mes "[Eckar Ellebird]";
  2092. mes "Very well. I hope that";
  2093. mes "you enjoy your time here";
  2094. mes "in the Monster Race Arena~.";
  2095. close;
  2096. }
  2097. close;
  2098. }
  2099. p_track01,39,49,3 script Game Guide#single 845,{
  2100. mes "[Game Guide]";
  2101. mes "Welcome to the";
  2102. mes "Monster Race Arena.";
  2103. mes "How can I help you?";
  2104. next;
  2105. switch(select("Monster Race Info:Wager Info:Ticket Redemption Info")) {
  2106. case 1:
  2107. mes "[Game Guide]";
  2108. mes "Monster Races originated from";
  2109. mes "simple children's games in which";
  2110. mes "Cute Pets would race against each other. This grew into an adult";
  2111. mes "pastime that is so popular, we've built a racing arena in Hugel.";
  2112. next;
  2113. mes "[Game Guide]";
  2114. mes "Our Monster Race Arena hosts";
  2115. mes "two types of monster races. First, we have the Single Monster Race,";
  2116. mes "in which those that wagered on the 1st place monster are rewarded.";
  2117. next;
  2118. mes "[Game Guide]";
  2119. mes "Then, we have the Dual Monster";
  2120. mes "Race in which the house odds and";
  2121. mes "rewards are greater than in Single";
  2122. mes "Monster Races: you must wager on";
  2123. mes "2 monsters, and they must place in.";
  2124. next;
  2125. mes "[Game Guide]";
  2126. mes "Although a small entrance";
  2127. mes "fee is required, we only use";
  2128. mes "the money to give rewards to";
  2129. mes "participants and maintain this";
  2130. mes "arena. Therefore, we're not";
  2131. mes "profiting from this enterprise.";
  2132. next;
  2133. mes "[Game Guide]";
  2134. mes "Also, we prohibit others";
  2135. mes "from making personal bets";
  2136. mes "and wagers, using items and";
  2137. mes "zeny, based on the outcomes";
  2138. mes "of these races. That kind of";
  2139. mes "gambling is illegal here.";
  2140. next;
  2141. mes "[Game Guide]";
  2142. mes "Once you enter the Race Arena,";
  2143. mes "you will receive a Racing Ticket.";
  2144. mes "Keep in mind that winning Racing";
  2145. mes "Tickets can only be exchanged for";
  2146. mes "Prize Medals during a 5 minute";
  2147. mes "window after the end of the race.";
  2148. next;
  2149. break;
  2150. case 2:
  2151. mes "[Game Guide]";
  2152. mes "Before placing a wager, you";
  2153. mes "must get a free Racing Ticket";
  2154. mes "from the Ticket Helper. There,";
  2155. mes "I've marked the Ticket Helper";
  2156. mes "on your Mini-Map, so you can";
  2157. mes "find him pretty easily.";
  2158. viewpoint 1,73,22,1,0xFFFF33;
  2159. next;
  2160. break;
  2161. case 3:
  2162. mes "[Game Guide]";
  2163. mes "If you wagered on the winner";
  2164. mes "of a Single Monster Race, or";
  2165. mes "on the 1st or 2nd place winners";
  2166. mes "in a Dual Monster Race, then";
  2167. mes "you can exchange your Racing";
  2168. mes "Ticket for Prize Medals.";
  2169. next;
  2170. mes "[Game Guide]";
  2171. mes "However, you must exchange";
  2172. mes "your Racing Ticket with the";
  2173. mes "Medal Distributor within the";
  2174. mes "5 minute window after the end";
  2175. mes "of the race. ^FF0000Your ticket becomes";
  2176. mes "void after these 5 minutes.^000000";
  2177. next;
  2178. mes "[Game Guide]";
  2179. mes "When this 5 minute window";
  2180. mes "elapses, you will be teleported";
  2181. mes "outside, and we will immediately";
  2182. mes "begin preparing for the next race. Make sure that you remember this";
  2183. mes "information when you wager.";
  2184. next;
  2185. mes "[Game Guide]";
  2186. mes "If you haven't received";
  2187. mes "your free Racing Ticket,";
  2188. mes "then please visit the Ticket";
  2189. mes "Helper. There, I've just marked";
  2190. mes "his location on your Mini-Map.";
  2191. viewpoint 1,67,45,2,0xFFCE63;
  2192. next;
  2193. break;
  2194. }
  2195. mes "[Game Guide]";
  2196. mes "Thank you, and";
  2197. mes "I hope you enjoy";
  2198. mes "your time here in the";
  2199. mes "Monster Racing Arena.";
  2200. close;
  2201. }
  2202. p_track01,56,38,0 script starting#1 -1,0,0,{
  2203. end;
  2204. OnDisable:
  2205. enablenpc "Luk#1";
  2206. enablenpc "Luk#2";
  2207. enablenpc "Luk#3";
  2208. enablenpc "Luk#4";
  2209. enablenpc "Luk#5";
  2210. enablenpc "Luk#6";
  2211. enablenpc "Tire#1";
  2212. enablenpc "Tire#2";
  2213. enablenpc "Tire#3";
  2214. enablenpc "Tire#4";
  2215. enablenpc "Tire#5";
  2216. enablenpc "Tire#6";
  2217. set $@mr_1_luk1,0;
  2218. set $@mr_1_tire1,0;
  2219. end;
  2220. OnInit:
  2221. disablenpc "starting#1";
  2222. end;
  2223. OnTouchNPC:
  2224. set .@start,rand(1,100);
  2225. if (.@start > 0) && (.@start < 11) {
  2226. sc_start SC_WALKSPEED,5000,60;
  2227. }
  2228. else if (.@start > 10) && (.@start < 21) {
  2229. sc_start SC_WALKSPEED,5000,70;
  2230. }
  2231. else if (.@start > 20) && (.@start < 31) {
  2232. sc_start SC_WALKSPEED,5000,80;
  2233. }
  2234. else if (.@start > 30) && (.@start < 41) {
  2235. sc_start SC_WALKSPEED,5000,90;
  2236. }
  2237. else if (.@start > 40) && (.@start < 51) {
  2238. sc_start SC_WALKSPEED,5000,100;
  2239. }
  2240. else if (.@start > 50) && (.@start < 61) {
  2241. sc_start SC_WALKSPEED,5000,110;
  2242. }
  2243. else if (.@start > 60) && (.@start < 71) {
  2244. sc_start SC_WALKSPEED,5000,120;
  2245. }
  2246. else if (.@start > 70) && (.@start < 81) {
  2247. sc_start SC_WALKSPEED,5000,130;
  2248. }
  2249. else if (.@start > 80) && (.@start < 91) {
  2250. sc_start SC_WALKSPEED,5000,140;
  2251. }
  2252. else {
  2253. sc_start SC_WALKSPEED,5000,150;
  2254. }
  2255. end;
  2256. }
  2257. p_track01,33,38,0 script Luk#1 -1,0,0,{
  2258. end;
  2259. OnInit:
  2260. disablenpc "Luk#1";
  2261. end;
  2262. OnTouchNPC:
  2263. set .@start,rand(1,100);
  2264. if (.@start > 0) && (.@start < 61) {
  2265. sc_start SC_WALKSPEED,10000,110;
  2266. }
  2267. else if (.@start > 60) && (.@start < 71) {
  2268. sc_start SC_WALKSPEED,10000,120;
  2269. }
  2270. else if (.@start > 70) && (.@start < 81) {
  2271. sc_start SC_WALKSPEED,10000,130;
  2272. }
  2273. else if (.@start > 80) && (.@start < 91) {
  2274. sc_start SC_WALKSPEED,10000,140;
  2275. }
  2276. else {
  2277. sc_start SC_WALKSPEED,10000,150;
  2278. }
  2279. end;
  2280. }
  2281. p_track01,37,38,0 script Luk#2 -1,0,0,{
  2282. end;
  2283. OnInit:
  2284. disablenpc "Luk#2";
  2285. end;
  2286. OnTouchNPC:
  2287. set .@start,rand(1,100);
  2288. if (.@start > 0) && (.@start < 61) {
  2289. sc_start SC_WALKSPEED,10000,110;
  2290. }
  2291. else if (.@start > 60) && (.@start < 71) {
  2292. sc_start SC_WALKSPEED,10000,120;
  2293. }
  2294. else if (.@start > 70) && (.@start < 81) {
  2295. sc_start SC_WALKSPEED,10000,130;
  2296. }
  2297. else if (.@start > 80) && (.@start < 91) {
  2298. sc_start SC_WALKSPEED,10000,140;
  2299. }
  2300. else {
  2301. sc_start SC_WALKSPEED,10000,150;
  2302. }
  2303. end;
  2304. }
  2305. p_track01,53,38,0 script Luk#3 -1,0,0,{
  2306. end;
  2307. OnInit:
  2308. disablenpc "Luk#3";
  2309. end;
  2310. OnTouchNPC:
  2311. set .@start,rand(1,100);
  2312. if (.@start > 0) && (.@start < 61) {
  2313. sc_start SC_WALKSPEED,10000,110;
  2314. }
  2315. else if (.@start > 60) && (.@start < 71) {
  2316. sc_start SC_WALKSPEED,10000,120;
  2317. }
  2318. else if (.@start > 70) && (.@start < 81) {
  2319. sc_start SC_WALKSPEED,10000,130;
  2320. }
  2321. else if (.@start > 80) && (.@start < 91) {
  2322. sc_start SC_WALKSPEED,10000,140;
  2323. }
  2324. else {
  2325. sc_start SC_WALKSPEED,10000,150;
  2326. }
  2327. end;
  2328. }
  2329. p_track01,45,38,0 script Luk#4 -1,0,0,{
  2330. end;
  2331. OnInit:
  2332. disablenpc "Luk#4";
  2333. end;
  2334. OnTouchNPC:
  2335. set .@start,rand(1,100);
  2336. if (.@start > 0) && (.@start < 61) {
  2337. sc_start SC_WALKSPEED,10000,110;
  2338. }
  2339. else if (.@start > 60) && (.@start < 71) {
  2340. sc_start SC_WALKSPEED,10000,120;
  2341. }
  2342. else if (.@start > 70) && (.@start < 81) {
  2343. sc_start SC_WALKSPEED,10000,130;
  2344. }
  2345. else if (.@start > 80) && (.@start < 91) {
  2346. sc_start SC_WALKSPEED,10000,140;
  2347. }
  2348. else {
  2349. sc_start SC_WALKSPEED,10000,150;
  2350. }
  2351. end;
  2352. }
  2353. p_track01,49,38,0 script Luk#5 -1,0,0,{
  2354. end;
  2355. OnInit:
  2356. disablenpc "Luk#5";
  2357. end;
  2358. OnTouchNPC:
  2359. set .@start,rand(1,100);
  2360. if (.@start > 0) && (.@start < 61) {
  2361. sc_start SC_STUN,1000,0;
  2362. }
  2363. else if (.@start > 60) && (.@start < 71) {
  2364. sc_start SC_STUN,2000,0;
  2365. }
  2366. else if (.@start > 70) && (.@start < 81) {
  2367. sc_start SC_STUN,3000,0;
  2368. }
  2369. else if (.@start > 80) && (.@start < 91) {
  2370. sc_start SC_STUN,4000,0;
  2371. }
  2372. end;
  2373. }
  2374. p_track01,41,38,0 script Luk#6 -1,0,0,{
  2375. end;
  2376. OnInit:
  2377. disablenpc "Luk#6";
  2378. end;
  2379. OnTouchNPC:
  2380. set .@start,rand(1,100);
  2381. if (.@start > 0) && (.@start < 61) {
  2382. sc_start SC_STUN,1000,0;
  2383. }
  2384. else if (.@start > 60) && (.@start < 71) {
  2385. sc_start SC_STUN,2000,0;
  2386. }
  2387. else if (.@start > 70) && (.@start < 81) {
  2388. sc_start SC_STUN,3000,0;
  2389. }
  2390. else if (.@start > 80) && (.@start < 91) {
  2391. sc_start SC_STUN,4000,0;
  2392. }
  2393. end;
  2394. }
  2395. p_track01,43,38,0 script Tire#1 -1,0,0,{
  2396. end;
  2397. OnInit:
  2398. disablenpc "Tire#1";
  2399. end;
  2400. OnTouchNPC:
  2401. set .@start,rand(1,100);
  2402. if (.@start > 0) && (.@start < 61) {
  2403. sc_start SC_SLEEP,1000,0;
  2404. }
  2405. else if (.@start > 60) && (.@start < 71) {
  2406. sc_start SC_SLEEP,2000,0;
  2407. }
  2408. else if (.@start > 70) && (.@start < 81) {
  2409. sc_start SC_SLEEP,3000,0;
  2410. }
  2411. else if (.@start > 80) && (.@start < 91) {
  2412. sc_start SC_SLEEP,4000,0;
  2413. }
  2414. end;
  2415. }
  2416. p_track01,39,38,0 script Tire#2 -1,0,0,{
  2417. end;
  2418. OnInit:
  2419. disablenpc "Tire#2";
  2420. end;
  2421. OnTouchNPC:
  2422. set .@start,rand(1,100);
  2423. if (.@start > 0) && (.@start < 61) {
  2424. sc_start SC_SLEEP,1000,0;
  2425. }
  2426. else if (.@start > 60) && (.@start < 71) {
  2427. sc_start SC_SLEEP,2000,0;
  2428. }
  2429. else if (.@start > 70) && (.@start < 81) {
  2430. sc_start SC_SLEEP,3000,0;
  2431. }
  2432. else if (.@start > 80) && (.@start < 91) {
  2433. sc_start SC_SLEEP,4000,0;
  2434. }
  2435. end;
  2436. }
  2437. p_track01,35,38,0 script Tire#3 -1,0,0,{
  2438. end;
  2439. OnInit:
  2440. disablenpc "Tire#3";
  2441. end;
  2442. OnTouchNPC:
  2443. set .@start,rand(1,100);
  2444. if (.@start > 0) && (.@start < 61) {
  2445. sc_start SC_SLEEP,1000,0;
  2446. }
  2447. else if (.@start > 60) && (.@start < 71) {
  2448. sc_start SC_SLEEP,2000,0;
  2449. }
  2450. else if (.@start > 70) && (.@start < 81) {
  2451. sc_start SC_SLEEP,3000,0;
  2452. }
  2453. else if (.@start > 80) && (.@start < 91) {
  2454. sc_start SC_SLEEP,4000,0;
  2455. }
  2456. end;
  2457. }
  2458. p_track01,55,38,0 script Tire#4 -1,0,0,{
  2459. end;
  2460. OnInit:
  2461. disablenpc "Tire#4";
  2462. end;
  2463. OnTouchNPC:
  2464. set .@start,rand(1,100);
  2465. if (.@start > 0) && (.@start < 61) {
  2466. sc_start SC_SLEEP,1000,0;
  2467. }
  2468. else if (.@start > 60) && (.@start < 71) {
  2469. sc_start SC_SLEEP,2000,0;
  2470. }
  2471. else if (.@start > 70) && (.@start < 81) {
  2472. sc_start SC_SLEEP,3000,0;
  2473. }
  2474. else if (.@start > 80) && (.@start < 91) {
  2475. sc_start SC_SLEEP,4000,0;
  2476. }
  2477. end;
  2478. }
  2479. p_track01,51,38,0 script Tire#5 -1,0,0,{
  2480. end;
  2481. OnInit:
  2482. disablenpc "Tire#5";
  2483. end;
  2484. OnTouchNPC:
  2485. set .@start,rand(1,100);
  2486. if (.@start > 0) && (.@start < 61) {
  2487. sc_start SC_SLEEP,1000,0;
  2488. }
  2489. else if (.@start > 60) && (.@start < 71) {
  2490. sc_start SC_SLEEP,2000,0;
  2491. }
  2492. else if (.@start > 70) && (.@start < 81) {
  2493. sc_start SC_SLEEP,3000,0;
  2494. }
  2495. else if (.@start > 80) && (.@start < 91) {
  2496. sc_start SC_SLEEP,4000,0;
  2497. }
  2498. end;
  2499. }
  2500. p_track01,47,38,0 script Tire#6 -1,0,0,{
  2501. end;
  2502. OnInit:
  2503. disablenpc "Tire#6";
  2504. end;
  2505. OnTouchNPC:
  2506. set .@start,rand(1,100);
  2507. if (.@start > 0) && (.@start < 61) {
  2508. sc_start SC_SLEEP,1000,0;
  2509. }
  2510. else if (.@start > 60) && (.@start < 71) {
  2511. sc_start SC_SLEEP,2000,0;
  2512. }
  2513. else if (.@start > 70) && (.@start < 81) {
  2514. sc_start SC_SLEEP,3000,0;
  2515. }
  2516. else if (.@start > 80) && (.@start < 91) {
  2517. sc_start SC_SLEEP,4000,0;
  2518. }
  2519. end;
  2520. }
  2521. p_track01,56,36,0 script starting#2 -1,0,0,{
  2522. end;
  2523. OnDisable:
  2524. enablenpc "Luk2#1";
  2525. enablenpc "Luk2#2";
  2526. enablenpc "Luk2#3";
  2527. enablenpc "Luk2#4";
  2528. enablenpc "Luk2#5";
  2529. enablenpc "Luk2#6";
  2530. enablenpc "Tire2#1";
  2531. enablenpc "Tire2#2";
  2532. enablenpc "Tire2#3";
  2533. enablenpc "Tire2#4";
  2534. enablenpc "Tire2#5";
  2535. enablenpc "Tire2#6";
  2536. set $@mr_1_luk2,0;
  2537. set $@mr_1_tire2,0;
  2538. end;
  2539. OnInit:
  2540. disablenpc "starting#2";
  2541. end;
  2542. OnTouchNPC:
  2543. set .@start,rand(1,100);
  2544. if (.@start > 0) && (.@start < 11) {
  2545. sc_start SC_WALKSPEED,5000,60;
  2546. }
  2547. else if (.@start > 10) && (.@start < 21) {
  2548. sc_start SC_WALKSPEED,5000,70;
  2549. }
  2550. else if (.@start > 20) && (.@start < 31) {
  2551. sc_start SC_WALKSPEED,5000,80;
  2552. }
  2553. else if (.@start > 30) && (.@start < 41) {
  2554. sc_start SC_WALKSPEED,5000,90;
  2555. }
  2556. else if (.@start > 40) && (.@start < 51) {
  2557. sc_start SC_WALKSPEED,5000,100;
  2558. }
  2559. else if (.@start > 50) && (.@start < 61) {
  2560. sc_start SC_WALKSPEED,5000,110;
  2561. }
  2562. else if (.@start > 60) && (.@start < 71) {
  2563. sc_start SC_WALKSPEED,5000,120;
  2564. }
  2565. else if (.@start > 70) && (.@start < 81) {
  2566. sc_start SC_WALKSPEED,5000,130;
  2567. }
  2568. else if (.@start > 80) && (.@start < 91) {
  2569. sc_start SC_WALKSPEED,5000,140;
  2570. }
  2571. else {
  2572. sc_start SC_WALKSPEED,5000,150;
  2573. }
  2574. end;
  2575. }
  2576. p_track01,33,36,0 script Luk2#1 -1,0,0,{
  2577. end;
  2578. OnInit:
  2579. disablenpc "Luk2#1";
  2580. end;
  2581. OnTouchNPC:
  2582. set .@start,rand(1,100);
  2583. if (.@start > 0) && (.@start < 61) {
  2584. sc_start SC_WALKSPEED,10000,110;
  2585. }
  2586. else if (.@start > 60) && (.@start < 71) {
  2587. sc_start SC_WALKSPEED,10000,120;
  2588. }
  2589. else if (.@start > 70) && (.@start < 81) {
  2590. sc_start SC_WALKSPEED,10000,130;
  2591. }
  2592. else if (.@start > 80) && (.@start < 91) {
  2593. sc_start SC_WALKSPEED,10000,140;
  2594. }
  2595. else {
  2596. sc_start SC_WALKSPEED,10000,150;
  2597. }
  2598. end;
  2599. }
  2600. p_track01,37,36,0 script Luk2#2 -1,0,0,{
  2601. end;
  2602. OnInit:
  2603. disablenpc "Luk2#2";
  2604. end;
  2605. OnTouchNPC:
  2606. set .@start,rand(1,100);
  2607. if (.@start > 0) && (.@start < 61) {
  2608. sc_start SC_WALKSPEED,10000,110;
  2609. }
  2610. else if (.@start > 60) && (.@start < 71) {
  2611. sc_start SC_WALKSPEED,10000,120;
  2612. }
  2613. else if (.@start > 70) && (.@start < 81) {
  2614. sc_start SC_WALKSPEED,10000,130;
  2615. }
  2616. else if (.@start > 80) && (.@start < 91) {
  2617. sc_start SC_WALKSPEED,10000,140;
  2618. }
  2619. else {
  2620. sc_start SC_WALKSPEED,10000,150;
  2621. }
  2622. end;
  2623. }
  2624. p_track01,53,36,0 script Luk2#3 -1,0,0,{
  2625. end;
  2626. OnInit:
  2627. disablenpc "Luk2#3";
  2628. end;
  2629. OnTouchNPC:
  2630. set .@start,rand(1,100);
  2631. if (.@start > 0) && (.@start < 61) {
  2632. sc_start SC_WALKSPEED,10000,110;
  2633. }
  2634. else if (.@start > 60) && (.@start < 71) {
  2635. sc_start SC_WALKSPEED,10000,120;
  2636. }
  2637. else if (.@start > 70) && (.@start < 81) {
  2638. sc_start SC_WALKSPEED,10000,130;
  2639. }
  2640. else if (.@start > 80) && (.@start < 91) {
  2641. sc_start SC_WALKSPEED,10000,140;
  2642. }
  2643. else {
  2644. sc_start SC_WALKSPEED,10000,150;
  2645. }
  2646. end;
  2647. }
  2648. p_track01,45,36,0 script Luk2#4 -1,0,0,{
  2649. end;
  2650. OnInit:
  2651. disablenpc "Luk2#4";
  2652. end;
  2653. OnTouchNPC:
  2654. set .@start,rand(1,100);
  2655. if (.@start > 0) && (.@start < 61) {
  2656. sc_start SC_WALKSPEED,10000,110;
  2657. }
  2658. else if (.@start > 60) && (.@start < 71) {
  2659. sc_start SC_WALKSPEED,10000,120;
  2660. }
  2661. else if (.@start > 70) && (.@start < 81) {
  2662. sc_start SC_WALKSPEED,10000,130;
  2663. }
  2664. else if (.@start > 80) && (.@start < 91) {
  2665. sc_start SC_WALKSPEED,10000,140;
  2666. }
  2667. else {
  2668. sc_start SC_WALKSPEED,10000,150;
  2669. }
  2670. end;
  2671. }
  2672. p_track01,49,36,0 script Luk2#5 -1,0,0,{
  2673. end;
  2674. OnInit:
  2675. disablenpc "Luk2#5";
  2676. end;
  2677. OnTouchNPC:
  2678. set .@start,rand(1,100);
  2679. if (.@start > 0) && (.@start < 61) {
  2680. sc_start SC_STUN,1000,0;
  2681. }
  2682. else if (.@start > 60) && (.@start < 71) {
  2683. sc_start SC_STUN,2000,0;
  2684. }
  2685. else if (.@start > 70) && (.@start < 81) {
  2686. sc_start SC_STUN,3000,0;
  2687. }
  2688. else if (.@start > 80) && (.@start < 91) {
  2689. sc_start SC_STUN,4000,0;
  2690. }
  2691. end;
  2692. }
  2693. p_track01,41,36,0 script Luk2#6 -1,0,0,{
  2694. end;
  2695. OnInit:
  2696. disablenpc "Luk2#6";
  2697. end;
  2698. OnTouchNPC:
  2699. set .@start,rand(1,100);
  2700. if (.@start > 0) && (.@start < 61) {
  2701. sc_start SC_STUN,1000,0;
  2702. }
  2703. else if (.@start > 60) && (.@start < 71) {
  2704. sc_start SC_STUN,2000,0;
  2705. }
  2706. else if (.@start > 70) && (.@start < 81) {
  2707. sc_start SC_STUN,3000,0;
  2708. }
  2709. else if (.@start > 80) && (.@start < 91) {
  2710. sc_start SC_STUN,4000,0;
  2711. }
  2712. end;
  2713. }
  2714. p_track01,43,36,0 script Tire2#1 -1,0,0,{
  2715. end;
  2716. OnInit:
  2717. disablenpc "Tire2#1";
  2718. end;
  2719. OnTouchNPC:
  2720. set .@start,rand(1,100);
  2721. if (.@start > 0) && (.@start < 61) {
  2722. sc_start SC_SLEEP,1000,0;
  2723. }
  2724. else if (.@start > 60) && (.@start < 71) {
  2725. sc_start SC_SLEEP,2000,0;
  2726. }
  2727. else if (.@start > 70) && (.@start < 81) {
  2728. sc_start SC_SLEEP,3000,0;
  2729. }
  2730. else if (.@start > 80) && (.@start < 91) {
  2731. sc_start SC_SLEEP,4000,0;
  2732. }
  2733. end;
  2734. }
  2735. p_track01,39,36,0 script Tire2#2 -1,0,0,{
  2736. end;
  2737. OnInit:
  2738. disablenpc "Tire2#2";
  2739. end;
  2740. OnTouchNPC:
  2741. set .@start,rand(1,100);
  2742. if (.@start > 0) && (.@start < 61) {
  2743. sc_start SC_SLEEP,1000,0;
  2744. }
  2745. else if (.@start > 60) && (.@start < 71) {
  2746. sc_start SC_SLEEP,2000,0;
  2747. }
  2748. else if (.@start > 70) && (.@start < 81) {
  2749. sc_start SC_SLEEP,3000,0;
  2750. }
  2751. else if (.@start > 80) && (.@start < 91) {
  2752. sc_start SC_SLEEP,4000,0;
  2753. }
  2754. end;
  2755. }
  2756. p_track01,35,36,0 script Tire2#3 -1,0,0,{
  2757. end;
  2758. OnInit:
  2759. disablenpc "Tire2#3";
  2760. end;
  2761. OnTouchNPC:
  2762. set .@start,rand(1,100);
  2763. if (.@start > 0) && (.@start < 61) {
  2764. sc_start SC_SLEEP,1000,0;
  2765. }
  2766. else if (.@start > 60) && (.@start < 71) {
  2767. sc_start SC_SLEEP,2000,0;
  2768. }
  2769. else if (.@start > 70) && (.@start < 81) {
  2770. sc_start SC_SLEEP,3000,0;
  2771. }
  2772. else if (.@start > 80) && (.@start < 91) {
  2773. sc_start SC_SLEEP,4000,0;
  2774. }
  2775. end;
  2776. }
  2777. p_track01,55,36,0 script Tire2#4 -1,0,0,{
  2778. end;
  2779. OnInit:
  2780. disablenpc "Tire2#4";
  2781. end;
  2782. OnTouchNPC:
  2783. set .@start,rand(1,100);
  2784. if (.@start > 0) && (.@start < 61) {
  2785. sc_start SC_SLEEP,1000,0;
  2786. }
  2787. else if (.@start > 60) && (.@start < 71) {
  2788. sc_start SC_SLEEP,2000,0;
  2789. }
  2790. else if (.@start > 70) && (.@start < 81) {
  2791. sc_start SC_SLEEP,3000,0;
  2792. }
  2793. else if (.@start > 80) && (.@start < 91) {
  2794. sc_start SC_SLEEP,4000,0;
  2795. }
  2796. end;
  2797. }
  2798. p_track01,51,36,0 script Tire2#5 -1,0,0,{
  2799. end;
  2800. OnInit:
  2801. disablenpc "Tire2#5";
  2802. end;
  2803. OnTouchNPC:
  2804. set .@start,rand(1,100);
  2805. if (.@start > 0) && (.@start < 61) {
  2806. sc_start SC_SLEEP,1000,0;
  2807. }
  2808. else if (.@start > 60) && (.@start < 71) {
  2809. sc_start SC_SLEEP,2000,0;
  2810. }
  2811. else if (.@start > 70) && (.@start < 81) {
  2812. sc_start SC_SLEEP,3000,0;
  2813. }
  2814. else if (.@start > 80) && (.@start < 91) {
  2815. sc_start SC_SLEEP,4000,0;
  2816. }
  2817. end;
  2818. }
  2819. p_track01,47,36,0 script Tire2#6 -1,0,0,{
  2820. end;
  2821. OnInit:
  2822. disablenpc "Tire2#6";
  2823. end;
  2824. OnTouchNPC:
  2825. set .@start,rand(1,100);
  2826. if (.@start > 0) && (.@start < 61) {
  2827. sc_start SC_SLEEP,1000,0;
  2828. }
  2829. else if (.@start > 60) && (.@start < 71) {
  2830. sc_start SC_SLEEP,2000,0;
  2831. }
  2832. else if (.@start > 70) && (.@start < 81) {
  2833. sc_start SC_SLEEP,3000,0;
  2834. }
  2835. else if (.@start > 80) && (.@start < 91) {
  2836. sc_start SC_SLEEP,4000,0;
  2837. }
  2838. end;
  2839. }
  2840. p_track01,56,34,0 script starting#3 -1,0,0,{
  2841. end;
  2842. OnDisable:
  2843. enablenpc "Luk3#1";
  2844. enablenpc "Luk3#2";
  2845. enablenpc "Luk3#3";
  2846. enablenpc "Luk3#4";
  2847. enablenpc "Luk3#5";
  2848. enablenpc "Luk3#6";
  2849. enablenpc "Tire3#1";
  2850. enablenpc "Tire3#2";
  2851. enablenpc "Tire3#3";
  2852. enablenpc "Tire3#4";
  2853. enablenpc "Tire3#5";
  2854. enablenpc "Tire3#6";
  2855. set $@mr_1_luk3,0;
  2856. set $@mr_1_tire3,0;
  2857. end;
  2858. OnInit:
  2859. disablenpc "starting#3";
  2860. end;
  2861. OnTouchNPC:
  2862. set .@start,rand(1,100);
  2863. if (.@start > 0) && (.@start < 11) {
  2864. sc_start SC_WALKSPEED,5000,60;
  2865. }
  2866. else if (.@start > 10) && (.@start < 21) {
  2867. sc_start SC_WALKSPEED,5000,70;
  2868. }
  2869. else if (.@start > 20) && (.@start < 31) {
  2870. sc_start SC_WALKSPEED,5000,80;
  2871. }
  2872. else if (.@start > 30) && (.@start < 41) {
  2873. sc_start SC_WALKSPEED,5000,90;
  2874. }
  2875. else if (.@start > 40) && (.@start < 51) {
  2876. sc_start SC_WALKSPEED,5000,100;
  2877. }
  2878. else if (.@start > 50) && (.@start < 61) {
  2879. sc_start SC_WALKSPEED,5000,110;
  2880. }
  2881. else if (.@start > 60) && (.@start < 71) {
  2882. sc_start SC_WALKSPEED,5000,120;
  2883. }
  2884. else if (.@start > 70) && (.@start < 81) {
  2885. sc_start SC_WALKSPEED,5000,130;
  2886. }
  2887. else if (.@start > 80) && (.@start < 91) {
  2888. sc_start SC_WALKSPEED,5000,140;
  2889. }
  2890. else {
  2891. sc_start SC_WALKSPEED,5000,150;
  2892. }
  2893. end;
  2894. }
  2895. p_track01,33,34,0 script Luk3#1 -1,0,0,{
  2896. end;
  2897. OnInit:
  2898. disablenpc "Luk3#1";
  2899. end;
  2900. OnTouchNPC:
  2901. set .@start,rand(1,100);
  2902. if (.@start > 0) && (.@start < 61) {
  2903. sc_start SC_WALKSPEED,10000,110;
  2904. }
  2905. else if (.@start > 60) && (.@start < 71) {
  2906. sc_start SC_WALKSPEED,10000,120;
  2907. }
  2908. else if (.@start > 70) && (.@start < 81) {
  2909. sc_start SC_WALKSPEED,10000,130;
  2910. }
  2911. else if (.@start > 80) && (.@start < 91) {
  2912. sc_start SC_WALKSPEED,10000,140;
  2913. }
  2914. else {
  2915. sc_start SC_WALKSPEED,10000,150;
  2916. }
  2917. end;
  2918. }
  2919. p_track01,37,34,0 script Luk3#2 -1,0,0,{
  2920. end;
  2921. OnInit:
  2922. disablenpc "Luk3#2";
  2923. end;
  2924. OnTouchNPC:
  2925. set .@start,rand(1,100);
  2926. if (.@start > 0) && (.@start < 61) {
  2927. sc_start SC_WALKSPEED,10000,110;
  2928. }
  2929. else if (.@start > 60) && (.@start < 71) {
  2930. sc_start SC_WALKSPEED,10000,120;
  2931. }
  2932. else if (.@start > 70) && (.@start < 81) {
  2933. sc_start SC_WALKSPEED,10000,130;
  2934. }
  2935. else if (.@start > 80) && (.@start < 91) {
  2936. sc_start SC_WALKSPEED,10000,140;
  2937. }
  2938. else {
  2939. sc_start SC_WALKSPEED,10000,150;
  2940. }
  2941. end;
  2942. }
  2943. p_track01,53,34,0 script Luk3#3 -1,0,0,{
  2944. end;
  2945. OnInit:
  2946. disablenpc "Luk3#3";
  2947. end;
  2948. OnTouchNPC:
  2949. set .@start,rand(1,100);
  2950. if (.@start > 0) && (.@start < 61) {
  2951. sc_start SC_WALKSPEED,10000,110;
  2952. }
  2953. else if (.@start > 60) && (.@start < 71) {
  2954. sc_start SC_WALKSPEED,10000,120;
  2955. }
  2956. else if (.@start > 70) && (.@start < 81) {
  2957. sc_start SC_WALKSPEED,10000,130;
  2958. }
  2959. else if (.@start > 80) && (.@start < 91) {
  2960. sc_start SC_WALKSPEED,10000,140;
  2961. }
  2962. else {
  2963. sc_start SC_WALKSPEED,10000,150;
  2964. }
  2965. end;
  2966. }
  2967. p_track01,45,34,0 script Luk3#4 -1,0,0,{
  2968. end;
  2969. OnInit:
  2970. disablenpc "Luk3#4";
  2971. end;
  2972. OnTouchNPC:
  2973. set .@start,rand(1,100);
  2974. if (.@start > 0) && (.@start < 61) {
  2975. sc_start SC_WALKSPEED,10000,110;
  2976. }
  2977. else if (.@start > 60) && (.@start < 71) {
  2978. sc_start SC_WALKSPEED,10000,120;
  2979. }
  2980. else if (.@start > 70) && (.@start < 81) {
  2981. sc_start SC_WALKSPEED,10000,130;
  2982. }
  2983. else if (.@start > 80) && (.@start < 91) {
  2984. sc_start SC_WALKSPEED,10000,140;
  2985. }
  2986. else {
  2987. sc_start SC_WALKSPEED,10000,150;
  2988. }
  2989. end;
  2990. }
  2991. p_track01,49,34,0 script Luk3#5 -1,0,0,{
  2992. end;
  2993. OnInit:
  2994. disablenpc "Luk3#5";
  2995. end;
  2996. OnTouchNPC:
  2997. set .@start,rand(1,100);
  2998. if (.@start > 0) && (.@start < 61) {
  2999. sc_start SC_STUN,1000,0;
  3000. }
  3001. else if (.@start > 60) && (.@start < 71) {
  3002. sc_start SC_STUN,2000,0;
  3003. }
  3004. else if (.@start > 70) && (.@start < 81) {
  3005. sc_start SC_STUN,3000,0;
  3006. }
  3007. else if (.@start > 80) && (.@start < 91) {
  3008. sc_start SC_STUN,4000,0;
  3009. }
  3010. end;
  3011. }
  3012. p_track01,41,34,0 script Luk3#6 -1,0,0,{
  3013. end;
  3014. OnInit:
  3015. disablenpc "Luk3#6";
  3016. end;
  3017. OnTouchNPC:
  3018. set .@start,rand(1,100);
  3019. if (.@start > 0) && (.@start < 61) {
  3020. sc_start SC_STUN,1000,0;
  3021. }
  3022. else if (.@start > 60) && (.@start < 71) {
  3023. sc_start SC_STUN,2000,0;
  3024. }
  3025. else if (.@start > 70) && (.@start < 81) {
  3026. sc_start SC_STUN,3000,0;
  3027. }
  3028. else if (.@start > 80) && (.@start < 91) {
  3029. sc_start SC_STUN,4000,0;
  3030. }
  3031. end;
  3032. }
  3033. p_track01,43,34,0 script Tire3#1 -1,0,0,{
  3034. end;
  3035. OnInit:
  3036. disablenpc "Tire3#1";
  3037. end;
  3038. OnTouchNPC:
  3039. set .@start,rand(1,100);
  3040. if (.@start > 0) && (.@start < 61) {
  3041. sc_start SC_SLEEP,1000,0;
  3042. }
  3043. else if (.@start > 60) && (.@start < 71) {
  3044. sc_start SC_SLEEP,2000,0;
  3045. }
  3046. else if (.@start > 70) && (.@start < 81) {
  3047. sc_start SC_SLEEP,3000,0;
  3048. }
  3049. else if (.@start > 80) && (.@start < 91) {
  3050. sc_start SC_SLEEP,4000,0;
  3051. }
  3052. end;
  3053. }
  3054. p_track01,39,34,0 script Tire3#2 -1,0,0,{
  3055. end;
  3056. OnInit:
  3057. disablenpc "Tire3#2";
  3058. end;
  3059. OnTouchNPC:
  3060. set .@start,rand(1,100);
  3061. if (.@start > 0) && (.@start < 61) {
  3062. sc_start SC_SLEEP,1000,0;
  3063. }
  3064. else if (.@start > 60) && (.@start < 71) {
  3065. sc_start SC_SLEEP,2000,0;
  3066. }
  3067. else if (.@start > 70) && (.@start < 81) {
  3068. sc_start SC_SLEEP,3000,0;
  3069. }
  3070. else if (.@start > 80) && (.@start < 91) {
  3071. sc_start SC_SLEEP,4000,0;
  3072. }
  3073. end;
  3074. }
  3075. p_track01,35,34,0 script Tire3#3 -1,0,0,{
  3076. end;
  3077. OnInit:
  3078. disablenpc "Tire3#3";
  3079. end;
  3080. OnTouchNPC:
  3081. set .@start,rand(1,100);
  3082. if (.@start > 0) && (.@start < 61) {
  3083. sc_start SC_SLEEP,1000,0;
  3084. }
  3085. else if (.@start > 60) && (.@start < 71) {
  3086. sc_start SC_SLEEP,2000,0;
  3087. }
  3088. else if (.@start > 70) && (.@start < 81) {
  3089. sc_start SC_SLEEP,3000,0;
  3090. }
  3091. else if (.@start > 80) && (.@start < 91) {
  3092. sc_start SC_SLEEP,4000,0;
  3093. }
  3094. end;
  3095. }
  3096. p_track01,55,34,0 script Tire3#4 -1,0,0,{
  3097. end;
  3098. OnInit:
  3099. disablenpc "Tire3#4";
  3100. end;
  3101. OnTouchNPC:
  3102. set .@start,rand(1,100);
  3103. if (.@start > 0) && (.@start < 61) {
  3104. sc_start SC_SLEEP,1000,0;
  3105. }
  3106. else if (.@start > 60) && (.@start < 71) {
  3107. sc_start SC_SLEEP,2000,0;
  3108. }
  3109. else if (.@start > 70) && (.@start < 81) {
  3110. sc_start SC_SLEEP,3000,0;
  3111. }
  3112. else if (.@start > 80) && (.@start < 91) {
  3113. sc_start SC_SLEEP,4000,0;
  3114. }
  3115. end;
  3116. }
  3117. p_track01,51,34,0 script Tire3#5 -1,0,0,{
  3118. end;
  3119. OnInit:
  3120. disablenpc "Tire3#5";
  3121. end;
  3122. OnTouchNPC:
  3123. set .@start,rand(1,100);
  3124. if (.@start > 0) && (.@start < 61) {
  3125. sc_start SC_SLEEP,1000,0;
  3126. }
  3127. else if (.@start > 60) && (.@start < 71) {
  3128. sc_start SC_SLEEP,2000,0;
  3129. }
  3130. else if (.@start > 70) && (.@start < 81) {
  3131. sc_start SC_SLEEP,3000,0;
  3132. }
  3133. else if (.@start > 80) && (.@start < 91) {
  3134. sc_start SC_SLEEP,4000,0;
  3135. }
  3136. end;
  3137. }
  3138. p_track01,47,34,0 script Tire3#6 -1,0,0,{
  3139. end;
  3140. OnInit:
  3141. disablenpc "Tire3#6";
  3142. end;
  3143. OnTouchNPC:
  3144. set .@start,rand(1,100);
  3145. if (.@start > 0) && (.@start < 61) {
  3146. sc_start SC_SLEEP,1000,0;
  3147. }
  3148. else if (.@start > 60) && (.@start < 71) {
  3149. sc_start SC_SLEEP,2000,0;
  3150. }
  3151. else if (.@start > 70) && (.@start < 81) {
  3152. sc_start SC_SLEEP,3000,0;
  3153. }
  3154. else if (.@start > 80) && (.@start < 91) {
  3155. sc_start SC_SLEEP,4000,0;
  3156. }
  3157. end;
  3158. }
  3159. p_track01,56,32,0 script starting#4 -1,0,0,{
  3160. end;
  3161. OnDisable:
  3162. enablenpc "starting#4";
  3163. enablenpc "Luk4#1";
  3164. enablenpc "Luk4#2";
  3165. enablenpc "Luk4#3";
  3166. enablenpc "Luk4#4";
  3167. enablenpc "Luk4#5";
  3168. enablenpc "Luk4#6";
  3169. enablenpc "Tire4#1";
  3170. enablenpc "Tire4#2";
  3171. enablenpc "Tire4#3";
  3172. enablenpc "Tire4#4";
  3173. enablenpc "Tire4#5";
  3174. enablenpc "Tire4#6";
  3175. set $@mr_1_luk4,0;
  3176. set $@mr_1_tire4,0;
  3177. end;
  3178. OnInit:
  3179. disablenpc "starting#4";
  3180. end;
  3181. OnTouchNPC:
  3182. set .@start,rand(1,100);
  3183. if (.@start > 0) && (.@start < 11) {
  3184. sc_start SC_WALKSPEED,5000,60;
  3185. }
  3186. else if (.@start > 10) && (.@start < 21) {
  3187. sc_start SC_WALKSPEED,5000,70;
  3188. }
  3189. else if (.@start > 20) && (.@start < 31) {
  3190. sc_start SC_WALKSPEED,5000,80;
  3191. }
  3192. else if (.@start > 30) && (.@start < 41) {
  3193. sc_start SC_WALKSPEED,5000,90;
  3194. }
  3195. else if (.@start > 40) && (.@start < 51) {
  3196. sc_start SC_WALKSPEED,5000,100;
  3197. }
  3198. else if (.@start > 50) && (.@start < 61) {
  3199. sc_start SC_WALKSPEED,5000,110;
  3200. }
  3201. else if (.@start > 60) && (.@start < 71) {
  3202. sc_start SC_WALKSPEED,5000,120;
  3203. }
  3204. else if (.@start > 70) && (.@start < 81) {
  3205. sc_start SC_WALKSPEED,5000,130;
  3206. }
  3207. else if (.@start > 80) && (.@start < 91) {
  3208. sc_start SC_WALKSPEED,5000,140;
  3209. }
  3210. else {
  3211. sc_start SC_WALKSPEED,5000,150;
  3212. }
  3213. end;
  3214. }
  3215. p_track01,33,32,0 script Luk4#1 -1,0,0,{
  3216. end;
  3217. OnInit:
  3218. disablenpc "Luk4#1";
  3219. end;
  3220. OnTouchNPC:
  3221. set .@start,rand(1,100);
  3222. if (.@start > 0) && (.@start < 61) {
  3223. sc_start SC_WALKSPEED,10000,110;
  3224. }
  3225. else if (.@start > 60) && (.@start < 71) {
  3226. sc_start SC_WALKSPEED,10000,120;
  3227. }
  3228. else if (.@start > 70) && (.@start < 81) {
  3229. sc_start SC_WALKSPEED,10000,130;
  3230. }
  3231. else if (.@start > 80) && (.@start < 91) {
  3232. sc_start SC_WALKSPEED,10000,140;
  3233. }
  3234. else {
  3235. sc_start SC_WALKSPEED,10000,150;
  3236. }
  3237. end;
  3238. }
  3239. p_track01,37,32,0 script Luk4#2 -1,0,0,{
  3240. end;
  3241. OnInit:
  3242. disablenpc "Luk4#2";
  3243. end;
  3244. OnTouchNPC:
  3245. set .@start,rand(1,100);
  3246. if (.@start > 0) && (.@start < 61) {
  3247. sc_start SC_WALKSPEED,10000,110;
  3248. }
  3249. else if (.@start > 60) && (.@start < 71) {
  3250. sc_start SC_WALKSPEED,10000,120;
  3251. }
  3252. else if (.@start > 70) && (.@start < 81) {
  3253. sc_start SC_WALKSPEED,10000,130;
  3254. }
  3255. else if (.@start > 80) && (.@start < 91) {
  3256. sc_start SC_WALKSPEED,10000,140;
  3257. }
  3258. else {
  3259. sc_start SC_WALKSPEED,10000,150;
  3260. }
  3261. end;
  3262. }
  3263. p_track01,53,32,0 script Luk4#3 -1,0,0,{
  3264. end;
  3265. OnInit:
  3266. disablenpc "Luk4#3";
  3267. end;
  3268. OnTouchNPC:
  3269. set .@start,rand(1,100);
  3270. if (.@start > 0) && (.@start < 61) {
  3271. sc_start SC_WALKSPEED,10000,110;
  3272. }
  3273. else if (.@start > 60) && (.@start < 71) {
  3274. sc_start SC_WALKSPEED,10000,120;
  3275. }
  3276. else if (.@start > 70) && (.@start < 81) {
  3277. sc_start SC_WALKSPEED,10000,130;
  3278. }
  3279. else if (.@start > 80) && (.@start < 91) {
  3280. sc_start SC_WALKSPEED,10000,140;
  3281. }
  3282. else {
  3283. sc_start SC_WALKSPEED,10000,150;
  3284. }
  3285. end;
  3286. }
  3287. p_track01,45,32,0 script Luk4#4 -1,0,0,{
  3288. end;
  3289. OnInit:
  3290. disablenpc "Luk4#4";
  3291. end;
  3292. OnTouchNPC:
  3293. set .@start,rand(1,100);
  3294. if (.@start > 0) && (.@start < 61) {
  3295. sc_start SC_WALKSPEED,10000,110;
  3296. }
  3297. else if (.@start > 60) && (.@start < 71) {
  3298. sc_start SC_WALKSPEED,10000,120;
  3299. }
  3300. else if (.@start > 70) && (.@start < 81) {
  3301. sc_start SC_WALKSPEED,10000,130;
  3302. }
  3303. else if (.@start > 80) && (.@start < 91) {
  3304. sc_start SC_WALKSPEED,10000,140;
  3305. }
  3306. else {
  3307. sc_start SC_WALKSPEED,10000,150;
  3308. }
  3309. end;
  3310. }
  3311. p_track01,49,32,0 script Luk4#5 -1,0,0,{
  3312. end;
  3313. OnInit:
  3314. disablenpc "Luk4#5";
  3315. end;
  3316. OnTouchNPC:
  3317. set .@start,rand(1,100);
  3318. if (.@start > 0) && (.@start < 61) {
  3319. sc_start SC_STUN,1000,0;
  3320. }
  3321. else if (.@start > 60) && (.@start < 71) {
  3322. sc_start SC_STUN,2000,0;
  3323. }
  3324. else if (.@start > 70) && (.@start < 81) {
  3325. sc_start SC_STUN,3000,0;
  3326. }
  3327. else if (.@start > 80) && (.@start < 91) {
  3328. sc_start SC_STUN,4000,0;
  3329. }
  3330. end;
  3331. }
  3332. p_track01,41,32,0 script Luk4#6 -1,0,0,{
  3333. end;
  3334. OnInit:
  3335. disablenpc "Luk4#6";
  3336. end;
  3337. OnTouchNPC:
  3338. set .@start,rand(1,100);
  3339. if (.@start > 0) && (.@start < 61) {
  3340. sc_start SC_STUN,1000,0;
  3341. }
  3342. else if (.@start > 60) && (.@start < 71) {
  3343. sc_start SC_STUN,2000,0;
  3344. }
  3345. else if (.@start > 70) && (.@start < 81) {
  3346. sc_start SC_STUN,3000,0;
  3347. }
  3348. else if (.@start > 80) && (.@start < 91) {
  3349. sc_start SC_STUN,4000,0;
  3350. }
  3351. end;
  3352. }
  3353. p_track01,43,32,0 script Tire4#1 -1,0,0,{
  3354. end;
  3355. OnInit:
  3356. disablenpc "Tire4#1";
  3357. end;
  3358. OnTouchNPC:
  3359. set .@start,rand(1,100);
  3360. if (.@start > 0) && (.@start < 61) {
  3361. sc_start SC_SLEEP,1000,0;
  3362. }
  3363. else if (.@start > 60) && (.@start < 71) {
  3364. sc_start SC_SLEEP,2000,0;
  3365. }
  3366. else if (.@start > 70) && (.@start < 81) {
  3367. sc_start SC_SLEEP,3000,0;
  3368. }
  3369. else if (.@start > 80) && (.@start < 91) {
  3370. sc_start SC_SLEEP,4000,0;
  3371. }
  3372. end;
  3373. }
  3374. p_track01,39,32,0 script Tire4#2 -1,0,0,{
  3375. end;
  3376. OnInit:
  3377. disablenpc "Tire4#2";
  3378. end;
  3379. OnTouchNPC:
  3380. set .@start,rand(1,100);
  3381. if (.@start > 0) && (.@start < 61) {
  3382. sc_start SC_SLEEP,1000,0;
  3383. }
  3384. else if (.@start > 60) && (.@start < 71) {
  3385. sc_start SC_SLEEP,2000,0;
  3386. }
  3387. else if (.@start > 70) && (.@start < 81) {
  3388. sc_start SC_SLEEP,3000,0;
  3389. }
  3390. else if (.@start > 80) && (.@start < 91) {
  3391. sc_start SC_SLEEP,4000,0;
  3392. }
  3393. end;
  3394. }
  3395. p_track01,35,32,0 script Tire4#3 -1,0,0,{
  3396. end;
  3397. OnInit:
  3398. disablenpc "Tire4#3";
  3399. end;
  3400. OnTouchNPC:
  3401. set .@start,rand(1,100);
  3402. if (.@start > 0) && (.@start < 61) {
  3403. sc_start SC_SLEEP,1000,0;
  3404. }
  3405. else if (.@start > 60) && (.@start < 71) {
  3406. sc_start SC_SLEEP,2000,0;
  3407. }
  3408. else if (.@start > 70) && (.@start < 81) {
  3409. sc_start SC_SLEEP,3000,0;
  3410. }
  3411. else if (.@start > 80) && (.@start < 91) {
  3412. sc_start SC_SLEEP,4000,0;
  3413. }
  3414. end;
  3415. }
  3416. p_track01,55,32,0 script Tire4#4 -1,0,0,{
  3417. end;
  3418. OnInit:
  3419. disablenpc "Tire4#4";
  3420. end;
  3421. OnTouchNPC:
  3422. set .@start,rand(1,100);
  3423. if (.@start > 0) && (.@start < 61) {
  3424. sc_start SC_SLEEP,1000,0;
  3425. }
  3426. else if (.@start > 60) && (.@start < 71) {
  3427. sc_start SC_SLEEP,2000,0;
  3428. }
  3429. else if (.@start > 70) && (.@start < 81) {
  3430. sc_start SC_SLEEP,3000,0;
  3431. }
  3432. else if (.@start > 80) && (.@start < 91) {
  3433. sc_start SC_SLEEP,4000,0;
  3434. }
  3435. end;
  3436. }
  3437. p_track01,51,32,0 script Tire4#5 -1,0,0,{
  3438. end;
  3439. OnInit:
  3440. disablenpc "Tire4#5";
  3441. end;
  3442. OnTouchNPC:
  3443. set .@start,rand(1,100);
  3444. if (.@start > 0) && (.@start < 61) {
  3445. sc_start SC_SLEEP,1000,0;
  3446. }
  3447. else if (.@start > 60) && (.@start < 71) {
  3448. sc_start SC_SLEEP,2000,0;
  3449. }
  3450. else if (.@start > 70) && (.@start < 81) {
  3451. sc_start SC_SLEEP,3000,0;
  3452. }
  3453. else if (.@start > 80) && (.@start < 91) {
  3454. sc_start SC_SLEEP,4000,0;
  3455. }
  3456. end;
  3457. }
  3458. p_track01,47,32,0 script Tire4#6 -1,0,0,{
  3459. end;
  3460. OnInit:
  3461. disablenpc "Tire4#6";
  3462. end;
  3463. OnTouchNPC:
  3464. set .@start,rand(1,100);
  3465. if (.@start > 0) && (.@start < 61) {
  3466. sc_start SC_SLEEP,1000,0;
  3467. }
  3468. else if (.@start > 60) && (.@start < 71) {
  3469. sc_start SC_SLEEP,2000,0;
  3470. }
  3471. else if (.@start > 70) && (.@start < 81) {
  3472. sc_start SC_SLEEP,3000,0;
  3473. }
  3474. else if (.@start > 80) && (.@start < 91) {
  3475. sc_start SC_SLEEP,4000,0;
  3476. }
  3477. end;
  3478. }
  3479. p_track01,56,30,0 script starting#5 -1,0,0,{
  3480. end;
  3481. OnDisable:
  3482. enablenpc "Luk5#1";
  3483. enablenpc "Luk5#2";
  3484. enablenpc "Luk5#3";
  3485. enablenpc "Luk5#4";
  3486. enablenpc "Luk5#5";
  3487. enablenpc "Luk5#6";
  3488. enablenpc "Tire5#1";
  3489. enablenpc "Tire5#2";
  3490. enablenpc "Tire5#3";
  3491. enablenpc "Tire5#4";
  3492. enablenpc "Tire5#5";
  3493. enablenpc "Tire5#6";
  3494. set $@mr_1_luk5,0;
  3495. set $@mr_1_tire5,0;
  3496. end;
  3497. OnInit:
  3498. disablenpc "starting#5";
  3499. end;
  3500. OnTouchNPC:
  3501. set .@start,rand(1,100);
  3502. if (.@start > 0) && (.@start < 11) {
  3503. sc_start SC_WALKSPEED,5000,60;
  3504. }
  3505. else if (.@start > 10) && (.@start < 21) {
  3506. sc_start SC_WALKSPEED,5000,70;
  3507. }
  3508. else if (.@start > 20) && (.@start < 31) {
  3509. sc_start SC_WALKSPEED,5000,80;
  3510. }
  3511. else if (.@start > 30) && (.@start < 41) {
  3512. sc_start SC_WALKSPEED,5000,90;
  3513. }
  3514. else if (.@start > 40) && (.@start < 51) {
  3515. sc_start SC_WALKSPEED,5000,100;
  3516. }
  3517. else if (.@start > 50) && (.@start < 61) {
  3518. sc_start SC_WALKSPEED,5000,110;
  3519. }
  3520. else if (.@start > 60) && (.@start < 71) {
  3521. sc_start SC_WALKSPEED,5000,120;
  3522. }
  3523. else if (.@start > 70) && (.@start < 81) {
  3524. sc_start SC_WALKSPEED,5000,130;
  3525. }
  3526. else if (.@start > 80) && (.@start < 91) {
  3527. sc_start SC_WALKSPEED,5000,140;
  3528. }
  3529. else {
  3530. sc_start SC_WALKSPEED,5000,150;
  3531. }
  3532. end;
  3533. }
  3534. p_track01,33,30,0 script Luk5#1 -1,0,0,{
  3535. end;
  3536. OnInit:
  3537. disablenpc "Luk5#1";
  3538. end;
  3539. OnTouchNPC:
  3540. set .@start,rand(1,100);
  3541. if (.@start > 0) && (.@start < 61) {
  3542. sc_start SC_WALKSPEED,10000,110;
  3543. }
  3544. else if (.@start > 60) && (.@start < 71) {
  3545. sc_start SC_WALKSPEED,10000,120;
  3546. }
  3547. else if (.@start > 70) && (.@start < 81) {
  3548. sc_start SC_WALKSPEED,10000,130;
  3549. }
  3550. else if (.@start > 80) && (.@start < 91) {
  3551. sc_start SC_WALKSPEED,10000,140;
  3552. }
  3553. else {
  3554. sc_start SC_WALKSPEED,10000,150;
  3555. }
  3556. end;
  3557. }
  3558. p_track01,37,30,0 script Luk5#2 -1,0,0,{
  3559. end;
  3560. OnInit:
  3561. disablenpc "Luk5#2";
  3562. end;
  3563. OnTouchNPC:
  3564. set .@start,rand(1,100);
  3565. if (.@start > 0) && (.@start < 61) {
  3566. sc_start SC_WALKSPEED,10000,110;
  3567. }
  3568. else if (.@start > 60) && (.@start < 71) {
  3569. sc_start SC_WALKSPEED,10000,120;
  3570. }
  3571. else if (.@start > 70) && (.@start < 81) {
  3572. sc_start SC_WALKSPEED,10000,130;
  3573. }
  3574. else if (.@start > 80) && (.@start < 91) {
  3575. sc_start SC_WALKSPEED,10000,140;
  3576. }
  3577. else {
  3578. sc_start SC_WALKSPEED,10000,150;
  3579. }
  3580. end;
  3581. }
  3582. p_track01,53,30,0 script Luk5#3 -1,0,0,{
  3583. end;
  3584. OnInit:
  3585. disablenpc "Luk5#3";
  3586. end;
  3587. OnTouchNPC:
  3588. set .@start,rand(1,100);
  3589. if (.@start > 0) && (.@start < 61) {
  3590. sc_start SC_WALKSPEED,10000,110;
  3591. }
  3592. else if (.@start > 60) && (.@start < 71) {
  3593. sc_start SC_WALKSPEED,10000,120;
  3594. }
  3595. else if (.@start > 70) && (.@start < 81) {
  3596. sc_start SC_WALKSPEED,10000,130;
  3597. }
  3598. else if (.@start > 80) && (.@start < 91) {
  3599. sc_start SC_WALKSPEED,10000,140;
  3600. }
  3601. else {
  3602. sc_start SC_WALKSPEED,10000,150;
  3603. }
  3604. end;
  3605. }
  3606. p_track01,45,30,0 script Luk5#4 -1,0,0,{
  3607. end;
  3608. OnInit:
  3609. disablenpc "Luk5#4";
  3610. end;
  3611. OnTouchNPC:
  3612. set .@start,rand(1,100);
  3613. if (.@start > 0) && (.@start < 61) {
  3614. sc_start SC_WALKSPEED,10000,110;
  3615. }
  3616. else if (.@start > 60) && (.@start < 71) {
  3617. sc_start SC_WALKSPEED,10000,120;
  3618. }
  3619. else if (.@start > 70) && (.@start < 81) {
  3620. sc_start SC_WALKSPEED,10000,130;
  3621. }
  3622. else if (.@start > 80) && (.@start < 91) {
  3623. sc_start SC_WALKSPEED,10000,140;
  3624. }
  3625. else {
  3626. sc_start SC_WALKSPEED,10000,150;
  3627. }
  3628. end;
  3629. }
  3630. p_track01,49,30,0 script Luk5#5 -1,0,0,{
  3631. end;
  3632. OnInit:
  3633. disablenpc "Luk5#5";
  3634. end;
  3635. OnTouchNPC:
  3636. set .@start,rand(1,100);
  3637. if (.@start > 0) && (.@start < 61) {
  3638. sc_start SC_STUN,1000,0;
  3639. }
  3640. else if (.@start > 60) && (.@start < 71) {
  3641. sc_start SC_STUN,2000,0;
  3642. }
  3643. else if (.@start > 70) && (.@start < 81) {
  3644. sc_start SC_STUN,3000,0;
  3645. }
  3646. else if (.@start > 80) && (.@start < 91) {
  3647. sc_start SC_STUN,4000,0;
  3648. }
  3649. end;
  3650. }
  3651. p_track01,41,30,0 script Luk5#6 -1,0,0,{
  3652. end;
  3653. OnInit:
  3654. disablenpc "Luk5#6";
  3655. end;
  3656. OnTouchNPC:
  3657. set .@start,rand(1,100);
  3658. if (.@start > 0) && (.@start < 61) {
  3659. sc_start SC_STUN,1000,0;
  3660. }
  3661. else if (.@start > 60) && (.@start < 71) {
  3662. sc_start SC_STUN,2000,0;
  3663. }
  3664. else if (.@start > 70) && (.@start < 81) {
  3665. sc_start SC_STUN,3000,0;
  3666. }
  3667. else if (.@start > 80) && (.@start < 91) {
  3668. sc_start SC_STUN,4000,0;
  3669. }
  3670. end;
  3671. }
  3672. p_track01,43,30,0 script Tire5#1 -1,0,0,{
  3673. end;
  3674. OnInit:
  3675. disablenpc "Tire5#1";
  3676. end;
  3677. OnTouchNPC:
  3678. set .@start,rand(1,100);
  3679. if (.@start > 0) && (.@start < 61) {
  3680. sc_start SC_SLEEP,1000,0;
  3681. }
  3682. else if (.@start > 60) && (.@start < 71) {
  3683. sc_start SC_SLEEP,2000,0;
  3684. }
  3685. else if (.@start > 70) && (.@start < 81) {
  3686. sc_start SC_SLEEP,3000,0;
  3687. }
  3688. else if (.@start > 80) && (.@start < 91) {
  3689. sc_start SC_SLEEP,4000,0;
  3690. }
  3691. end;
  3692. }
  3693. p_track01,39,30,0 script Tire5#2 -1,0,0,{
  3694. end;
  3695. OnInit:
  3696. disablenpc "Tire5#2";
  3697. end;
  3698. OnTouchNPC:
  3699. set .@start,rand(1,100);
  3700. if (.@start > 0) && (.@start < 61) {
  3701. sc_start SC_SLEEP,1000,0;
  3702. }
  3703. else if (.@start > 60) && (.@start < 71) {
  3704. sc_start SC_SLEEP,2000,0;
  3705. }
  3706. else if (.@start > 70) && (.@start < 81) {
  3707. sc_start SC_SLEEP,3000,0;
  3708. }
  3709. else if (.@start > 80) && (.@start < 91) {
  3710. sc_start SC_SLEEP,4000,0;
  3711. }
  3712. end;
  3713. }
  3714. p_track01,35,30,0 script Tire5#3 -1,0,0,{
  3715. end;
  3716. OnInit:
  3717. disablenpc "Tire5#3";
  3718. end;
  3719. OnTouchNPC:
  3720. set .@start,rand(1,100);
  3721. if (.@start > 0) && (.@start < 61) {
  3722. sc_start SC_SLEEP,1000,0;
  3723. }
  3724. else if (.@start > 60) && (.@start < 71) {
  3725. sc_start SC_SLEEP,2000,0;
  3726. }
  3727. else if (.@start > 70) && (.@start < 81) {
  3728. sc_start SC_SLEEP,3000,0;
  3729. }
  3730. else if (.@start > 80) && (.@start < 91) {
  3731. sc_start SC_SLEEP,4000,0;
  3732. }
  3733. end;
  3734. }
  3735. p_track01,55,30,0 script Tire5#4 -1,0,0,{
  3736. end;
  3737. OnInit:
  3738. disablenpc "Tire5#4";
  3739. end;
  3740. OnTouchNPC:
  3741. set .@start,rand(1,100);
  3742. if (.@start > 0) && (.@start < 61) {
  3743. sc_start SC_SLEEP,1000,0;
  3744. }
  3745. else if (.@start > 60) && (.@start < 71) {
  3746. sc_start SC_SLEEP,2000,0;
  3747. }
  3748. else if (.@start > 70) && (.@start < 81) {
  3749. sc_start SC_SLEEP,3000,0;
  3750. }
  3751. else if (.@start > 80) && (.@start < 91) {
  3752. sc_start SC_SLEEP,4000,0;
  3753. }
  3754. end;
  3755. }
  3756. p_track01,51,30,0 script Tire5#5 -1,0,0,{
  3757. end;
  3758. OnInit:
  3759. disablenpc "Tire5#5";
  3760. end;
  3761. OnTouchNPC:
  3762. set .@start,rand(1,100);
  3763. if (.@start > 0) && (.@start < 61) {
  3764. sc_start SC_SLEEP,1000,0;
  3765. }
  3766. else if (.@start > 60) && (.@start < 71) {
  3767. sc_start SC_SLEEP,2000,0;
  3768. }
  3769. else if (.@start > 70) && (.@start < 81) {
  3770. sc_start SC_SLEEP,3000,0;
  3771. }
  3772. else if (.@start > 80) && (.@start < 91) {
  3773. sc_start SC_SLEEP,4000,0;
  3774. }
  3775. end;
  3776. }
  3777. p_track01,47,30,0 script Tire5#6 -1,0,0,{
  3778. end;
  3779. OnInit:
  3780. disablenpc "Tire5#6";
  3781. end;
  3782. OnTouchNPC:
  3783. set .@start,rand(1,100);
  3784. if (.@start > 0) && (.@start < 61) {
  3785. sc_start SC_SLEEP,1000,0;
  3786. }
  3787. else if (.@start > 60) && (.@start < 71) {
  3788. sc_start SC_SLEEP,2000,0;
  3789. }
  3790. else if (.@start > 70) && (.@start < 81) {
  3791. sc_start SC_SLEEP,3000,0;
  3792. }
  3793. else if (.@start > 80) && (.@start < 91) {
  3794. sc_start SC_SLEEP,4000,0;
  3795. }
  3796. end;
  3797. }
  3798. p_track01,56,28,0 script starting#6 -1,0,0,{
  3799. end;
  3800. OnDisable:
  3801. enablenpc "Luk6#1";
  3802. enablenpc "Luk6#2";
  3803. enablenpc "Luk6#3";
  3804. enablenpc "Luk6#4";
  3805. enablenpc "Luk6#5";
  3806. enablenpc "Luk6#6";
  3807. enablenpc "Tire6#1";
  3808. enablenpc "Tire6#2";
  3809. enablenpc "Tire6#3";
  3810. enablenpc "Tire6#4";
  3811. enablenpc "Tire6#5";
  3812. enablenpc "Tire6#6";
  3813. set $@mr_1_luk6,0;
  3814. set $@mr_1_tire6,0;
  3815. end;
  3816. OnInit:
  3817. disablenpc "starting#6";
  3818. end;
  3819. OnTouchNPC:
  3820. set .@start,rand(1,100);
  3821. if (.@start > 0) && (.@start < 11) {
  3822. sc_start SC_WALKSPEED,5000,60;
  3823. }
  3824. else if (.@start > 10) && (.@start < 21) {
  3825. sc_start SC_WALKSPEED,5000,70;
  3826. }
  3827. else if (.@start > 20) && (.@start < 31) {
  3828. sc_start SC_WALKSPEED,5000,80;
  3829. }
  3830. else if (.@start > 30) && (.@start < 41) {
  3831. sc_start SC_WALKSPEED,5000,90;
  3832. }
  3833. else if (.@start > 40) && (.@start < 51) {
  3834. sc_start SC_WALKSPEED,5000,100;
  3835. }
  3836. else if (.@start > 50) && (.@start < 61) {
  3837. sc_start SC_WALKSPEED,5000,110;
  3838. }
  3839. else if (.@start > 60) && (.@start < 71) {
  3840. sc_start SC_WALKSPEED,5000,120;
  3841. }
  3842. else if (.@start > 70) && (.@start < 81) {
  3843. sc_start SC_WALKSPEED,5000,130;
  3844. }
  3845. else if (.@start > 80) && (.@start < 91) {
  3846. sc_start SC_WALKSPEED,5000,140;
  3847. }
  3848. else {
  3849. sc_start SC_WALKSPEED,5000,150;
  3850. }
  3851. end;
  3852. }
  3853. p_track01,33,28,0 script Luk6#1 -1,0,0,{
  3854. end;
  3855. OnInit:
  3856. disablenpc "Luk6#1";
  3857. end;
  3858. OnTouchNPC:
  3859. set .@start,rand(1,100);
  3860. if (.@start > 0) && (.@start < 61) {
  3861. sc_start SC_WALKSPEED,10000,110;
  3862. }
  3863. else if (.@start > 60) && (.@start < 71) {
  3864. sc_start SC_WALKSPEED,10000,120;
  3865. }
  3866. else if (.@start > 70) && (.@start < 81) {
  3867. sc_start SC_WALKSPEED,10000,130;
  3868. }
  3869. else if (.@start > 80) && (.@start < 91) {
  3870. sc_start SC_WALKSPEED,10000,140;
  3871. }
  3872. else {
  3873. sc_start SC_WALKSPEED,10000,150;
  3874. }
  3875. end;
  3876. }
  3877. p_track01,37,28,0 script Luk6#2 -1,0,0,{
  3878. end;
  3879. OnInit:
  3880. disablenpc "Luk6#2";
  3881. end;
  3882. OnTouchNPC:
  3883. set .@start,rand(1,100);
  3884. if (.@start > 0) && (.@start < 61) {
  3885. sc_start SC_WALKSPEED,10000,110;
  3886. }
  3887. else if (.@start > 60) && (.@start < 71) {
  3888. sc_start SC_WALKSPEED,10000,120;
  3889. }
  3890. else if (.@start > 70) && (.@start < 81) {
  3891. sc_start SC_WALKSPEED,10000,130;
  3892. }
  3893. else if (.@start > 80) && (.@start < 91) {
  3894. sc_start SC_WALKSPEED,10000,140;
  3895. }
  3896. else {
  3897. sc_start SC_WALKSPEED,10000,150;
  3898. }
  3899. end;
  3900. }
  3901. p_track01,53,28,0 script Luk6#3 -1,0,0,{
  3902. end;
  3903. OnInit:
  3904. disablenpc "Luk6#3";
  3905. end;
  3906. OnTouchNPC:
  3907. set .@start,rand(1,100);
  3908. if (.@start > 0) && (.@start < 61) {
  3909. sc_start SC_WALKSPEED,10000,110;
  3910. }
  3911. else if (.@start > 60) && (.@start < 71) {
  3912. sc_start SC_WALKSPEED,10000,120;
  3913. }
  3914. else if (.@start > 70) && (.@start < 81) {
  3915. sc_start SC_WALKSPEED,10000,130;
  3916. }
  3917. else if (.@start > 80) && (.@start < 91) {
  3918. sc_start SC_WALKSPEED,10000,140;
  3919. }
  3920. else {
  3921. sc_start SC_WALKSPEED,10000,150;
  3922. }
  3923. end;
  3924. }
  3925. p_track01,45,28,0 script Luk6#4 -1,0,0,{
  3926. end;
  3927. OnInit:
  3928. disablenpc "Luk6#4";
  3929. end;
  3930. OnTouchNPC:
  3931. set .@start,rand(1,100);
  3932. if (.@start > 0) && (.@start < 61) {
  3933. sc_start SC_WALKSPEED,10000,110;
  3934. }
  3935. else if (.@start > 60) && (.@start < 71) {
  3936. sc_start SC_WALKSPEED,10000,120;
  3937. }
  3938. else if (.@start > 70) && (.@start < 81) {
  3939. sc_start SC_WALKSPEED,10000,130;
  3940. }
  3941. else if (.@start > 80) && (.@start < 91) {
  3942. sc_start SC_WALKSPEED,10000,140;
  3943. }
  3944. else {
  3945. sc_start SC_WALKSPEED,10000,150;
  3946. }
  3947. end;
  3948. }
  3949. p_track01,49,28,0 script Luk6#5 -1,0,0,{
  3950. end;
  3951. OnInit:
  3952. disablenpc "Luk6#5";
  3953. end;
  3954. OnTouchNPC:
  3955. set .@start,rand(1,100);
  3956. if (.@start > 0) && (.@start < 61) {
  3957. sc_start SC_STUN,1000,0;
  3958. }
  3959. else if (.@start > 60) && (.@start < 71) {
  3960. sc_start SC_STUN,2000,0;
  3961. }
  3962. else if (.@start > 70) && (.@start < 81) {
  3963. sc_start SC_STUN,3000,0;
  3964. }
  3965. else if (.@start > 80) && (.@start < 91) {
  3966. sc_start SC_STUN,4000,0;
  3967. }
  3968. end;
  3969. }
  3970. p_track01,41,28,0 script Luk6#6 -1,0,0,{
  3971. end;
  3972. OnInit:
  3973. disablenpc "Luk6#6";
  3974. end;
  3975. OnTouchNPC:
  3976. set .@start,rand(1,100);
  3977. if (.@start > 0) && (.@start < 61) {
  3978. sc_start SC_STUN,1000,0;
  3979. }
  3980. else if (.@start > 60) && (.@start < 71) {
  3981. sc_start SC_STUN,2000,0;
  3982. }
  3983. else if (.@start > 70) && (.@start < 81) {
  3984. sc_start SC_STUN,3000,0;
  3985. }
  3986. else if (.@start > 80) && (.@start < 91) {
  3987. sc_start SC_STUN,4000,0;
  3988. }
  3989. end;
  3990. }
  3991. p_track01,43,28,0 script Tire6#1 -1,0,0,{
  3992. end;
  3993. OnInit:
  3994. disablenpc "Tire6#1";
  3995. end;
  3996. OnTouchNPC:
  3997. set .@start,rand(1,100);
  3998. if (.@start > 0) && (.@start < 61) {
  3999. sc_start SC_SLEEP,1000,0;
  4000. }
  4001. else if (.@start > 60) && (.@start < 71) {
  4002. sc_start SC_SLEEP,2000,0;
  4003. }
  4004. else if (.@start > 70) && (.@start < 81) {
  4005. sc_start SC_SLEEP,3000,0;
  4006. }
  4007. else if (.@start > 80) && (.@start < 91) {
  4008. sc_start SC_SLEEP,4000,0;
  4009. }
  4010. end;
  4011. }
  4012. p_track01,39,28,0 script Tire6#2 -1,0,0,{
  4013. end;
  4014. OnInit:
  4015. disablenpc "Tire6#2";
  4016. end;
  4017. OnTouchNPC:
  4018. set .@start,rand(1,100);
  4019. if (.@start > 0) && (.@start < 61) {
  4020. sc_start SC_SLEEP,1000,0;
  4021. }
  4022. else if (.@start > 60) && (.@start < 71) {
  4023. sc_start SC_SLEEP,2000,0;
  4024. }
  4025. else if (.@start > 70) && (.@start < 81) {
  4026. sc_start SC_SLEEP,3000,0;
  4027. }
  4028. else if (.@start > 80) && (.@start < 91) {
  4029. sc_start SC_SLEEP,4000,0;
  4030. }
  4031. end;
  4032. }
  4033. p_track01,35,28,0 script Tire6#3 -1,0,0,{
  4034. end;
  4035. OnInit:
  4036. disablenpc "Tire6#3";
  4037. end;
  4038. OnTouchNPC:
  4039. set .@start,rand(1,100);
  4040. if (.@start > 0) && (.@start < 61) {
  4041. sc_start SC_SLEEP,1000,0;
  4042. }
  4043. else if (.@start > 60) && (.@start < 71) {
  4044. sc_start SC_SLEEP,2000,0;
  4045. }
  4046. else if (.@start > 70) && (.@start < 81) {
  4047. sc_start SC_SLEEP,3000,0;
  4048. }
  4049. else if (.@start > 80) && (.@start < 91) {
  4050. sc_start SC_SLEEP,4000,0;
  4051. }
  4052. end;
  4053. }
  4054. p_track01,55,28,0 script Tire6#4 -1,0,0,{
  4055. end;
  4056. OnInit:
  4057. disablenpc "Tire6#4";
  4058. end;
  4059. OnTouchNPC:
  4060. set .@start,rand(1,100);
  4061. if (.@start > 0) && (.@start < 61) {
  4062. sc_start SC_SLEEP,1000,0;
  4063. }
  4064. else if (.@start > 60) && (.@start < 71) {
  4065. sc_start SC_SLEEP,2000,0;
  4066. }
  4067. else if (.@start > 70) && (.@start < 81) {
  4068. sc_start SC_SLEEP,3000,0;
  4069. }
  4070. else if (.@start > 80) && (.@start < 91) {
  4071. sc_start SC_SLEEP,4000,0;
  4072. }
  4073. end;
  4074. }
  4075. p_track01,51,28,0 script Tire6#5 -1,0,0,{
  4076. end;
  4077. OnInit:
  4078. disablenpc "Tire6#5";
  4079. end;
  4080. OnTouchNPC:
  4081. set .@start,rand(1,100);
  4082. if (.@start > 0) && (.@start < 61) {
  4083. sc_start SC_SLEEP,1000,0;
  4084. }
  4085. else if (.@start > 60) && (.@start < 71) {
  4086. sc_start SC_SLEEP,2000,0;
  4087. }
  4088. else if (.@start > 70) && (.@start < 81) {
  4089. sc_start SC_SLEEP,3000,0;
  4090. }
  4091. else if (.@start > 80) && (.@start < 91) {
  4092. sc_start SC_SLEEP,4000,0;
  4093. }
  4094. end;
  4095. }
  4096. p_track01,47,28,0 script Tire6#6 -1,0,0,{
  4097. end;
  4098. OnInit:
  4099. disablenpc "Tire6#6";
  4100. end;
  4101. OnTouchNPC:
  4102. set .@start,rand(1,100);
  4103. if (.@start > 0) && (.@start < 61) {
  4104. sc_start SC_SLEEP,1000,0;
  4105. }
  4106. else if (.@start > 60) && (.@start < 71) {
  4107. sc_start SC_SLEEP,2000,0;
  4108. }
  4109. else if (.@start > 70) && (.@start < 81) {
  4110. sc_start SC_SLEEP,3000,0;
  4111. }
  4112. else if (.@start > 80) && (.@start < 91) {
  4113. sc_start SC_SLEEP,4000,0;
  4114. }
  4115. end;
  4116. }
  4117. //============================================================
  4118. // Monstrer Race - Dual Monster Race
  4119. //============================================================
  4120. hugel,47,56,0 script #race_timer2-1 -1,{
  4121. OnInit:
  4122. enablenpc "#race_timer2-1";
  4123. set $@mon_time_2_1,2;
  4124. initnpctimer;
  4125. end;
  4126. OnEnable:
  4127. enablenpc "#race_timer2-1";
  4128. set $@mon_time_2_1,2;
  4129. initnpctimer;
  4130. end;
  4131. OnDisable:
  4132. disablenpc "#race_timer2-1";
  4133. stopnpctimer;
  4134. end;
  4135. OnTimer10000:
  4136. mapannounce "hugel","The Dual Monster Race will soon begin. We hope to see many of you participate!",bc_map,"0xffb6c1";
  4137. end;
  4138. OnTimer30000:
  4139. mapannounce "hugel","The Dual Monster Race Arena has just opened.",bc_map,"0xffb6c1";
  4140. set $@mon_time_2_1,1;
  4141. donpcevent "#race_timer2-2::OnEnable";
  4142. enablenpc "Ticket Helper#2";
  4143. donpcevent "TrapGlobal#race02::OnEnable";
  4144. end;
  4145. OnTimer90000:
  4146. mapannounce "hugel","The Dual Monster Race arena is now open. Participants should enter the Arena as soon as they can.",bc_map,"0xffb6c1";
  4147. end;
  4148. OnTimer210000:
  4149. mapannounce "hugel","The entrance to the Dual Monster Race Arena will close shortly. Participants, please enter the arena now.",bc_map,"0xffb6c1";
  4150. end;
  4151. OnTimer270000:
  4152. mapannounce "hugel","The Dual Monster Race Arena's entrance will soon close.",bc_map,"0xffb6c1";
  4153. end;
  4154. OnTimer272000:
  4155. mapannounce "hugel","Participants, please enter the Arena before the doors close.",bc_map,"0xffb6c1";
  4156. end;
  4157. OnTimer330000:
  4158. mapannounce "hugel","The race is now starting. If you missed your chance to enter this race, please try again next time~!",bc_map,"0xffb6c1";
  4159. set $@mon_time_2_1,0;
  4160. donpcevent "#race_timer2-1::OnDisable";
  4161. stopnpctimer;
  4162. end;
  4163. }
  4164. p_track02,42,23,0 script #race_timer2-2 -1,{
  4165. OnInit:
  4166. disablenpc "#race_timer2-2";
  4167. set $@mon_time_2_2,0;
  4168. end;
  4169. OnEnable:
  4170. enablenpc "#race_timer2-2";
  4171. set $@mon_time_2_2,0;
  4172. initnpctimer;
  4173. end;
  4174. OnDisable:
  4175. disablenpc "#race_timer2-2";
  4176. stopnpctimer;
  4177. end;
  4178. OnTimer5000:
  4179. mapannounce "p_track02","Welcome to the Monster Race Arena.",bc_map,"0x87ceeb";
  4180. end;
  4181. OnTimer7000:
  4182. mapannounce "p_track02","Feel free to inquire at the help desk whenever you have questions.",bc_map,"0x87ceeb";
  4183. end;
  4184. OnTimer120000:
  4185. mapannounce "p_track02","The Dual Monster Race will start in 3 minutes.",bc_map,"0x87ceeb";
  4186. end;
  4187. OnTimer122000:
  4188. mapannounce "p_track02","Please ask a Ticket Helper if you wish to wager on the race.",bc_map,"0x87ceeb";
  4189. end;
  4190. OnTimer240000:
  4191. mapannounce "p_track02","The Dual Monster Race will start shortly.",bc_map,"0x87ceeb";
  4192. end;
  4193. OnTimer242000:
  4194. mapannounce "p_track02","Please ask a Ticket Helper if you wish to wager on the race.",bc_map,"0x87ceeb";
  4195. end;
  4196. OnTimer300000:
  4197. mapannounce "p_track02","The Monster Race is starting now. Good luck, everybody!",bc_map,"0x87ceeb";
  4198. set $@mon_time_2_2,1;
  4199. set $@mon_race_2_1,0;
  4200. set $@mon_race_2_2,0;
  4201. disablenpc "Ticket Helper#2";
  4202. donpcevent "#poring1::OnEnable";
  4203. donpcevent "#lunatic1::OnEnable";
  4204. donpcevent "#savagebebe1::OnEnable";
  4205. donpcevent "#desertwolf1::OnEnable";
  4206. donpcevent "#deviruchi1::OnEnable";
  4207. donpcevent "#baphomet1::OnEnable";
  4208. stopnpctimer;
  4209. end;
  4210. }
  4211. p_track02,80,43,0 script #race_timer2-3 -1,{
  4212. OnInit:
  4213. disablenpc "#race_timer2-3";
  4214. end;
  4215. OnEnable:
  4216. enablenpc "#race_timer2-3";
  4217. initnpctimer;
  4218. end;
  4219. OnDisable:
  4220. disablenpc "#race_timer2-3";
  4221. stopnpctimer;
  4222. end;
  4223. OnTimer3000:
  4224. mapannounce "p_track02","The Monster Race is finished! Congratulations to all the winners!",bc_map,"0xFFFF00";
  4225. end;
  4226. OnTimer6000:
  4227. mapannounce "p_track02","Please give your Racing Ticket to the Medal Distributor if you bet on the winning monster.",bc_map,"0xFFFF00";
  4228. end;
  4229. OnTimer9000:
  4230. mapannounce "p_track02","You have 5 minutes to exchange a winning ticket for Prize Medals from the Medal Distributor.",bc_map,"0xFFFF00";
  4231. end;
  4232. OnTimer12000:
  4233. mapannounce "p_track02","All tickets become void after this 5 minute period, so winners should claim their prize now.",bc_map,"0xFFFF00";
  4234. end;
  4235. OnTimer15000:
  4236. mapannounce "p_track02","Please leave the Race Arena before this 5 minute period elapses. Thank you.",bc_map,"0xFFFF00";
  4237. end;
  4238. OnTimer240000:
  4239. mapannounce "p_track02","Attention. We will being preparing for the next race shortly...",bc_map,"0xFFFF00";
  4240. end;
  4241. OnTimer243000:
  4242. mapannounce "p_track02","We will close the Racing Arena in 1 minute to prepare for the next race.",bc_map,"0xFFFF00";
  4243. end;
  4244. OnTimer246000:
  4245. mapannounce "p_track02","Participants in the last race should leave the arena as soon as possible.",bc_map,"0xFFFF00";
  4246. end;
  4247. OnTimer249000:
  4248. mapannounce "p_track02","Thank you for your cooperation.",bc_map,"0xFFFF00";
  4249. end;
  4250. OnTimer252000:
  4251. mapannounce "p_track02","We hope that you enjoyed the Monster Race arena. Come back again soon~",bc_map,"0xFFFF00";
  4252. end;
  4253. OnTimer300000:
  4254. mapwarp "p_track02","hugel",63,73;
  4255. enablenpc "Medal Distributor#medal";
  4256. donpcevent "#race_timer2-1::OnEnable";
  4257. set $@mon_race_2_1,0;
  4258. set $@mon_race_2_2,0;
  4259. donpcevent "#race_timer2-3::OnDisable";
  4260. stopnpctimer;
  4261. end;
  4262. }
  4263. hugel,62,69,1 script Eckar Erenes#double 798,{
  4264. mes "[Eckar Erenes]";
  4265. mes "Welcome to the";
  4266. mes "Monster Race Arena,";
  4267. mes "the pride and joy of";
  4268. mes "the village of Hugel!";
  4269. mes "How may I help you?";
  4270. next;
  4271. if (select("Monster Race Info:Enter Monster Race") == 1) {
  4272. mes "[Eckar Erenes]";
  4273. mes "Monster Races originated from";
  4274. mes "simple children's games in which";
  4275. mes "Cute Pets would race against each other. This grew into an adult";
  4276. mes "pastime that is so popular, we've built a racing arena in Hugel.";
  4277. next;
  4278. mes "[Eckar Erenes]";
  4279. mes "Our Monster Race Arena hosts";
  4280. mes "two types of monster races. First, we have the Single Monster Race,";
  4281. mes "in which those that wagered on the 1st place monster are rewarded.";
  4282. next;
  4283. mes "[Eckar Erenes]";
  4284. mes "Then, we have the Dual Monster";
  4285. mes "Race in which the house odds and";
  4286. mes "rewards are greater than in Single";
  4287. mes "Monster Races: you must wager on";
  4288. mes "2 monsters, and they must place in.";
  4289. next;
  4290. mes "[Eckar Erenes]";
  4291. mes "Although a small entrance";
  4292. mes "fee is required, we only use";
  4293. mes "the money to give rewards to";
  4294. mes "participants and maintain this";
  4295. mes "arena. Therefore, we're not";
  4296. mes "profiting from this enterprise.";
  4297. next;
  4298. mes "[Eckar Erenes]";
  4299. mes "Also, we prohibit others";
  4300. mes "from making personal bets";
  4301. mes "and wagers, using items and";
  4302. mes "zeny, based on the outcomes";
  4303. mes "of these races. That kind of";
  4304. mes "gambling is illegal here.";
  4305. next;
  4306. mes "[Eckar Erenes]";
  4307. mes "Once you enter the Race Arena,";
  4308. mes "you will receive a Racing Ticket.";
  4309. mes "Keep in mind that winning Racing";
  4310. mes "Tickets can only be exchanged for";
  4311. mes "Prize Medals during a 5 minute";
  4312. mes "window after the end of the race.";
  4313. next;
  4314. }
  4315. mes "[Eckar Erenes]";
  4316. mes "The entrance fee for all races";
  4317. mes "in the Monster Race Arena is";
  4318. mes "2,000 zeny. If you'd like to wager on a Single Monster Race";
  4319. mes "then please ask my brother";
  4320. mes "Ellebird to help you.";
  4321. next;
  4322. mes "[Eckar Erenes]";
  4323. mes "Otherwise, I'll help get you";
  4324. mes "started if you're interested";
  4325. mes "in a Dual Monster Race.";
  4326. mes "Would you like to wager";
  4327. mes "on a Dual Monster Race?";
  4328. next;
  4329. switch(select("Yes, please.:No, thanks.")) {
  4330. case 1:
  4331. if (checkweight(909,700) == 0) {
  4332. mes "[Eckar Erenes]";
  4333. mes "Hmm... You're toting";
  4334. mes "too many things with you";
  4335. mes "right now. You better put";
  4336. mes "some of your stuff away in";
  4337. mes "Kafra Storage before you can";
  4338. mes "wager on any monster races.";
  4339. close;
  4340. }
  4341. if (Zeny > 1999) {
  4342. if (countitem(7514) > 0) {
  4343. mes "[Eckar Erenes]";
  4344. mes "Hm? What are you doing";
  4345. mes "with an expired Racing Ticket?";
  4346. mes "Well, I better get rid of it for";
  4347. mes "you before it can get mixed up";
  4348. mes "with your new Racing Ticket.";
  4349. delitem 7514,1; //Monster_Ticket
  4350. next;
  4351. if ($@mon_time_2_1 == 1) {
  4352. mes "[Eckar Erenes]";
  4353. mes "Thanks, I hope that";
  4354. mes "you enjoy this race.";
  4355. mes "Let me guide you now";
  4356. mes "to the Monster Race Arena.";
  4357. set zeny,zeny-2000;
  4358. set monster_race_2_1,0;
  4359. set monster_race_2_2,0;
  4360. close2;
  4361. warp "p_track02",75,41;
  4362. end;
  4363. }
  4364. else if ($@mon_time_2_1 == 2) {
  4365. mes "[Eckar Erenes]";
  4366. mes "We're still finishing our";
  4367. mes "preparations for the next";
  4368. mes "Double Monster Race, so";
  4369. mes "we ask that you please";
  4370. mes "wait a little while longer.";
  4371. close;
  4372. }
  4373. else {
  4374. if (($@mon_time_2_1 == 0) || ($@mon_time_2_2 == 0)) {
  4375. mes "[Eckar Erenes]";
  4376. mes "Right now, a Monster Race";
  4377. mes "is in progress. It's too late to";
  4378. mes "place a wager, but if you'd like";
  4379. mes "to watch, the fee is 500 zeny";
  4380. mes "for spectators. Would you like";
  4381. mes "to enter the Monster Race Arena?";
  4382. next;
  4383. switch(select("Yes:No, thanks")) {
  4384. case 1:
  4385. if (Zeny > 499) {
  4386. mes "[Eckar Erenes]";
  4387. mes "Thanks, I hope that";
  4388. mes "you enjoy this race.";
  4389. mes "Let me guide you now";
  4390. mes "to the Monster Race Arena.";
  4391. set zeny,zeny-500;
  4392. set monster_race_2_1,0;
  4393. set monster_race_2_2,0;
  4394. close2;
  4395. warp "p_track02",75,41;
  4396. end;
  4397. }
  4398. else {
  4399. mes "[Eckar Erenes]";
  4400. mes "I'm sorry, but you";
  4401. mes "don't have enough";
  4402. mes "money to pay the";
  4403. mes "2,000 zeny entrance fee.";
  4404. close;
  4405. }
  4406. case 2:
  4407. mes "[Eckar Erenes]";
  4408. mes "Alright, then. If you'd like";
  4409. mes "to wager on a monster";
  4410. mes "race, please wait for the";
  4411. mes "current race to finish. I hope";
  4412. mes "that you enjoy your time here";
  4413. mes "in the Monster Race Arena~";
  4414. close;
  4415. }
  4416. }
  4417. else {
  4418. mes "[Eckar Erenes]";
  4419. mes "I'm sorry, but a monster";
  4420. mes "race has just ended, so we're";
  4421. mes "having the 5 minute period in";
  4422. mes "which the winners can claim";
  4423. mes "their Prize Medals. The gate";
  4424. mes "will open soon, so please wait.";
  4425. close;
  4426. }
  4427. }
  4428. }
  4429. else {
  4430. if ($@mon_time_2_1 == 1) {
  4431. mes "[Eckar Erenes]";
  4432. mes "Thanks, I hope that";
  4433. mes "you enjoy this race.";
  4434. mes "Let me guide you now";
  4435. mes "to the Monster Race Arena.";
  4436. set zeny,zeny-2000;
  4437. set monster_race_2_1,0;
  4438. set monster_race_2_2,0;
  4439. close2;
  4440. warp "p_track02",75,41;
  4441. end;
  4442. }
  4443. else if ($@mon_time_2_1 == 2) {
  4444. mes "[Eckar Erenes]";
  4445. mes "We're still finishing our";
  4446. mes "preparations for the next";
  4447. mes "Double Monster Race, so";
  4448. mes "we ask that you please";
  4449. mes "wait a little while longer.";
  4450. close;
  4451. }
  4452. else {
  4453. if (($@mon_time_2_1 == 0) || ($@mon_time_2_2 == 0)) {
  4454. mes "[Eckar Erenes]";
  4455. mes "Right now, a Monster Race";
  4456. mes "is in progress. It's too late to";
  4457. mes "place a wager, but if you'd like";
  4458. mes "to watch, the fee is 500 zeny";
  4459. mes "for spectators. Would you like";
  4460. mes "to enter the Monster Race Arena?";
  4461. next;
  4462. switch(select("Enter:Cancel")) {
  4463. case 1:
  4464. if (Zeny > 499) {
  4465. mes "[Eckar Erenes]";
  4466. mes "Thank you~";
  4467. mes "I hope you enjoy.";
  4468. mes "watching this race!";
  4469. set zeny,zeny-500;
  4470. set monster_race_2_1,0;
  4471. set monster_race_2_2,0;
  4472. close2;
  4473. warp "p_track02",75,41;
  4474. end;
  4475. }
  4476. else {
  4477. mes "[Eckar Erenes]";
  4478. mes "I'm sorry, but you";
  4479. mes "don't have enough";
  4480. mes "money to pay the";
  4481. mes "2,000 zeny entrance fee.";
  4482. close;
  4483. }
  4484. case 2:
  4485. mes "[Eckar Erenes]";
  4486. mes "Alright, then. If you'd like";
  4487. mes "to wager on a monster";
  4488. mes "race, please wait for the";
  4489. mes "current race to finish. I hope";
  4490. mes "that you enjoy your time here";
  4491. mes "in the Monster Race Arena~";
  4492. close;
  4493. }
  4494. }
  4495. else {
  4496. mes "[Eckar Erenes]";
  4497. mes "I'm sorry, but a monster";
  4498. mes "race has just ended, so we're";
  4499. mes "having the 5 minute period in";
  4500. mes "which the winners can claim";
  4501. mes "their Prize Medals. The gate";
  4502. mes "will open soon, so please wait.";
  4503. close;
  4504. }
  4505. }
  4506. }
  4507. }
  4508. else {
  4509. mes "[Eckar Erenes]";
  4510. mes "I'm sorry, but you";
  4511. mes "don't have enough";
  4512. mes "money to pay the";
  4513. mes "2,000 zeny entrance fee.";
  4514. close;
  4515. }
  4516. case 2:
  4517. mes "[Eckar Erenes]";
  4518. mes "Very well. I hope that";
  4519. mes "you enjoy your time here";
  4520. mes "in the Monster Race Arena~.";
  4521. close;
  4522. }
  4523. }
  4524. p_track02,73,22,1 script Ticket Helper#2 899,{
  4525. if (checkweight(908,200) == 0) {
  4526. mes "[Ticket Helper]";
  4527. mes "Welcome to the";
  4528. mes "Monster Race Arena.";
  4529. mes "If you'd like to participate";
  4530. mes "in the ^3131FFDouble Monster Race^000000,";
  4531. mes "then please select 1 out of";
  4532. mes "the 6 monsters from the list";
  4533. next;
  4534. mes "[Ticket Helper]";
  4535. mes "Wait, wait...";
  4536. mes "I can't give you";
  4537. mes "anything right now.";
  4538. mes "You're carrying way";
  4539. mes "too many things.";
  4540. close;
  4541. }
  4542. if ((monster_race_2_1 == 0) && (monster_race_2_2 == 0)) {
  4543. mes "[Ticket Helper]";
  4544. mes "Hello there!";
  4545. mes "Interested in wagering on";
  4546. mes "the Dual Monster Race?";
  4547. mes "I'm here to help you if you've";
  4548. mes "got any questions, or if you";
  4549. mes "want to place your wager.";
  4550. next;
  4551. switch(select("Check Monster Status:Wager on Race:Monster Race?:Cancel")) {
  4552. case 1:
  4553. mes "Monster 1 [^CC6600Luck^000000: " + $@mon_r02_Luk1 + "] [^EE0000HP^000000: " + $@mon_r02_tire1 + "]";
  4554. mes "Monster 2 [^CC6600Luck^000000: " + $@mon_r02_Luk2 + "] [^EE0000HP^000000: " + $@mon_r02_Tire2 + "]";
  4555. mes "Monster 3 [^CC6600Luck^000000: " + $@mon_r02_Luk3 + "] [^EE0000HP^000000: " + $@mon_r02_Tire3 + "]";
  4556. mes "Monster 4 [^CC6600Luck^000000: " + $@mon_r02_Luk4 + "] [^EE0000HP^000000: " + $@mon_r02_Tire4 + "]";
  4557. mes "Monster 5 [^CC6600Luck^000000: " + $@mon_r02_Luk5 + "] [^EE0000HP^000000: " + $@mon_r02_Tire5 + "]";
  4558. mes "Monster 6 [^CC6600Luck^000000: " + $@mon_r02_Luk6 + "] [^EE0000HP^000000: " + $@mon_r02_Tire6 + "]";
  4559. close;
  4560. case 2:
  4561. mes "[Ticket Helper]";
  4562. mes "Alright, please choose which";
  4563. mes "two monsters that you think";
  4564. mes "will win 1st and 2nd place.";
  4565. mes "If both your monsters come";
  4566. mes "in 1st and 2nd, in any order,";
  4567. mes "you'll win the wager.";
  4568. next;
  4569. mes "[Ticket Helper]";
  4570. mes "Now, please tell me";
  4571. mes "your first choice for one";
  4572. mes "of the monsters that";
  4573. mes "will win this race.";
  4574. next;
  4575. switch(select("Monster 1:Monster 2:Monster 3:Monster 4:Monster 5:Monster 6")) {
  4576. case 1:
  4577. mes "[Ticket Helper]";
  4578. mes "You've chosen";
  4579. mes "^0000FFMonster 1^000000, a friendly";
  4580. mes "Poring type monster.";
  4581. mes "Are you sure you want";
  4582. mes "to choose this monster?";
  4583. next;
  4584. switch(select("Yes:No")) {
  4585. case 1:
  4586. mes "[Ticket Helper]";
  4587. mes "Now, please make.....l...your second choice.....l...for the monster that.....l...you think will place...!.l...1st or 2nd in this race.";
  4588. next;
  4589. switch(select("Monster 2:Monster 3:Monster 4:Monster 5:Monster 6:")) {
  4590. case 1:
  4591. mes "[Ticket Helper]";
  4592. mes "You've chosen";
  4593. mes "^0000FFMonster 2^000000, an adorable";
  4594. mes "Lunatic type monster.";
  4595. mes "Are you sure you want";
  4596. mes "to choose this monster?";
  4597. next;
  4598. switch(select("Yes:No")) {
  4599. case 1:
  4600. if ($@mon_time_2_2 == 0) {
  4601. mes "[Ticket Helper]";
  4602. mes "You've wagered on";
  4603. mes "^0000FFMonster 1^000000 and ^0000FFMonster 2^000000";
  4604. mes "to win this race. Good luck!";
  4605. mes "I really hope that the odds";
  4606. mes "work out in your favor~";
  4607. emotion e_kis;
  4608. set monster_race_2_1,1;
  4609. set monster_race_2_2,2;
  4610. getitem 7514,1; //Monster_Ticket
  4611. close;
  4612. }
  4613. else {
  4614. mes "[Ticket Helper]";
  4615. mes "I'm very sorry, but a";
  4616. mes "monster race is underway.";
  4617. mes "Please wait, and then place";
  4618. mes "your wager for the next race.";
  4619. close;
  4620. }
  4621. case 2:
  4622. mes "[Ticket Helper]";
  4623. mes "You have canceled";
  4624. mes "your wager. Okay,";
  4625. mes "I understand. Perhaps";
  4626. mes "you'd feel more comfortable";
  4627. mes "checking the monsters first?";
  4628. close;
  4629. }
  4630. case 2:
  4631. mes "[Ticket Helper]";
  4632. mes "You've chosen";
  4633. mes "^0000FFMonster 3^000000, a darling";
  4634. mes "Savage Bebe monster.";
  4635. mes "Are you sure you want";
  4636. mes "to choose this monster?.";
  4637. next;
  4638. switch(select("Yes:No")) {
  4639. case 1:
  4640. if ($@mon_time_2_2 == 0) {
  4641. mes "[Ticket Helper]";
  4642. mes "You've wagered on";
  4643. mes "^0000FFMonster 1^000000 and ^0000FFMonster 3^000000";
  4644. mes "to win this race. Good luck!";
  4645. mes "I really hope that the odds";
  4646. mes "work out in your favor~";
  4647. emotion e_kis;
  4648. set monster_race_2_1,1;
  4649. set monster_race_2_2,3;
  4650. getitem 7514,1; //Monster_Ticket
  4651. close;
  4652. }
  4653. else {
  4654. mes "[Ticket Helper]";
  4655. mes "I'm very sorry, but a";
  4656. mes "monster race is underway.";
  4657. mes "Please wait, and then place";
  4658. mes "your wager for the next race.";
  4659. close;
  4660. }
  4661. case 2:
  4662. mes "[Ticket Helper]";
  4663. mes "You have canceled";
  4664. mes "your wager. Okay,";
  4665. mes "I understand. Perhaps";
  4666. mes "you'd feel more comfortable";
  4667. mes "checking the monsters first?";
  4668. close;
  4669. }
  4670. case 3:
  4671. mes "[Ticket Helper]";
  4672. mes "You've chosen";
  4673. mes "^0000FFMonster 4^000000, a gentle Baby";
  4674. mes "Desert Wolf monster.";
  4675. mes "Are you sure you want";
  4676. mes "to choose this monster?";
  4677. next;
  4678. switch(select("Yes:No")) {
  4679. case 1:
  4680. if ($@mon_time_2_2 == 0) {
  4681. mes "[Ticket Helper]";
  4682. mes "You've wagered on";
  4683. mes "^0000FFMonster 1^000000 and ^0000FFMonster 4^000000";
  4684. mes "to win this race. Good luck!";
  4685. mes "I really hope that the odds";
  4686. mes "work out in your favor~";
  4687. emotion e_kis;
  4688. set monster_race_2_1,1;
  4689. set monster_race_2_2,4;
  4690. getitem 7514,1; //Monster_Ticket
  4691. close;
  4692. }
  4693. else {
  4694. mes "[Ticket Helper]";
  4695. mes "I'm very sorry, but a";
  4696. mes "monster race is underway.";
  4697. mes "Please wait, and then place";
  4698. mes "your wager for the next race.";
  4699. close;
  4700. }
  4701. break;
  4702. case 2:
  4703. mes "[Ticket Helper]";
  4704. mes "You have canceled";
  4705. mes "your wager. Okay,";
  4706. mes "I understand. Perhaps";
  4707. mes "you'd feel more comfortable";
  4708. mes "checking the monsters first?";
  4709. close;
  4710. }
  4711. case 4:
  4712. mes "[Ticket Helper]";
  4713. mes "You've chosen";
  4714. mes "^0000FFMonster 5^000000, a small, yet";
  4715. mes "demonic, Deviruchi.";
  4716. mes "Are you sure you want";
  4717. mes "to choose this monster?";
  4718. next;
  4719. switch(select("Yes:No")) {
  4720. case 1:
  4721. if ($@mon_time_2_2 == 0) {
  4722. mes "[Ticket Helper]";
  4723. mes "You've wagered on";
  4724. mes "^0000FFMonster 1^000000 and ^0000FFMonster 5^000000";
  4725. mes "to win this race. Good luck!";
  4726. mes "I really hope that the odds";
  4727. mes "work out in your favor~";
  4728. emotion e_kis;
  4729. set monster_race_2_1,1;
  4730. set monster_race_2_2,5;
  4731. getitem 7514,1; //Monster_Ticket
  4732. close;
  4733. }
  4734. else {
  4735. mes "[Ticket Helper]";
  4736. mes "I'm very sorry, but a";
  4737. mes "monster race is underway.";
  4738. mes "Please wait, and then place";
  4739. mes "your wager for the next race.";
  4740. close;
  4741. }
  4742. case 2:
  4743. mes "[Ticket Helper]";
  4744. mes "You have canceled";
  4745. mes "your wager. Okay,";
  4746. mes "I understand. Perhaps";
  4747. mes "you'd feel more comfortable";
  4748. mes "checking the monsters first?";
  4749. close;
  4750. }
  4751. case 5:
  4752. mes "[Ticket Helper]";
  4753. mes "You've chosen";
  4754. mes "^0000FFMonster 6^000000, a naughty";
  4755. mes "Baphomet Jr. monster.";
  4756. mes "Are you sure you want";
  4757. mes "to choose this monster?";
  4758. next;
  4759. switch(select("Yes:No")) {
  4760. case 1:
  4761. if ($@mon_time_2_2 == 0) {
  4762. mes "[Ticket Helper]";
  4763. mes "You've wagered on";
  4764. mes "^0000FFMonster 1^000000 and ^0000FFMonster 6^000000";
  4765. mes "to win this race. Good luck!";
  4766. mes "I really hope that the odds";
  4767. mes "work out in your favor~";
  4768. emotion e_kis;
  4769. set monster_race_2_1,1;
  4770. set monster_race_2_2,6;
  4771. getitem 7514,1; //Monster_Ticket
  4772. close;
  4773. }
  4774. else {
  4775. mes "[Ticket Helper]";
  4776. mes "I'm very sorry, but a";
  4777. mes "monster race is underway.";
  4778. mes "Please wait, and then place";
  4779. mes "your wager for the next race.";
  4780. close;
  4781. }
  4782. case 2:
  4783. mes "[Ticket Helper]";
  4784. mes "You have canceled";
  4785. mes "your wager. Okay,";
  4786. mes "I understand. Perhaps";
  4787. mes "you'd feel more comfortable";
  4788. mes "checking the monsters first?";
  4789. close;
  4790. }
  4791. }
  4792. case 2:
  4793. mes "[Ticket Helper]";
  4794. mes "You have canceled";
  4795. mes "your wager. Okay,";
  4796. mes "I understand. Perhaps";
  4797. mes "you'd feel more comfortable";
  4798. mes "checking the monsters first?";
  4799. close;
  4800. }
  4801. case 2:
  4802. mes "[Ticket Helper]";
  4803. mes "You've chosen";
  4804. mes "^0000FFMonster 2^000000, an adorable";
  4805. mes "Lunatic type monster.";
  4806. mes "Are you sure you want";
  4807. mes "to choose this monster?";
  4808. next;
  4809. switch(select("Yes:No")) {
  4810. case 1:
  4811. mes "[Ticket Helper]";
  4812. mes "Please choose your";
  4813. mes "second monster";
  4814. next;
  4815. switch(select("Monster 1:Monster 3:Monster 4:Monster 5:Monster 6")) {
  4816. case 1:
  4817. mes "[Ticket Helper]";
  4818. mes "You've chosen";
  4819. mes "^0000FFMonster 1^000000, a friendly";
  4820. mes "Poring type monster.";
  4821. mes "Are you sure you want";
  4822. mes "to choose this monster?";
  4823. next;
  4824. switch(select("Yes:No")) {
  4825. case 1:
  4826. if ($@mon_time_2_2 == 0) {
  4827. mes "[Ticket Helper]";
  4828. mes "You've wagered on";
  4829. mes "^0000FFMonster 2^000000 and ^0000FFMonster 1^000000";
  4830. mes "to win this race. Good luck!";
  4831. mes "I really hope that the odds";
  4832. mes "work out in your favor~";
  4833. emotion e_kis;
  4834. set monster_race_2_1,2;
  4835. set monster_race_2_2,1;
  4836. getitem 7514,1; //Monster_Ticket
  4837. close;
  4838. }
  4839. else {
  4840. mes "[Ticket Helper]";
  4841. mes "I'm very sorry, but a";
  4842. mes "monster race is underway.";
  4843. mes "Please wait, and then place";
  4844. mes "your wager for the next race.";
  4845. close;
  4846. }
  4847. case 2:
  4848. mes "[Ticket Helper]";
  4849. mes "You have canceled";
  4850. mes "your wager. Okay,";
  4851. mes "I understand. Perhaps";
  4852. mes "you'd feel more comfortable";
  4853. mes "checking the monsters first?";
  4854. close;
  4855. }
  4856. case 2:
  4857. mes "[Ticket Helper]";
  4858. mes "You've chosen";
  4859. mes "^0000FFMonster 3^000000, a darling";
  4860. mes "Savage Bebe monster.";
  4861. mes "Are you sure you want";
  4862. mes "to choose this monster?.";
  4863. next;
  4864. switch(select("Yes:No")) {
  4865. case 1:
  4866. if ($@mon_time_2_2 == 0) {
  4867. mes "[Ticket Helper]";
  4868. mes "You've wagered on";
  4869. mes "^0000FFMonster 2^000000 and ^0000FFMonster 3^000000";
  4870. mes "to win this race. Good luck!";
  4871. mes "I really hope that the odds";
  4872. mes "work out in your favor~";
  4873. emotion e_kis;
  4874. set monster_race_2_1,2;
  4875. set monster_race_2_2,3;
  4876. getitem 7514,1; //Monster_Ticket
  4877. close;
  4878. }
  4879. else {
  4880. mes "[Ticket Helper]";
  4881. mes "I'm very sorry, but a";
  4882. mes "monster race is underway.";
  4883. mes "Please wait, and then place";
  4884. mes "your wager for the next race.";
  4885. close;
  4886. }
  4887. case 2:
  4888. mes "[Ticket Helper]";
  4889. mes "You have canceled";
  4890. mes "your wager. Okay,";
  4891. mes "I understand. Perhaps";
  4892. mes "you'd feel more comfortable";
  4893. mes "checking the monsters first?";
  4894. close;
  4895. }
  4896. case 3:
  4897. mes "[Ticket Helper]";
  4898. mes "You've chosen";
  4899. mes "^0000FFMonster 4^000000, a gentle Baby";
  4900. mes "Desert Wolf monster.";
  4901. mes "Are you sure you want";
  4902. mes "to choose this monster?";
  4903. next;
  4904. switch(select("Yes:No")) {
  4905. case 1:
  4906. if ($@mon_time_2_2 == 0) {
  4907. mes "[Ticket Helper]";
  4908. mes "You've wagered on";
  4909. mes "^0000FFMonster 2^000000 and ^0000FFMonster 4^000000";
  4910. mes "to win this race. Good luck!";
  4911. mes "I really hope that the odds";
  4912. mes "work out in your favor~";
  4913. emotion e_kis;
  4914. set monster_race_2_1,2;
  4915. set monster_race_2_2,4;
  4916. getitem 7514,1; //Monster_Ticket
  4917. close;
  4918. }
  4919. else {
  4920. mes "[Ticket Helper]";
  4921. mes "I'm very sorry, but a";
  4922. mes "monster race is underway.";
  4923. mes "Please wait, and then place";
  4924. mes "your wager for the next race.";
  4925. close;
  4926. }
  4927. case 2:
  4928. mes "[Ticket Helper]";
  4929. mes "You have canceled";
  4930. mes "your wager. Okay,";
  4931. mes "I understand. Perhaps";
  4932. mes "you'd feel more comfortable";
  4933. mes "checking the monsters first?";
  4934. close;
  4935. }
  4936. case 4:
  4937. mes "[Ticket Helper]";
  4938. mes "You've chosen";
  4939. mes "^0000FFMonster 5^000000, a small, yet";
  4940. mes "demonic, Deviruchi.";
  4941. mes "Are you sure you want";
  4942. mes "to choose this monster?";
  4943. next;
  4944. switch(select("Yes:No")) {
  4945. case 1:
  4946. if ($@mon_time_2_2 == 0) {
  4947. mes "[Ticket Helper]";
  4948. mes "You've wagered on";
  4949. mes "^0000FFMonster 2^000000 and ^0000FFMonster 5^000000";
  4950. mes "to win this race. Good luck!";
  4951. mes "I really hope that the odds";
  4952. mes "work out in your favor~";
  4953. emotion e_kis;
  4954. set monster_race_2_1,2;
  4955. set monster_race_2_2,5;
  4956. getitem 7514,1; //Monster_Ticket
  4957. close;
  4958. }
  4959. else {
  4960. mes "[Ticket Helper]";
  4961. mes "I'm very sorry, but a";
  4962. mes "monster race is underway.";
  4963. mes "Please wait, and then place";
  4964. mes "your wager for the next race.";
  4965. close;
  4966. }
  4967. case 2:
  4968. mes "[Ticket Helper]";
  4969. mes "You have canceled";
  4970. mes "your wager. Okay,";
  4971. mes "I understand. Perhaps";
  4972. mes "you'd feel more comfortable";
  4973. mes "checking the monsters first?";
  4974. close;
  4975. }
  4976. case 5:
  4977. mes "[Ticket Helper]";
  4978. mes "You've chosen";
  4979. mes "^0000FFMonster 6^000000, a naughty";
  4980. mes "Baphomet Jr. monster.";
  4981. mes "Are you sure you want";
  4982. mes "to choose this monster?";
  4983. next;
  4984. switch(select("Yes:No")) {
  4985. case 1:
  4986. if ($@mon_time_2_2 == 0) {
  4987. mes "[Ticket Helper]";
  4988. mes "You've wagered on";
  4989. mes "^0000FFMonster 2^000000 and ^0000FFMonster 6^000000";
  4990. mes "to win this race. Good luck!";
  4991. mes "I really hope that the odds";
  4992. mes "work out in your favor~";
  4993. emotion e_kis;
  4994. set monster_race_2_1,2;
  4995. set monster_race_2_2,6;
  4996. getitem 7514,1; //Monster_Ticket
  4997. close;
  4998. }
  4999. else {
  5000. mes "[Ticket Helper]";
  5001. mes "I'm very sorry, but a";
  5002. mes "monster race is underway.";
  5003. mes "Please wait, and then place";
  5004. mes "your wager for the next race.";
  5005. close;
  5006. }
  5007. case 2:
  5008. mes "[Ticket Helper]";
  5009. mes "You have canceled";
  5010. mes "your wager. Okay,";
  5011. mes "I understand. Perhaps";
  5012. mes "you'd feel more comfortable";
  5013. mes "checking the monsters first?";
  5014. close;
  5015. }
  5016. }
  5017. case 2:
  5018. mes "[Ticket Helper]";
  5019. mes "You have canceled";
  5020. mes "your wager. Okay,";
  5021. mes "I understand. Perhaps";
  5022. mes "you'd feel more comfortable";
  5023. mes "checking the monsters first?";
  5024. close;
  5025. }
  5026. case 3:
  5027. mes "[Ticket Helper]";
  5028. mes "You've chosen";
  5029. mes "^0000FFMonster 3^000000, a darling";
  5030. mes "Savage Bebe monster.";
  5031. mes "Are you sure you want";
  5032. mes "to choose this monster?.";
  5033. next;
  5034. switch(select("Yes:No")) {
  5035. case 1:
  5036. mes "[Ticket Helper]";
  5037. mes "Please choose your";
  5038. mes "second monster";
  5039. next;
  5040. switch(select("Monster 1:Monster 2:Monster 4:Monster 5:Monster 6")) {
  5041. case 1:
  5042. mes "[Ticket Helper]";
  5043. mes "You've chosen";
  5044. mes "^0000FFMonster 1^000000, a friendly";
  5045. mes "Poring type monster.";
  5046. mes "Are you sure you want";
  5047. mes "to choose this monster?";
  5048. next;
  5049. switch(select("Yes:No")) {
  5050. case 1:
  5051. if ($@mon_time_2_2 == 0) {
  5052. mes "[Ticket Helper]";
  5053. mes "You've wagered on";
  5054. mes "^0000FFMonster 3^000000 and ^0000FFMonster 1^000000";
  5055. mes "to win this race. Good luck!";
  5056. mes "I really hope that the odds";
  5057. mes "work out in your favor~";
  5058. emotion e_kis;
  5059. set monster_race_2_1,3;
  5060. set monster_race_2_2,1;
  5061. getitem 7514,1; //Monster_Ticket
  5062. close;
  5063. }
  5064. else {
  5065. mes "[Ticket Helper]";
  5066. mes "I'm very sorry, but a";
  5067. mes "monster race is underway.";
  5068. mes "Please wait, and then place";
  5069. mes "your wager for the next race.";
  5070. close;
  5071. }
  5072. case 2:
  5073. mes "[Ticket Helper]";
  5074. mes "You have canceled";
  5075. mes "your wager. Okay,";
  5076. mes "I understand. Perhaps";
  5077. mes "you'd feel more comfortable";
  5078. mes "checking the monsters first?";
  5079. close;
  5080. }
  5081. case 2:
  5082. mes "[Ticket Helper]";
  5083. mes "You've chosen";
  5084. mes "^0000FFMonster 2^000000, an adorable";
  5085. mes "Lunatic type monster.";
  5086. mes "Are you sure you want";
  5087. mes "to choose this monster?";
  5088. next;
  5089. switch(select("Yes:No")) {
  5090. case 1:
  5091. if ($@mon_time_2_2 == 0) {
  5092. mes "[Ticket Helper]";
  5093. mes "You've wagered on";
  5094. mes "^0000FFMonster 3^000000 and ^0000FFMonster 2^000000";
  5095. mes "to win this race. Good luck!";
  5096. mes "I really hope that the odds";
  5097. mes "work out in your favor~";
  5098. emotion e_kis;
  5099. set monster_race_2_1,3;
  5100. set monster_race_2_2,2;
  5101. getitem 7514,1; //Monster_Ticket
  5102. close;
  5103. }
  5104. else {
  5105. mes "[Ticket Helper]";
  5106. mes "I'm very sorry, but a";
  5107. mes "monster race is underway.";
  5108. mes "Please wait, and then place";
  5109. mes "your wager for the next race.";
  5110. close;
  5111. }
  5112. case 2:
  5113. mes "[Ticket Helper]";
  5114. mes "You have canceled";
  5115. mes "your wager. Okay,";
  5116. mes "I understand. Perhaps";
  5117. mes "you'd feel more comfortable";
  5118. mes "checking the monsters first?";
  5119. close;
  5120. }
  5121. case 3:
  5122. mes "[Ticket Helper]";
  5123. mes "You've chosen";
  5124. mes "^0000FFMonster 4^000000, a gentle Baby";
  5125. mes "Desert Wolf monster.";
  5126. mes "Are you sure you want";
  5127. mes "to choose this monster?";
  5128. next;
  5129. switch(select("Yes:No")) {
  5130. case 1:
  5131. if ($@mon_time_2_2 == 0) {
  5132. mes "[Ticket Helper]";
  5133. mes "You've wagered on";
  5134. mes "^0000FFMonster 3^000000 and ^0000FFMonster 4^000000";
  5135. mes "to win this race. Good luck!";
  5136. mes "I really hope that the odds";
  5137. mes "work out in your favor~";
  5138. emotion e_kis;
  5139. set monster_race_2_1,3;
  5140. set monster_race_2_2,4;
  5141. getitem 7514,1; //Monster_Ticket
  5142. close;
  5143. }
  5144. else {
  5145. mes "[Ticket Helper]";
  5146. mes "I'm very sorry, but a";
  5147. mes "monster race is underway.";
  5148. mes "Please wait, and then place";
  5149. mes "your wager for the next race.";
  5150. close;
  5151. }
  5152. case 2:
  5153. mes "[Ticket Helper]";
  5154. mes "You have canceled";
  5155. mes "your wager. Okay,";
  5156. mes "I understand. Perhaps";
  5157. mes "you'd feel more comfortable";
  5158. mes "checking the monsters first?";
  5159. close;
  5160. }
  5161. case 4:
  5162. mes "[Ticket Helper]";
  5163. mes "You've chosen";
  5164. mes "^0000FFMonster 5^000000, a small, yet";
  5165. mes "demonic, Deviruchi.";
  5166. mes "Are you sure you want";
  5167. mes "to choose this monster?";
  5168. next;
  5169. switch(select("Yes:No")) {
  5170. case 1:
  5171. if ($@mon_time_2_2 == 0) {
  5172. mes "[Ticket Helper]";
  5173. mes "You've wagered on";
  5174. mes "^0000FFMonster 3^000000 and ^0000FFMonster 5^000000";
  5175. mes "to win this race. Good luck!";
  5176. mes "I really hope that the odds";
  5177. mes "work out in your favor~";
  5178. emotion e_kis;
  5179. set monster_race_2_1,3;
  5180. set monster_race_2_2,5;
  5181. getitem 7514,1; //Monster_Ticket
  5182. close;
  5183. }
  5184. else {
  5185. mes "[Ticket Helper]";
  5186. mes "I'm very sorry, but a";
  5187. mes "monster race is underway.";
  5188. mes "Please wait, and then place";
  5189. mes "your wager for the next race.";
  5190. close;
  5191. }
  5192. case 2:
  5193. mes "[Ticket Helper]";
  5194. mes "You have canceled";
  5195. mes "your wager. Okay,";
  5196. mes "I understand. Perhaps";
  5197. mes "you'd feel more comfortable";
  5198. mes "checking the monsters first?";
  5199. close;
  5200. }
  5201. case 5:
  5202. mes "[Ticket Helper]";
  5203. mes "You've chosen";
  5204. mes "^0000FFMonster 6^000000, a naughty";
  5205. mes "Baphomet Jr. monster.";
  5206. mes "Are you sure you want";
  5207. mes "to choose this monster?";
  5208. next;
  5209. switch(select("Yes:No")) {
  5210. case 1:
  5211. if ($@mon_time_2_2 == 0) {
  5212. mes "[Ticket Helper]";
  5213. mes "You've wagered on";
  5214. mes "^0000FFMonster 3^000000 and ^0000FFMonster 6^000000";
  5215. mes "to win this race. Good luck!";
  5216. mes "I really hope that the odds";
  5217. mes "work out in your favor~";
  5218. emotion e_kis;
  5219. set monster_race_2_1,3;
  5220. set monster_race_2_2,6;
  5221. getitem 7514,1; //Monster_Ticket
  5222. close;
  5223. }
  5224. else {
  5225. mes "[Ticket Helper]";
  5226. mes "I'm very sorry, but a";
  5227. mes "monster race is underway.";
  5228. mes "Please wait, and then place";
  5229. mes "your wager for the next race.";
  5230. close;
  5231. }
  5232. case 2:
  5233. mes "[Ticket Helper]";
  5234. mes "You have canceled";
  5235. mes "your wager. Okay,";
  5236. mes "I understand. Perhaps";
  5237. mes "you'd feel more comfortable";
  5238. mes "checking the monsters first?";
  5239. close;
  5240. }
  5241. }
  5242. case 2:
  5243. mes "[Ticket Helper]";
  5244. mes "You have canceled";
  5245. mes "your wager. Okay,";
  5246. mes "I understand. Perhaps";
  5247. mes "you'd feel more comfortable";
  5248. mes "checking the monsters first?";
  5249. close;
  5250. }
  5251. case 4:
  5252. mes "[Ticket Helper]";
  5253. mes "You've chosen";
  5254. mes "^0000FFMonster 4^000000, a gentle Baby";
  5255. mes "Desert Wolf monster.";
  5256. mes "Are you sure you want";
  5257. mes "to choose this monster?";
  5258. next;
  5259. switch(select("Yes:No")) {
  5260. case 1:
  5261. mes "[Ticket Helper]";
  5262. mes "Please choose your";
  5263. mes "second monster";
  5264. next;
  5265. switch(select("Monster 1:Monster 2:Monster 3:Monster 5:Monster 6")) {
  5266. case 1:
  5267. mes "[Ticket Helper]";
  5268. mes "You've chosen";
  5269. mes "^0000FFMonster 1^000000, a friendly";
  5270. mes "Poring type monster.";
  5271. mes "Are you sure you want";
  5272. mes "to choose this monster?";
  5273. next;
  5274. switch(select("Yes:No")) {
  5275. case 1:
  5276. if ($@mon_time_2_2 == 0) {
  5277. mes "[Ticket Helper]";
  5278. mes "You've wagered on";
  5279. mes "^0000FFMonster 4^000000 and ^0000FFMonster 1^000000";
  5280. mes "to win this race. Good luck!";
  5281. mes "I really hope that the odds";
  5282. mes "work out in your favor~";
  5283. emotion e_kis;
  5284. set monster_race_2_1,4;
  5285. set monster_race_2_2,1;
  5286. getitem 7514,1; //Monster_Ticket
  5287. close;
  5288. }
  5289. else {
  5290. mes "[Ticket Helper]";
  5291. mes "I'm very sorry, but a";
  5292. mes "monster race is underway.";
  5293. mes "Please wait, and then place";
  5294. mes "your wager for the next race.";
  5295. close;
  5296. }
  5297. case 2:
  5298. mes "[Ticket Helper]";
  5299. mes "You have canceled";
  5300. mes "your wager. Okay,";
  5301. mes "I understand. Perhaps";
  5302. mes "you'd feel more comfortable";
  5303. mes "checking the monsters first?";
  5304. close;
  5305. }
  5306. case 2:
  5307. mes "[Ticket Helper]";
  5308. mes "You've chosen";
  5309. mes "^0000FFMonster 2^000000, an adorable";
  5310. mes "Lunatic type monster.";
  5311. mes "Are you sure you want";
  5312. mes "to choose this monster?";
  5313. next;
  5314. switch(select("Yes:No")) {
  5315. case 1:
  5316. if ($@mon_time_2_2 == 0) {
  5317. mes "[Ticket Helper]";
  5318. mes "You've wagered on";
  5319. mes "^0000FFMonster 4^000000 and ^0000FFMonster 2^000000";
  5320. mes "to win this race. Good luck!";
  5321. mes "I really hope that the odds";
  5322. mes "work out in your favor~";
  5323. emotion e_kis;
  5324. set monster_race_2_1,4;
  5325. set monster_race_2_2,2;
  5326. getitem 7514,1; //Monster_Ticket
  5327. close;
  5328. }
  5329. else {
  5330. mes "[Ticket Helper]";
  5331. mes "I'm very sorry, but a";
  5332. mes "monster race is underway.";
  5333. mes "Please wait, and then place";
  5334. mes "your wager for the next race.";
  5335. close;
  5336. }
  5337. case 2:
  5338. mes "[Ticket Helper]";
  5339. mes "You have canceled";
  5340. mes "your wager. Okay,";
  5341. mes "I understand. Perhaps";
  5342. mes "you'd feel more comfortable";
  5343. mes "checking the monsters first?";
  5344. close;
  5345. }
  5346. case 3:
  5347. mes "[Ticket Helper]";
  5348. mes "You've chosen";
  5349. mes "^0000FFMonster 3^000000, a darling";
  5350. mes "Savage Bebe monster.";
  5351. mes "Are you sure you want";
  5352. mes "to choose this monster?.";
  5353. next;
  5354. switch(select("Yes:No")) {
  5355. case 1:
  5356. if ($@mon_time_2_2 == 0) {
  5357. mes "[Ticket Helper]";
  5358. mes "You've wagered on";
  5359. mes "^0000FFMonster 4^000000 and ^0000FFMonster 3^000000";
  5360. mes "to win this race. Good luck!";
  5361. mes "I really hope that the odds";
  5362. mes "work out in your favor~";
  5363. emotion e_kis;
  5364. set monster_race_2_1,4;
  5365. set monster_race_2_2,3;
  5366. getitem 7514,1; //Monster_Ticket
  5367. close;
  5368. }
  5369. else {
  5370. mes "[Ticket Helper]";
  5371. mes "I'm very sorry, but a";
  5372. mes "monster race is underway.";
  5373. mes "Please wait, and then place";
  5374. mes "your wager for the next race.";
  5375. close;
  5376. }
  5377. case 2:
  5378. mes "[Ticket Helper]";
  5379. mes "You have canceled";
  5380. mes "your wager. Okay,";
  5381. mes "I understand. Perhaps";
  5382. mes "you'd feel more comfortable";
  5383. mes "checking the monsters first?";
  5384. close;
  5385. }
  5386. break;
  5387. case 4:
  5388. mes "[Ticket Helper]";
  5389. mes "You've chosen";
  5390. mes "^0000FFMonster 5^000000, a small, yet";
  5391. mes "demonic, Deviruchi.";
  5392. mes "Are you sure you want";
  5393. mes "to choose this monster?";
  5394. next;
  5395. switch(select("Yes:No")) {
  5396. case 1:
  5397. if ($@mon_time_2_2 == 0) {
  5398. mes "[Ticket Helper]";
  5399. mes "You've wagered on";
  5400. mes "^0000FFMonster 4^000000 and ^0000FFMonster 5^000000";
  5401. mes "to win this race. Good luck!";
  5402. mes "I really hope that the odds";
  5403. mes "work out in your favor~";
  5404. emotion e_kis;
  5405. set monster_race_2_1,4;
  5406. set monster_race_2_2,5;
  5407. getitem 7514,1; //Monster_Ticket
  5408. close;
  5409. }
  5410. else {
  5411. mes "[Ticket Helper]";
  5412. mes "I'm very sorry, but a";
  5413. mes "monster race is underway.";
  5414. mes "Please wait, and then place";
  5415. mes "your wager for the next race.";
  5416. close;
  5417. }
  5418. case 2:
  5419. mes "[Ticket Helper]";
  5420. mes "You have canceled";
  5421. mes "your wager. Okay,";
  5422. mes "I understand. Perhaps";
  5423. mes "you'd feel more comfortable";
  5424. mes "checking the monsters first?";
  5425. close;
  5426. }
  5427. case 5:
  5428. mes "[Ticket Helper]";
  5429. mes "You've chosen";
  5430. mes "^0000FFMonster 6^000000, a naughty";
  5431. mes "Baphomet Jr. monster.";
  5432. mes "Are you sure you want";
  5433. mes "to choose this monster?";
  5434. next;
  5435. switch(select("Yes:No")) {
  5436. case 1:
  5437. if ($@mon_time_2_2 == 0) {
  5438. mes "[Ticket Helper]";
  5439. mes "You've wagered on";
  5440. mes "^0000FFMonster 4^000000 and ^0000FFMonster 6^000000";
  5441. mes "to win this race. Good luck!";
  5442. mes "I really hope that the odds";
  5443. mes "work out in your favor~";
  5444. emotion e_kis;
  5445. set monster_race_2_1,4;
  5446. set monster_race_2_2,6;
  5447. getitem 7514,1; //Monster_Ticket
  5448. close;
  5449. }
  5450. else {
  5451. mes "[Ticket Helper]";
  5452. mes "I'm very sorry, but a";
  5453. mes "monster race is underway.";
  5454. mes "Please wait, and then place";
  5455. mes "your wager for the next race.";
  5456. close;
  5457. }
  5458. case 2:
  5459. mes "[Ticket Helper]";
  5460. mes "You have canceled";
  5461. mes "your wager. Okay,";
  5462. mes "I understand. Perhaps";
  5463. mes "you'd feel more comfortable";
  5464. mes "checking the monsters first?";
  5465. close;
  5466. }
  5467. }
  5468. case 2:
  5469. mes "[Ticket Helper]";
  5470. mes "You have canceled";
  5471. mes "your wager. Okay,";
  5472. mes "I understand. Perhaps";
  5473. mes "you'd feel more comfortable";
  5474. mes "checking the monsters first?";
  5475. close;
  5476. }
  5477. case 5:
  5478. mes "[Ticket Helper]";
  5479. mes "You've chosen";
  5480. mes "^0000FFMonster 5^000000, a small, yet";
  5481. mes "demonic, Deviruchi.";
  5482. mes "Are you sure you want";
  5483. mes "to choose this monster?";
  5484. next;
  5485. switch(select("Yes:No")) {
  5486. case 1:
  5487. mes "[Ticket Helper]";
  5488. mes "Please choose your";
  5489. mes "second monster";
  5490. next;
  5491. switch(select("Monster 1:Monster 2:Monster 3:Monster 4:Monster 6")) {
  5492. case 1:
  5493. mes "[Ticket Helper]";
  5494. mes "You've chosen";
  5495. mes "^0000FFMonster 1^000000, a friendly";
  5496. mes "Poring type monster.";
  5497. mes "Are you sure you want";
  5498. mes "to choose this monster?";
  5499. next;
  5500. switch(select("Yes:No")) {
  5501. case 1:
  5502. if ($@mon_time_2_2 == 0) {
  5503. mes "[Ticket Helper]";
  5504. mes "You've wagered on";
  5505. mes "^0000FFMonster 5^000000 and ^0000FFMonster 1^000000";
  5506. mes "to win this race. Good luck!";
  5507. mes "I really hope that the odds";
  5508. mes "work out in your favor~";
  5509. emotion e_kis;
  5510. set monster_race_2_1,5;
  5511. set monster_race_2_2,1;
  5512. getitem 7514,1; //Monster_Ticket
  5513. close;
  5514. }
  5515. else {
  5516. mes "[Ticket Helper]";
  5517. mes "I'm very sorry, but a";
  5518. mes "monster race is underway.";
  5519. mes "Please wait, and then place";
  5520. mes "your wager for the next race.";
  5521. close;
  5522. }
  5523. case 2:
  5524. mes "[Ticket Helper]";
  5525. mes "You have canceled";
  5526. mes "your wager. Okay,";
  5527. mes "I understand. Perhaps";
  5528. mes "you'd feel more comfortable";
  5529. mes "checking the monsters first?";
  5530. close;
  5531. }
  5532. case 2:
  5533. mes "[Ticket Helper]";
  5534. mes "You've chosen";
  5535. mes "^0000FFMonster 2^000000, an adorable";
  5536. mes "Lunatic type monster.";
  5537. mes "Are you sure you want";
  5538. mes "to choose this monster?";
  5539. next;
  5540. switch(select("Yes:No")) {
  5541. case 1:
  5542. if ($@mon_time_2_2 == 0) {
  5543. mes "[Ticket Helper]";
  5544. mes "You've wagered on";
  5545. mes "^0000FFMonster 5^000000 and ^0000FFMonster 2^000000";
  5546. mes "to win this race. Good luck!";
  5547. mes "I really hope that the odds";
  5548. mes "work out in your favor~";
  5549. emotion e_kis;
  5550. set monster_race_2_1,5;
  5551. set monster_race_2_2,2;
  5552. getitem 7514,1; //Monster_Ticket
  5553. close;
  5554. }
  5555. else {
  5556. mes "[Ticket Helper]";
  5557. mes "I'm very sorry, but a";
  5558. mes "monster race is underway.";
  5559. mes "Please wait, and then place";
  5560. mes "your wager for the next race.";
  5561. close;
  5562. }
  5563. case 2:
  5564. mes "[Ticket Helper]";
  5565. mes "You have canceled";
  5566. mes "your wager. Okay,";
  5567. mes "I understand. Perhaps";
  5568. mes "you'd feel more comfortable";
  5569. mes "checking the monsters first?";
  5570. close;
  5571. }
  5572. case 3:
  5573. mes "[Ticket Helper]";
  5574. mes "You've chosen";
  5575. mes "^0000FFMonster 3^000000, a darling";
  5576. mes "Savage Bebe monster.";
  5577. mes "Are you sure you want";
  5578. mes "to choose this monster?.";
  5579. next;
  5580. switch(select("Yes:No")) {
  5581. case 1:
  5582. if ($@mon_time_2_2 == 0) {
  5583. mes "[Ticket Helper]";
  5584. mes "You've wagered on";
  5585. mes "^0000FFMonster 5^000000 and ^0000FFMonster 3^000000";
  5586. mes "to win this race. Good luck!";
  5587. mes "I really hope that the odds";
  5588. mes "work out in your favor~";
  5589. emotion e_kis;
  5590. set monster_race_2_1,5;
  5591. set monster_race_2_2,3;
  5592. getitem 7514,1; //Monster_Ticket
  5593. close;
  5594. }
  5595. else {
  5596. mes "[Ticket Helper]";
  5597. mes "I'm very sorry, but a";
  5598. mes "monster race is underway.";
  5599. mes "Please wait, and then place";
  5600. mes "your wager for the next race.";
  5601. close;
  5602. }
  5603. case 2:
  5604. mes "[Ticket Helper]";
  5605. mes "You have canceled";
  5606. mes "your wager. Okay,";
  5607. mes "I understand. Perhaps";
  5608. mes "you'd feel more comfortable";
  5609. mes "checking the monsters first?";
  5610. close;
  5611. }
  5612. case 4:
  5613. mes "[Ticket Helper]";
  5614. mes "You've chosen";
  5615. mes "^0000FFMonster 4^000000, a gentle Baby";
  5616. mes "Desert Wolf monster.";
  5617. mes "Are you sure you want";
  5618. mes "to choose this monster?";
  5619. next;
  5620. switch(select("Yes:No")) {
  5621. case 1:
  5622. if ($@mon_time_2_2 == 0) {
  5623. mes "[Ticket Helper]";
  5624. mes "You've wagered on";
  5625. mes "^0000FFMonster 5^000000 and ^0000FFMonster 4^000000";
  5626. mes "to win this race. Good luck!";
  5627. mes "I really hope that the odds";
  5628. mes "work out in your favor~";
  5629. emotion e_kis;
  5630. set monster_race_2_1,5;
  5631. set monster_race_2_2,4;
  5632. getitem 7514,1; //Monster_Ticket
  5633. close;
  5634. }
  5635. else {
  5636. mes "[Ticket Helper]";
  5637. mes "I'm very sorry, but a";
  5638. mes "monster race is underway.";
  5639. mes "Please wait, and then place";
  5640. mes "your wager for the next race.";
  5641. close;
  5642. }
  5643. case 2:
  5644. mes "[Ticket Helper]";
  5645. mes "You have canceled";
  5646. mes "your wager. Okay,";
  5647. mes "I understand. Perhaps";
  5648. mes "you'd feel more comfortable";
  5649. mes "checking the monsters first?";
  5650. close;
  5651. }
  5652. case 5:
  5653. mes "[Ticket Helper]";
  5654. mes "You've chosen";
  5655. mes "^0000FFMonster 6^000000, a naughty";
  5656. mes "Baphomet Jr. monster.";
  5657. mes "Are you sure you want";
  5658. mes "to choose this monster?";
  5659. next;
  5660. switch(select("Yes:No")) {
  5661. case 1:
  5662. if ($@mon_time_2_2 == 0) {
  5663. mes "[Ticket Helper]";
  5664. mes "You've wagered on";
  5665. mes "^0000FFMonster 5^000000 and ^0000FFMonster 6^000000";
  5666. mes "to win this race. Good luck!";
  5667. mes "I really hope that the odds";
  5668. mes "work out in your favor~";
  5669. emotion e_kis;
  5670. set monster_race_2_1,5;
  5671. set monster_race_2_2,6;
  5672. getitem 7514,1; //Monster_Ticket
  5673. close;
  5674. }
  5675. else {
  5676. mes "[Ticket Helper]";
  5677. mes "I'm very sorry, but a";
  5678. mes "monster race is underway.";
  5679. mes "Please wait, and then place";
  5680. mes "your wager for the next race.";
  5681. close;
  5682. }
  5683. case 2:
  5684. mes "[Ticket Helper]";
  5685. mes "You have canceled";
  5686. mes "your wager. Okay,";
  5687. mes "I understand. Perhaps";
  5688. mes "you'd feel more comfortable";
  5689. mes "checking the monsters first?";
  5690. close;
  5691. }
  5692. }
  5693. case 2:
  5694. mes "[Ticket Helper]";
  5695. mes "You have canceled";
  5696. mes "your wager. Okay,";
  5697. mes "I understand. Perhaps";
  5698. mes "you'd feel more comfortable";
  5699. mes "checking the monsters first?";
  5700. close;
  5701. }
  5702. case 6:
  5703. mes "[Ticket Helper]";
  5704. mes "You've chosen";
  5705. mes "^0000FFMonster 6^000000, a naughty";
  5706. mes "Baphomet Jr. monster.";
  5707. mes "Are you sure you want";
  5708. mes "to choose this monster?";
  5709. next;
  5710. switch(select("Yes:No")) {
  5711. case 1:
  5712. mes "[Ticket Helper]";
  5713. mes "Please choose your";
  5714. mes "second monster";
  5715. next;
  5716. switch(select("Monster 1:Monster 2:Monster 3:Monster 4:Monster 5")) {
  5717. case 1:
  5718. mes "[Ticket Helper]";
  5719. mes "You've chosen";
  5720. mes "^0000FFMonster 1^000000, a friendly";
  5721. mes "Poring type monster.";
  5722. mes "Are you sure you want";
  5723. mes "to choose this monster?";
  5724. next;
  5725. switch(select("Yes:No")) {
  5726. case 1:
  5727. if ($@mon_time_2_2 == 0) {
  5728. mes "[Ticket Helper]";
  5729. mes "You've wagered on";
  5730. mes "^0000FFMonster 6^000000 and ^0000FFMonster 1^000000";
  5731. mes "to win this race. Good luck!";
  5732. mes "I really hope that the odds";
  5733. mes "work out in your favor~";
  5734. emotion e_kis;
  5735. set monster_race_2_1,6;
  5736. set monster_race_2_2,1;
  5737. getitem 7514,1; //Monster_Ticket
  5738. close;
  5739. }
  5740. else {
  5741. mes "[Ticket Helper]";
  5742. mes "I'm very sorry, but a";
  5743. mes "monster race is underway.";
  5744. mes "Please wait, and then place";
  5745. mes "your wager for the next race.";
  5746. close;
  5747. }
  5748. case 2:
  5749. mes "[Ticket Helper]";
  5750. mes "You have canceled";
  5751. mes "your wager. Okay,";
  5752. mes "I understand. Perhaps";
  5753. mes "you'd feel more comfortable";
  5754. mes "checking the monsters first?";
  5755. close;
  5756. }
  5757. case 2:
  5758. mes "[Ticket Helper]";
  5759. mes "You've chosen";
  5760. mes "^0000FFMonster 2^000000, an adorable";
  5761. mes "Lunatic type monster.";
  5762. mes "Are you sure you want";
  5763. mes "to choose this monster?";
  5764. next;
  5765. switch(select("Yes:No")) {
  5766. case 1:
  5767. if ($@mon_time_2_2 == 0) {
  5768. mes "[Ticket Helper]";
  5769. mes "You've wagered on";
  5770. mes "^0000FFMonster 6^000000 and ^0000FFMonster 2^000000";
  5771. mes "to win this race. Good luck!";
  5772. mes "I really hope that the odds";
  5773. mes "work out in your favor~";
  5774. emotion e_kis;
  5775. set monster_race_2_1,6;
  5776. set monster_race_2_2,2;
  5777. getitem 7514,1; //Monster_Ticket
  5778. close;
  5779. }
  5780. else {
  5781. mes "[Ticket Helper]";
  5782. mes "I'm very sorry, but a";
  5783. mes "monster race is underway.";
  5784. mes "Please wait, and then place";
  5785. mes "your wager for the next race.";
  5786. close;
  5787. }
  5788. case 2:
  5789. mes "[Ticket Helper]";
  5790. mes "You have canceled";
  5791. mes "your wager. Okay,";
  5792. mes "I understand. Perhaps";
  5793. mes "you'd feel more comfortable";
  5794. mes "checking the monsters first?";
  5795. close;
  5796. }
  5797. case 3:
  5798. mes "[Ticket Helper]";
  5799. mes "You've chosen";
  5800. mes "^0000FFMonster 3^000000, a darling";
  5801. mes "Savage Bebe monster.";
  5802. mes "Are you sure you want";
  5803. mes "to choose this monster?.";
  5804. next;
  5805. switch(select("Yes:No")) {
  5806. case 1:
  5807. if ($@mon_time_2_2 == 0) {
  5808. mes "[Ticket Helper]";
  5809. mes "You've wagered on";
  5810. mes "^0000FFMonster 6^000000 and ^0000FFMonster 3^000000";
  5811. mes "to win this race. Good luck!";
  5812. mes "I really hope that the odds";
  5813. mes "work out in your favor~";
  5814. emotion e_kis;
  5815. set monster_race_2_1,6;
  5816. set monster_race_2_2,3;
  5817. getitem 7514,1; //Monster_Ticket
  5818. close;
  5819. }
  5820. else {
  5821. mes "[Ticket Helper]";
  5822. mes "I'm very sorry, but a";
  5823. mes "monster race is underway.";
  5824. mes "Please wait, and then place";
  5825. mes "your wager for the next race.";
  5826. close;
  5827. }
  5828. case 2:
  5829. mes "[Ticket Helper]";
  5830. mes "You have canceled";
  5831. mes "your wager. Okay,";
  5832. mes "I understand. Perhaps";
  5833. mes "you'd feel more comfortable";
  5834. mes "checking the monsters first?";
  5835. close;
  5836. }
  5837. case 4:
  5838. mes "[Ticket Helper]";
  5839. mes "You've chosen";
  5840. mes "^0000FFMonster 4^000000, a gentle Baby";
  5841. mes "Desert Wolf monster.";
  5842. mes "Are you sure you want";
  5843. mes "to choose this monster?";
  5844. next;
  5845. switch(select("Yes:No")) {
  5846. case 1:
  5847. if ($@mon_time_2_2 == 0) {
  5848. mes "[Ticket Helper]";
  5849. mes "You've wagered on";
  5850. mes "^0000FFMonster 6^000000 and ^0000FFMonster 4^000000";
  5851. mes "to win this race. Good luck!";
  5852. mes "I really hope that the odds";
  5853. mes "work out in your favor~";
  5854. emotion e_kis;
  5855. set monster_race_2_1,6;
  5856. set monster_race_2_2,4;
  5857. getitem 7514,1; //Monster_Ticket
  5858. close;
  5859. }
  5860. else {
  5861. mes "[Ticket Helper]";
  5862. mes "I'm very sorry, but a";
  5863. mes "monster race is underway.";
  5864. mes "Please wait, and then place";
  5865. mes "your wager for the next race.";
  5866. close;
  5867. }
  5868. case 2:
  5869. mes "[Ticket Helper]";
  5870. mes "You have canceled";
  5871. mes "your wager. Okay,";
  5872. mes "I understand. Perhaps";
  5873. mes "you'd feel more comfortable";
  5874. mes "checking the monsters first?";
  5875. close;
  5876. }
  5877. case 5:
  5878. mes "[Ticket Helper]";
  5879. mes "You've chosen";
  5880. mes "^0000FFMonster 5^000000, a small, yet";
  5881. mes "demonic, Deviruchi.";
  5882. mes "Are you sure you want";
  5883. mes "to choose this monster?";
  5884. next;
  5885. switch(select("Yes:No")) {
  5886. case 1:
  5887. if ($@mon_time_2_2 == 0) {
  5888. mes "[Ticket Helper]";
  5889. mes "You've wagered on";
  5890. mes "^0000FFMonster 6^000000 and ^0000FFMonster 5^000000";
  5891. mes "to win this race. Good luck!";
  5892. mes "I really hope that the odds";
  5893. mes "work out in your favor~";
  5894. emotion e_kis;
  5895. set monster_race_2_1,6;
  5896. set monster_race_2_2,5;
  5897. getitem 7514,1; //Monster_Ticket
  5898. close;
  5899. }
  5900. else {
  5901. mes "[Ticket Helper]";
  5902. mes "I'm very sorry, but a";
  5903. mes "monster race is underway.";
  5904. mes "Please wait, and then place";
  5905. mes "your wager for the next race.";
  5906. close;
  5907. }
  5908. case 2:
  5909. mes "[Ticket Helper]";
  5910. mes "You have canceled";
  5911. mes "your wager. Okay,";
  5912. mes "I understand. Perhaps";
  5913. mes "you'd feel more comfortable";
  5914. mes "checking the monsters first?";
  5915. close;
  5916. }
  5917. }
  5918. case 2:
  5919. mes "[Ticket Helper]";
  5920. mes "You have canceled";
  5921. mes "your wager. Okay,";
  5922. mes "I understand. Perhaps";
  5923. mes "you'd feel more comfortable";
  5924. mes "checking the monsters first?";
  5925. close;
  5926. }
  5927. }
  5928. case 3:
  5929. mes "[Ticket Helper]";
  5930. mes "Monster Races originated from";
  5931. mes "simple children's games in which";
  5932. mes "Cute Pets would race against each other. This grew into an adult";
  5933. mes "pastime that is so popular, we've built a racing arena in Hugel.";
  5934. next;
  5935. mes "[Ticket Helper]";
  5936. mes "Our Monster Race Arena hosts";
  5937. mes "two types of monster races. First, we have the Single Monster Race,";
  5938. mes "in which those that wagered on the 1st place monster are rewarded.";
  5939. next;
  5940. mes "[Ticket Helper]";
  5941. mes "Then, we have the Dual Monster";
  5942. mes "Race in which those that wagered";
  5943. mes "on the 1st and 2nd place monsters";
  5944. mes "are equally rewarded. The house";
  5945. mes "odds and wager rewards are greater in Dual Races than Single Races.";
  5946. next;
  5947. mes "[Ticket Helper]";
  5948. mes "Although a small entrance";
  5949. mes "fee is required, we only use";
  5950. mes "the money to give rewards to";
  5951. mes "participants and maintain this";
  5952. mes "arena. Therefore, we're not";
  5953. mes "profiting from this enterprise.";
  5954. next;
  5955. mes "[Ticket Helper]";
  5956. mes "Also, we prohibit others";
  5957. mes "from making personal bets";
  5958. mes "and wagers, using items and";
  5959. mes "zeny, based on the outcomes";
  5960. mes "of these races. That kind of";
  5961. mes "gambling is illegal here.";
  5962. next;
  5963. mes "[Ticket Helper]";
  5964. mes "Once you enter the Race Arena,";
  5965. mes "you will receive a Racing Ticket.";
  5966. mes "Keep in mind that winning Racing";
  5967. mes "Tickets can only be exchanged for";
  5968. mes "Prize Medals during a 5 minute";
  5969. mes "window after the end of the race.";
  5970. next;
  5971. mes "[Ticket Helper]";
  5972. mes "You're already here";
  5973. mes "inside the Monster Race";
  5974. mes "Arena, so you may as well";
  5975. mes "try placing a wager. It's";
  5976. mes "more fun than you'd think~";
  5977. close;
  5978. case 4:
  5979. mes "[Ticket Helper]";
  5980. mes "You have canceled";
  5981. mes "your wager. Okay,";
  5982. mes "I understand. Perhaps";
  5983. mes "you'd feel more comfortable";
  5984. mes "checking the monsters first?";
  5985. close;
  5986. }
  5987. }
  5988. else {
  5989. if (countitem(7514) > 0) {
  5990. mes "[Ticket Helper]";
  5991. mes "You've wagered on";
  5992. mes "^0000FFMonster " + monster_race_2_1 + "^000000 and ^0000FFMonster " + monster_race_2_2 + "^000000";
  5993. mes "for this Dual Monster Race.";
  5994. next;
  5995. mes "[Ticket Helper]";
  5996. mes "The start of the race will be";
  5997. mes "announced through a broadcast.";
  5998. mes "You can refer to your Mini-Map";
  5999. mes "to track the monsters' race";
  6000. mes "positions. Thank you, and";
  6001. mes "have a good time!";
  6002. viewpoint 1,43,35,0,0xFFFF00;
  6003. close;
  6004. }
  6005. else {
  6006. mes "[Ticket Helper]";
  6007. mes "There will be broadcasting service";
  6008. mes "at the beginning of the competition.";
  6009. mes "If you wish to watch the match,";
  6010. mes "please proceed to the location indicated in the map.";
  6011. mes "Good luck.";
  6012. viewpoint 1,43,35,0,0xFFFF00;
  6013. close;
  6014. }
  6015. }
  6016. OnInit:
  6017. disablenpc "Ticket Helper#2";
  6018. end;
  6019. }
  6020. p_track02,39,49,3 script Game Guide#double 845,{
  6021. mes "[Game Guide]";
  6022. mes "Welcome to the";
  6023. mes "Monster Race Arena.";
  6024. mes "How can I help you?";
  6025. next;
  6026. switch(select("Monster Race Info:Wager Info:Ticket Redemption Info")) {
  6027. case 1:
  6028. mes "[Game Guide]";
  6029. mes "Monster Races originated from";
  6030. mes "simple children's games in which";
  6031. mes "Cute Pets would race against each other. This grew into an adult";
  6032. mes "pastime that is so popular, we've built a racing arena in Hugel.";
  6033. next;
  6034. mes "[Game Guide]";
  6035. mes "Our Monster Race Arena hosts";
  6036. mes "two types of monster races. First, we have the Single Monster Race,";
  6037. mes "in which those that wagered on the 1st place monster are rewarded.";
  6038. next;
  6039. mes "[Game Guide]";
  6040. mes "Then, we have the Dual Monster";
  6041. mes "Race in which the house odds and";
  6042. mes "rewards are greater than in Single";
  6043. mes "Monster Races: you must wager on";
  6044. mes "2 monsters, and they must place in.";
  6045. next;
  6046. mes "[Game Guide]";
  6047. mes "Although a small entrance";
  6048. mes "fee is required, we only use";
  6049. mes "the money to give rewards to";
  6050. mes "participants and maintain this";
  6051. mes "arena. Therefore, we're not";
  6052. mes "profiting from this enterprise.";
  6053. next;
  6054. mes "[Game Guide]";
  6055. mes "Also, we prohibit others";
  6056. mes "from making personal bets";
  6057. mes "and wagers, using items and";
  6058. mes "zeny, based on the outcomes";
  6059. mes "of these races. That kind of";
  6060. mes "gambling is illegal here.";
  6061. next;
  6062. mes "[Game Guide]";
  6063. mes "Once you enter the Race Arena,";
  6064. mes "you will receive a Racing Ticket.";
  6065. mes "Keep in mind that winning Racing";
  6066. mes "Tickets can only be exchanged for";
  6067. mes "Prize Medals during a 5 minute";
  6068. mes "window after the end of the race.";
  6069. next;
  6070. break;
  6071. case 2:
  6072. mes "[Game Guide]";
  6073. mes "Before placing a wager, you";
  6074. mes "must get a free Racing Ticket";
  6075. mes "from the Ticket Helper. There,";
  6076. mes "I've marked the Ticket Helper";
  6077. mes "on your Mini-Map, so you can";
  6078. mes "find him pretty easily.";
  6079. viewpoint 1,73,22,1,0xFFFF33;
  6080. next;
  6081. break;
  6082. case 3:
  6083. mes "[Game Guide]";
  6084. mes "If you wagered on the winner";
  6085. mes "of a Single Monster Race, or";
  6086. mes "on the 1st or 2nd place winners";
  6087. mes "in a Dual Monster Race, then";
  6088. mes "you can exchange your Racing";
  6089. mes "Ticket for Prize Medals.";
  6090. next;
  6091. mes "[Game Guide]";
  6092. mes "However, you must exchange";
  6093. mes "your Racing Ticket with the";
  6094. mes "Medal Distributor within the";
  6095. mes "5 minute window after the end";
  6096. mes "of the race. ^FF0000Your ticket becomes";
  6097. mes "void after these 5 minutes.^000000";
  6098. next;
  6099. mes "[Game Guide]";
  6100. mes "When this 5 minute window";
  6101. mes "elapses, you will be teleported";
  6102. mes "outside, and we will immediately";
  6103. mes "begin preparing for the next race. Make sure that you remember this";
  6104. mes "information when you wager.";
  6105. next;
  6106. mes "[Game Guide]";
  6107. mes "If you haven't received";
  6108. mes "your free Racing Ticket,";
  6109. mes "then please visit the Ticket";
  6110. mes "Helper. There, I've just marked";
  6111. mes "his location on your Mini-Map.";
  6112. viewpoint 1,67,45,2,0xFFCE63;
  6113. next;
  6114. break;
  6115. }
  6116. mes "[Game Guide]";
  6117. mes "Thank you, and";
  6118. mes "I hope you enjoy";
  6119. mes "your time here in the";
  6120. mes "Monster Racing Arena.";
  6121. close;
  6122. }
  6123. p_track02,67,45,5 script Medal Distributor#medal 845,{
  6124. if (checkweight(909,20) == 0) {
  6125. mes "[Medal Distributor]";
  6126. mes "Before exchanging";
  6127. mes "please take off some of the things that you're carrying.";
  6128. close;
  6129. }
  6130. if (countitem(7514) > 0) {
  6131. mes "[Medal Distributor]";
  6132. mes "I am the Redemption Service Staff";
  6133. mes "who will give the winner medals and ticket";
  6134. mes "to the participants who";
  6135. mes "make the correct guess";
  6136. mes "for the Monster Race.";
  6137. next;
  6138. mes "[Medal Distributor]";
  6139. mes "The redemption of the winner ticket of every round";
  6140. mes "can only be made at ^0000FFthe particular round^000000.";
  6141. mes "Please remember that.";
  6142. mes "You can take the medal and";
  6143. mes "find Wayne in Hugel to retrieve your prizes.";
  6144. next;
  6145. mes "[Medal Distributor]";
  6146. mes "Do you want to show me your ticket?";
  6147. next;
  6148. if (($@mon_race_2_1 == 1) && ($@mon_race_2_2 == 2)) || (($@mon_race_2_1 == 2) && ($@mon_race_2_2 == 1)) {
  6149. if ((monster_race_2_1 == 1) && (monster_race_2_2 == 2)) || ((monster_race_2_1 == 2) && (monster_race_2_2 == 1)) {
  6150. mes "[Medal Distributor]";
  6151. mes "Congratulations! You have won!";
  6152. mes "It's really hard to win the Double Monster Race.";
  6153. mes "You're really amazing!";
  6154. mes "Do you wish to redeem your ticket now?";
  6155. next;
  6156. switch(select("Yes:Maybe later")) {
  6157. case 1:
  6158. mes "[Medal Distributor]";
  6159. mes "I will confirm your ticket now.";
  6160. mes "Hmm, the winning monster for this round...";
  6161. mes "Yup! That's right!";
  6162. mes "Congratulations again!";
  6163. next;
  6164. mes "[Medal Distributor]";
  6165. mes "I will give you the medal as";
  6166. mes "the proof of the winner for the Double race.";
  6167. mes "As for the medal, bring it to Hugel ";
  6168. mes "and look for Wayne";
  6169. mes "to change it into prizes.";
  6170. mes "Please use it wisely.";
  6171. delitem 7514,1; //Monster_Ticket
  6172. set monster_race_2_1,7;
  6173. set monster_race_2_2,7;
  6174. getitem 7515,15; //Marvelous_Medal
  6175. close;
  6176. case 2:
  6177. mes "[Medal Distributor]";
  6178. mes "The redemption of the winner ticket of every round";
  6179. mes "can only be made at ^0000FFthe particular round^000000.";
  6180. mes "Please remember that.";
  6181. close;
  6182. }
  6183. }
  6184. else if ((monster_race_2_1 == 0) && (monster_race_2_2 == 0)) {
  6185. mes "[Medal Distributor]";
  6186. mes "Ah, what a pity.";
  6187. mes "I hope that you will win it next time.";
  6188. close;
  6189. }
  6190. else if ((monster_race_2_1 == 7) && (monster_race_2_2 == 7)) {
  6191. mes "[Medal Distributor]";
  6192. mes "Thank you for using";
  6193. mes "Monster Race Arena";
  6194. mes "Good luck for your";
  6195. mes "next race.";
  6196. close;
  6197. }
  6198. else {
  6199. mes "[Medal Distributor]";
  6200. mes "Ah, what a pity.";
  6201. mes "I hope that you will win it next time.";
  6202. close;
  6203. }
  6204. }
  6205. else if (($@mon_race_2_1 == 1) && ($@mon_race_2_2 == 3)) || (($@mon_race_2_1 == 3) && ($@mon_race_2_2 == 1)) {
  6206. if ((monster_race_2_1 == 1) && (monster_race_2_2 == 3)) || ((monster_race_2_1 == 3) && (monster_race_2_2 == 1)) {
  6207. mes "[Medal Distributor]";
  6208. mes "Congratulations! You have won!";
  6209. mes "It's really hard to win the Double Monster Race.";
  6210. mes "You're really amazing!";
  6211. mes "Do you wish to redeem your ticket now?";
  6212. next;
  6213. switch(select("Yes:Maybe later")) {
  6214. case 1:
  6215. mes "[Medal Distributor]";
  6216. mes "I will confirm your ticket now.";
  6217. mes "Hmm, the winning monster for this round...";
  6218. mes "Yup! That's right!";
  6219. mes "Congratulations again!";
  6220. next;
  6221. mes "[Medal Distributor]";
  6222. mes "I will give you the medal as";
  6223. mes "the proof of the winner for the Double race.";
  6224. mes "As for the medal, bring it to Hugel ";
  6225. mes "and look for Wayne";
  6226. mes "to change it into prizes.";
  6227. mes "Please use it wisely.";
  6228. delitem 7514,1; //Monster_Ticket
  6229. set monster_race_2_1,7;
  6230. set monster_race_2_2,7;
  6231. getitem 7515,15; //Marvelous_Medal
  6232. close;
  6233. case 2:
  6234. mes "[Medal Distributor]";
  6235. mes "The redemption of the winner ticket of every round";
  6236. mes "can only be made at ^0000FFthe particular round^000000.";
  6237. mes "Please remember that.";
  6238. close;
  6239. }
  6240. }
  6241. else if ((monster_race_2_1 == 0) && (monster_race_2_2 == 0)) {
  6242. mes "[Medal Distributor]";
  6243. mes "Ah, what a pity.";
  6244. mes "I hope that you will win it next time.";
  6245. close;
  6246. }
  6247. else if ((monster_race_2_1 == 7) && (monster_race_2_2 == 7)) {
  6248. mes "[Medal Distributor]";
  6249. mes "Thank you for using";
  6250. mes "Monster Race Arena";
  6251. mes "Good luck for your";
  6252. mes "next race.";
  6253. close;
  6254. }
  6255. else {
  6256. mes "[Medal Distributor]";
  6257. mes "Ah, what a pity.";
  6258. mes "I hope that you will win it next time.";
  6259. close;
  6260. }
  6261. }
  6262. else if (($@mon_race_2_1 == 1) && ($@mon_race_2_2 == 4)) || (($@mon_race_2_1 == 4) && ($@mon_race_2_2 == 1)) {
  6263. if ((monster_race_2_1 == 1) && (monster_race_2_2 == 4)) || ((monster_race_2_1 == 4) && (monster_race_2_2 == 1)) {
  6264. mes "[Medal Distributor]";
  6265. mes "Congratulations! You have won!";
  6266. mes "It's really hard to win the Double Monster Race.";
  6267. mes "You're really amazing!";
  6268. mes "Do you wish to redeem your ticket now?";
  6269. next;
  6270. switch(select("Yes:Maybe later")) {
  6271. case 1:
  6272. mes "[Medal Distributor]";
  6273. mes "I will confirm your ticket now.";
  6274. mes "Hmm, the winning monster for this round...";
  6275. mes "Yup! That's right!";
  6276. mes "Congratulations again!";
  6277. next;
  6278. mes "[Medal Distributor]";
  6279. mes "I will give you the medal as";
  6280. mes "the proof of the winner for the Double race.";
  6281. mes "As for the medal, bring it to Hugel ";
  6282. mes "and look for Wayne";
  6283. mes "to change it into prizes.";
  6284. mes "Please use it wisely.";
  6285. delitem 7514,1; //Monster_Ticket
  6286. set monster_race_2_1,7;
  6287. set monster_race_2_2,7;
  6288. getitem 7515,15; //Marvelous_Medal
  6289. close;
  6290. case 2:
  6291. mes "[Medal Distributor]";
  6292. mes "The redemption of the winner ticket of every round";
  6293. mes "can only be made at ^0000FFthe particular round^000000.";
  6294. mes "Please remember that.";
  6295. close;
  6296. }
  6297. }
  6298. else if ((monster_race_2_1 == 0) && (monster_race_2_2 == 0)) {
  6299. mes "[Medal Distributor]";
  6300. mes "Ah, what a pity.";
  6301. mes "I hope that you will win it next time.";
  6302. close;
  6303. }
  6304. else if ((monster_race_2_1 == 7) && (monster_race_2_2 == 7)) {
  6305. mes "[Medal Distributor]";
  6306. mes "Thank you for using";
  6307. mes "Monster Race Arena";
  6308. mes "Good luck for your";
  6309. mes "next race.";
  6310. close;
  6311. }
  6312. else {
  6313. mes "[Medal Distributor]";
  6314. mes "Ah, what a pity.";
  6315. mes "I hope that you will win it next time.";
  6316. close;
  6317. }
  6318. }
  6319. else if (($@mon_race_2_1 == 1) && ($@mon_race_2_2 == 5)) || (($@mon_race_2_1 == 5) && ($@mon_race_2_2 == 1)) {
  6320. if ((monster_race_2_1 == 1) && (monster_race_2_2 == 5)) || ((monster_race_2_1 == 5) && (monster_race_2_2 == 1)) {
  6321. mes "[Medal Distributor]";
  6322. mes "Congratulations! You have won!";
  6323. mes "It's really hard to win the Double Monster Race.";
  6324. mes "You're really amazing!";
  6325. mes "Do you wish to redeem your ticket now?";
  6326. next;
  6327. switch(select("Yes:Maybe later")) {
  6328. case 1:
  6329. mes "[Medal Distributor]";
  6330. mes "I will confirm your ticket now.";
  6331. mes "Hmm, the winning monster for this round...";
  6332. mes "Yup! That's right!";
  6333. mes "Congratulations again!";
  6334. next;
  6335. mes "[Medal Distributor]";
  6336. mes "I will give you the medal as";
  6337. mes "the proof of the winner for the Double race.";
  6338. mes "As for the medal, bring it to Hugel ";
  6339. mes "and look for Wayne";
  6340. mes "to change it into prizes.";
  6341. mes "Please use it wisely.";
  6342. delitem 7514,1; //Monster_Ticket
  6343. set monster_race_2_1,7;
  6344. set monster_race_2_2,7;
  6345. getitem 7515,15; //Marvelous_Medal
  6346. close;
  6347. case 2:
  6348. mes "[Medal Distributor]";
  6349. mes "The redemption of the winner ticket of every round";
  6350. mes "can only be made at ^0000FFthe particular round^000000.";
  6351. mes "Please remember that.";
  6352. close;
  6353. }
  6354. }
  6355. else if ((monster_race_2_1 == 0) && (monster_race_2_2 == 0)) {
  6356. mes "[Medal Distributor]";
  6357. mes "Ah, what a pity.";
  6358. mes "I hope that you will win it next time.";
  6359. close;
  6360. }
  6361. else if ((monster_race_2_1 == 7) && (monster_race_2_2 == 7)) {
  6362. mes "[Medal Distributor]";
  6363. mes "Thank you for using";
  6364. mes "Monster Race Arena";
  6365. mes "Good luck for your";
  6366. mes "next race.";
  6367. close;
  6368. }
  6369. else {
  6370. mes "[Medal Distributor]";
  6371. mes "Ah, what a pity.";
  6372. mes "I hope that you will win it next time.";
  6373. close;
  6374. }
  6375. }
  6376. else if (($@mon_race_2_1 == 1) && ($@mon_race_2_2 == 6)) || (($@mon_race_2_1 == 6) && ($@mon_race_2_2 == 1)) {
  6377. if ((monster_race_2_1 == 1) && (monster_race_2_2 == 6)) || ((monster_race_2_1 == 6) && (monster_race_2_2 == 1)) {
  6378. mes "[Medal Distributor]";
  6379. mes "Congratulations! You have won!";
  6380. mes "It's really hard to win the Double Monster Race.";
  6381. mes "You're really amazing!";
  6382. mes "Do you wish to redeem your ticket now?";
  6383. next;
  6384. switch(select("Yes:Maybe later")) {
  6385. case 1:
  6386. mes "[Medal Distributor]";
  6387. mes "I will confirm your ticket now.";
  6388. mes "Hmm, the winning monster for this round...";
  6389. mes "Yup! That's right!";
  6390. mes "Congratulations again!";
  6391. next;
  6392. mes "[Medal Distributor]";
  6393. mes "I will give you the medal as";
  6394. mes "the proof of the winner for the Double race.";
  6395. mes "As for the medal, bring it to Hugel ";
  6396. mes "and look for Wayne";
  6397. mes "to change it into prizes.";
  6398. mes "Please use it wisely.";
  6399. delitem 7514,1; //Monster_Ticket
  6400. set monster_race_2_1,7;
  6401. set monster_race_2_2,7;
  6402. getitem 7515,15; //Marvelous_Medal
  6403. close;
  6404. case 2:
  6405. mes "[Medal Distributor]";
  6406. mes "The redemption of the winner ticket of every round";
  6407. mes "can only be made at ^0000FFthe particular round^000000.";
  6408. mes "Please remember that.";
  6409. close;
  6410. }
  6411. }
  6412. else if ((monster_race_2_1 == 0) && (monster_race_2_2 == 0)) {
  6413. mes "[Medal Distributor]";
  6414. mes "Ah, what a pity.";
  6415. mes "I hope that you will win it next time.";
  6416. close;
  6417. }
  6418. else if ((monster_race_2_1 == 7) && (monster_race_2_2 == 7)) {
  6419. mes "[Medal Distributor]";
  6420. mes "Thank you for using";
  6421. mes "Monster Race Arena";
  6422. mes "Good luck for your";
  6423. mes "next race.";
  6424. close;
  6425. }
  6426. else {
  6427. mes "[Medal Distributor]";
  6428. mes "Ah, what a pity.";
  6429. mes "I hope that you will win it next time.";
  6430. close;
  6431. }
  6432. }
  6433. else if (($@mon_race_2_1 == 2) && ($@mon_race_2_2 == 3)) || (($@mon_race_2_1 == 3) && ($@mon_race_2_2 == 2)) {
  6434. if ((monster_race_2_1 == 2) && (monster_race_2_2 == 3)) || ((monster_race_2_1 == 3) && (monster_race_2_2 == 2)) {
  6435. mes "[Medal Distributor]";
  6436. mes "Congratulations! You have won!";
  6437. mes "It's really hard to win the Double Monster Race.";
  6438. mes "You're really amazing!";
  6439. mes "Do you wish to redeem your ticket now?";
  6440. next;
  6441. switch(select("Yes:Maybe later")) {
  6442. case 1:
  6443. mes "[Medal Distributor]";
  6444. mes "I will confirm your ticket now.";
  6445. mes "Hmm, the winning monster for this round...";
  6446. mes "Yup! That's right!";
  6447. mes "Congratulations again!";
  6448. next;
  6449. mes "[Medal Distributor]";
  6450. mes "I will give you the medal as";
  6451. mes "the proof of the winner for the Double race.";
  6452. mes "As for the medal, bring it to Hugel ";
  6453. mes "and look for Wayne";
  6454. mes "to change it into prizes.";
  6455. mes "Please use it wisely.";
  6456. delitem 7514,1; //Monster_Ticket
  6457. set monster_race_2_1,7;
  6458. set monster_race_2_2,7;
  6459. getitem 7515,15; //Marvelous_Medal
  6460. close;
  6461. case 2:
  6462. mes "[Medal Distributor]";
  6463. mes "The redemption of the winner ticket of every round";
  6464. mes "can only be made at ^0000FFthe particular round^000000.";
  6465. mes "Please remember that.";
  6466. close;
  6467. }
  6468. }
  6469. else if ((monster_race_2_1 == 0) && (monster_race_2_2 == 0)) {
  6470. mes "[Medal Distributor]";
  6471. mes "Ah, what a pity.";
  6472. mes "I hope that you will win it next time.";
  6473. close;
  6474. }
  6475. else if ((monster_race_2_1 == 7) && (monster_race_2_2 == 7)) {
  6476. mes "[Medal Distributor]";
  6477. mes "Thank you for using";
  6478. mes "Monster Race Arena";
  6479. mes "Good luck for your";
  6480. mes "next race.";
  6481. close;
  6482. }
  6483. else {
  6484. mes "[Medal Distributor]";
  6485. mes "Ah, what a pity.";
  6486. mes "I hope that you will win it next time.";
  6487. close;
  6488. }
  6489. }
  6490. else if (($@mon_race_2_1 == 2) && ($@mon_race_2_2 == 4)) || (($@mon_race_2_1 == 4) && ($@mon_race_2_2 == 2)) {
  6491. if ((monster_race_2_1 == 2) && (monster_race_2_2 == 4)) || ((monster_race_2_1 == 4) && (monster_race_2_2 == 2)) {
  6492. mes "[Medal Distributor]";
  6493. mes "Congratulations! You have won!";
  6494. mes "It's really hard to win the Double Monster Race.";
  6495. mes "You're really amazing!";
  6496. mes "Do you wish to redeem your ticket now?";
  6497. next;
  6498. switch(select("Yes:Maybe later")) {
  6499. case 1:
  6500. mes "[Medal Distributor]";
  6501. mes "I will confirm your ticket now.";
  6502. mes "Hmm, the winning monster for this round...";
  6503. mes "Yup! That's right!";
  6504. mes "Congratulations again!";
  6505. next;
  6506. mes "[Medal Distributor]";
  6507. mes "I will give you the medal as";
  6508. mes "the proof of the winner for the Double race.";
  6509. mes "As for the medal, bring it to Hugel ";
  6510. mes "and look for Wayne";
  6511. mes "to change it into prizes.";
  6512. mes "Please use it wisely.";
  6513. delitem 7514,1; //Monster_Ticket
  6514. set monster_race_2_1,7;
  6515. set monster_race_2_2,7;
  6516. getitem 7515,15; //Marvelous_Medal
  6517. close;
  6518. case 2:
  6519. mes "[Medal Distributor]";
  6520. mes "The redemption of the winner ticket of every round";
  6521. mes "can only be made at ^0000FFthe particular round^000000.";
  6522. mes "Please remember that.";
  6523. close;
  6524. }
  6525. }
  6526. else if ((monster_race_2_1 == 0) && (monster_race_2_2 == 0)) {
  6527. mes "[Medal Distributor]";
  6528. mes "Ah, what a pity.";
  6529. mes "I hope that you will win it next time.";
  6530. close;
  6531. }
  6532. else if ((monster_race_2_1 == 7) && (monster_race_2_2 == 7)) {
  6533. mes "[Medal Distributor]";
  6534. mes "Thank you for using";
  6535. mes "Monster Race Arena";
  6536. mes "Good luck for your";
  6537. mes "next race.";
  6538. close;
  6539. }
  6540. else {
  6541. mes "[Medal Distributor]";
  6542. mes "Ah, what a pity.";
  6543. mes "I hope that you will win it next time.";
  6544. close;
  6545. }
  6546. }
  6547. else if (($@mon_race_2_1 == 2) && ($@mon_race_2_2 == 5)) || (($@mon_race_2_1 == 5) && ($@mon_race_2_2 == 2)) {
  6548. if ((monster_race_2_1 == 2) && (monster_race_2_2 == 5)) || ((monster_race_2_1 == 5) && (monster_race_2_2 == 2)) {
  6549. mes "[Medal Distributor]";
  6550. mes "Congratulations! You have won!";
  6551. mes "It's really hard to win the Double Monster Race.";
  6552. mes "You're really amazing!";
  6553. mes "Do you wish to redeem your ticket now?";
  6554. next;
  6555. switch(select("Yes:Maybe later")) {
  6556. case 1:
  6557. mes "[Medal Distributor]";
  6558. mes "I will confirm your ticket now.";
  6559. mes "Hmm, the winning monster for this round...";
  6560. mes "Yup! That's right!";
  6561. mes "Congratulations again!";
  6562. next;
  6563. mes "[Medal Distributor]";
  6564. mes "I will give you the medal as";
  6565. mes "the proof of the winner for the Double race.";
  6566. mes "As for the medal, bring it to Hugel ";
  6567. mes "and look for Wayne";
  6568. mes "to change it into prizes.";
  6569. mes "Please use it wisely.";
  6570. delitem 7514,1; //Monster_Ticket
  6571. set monster_race_2_1,7;
  6572. set monster_race_2_2,7;
  6573. getitem 7515,15; //Marvelous_Medal
  6574. close;
  6575. case 2:
  6576. mes "[Medal Distributor]";
  6577. mes "The redemption of the winner ticket of every round";
  6578. mes "can only be made at ^0000FFthe particular round^000000.";
  6579. mes "Please remember that.";
  6580. close;
  6581. }
  6582. }
  6583. else if ((monster_race_2_1 == 0) && (monster_race_2_2 == 0)) {
  6584. mes "[Medal Distributor]";
  6585. mes "Ah, what a pity.";
  6586. mes "I hope that you will win it next time.";
  6587. close;
  6588. }
  6589. else if ((monster_race_2_1 == 7) && (monster_race_2_2 == 7)) {
  6590. mes "[Medal Distributor]";
  6591. mes "Thank you for using";
  6592. mes "Monster Race Arena";
  6593. mes "Good luck for your";
  6594. mes "next race.";
  6595. close;
  6596. }
  6597. else {
  6598. mes "[Medal Distributor]";
  6599. mes "Ah, what a pity.";
  6600. mes "I hope that you will win it next time.";
  6601. close;
  6602. }
  6603. }
  6604. else if (($@mon_race_2_1 == 2) && ($@mon_race_2_2 == 6)) || (($@mon_race_2_1 == 6) && ($@mon_race_2_2 == 2)) {
  6605. if ((monster_race_2_1 == 2) && (monster_race_2_2 == 6)) || ((monster_race_2_1 == 6) && (monster_race_2_2 == 2)) {
  6606. mes "[Medal Distributor]";
  6607. mes "Congratulations! You have won!";
  6608. mes "It's really hard to win the Double Monster Race.";
  6609. mes "You're really amazing!";
  6610. mes "Do you wish to redeem your ticket now?";
  6611. next;
  6612. switch(select("Yes:Maybe later")) {
  6613. case 1:
  6614. mes "[Medal Distributor]";
  6615. mes "I will confirm your ticket now.";
  6616. mes "Hmm, the winning monster for this round...";
  6617. mes "Yup! That's right!";
  6618. mes "Congratulations again!";
  6619. next;
  6620. mes "[Medal Distributor]";
  6621. mes "I will give you the medal as";
  6622. mes "the proof of the winner for the Double race.";
  6623. mes "As for the medal, bring it to Hugel ";
  6624. mes "and look for Wayne";
  6625. mes "to change it into prizes.";
  6626. mes "Please use it wisely.";
  6627. delitem 7514,1; //Monster_Ticket
  6628. set monster_race_2_1,7;
  6629. set monster_race_2_2,7;
  6630. getitem 7515,15; //Marvelous_Medal
  6631. close;
  6632. case 2:
  6633. mes "[Medal Distributor]";
  6634. mes "The redemption of the winner ticket of every round";
  6635. mes "can only be made at ^0000FFthe particular round^000000.";
  6636. mes "Please remember that.";
  6637. close;
  6638. }
  6639. }
  6640. else if ((monster_race_2_1 == 0) && (monster_race_2_2 == 0)) {
  6641. mes "[Medal Distributor]";
  6642. mes "Ah, what a pity.";
  6643. mes "I hope that you will win it next time.";
  6644. close;
  6645. }
  6646. else if ((monster_race_2_1 == 7) && (monster_race_2_2 == 7)) {
  6647. mes "[Medal Distributor]";
  6648. mes "Thank you for using";
  6649. mes "Monster Race Arena";
  6650. mes "Good luck for your";
  6651. mes "next race.";
  6652. close;
  6653. }
  6654. else {
  6655. mes "[Medal Distributor]";
  6656. mes "Ah, what a pity.";
  6657. mes "I hope that you will win it next time.";
  6658. close;
  6659. }
  6660. }
  6661. else if (($@mon_race_2_1 == 3) && ($@mon_race_2_2 == 4)) || (($@mon_race_2_1 == 4) && ($@mon_race_2_2 == 3)) {
  6662. if ((monster_race_2_1 == 3) && (monster_race_2_2 == 4)) || ((monster_race_2_1 == 4) && (monster_race_2_2 == 3)) {
  6663. mes "[Medal Distributor]";
  6664. mes "Congratulations! You have won!";
  6665. mes "It's really hard to win the Double Monster Race.";
  6666. mes "You're really amazing!";
  6667. mes "Do you wish to redeem your ticket now?";
  6668. next;
  6669. switch(select("Yes:Maybe later")) {
  6670. case 1:
  6671. mes "[Medal Distributor]";
  6672. mes "I will confirm your ticket now.";
  6673. mes "Hmm, the winning monster for this round...";
  6674. mes "Yup! That's right!";
  6675. mes "Congratulations again!";
  6676. next;
  6677. mes "[Medal Distributor]";
  6678. mes "I will give you the medal as";
  6679. mes "the proof of the winner for the Double race.";
  6680. mes "As for the medal, bring it to Hugel ";
  6681. mes "and look for Wayne";
  6682. mes "to change it into prizes.";
  6683. mes "Please use it wisely.";
  6684. delitem 7514,1; //Monster_Ticket
  6685. set monster_race_2_1,7;
  6686. set monster_race_2_2,7;
  6687. getitem 7515,15; //Marvelous_Medal
  6688. close;
  6689. case 2:
  6690. mes "[Medal Distributor]";
  6691. mes "The redemption of the winner ticket of every round";
  6692. mes "can only be made at ^0000FFthe particular round^000000.";
  6693. mes "Please remember that.";
  6694. close;
  6695. }
  6696. }
  6697. else if ((monster_race_2_1 == 0) && (monster_race_2_2 == 0)) {
  6698. mes "[Medal Distributor]";
  6699. mes "Ah, what a pity.";
  6700. mes "I hope that you will win it next time.";
  6701. close;
  6702. }
  6703. else if ((monster_race_2_1 == 7) && (monster_race_2_2 == 7)) {
  6704. mes "[Medal Distributor]";
  6705. mes "Thank you for using";
  6706. mes "Monster Race Arena";
  6707. mes "Good luck for your";
  6708. mes "next race.";
  6709. close;
  6710. }
  6711. else {
  6712. mes "[Medal Distributor]";
  6713. mes "Ah, what a pity.";
  6714. mes "I hope that you will win it next time.";
  6715. close;
  6716. }
  6717. }
  6718. else if (($@mon_race_2_1 == 3) && ($@mon_race_2_2 == 5)) || (($@mon_race_2_1 == 5) && ($@mon_race_2_2 == 3)) {
  6719. if ((monster_race_2_1 == 3) && (monster_race_2_2 == 5)) || ((monster_race_2_1 == 5) && (monster_race_2_2 == 3)) {
  6720. mes "[Medal Distributor]";
  6721. mes "Congratulations! You have won!";
  6722. mes "It's really hard to win the Double Monster Race.";
  6723. mes "You're really amazing!";
  6724. mes "Do you wish to redeem your ticket now?";
  6725. next;
  6726. switch(select("Yes:Maybe later")) {
  6727. case 1:
  6728. mes "[Medal Distributor]";
  6729. mes "I will confirm your ticket now.";
  6730. mes "Hmm, the winning monster for this round...";
  6731. mes "Yup! That's right!";
  6732. mes "Congratulations again!";
  6733. next;
  6734. mes "[Medal Distributor]";
  6735. mes "I will give you the medal as";
  6736. mes "the proof of the winner for the Double race.";
  6737. mes "As for the medal, bring it to Hugel ";
  6738. mes "and look for Wayne";
  6739. mes "to change it into prizes.";
  6740. mes "Please use it wisely.";
  6741. delitem 7514,1; //Monster_Ticket
  6742. set monster_race_2_1,7;
  6743. set monster_race_2_2,7;
  6744. getitem 7515,15; //Marvelous_Medal
  6745. close;
  6746. case 2:
  6747. mes "[Medal Distributor]";
  6748. mes "The redemption of the winner ticket of every round";
  6749. mes "can only be made at ^0000FFthe particular round^000000.";
  6750. mes "Please remember that.";
  6751. close;
  6752. }
  6753. }
  6754. else if ((monster_race_2_1 == 0) && (monster_race_2_2 == 0)) {
  6755. mes "[Medal Distributor]";
  6756. mes "Ah, what a pity.";
  6757. mes "I hope that you will win it next time.";
  6758. close;
  6759. }
  6760. else if ((monster_race_2_1 == 7) && (monster_race_2_2 == 7)) {
  6761. mes "[Medal Distributor]";
  6762. mes "Thank you for using";
  6763. mes "Monster Race Arena";
  6764. mes "Good luck for your";
  6765. mes "next race.";
  6766. close;
  6767. }
  6768. else {
  6769. mes "[Medal Distributor]";
  6770. mes "Ah, what a pity.";
  6771. mes "I hope that you will win it next time.";
  6772. close;
  6773. }
  6774. }
  6775. else if (($@mon_race_2_1 == 3) && ($@mon_race_2_2 == 6)) || (($@mon_race_2_1 == 6) && ($@mon_race_2_2 == 3)) {
  6776. if ((monster_race_2_1 == 3) && (monster_race_2_2 == 6)) || ((monster_race_2_1 == 6) && (monster_race_2_2 == 3)) {
  6777. mes "[Medal Distributor]";
  6778. mes "Congratulations! You have won!";
  6779. mes "It's really hard to win the Double Monster Race.";
  6780. mes "You're really amazing!";
  6781. mes "Do you wish to redeem your ticket now?";
  6782. next;
  6783. switch(select("Yes:Maybe later")) {
  6784. case 1:
  6785. mes "[Medal Distributor]";
  6786. mes "I will confirm your ticket now.";
  6787. mes "Hmm, the winning monster for this round...";
  6788. mes "Yup! That's right!";
  6789. mes "Congratulations again!";
  6790. next;
  6791. mes "[Medal Distributor]";
  6792. mes "I will give you the medal as";
  6793. mes "the proof of the winner for the Double race.";
  6794. mes "As for the medal, bring it to Hugel ";
  6795. mes "and look for Wayne";
  6796. mes "to change it into prizes.";
  6797. mes "Please use it wisely.";
  6798. delitem 7514,1; //Monster_Ticket
  6799. set monster_race_2_1,7;
  6800. set monster_race_2_2,7;
  6801. getitem 7515,15; //Marvelous_Medal
  6802. close;
  6803. case 2:
  6804. mes "[Medal Distributor]";
  6805. mes "The redemption of the winner ticket of every round";
  6806. mes "can only be made at ^0000FFthe particular round^000000.";
  6807. mes "Please remember that.";
  6808. close;
  6809. }
  6810. }
  6811. else if ((monster_race_2_1 == 0) && (monster_race_2_2 == 0)) {
  6812. mes "[Medal Distributor]";
  6813. mes "Ah, what a pity.";
  6814. mes "I hope that you will win it next time.";
  6815. close;
  6816. }
  6817. else if ((monster_race_2_1 == 7) && (monster_race_2_2 == 7)) {
  6818. mes "[Medal Distributor]";
  6819. mes "Thank you for using";
  6820. mes "Monster Race Arena";
  6821. mes "Good luck for your";
  6822. mes "next race.";
  6823. close;
  6824. }
  6825. else {
  6826. mes "[Medal Distributor]";
  6827. mes "Ah, what a pity.";
  6828. mes "I hope that you will win it next time.";
  6829. close;
  6830. }
  6831. }
  6832. else if (($@mon_race_2_1 == 4) && ($@mon_race_2_2 == 5)) || (($@mon_race_2_1 == 5) && ($@mon_race_2_2 == 4)) {
  6833. if ((monster_race_2_1 == 4) && (monster_race_2_2 == 5)) || ((monster_race_2_1 == 5) && (monster_race_2_2 == 4)) {
  6834. mes "[Medal Distributor]";
  6835. mes "Congratulations! You have won!";
  6836. mes "It's really hard to win the Double Monster Race.";
  6837. mes "You're really amazing!";
  6838. mes "Do you wish to redeem your ticket now?";
  6839. next;
  6840. switch(select("Yes:Maybe later")) {
  6841. case 1:
  6842. mes "[Medal Distributor]";
  6843. mes "I will confirm your ticket now.";
  6844. mes "Hmm, the winning monster for this round...";
  6845. mes "Yup! That's right!";
  6846. mes "Congratulations again!";
  6847. next;
  6848. mes "[Medal Distributor]";
  6849. mes "I will give you the medal as";
  6850. mes "the proof of the winner for the Double race.";
  6851. mes "As for the medal, bring it to Hugel ";
  6852. mes "and look for Wayne";
  6853. mes "to change it into prizes.";
  6854. mes "Please use it wisely.";
  6855. delitem 7514,1; //Monster_Ticket
  6856. set monster_race_2_1,7;
  6857. set monster_race_2_2,7;
  6858. getitem 7515,15; //Marvelous_Medal
  6859. close;
  6860. case 2:
  6861. mes "[Medal Distributor]";
  6862. mes "The redemption of the winner ticket of every round";
  6863. mes "can only be made at ^0000FFthe particular round^000000.";
  6864. mes "Please remember that.";
  6865. close;
  6866. }
  6867. }
  6868. else if ((monster_race_2_1 == 0) && (monster_race_2_2 == 0)) {
  6869. mes "[Medal Distributor]";
  6870. mes "Ah, what a pity.";
  6871. mes "I hope that you will win it next time.";
  6872. close;
  6873. }
  6874. else if ((monster_race_2_1 == 7) && (monster_race_2_2 == 7)) {
  6875. mes "[Medal Distributor]";
  6876. mes "Thank you for using";
  6877. mes "Monster Race Arena";
  6878. mes "Good luck for your";
  6879. mes "next race.";
  6880. close;
  6881. }
  6882. else {
  6883. mes "[Medal Distributor]";
  6884. mes "Ah, what a pity.";
  6885. mes "I hope that you will win it next time.";
  6886. close;
  6887. }
  6888. }
  6889. else if (($@mon_race_2_1 == 4) && ($@mon_race_2_2 == 6)) || (($@mon_race_2_1 == 6) && ($@mon_race_2_2 == 4)) {
  6890. if ((monster_race_2_1 == 4) && (monster_race_2_2 == 6)) || ((monster_race_2_1 == 6) && (monster_race_2_2 == 4)) {
  6891. mes "[Medal Distributor]";
  6892. mes "Congratulations! You have won!";
  6893. mes "It's really hard to win the Double Monster Race.";
  6894. mes "You're really amazing!";
  6895. mes "Do you wish to redeem your ticket now?";
  6896. next;
  6897. switch(select("Yes:Maybe later")) {
  6898. case 1:
  6899. mes "[Medal Distributor]";
  6900. mes "I will confirm your ticket now.";
  6901. mes "Hmm, the winning monster for this round...";
  6902. mes "Yup! That's right!";
  6903. mes "Congratulations again!";
  6904. next;
  6905. mes "[Medal Distributor]";
  6906. mes "I will give you the medal as";
  6907. mes "the proof of the winner for the Double race.";
  6908. mes "As for the medal, bring it to Hugel ";
  6909. mes "and look for Wayne";
  6910. mes "to change it into prizes.";
  6911. mes "Please use it wisely.";
  6912. delitem 7514,1; //Monster_Ticket
  6913. set monster_race_2_1,7;
  6914. set monster_race_2_2,7;
  6915. getitem 7515,15; //Marvelous_Medal
  6916. close;
  6917. case 2:
  6918. mes "[Medal Distributor]";
  6919. mes "The redemption of the winner ticket of every round";
  6920. mes "can only be made at ^0000FFthe particular round^000000.";
  6921. mes "Please remember that.";
  6922. close;
  6923. }
  6924. }
  6925. else if ((monster_race_2_1 == 0) && (monster_race_2_2 == 0)) {
  6926. mes "[Medal Distributor]";
  6927. mes "Ah, what a pity.";
  6928. mes "I hope that you will win it next time.";
  6929. close;
  6930. }
  6931. else if ((monster_race_2_1 == 7) && (monster_race_2_2 == 7)) {
  6932. mes "[Medal Distributor]";
  6933. mes "Thank you for using";
  6934. mes "Monster Race Arena";
  6935. mes "Good luck for your";
  6936. mes "next race.";
  6937. close;
  6938. }
  6939. else {
  6940. mes "[Medal Distributor]";
  6941. mes "Ah, what a pity.";
  6942. mes "I hope that you will win it next time.";
  6943. close;
  6944. }
  6945. }
  6946. else if (($@mon_race_2_1 == 5) && ($@mon_race_2_2 == 6)) || (($@mon_race_2_1 == 6) && ($@mon_race_2_2 == 5)) {
  6947. if ((monster_race_2_1 == 5) && (monster_race_2_2 == 6)) || ((monster_race_2_1 == 6) && (monster_race_2_2 == 5)) {
  6948. mes "[Medal Distributor]";
  6949. mes "Congratulations! You have won!";
  6950. mes "It's really hard to win the Double Monster Race.";
  6951. mes "You're really amazing!";
  6952. mes "Do you wish to redeem your ticket now?";
  6953. next;
  6954. switch(select("Yes:Maybe later")) {
  6955. case 1:
  6956. mes "[Medal Distributor]";
  6957. mes "I will confirm your ticket now.";
  6958. mes "Hmm, the winning monster for this round...";
  6959. mes "Yup! That's right!";
  6960. mes "Congratulations again!";
  6961. next;
  6962. mes "[Medal Distributor]";
  6963. mes "I will give you the medal as";
  6964. mes "the proof of the winner for the Double race.";
  6965. mes "As for the medal, bring it to Hugel ";
  6966. mes "and look for Wayne";
  6967. mes "to change it into prizes.";
  6968. mes "Please use it wisely.";
  6969. delitem 7514,1; //Monster_Ticket
  6970. set monster_race_2_1,7;
  6971. set monster_race_2_2,7;
  6972. getitem 7515,15; //Marvelous_Medal
  6973. close;
  6974. case 2:
  6975. mes "[Medal Distributor]";
  6976. mes "The redemption of the winner ticket of every round";
  6977. mes "can only be made at ^0000FFthe particular round^000000.";
  6978. mes "Please remember that.";
  6979. close;
  6980. }
  6981. }
  6982. else if ((monster_race_2_1 == 0) && (monster_race_2_2 == 0)) {
  6983. mes "[Medal Distributor]";
  6984. mes "Ah, what a pity.";
  6985. mes "I hope that you will win it next time.";
  6986. close;
  6987. }
  6988. else if ((monster_race_2_1 == 7) && (monster_race_2_2 == 7)) {
  6989. mes "[Medal Distributor]";
  6990. mes "Thank you for using";
  6991. mes "Monster Race Arena";
  6992. mes "Good luck for your";
  6993. mes "next race.";
  6994. close;
  6995. }
  6996. else {
  6997. mes "[Medal Distributor]";
  6998. mes "Ah, what a pity.";
  6999. mes "I hope that you will win it next time.";
  7000. close;
  7001. }
  7002. }
  7003. else {
  7004. mes "[Medal Distributor]";
  7005. mes "I am the Redemption Service Staff";
  7006. mes "who will give the winner medals and ticket";
  7007. mes "to the participants who";
  7008. mes "make the correct guess";
  7009. mes "for the Monster Race.";
  7010. next;
  7011. mes "[Medal Distributor]";
  7012. mes "The redemption of the winner ticket of every round";
  7013. mes "can only be made at ^0000FFthe particular round^000000.";
  7014. mes "Please remember that.";
  7015. mes "You can take the medal and";
  7016. mes "find Wayne in Hugel to retrieve your prizes.";
  7017. close;
  7018. }
  7019. }
  7020. else {
  7021. mes "[Medal Distributor]";
  7022. mes "I am the Redemption Service Staff";
  7023. mes "who will give the winner medals and ticket";
  7024. mes "to the participants who";
  7025. mes "make the correct guess";
  7026. mes "for the Monster Race.";
  7027. next;
  7028. mes "[Medal Distributor]";
  7029. mes "The redemption of the winner ticket of every round";
  7030. mes "can only be made at ^0000FFthe particular round^000000.";
  7031. mes "Please remember that.";
  7032. mes "You can take the medal and";
  7033. mes "find Wayne in Hugel to retrieve your prizes.";
  7034. close;
  7035. }
  7036. OnInit:
  7037. disablenpc "Medal Distributor#medal";
  7038. end;
  7039. }
  7040. p_track02,76,38,1 script Exit Guide#double 798,{
  7041. mes "[Exit Guide]";
  7042. mes "If you have a winning Racing";
  7043. mes "Ticket, please make sure that.";
  7044. mes "you redeem it for Prize Medals";
  7045. mes "now. All Racing Rickets become";
  7046. mes "void once the next race begins.";
  7047. next;
  7048. mes "[Exit Guide]";
  7049. mes "If you wish to leave";
  7050. mes "the arena, then I can guide";
  7051. mes "you outside. Would you like";
  7052. mes "to leave the arena right now?";
  7053. next;
  7054. switch(select("Yes:No")) {
  7055. case 1:
  7056. if (countitem(7514) == 0) {
  7057. mes "[Exit Guide]";
  7058. mes "Thank you for";
  7059. mes "your patronage, and";
  7060. mes "I hope that you come";
  7061. mes "visit us again soon~";
  7062. }
  7063. else {
  7064. mes "[Exit Guide]";
  7065. mes "In accordance with our";
  7066. mes "policies, I must take your";
  7067. mes "Racing Ticket before you leave.";
  7068. mes "Thank you for your patronage";
  7069. mes "and I hope you enjoy your time";
  7070. mes "here in the Monster Race Arena.";
  7071. delitem 7514,1; //Monster_Ticket
  7072. }
  7073. set monster_race_2_1,0;
  7074. set monster_race_2_2,0;
  7075. close2;
  7076. warp "hugel",63,73;
  7077. end;
  7078. case 2:
  7079. mes "[Exit Guide]";
  7080. mes "Alright, then";
  7081. mes "Kist let me know";
  7082. mes "whenever you're";
  7083. mes "ready to leave.";
  7084. close;
  7085. }
  7086. }
  7087. p_track02,30,38,0 script #poring1 139,0,0,{
  7088. OnInit:
  7089. disablenpc "#poring1";
  7090. end;
  7091. OnEnable:
  7092. enablenpc "#poring1";
  7093. monster "p_track02",58,38,"Monster 1",1725,1,"#poring1::OnMyMobDead";
  7094. end;
  7095. OnDisable:
  7096. killmonster "p_track02","#poring1::OnMyMobDead";
  7097. disablenpc "#poring1";
  7098. end;
  7099. OnTouchNPC:
  7100. if ($@mon_race_2_1 == 0) {
  7101. emotion e_lv;
  7102. specialeffect EF_MVP;
  7103. mapannounce "p_track02","Monster 1 has reached the Finish Line!",bc_map,"0x66FFCC";
  7104. set $@mon_race_2_1,1;
  7105. donpcevent "#poring1::OnDisable";
  7106. }
  7107. else {
  7108. emotion e_lv;
  7109. specialeffect EF_MVP;
  7110. mapannounce "p_track02","The race is over! Monster 1 has reached the Finish Line!",bc_map,"0x66FFCC";
  7111. set $@mon_race_2_2,1;
  7112. donpcevent "#poring1::OnDisable";
  7113. donpcevent "#lunatic1::OnDisable";
  7114. donpcevent "#savagebebe1::OnDisable";
  7115. donpcevent "#desertwolf1::OnDisable";
  7116. donpcevent "#deviruchi1::OnDisable";
  7117. donpcevent "#baphomet1::OnDisable";
  7118. donpcevent "TrapGlobal#race02::OnDisable";
  7119. enablenpc "Medal Distributor#medal";
  7120. donpcevent "#race_timer2-3::OnEnable";
  7121. }
  7122. end;
  7123. OnMyMobDead:
  7124. end;
  7125. }
  7126. p_track02,30,36,0 script #lunatic1 139,0,0,{
  7127. OnInit:
  7128. disablenpc "#lunatic1";
  7129. end;
  7130. OnEnable:
  7131. enablenpc "#lunatic1";
  7132. monster "p_track02",58,36,"Monster No. 2",1726,1,"#lunatic1::OnMyMobDead";
  7133. end;
  7134. OnDisable:
  7135. killmonster "p_track02","#lunatic1::OnMyMobDead";
  7136. disablenpc "#lunatic1";
  7137. end;
  7138. OnTouchNPC:
  7139. if ($@mon_race_2_1 == 0) {
  7140. emotion e_ho;
  7141. specialeffect EF_MVP;
  7142. mapannounce "p_track02","Monster 2 has reached the Finish Line!",bc_map,"0x66FFCC";
  7143. set $@mon_race_2_1,2;
  7144. donpcevent "#lunatic1::OnDisable";
  7145. }
  7146. else {
  7147. emotion e_ho;
  7148. specialeffect EF_MVP;
  7149. mapannounce "p_track02","The race is over! Monster 2 has reached the Finish Line!",bc_map,"0x66FFCC";
  7150. set $@mon_race_2_2,2;
  7151. donpcevent "#lunatic1::OnDisable";
  7152. donpcevent "#poring1::OnDisable";
  7153. donpcevent "#savagebebe1::OnDisable";
  7154. donpcevent "#desertwolf1::OnDisable";
  7155. donpcevent "#deviruchi1::OnDisable";
  7156. donpcevent "#baphomet1::OnDisable";
  7157. donpcevent "TrapGlobal#race02::OnDisable";
  7158. enablenpc "Medal Distributor#medal";
  7159. donpcevent "#race_timer2-3::OnEnable";
  7160. }
  7161. end;
  7162. OnMyMobDead:
  7163. end;
  7164. }
  7165. p_track02,30,34,0 script #savagebebe1 139,0,0,{
  7166. OnInit:
  7167. disablenpc "#savagebebe1";
  7168. end;
  7169. OnEnable:
  7170. enablenpc "#savagebebe1";
  7171. monster "p_track02",58,34,"Monster No. 3",1727,1,"#savagebebe1::OnMyMobDead";
  7172. end;
  7173. OnDisable:
  7174. killmonster "p_track02","#savagebebe1::OnMyMobDead";
  7175. disablenpc "#savagebebe1";
  7176. end;
  7177. OnTouchNPC:
  7178. if ($@mon_race_2_1 == 0) {
  7179. emotion e_heh;
  7180. specialeffect EF_MVP;
  7181. mapannounce "p_track02","Monster 3 has reached the Finish Line!",bc_map,"0x66FFCC";
  7182. set $@mon_race_2_1,3;
  7183. donpcevent "#savagebebe1::OnDisable";
  7184. }
  7185. else {
  7186. emotion e_heh;
  7187. specialeffect EF_MVP;
  7188. mapannounce "p_track02","The race is over! Monster 3 has reached the Finish Line!",bc_map,"0x66FFCC";
  7189. set $@mon_race_2_2,3;
  7190. donpcevent "#savagebebe1::OnDisable";
  7191. donpcevent "#poring1::OnDisable";
  7192. donpcevent "#lunatic1::OnDisable";
  7193. donpcevent "#desertwolf1::OnDisable";
  7194. donpcevent "#deviruchi1::OnDisable";
  7195. donpcevent "#baphomet1::OnDisable";
  7196. donpcevent "TrapGlobal#race02::OnDisable";
  7197. enablenpc "Medal Distributor#medal";
  7198. donpcevent "#race_timer2-3::OnEnable";
  7199. }
  7200. end;
  7201. OnMyMobDead:
  7202. end;
  7203. }
  7204. p_track02,30,32,0 script #desertwolf1 139,0,0,{
  7205. OnInit:
  7206. disablenpc "#desertwolf1";
  7207. end;
  7208. OnEnable:
  7209. enablenpc "#desertwolf1";
  7210. monster "p_track02",58,32,"Monster No. 4",1728,1,"#desertwolf1::OnMyMobDead";
  7211. end;
  7212. OnDisable:
  7213. killmonster "p_track02","#desertwolf1::OnMyMobDead";
  7214. disablenpc "#desertwolf1";
  7215. end;
  7216. OnTouchNPC:
  7217. if ($@mon_race_2_1 == 0) {
  7218. emotion e_kis;
  7219. specialeffect EF_MVP;
  7220. mapannounce "p_track02","Monster 4 has reached the Finish Line!",bc_map,"0x66FFCC";
  7221. set $@mon_race_2_1,4;
  7222. donpcevent "#desertwolf1::OnDisable";
  7223. }
  7224. else {
  7225. emotion e_kis;
  7226. specialeffect EF_MVP;
  7227. mapannounce "p_track02","The race is over! Monster 4 has reached the Finish Line!",bc_map,"0x66FFCC";
  7228. set $@mon_race_2_2,4;
  7229. donpcevent "#desertwolf1::OnDisable";
  7230. donpcevent "#poring1::OnDisable";
  7231. donpcevent "#lunatic1::OnDisable";
  7232. donpcevent "#savagebebe1::OnDisable";
  7233. donpcevent "#deviruchi1::OnDisable";
  7234. donpcevent "#baphomet1::OnDisable";
  7235. donpcevent "TrapGlobal#race02::OnDisable";
  7236. enablenpc "Medal Distributor#medal";
  7237. donpcevent "#race_timer2-3::OnEnable";
  7238. }
  7239. end;
  7240. OnMyMobDead:
  7241. end;
  7242. }
  7243. p_track02,30,30,0 script #deviruchi1 139,0,0,{
  7244. OnInit:
  7245. disablenpc "#deviruchi1";
  7246. end;
  7247. OnEnable:
  7248. enablenpc "#deviruchi1";
  7249. monster "p_track02",58,30,"Monster No. 5",1730,1,"#deviruchi1::OnMyMobDead";
  7250. end;
  7251. OnDisable:
  7252. killmonster "p_track02","#deviruchi1::OnMyMobDead";
  7253. disablenpc "#deviruchi1";
  7254. end;
  7255. OnTouchNPC:
  7256. if ($@mon_race_2_1 == 0) {
  7257. emotion e_gg;
  7258. specialeffect EF_MVP;
  7259. mapannounce "p_track02","Monster 5 has reached the Finish Line!",bc_map,"0x66FFCC";
  7260. set $@mon_race_2_1,5;
  7261. donpcevent "#deviruchi1::OnDisable";
  7262. }
  7263. else {
  7264. emotion e_gg;
  7265. specialeffect EF_MVP;
  7266. mapannounce "p_track02","The race is over! Monster 5 has reached the Finish Line!",bc_map,"0x66FFCC";
  7267. set $@mon_race_2_2,5;
  7268. donpcevent "#deviruchi1::OnDisable";
  7269. donpcevent "#poring1::OnDisable";
  7270. donpcevent "#lunatic1::OnDisable";
  7271. donpcevent "#savagebebe1::OnDisable";
  7272. donpcevent "#desertwolf1::OnDisable";
  7273. donpcevent "#baphomet1::OnDisable";
  7274. donpcevent "TrapGlobal#race02::OnDisable";
  7275. enablenpc "Medal Distributor#medal";
  7276. donpcevent "#race_timer2-3::OnEnable";
  7277. }
  7278. end;
  7279. OnMyMobDead:
  7280. end;
  7281. }
  7282. p_track02,30,28,0 script #baphomet1 139,0,0,{
  7283. OnInit:
  7284. disablenpc "#baphomet1";
  7285. end;
  7286. OnEnable:
  7287. enablenpc "#baphomet1";
  7288. monster "p_track02",58,28,"Monster No. 6",1729,1,"#baphomet1::OnMyMobDead";
  7289. end;
  7290. OnDisable:
  7291. killmonster "p_track02","#baphomet1::OnMyMobDead";
  7292. disablenpc "#baphomet1";
  7293. end;
  7294. OnTouchNPC:
  7295. if ($@mon_race_2_1 == 0) {
  7296. emotion e_pif;
  7297. specialeffect EF_MVP;
  7298. mapannounce "p_track02","Monster 6 has reached the Finish Line!",bc_map,"0x66FFCC";
  7299. set $@mon_race_2_1,6;
  7300. donpcevent "#baphomet1::OnDisable";
  7301. }
  7302. else {
  7303. emotion e_pif;
  7304. specialeffect EF_MVP;
  7305. mapannounce "p_track02","The race is over! Monster 6 has reached the Finish Line!",bc_map,"0x66FFCC";
  7306. set $@mon_race_2_2,6;
  7307. donpcevent "#baphomet1::OnDisable";
  7308. donpcevent "#poring1::OnDisable";
  7309. donpcevent "#lunatic1::OnDisable";
  7310. donpcevent "#savagebebe1::OnDisable";
  7311. donpcevent "#desertwolf1::OnDisable";
  7312. donpcevent "#deviruchi1::OnDisable";
  7313. donpcevent "TrapGlobal#race02::OnDisable";
  7314. enablenpc "Medal Distributor#medal";
  7315. donpcevent "#race_timer2-3::OnEnable";
  7316. }
  7317. end;
  7318. OnMyMobDead:
  7319. end;
  7320. }
  7321. p_track02,19,48,0 script TrapGlobal#race02 -1,{
  7322. OnInit:
  7323. set $@mon_r02_luk1,0;
  7324. set $@mon_r02_luk2,0;
  7325. set $@mon_r02_luk3,0;
  7326. set $@mon_r02_luk4,0;
  7327. set $@mon_r02_luk5,0;
  7328. set $@mon_r02_luk6,0;
  7329. set $@mon_r02_tire1,0;
  7330. set $@mon_r02_tire2,0;
  7331. set $@mon_r02_tire3,0;
  7332. set $@mon_r02_tire4,0;
  7333. set $@mon_r02_tire5,0;
  7334. set $@mon_r02_tire6,0;
  7335. end;
  7336. OnEnable:
  7337. enablenpc "TrapGlobal#race02";
  7338. enablenpc "starting#race02_1";
  7339. enablenpc "starting#race02_2";
  7340. enablenpc "starting#race02_3";
  7341. enablenpc "starting#race02_4";
  7342. enablenpc "starting#race02_5";
  7343. enablenpc "starting#race02_6";
  7344. //-------------------------------------------------------------
  7345. // Monster No. 1, Poring
  7346. //-------------------------------------------------------------
  7347. set .@firstline,rand(1,70);
  7348. if ((.@firstline > 0) && (.@firstline < 11)) {
  7349. set $@mon_r02_luk1,.@firstline;
  7350. enablenpc "Luk#race02_1_5";
  7351. enablenpc "Luk#race02_1_6";
  7352. set .@firsttired,rand(50,60);
  7353. if (.@firsttired > 49) && (.@firsttired < 61) {
  7354. set $@mon_r02_tire1,.@firsttired;
  7355. enablenpc "Tire#race02_1_1";
  7356. }
  7357. }
  7358. else if ((.@firstline > 10) && (.@firstline < 31)) {
  7359. set $@mon_r02_luk1,.@firstline;
  7360. enablenpc "Luk#race02_1_5";
  7361. set .@firsttired,rand(40,60);
  7362. if (.@firsttired > 49) && (.@firsttired < 61) {
  7363. set $@mon_r02_tire1,.@firsttired;
  7364. enablenpc "Tire#race02_1_1";
  7365. }
  7366. else {
  7367. set $@mon_r02_tire1,.@firsttired;
  7368. enablenpc "Tire#race02_1_1";
  7369. enablenpc "Tire#race02_1_2";
  7370. }
  7371. }
  7372. else if ((.@firstline > 20) && (.@firstline < 41)) {
  7373. set $@mon_r02_luk1,.@firstline;
  7374. enablenpc "Luk#race02_1_1";
  7375. set .@firsttired,rand(30,50);
  7376. if (.@firsttired > 39) && (.@firsttired < 51) {
  7377. set $@mon_r02_tire1,.@firsttired;
  7378. enablenpc "Tire#race02_1_1";
  7379. enablenpc "Tire#race02_1_2";
  7380. }
  7381. else {
  7382. set $@mon_r02_tire1,.@firsttired;
  7383. enablenpc "Tire#race02_1_1";
  7384. enablenpc "Tire#race02_1_2";
  7385. enablenpc "Tire#race02_1_3";
  7386. }
  7387. }
  7388. else if ((.@firstline > 40) && (.@firstline < 51)) {
  7389. set $@mon_r02_luk1,.@firstline;
  7390. enablenpc "Luk#race02_1_1";
  7391. enablenpc "Luk#race02_1_2";
  7392. set .@firsttired,rand(20,40);
  7393. if (.@firsttired > 29) && (.@firsttired < 41) {
  7394. set $@mon_r02_tire1,.@firsttired;
  7395. enablenpc "Tire#race02_1_1";
  7396. enablenpc "Tire#race02_1_2";
  7397. enablenpc "Tire#race02_1_3";
  7398. }
  7399. else {
  7400. set $@mon_r02_tire1,.@firsttired;
  7401. enablenpc "Tire#race02_1_1";
  7402. enablenpc "Tire#race02_1_2";
  7403. enablenpc "Tire#race02_1_3";
  7404. enablenpc "Tire#race02_1_4";
  7405. }
  7406. }
  7407. else if ((.@firstline > 50) && (.@firstline < 61)) {
  7408. set $@mon_r02_luk1,.@firstline;
  7409. enablenpc "Luk#race02_1_1";
  7410. enablenpc "Luk#race02_1_2";
  7411. enablenpc "Luk#race02_1_3";
  7412. set .@firsttired,rand(10,30);
  7413. if (.@firsttired > 19) && (.@firsttired < 31) {
  7414. set $@mon_r02_tire1,.@firsttired;
  7415. enablenpc "Tire#race02_1_1";
  7416. enablenpc "Tire#race02_1_2";
  7417. enablenpc "Tire#race02_1_3";
  7418. enablenpc "Tire#race02_1_4";
  7419. }
  7420. else {
  7421. set $@mon_r02_tire1,.@firsttired;
  7422. enablenpc "Tire#race02_1_1";
  7423. enablenpc "Tire#race02_1_2";
  7424. enablenpc "Tire#race02_1_3";
  7425. enablenpc "Tire#race02_1_4";
  7426. enablenpc "Tire#race02_1_5";
  7427. }
  7428. }
  7429. else if ((.@firstline > 60) && (.@firstline < 71)) {
  7430. set $@mon_r02_luk1,.@firstline;
  7431. enablenpc "Luk#race02_1_1";
  7432. enablenpc "Luk#race02_1_2";
  7433. enablenpc "Luk#race02_1_3";
  7434. enablenpc "Luk#race02_1_4";
  7435. set .@firsttired,rand(0,20);
  7436. if (.@firsttired > 9) && (.@firsttired < 21) {
  7437. set $@mon_r02_tire1,.@firsttired;
  7438. enablenpc "Tire#race02_1_1";
  7439. enablenpc "Tire#race02_1_2";
  7440. enablenpc "Tire#race02_1_3";
  7441. enablenpc "Tire#race02_1_4";
  7442. enablenpc "Tire#race02_1_5";
  7443. }
  7444. else {
  7445. set $@mon_r02_tire1,.@firsttired;
  7446. enablenpc "Tire#race02_1_1";
  7447. enablenpc "Tire#race02_1_2";
  7448. enablenpc "Tire#race02_1_3";
  7449. enablenpc "Tire#race02_1_4";
  7450. enablenpc "Tire#race02_1_5";
  7451. enablenpc "Tire#race02_1_6";
  7452. }
  7453. }
  7454. else {
  7455. set $@mon_r02_luk1,.@firstline;
  7456. enablenpc "Luk#race02_1_1";
  7457. enablenpc "Luk#race02_1_2";
  7458. enablenpc "Luk#race02_1_3";
  7459. enablenpc "Luk#race02_1_4";
  7460. set .@firsttired,rand(0,20);
  7461. if (.@firsttired > 9) && (.@firsttired < 21) {
  7462. set $@mon_r02_tire1,.@firstline;
  7463. enablenpc "Tire#race02_1_1";
  7464. enablenpc "Tire#race02_1_2";
  7465. enablenpc "Tire#race02_1_3";
  7466. enablenpc "Tire#race02_1_4";
  7467. enablenpc "Tire#race02_1_5";
  7468. }
  7469. else {
  7470. set $@mon_r02_tire1,.@firstline;
  7471. enablenpc "Tire#race02_1_1";
  7472. enablenpc "Tire#race02_1_2";
  7473. enablenpc "Tire#race02_1_3";
  7474. enablenpc "Tire#race02_1_4";
  7475. enablenpc "Tire#race02_1_5";
  7476. enablenpc "Tire#race02_1_6";
  7477. }
  7478. }
  7479. //-------------------------------------------------------------
  7480. // Monster No. 2, Lunatic
  7481. //-------------------------------------------------------------
  7482. set .@secondline,rand(1,70);
  7483. if ((.@secondline > 0) && (.@secondline < 11)) {
  7484. set $@mon_r02_luk2,.@secondline;
  7485. enablenpc "Luk#race02_2_5";
  7486. enablenpc "Luk#race02_2_6";
  7487. set .@secondtired,rand(50,60);
  7488. if (.@secondtired > 49) && (.@secondtired < 61) {
  7489. set $@mon_r02_tire2,.@secondtired;
  7490. enablenpc "Tire#race02_2_1";
  7491. }
  7492. }
  7493. else if ((.@secondline > 10) && (.@secondline < 31)) {
  7494. set $@mon_r02_luk2,.@secondline;
  7495. enablenpc "Luk#race02_2_5";
  7496. set .@secondtired,rand(40,60);
  7497. if (.@secondtired > 49) && (.@secondtired < 61) {
  7498. set $@mon_r02_tire2,.@secondline;
  7499. enablenpc "Tire#race02_2_1";
  7500. }
  7501. else {
  7502. set $@mon_r02_tire2,.@secondline;
  7503. enablenpc "Tire#race02_2_1";
  7504. enablenpc "Tire#race02_2_2";
  7505. }
  7506. }
  7507. else if ((.@secondline > 20) && (.@secondline < 41)) {
  7508. set $@mon_r02_luk2,.@secondline;
  7509. enablenpc "Luk#race02_2_1";
  7510. set .@secondtired,rand(30,50);
  7511. if (.@secondtired > 39) && (.@secondtired < 51) {
  7512. set $@mon_r02_tire2,.@secondtired;
  7513. enablenpc "Tire#race02_2_1";
  7514. enablenpc "Tire#race02_2_2";
  7515. }
  7516. else {
  7517. set $@mon_r02_tire2,.@secondtired;
  7518. enablenpc "Tire#race02_2_1";
  7519. enablenpc "Tire#race02_2_2";
  7520. enablenpc "Tire#race02_2_3";
  7521. }
  7522. }
  7523. else if ((.@secondline > 40) && (.@secondline < 51)) {
  7524. set $@mon_r02_luk2,.@secondline;
  7525. enablenpc "Luk#race02_2_1";
  7526. enablenpc "Luk#race02_2_2";
  7527. set .@secondtired,rand(20,40);
  7528. if (.@secondtired > 29) && (.@secondtired < 41) {
  7529. set $@mon_r02_tire2,.@secondtired;
  7530. enablenpc "Tire#race02_2_1";
  7531. enablenpc "Tire#race02_2_2";
  7532. enablenpc "Tire#race02_2_3";
  7533. }
  7534. else {
  7535. set $@mon_r02_tire2,.@secondtired;
  7536. enablenpc "Tire#race02_2_1";
  7537. enablenpc "Tire#race02_2_2";
  7538. enablenpc "Tire#race02_2_3";
  7539. enablenpc "Tire#race02_2_4";
  7540. }
  7541. }
  7542. else if ((.@secondline > 50) && (.@secondline < 61)) {
  7543. set $@mon_r02_luk2,.@secondline;
  7544. enablenpc "Luk#race02_2_1";
  7545. enablenpc "Luk#race02_2_2";
  7546. enablenpc "Luk#race02_2_3";
  7547. set .@secondtired,rand(10,30);
  7548. if (.@secondtired > 19) && (.@secondtired < 31) {
  7549. set $@mon_r02_tire2,.@secondtired;
  7550. enablenpc "Tire#race02_2_1";
  7551. enablenpc "Tire#race02_2_2";
  7552. enablenpc "Tire#race02_2_3";
  7553. enablenpc "Tire#race02_2_4";
  7554. }
  7555. else {
  7556. set $@mon_r02_tire2,.@secondtired;
  7557. enablenpc "Tire#race02_2_1";
  7558. enablenpc "Tire#race02_2_2";
  7559. enablenpc "Tire#race02_2_3";
  7560. enablenpc "Tire#race02_2_4";
  7561. enablenpc "Tire#race02_2_5";
  7562. }
  7563. }
  7564. else if ((.@secondline > 60) && (.@secondline < 71)) {
  7565. set $@mon_r02_luk2,.@secondline;
  7566. enablenpc "Luk#race02_2_1";
  7567. enablenpc "Luk#race02_2_2";
  7568. enablenpc "Luk#race02_2_3";
  7569. enablenpc "Luk#race02_2_4";
  7570. set .@secondtired,rand(0,20);
  7571. if (.@secondtired > 9) && (.@secondtired < 21) {
  7572. set $@mon_r02_tire2,.@secondtired;
  7573. enablenpc "Tire#race02_2_1";
  7574. enablenpc "Tire#race02_2_2";
  7575. enablenpc "Tire#race02_2_3";
  7576. enablenpc "Tire#race02_2_4";
  7577. enablenpc "Tire#race02_2_5";
  7578. }
  7579. else {
  7580. set $@mon_r02_tire2,.@secondtired;
  7581. enablenpc "Tire#race02_2_1";
  7582. enablenpc "Tire#race02_2_2";
  7583. enablenpc "Tire#race02_2_3";
  7584. enablenpc "Tire#race02_2_4";
  7585. enablenpc "Tire#race02_2_5";
  7586. enablenpc "Tire#race02_2_6";
  7587. }
  7588. }
  7589. else {
  7590. set $@mon_r02_luk2,.@secondline;
  7591. enablenpc "Luk#race02_2_1";
  7592. enablenpc "Luk#race02_2_2";
  7593. enablenpc "Luk#race02_2_3";
  7594. enablenpc "Luk#race02_2_4";
  7595. set .@secondtired,rand(0,20);
  7596. if (.@secondtired > 9) && (.@secondtired < 21) {
  7597. set $@mon_r02_tire2,.@secondtired;
  7598. enablenpc "Tire#race02_2_1";
  7599. enablenpc "Tire#race02_2_2";
  7600. enablenpc "Tire#race02_2_3";
  7601. enablenpc "Tire#race02_2_4";
  7602. enablenpc "Tire#race02_2_5";
  7603. }
  7604. else {
  7605. set $@mon_r02_tire2,.@secondtired;
  7606. enablenpc "Tire#race02_2_1";
  7607. enablenpc "Tire#race02_2_2";
  7608. enablenpc "Tire#race02_2_3";
  7609. enablenpc "Tire#race02_2_4";
  7610. enablenpc "Tire#race02_2_5";
  7611. enablenpc "Tire#race02_2_6";
  7612. }
  7613. }
  7614. //-------------------------------------------------------------
  7615. // Monster No. 3, Savage Babe
  7616. //-------------------------------------------------------------
  7617. set .@thirdline,rand(1,70);
  7618. if ((.@thirdline > 0) && (.@thirdline < 11)) {
  7619. set $@mon_r02_luk3,.@thirdline;
  7620. enablenpc "Luk#race02_3_5";
  7621. enablenpc "Luk#race02_3_6";
  7622. set .@thridtired,rand(50,60);
  7623. if (.@thridtired > 49) && (.@thridtired < 61) {
  7624. set $@mon_r02_tire3,.@thridtired;
  7625. enablenpc "Tire#race02_3_1";
  7626. }
  7627. }
  7628. else if ((.@thirdline > 10) && (.@thirdline < 31)) {
  7629. set $@mon_r02_luk3,.@thirdline;
  7630. enablenpc "Luk#race02_3_5";
  7631. set .@thridtired,rand(40,60);
  7632. if (.@thridtired > 49) && (.@thridtired < 61) {
  7633. set $@mon_r02_tire3,.@thridtired;
  7634. enablenpc "Tire#race02_3_1";
  7635. }
  7636. else {
  7637. set $@mon_r02_tire3,.@thridtired;
  7638. enablenpc "Tire#race02_3_1";
  7639. enablenpc "Tire#race02_3_2";
  7640. }
  7641. }
  7642. else if ((.@thirdline > 20) && (.@thirdline < 41)) {
  7643. set $@mon_r02_luk3,.@thirdline;
  7644. enablenpc "Luk#race02_3_1";
  7645. set .@thridtired,rand(30,50);
  7646. if (.@thridtired > 39) && (.@thridtired < 51) {
  7647. set $@mon_r02_tire3,.@thridtired;
  7648. enablenpc "Tire#race02_3_1";
  7649. enablenpc "Tire#race02_3_2";
  7650. }
  7651. else {
  7652. set $@mon_r02_tire3,.@thridtired;
  7653. enablenpc "Tire#race02_3_1";
  7654. enablenpc "Tire#race02_3_2";
  7655. enablenpc "Tire#race02_3_3";
  7656. }
  7657. }
  7658. else if ((.@thirdline > 40) && (.@thirdline < 51)) {
  7659. set $@mon_r02_luk3,.@thirdline;
  7660. enablenpc "Luk#race02_3_1";
  7661. enablenpc "Luk#race02_3_2";
  7662. set .@thridtired,rand(20,40);
  7663. if (.@thridtired > 29) && (.@thridtired < 41) {
  7664. set $@mon_r02_tire3,.@thridtired;
  7665. enablenpc "Tire#race02_3_1";
  7666. enablenpc "Tire#race02_3_2";
  7667. enablenpc "Tire#race02_3_3";
  7668. }
  7669. else {
  7670. set $@mon_r02_tire3,.@thridtired;
  7671. enablenpc "Tire#race02_3_1";
  7672. enablenpc "Tire#race02_3_2";
  7673. enablenpc "Tire#race02_3_3";
  7674. enablenpc "Tire#race02_3_4";
  7675. }
  7676. }
  7677. else if ((.@thirdline > 50) && (.@thirdline < 61)) {
  7678. set $@mon_r02_luk3,.@thirdline;
  7679. enablenpc "Luk#race02_3_1";
  7680. enablenpc "Luk#race02_3_2";
  7681. enablenpc "Luk#race02_3_3";
  7682. set .@thridtired,rand(10,30);
  7683. if (.@thridtired > 19) && (.@thridtired < 31) {
  7684. set $@mon_r02_tire3,.@thridtired;
  7685. enablenpc "Tire#race02_3_1";
  7686. enablenpc "Tire#race02_3_2";
  7687. enablenpc "Tire#race02_3_3";
  7688. enablenpc "Tire#race02_3_4";
  7689. }
  7690. else {
  7691. set $@mon_r02_tire3,.@thridtired;
  7692. enablenpc "Tire#race02_3_1";
  7693. enablenpc "Tire#race02_3_2";
  7694. enablenpc "Tire#race02_3_3";
  7695. enablenpc "Tire#race02_3_4";
  7696. enablenpc "Tire#race02_3_5";
  7697. }
  7698. }
  7699. else if ((.@thirdline > 60) && (.@thirdline < 71)) {
  7700. set $@mon_r02_luk3,.@thirdline;
  7701. enablenpc "Luk#race02_3_1";
  7702. enablenpc "Luk#race02_3_2";
  7703. enablenpc "Luk#race02_3_3";
  7704. enablenpc "Luk#race02_3_4";
  7705. set .@thridtired,rand(0,20);
  7706. if (.@thridtired > 9) && (.@thridtired < 21) {
  7707. set $@mon_r02_tire3,.@thridtired;
  7708. enablenpc "Tire#race02_3_1";
  7709. enablenpc "Tire#race02_3_2";
  7710. enablenpc "Tire#race02_3_3";
  7711. enablenpc "Tire#race02_3_4";
  7712. enablenpc "Tire#race02_3_5";
  7713. }
  7714. else {
  7715. set $@mon_r02_tire3,.@thridtired;
  7716. enablenpc "Tire#race02_3_1";
  7717. enablenpc "Tire#race02_3_2";
  7718. enablenpc "Tire#race02_3_3";
  7719. enablenpc "Tire#race02_3_4";
  7720. enablenpc "Tire#race02_3_5";
  7721. enablenpc "Tire#race02_3_6";
  7722. }
  7723. }
  7724. else {
  7725. set $@mon_r02_luk3,.@thirdline;
  7726. enablenpc "Luk#race02_3_1";
  7727. enablenpc "Luk#race02_3_2";
  7728. enablenpc "Luk#race02_3_3";
  7729. enablenpc "Luk#race02_3_4";
  7730. set .@thridtired,rand(0,20);
  7731. if (.@thridtired > 9) && (.@thridtired < 21) {
  7732. set $@mon_r02_tire3,.@thridtired;
  7733. enablenpc "Tire#race02_3_1";
  7734. enablenpc "Tire#race02_3_2";
  7735. enablenpc "Tire#race02_3_3";
  7736. enablenpc "Tire#race02_3_4";
  7737. enablenpc "Tire#race02_3_5";
  7738. }
  7739. else {
  7740. set $@mon_r02_tire3,.@thridtired;
  7741. enablenpc "Tire#race02_3_1";
  7742. enablenpc "Tire#race02_3_2";
  7743. enablenpc "Tire#race02_3_3";
  7744. enablenpc "Tire#race02_3_4";
  7745. enablenpc "Tire#race02_3_5";
  7746. enablenpc "Tire#race02_3_6";
  7747. }
  7748. }
  7749. //-------------------------------------------------------------
  7750. // Monster No. 4, Baby Desert Wolf
  7751. //-------------------------------------------------------------
  7752. set .@fourthline,rand(1,70);
  7753. if ((.@fourthline > 0) && (.@fourthline < 11)) {
  7754. set $@mon_r02_luk4,.@fourthline;
  7755. enablenpc "Luk#race02_4_5";
  7756. enablenpc "Luk#race02_4_6";
  7757. set .@fourthtired,rand(50,60);
  7758. if (.@fourthtired > 49) && (.@fourthtired < 61) {
  7759. set $@mon_r02_tire4,.@fourthtired;
  7760. enablenpc "Tire#race02_4_1";
  7761. }
  7762. }
  7763. else if ((.@fourthline > 10) && (.@fourthline < 31)) {
  7764. set $@mon_r02_luk4,.@fourthline;
  7765. enablenpc "Luk#race02_4_5";
  7766. set .@fourthtired,rand(40,60);
  7767. if (.@fourthtired > 49) && (.@fourthtired < 61) {
  7768. set $@mon_r02_tire4,.@fourthtired;
  7769. enablenpc "Tire#race02_4_1";
  7770. }
  7771. else {
  7772. set $@mon_r02_tire4,.@fourthtired;
  7773. enablenpc "Tire#race02_4_1";
  7774. enablenpc "Tire#race02_4_2";
  7775. }
  7776. }
  7777. else if ((.@fourthline > 20) && (.@fourthline < 41)) {
  7778. set $@mon_r02_luk4,.@fourthline;
  7779. enablenpc "Luk#race02_4_1";
  7780. set .@fourthtired,rand(30,50);
  7781. if (.@fourthtired > 39) && (.@fourthtired < 51) {
  7782. set $@mon_r02_tire4,.@fourthtired;
  7783. enablenpc "Tire#race02_4_1";
  7784. enablenpc "Tire#race02_4_2";
  7785. }
  7786. else {
  7787. set $@mon_r02_tire4,.@fourthtired;
  7788. enablenpc "Tire#race02_4_1";
  7789. enablenpc "Tire#race02_4_2";
  7790. enablenpc "Tire#race02_4_3";
  7791. }
  7792. }
  7793. else if ((.@fourthline > 40) && (.@fourthline < 51)) {
  7794. set $@mon_r02_luk4,.@fourthline;
  7795. enablenpc "Luk#race02_4_1";
  7796. enablenpc "Luk#race02_4_2";
  7797. set .@fourthtired,rand(20,40);
  7798. if (.@fourthtired > 29) && (.@fourthtired < 41) {
  7799. set $@mon_r02_tire4,.@fourthtired;
  7800. enablenpc "Tire#race02_4_1";
  7801. enablenpc "Tire#race02_4_2";
  7802. enablenpc "Tire#race02_4_3";
  7803. }
  7804. else {
  7805. set $@mon_r02_tire4,.@fourthtired;
  7806. enablenpc "Tire#race02_4_1";
  7807. enablenpc "Tire#race02_4_2";
  7808. enablenpc "Tire#race02_4_3";
  7809. enablenpc "Tire#race02_4_4";
  7810. }
  7811. }
  7812. else if ((.@fourthline > 50) && (.@fourthline < 61)) {
  7813. set $@mon_r02_luk4,.@fourthline;
  7814. enablenpc "Luk#race02_4_1";
  7815. enablenpc "Luk#race02_4_2";
  7816. enablenpc "Luk#race02_4_3";
  7817. set .@fourthtired,rand(10,30);
  7818. if (.@fourthtired > 19) && (.@fourthtired < 31) {
  7819. set $@mon_r02_tire4,.@fourthtired;
  7820. enablenpc "Tire#race02_4_1";
  7821. enablenpc "Tire#race02_4_2";
  7822. enablenpc "Tire#race02_4_3";
  7823. enablenpc "Tire#race02_4_4";
  7824. }
  7825. else {
  7826. set $@mon_r02_tire4,.@fourthtired;
  7827. enablenpc "Tire#race02_4_1";
  7828. enablenpc "Tire#race02_4_2";
  7829. enablenpc "Tire#race02_4_3";
  7830. enablenpc "Tire#race02_4_4";
  7831. enablenpc "Tire#race02_4_5";
  7832. }
  7833. }
  7834. else if ((.@fourthline > 60) && (.@fourthline < 71)) {
  7835. set $@mon_r02_luk4,.@fourthline;
  7836. enablenpc "Luk#race02_4_1";
  7837. enablenpc "Luk#race02_4_2";
  7838. enablenpc "Luk#race02_4_3";
  7839. enablenpc "Luk#race02_4_4";
  7840. set .@fourthtired,rand(0,20);
  7841. if (.@fourthtired > 9) && (.@fourthtired < 21) {
  7842. set $@mon_r02_tire4,.@fourthtired;
  7843. enablenpc "Tire#race02_4_1";
  7844. enablenpc "Tire#race02_4_2";
  7845. enablenpc "Tire#race02_4_3";
  7846. enablenpc "Tire#race02_4_4";
  7847. enablenpc "Tire#race02_4_5";
  7848. }
  7849. else {
  7850. set $@mon_r02_tire4,.@fourthtired;
  7851. enablenpc "Tire#race02_4_1";
  7852. enablenpc "Tire#race02_4_2";
  7853. enablenpc "Tire#race02_4_3";
  7854. enablenpc "Tire#race02_4_4";
  7855. enablenpc "Tire#race02_4_5";
  7856. enablenpc "Tire#race02_4_6";
  7857. }
  7858. }
  7859. else {
  7860. set $@mon_r02_luk4,.@fourthline;
  7861. enablenpc "Luk#race02_4_1";
  7862. enablenpc "Luk#race02_4_2";
  7863. enablenpc "Luk#race02_4_3";
  7864. enablenpc "Luk#race02_4_4";
  7865. set .@fourthtired,rand(0,20);
  7866. if (.@fourthtired > 9) && (.@fourthtired < 21) {
  7867. set $@mon_r02_tire4,.@fourthtired;
  7868. enablenpc "Tire#race02_4_1";
  7869. enablenpc "Tire#race02_4_2";
  7870. enablenpc "Tire#race02_4_3";
  7871. enablenpc "Tire#race02_4_4";
  7872. enablenpc "Tire#race02_4_5";
  7873. }
  7874. else {
  7875. set $@mon_r02_tire4,.@fourthtired;
  7876. enablenpc "Tire#race02_4_1";
  7877. enablenpc "Tire#race02_4_2";
  7878. enablenpc "Tire#race02_4_3";
  7879. enablenpc "Tire#race02_4_4";
  7880. enablenpc "Tire#race02_4_5";
  7881. enablenpc "Tire#race02_4_6";
  7882. }
  7883. }
  7884. //-------------------------------------------------------------
  7885. // Monster No. 5, Deviruchi
  7886. //-------------------------------------------------------------
  7887. set .@fifthline,rand(1,70);
  7888. if ((.@fifthline > 0) && (.@fifthline < 11)) {
  7889. set $@mon_r02_luk5,.@fifthline;
  7890. enablenpc "Luk#race02_5_5";
  7891. set .@fifthtired,rand(50,60);
  7892. if (.@fifthtired > 49) && (.@fifthtired < 61) {
  7893. set $@mon_r02_tire5,.@fifthtired;
  7894. enablenpc "Tire#race02_5_1";
  7895. }
  7896. }
  7897. else if ((.@fifthline > 10) && (.@fifthline < 31)) {
  7898. set $@mon_r02_luk5,.@fifthline;
  7899. enablenpc "Luk#race02_5_5";
  7900. set .@fifthtired,rand(40,60);
  7901. if (.@fifthtired > 49) && (.@fifthtired < 61) {
  7902. set $@mon_r02_tire5,.@fifthtired;
  7903. enablenpc "Tire#race02_5_1";
  7904. }
  7905. else {
  7906. set $@mon_r02_tire5,.@fifthtired;
  7907. enablenpc "Tire#race02_5_1";
  7908. enablenpc "Tire#race02_5_2";
  7909. }
  7910. }
  7911. else if ((.@fifthline > 20) && (.@fifthline < 41)) {
  7912. set $@mon_r02_luk5,.@fifthline;
  7913. enablenpc "Luk#race02_5_1";
  7914. set .@fifthtired,rand(30,50);
  7915. if (.@fifthtired > 39) && (.@fifthtired < 51) {
  7916. set $@mon_r02_tire5,.@fifthtired;
  7917. enablenpc "Tire#race02_5_1";
  7918. enablenpc "Tire#race02_5_2";
  7919. }
  7920. else {
  7921. set $@mon_r02_tire5,.@fifthtired;
  7922. enablenpc "Tire#race02_5_1";
  7923. enablenpc "Tire#race02_5_2";
  7924. enablenpc "Tire#race02_5_3";
  7925. }
  7926. }
  7927. else if ((.@fifthline > 40) && (.@fifthline < 51)) {
  7928. set $@mon_r02_luk5,.@fifthline;
  7929. enablenpc "Luk#race02_5_1";
  7930. enablenpc "Luk#race02_5_2";
  7931. set .@fifthtired,rand(20,40);
  7932. if (.@fifthtired > 29) && (.@fifthtired < 41) {
  7933. set $@mon_r02_tire5,.@fifthtired;
  7934. enablenpc "Tire#race02_5_1";
  7935. enablenpc "Tire#race02_5_2";
  7936. enablenpc "Tire#race02_5_3";
  7937. }
  7938. else {
  7939. set $@mon_r02_tire5,.@fifthtired;
  7940. enablenpc "Tire#race02_5_1";
  7941. enablenpc "Tire#race02_5_2";
  7942. enablenpc "Tire#race02_5_3";
  7943. enablenpc "Tire#race02_5_4";
  7944. }
  7945. }
  7946. else if ((.@fifthline > 50) && (.@fifthline < 61)) {
  7947. set $@mon_r02_luk5,.@fifthline;
  7948. enablenpc "Luk#race02_5_1";
  7949. enablenpc "Luk#race02_5_2";
  7950. enablenpc "Luk#race02_5_3";
  7951. set .@fifthtired,rand(10,30);
  7952. if (.@fifthtired > 19) && (.@fifthtired < 31) {
  7953. set $@mon_r02_tire5,.@fifthtired;
  7954. enablenpc "Tire#race02_5_1";
  7955. enablenpc "Tire#race02_5_2";
  7956. enablenpc "Tire#race02_5_3";
  7957. enablenpc "Tire#race02_5_4";
  7958. }
  7959. else {
  7960. set $@mon_r02_tire5,.@fifthtired;
  7961. enablenpc "Tire#race02_5_1";
  7962. enablenpc "Tire#race02_5_2";
  7963. enablenpc "Tire#race02_5_3";
  7964. enablenpc "Tire#race02_5_4";
  7965. enablenpc "Tire#race02_5_5";
  7966. }
  7967. }
  7968. else if ((.@fifthline > 60) && (.@fifthline < 71)) {
  7969. set $@mon_r02_luk5,.@fifthline;
  7970. enablenpc "Luk#race02_5_1";
  7971. enablenpc "Luk#race02_5_2";
  7972. enablenpc "Luk#race02_5_3";
  7973. enablenpc "Luk#race02_5_4";
  7974. set .@fifthtired,rand(0,20);
  7975. if (.@fifthtired > 9) && (.@fifthtired < 21) {
  7976. set $@mon_r02_tire5,.@fifthtired;
  7977. enablenpc "Tire#race02_5_1";
  7978. enablenpc "Tire#race02_5_2";
  7979. enablenpc "Tire#race02_5_3";
  7980. enablenpc "Tire#race02_5_4";
  7981. enablenpc "Tire#race02_5_5";
  7982. }
  7983. else {
  7984. set $@mon_r02_tire5,.@fifthtired;
  7985. enablenpc "Tire#race02_5_1";
  7986. enablenpc "Tire#race02_5_2";
  7987. enablenpc "Tire#race02_5_3";
  7988. enablenpc "Tire#race02_5_4";
  7989. enablenpc "Tire#race02_5_5";
  7990. enablenpc "Tire#race02_5_6";
  7991. }
  7992. }
  7993. else {
  7994. set $@mon_r02_luk5,.@fifthline;
  7995. enablenpc "Luk#race02_5_1";
  7996. enablenpc "Luk#race02_5_2";
  7997. enablenpc "Luk#race02_5_3";
  7998. enablenpc "Luk#race02_5_4";
  7999. set .@fifthtired,rand(0,20);
  8000. if (.@fifthtired > 9) && (.@fifthtired < 21) {
  8001. set $@mon_r02_tire5,.@fifthtired;
  8002. enablenpc "Tire#race02_5_1";
  8003. enablenpc "Tire#race02_5_2";
  8004. enablenpc "Tire#race02_5_3";
  8005. enablenpc "Tire#race02_5_4";
  8006. enablenpc "Tire#race02_5_5";
  8007. }
  8008. else {
  8009. set $@mon_r02_tire5,.@fifthtired;
  8010. enablenpc "Tire#race02_5_1";
  8011. enablenpc "Tire#race02_5_2";
  8012. enablenpc "Tire#race02_5_3";
  8013. enablenpc "Tire#race02_5_4";
  8014. enablenpc "Tire#race02_5_5";
  8015. enablenpc "Tire#race02_5_6";
  8016. }
  8017. }
  8018. //-------------------------------------------------------------
  8019. // Monster No. 6, Baphomet Jr.
  8020. //-------------------------------------------------------------
  8021. set .@sixthline,rand(1,70);
  8022. if ((.@sixthline > 0) && (.@sixthline < 11)) {
  8023. set $@mon_r02_luk6,.@sixthline;
  8024. enablenpc "Luk#race02_6_5";
  8025. enablenpc "Luk#race02_6_6";
  8026. set .@sixthtired,rand(50,60);
  8027. if (.@sixthtired > 49) && (.@sixthtired < 61) {
  8028. set $@mon_r02_tire6,.@sixthtired;
  8029. enablenpc "Tire#race02_6_1";
  8030. }
  8031. }
  8032. else if ((.@sixthline > 10) && (.@sixthline < 31)) {
  8033. set $@mon_r02_luk6,.@sixthline;
  8034. enablenpc "Luk#race02_6_5";
  8035. set .@sixthtired,rand(40,60);
  8036. if (.@sixthtired > 49) && (.@sixthtired < 61) {
  8037. set $@mon_r02_tire6,.@sixthtired;
  8038. enablenpc "Tire#race02_6_1";
  8039. }
  8040. else {
  8041. set $@mon_r02_tire6,.@sixthtired;
  8042. enablenpc "Tire#race02_6_1";
  8043. enablenpc "Tire#race02_6_2";
  8044. }
  8045. }
  8046. else if ((.@sixthline > 20) && (.@sixthline < 41)) {
  8047. set $@mon_r02_luk6,.@sixthline;
  8048. enablenpc "Luk#race02_6_1";
  8049. set .@sixthtired,rand(30,50);
  8050. if (.@sixthtired > 39) && (.@sixthtired < 51) {
  8051. set $@mon_r02_tire6,.@sixthtired;
  8052. enablenpc "Tire#race02_6_1";
  8053. enablenpc "Tire#race02_6_2";
  8054. }
  8055. else {
  8056. set $@mon_r02_tire6,.@sixthtired;
  8057. enablenpc "Tire#race02_6_1";
  8058. enablenpc "Tire#race02_6_2";
  8059. enablenpc "Tire#race02_6_3";
  8060. }
  8061. }
  8062. else if ((.@sixthline > 40) && (.@sixthline < 51)) {
  8063. set $@mon_r02_luk6,.@sixthline;
  8064. enablenpc "Luk#race02_6_1";
  8065. enablenpc "Luk#race02_6_2";
  8066. set .@sixthtired,rand(20,40);
  8067. if (.@sixthtired > 29) && (.@sixthtired < 41) {
  8068. set $@mon_r02_tire6,.@sixthtired;
  8069. enablenpc "Tire#race02_6_1";
  8070. enablenpc "Tire#race02_6_2";
  8071. enablenpc "Tire#race02_6_3";
  8072. }
  8073. else {
  8074. set $@mon_r02_tire6,.@sixthtired;
  8075. enablenpc "Tire#race02_6_1";
  8076. enablenpc "Tire#race02_6_2";
  8077. enablenpc "Tire#race02_6_3";
  8078. enablenpc "Tire#race02_6_4";
  8079. }
  8080. }
  8081. else if ((.@sixthline > 50) && (.@sixthline < 61)) {
  8082. set $@mon_r02_luk6,.@sixthline;
  8083. enablenpc "Luk#race02_6_1";
  8084. enablenpc "Luk#race02_6_2";
  8085. enablenpc "Luk#race02_6_3";
  8086. set .@sixthtired,rand(10,30);
  8087. if (.@sixthtired > 19) && (.@sixthtired < 31) {
  8088. set $@mon_r02_tire6,.@sixthtired;
  8089. enablenpc "Tire#race02_6_1";
  8090. enablenpc "Tire#race02_6_2";
  8091. enablenpc "Tire#race02_6_3";
  8092. enablenpc "Tire#race02_6_4";
  8093. }
  8094. else {
  8095. set $@mon_r02_tire6,.@sixthtired;
  8096. enablenpc "Tire#race02_6_1";
  8097. enablenpc "Tire#race02_6_2";
  8098. enablenpc "Tire#race02_6_3";
  8099. enablenpc "Tire#race02_6_4";
  8100. enablenpc "Tire#race02_6_5";
  8101. }
  8102. }
  8103. else if ((.@sixthline > 60) && (.@sixthline < 71)) {
  8104. set $@mon_r02_luk6,.@sixthline;
  8105. enablenpc "Luk#race02_6_1";
  8106. enablenpc "Luk#race02_6_2";
  8107. enablenpc "Luk#race02_6_3";
  8108. enablenpc "Luk#race02_6_4";
  8109. set .@sixthtired,rand(0,20);
  8110. if (.@sixthtired > 9) && (.@sixthtired < 21) {
  8111. set $@mon_r02_tire6,.@sixthtired;
  8112. enablenpc "Tire#race02_6_1";
  8113. enablenpc "Tire#race02_6_2";
  8114. enablenpc "Tire#race02_6_3";
  8115. enablenpc "Tire#race02_6_4";
  8116. enablenpc "Tire#race02_6_5";
  8117. }
  8118. else {
  8119. set $@mon_r02_tire6,.@sixthtired;
  8120. enablenpc "Tire#race02_6_1";
  8121. enablenpc "Tire#race02_6_2";
  8122. enablenpc "Tire#race02_6_3";
  8123. enablenpc "Tire#race02_6_4";
  8124. enablenpc "Tire#race02_6_5";
  8125. enablenpc "Tire#race02_6_6";
  8126. }
  8127. }
  8128. else {
  8129. set $@mon_r02_luk6,.@sixthline;
  8130. enablenpc "Luk#race02_6_1";
  8131. enablenpc "Luk#race02_6_2";
  8132. enablenpc "Luk#race02_6_3";
  8133. enablenpc "Luk#race02_6_4";
  8134. set .@sixthtired,rand(0,20);
  8135. if (.@sixthtired > 9) && (.@sixthtired < 21) {
  8136. set $@mon_r02_tire6,.@sixthtired;
  8137. enablenpc "Tire#race02_6_1";
  8138. enablenpc "Tire#race02_6_2";
  8139. enablenpc "Tire#race02_6_3";
  8140. enablenpc "Tire#race02_6_4";
  8141. enablenpc "Tire#race02_6_5";
  8142. }
  8143. else {
  8144. set $@mon_r02_tire6,.@sixthtired;
  8145. enablenpc "Tire#race02_6_1";
  8146. enablenpc "Tire#race02_6_2";
  8147. enablenpc "Tire#race02_6_3";
  8148. enablenpc "Tire#race02_6_4";
  8149. enablenpc "Tire#race02_6_5";
  8150. enablenpc "Tire#race02_6_6";
  8151. }
  8152. }
  8153. end;
  8154. OnDisable:
  8155. disablenpc "TrapGlobal#race02";
  8156. donpcevent "starting#race02_1::OnDisable";
  8157. donpcevent "starting#race02_2::OnDisable";
  8158. donpcevent "starting#race02_3::OnDisable";
  8159. donpcevent "starting#race02_4::OnDisable";
  8160. donpcevent "starting#race02_5::OnDisable";
  8161. donpcevent "starting#race02_6::OnDisable";
  8162. end;
  8163. }
  8164. p_track02,56,38,0 script starting#race02_1 -1,0,0,{
  8165. end;
  8166. OnInit:
  8167. disablenpc "starting#race02_1";
  8168. end;
  8169. OnDisable:
  8170. disablenpc "starting#race02_1";
  8171. disablenpc "Luk#race02_1_1";
  8172. disablenpc "Luk#race02_1_2";
  8173. disablenpc "Luk#race02_1_3";
  8174. disablenpc "Luk#race02_1_4";
  8175. disablenpc "Luk#race02_1_5";
  8176. disablenpc "Luk#race02_1_6";
  8177. disablenpc "Tire#race02_1_1";
  8178. disablenpc "Tire#race02_1_2";
  8179. disablenpc "Tire#race02_1_3";
  8180. disablenpc "Tire#race02_1_4";
  8181. disablenpc "Tire#race02_1_5";
  8182. disablenpc "Tire#race02_1_6";
  8183. end;
  8184. OnTouchNPC:
  8185. set .@start,rand(1,100);
  8186. if (.@start > 0) && (.@start < 11) {
  8187. sc_start SC_WALKSPEED,5000,60;
  8188. }
  8189. else if (.@start > 10) && (.@start < 21) {
  8190. sc_start SC_WALKSPEED,5000,70;
  8191. }
  8192. else if (.@start > 20) && (.@start < 31) {
  8193. sc_start SC_WALKSPEED,5000,80;
  8194. }
  8195. else if (.@start > 30) && (.@start < 41) {
  8196. sc_start SC_WALKSPEED,5000,90;
  8197. }
  8198. else if (.@start > 40) && (.@start < 51) {
  8199. sc_start SC_WALKSPEED,5000,100;
  8200. }
  8201. else if (.@start > 50) && (.@start < 61) {
  8202. sc_start SC_WALKSPEED,5000,110;
  8203. }
  8204. else if (.@start > 60) && (.@start < 71) {
  8205. sc_start SC_WALKSPEED,5000,120;
  8206. }
  8207. else if (.@start > 70) && (.@start < 81) {
  8208. sc_start SC_WALKSPEED,5000,130;
  8209. }
  8210. else if (.@start > 80) && (.@start < 91) {
  8211. sc_start SC_WALKSPEED,5000,140;
  8212. }
  8213. else {
  8214. sc_start SC_WALKSPEED,5000,150;
  8215. }
  8216. end;
  8217. }
  8218. p_track02,33,38,0 script Luk#race02_1_1 -1,0,0,{
  8219. end;
  8220. OnInit:
  8221. disablenpc "Luk#race02_1_1";
  8222. end;
  8223. OnTouchNPC:
  8224. set .@start,rand(1,100);
  8225. if (.@start > 0) && (.@start < 61) {
  8226. sc_start SC_WALKSPEED,10000,110;
  8227. }
  8228. else if (.@start > 60) && (.@start < 71) {
  8229. sc_start SC_WALKSPEED,10000,120;
  8230. }
  8231. else if (.@start > 70) && (.@start < 81) {
  8232. sc_start SC_WALKSPEED,10000,130;
  8233. }
  8234. else if (.@start > 80) && (.@start < 91) {
  8235. sc_start SC_WALKSPEED,10000,140;
  8236. }
  8237. else {
  8238. sc_start SC_WALKSPEED,10000,150;
  8239. }
  8240. end;
  8241. }
  8242. p_track02,37,38,0 script Luk#race02_1_2 -1,0,0,{
  8243. end;
  8244. OnInit:
  8245. disablenpc "Luk#race02_1_2";
  8246. end;
  8247. OnTouchNPC:
  8248. set .@start,rand(1,100);
  8249. if (.@start > 0) && (.@start < 61) {
  8250. sc_start SC_WALKSPEED,10000,110;
  8251. }
  8252. else if (.@start > 60) && (.@start < 71) {
  8253. sc_start SC_WALKSPEED,10000,120;
  8254. }
  8255. else if (.@start > 70) && (.@start < 81) {
  8256. sc_start SC_WALKSPEED,10000,130;
  8257. }
  8258. else if (.@start > 80) && (.@start < 91) {
  8259. sc_start SC_WALKSPEED,10000,140;
  8260. }
  8261. else {
  8262. sc_start SC_WALKSPEED,10000,150;
  8263. }
  8264. end;
  8265. }
  8266. p_track02,53,38,0 script Luk#race02_1_3 -1,0,0,{
  8267. end;
  8268. OnInit:
  8269. disablenpc "Luk#race02_1_3";
  8270. end;
  8271. OnTouchNPC:
  8272. set .@start,rand(1,100);
  8273. if (.@start > 0) && (.@start < 61) {
  8274. sc_start SC_WALKSPEED,10000,110;
  8275. }
  8276. else if (.@start > 60) && (.@start < 71) {
  8277. sc_start SC_WALKSPEED,10000,120;
  8278. }
  8279. else if (.@start > 70) && (.@start < 81) {
  8280. sc_start SC_WALKSPEED,10000,130;
  8281. }
  8282. else if (.@start > 80) && (.@start < 91) {
  8283. sc_start SC_WALKSPEED,10000,140;
  8284. }
  8285. else {
  8286. sc_start SC_WALKSPEED,10000,150;
  8287. }
  8288. end;
  8289. }
  8290. p_track02,45,38,0 script Luk#race02_1_4 -1,0,0,{
  8291. end;
  8292. OnInit:
  8293. disablenpc "Luk#race02_1_4";
  8294. end;
  8295. OnTouchNPC:
  8296. set .@start,rand(1,100);
  8297. if (.@start > 0) && (.@start < 61) {
  8298. sc_start SC_WALKSPEED,10000,110;
  8299. }
  8300. else if (.@start > 60) && (.@start < 71) {
  8301. sc_start SC_WALKSPEED,10000,120;
  8302. }
  8303. else if (.@start > 70) && (.@start < 81) {
  8304. sc_start SC_WALKSPEED,10000,130;
  8305. }
  8306. else if (.@start > 80) && (.@start < 91) {
  8307. sc_start SC_WALKSPEED,10000,140;
  8308. }
  8309. else {
  8310. sc_start SC_WALKSPEED,10000,150;
  8311. }
  8312. end;
  8313. }
  8314. p_track02,49,38,0 script Luk#race02_1_5 -1,0,0,{
  8315. end;
  8316. OnInit:
  8317. disablenpc "Luk#race02_1_5";
  8318. end;
  8319. OnTouchNPC:
  8320. set .@start,rand(1,100);
  8321. if (.@start > 0) && (.@start < 61) {
  8322. sc_start SC_STUN,1000,0;
  8323. }
  8324. else if (.@start > 60) && (.@start < 71) {
  8325. sc_start SC_STUN,2000,0;
  8326. }
  8327. else if (.@start > 70) && (.@start < 81) {
  8328. sc_start SC_STUN,3000,0;
  8329. }
  8330. else if (.@start > 80) && (.@start < 91) {
  8331. sc_start SC_STUN,4000,0;
  8332. }
  8333. end;
  8334. }
  8335. p_track02,41,38,0 script Luk#race02_1_6 -1,0,0,{
  8336. end;
  8337. OnInit:
  8338. disablenpc "Luk#race02_1_6";
  8339. end;
  8340. OnTouchNPC:
  8341. set .@start,rand(1,100);
  8342. if (.@start > 0) && (.@start < 61) {
  8343. sc_start SC_STUN,1000,0;
  8344. }
  8345. else if (.@start > 60) && (.@start < 71) {
  8346. sc_start SC_STUN,2000,0;
  8347. }
  8348. else if (.@start > 70) && (.@start < 81) {
  8349. sc_start SC_STUN,3000,0;
  8350. }
  8351. else if (.@start > 80) && (.@start < 91) {
  8352. sc_start SC_STUN,4000,0;
  8353. }
  8354. end;
  8355. }
  8356. p_track02,43,38,0 script Tire#race02_1_1 -1,0,0,{
  8357. end;
  8358. OnInit:
  8359. disablenpc "Tire#race02_1_1";
  8360. end;
  8361. OnTouchNPC:
  8362. set .@start,rand(1,100);
  8363. if (.@start > 0) && (.@start < 61) {
  8364. sc_start SC_SLEEP,1000,0;
  8365. }
  8366. else if (.@start > 60) && (.@start < 71) {
  8367. sc_start SC_SLEEP,2000,0;
  8368. }
  8369. else if (.@start > 70) && (.@start < 81) {
  8370. sc_start SC_SLEEP,3000,0;
  8371. }
  8372. else if (.@start > 80) && (.@start < 91) {
  8373. sc_start SC_SLEEP,4000,0;
  8374. }
  8375. end;
  8376. }
  8377. p_track02,39,38,0 script Tire#race02_1_2 -1,0,0,{
  8378. end;
  8379. OnInit:
  8380. disablenpc "Tire#race02_1_2";
  8381. end;
  8382. OnTouchNPC:
  8383. set .@start,rand(1,100);
  8384. if (.@start > 0) && (.@start < 61) {
  8385. sc_start SC_SLEEP,1000,0;
  8386. }
  8387. else if (.@start > 60) && (.@start < 71) {
  8388. sc_start SC_SLEEP,2000,0;
  8389. }
  8390. else if (.@start > 70) && (.@start < 81) {
  8391. sc_start SC_SLEEP,3000,0;
  8392. }
  8393. else if (.@start > 80) && (.@start < 91) {
  8394. sc_start SC_SLEEP,4000,0;
  8395. }
  8396. end;
  8397. }
  8398. p_track02,35,38,0 script Tire#race02_1_3 -1,0,0,{
  8399. end;
  8400. OnInit:
  8401. disablenpc "Tire#race02_1_3";
  8402. end;
  8403. OnTouchNPC:
  8404. set .@start,rand(1,100);
  8405. if (.@start > 0) && (.@start < 61) {
  8406. sc_start SC_SLEEP,1000,0;
  8407. }
  8408. else if (.@start > 60) && (.@start < 71) {
  8409. sc_start SC_SLEEP,2000,0;
  8410. }
  8411. else if (.@start > 70) && (.@start < 81) {
  8412. sc_start SC_SLEEP,3000,0;
  8413. }
  8414. else if (.@start > 80) && (.@start < 91) {
  8415. sc_start SC_SLEEP,4000,0;
  8416. }
  8417. end;
  8418. }
  8419. p_track02,55,38,0 script Tire#race02_1_4 -1,0,0,{
  8420. end;
  8421. OnInit:
  8422. disablenpc "Tire#race02_1_4";
  8423. end;
  8424. OnTouchNPC:
  8425. set .@start,rand(1,100);
  8426. if (.@start > 0) && (.@start < 61) {
  8427. sc_start SC_SLEEP,1000,0;
  8428. }
  8429. else if (.@start > 60) && (.@start < 71) {
  8430. sc_start SC_SLEEP,2000,0;
  8431. }
  8432. else if (.@start > 70) && (.@start < 81) {
  8433. sc_start SC_SLEEP,3000,0;
  8434. }
  8435. else if (.@start > 80) && (.@start < 91) {
  8436. sc_start SC_SLEEP,4000,0;
  8437. }
  8438. end;
  8439. }
  8440. p_track02,51,38,0 script Tire#race02_1_5 -1,0,0,{
  8441. end;
  8442. OnInit:
  8443. disablenpc "Tire#race02_1_5";
  8444. end;
  8445. OnTouchNPC:
  8446. set .@start,rand(1,100);
  8447. if (.@start > 0) && (.@start < 61) {
  8448. sc_start SC_SLEEP,1000,0;
  8449. }
  8450. else if (.@start > 60) && (.@start < 71) {
  8451. sc_start SC_SLEEP,2000,0;
  8452. }
  8453. else if (.@start > 70) && (.@start < 81) {
  8454. sc_start SC_SLEEP,3000,0;
  8455. }
  8456. else if (.@start > 80) && (.@start < 91) {
  8457. sc_start SC_SLEEP,4000,0;
  8458. }
  8459. end;
  8460. }
  8461. p_track02,47,38,0 script Tire#race02_1_6 -1,0,0,{
  8462. end;
  8463. OnInit:
  8464. disablenpc "Tire#race02_1_6";
  8465. end;
  8466. OnTouchNPC:
  8467. set .@start,rand(1,100);
  8468. if (.@start > 0) && (.@start < 61) {
  8469. sc_start SC_SLEEP,1000,0;
  8470. }
  8471. else if (.@start > 60) && (.@start < 71) {
  8472. sc_start SC_SLEEP,2000,0;
  8473. }
  8474. else if (.@start > 70) && (.@start < 81) {
  8475. sc_start SC_SLEEP,3000,0;
  8476. }
  8477. else if (.@start > 80) && (.@start < 91) {
  8478. sc_start SC_SLEEP,4000,0;
  8479. }
  8480. end;
  8481. }
  8482. p_track02,56,36,0 script starting#race02_2 -1,0,0,{
  8483. end;
  8484. OnInit:
  8485. disablenpc "starting#race02_2";
  8486. end;
  8487. OnDisable:
  8488. disablenpc "starting#race02_2";
  8489. disablenpc "Luk#race02_2_1";
  8490. disablenpc "Luk#race02_2_1";
  8491. disablenpc "Luk#race02_2_1";
  8492. disablenpc "Luk#race02_2_4";
  8493. disablenpc "Luk#race02_2_5";
  8494. disablenpc "Luk#race02_2_6";
  8495. disablenpc "Tire#race02_2_1";
  8496. disablenpc "Tire#race02_2_2";
  8497. disablenpc "Tire#race02_2_3";
  8498. disablenpc "Tire#race02_2_4";
  8499. disablenpc "Tire#race02_2_5";
  8500. disablenpc "Tire#race02_2_6";
  8501. end;
  8502. OnTouchNPC:
  8503. set .@start,rand(1,100);
  8504. if (.@start > 0) && (.@start < 11) {
  8505. sc_start SC_WALKSPEED,5000,60;
  8506. }
  8507. else if (.@start > 10) && (.@start < 21) {
  8508. sc_start SC_WALKSPEED,5000,70;
  8509. }
  8510. else if (.@start > 20) && (.@start < 31) {
  8511. sc_start SC_WALKSPEED,5000,80;
  8512. }
  8513. else if (.@start > 30) && (.@start < 41) {
  8514. sc_start SC_WALKSPEED,5000,90;
  8515. }
  8516. else if (.@start > 40) && (.@start < 51) {
  8517. sc_start SC_WALKSPEED,5000,100;
  8518. }
  8519. else if (.@start > 50) && (.@start < 61) {
  8520. sc_start SC_WALKSPEED,5000,110;
  8521. }
  8522. else if (.@start > 60) && (.@start < 71) {
  8523. sc_start SC_WALKSPEED,5000,120;
  8524. }
  8525. else if (.@start > 70) && (.@start < 81) {
  8526. sc_start SC_WALKSPEED,5000,130;
  8527. }
  8528. else if (.@start > 80) && (.@start < 91) {
  8529. sc_start SC_WALKSPEED,5000,140;
  8530. }
  8531. else {
  8532. sc_start SC_WALKSPEED,5000,150;
  8533. }
  8534. end;
  8535. }
  8536. p_track02,33,36,0 script Luk#race02_2_1 -1,0,0,{
  8537. end;
  8538. OnInit:
  8539. disablenpc "Luk#race02_2_1";
  8540. end;
  8541. OnTouchNPC:
  8542. set .@start,rand(1,100);
  8543. if (.@start > 0) && (.@start < 61) {
  8544. sc_start SC_WALKSPEED,10000,110;
  8545. }
  8546. else if (.@start > 60) && (.@start < 71) {
  8547. sc_start SC_WALKSPEED,10000,120;
  8548. }
  8549. else if (.@start > 70) && (.@start < 81) {
  8550. sc_start SC_WALKSPEED,10000,130;
  8551. }
  8552. else if (.@start > 80) && (.@start < 91) {
  8553. sc_start SC_WALKSPEED,10000,140;
  8554. }
  8555. else {
  8556. sc_start SC_WALKSPEED,10000,150;
  8557. }
  8558. end;
  8559. }
  8560. p_track02,37,36,0 script Luk#race02_2_2 -1,0,0,{
  8561. end;
  8562. OnInit:
  8563. disablenpc "Luk#race02_2_2";
  8564. end;
  8565. OnTouchNPC:
  8566. set .@start,rand(1,100);
  8567. if (.@start > 0) && (.@start < 61) {
  8568. sc_start SC_WALKSPEED,10000,110;
  8569. }
  8570. else if (.@start > 60) && (.@start < 71) {
  8571. sc_start SC_WALKSPEED,10000,120;
  8572. }
  8573. else if (.@start > 70) && (.@start < 81) {
  8574. sc_start SC_WALKSPEED,10000,130;
  8575. }
  8576. else if (.@start > 80) && (.@start < 91) {
  8577. sc_start SC_WALKSPEED,10000,140;
  8578. }
  8579. else {
  8580. sc_start SC_WALKSPEED,10000,150;
  8581. }
  8582. end;
  8583. }
  8584. p_track02,53,36,0 script Luk#race02_2_3 -1,0,0,{
  8585. OnInit:
  8586. disablenpc "Luk#race02_2_3";
  8587. end;
  8588. OnTouchNPC:
  8589. set .@start,rand(1,100);
  8590. if (.@start > 0) && (.@start < 61) {
  8591. sc_start SC_WALKSPEED,10000,110;
  8592. }
  8593. else if (.@start > 60) && (.@start < 71) {
  8594. sc_start SC_WALKSPEED,10000,120;
  8595. }
  8596. else if (.@start > 70) && (.@start < 81) {
  8597. sc_start SC_WALKSPEED,10000,130;
  8598. }
  8599. else if (.@start > 80) && (.@start < 91) {
  8600. sc_start SC_WALKSPEED,10000,140;
  8601. }
  8602. else {
  8603. sc_start SC_WALKSPEED,10000,150;
  8604. }
  8605. end;
  8606. }
  8607. p_track02,45,36,0 script Luk#race02_2_4 -1,0,0,{
  8608. end;
  8609. OnInit:
  8610. disablenpc "Luk#race02_2_4";
  8611. end;
  8612. OnTouchNPC:
  8613. set .@start,rand(1,100);
  8614. if (.@start > 0) && (.@start < 61) {
  8615. sc_start SC_WALKSPEED,10000,110;
  8616. }
  8617. else if (.@start > 60) && (.@start < 71) {
  8618. sc_start SC_WALKSPEED,10000,120;
  8619. }
  8620. else if (.@start > 70) && (.@start < 81) {
  8621. sc_start SC_WALKSPEED,10000,130;
  8622. }
  8623. else if (.@start > 80) && (.@start < 91) {
  8624. sc_start SC_WALKSPEED,10000,140;
  8625. }
  8626. else {
  8627. sc_start SC_WALKSPEED,10000,150;
  8628. }
  8629. end;
  8630. }
  8631. p_track02,49,36,0 script Luk#race02_2_5 -1,0,0,{
  8632. end;
  8633. OnInit:
  8634. disablenpc "Luk#race02_2_5";
  8635. end;
  8636. OnTouchNPC:
  8637. set .@start,rand(1,100);
  8638. if (.@start > 0) && (.@start < 61) {
  8639. sc_start SC_STUN,1000,0;
  8640. }
  8641. else if (.@start > 60) && (.@start < 71) {
  8642. sc_start SC_STUN,2000,0;
  8643. }
  8644. else if (.@start > 70) && (.@start < 81) {
  8645. sc_start SC_STUN,3000,0;
  8646. }
  8647. else if (.@start > 80) && (.@start < 91) {
  8648. sc_start SC_STUN,4000,0;
  8649. }
  8650. end;
  8651. }
  8652. p_track02,41,36,0 script Luk#race02_2_6 -1,0,0,{
  8653. end;
  8654. OnInit:
  8655. disablenpc "Luk#race02_2_6";
  8656. end;
  8657. OnTouchNPC:
  8658. set .@start,rand(1,100);
  8659. if (.@start > 0) && (.@start < 61) {
  8660. sc_start SC_STUN,1000,0;
  8661. }
  8662. else if (.@start > 60) && (.@start < 71) {
  8663. sc_start SC_STUN,2000,0;
  8664. }
  8665. else if (.@start > 70) && (.@start < 81) {
  8666. sc_start SC_STUN,3000,0;
  8667. }
  8668. else if (.@start > 80) && (.@start < 91) {
  8669. sc_start SC_STUN,4000,0;
  8670. }
  8671. end;
  8672. }
  8673. p_track02,43,36,0 script Tire#race02_2_1 -1,0,0,{
  8674. end;
  8675. OnInit:
  8676. disablenpc "Tire#race02_2_1";
  8677. end;
  8678. OnTouchNPC:
  8679. set .@start,rand(1,100);
  8680. if (.@start > 0) && (.@start < 61) {
  8681. sc_start SC_SLEEP,1000,0;
  8682. }
  8683. else if (.@start > 60) && (.@start < 71) {
  8684. sc_start SC_SLEEP,2000,0;
  8685. }
  8686. else if (.@start > 70) && (.@start < 81) {
  8687. sc_start SC_SLEEP,3000,0;
  8688. }
  8689. else if (.@start > 80) && (.@start < 91) {
  8690. sc_start SC_SLEEP,4000,0;
  8691. }
  8692. end;
  8693. }
  8694. p_track02,39,36,0 script Tire#race02_2_2 -1,0,0,{
  8695. end;
  8696. OnInit:
  8697. disablenpc "Tire#race02_2_2";
  8698. end;
  8699. OnTouchNPC:
  8700. set .@start,rand(1,100);
  8701. if (.@start > 0) && (.@start < 61) {
  8702. sc_start SC_SLEEP,1000,0;
  8703. }
  8704. else if (.@start > 60) && (.@start < 71) {
  8705. sc_start SC_SLEEP,2000,0;
  8706. }
  8707. else if (.@start > 70) && (.@start < 81) {
  8708. sc_start SC_SLEEP,3000,0;
  8709. }
  8710. else if (.@start > 80) && (.@start < 91) {
  8711. sc_start SC_SLEEP,4000,0;
  8712. }
  8713. end;
  8714. }
  8715. p_track02,35,36,0 script Tire#race02_2_3 -1,0,0,{
  8716. end;
  8717. OnInit:
  8718. disablenpc "Tire#race02_2_3";
  8719. end;
  8720. OnTouchNPC:
  8721. set .@start,rand(1,100);
  8722. if (.@start > 0) && (.@start < 61) {
  8723. sc_start SC_SLEEP,1000,0;
  8724. }
  8725. else if (.@start > 60) && (.@start < 71) {
  8726. sc_start SC_SLEEP,2000,0;
  8727. }
  8728. else if (.@start > 70) && (.@start < 81) {
  8729. sc_start SC_SLEEP,3000,0;
  8730. }
  8731. else if (.@start > 80) && (.@start < 91) {
  8732. sc_start SC_SLEEP,4000,0;
  8733. }
  8734. end;
  8735. }
  8736. p_track02,55,36,0 script Tire#race02_2_4 -1,0,0,{
  8737. end;
  8738. OnInit:
  8739. disablenpc "Tire#race02_2_4";
  8740. end;
  8741. OnTouchNPC:
  8742. set .@start,rand(1,100);
  8743. if (.@start > 0) && (.@start < 61) {
  8744. sc_start SC_SLEEP,1000,0;
  8745. }
  8746. else if (.@start > 60) && (.@start < 71) {
  8747. sc_start SC_SLEEP,2000,0;
  8748. }
  8749. else if (.@start > 70) && (.@start < 81) {
  8750. sc_start SC_SLEEP,3000,0;
  8751. }
  8752. else if (.@start > 80) && (.@start < 91) {
  8753. sc_start SC_SLEEP,4000,0;
  8754. }
  8755. end;
  8756. }
  8757. p_track02,51,36,0 script Tire#race02_2_5 -1,0,0,{
  8758. end;
  8759. OnInit:
  8760. disablenpc "Tire#race02_2_5";
  8761. end;
  8762. OnTouchNPC:
  8763. set .@start,rand(1,100);
  8764. if (.@start > 0) && (.@start < 61) {
  8765. sc_start SC_SLEEP,1000,0;
  8766. }
  8767. else if (.@start > 60) && (.@start < 71) {
  8768. sc_start SC_SLEEP,2000,0;
  8769. }
  8770. else if (.@start > 70) && (.@start < 81) {
  8771. sc_start SC_SLEEP,3000,0;
  8772. }
  8773. else if (.@start > 80) && (.@start < 91) {
  8774. sc_start SC_SLEEP,4000,0;
  8775. }
  8776. end;
  8777. }
  8778. p_track02,47,36,0 script Tire#race02_2_6 -1,0,0,{
  8779. end;
  8780. OnInit:
  8781. disablenpc "Tire#race02_2_6";
  8782. end;
  8783. OnTouchNPC:
  8784. set .@start,rand(1,100);
  8785. if (.@start > 0) && (.@start < 61) {
  8786. sc_start SC_SLEEP,1000,0;
  8787. }
  8788. else if (.@start > 60) && (.@start < 71) {
  8789. sc_start SC_SLEEP,2000,0;
  8790. }
  8791. else if (.@start > 70) && (.@start < 81) {
  8792. sc_start SC_SLEEP,3000,0;
  8793. }
  8794. else if (.@start > 80) && (.@start < 91) {
  8795. sc_start SC_SLEEP,4000,0;
  8796. }
  8797. end;
  8798. }
  8799. p_track02,56,34,0 script starting#race02_3 -1,0,0,{
  8800. end;
  8801. OnInit:
  8802. disablenpc "starting#race02_3";
  8803. end;
  8804. OnDisable:
  8805. disablenpc "starting#race02_3";
  8806. disablenpc "Luk#race02_3_1";
  8807. disablenpc "Luk#race02_3_2";
  8808. disablenpc "Luk#race02_3_3";
  8809. disablenpc "Luk#race02_3_4";
  8810. disablenpc "Luk#race02_3_5";
  8811. disablenpc "Luk#race02_3_6";
  8812. disablenpc "Tire#race02_3_1";
  8813. disablenpc "Tire#race02_3_2";
  8814. disablenpc "Tire#race02_3_3";
  8815. disablenpc "Tire#race02_3_4";
  8816. disablenpc "Tire#race02_3_5";
  8817. disablenpc "Tire#race02_3_6";
  8818. end;
  8819. OnTouchNPC:
  8820. set .@start,rand(1,100);
  8821. if (.@start > 0) && (.@start < 11) {
  8822. sc_start SC_WALKSPEED,5000,60;
  8823. }
  8824. else if (.@start > 10) && (.@start < 21) {
  8825. sc_start SC_WALKSPEED,5000,70;
  8826. }
  8827. else if (.@start > 20) && (.@start < 31) {
  8828. sc_start SC_WALKSPEED,5000,80;
  8829. }
  8830. else if (.@start > 30) && (.@start < 41) {
  8831. sc_start SC_WALKSPEED,5000,90;
  8832. }
  8833. else if (.@start > 40) && (.@start < 51) {
  8834. sc_start SC_WALKSPEED,5000,100;
  8835. }
  8836. else if (.@start > 50) && (.@start < 61) {
  8837. sc_start SC_WALKSPEED,5000,110;
  8838. }
  8839. else if (.@start > 60) && (.@start < 71) {
  8840. sc_start SC_WALKSPEED,5000,120;
  8841. }
  8842. else if (.@start > 70) && (.@start < 81) {
  8843. sc_start SC_WALKSPEED,5000,130;
  8844. }
  8845. else if (.@start > 80) && (.@start < 91) {
  8846. sc_start SC_WALKSPEED,5000,140;
  8847. }
  8848. else {
  8849. sc_start SC_WALKSPEED,5000,150;
  8850. }
  8851. end;
  8852. }
  8853. p_track02,33,34,0 script Luk#race02_3_1 -1,0,0,{
  8854. end;
  8855. OnInit:
  8856. disablenpc "Luk#race02_3_1";
  8857. end;
  8858. OnTouchNPC:
  8859. set .@start,rand(1,100);
  8860. if (.@start > 0) && (.@start < 61) {
  8861. sc_start SC_WALKSPEED,10000,110;
  8862. }
  8863. else if (.@start > 60) && (.@start < 71) {
  8864. sc_start SC_WALKSPEED,10000,120;
  8865. }
  8866. else if (.@start > 70) && (.@start < 81) {
  8867. sc_start SC_WALKSPEED,10000,130;
  8868. }
  8869. else if (.@start > 80) && (.@start < 91) {
  8870. sc_start SC_WALKSPEED,10000,140;
  8871. }
  8872. else {
  8873. sc_start SC_WALKSPEED,10000,150;
  8874. }
  8875. end;
  8876. }
  8877. p_track02,37,34,0 script Luk#race02_3_2 -1,0,0,{
  8878. end;
  8879. OnInit:
  8880. disablenpc "Luk#race02_3_2";
  8881. end;
  8882. OnTouchNPC:
  8883. set .@start,rand(1,100);
  8884. if (.@start > 0) && (.@start < 61) {
  8885. sc_start SC_WALKSPEED,10000,110;
  8886. }
  8887. else if (.@start > 60) && (.@start < 71) {
  8888. sc_start SC_WALKSPEED,10000,120;
  8889. }
  8890. else if (.@start > 70) && (.@start < 81) {
  8891. sc_start SC_WALKSPEED,10000,130;
  8892. }
  8893. else if (.@start > 80) && (.@start < 91) {
  8894. sc_start SC_WALKSPEED,10000,140;
  8895. }
  8896. else {
  8897. sc_start SC_WALKSPEED,10000,150;
  8898. }
  8899. end;
  8900. }
  8901. p_track02,53,34,0 script Luk#race02_3_3 -1,0,0,{
  8902. end;
  8903. OnInit:
  8904. disablenpc "Luk#race02_3_3";
  8905. end;
  8906. OnTouchNPC:
  8907. set .@start,rand(1,100);
  8908. if (.@start > 0) && (.@start < 61) {
  8909. sc_start SC_WALKSPEED,10000,110;
  8910. }
  8911. else if (.@start > 60) && (.@start < 71) {
  8912. sc_start SC_WALKSPEED,10000,120;
  8913. }
  8914. else if (.@start > 70) && (.@start < 81) {
  8915. sc_start SC_WALKSPEED,10000,130;
  8916. }
  8917. else if (.@start > 80) && (.@start < 91) {
  8918. sc_start SC_WALKSPEED,10000,140;
  8919. }
  8920. else {
  8921. sc_start SC_WALKSPEED,10000,150;
  8922. }
  8923. end;
  8924. }
  8925. p_track02,45,34,0 script Luk#race02_3_4 -1,0,0,{
  8926. end;
  8927. OnInit:
  8928. disablenpc "Luk#race02_3_4";
  8929. end;
  8930. OnTouchNPC:
  8931. set .@start,rand(1,100);
  8932. if (.@start > 0) && (.@start < 61) {
  8933. sc_start SC_WALKSPEED,10000,110;
  8934. }
  8935. else if (.@start > 60) && (.@start < 71) {
  8936. sc_start SC_WALKSPEED,10000,120;
  8937. }
  8938. else if (.@start > 70) && (.@start < 81) {
  8939. sc_start SC_WALKSPEED,10000,130;
  8940. }
  8941. else if (.@start > 80) && (.@start < 91) {
  8942. sc_start SC_WALKSPEED,10000,140;
  8943. }
  8944. else {
  8945. sc_start SC_WALKSPEED,10000,150;
  8946. }
  8947. end;
  8948. }
  8949. p_track02,49,34,0 script Luk#race02_3_5 -1,0,0,{
  8950. end;
  8951. OnInit:
  8952. disablenpc "Luk#race02_3_5";
  8953. end;
  8954. OnTouchNPC:
  8955. set .@start,rand(1,100);
  8956. if (.@start > 0) && (.@start < 61) {
  8957. sc_start SC_STUN,1000,0;
  8958. }
  8959. else if (.@start > 60) && (.@start < 71) {
  8960. sc_start SC_STUN,2000,0;
  8961. }
  8962. else if (.@start > 70) && (.@start < 81) {
  8963. sc_start SC_STUN,3000,0;
  8964. }
  8965. else if (.@start > 80) && (.@start < 91) {
  8966. sc_start SC_STUN,4000,0;
  8967. }
  8968. end;
  8969. }
  8970. p_track02,41,34,0 script Luk#race02_3_6 -1,0,0,{
  8971. end;
  8972. OnInit:
  8973. disablenpc "Luk#race02_3_6";
  8974. end;
  8975. OnTouchNPC:
  8976. set .@start,rand(1,100);
  8977. if (.@start > 0) && (.@start < 61) {
  8978. sc_start SC_STUN,1000,0;
  8979. }
  8980. else if (.@start > 60) && (.@start < 71) {
  8981. sc_start SC_STUN,2000,0;
  8982. }
  8983. else if (.@start > 70) && (.@start < 81) {
  8984. sc_start SC_STUN,3000,0;
  8985. }
  8986. else if (.@start > 80) && (.@start < 91) {
  8987. sc_start SC_STUN,4000,0;
  8988. }
  8989. end;
  8990. }
  8991. p_track02,43,34,0 script Tire#race02_3_1 -1,0,0,{
  8992. end;
  8993. OnInit:
  8994. disablenpc "Tire#race02_3_1";
  8995. end;
  8996. OnTouchNPC:
  8997. set .@start,rand(1,100);
  8998. if (.@start > 0) && (.@start < 61) {
  8999. sc_start SC_SLEEP,1000,0;
  9000. }
  9001. else if (.@start > 60) && (.@start < 71) {
  9002. sc_start SC_SLEEP,2000,0;
  9003. }
  9004. else if (.@start > 70) && (.@start < 81) {
  9005. sc_start SC_SLEEP,3000,0;
  9006. }
  9007. else if (.@start > 80) && (.@start < 91) {
  9008. sc_start SC_SLEEP,4000,0;
  9009. }
  9010. end;
  9011. }
  9012. p_track02,39,34,0 script Tire#race02_3_2 -1,0,0,{
  9013. end;
  9014. OnInit:
  9015. disablenpc "Tire#race02_3_2";
  9016. end;
  9017. OnTouchNPC:
  9018. set .@start,rand(1,100);
  9019. if (.@start > 0) && (.@start < 61) {
  9020. sc_start SC_SLEEP,1000,0;
  9021. }
  9022. else if (.@start > 60) && (.@start < 71) {
  9023. sc_start SC_SLEEP,2000,0;
  9024. }
  9025. else if (.@start > 70) && (.@start < 81) {
  9026. sc_start SC_SLEEP,3000,0;
  9027. }
  9028. else if (.@start > 80) && (.@start < 91) {
  9029. sc_start SC_SLEEP,4000,0;
  9030. }
  9031. end;
  9032. }
  9033. p_track02,35,34,0 script Tire#race02_3_3 -1,0,0,{
  9034. end;
  9035. OnInit:
  9036. disablenpc "Tire#race02_3_3";
  9037. end;
  9038. OnTouchNPC:
  9039. set .@start,rand(1,100);
  9040. if (.@start > 0) && (.@start < 61) {
  9041. sc_start SC_SLEEP,1000,0;
  9042. }
  9043. else if (.@start > 60) && (.@start < 71) {
  9044. sc_start SC_SLEEP,2000,0;
  9045. }
  9046. else if (.@start > 70) && (.@start < 81) {
  9047. sc_start SC_SLEEP,3000,0;
  9048. }
  9049. else if (.@start > 80) && (.@start < 91) {
  9050. sc_start SC_SLEEP,4000,0;
  9051. }
  9052. end;
  9053. }
  9054. p_track02,55,34,0 script Tire#race02_3_4 -1,0,0,{
  9055. end;
  9056. OnInit:
  9057. disablenpc "Tire#race02_3_4";
  9058. end;
  9059. OnTouchNPC:
  9060. set .@start,rand(1,100);
  9061. if (.@start > 0) && (.@start < 61) {
  9062. sc_start SC_SLEEP,1000,0;
  9063. }
  9064. else if (.@start > 60) && (.@start < 71) {
  9065. sc_start SC_SLEEP,2000,0;
  9066. }
  9067. else if (.@start > 70) && (.@start < 81) {
  9068. sc_start SC_SLEEP,3000,0;
  9069. }
  9070. else if (.@start > 80) && (.@start < 91) {
  9071. sc_start SC_SLEEP,4000,0;
  9072. }
  9073. end;
  9074. }
  9075. p_track02,51,34,0 script Tire#race02_3_5 -1,0,0,{
  9076. end;
  9077. OnInit:
  9078. disablenpc "Tire#race02_3_5";
  9079. end;
  9080. OnTouchNPC:
  9081. set .@start,rand(1,100);
  9082. if (.@start > 0) && (.@start < 61) {
  9083. sc_start SC_SLEEP,1000,0;
  9084. }
  9085. else if (.@start > 60) && (.@start < 71) {
  9086. sc_start SC_SLEEP,2000,0;
  9087. }
  9088. else if (.@start > 70) && (.@start < 81) {
  9089. sc_start SC_SLEEP,3000,0;
  9090. }
  9091. else if (.@start > 80) && (.@start < 91) {
  9092. sc_start SC_SLEEP,4000,0;
  9093. }
  9094. end;
  9095. }
  9096. p_track02,47,34,0 script Tire#race02_3_6 -1,0,0,{
  9097. end;
  9098. OnInit:
  9099. disablenpc "Tire#race02_3_6";
  9100. end;
  9101. OnTouchNPC:
  9102. set .@start,rand(1,100);
  9103. if (.@start > 0) && (.@start < 61) {
  9104. sc_start SC_SLEEP,1000,0;
  9105. }
  9106. else if (.@start > 60) && (.@start < 71) {
  9107. sc_start SC_SLEEP,2000,0;
  9108. }
  9109. else if (.@start > 70) && (.@start < 81) {
  9110. sc_start SC_SLEEP,3000,0;
  9111. }
  9112. else if (.@start > 80) && (.@start < 91) {
  9113. sc_start SC_SLEEP,4000,0;
  9114. }
  9115. end;
  9116. }
  9117. p_track02,56,32,0 script starting#race02_4 -1,0,0,{
  9118. end;
  9119. OnInit:
  9120. disablenpc "starting#race02_4";
  9121. end;
  9122. OnEnable:
  9123. enablenpc "starting#race02_4";
  9124. end;
  9125. OnDisable:
  9126. disablenpc "starting#race02_4";
  9127. disablenpc "Luk#race02_4_1";
  9128. disablenpc "Luk#race02_4_2";
  9129. disablenpc "Luk#race02_4_3";
  9130. disablenpc "Luk#race02_4_4";
  9131. disablenpc "Luk#race02_4_5";
  9132. disablenpc "Luk#race02_4_6";
  9133. disablenpc "Tire#race02_4_1";
  9134. disablenpc "Tire#race02_4_2";
  9135. disablenpc "Tire#race02_4_3";
  9136. disablenpc "Tire#race02_4_4";
  9137. disablenpc "Tire#race02_4_5";
  9138. disablenpc "Tire#race02_4_6";
  9139. end;
  9140. OnTouchNPC:
  9141. set .@start,rand(1,100);
  9142. if (.@start > 0) && (.@start < 11) {
  9143. sc_start SC_WALKSPEED,5000,60;
  9144. }
  9145. else if (.@start > 10) && (.@start < 21) {
  9146. sc_start SC_WALKSPEED,5000,70;
  9147. }
  9148. else if (.@start > 20) && (.@start < 31) {
  9149. sc_start SC_WALKSPEED,5000,80;
  9150. }
  9151. else if (.@start > 30) && (.@start < 41) {
  9152. sc_start SC_WALKSPEED,5000,90;
  9153. }
  9154. else if (.@start > 40) && (.@start < 51) {
  9155. sc_start SC_WALKSPEED,5000,100;
  9156. }
  9157. else if (.@start > 50) && (.@start < 61) {
  9158. sc_start SC_WALKSPEED,5000,110;
  9159. }
  9160. else if (.@start > 60) && (.@start < 71) {
  9161. sc_start SC_WALKSPEED,5000,120;
  9162. }
  9163. else if (.@start > 70) && (.@start < 81) {
  9164. sc_start SC_WALKSPEED,5000,130;
  9165. }
  9166. else if (.@start > 80) && (.@start < 91) {
  9167. sc_start SC_WALKSPEED,5000,140;
  9168. }
  9169. else {
  9170. sc_start SC_WALKSPEED,5000,150;
  9171. }
  9172. end;
  9173. }
  9174. p_track02,33,32,0 script Luk#race02_4_1 -1,0,0,{
  9175. end;
  9176. OnInit:
  9177. disablenpc "Luk#race02_4_1";
  9178. end;
  9179. OnTouchNPC:
  9180. set .@start,rand(1,100);
  9181. if (.@start > 0) && (.@start < 61) {
  9182. sc_start SC_WALKSPEED,10000,110;
  9183. }
  9184. else if (.@start > 60) && (.@start < 71) {
  9185. sc_start SC_WALKSPEED,10000,120;
  9186. }
  9187. else if (.@start > 70) && (.@start < 81) {
  9188. sc_start SC_WALKSPEED,10000,130;
  9189. }
  9190. else if (.@start > 80) && (.@start < 91) {
  9191. sc_start SC_WALKSPEED,10000,140;
  9192. }
  9193. else {
  9194. sc_start SC_WALKSPEED,10000,150;
  9195. }
  9196. end;
  9197. }
  9198. p_track02,37,32,0 script Luk#race02_4_2 -1,0,0,{
  9199. end;
  9200. OnInit:
  9201. disablenpc "Luk#race02_4_2";
  9202. end;
  9203. OnTouchNPC:
  9204. set .@start,rand(1,100);
  9205. if (.@start > 0) && (.@start < 61) {
  9206. sc_start SC_WALKSPEED,10000,110;
  9207. }
  9208. else if (.@start > 60) && (.@start < 71) {
  9209. sc_start SC_WALKSPEED,10000,120;
  9210. }
  9211. else if (.@start > 70) && (.@start < 81) {
  9212. sc_start SC_WALKSPEED,10000,130;
  9213. }
  9214. else if (.@start > 80) && (.@start < 91) {
  9215. sc_start SC_WALKSPEED,10000,140;
  9216. }
  9217. else {
  9218. sc_start SC_WALKSPEED,10000,150;
  9219. }
  9220. end;
  9221. }
  9222. p_track02,53,32,0 script Luk#race02_4_3 -1,0,0,{
  9223. end;
  9224. OnInit:
  9225. disablenpc "Luk#race02_4_3";
  9226. end;
  9227. OnTouchNPC:
  9228. set .@start,rand(1,100);
  9229. if (.@start > 0) && (.@start < 61) {
  9230. sc_start SC_WALKSPEED,10000,110;
  9231. }
  9232. else if (.@start > 60) && (.@start < 71) {
  9233. sc_start SC_WALKSPEED,10000,120;
  9234. }
  9235. else if (.@start > 70) && (.@start < 81) {
  9236. sc_start SC_WALKSPEED,10000,130;
  9237. }
  9238. else if (.@start > 80) && (.@start < 91) {
  9239. sc_start SC_WALKSPEED,10000,140;
  9240. }
  9241. else {
  9242. sc_start SC_WALKSPEED,10000,150;
  9243. }
  9244. end;
  9245. }
  9246. p_track02,45,32,0 script Luk#race02_4_4 -1,0,0,{
  9247. end;
  9248. OnInit:
  9249. disablenpc "Luk#race02_4_4";
  9250. end;
  9251. OnTouchNPC:
  9252. set .@start,rand(1,100);
  9253. if (.@start > 0) && (.@start < 61) {
  9254. sc_start SC_WALKSPEED,10000,110;
  9255. }
  9256. else if (.@start > 60) && (.@start < 71) {
  9257. sc_start SC_WALKSPEED,10000,120;
  9258. }
  9259. else if (.@start > 70) && (.@start < 81) {
  9260. sc_start SC_WALKSPEED,10000,130;
  9261. }
  9262. else if (.@start > 80) && (.@start < 91) {
  9263. sc_start SC_WALKSPEED,10000,140;
  9264. }
  9265. else {
  9266. sc_start SC_WALKSPEED,10000,150;
  9267. }
  9268. end;
  9269. }
  9270. p_track02,49,32,0 script Luk#race02_4_5 -1,0,0,{
  9271. end;
  9272. OnInit:
  9273. disablenpc "Luk#race02_4_5";
  9274. end;
  9275. OnTouchNPC:
  9276. set .@start,rand(1,100);
  9277. if (.@start > 0) && (.@start < 61) {
  9278. sc_start SC_STUN,1000,0;
  9279. }
  9280. else if (.@start > 60) && (.@start < 71) {
  9281. sc_start SC_STUN,2000,0;
  9282. }
  9283. else if (.@start > 70) && (.@start < 81) {
  9284. sc_start SC_STUN,3000,0;
  9285. }
  9286. else if (.@start > 80) && (.@start < 91) {
  9287. sc_start SC_STUN,4000,0;
  9288. }
  9289. end;
  9290. }
  9291. p_track02,41,32,0 script Luk#race02_4_6 -1,0,0,{
  9292. end;
  9293. OnInit:
  9294. disablenpc "Luk#race02_4_6";
  9295. end;
  9296. OnTouchNPC:
  9297. set .@start,rand(1,100);
  9298. if (.@start > 0) && (.@start < 61) {
  9299. sc_start SC_STUN,1000,0;
  9300. }
  9301. else if (.@start > 60) && (.@start < 71) {
  9302. sc_start SC_STUN,2000,0;
  9303. }
  9304. else if (.@start > 70) && (.@start < 81) {
  9305. sc_start SC_STUN,3000,0;
  9306. }
  9307. else if (.@start > 80) && (.@start < 91) {
  9308. sc_start SC_STUN,4000,0;
  9309. }
  9310. end;
  9311. }
  9312. p_track02,43,32,0 script Tire#race02_4_1 -1,0,0,{
  9313. end;
  9314. OnInit:
  9315. disablenpc "Tire#race02_4_1";
  9316. end;
  9317. OnTouchNPC:
  9318. set .@start,rand(1,100);
  9319. if (.@start > 0) && (.@start < 61) {
  9320. sc_start SC_SLEEP,1000,0;
  9321. }
  9322. else if (.@start > 60) && (.@start < 71) {
  9323. sc_start SC_SLEEP,2000,0;
  9324. }
  9325. else if (.@start > 70) && (.@start < 81) {
  9326. sc_start SC_SLEEP,3000,0;
  9327. }
  9328. else if (.@start > 80) && (.@start < 91) {
  9329. sc_start SC_SLEEP,4000,0;
  9330. }
  9331. end;
  9332. }
  9333. p_track02,39,32,0 script Tire#race02_4_2 -1,0,0,{
  9334. end;
  9335. OnInit:
  9336. disablenpc "Tire#race02_4_2";
  9337. end;
  9338. OnTouchNPC:
  9339. set .@start,rand(1,100);
  9340. if (.@start > 0) && (.@start < 61) {
  9341. sc_start SC_SLEEP,1000,0;
  9342. }
  9343. else if (.@start > 60) && (.@start < 71) {
  9344. sc_start SC_SLEEP,2000,0;
  9345. }
  9346. else if (.@start > 70) && (.@start < 81) {
  9347. sc_start SC_SLEEP,3000,0;
  9348. }
  9349. else if (.@start > 80) && (.@start < 91) {
  9350. sc_start SC_SLEEP,4000,0;
  9351. }
  9352. end;
  9353. }
  9354. p_track02,35,32,0 script Tire#race02_4_3 -1,0,0,{
  9355. end;
  9356. OnInit:
  9357. disablenpc "Tire#race02_4_3";
  9358. end;
  9359. OnTouchNPC:
  9360. set .@start,rand(1,100);
  9361. if (.@start > 0) && (.@start < 61) {
  9362. sc_start SC_SLEEP,1000,0;
  9363. }
  9364. else if (.@start > 60) && (.@start < 71) {
  9365. sc_start SC_SLEEP,2000,0;
  9366. }
  9367. else if (.@start > 70) && (.@start < 81) {
  9368. sc_start SC_SLEEP,3000,0;
  9369. }
  9370. else if (.@start > 80) && (.@start < 91) {
  9371. sc_start SC_SLEEP,4000,0;
  9372. }
  9373. end;
  9374. }
  9375. p_track02,55,32,0 script Tire#race02_4_4 -1,0,0,{
  9376. end;
  9377. OnInit:
  9378. disablenpc "Tire#race02_4_4";
  9379. end;
  9380. OnTouchNPC:
  9381. set .@start,rand(1,100);
  9382. if (.@start > 0) && (.@start < 61) {
  9383. sc_start SC_SLEEP,1000,0;
  9384. }
  9385. else if (.@start > 60) && (.@start < 71) {
  9386. sc_start SC_SLEEP,2000,0;
  9387. }
  9388. else if (.@start > 70) && (.@start < 81) {
  9389. sc_start SC_SLEEP,3000,0;
  9390. }
  9391. else if (.@start > 80) && (.@start < 91) {
  9392. sc_start SC_SLEEP,4000,0;
  9393. }
  9394. end;
  9395. }
  9396. p_track02,51,32,0 script Tire#race02_4_5 -1,0,0,{
  9397. end;
  9398. OnInit:
  9399. disablenpc "Tire#race02_4_5";
  9400. end;
  9401. OnTouchNPC:
  9402. set .@start,rand(1,100);
  9403. if (.@start > 0) && (.@start < 61) {
  9404. sc_start SC_SLEEP,1000,0;
  9405. }
  9406. else if (.@start > 60) && (.@start < 71) {
  9407. sc_start SC_SLEEP,2000,0;
  9408. }
  9409. else if (.@start > 70) && (.@start < 81) {
  9410. sc_start SC_SLEEP,3000,0;
  9411. }
  9412. else if (.@start > 80) && (.@start < 91) {
  9413. sc_start SC_SLEEP,4000,0;
  9414. }
  9415. end;
  9416. }
  9417. p_track02,47,32,0 script Tire#race02_4_6 -1,0,0,{
  9418. end;
  9419. OnInit:
  9420. disablenpc "Tire#race02_4_6";
  9421. end;
  9422. OnTouchNPC:
  9423. set .@start,rand(1,100);
  9424. if (.@start > 0) && (.@start < 61) {
  9425. sc_start SC_SLEEP,1000,0;
  9426. }
  9427. else if (.@start > 60) && (.@start < 71) {
  9428. sc_start SC_SLEEP,2000,0;
  9429. }
  9430. else if (.@start > 70) && (.@start < 81) {
  9431. sc_start SC_SLEEP,3000,0;
  9432. }
  9433. else if (.@start > 80) && (.@start < 91) {
  9434. sc_start SC_SLEEP,4000,0;
  9435. }
  9436. end;
  9437. }
  9438. p_track02,56,30,0 script starting#race02_5 -1,0,0,{
  9439. end;
  9440. OnInit:
  9441. disablenpc "starting#race02_5";
  9442. end;
  9443. OnEnable:
  9444. enablenpc "starting#race02_5";
  9445. end;
  9446. OnDisable:
  9447. disablenpc "starting#race02_5";
  9448. disablenpc "Luk#race02_5_1";
  9449. disablenpc "Luk#race02_5_2";
  9450. disablenpc "Luk#race02_5_3";
  9451. disablenpc "Luk#race02_5_4";
  9452. disablenpc "Luk#race02_5_5";
  9453. disablenpc "Luk#race02_5_6";
  9454. disablenpc "Tire#race02_5_1";
  9455. disablenpc "Tire#race02_5_2";
  9456. disablenpc "Tire#race02_5_3";
  9457. disablenpc "Tire#race02_5_4";
  9458. disablenpc "Tire#race02_5_5";
  9459. disablenpc "Tire#race02_5_6";
  9460. end;
  9461. OnTouchNPC:
  9462. set .@start,rand(1,100);
  9463. if (.@start > 0) && (.@start < 11) {
  9464. sc_start SC_WALKSPEED,5000,60;
  9465. }
  9466. else if (.@start > 10) && (.@start < 21) {
  9467. sc_start SC_WALKSPEED,5000,70;
  9468. }
  9469. else if (.@start > 20) && (.@start < 31) {
  9470. sc_start SC_WALKSPEED,5000,80;
  9471. }
  9472. else if (.@start > 30) && (.@start < 41) {
  9473. sc_start SC_WALKSPEED,5000,90;
  9474. }
  9475. else if (.@start > 40) && (.@start < 51) {
  9476. sc_start SC_WALKSPEED,5000,100;
  9477. }
  9478. else if (.@start > 50) && (.@start < 61) {
  9479. sc_start SC_WALKSPEED,5000,110;
  9480. }
  9481. else if (.@start > 60) && (.@start < 71) {
  9482. sc_start SC_WALKSPEED,5000,120;
  9483. }
  9484. else if (.@start > 70) && (.@start < 81) {
  9485. sc_start SC_WALKSPEED,5000,130;
  9486. }
  9487. else if (.@start > 80) && (.@start < 91) {
  9488. sc_start SC_WALKSPEED,5000,140;
  9489. }
  9490. else {
  9491. sc_start SC_WALKSPEED,5000,150;
  9492. }
  9493. end;
  9494. }
  9495. p_track02,33,30,0 script Luk#race02_5_1 -1,0,0,{
  9496. end;
  9497. OnInit:
  9498. disablenpc "Luk#race02_5_1";
  9499. end;
  9500. OnEnable:
  9501. enablenpc "Luk#race02_5_1";
  9502. end;
  9503. OnDisable:
  9504. disablenpc "Luk#race02_5_1";
  9505. end;
  9506. OnTouchNPC:
  9507. set .@start,rand(1,100);
  9508. if (.@start > 0) && (.@start < 61) {
  9509. sc_start SC_WALKSPEED,10000,110;
  9510. }
  9511. else if (.@start > 60) && (.@start < 71) {
  9512. sc_start SC_WALKSPEED,10000,120;
  9513. }
  9514. else if (.@start > 70) && (.@start < 81) {
  9515. sc_start SC_WALKSPEED,10000,130;
  9516. }
  9517. else if (.@start > 80) && (.@start < 91) {
  9518. sc_start SC_WALKSPEED,10000,140;
  9519. }
  9520. else {
  9521. sc_start SC_WALKSPEED,10000,150;
  9522. }
  9523. end;
  9524. }
  9525. p_track02,37,30,0 script Luk#race02_5_2 -1,0,0,{
  9526. end;
  9527. OnInit:
  9528. disablenpc "Luk#race02_5_2";
  9529. end;
  9530. OnEnable:
  9531. enablenpc "Luk#race02_5_2";
  9532. end;
  9533. OnDisable:
  9534. disablenpc "Luk#race02_5_2";
  9535. end;
  9536. OnTouchNPC:
  9537. set .@start,rand(1,100);
  9538. if (.@start > 0) && (.@start < 61) {
  9539. sc_start SC_WALKSPEED,10000,110;
  9540. }
  9541. else if (.@start > 60) && (.@start < 71) {
  9542. sc_start SC_WALKSPEED,10000,120;
  9543. }
  9544. else if (.@start > 70) && (.@start < 81) {
  9545. sc_start SC_WALKSPEED,10000,130;
  9546. }
  9547. else if (.@start > 80) && (.@start < 91) {
  9548. sc_start SC_WALKSPEED,10000,140;
  9549. }
  9550. else {
  9551. sc_start SC_WALKSPEED,10000,150;
  9552. }
  9553. end;
  9554. }
  9555. p_track02,53,30,0 script Luk#race02_5_3 -1,0,0,{
  9556. end;
  9557. OnInit:
  9558. disablenpc "Luk#race02_5_3";
  9559. end;
  9560. OnEnable:
  9561. enablenpc "Luk#race02_5_3";
  9562. end;
  9563. OnDisable:
  9564. disablenpc "Luk#race02_5_3";
  9565. end;
  9566. OnTouchNPC:
  9567. set .@start,rand(1,100);
  9568. if (.@start > 0) && (.@start < 61) {
  9569. sc_start SC_WALKSPEED,10000,110;
  9570. }
  9571. else if (.@start > 60) && (.@start < 71) {
  9572. sc_start SC_WALKSPEED,10000,120;
  9573. }
  9574. else if (.@start > 70) && (.@start < 81) {
  9575. sc_start SC_WALKSPEED,10000,130;
  9576. }
  9577. else if (.@start > 80) && (.@start < 91) {
  9578. sc_start SC_WALKSPEED,10000,140;
  9579. }
  9580. else {
  9581. sc_start SC_WALKSPEED,10000,150;
  9582. }
  9583. end;
  9584. }
  9585. p_track02,45,30,0 script Luk#race02_5_4 -1,0,0,{
  9586. end;
  9587. OnInit:
  9588. disablenpc "Luk#race02_5_4";
  9589. end;
  9590. OnEnable:
  9591. enablenpc "Luk#race02_5_4";
  9592. end;
  9593. OnDisable:
  9594. disablenpc "Luk#race02_5_4";
  9595. end;
  9596. OnTouchNPC:
  9597. set .@start,rand(1,100);
  9598. if (.@start > 0) && (.@start < 61) {
  9599. sc_start SC_WALKSPEED,10000,110;
  9600. }
  9601. else if (.@start > 60) && (.@start < 71) {
  9602. sc_start SC_WALKSPEED,10000,120;
  9603. }
  9604. else if (.@start > 70) && (.@start < 81) {
  9605. sc_start SC_WALKSPEED,10000,130;
  9606. }
  9607. else if (.@start > 80) && (.@start < 91) {
  9608. sc_start SC_WALKSPEED,10000,140;
  9609. }
  9610. else {
  9611. sc_start SC_WALKSPEED,10000,150;
  9612. }
  9613. end;
  9614. }
  9615. p_track02,49,30,0 script Luk#race02_5_5 -1,0,0,{
  9616. end;
  9617. OnInit:
  9618. disablenpc "Luk#race02_5_5";
  9619. end;
  9620. OnEnable:
  9621. enablenpc "Luk#race02_5_5";
  9622. end;
  9623. OnDisable:
  9624. disablenpc "Luk#race02_5_5";
  9625. end;
  9626. OnTouchNPC:
  9627. set .@start,rand(1,100);
  9628. if (.@start > 0) && (.@start < 61) {
  9629. sc_start SC_STUN,1000,0;
  9630. }
  9631. else if (.@start > 60) && (.@start < 71) {
  9632. sc_start SC_STUN,2000,0;
  9633. }
  9634. else if (.@start > 70) && (.@start < 81) {
  9635. sc_start SC_STUN,3000,0;
  9636. }
  9637. else if (.@start > 80) && (.@start < 91) {
  9638. sc_start SC_STUN,4000,0;
  9639. }
  9640. end;
  9641. }
  9642. p_track02,41,30,0 script Luk#race02_5_6 -1,0,0,{
  9643. end;
  9644. OnInit:
  9645. disablenpc "Luk#race02_5_6";
  9646. end;
  9647. OnEnable:
  9648. enablenpc "Luk#race02_5_6";
  9649. end;
  9650. OnDisable:
  9651. disablenpc "Luk#race02_5_6";
  9652. end;
  9653. OnTouchNPC:
  9654. set .@start,rand(1,100);
  9655. if (.@start > 0) && (.@start < 61) {
  9656. sc_start SC_STUN,1000,0;
  9657. }
  9658. else if (.@start > 60) && (.@start < 71) {
  9659. sc_start SC_STUN,2000,0;
  9660. }
  9661. else if (.@start > 70) && (.@start < 81) {
  9662. sc_start SC_STUN,3000,0;
  9663. }
  9664. else if (.@start > 80) && (.@start < 91) {
  9665. sc_start SC_STUN,4000,0;
  9666. }
  9667. end;
  9668. }
  9669. p_track02,43,30,0 script Tire#race02_5_1 -1,0,0,{
  9670. end;
  9671. OnInit:
  9672. disablenpc "Tire#race02_5_1";
  9673. end;
  9674. OnEnable:
  9675. enablenpc "Tire#race02_5_1";
  9676. end;
  9677. OnDisable:
  9678. disablenpc "Tire#race02_5_1";
  9679. end;
  9680. OnTouchNPC:
  9681. set .@start,rand(1,100);
  9682. if (.@start > 0) && (.@start < 61) {
  9683. sc_start SC_SLEEP,1000,0;
  9684. }
  9685. else if (.@start > 60) && (.@start < 71) {
  9686. sc_start SC_SLEEP,2000,0;
  9687. }
  9688. else if (.@start > 70) && (.@start < 81) {
  9689. sc_start SC_SLEEP,3000,0;
  9690. }
  9691. else if (.@start > 80) && (.@start < 91) {
  9692. sc_start SC_SLEEP,4000,0;
  9693. }
  9694. end;
  9695. }
  9696. p_track02,39,30,0 script Tire#race02_5_2 -1,0,0,{
  9697. end;
  9698. OnInit:
  9699. disablenpc "Tire#race02_5_2";
  9700. end;
  9701. OnEnable:
  9702. enablenpc "Tire#race02_5_2";
  9703. end;
  9704. OnDisable:
  9705. disablenpc "Tire#race02_5_2";
  9706. end;
  9707. OnTouchNPC:
  9708. set .@start,rand(1,100);
  9709. if (.@start > 0) && (.@start < 61) {
  9710. sc_start SC_SLEEP,1000,0;
  9711. }
  9712. else if (.@start > 60) && (.@start < 71) {
  9713. sc_start SC_SLEEP,2000,0;
  9714. }
  9715. else if (.@start > 70) && (.@start < 81) {
  9716. sc_start SC_SLEEP,3000,0;
  9717. }
  9718. else if (.@start > 80) && (.@start < 91) {
  9719. sc_start SC_SLEEP,4000,0;
  9720. }
  9721. end;
  9722. }
  9723. p_track02,35,30,0 script Tire#race02_5_3 -1,0,0,{
  9724. end;
  9725. OnInit:
  9726. disablenpc "Tire#race02_5_3";
  9727. end;
  9728. OnEnable:
  9729. enablenpc "Tire#race02_5_3";
  9730. end;
  9731. OnDisable:
  9732. disablenpc "Tire#race02_5_3";
  9733. end;
  9734. OnTouchNPC:
  9735. set .@start,rand(1,100);
  9736. if (.@start > 0) && (.@start < 61) {
  9737. sc_start SC_SLEEP,1000,0;
  9738. }
  9739. else if (.@start > 60) && (.@start < 71) {
  9740. sc_start SC_SLEEP,2000,0;
  9741. }
  9742. else if (.@start > 70) && (.@start < 81) {
  9743. sc_start SC_SLEEP,3000,0;
  9744. }
  9745. else if (.@start > 80) && (.@start < 91) {
  9746. sc_start SC_SLEEP,4000,0;
  9747. }
  9748. end;
  9749. }
  9750. p_track02,55,30,0 script Tire#race02_5_4 -1,0,0,{
  9751. end;
  9752. OnInit:
  9753. disablenpc "Tire#race02_5_4";
  9754. end;
  9755. OnEnable:
  9756. enablenpc "Tire#race02_5_4";
  9757. end;
  9758. OnDisable:
  9759. disablenpc "Tire#race02_5_4";
  9760. end;
  9761. OnTouchNPC:
  9762. set .@start,rand(1,100);
  9763. if (.@start > 0) && (.@start < 61) {
  9764. sc_start SC_SLEEP,1000,0;
  9765. }
  9766. else if (.@start > 60) && (.@start < 71) {
  9767. sc_start SC_SLEEP,2000,0;
  9768. }
  9769. else if (.@start > 70) && (.@start < 81) {
  9770. sc_start SC_SLEEP,3000,0;
  9771. }
  9772. else if (.@start > 80) && (.@start < 91) {
  9773. sc_start SC_SLEEP,4000,0;
  9774. }
  9775. end;
  9776. }
  9777. p_track02,51,30,0 script Tire#race02_5_5 -1,0,0,{
  9778. end;
  9779. OnInit:
  9780. disablenpc "Tire#race02_5_5";
  9781. end;
  9782. OnEnable:
  9783. enablenpc "Tire#race02_5_5";
  9784. end;
  9785. OnDisable:
  9786. disablenpc "Tire#race02_5_5";
  9787. end;
  9788. OnTouchNPC:
  9789. set .@start,rand(1,100);
  9790. if (.@start > 0) && (.@start < 61) {
  9791. sc_start SC_SLEEP,1000,0;
  9792. }
  9793. else if (.@start > 60) && (.@start < 71) {
  9794. sc_start SC_SLEEP,2000,0;
  9795. }
  9796. else if (.@start > 70) && (.@start < 81) {
  9797. sc_start SC_SLEEP,3000,0;
  9798. }
  9799. else if (.@start > 80) && (.@start < 91) {
  9800. sc_start SC_SLEEP,4000,0;
  9801. }
  9802. end;
  9803. }
  9804. p_track02,47,30,0 script Tire#race02_5_6 -1,0,0,{
  9805. end;
  9806. OnInit:
  9807. disablenpc "Tire#race02_5_6";
  9808. end;
  9809. OnEnable:
  9810. enablenpc "Tire#race02_5_6";
  9811. end;
  9812. OnDisable:
  9813. disablenpc "Tire#race02_5_6";
  9814. end;
  9815. OnTouchNPC:
  9816. set .@start,rand(1,100);
  9817. if (.@start > 0) && (.@start < 61) {
  9818. sc_start SC_SLEEP,1000,0;
  9819. }
  9820. else if (.@start > 60) && (.@start < 71) {
  9821. sc_start SC_SLEEP,2000,0;
  9822. }
  9823. else if (.@start > 70) && (.@start < 81) {
  9824. sc_start SC_SLEEP,3000,0;
  9825. }
  9826. else if (.@start > 80) && (.@start < 91) {
  9827. sc_start SC_SLEEP,4000,0;
  9828. }
  9829. end;
  9830. }
  9831. p_track02,56,28,0 script starting#race02_6 -1,0,0,{
  9832. end;
  9833. OnInit:
  9834. disablenpc "starting#race02_6";
  9835. end;
  9836. OnEnable:
  9837. enablenpc "starting#race02_6";
  9838. end;
  9839. OnDisable:
  9840. disablenpc "starting#race02_6";
  9841. disablenpc "Luk#race02_6_1";
  9842. disablenpc "Luk#race02_6_2";
  9843. disablenpc "Luk#race02_6_3";
  9844. disablenpc "Luk#race02_6_4";
  9845. disablenpc "Luk#race02_6_5";
  9846. disablenpc "Luk#race02_6_6";
  9847. disablenpc "Tire#race02_6_1";
  9848. disablenpc "Tire#race02_6_2";
  9849. disablenpc "Tire#race02_6_3";
  9850. disablenpc "Tire#race02_6_4";
  9851. disablenpc "Tire#race02_6_5";
  9852. disablenpc "Tire#race02_6_6";
  9853. end;
  9854. OnTouchNPC:
  9855. set .@start,rand(1,100);
  9856. if (.@start > 0) && (.@start < 11) {
  9857. sc_start SC_WALKSPEED,5000,60;
  9858. }
  9859. else if (.@start > 10) && (.@start < 21) {
  9860. sc_start SC_WALKSPEED,5000,70;
  9861. }
  9862. else if (.@start > 20) && (.@start < 31) {
  9863. sc_start SC_WALKSPEED,5000,80;
  9864. }
  9865. else if (.@start > 30) && (.@start < 41) {
  9866. sc_start SC_WALKSPEED,5000,90;
  9867. }
  9868. else if (.@start > 40) && (.@start < 51) {
  9869. sc_start SC_WALKSPEED,5000,100;
  9870. }
  9871. else if (.@start > 50) && (.@start < 61) {
  9872. sc_start SC_WALKSPEED,5000,110;
  9873. }
  9874. else if (.@start > 60) && (.@start < 71) {
  9875. sc_start SC_WALKSPEED,5000,120;
  9876. }
  9877. else if (.@start > 70) && (.@start < 81) {
  9878. sc_start SC_WALKSPEED,5000,130;
  9879. }
  9880. else if (.@start > 80) && (.@start < 91) {
  9881. sc_start SC_WALKSPEED,5000,140;
  9882. }
  9883. else {
  9884. sc_start SC_WALKSPEED,5000,150;
  9885. }
  9886. end;
  9887. }
  9888. p_track02,33,28,0 script Luk#race02_6_1 -1,0,0,{
  9889. end;
  9890. OnInit:
  9891. disablenpc "Luk#race02_6_1";
  9892. end;
  9893. OnTouchNPC:
  9894. set .@start,rand(1,100);
  9895. if (.@start > 0) && (.@start < 61) {
  9896. sc_start SC_WALKSPEED,10000,110;
  9897. }
  9898. else if (.@start > 60) && (.@start < 71) {
  9899. sc_start SC_WALKSPEED,10000,120;
  9900. }
  9901. else if (.@start > 70) && (.@start < 81) {
  9902. sc_start SC_WALKSPEED,10000,130;
  9903. }
  9904. else if (.@start > 80) && (.@start < 91) {
  9905. sc_start SC_WALKSPEED,10000,140;
  9906. }
  9907. else {
  9908. sc_start SC_WALKSPEED,10000,150;
  9909. }
  9910. end;
  9911. }
  9912. p_track02,37,28,0 script Luk#race02_6_2 -1,0,0,{
  9913. end;
  9914. OnInit:
  9915. disablenpc "Luk#race02_6_2";
  9916. end;
  9917. OnTouchNPC:
  9918. set .@start,rand(1,100);
  9919. if (.@start > 0) && (.@start < 61) {
  9920. sc_start SC_WALKSPEED,10000,110;
  9921. }
  9922. else if (.@start > 60) && (.@start < 71) {
  9923. sc_start SC_WALKSPEED,10000,120;
  9924. }
  9925. else if (.@start > 70) && (.@start < 81) {
  9926. sc_start SC_WALKSPEED,10000,130;
  9927. }
  9928. else if (.@start > 80) && (.@start < 91) {
  9929. sc_start SC_WALKSPEED,10000,140;
  9930. }
  9931. else {
  9932. sc_start SC_WALKSPEED,10000,150;
  9933. }
  9934. end;
  9935. }
  9936. p_track02,53,28,0 script Luk#race02_6_3 -1,0,0,{
  9937. end;
  9938. OnInit:
  9939. disablenpc "Luk#race02_6_3";
  9940. end;
  9941. OnTouchNPC:
  9942. set .@start,rand(1,100);
  9943. if (.@start > 0) && (.@start < 61) {
  9944. sc_start SC_WALKSPEED,10000,110;
  9945. }
  9946. else if (.@start > 60) && (.@start < 71) {
  9947. sc_start SC_WALKSPEED,10000,120;
  9948. }
  9949. else if (.@start > 70) && (.@start < 81) {
  9950. sc_start SC_WALKSPEED,10000,130;
  9951. }
  9952. else if (.@start > 80) && (.@start < 91) {
  9953. sc_start SC_WALKSPEED,10000,140;
  9954. }
  9955. else {
  9956. sc_start SC_WALKSPEED,10000,150;
  9957. }
  9958. end;
  9959. }
  9960. p_track02,45,28,0 script Luk#race02_6_4 -1,0,0,{
  9961. end;
  9962. OnInit:
  9963. disablenpc "Luk#race02_6_4";
  9964. end;
  9965. OnTouchNPC:
  9966. set .@start,rand(1,100);
  9967. if (.@start > 0) && (.@start < 61) {
  9968. sc_start SC_WALKSPEED,10000,110;
  9969. }
  9970. else if (.@start > 60) && (.@start < 71) {
  9971. sc_start SC_WALKSPEED,10000,120;
  9972. }
  9973. else if (.@start > 70) && (.@start < 81) {
  9974. sc_start SC_WALKSPEED,10000,130;
  9975. }
  9976. else if (.@start > 80) && (.@start < 91) {
  9977. sc_start SC_WALKSPEED,10000,140;
  9978. }
  9979. else {
  9980. sc_start SC_WALKSPEED,10000,150;
  9981. }
  9982. end;
  9983. }
  9984. p_track02,49,28,0 script Luk#race02_6_5 -1,0,0,{
  9985. end;
  9986. OnInit:
  9987. disablenpc "Luk#race02_6_5";
  9988. end;
  9989. OnTouchNPC:
  9990. set .@start,rand(1,100);
  9991. if (.@start > 0) && (.@start < 61) {
  9992. sc_start SC_STUN,1000,0;
  9993. }
  9994. else if (.@start > 60) && (.@start < 71) {
  9995. sc_start SC_STUN,2000,0;
  9996. }
  9997. else if (.@start > 70) && (.@start < 81) {
  9998. sc_start SC_STUN,3000,0;
  9999. }
  10000. else if (.@start > 80) && (.@start < 91) {
  10001. sc_start SC_STUN,4000,0;
  10002. }
  10003. end;
  10004. }
  10005. p_track02,41,28,0 script Luk#race02_6_6 -1,0,0,{
  10006. end;
  10007. OnInit:
  10008. disablenpc "Luk#race02_6_6";
  10009. end;
  10010. OnTouchNPC:
  10011. set .@start,rand(1,100);
  10012. if (.@start > 0) && (.@start < 61) {
  10013. sc_start SC_STUN,1000,0;
  10014. }
  10015. else if (.@start > 60) && (.@start < 71) {
  10016. sc_start SC_STUN,2000,0;
  10017. }
  10018. else if (.@start > 70) && (.@start < 81) {
  10019. sc_start SC_STUN,3000,0;
  10020. }
  10021. else if (.@start > 80) && (.@start < 91) {
  10022. sc_start SC_STUN,4000,0;
  10023. }
  10024. end;
  10025. }
  10026. p_track02,43,28,0 script Tire#race02_6_1 -1,0,0,{
  10027. end;
  10028. OnInit:
  10029. disablenpc "Tire#race02_6_1";
  10030. end;
  10031. OnTouchNPC:
  10032. set .@start,rand(1,100);
  10033. if (.@start > 0) && (.@start < 61) {
  10034. sc_start SC_SLEEP,1000,0;
  10035. }
  10036. else if (.@start > 60) && (.@start < 71) {
  10037. sc_start SC_SLEEP,2000,0;
  10038. }
  10039. else if (.@start > 70) && (.@start < 81) {
  10040. sc_start SC_SLEEP,3000,0;
  10041. }
  10042. else if (.@start > 80) && (.@start < 91) {
  10043. sc_start SC_SLEEP,4000,0;
  10044. }
  10045. end;
  10046. }
  10047. p_track02,39,28,0 script Tire#race02_6_2 -1,0,0,{
  10048. end;
  10049. OnInit:
  10050. disablenpc "Tire#race02_6_2";
  10051. end;
  10052. OnTouchNPC:
  10053. set .@start,rand(1,100);
  10054. if (.@start > 0) && (.@start < 61) {
  10055. sc_start SC_SLEEP,1000,0;
  10056. }
  10057. else if (.@start > 60) && (.@start < 71) {
  10058. sc_start SC_SLEEP,2000,0;
  10059. }
  10060. else if (.@start > 70) && (.@start < 81) {
  10061. sc_start SC_SLEEP,3000,0;
  10062. }
  10063. else if (.@start > 80) && (.@start < 91) {
  10064. sc_start SC_SLEEP,4000,0;
  10065. }
  10066. end;
  10067. }
  10068. p_track02,35,28,0 script Tire#race02_6_3 -1,0,0,{
  10069. end;
  10070. OnInit:
  10071. disablenpc "Tire#race02_6_3";
  10072. end;
  10073. OnTouchNPC:
  10074. set .@start,rand(1,100);
  10075. if (.@start > 0) && (.@start < 61) {
  10076. sc_start SC_SLEEP,1000,0;
  10077. }
  10078. else if (.@start > 60) && (.@start < 71) {
  10079. sc_start SC_SLEEP,2000,0;
  10080. }
  10081. else if (.@start > 70) && (.@start < 81) {
  10082. sc_start SC_SLEEP,3000,0;
  10083. }
  10084. else if (.@start > 80) && (.@start < 91) {
  10085. sc_start SC_SLEEP,4000,0;
  10086. }
  10087. end;
  10088. }
  10089. p_track02,55,28,0 script Tire#race02_6_4 -1,0,0,{
  10090. end;
  10091. OnInit:
  10092. disablenpc "Tire#race02_6_4";
  10093. end;
  10094. OnTouchNPC:
  10095. set .@start,rand(1,100);
  10096. if (.@start > 0) && (.@start < 61) {
  10097. sc_start SC_SLEEP,1000,0;
  10098. }
  10099. else if (.@start > 60) && (.@start < 71) {
  10100. sc_start SC_SLEEP,2000,0;
  10101. }
  10102. else if (.@start > 70) && (.@start < 81) {
  10103. sc_start SC_SLEEP,3000,0;
  10104. }
  10105. else if (.@start > 80) && (.@start < 91) {
  10106. sc_start SC_SLEEP,4000,0;
  10107. }
  10108. end;
  10109. }
  10110. p_track02,51,28,0 script Tire#race02_6_5 -1,0,0,{
  10111. end;
  10112. OnInit:
  10113. disablenpc "Tire#race02_6_5";
  10114. end;
  10115. OnTouchNPC:
  10116. set .@start,rand(1,100);
  10117. if (.@start > 0) && (.@start < 61) {
  10118. sc_start SC_SLEEP,1000,0;
  10119. }
  10120. else if (.@start > 60) && (.@start < 71) {
  10121. sc_start SC_SLEEP,2000,0;
  10122. }
  10123. else if (.@start > 70) && (.@start < 81) {
  10124. sc_start SC_SLEEP,3000,0;
  10125. }
  10126. else if (.@start > 80) && (.@start < 91) {
  10127. sc_start SC_SLEEP,4000,0;
  10128. }
  10129. end;
  10130. }
  10131. p_track02,47,28,0 script Tire#race02_6_6 -1,0,0,{
  10132. end;
  10133. OnInit:
  10134. disablenpc "Tire#race02_6_6";
  10135. end;
  10136. OnTouchNPC:
  10137. set .@start,rand(1,100);
  10138. if (.@start > 0) && (.@start < 61) {
  10139. sc_start SC_SLEEP,1000,0;
  10140. }
  10141. else if (.@start > 60) && (.@start < 71) {
  10142. sc_start SC_SLEEP,2000,0;
  10143. }
  10144. else if (.@start > 70) && (.@start < 81) {
  10145. sc_start SC_SLEEP,3000,0;
  10146. }
  10147. else if (.@start > 80) && (.@start < 91) {
  10148. sc_start SC_SLEEP,4000,0;
  10149. }
  10150. end;
  10151. }
  10152. //============================================================
  10153. // NPCs for Redeeming Price Medals (Einbroch and Hugel)
  10154. //============================================================
  10155. ein_in01,85,208,5 script Ei felle#repay01 854,{
  10156. if (ein_medal01 < 1) {
  10157. mes "[Ei felle]";
  10158. mes "Ahhh.";
  10159. mes "I don't have much time left before the delivery of this product!!";
  10160. mes "What should I do with";
  10161. mes "so many failed product in this place.";
  10162. mes "I really hope I have that item now!!!";
  10163. next;
  10164. select("What item do you mean?");
  10165. mes "[Ei felle]";
  10166. mes "I pick up the info from some rumor I heard.";
  10167. mes "There is a small isolated village";
  10168. mes "at the fartherst border of Schwaltzvalt Republic.";
  10169. mes "It's said that";
  10170. mes "the medal obtain from that village";
  10171. mes "contain certain special ore.";
  10172. next;
  10173. mes "[Ei felle]";
  10174. mes "If I have that special ore!!";
  10175. mes "I won't have so many useless iron";
  10176. mes "left in this place.";
  10177. next;
  10178. mes "[Ei felle]";
  10179. mes "I have sent a lot of people to ask about that special ore";
  10180. mes "but the result is nothing...How disappointing...";
  10181. next;
  10182. if (countitem(7515) > 0) {
  10183. mes "["+ strcharinfo(0) +"]";
  10184. mes "Excuse me, is this the medal that you mentioned just now...";
  10185. next;
  10186. mes "[Ei felle]";
  10187. mes "Oh? Oh? That's the one!!";
  10188. mes "Can you give it to me?";
  10189. mes "If I have this,";
  10190. mes "I can reconstruct that pile of useless iron";
  10191. mes "and all the faulty product will be gone.";
  10192. next;
  10193. callsub S_Reward;
  10194. end;
  10195. }
  10196. else {
  10197. mes "[Ei felle]";
  10198. mes "If you ever get any medal,";
  10199. mes "can you give some to me?";
  10200. close;
  10201. }
  10202. }
  10203. else if ((ein_medal01 > 499) && (ein_medal01 < 1000)) {
  10204. if (checkweight(1201,1) == 0) {
  10205. mes "[Ei felle]";
  10206. mes "Don't you feel tired";
  10207. mes "when you're carrying so many items with you?";
  10208. mes "Slow your pace and ";
  10209. mes "be relax once in a while.";
  10210. close;
  10211. }
  10212. mes "[Ei felle]";
  10213. mes "Oh! You're here just in time!";
  10214. mes "After we have gathered the required metal";
  10215. mes "from the the medal that you have given to us,";
  10216. mes "we have used the substance to get a result for the research!!!";
  10217. mes "We have managed to use it to create";
  10218. mes "a very light yet sturdy armor.";
  10219. next;
  10220. mes "[Ei felle]";
  10221. mes "Look at this Glittering Clothes!";
  10222. mes "We have managed to get this ";
  10223. mes "thanks to your help.";
  10224. next;
  10225. mes "[Ei felle]";
  10226. mes "So, according to what we've promised,";
  10227. mes "when a result is obtained from the research,";
  10228. mes "we'll give it to you as a token of gratitude.";
  10229. mes "Can you please take this?";
  10230. next;
  10231. switch(select("Thank you, I will treasure it carefully:For better research result...")) {
  10232. case 1:
  10233. callsub S_BonusReward,500,2319;
  10234. end;
  10235. case 2:
  10236. mes "["+ strcharinfo(0) +"]";
  10237. mes "No, it's fine.";
  10238. mes "There're still a lot of faulty items here.";
  10239. mes "If you work harder,";
  10240. mes "you might be able to ";
  10241. mes "get better results.";
  10242. next;
  10243. mes "[Ei felle]";
  10244. mes "You're right.";
  10245. mes "There are so many items for me to study";
  10246. mes "and use it in my research...";
  10247. mes "I will try to work harder!!!";
  10248. next;
  10249. mes "[Ei felle]";
  10250. mes "However, no matter how many medals you have gathered,";
  10251. mes "it's still not enough to be made ";
  10252. mes "as the research materials...";
  10253. next;
  10254. }
  10255. if (countitem(7515) > 0) {
  10256. mes "[Ei felle]";
  10257. mes "Although the member of our factory ";
  10258. mes "had been trying to gather the medal from that village,";
  10259. mes "we still haven't received any good news...";
  10260. mes "I feel so ashamed...";
  10261. mes "Can you help me if you ";
  10262. mes "have some additional medals?";
  10263. next;
  10264. callsub S_Reward;
  10265. end;
  10266. }
  10267. else {
  10268. mes "[Ei felle]";
  10269. mes "If you ever get any medal,";
  10270. mes "can you give some to me?";
  10271. close;
  10272. }
  10273. }
  10274. else if ((ein_medal01 > 999) && (ein_medal01 < 1500)) {
  10275. if (checkweight(1201,1) == 0) {
  10276. mes "[Ei felle]";
  10277. mes "Don't you feel tired ";
  10278. mes "when you're carrying so many items with you?";
  10279. mes "Slow your pace and ";
  10280. mes "be relax once in a while.";
  10281. close;
  10282. }
  10283. mes "[Ei felle]";
  10284. mes "Oh! You're here just in time!";
  10285. mes "After we have gathered the required metal";
  10286. mes "from the the medal that you have given to us,";
  10287. mes "we have used the substance to get a result for the research!!!";
  10288. mes "We have been able to create ";
  10289. mes "an elemental armor with slot.";
  10290. next;
  10291. mes "[Ei felle]";
  10292. mes "We have managed to get this ";
  10293. mes "thanks to your help.";
  10294. next;
  10295. mes "[Ei felle]";
  10296. mes "So, according to what we've promised,";
  10297. mes "when a result is obtained from the research,";
  10298. mes "we'll give it to you as a token of gratitude.";
  10299. mes "Can you please take this?";
  10300. next;
  10301. switch(select("Thank you, I will treasure it carefully:Can I have other stuffs...:For better research result...")) {
  10302. case 1:
  10303. mes "[Ei felle]";
  10304. mes "Which element do you wish to take";
  10305. mes "among the four elementals?";
  10306. next;
  10307. switch(select("Fire Element:Earth Element:Wind Element:Water Element")) {
  10308. case 1:
  10309. callsub S_BonusReward,1000,2345;
  10310. end;
  10311. case 2:
  10312. callsub S_BonusReward,1000,2351;
  10313. end;
  10314. case 3:
  10315. callsub S_BonusReward,1000,2349;
  10316. end;
  10317. case 4:
  10318. callsub S_BonusReward,1000,2347;
  10319. end;
  10320. }
  10321. case 2:
  10322. mes "[Ei felle]";
  10323. mes "What? Other results means...";
  10324. next;
  10325. mes "["+ strcharinfo(0) +"]";
  10326. mes "The clothes you made last time...";
  10327. next;
  10328. mes "[Ei felle]";
  10329. mes "Oh! You're referring to Glittering Clothes!";
  10330. mes "Ok then, here's the item you want.";
  10331. mes "Thanks to you, ";
  10332. mes "we're able to achieve great success in the research.";
  10333. next;
  10334. mes "[Ei felle]";
  10335. mes "We'll work harder";
  10336. mes "to achieve greater result";
  10337. mes "in the future!";
  10338. next;
  10339. mes "[Ei felle]";
  10340. mes "Here, please accept ";
  10341. mes "this Glittering Clothes.";
  10342. next;
  10343. switch(select("Do not accept:Accept")) {
  10344. case 1:
  10345. mes "["+ strcharinfo(0) +"]";
  10346. mes "Wait, I have changed my mind.";
  10347. mes "Can I take it next time? ";
  10348. next;
  10349. mes "[Ei felle]";
  10350. mes "Oh? It's ok for me...";
  10351. mes "You can take it anytime. ";
  10352. mes "So, please come again when you feel that you need it.";
  10353. close;
  10354. case 2:
  10355. mes "[Ei felle]";
  10356. mes "Thank you!";
  10357. mes "If you were free, ";
  10358. mes "please help us again next time.";
  10359. set ein_medal01,gift500;
  10360. getitem 2319,1; //Glittering_Clothes
  10361. close;
  10362. }
  10363. case 3:
  10364. mes "["+ strcharinfo(0) +"]";
  10365. mes "No, it's fine.";
  10366. mes "There're still a lot of faulty items here.";
  10367. mes "If you work harder,";
  10368. mes "you might be able to ";
  10369. mes "get better results.";
  10370. next;
  10371. mes "[Ei felle]";
  10372. mes "You're right.";
  10373. mes "There are so many items for me to study";
  10374. mes "and use it in my research...";
  10375. mes "I will try to work harder!!!";
  10376. next;
  10377. mes "[Ei felle]";
  10378. mes "However, no matter how many medals you have gathered,";
  10379. mes "it's still not enough to be made ";
  10380. mes "as the research materials...";
  10381. next;
  10382. break;
  10383. }
  10384. if (countitem(7515) > 0) {
  10385. mes "[Ei felle]";
  10386. mes "Although the member of our factory ";
  10387. mes "had been trying to gather the medal from that village,";
  10388. mes "we still haven't received any good news...";
  10389. mes "I feel so ashamed...";
  10390. mes "Can you help me if you ";
  10391. mes "have some additional medals?";
  10392. next;
  10393. callsub S_Reward;
  10394. end;
  10395. }
  10396. else {
  10397. mes "[Ei felle]";
  10398. mes "If you ever get any medal,";
  10399. mes "can you give some to me?";
  10400. close;
  10401. }
  10402. }
  10403. else if (ein_medal01 > 1499) {
  10404. if (checkweight(1201,1) == 0) {
  10405. mes "[Ei felle]";
  10406. mes "Don't you feel tired ";
  10407. mes "when you're carrying so many items with you?";
  10408. mes "Slow your pace and ";
  10409. mes "be relax once in a while.";
  10410. close;
  10411. }
  10412. mes "[Ei felle]";
  10413. mes "Oh! You're here just in time!";
  10414. mes "After we have gathered the required metal";
  10415. mes "from the the medal that you have given to us,";
  10416. mes "we have used the substance to get a result for the research!!!";
  10417. mes "We have been able to create";
  10418. mes "some level 4 weapons!!!!!!";
  10419. next;
  10420. mes "[Ei felle]";
  10421. mes "We have managed to get this ";
  10422. mes "thanks to your help.";
  10423. next;
  10424. mes "[Ei felle]";
  10425. mes "So, according to what we've promised,";
  10426. mes "when a result is obtained from the research,";
  10427. mes "we'll give it to you as a token of gratitude.";
  10428. mes "Can you please take this?";
  10429. next;
  10430. switch(select("Thank you, I will treasure it carefully:Can I have other stuffs...")) {
  10431. case 1:
  10432. mes "[Ei felle]";
  10433. mes "I will give you anything you want.";
  10434. mes "What do you want?";
  10435. next;
  10436. switch(select("Dagger:Sword:2 Hand Sword:Axe:Mace:Bow:Staff:Book:Spear:Katar:Fists:Whip:Musical Weapon")) {
  10437. case 1:
  10438. mes "[Ei felle]";
  10439. mes "You can choose whichever unit you like.";
  10440. mes "Please select";
  10441. mes "the item that you desire.";
  10442. next;
  10443. switch(select("Ginnungagap:Grimtooth:Dragon Killer:Mail Breaker:Bazerald:Sword Breaker:Ice Pick:Sucsamad:Kitchen Knife:Azoth:Exercise:Assassin Dagger:Moonlight Sword:Weeder Knife:Cursed Dagger:Counter Dagger:Combat Knife:Fortune Sword:Cancel")) {
  10444. case 1:
  10445. callsub S_BonusReward,1500,13002;
  10446. end;
  10447. case 2:
  10448. callsub S_BonusReward,1500,1237;
  10449. end;
  10450. case 3:
  10451. callsub S_BonusReward,1500,13001;
  10452. end;
  10453. case 4:
  10454. callsub S_BonusReward,1500,1225;
  10455. end;
  10456. case 5:
  10457. callsub S_BonusReward,1500,1231;
  10458. end;
  10459. case 6:
  10460. callsub S_BonusReward,1500,1224;
  10461. end;
  10462. case 7:
  10463. callsub S_BonusReward,1500,1230;
  10464. end;
  10465. case 8:
  10466. callsub S_BonusReward,1500,1236;
  10467. end;
  10468. case 9:
  10469. callsub S_BonusReward,1500,1229;
  10470. end;
  10471. case 10:
  10472. callsub S_BonusReward,1500,1235;
  10473. end;
  10474. case 11:
  10475. callsub S_BonusReward,1500,1233;
  10476. end;
  10477. case 12:
  10478. callsub S_BonusReward,1500,1232;
  10479. end;
  10480. case 13:
  10481. callsub S_BonusReward,1500,1234;
  10482. end;
  10483. case 14:
  10484. callsub S_BonusReward,1500,1227;
  10485. end;
  10486. case 15:
  10487. callsub S_BonusReward,1500,1241;
  10488. end;
  10489. case 16:
  10490. callsub S_BonusReward,1500,1242;
  10491. end;
  10492. case 17:
  10493. callsub S_BonusReward,1500,1228;
  10494. end;
  10495. case 18:
  10496. callsub S_BonusReward,1500,1223;
  10497. end;
  10498. case 19:
  10499. break;
  10500. }
  10501. break;
  10502. case 2:
  10503. mes "[Ei felle]";
  10504. mes "You can choose whichever unit you like.";
  10505. mes "Please select";
  10506. mes "the item that you desire.";
  10507. next;
  10508. switch(select("Nagan:Immaterial Sword:Mysteltainn:Byeollungum:Star Dust Blade:Caesar's Sword:Ice Falchion:Excalibur:Edge:Cutlus:Solar Sword:Tirfing:Fireblend:Cancel")) {
  10509. case 1:
  10510. callsub S_BonusReward,1500,1130;
  10511. end;
  10512. case 2:
  10513. callsub S_BonusReward,1500,1141;
  10514. end;
  10515. case 3:
  10516. callsub S_BonusReward,1500,1138;
  10517. end;
  10518. case 4:
  10519. callsub S_BonusReward,1500,1140;
  10520. end;
  10521. case 5:
  10522. callsub S_BonusReward,1500,1148;
  10523. end;
  10524. case 6:
  10525. callsub S_BonusReward,1500,1134;
  10526. end;
  10527. case 7:
  10528. callsub S_BonusReward,1500,1131;
  10529. end;
  10530. case 8:
  10531. callsub S_BonusReward,1500,1137;
  10532. end;
  10533. case 9:
  10534. callsub S_BonusReward,1500,1132;
  10535. end;
  10536. case 10:
  10537. callsub S_BonusReward,1500,1135;
  10538. end;
  10539. case 11:
  10540. callsub S_BonusReward,1500,1136;
  10541. end;
  10542. case 12:
  10543. callsub S_BonusReward,1500,1139;
  10544. end;
  10545. case 13:
  10546. callsub S_BonusReward,1500,1133;
  10547. end;
  10548. case 14:
  10549. break;
  10550. }
  10551. break;
  10552. case 3:
  10553. mes "[Ei felle]";
  10554. mes "You can choose whichever unit you like.";
  10555. mes "Please select";
  10556. mes "the item that you desire.";
  10557. next;
  10558. switch(select("Dragon Slayer:Masamune:Muramasa:Schweizersabel:Executioner:Zweihander:Katzbalger:cancel")) {
  10559. case 1:
  10560. callsub S_BonusReward,1500,1166;
  10561. end;
  10562. case 2:
  10563. callsub S_BonusReward,1500,1165;
  10564. end;
  10565. case 3:
  10566. callsub S_BonusReward,1500,1164;
  10567. end;
  10568. case 4:
  10569. callsub S_BonusReward,1500,1167;
  10570. end;
  10571. case 5:
  10572. callsub S_BonusReward,1500,1169;
  10573. end;
  10574. case 6:
  10575. callsub S_BonusReward,1500,1168;
  10576. end;
  10577. case 7:
  10578. callsub S_BonusReward,1500,1170;
  10579. end;
  10580. case 8:
  10581. break;
  10582. }
  10583. break;
  10584. case 4:
  10585. mes "[Ei felle]";
  10586. mes "You can choose whichever unit you like.";
  10587. mes "Please select";
  10588. mes "the item that you desire.";
  10589. next;
  10590. switch(select("Great Axe:Guillotine:Right Epsilon:Brood Axe:Sabbath:Slaughter:Cleaver:Tomahawk:cancel")) {
  10591. case 1:
  10592. callsub S_BonusReward,1500,1364;
  10593. end;
  10594. case 2:
  10595. callsub S_BonusReward,1500,1369;
  10596. end;
  10597. case 3:
  10598. callsub S_BonusReward,1500,1366;
  10599. end;
  10600. case 4:
  10601. callsub S_BonusReward,1500,1363;
  10602. end;
  10603. case 5:
  10604. callsub S_BonusReward,1500,1365;
  10605. end;
  10606. case 6:
  10607. callsub S_BonusReward,1500,1367;
  10608. end;
  10609. case 7:
  10610. callsub S_BonusReward,1500,1305;
  10611. end;
  10612. case 8:
  10613. callsub S_BonusReward,1500,1368;
  10614. end;
  10615. case 9:
  10616. break;
  10617. }
  10618. break;
  10619. case 5:
  10620. mes "[Ei felle]";
  10621. mes "You can choose whichever unit you like.";
  10622. mes "Please select";
  10623. mes "the item that you desire.";
  10624. next;
  10625. switch(select("Golden Mace:Grand Cross:Long Mace:Spike:Slash:Quadrille:cancel")) {
  10626. case 1:
  10627. callsub S_BonusReward,1500,1524;
  10628. end;
  10629. case 2:
  10630. callsub S_BonusReward,1500,1528;
  10631. end;
  10632. case 3:
  10633. callsub S_BonusReward,1500,1525;
  10634. end;
  10635. case 4:
  10636. callsub S_BonusReward,1500,1523;
  10637. end;
  10638. case 5:
  10639. callsub S_BonusReward,1500,1526;
  10640. end;
  10641. case 6:
  10642. callsub S_BonusReward,1500,1527;
  10643. end;
  10644. case 7:
  10645. break;
  10646. }
  10647. break;
  10648. case 6:
  10649. mes "[Ei felle]";
  10650. mes "You can choose whichever unit you like.";
  10651. mes "Please select";
  10652. mes "the item that you desire.";
  10653. next;
  10654. switch(select("Bow Of Roguemaster:Dragon Wing:Bow Of Rudra:Balistar:cancel")) {
  10655. case 1:
  10656. callsub S_BonusReward,1500,1719;
  10657. end;
  10658. case 2:
  10659. callsub S_BonusReward,1500,1724;
  10660. end;
  10661. case 3:
  10662. callsub S_BonusReward,1500,1720;
  10663. end;
  10664. case 4:
  10665. callsub S_BonusReward,1500,1722;
  10666. end;
  10667. case 5:
  10668. break;
  10669. }
  10670. break;
  10671. case 7:
  10672. mes "[Ei felle]";
  10673. mes "You can choose whichever unit you like.";
  10674. mes "Please select";
  10675. mes "the item that you desire.";
  10676. next;
  10677. switch(select("Staff Of Wing:Wizardy Staff:cancel")) {
  10678. case 1:
  10679. callsub S_BonusReward,1500,1616;
  10680. end;
  10681. case 2:
  10682. callsub S_BonusReward,1500,1473;
  10683. end;
  10684. case 3:
  10685. break;
  10686. }
  10687. break;
  10688. case 8:
  10689. mes "[Ei felle]";
  10690. mes "You can choose whichever unit you like.";
  10691. mes "Please select";
  10692. mes "the item that you desire.";
  10693. next;
  10694. switch(select("Legacy of Dragon:Book of the Apocalypse:Girl's Diary:Hardback:cancel")) {
  10695. case 1:
  10696. callsub S_BonusReward,1500,1559;
  10697. end;
  10698. case 2:
  10699. callsub S_BonusReward,1500,1557;
  10700. end;
  10701. case 3:
  10702. callsub S_BonusReward,1500,1558;
  10703. end;
  10704. case 4:
  10705. callsub S_BonusReward,1500,1561;
  10706. end;
  10707. case 5:
  10708. break;
  10709. }
  10710. break;
  10711. case 9:
  10712. mes "[Ei felle]";
  10713. mes "You can choose whichever unit you like.";
  10714. mes "Please select";
  10715. mes "the item that you desire.";
  10716. next;
  10717. switch(select("Gae Bolg:Gelerdria:Gungnir:Skewer:Longinus's Spear:Brionac:Bill Guisarme:Zephyrus:Crescent Scythe:Tjungkuletti:Hell Fire:cancel")) {
  10718. case 1:
  10719. callsub S_BonusReward,1500,1474;
  10720. end;
  10721. case 2:
  10722. callsub S_BonusReward,1500,1414;
  10723. end;
  10724. case 3:
  10725. callsub S_BonusReward,1500,1413;
  10726. end;
  10727. case 4:
  10728. callsub S_BonusReward,1500,1415;
  10729. end;
  10730. case 5:
  10731. callsub S_BonusReward,1500,1469;
  10732. end;
  10733. case 6:
  10734. callsub S_BonusReward,1500,1470;
  10735. end;
  10736. case 7:
  10737. callsub S_BonusReward,1500,1467;
  10738. end;
  10739. case 8:
  10740. callsub S_BonusReward,1500,1468;
  10741. end;
  10742. case 9:
  10743. callsub S_BonusReward,1500,1466;
  10744. end;
  10745. case 10:
  10746. callsub S_BonusReward,1500,1416;
  10747. end;
  10748. case 11:
  10749. callsub S_BonusReward,1500,1471;
  10750. end;
  10751. case 12:
  10752. break;
  10753. }
  10754. break;
  10755. case 10:
  10756. mes "[Ei felle]";
  10757. mes "You can choose whichever unit you like.";
  10758. mes "Please select";
  10759. mes "the item that you desire.";
  10760. next;
  10761. switch(select("Infiltrator:Bloody Roar:Unholy Touch:cancel")) {
  10762. case 1:
  10763. callsub S_BonusReward,1500,1261;
  10764. end;
  10765. case 2:
  10766. callsub S_BonusReward,1500,1265;
  10767. end;
  10768. case 3:
  10769. callsub S_BonusReward,1500,1263;
  10770. end;
  10771. case 4:
  10772. break;
  10773. }
  10774. break;
  10775. case 11:
  10776. mes "[Ei felle]";
  10777. mes "You can choose whichever unit you like.";
  10778. mes "Please select";
  10779. mes "the item that you desire.";
  10780. next;
  10781. switch(select("Claw of Garm:Berserk:Kaiser Knuckle:cancel")) {
  10782. case 1:
  10783. callsub S_BonusReward,1500,1815;
  10784. end;
  10785. case 2:
  10786. callsub S_BonusReward,1500,1814;
  10787. end;
  10788. case 3:
  10789. callsub S_BonusReward,1500,1813;
  10790. end;
  10791. case 4:
  10792. break;
  10793. }
  10794. break;
  10795. case 12:
  10796. mes "[Ei felle]";
  10797. mes "You can choose whichever unit you like.";
  10798. mes "Please select";
  10799. mes "the item that you desire.";
  10800. next;
  10801. switch(select("Lariat:Rapture Rose:Bladed Whip:Chemeti:Queen's Whip:cancel")) {
  10802. case 1:
  10803. callsub S_BonusReward,1500,1962;
  10804. end;
  10805. case 2:
  10806. callsub S_BonusReward,1500,1963;
  10807. end;
  10808. case 3:
  10809. callsub S_BonusReward,1500,1969;
  10810. end;
  10811. case 4:
  10812. callsub S_BonusReward,1500,1964;
  10813. end;
  10814. case 5:
  10815. callsub S_BonusReward,1500,1970;
  10816. end;
  10817. case 6:
  10818. break;
  10819. }
  10820. break;
  10821. case 13:
  10822. mes "[Ei felle]";
  10823. mes "You can choose whichever unit you like.";
  10824. mes "Please select";
  10825. mes "the item that you desire.";
  10826. next;
  10827. switch(select("Oriental Lute:Electronic Guitar:cancel")) {
  10828. case 1:
  10829. callsub S_BonusReward,1500,1918;
  10830. end;
  10831. case 2:
  10832. callsub S_BonusReward,1500,1913;
  10833. end;
  10834. case 3:
  10835. break;
  10836. }
  10837. break;
  10838. }
  10839. break;
  10840. case 2:
  10841. mes "[Ei felle]";
  10842. mes "Something else...";
  10843. next;
  10844. mes "["+ strcharinfo(0) +"]";
  10845. mes "The one you made last time...";
  10846. next;
  10847. mes "[Ei felle]";
  10848. mes "Oh, that one!!";
  10849. mes "Here, there they are,";
  10850. mes "Which item do you desire?";
  10851. next;
  10852. switch(select("Glittering Clothes:Flame Sprits Armor:Earth Sprits Armor:Wind Sprits Armor:Water Sprits Armor:cancel")) {
  10853. case 1:
  10854. callsub S_BonusReward,500,2319;
  10855. end;
  10856. case 2:
  10857. callsub S_BonusReward,1000,2345;
  10858. end;
  10859. case 3:
  10860. callsub S_BonusReward,1000,2351;
  10861. end;
  10862. case 4:
  10863. callsub S_BonusReward,1000,2349;
  10864. end;
  10865. case 5:
  10866. callsub S_BonusReward,1000,2347;
  10867. end;
  10868. case 6:
  10869. break;
  10870. }
  10871. break;
  10872. }
  10873. }
  10874. else {
  10875. mes "[Ei felle]";
  10876. mes "Oh, how are you?";
  10877. mes "I have been making good use";
  10878. mes "of the medal that you gave me";
  10879. mes "but with so many faulty product around";
  10880. mes "it's really hard to";
  10881. mes "save any of it for future use...";
  10882. next;
  10883. if (countitem(7515) > 0) {
  10884. mes "[Ei felle]";
  10885. mes "Although the member of our factory ";
  10886. mes "had been trying to gather the medal from that village,";
  10887. mes "we still haven't received any good news...";
  10888. mes "I feel so ashamed...";
  10889. mes "Can you help me if you ";
  10890. mes "have some additional medals?";
  10891. next;
  10892. callsub S_Reward;
  10893. end;
  10894. }
  10895. else {
  10896. mes "[Ei felle]";
  10897. mes "If you ever get any medal,";
  10898. mes "can you give some to me?";
  10899. close;
  10900. }
  10901. }
  10902. close;
  10903. S_Reward:
  10904. switch(select("Ok:No")) {
  10905. case 1:
  10906. mes "[Ei felle]";
  10907. mes "Really?!!!!!";
  10908. mes "Thank you so much.";
  10909. mes "This metal is light and solid";
  10910. mes "and it can be made use to ";
  10911. mes "produce good product.";
  10912. next;
  10913. mes "[Ei felle]";
  10914. mes "I need to give you something as a reward.";
  10915. mes "What should I give you...";
  10916. next;
  10917. switch(select("Please provide aid in future experience:Help me with the job NPC:Work harder in your research:Ask about progress of research")) {
  10918. case 1:
  10919. mes "[Ei felle]";
  10920. mes "Hmmm...This is nothing important.";
  10921. mes "Anyway, let me pray for your safety";
  10922. mes "and hopefully it will be helpful";
  10923. mes "for your future adventure!";
  10924. next;
  10925. mes "[Ei felle]";
  10926. mes "Hmmmm.....Hahaha!!!";
  10927. emotion e_omg,1;
  10928. emotion e_omg;
  10929. next;
  10930. mes "[Ei felle]";
  10931. mes "Phew, that's it.";
  10932. mes "I pray that your future will be blessed";
  10933. mes "with safety and happiness.";
  10934. delitem 7515,1; //Marvelous_Medal
  10935. if (BaseLevel < 21) {
  10936. getexp 150,0;
  10937. }
  10938. else if ((BaseLevel > 20) && (BaseLevel < 31)) {
  10939. getexp 300,0;
  10940. }
  10941. else if ((BaseLevel > 30) && (BaseLevel < 41)) {
  10942. getexp 2000,0;
  10943. }
  10944. else if ((BaseLevel > 40) && (BaseLevel < 51)) {
  10945. getexp 8000,0;
  10946. }
  10947. else if ((BaseLevel > 50) && (BaseLevel < 61)) {
  10948. getexp 25000,0;
  10949. }
  10950. else if ((BaseLevel > 60) && (BaseLevel < 71)) {
  10951. getexp 47000,0;
  10952. }
  10953. else if ((BaseLevel > 70) && (BaseLevel < 81)) {
  10954. getexp 55000,0;
  10955. }
  10956. else {
  10957. getexp 65000,0;
  10958. }
  10959. close;
  10960. case 2:
  10961. mes "[Ei felle]";
  10962. mes "Hmmm...This is nothing important.";
  10963. mes "Anyway, let me pray for your safety";
  10964. mes "and hopefully it will be helpful";
  10965. mes "for your future adventure!";
  10966. next;
  10967. mes "[Ei felle]";
  10968. mes "Hmmmm.....Hahaha!!!";
  10969. emotion e_omg,1;
  10970. emotion e_omg;
  10971. next;
  10972. mes "[Ei felle]";
  10973. mes "Phew, that's it.";
  10974. mes "I pray that your future will be blessed";
  10975. mes "with safety and happiness.";
  10976. delitem 7515,1; //Marvelous_Medal
  10977. if (Upper != 2 && Class < Job_SuperNovice) {
  10978. if (BaseJob == Job_Novice) {
  10979. getexp 0,30;
  10980. }
  10981. else if (((BaseJob >= Job_Swordman) && (BaseJob <= Job_Thief)) || (Class == Job_Taekwon)) {
  10982. if (JobLevel < 11) {
  10983. getexp 0,50;
  10984. }
  10985. else if ((JobLevel > 10) && (JobLevel < 21)) {
  10986. getexp 0,250;
  10987. }
  10988. else if ((JobLevel > 20) && (JobLevel < 31)) {
  10989. getexp 0,1500;
  10990. }
  10991. else if ((JobLevel > 30) && (JobLevel < 41)) {
  10992. getexp 0,7000;
  10993. }
  10994. else {
  10995. getexp 0,20000;
  10996. }
  10997. }
  10998. else if ((BaseJob >= Job_Knight) && (BaseJob <= Job_Crusader2)) {
  10999. if (JobLevel < 11) {
  11000. getexp 0,80;
  11001. }
  11002. else if ((JobLevel > 10) && (JobLevel < 21)) {
  11003. getexp 0,2000;
  11004. }
  11005. else if ((JobLevel > 20) && (JobLevel < 31)) {
  11006. getexp 0,10000;
  11007. }
  11008. else if ((JobLevel > 30) && (JobLevel < 41)) {
  11009. getexp 0,25000;
  11010. }
  11011. else {
  11012. getexp 0,38000;
  11013. }
  11014. }
  11015. }
  11016. else if (Upper == 2) {
  11017. if (Class == Job_Novice_High) {
  11018. getexp 0,40;
  11019. }
  11020. else if ((Class >= Job_Swordman_High) && (Class <= Job_Thief_High)) {
  11021. if (JobLevel < 11) {
  11022. getexp 0,65;
  11023. }
  11024. else if ((JobLevel > 10) && (JobLevel < 21)) {
  11025. getexp 0,300;
  11026. }
  11027. else if ((JobLevel > 20) && (JobLevel < 31)) {
  11028. getexp 0,2500;
  11029. }
  11030. else if ((JobLevel > 30) && (JobLevel < 41)) {
  11031. getexp 0,10000;
  11032. }
  11033. else {
  11034. getexp 0,25000;
  11035. }
  11036. }
  11037. else if ((Class >= Job_Lord_Knight) && (Class <= Job_Paladin_2)) {
  11038. if (JobLevel < 11) {
  11039. getexp 0,150;
  11040. }
  11041. else if ((JobLevel > 10) && (JobLevel < 21)) {
  11042. getexp 0,2200;
  11043. }
  11044. else if ((JobLevel > 20) && (JobLevel < 31)) {
  11045. getexp 0,13000;
  11046. }
  11047. else if ((JobLevel > 30) && (JobLevel < 41)) {
  11048. getexp 0,27000;
  11049. }
  11050. else if ((JobLevel > 40) && (JobLevel < 51)) {
  11051. getexp 0,38000;
  11052. }
  11053. else {
  11054. getexp 0,40000;
  11055. }
  11056. }
  11057. }
  11058. else {
  11059. if (JobLevel < 11) {
  11060. getexp 0,50;
  11061. }
  11062. else if ((JobLevel > 10) && (JobLevel < 21)) {
  11063. getexp 0,250;
  11064. }
  11065. else if ((JobLevel > 20) && (JobLevel < 31)) {
  11066. getexp 0,1500;
  11067. }
  11068. else if ((JobLevel > 30) && (JobLevel < 41)) {
  11069. getexp 0,7000;
  11070. }
  11071. else if ((JobLevel > 40) && (JobLevel < 51)) {
  11072. getexp 0,20000;
  11073. }
  11074. else if ((JobLevel > 50) && (JobLevel < 61)) {
  11075. getexp 0,30000;
  11076. }
  11077. else {
  11078. getexp 0,38000;
  11079. }
  11080. }
  11081. close;
  11082. case 3:
  11083. mes "[Ei felle]";
  11084. mes "What? ";
  11085. mes "Are you trying to give it to me for free?";
  11086. mes "That's great...";
  11087. mes "I'm really grateful to you...";
  11088. next;
  11089. mes "["+ strcharinfo(0) +"]";
  11090. mes "Please use this in your research.";
  11091. mes "I'll come for the reward";
  11092. mes "when you manage to get a good result in your research.";
  11093. next;
  11094. mes "[Ei felle]";
  11095. mes "Oh, you're so kind.";
  11096. mes "I'm so grateful to you.";
  11097. mes "I will listen to you and ";
  11098. mes "work harder in my research";
  11099. mes "to achieve great results!!!";
  11100. mes "I'll pay my gratitude when I am successful in my research.";
  11101. next;
  11102. mes "[Ei felle]";
  11103. mes "How many do you wish to give me?";
  11104. next;
  11105. switch(select("Give all to you:Hmm, is this enough?:I change my mind")) {
  11106. case 1:
  11107. mes "[Ei felle]";
  11108. mes "Wow!!! Thank you so much!!";
  11109. mes "I will pay you back when!!!";
  11110. mes "I achieve success in my research.";
  11111. next;
  11112. mes "[Ei felle]";
  11113. mes "I shouldn't slack now!!";
  11114. mes "I must do my research!!!";
  11115. set .@medals,countitem(7515);
  11116. delitem 7515,.@medals; //Marvelous_Medal
  11117. set ein_medal01,ein_medal01+.@medals;
  11118. close;
  11119. case 2:
  11120. mes "[Ei felle]";
  11121. mes "How many are you going to give it to me?";
  11122. mes "Please set it below 100, ok?";
  11123. next;
  11124. while(1) {
  11125. input .@input;
  11126. if (.@input == 0) {
  11127. mes "[Ei felle]";
  11128. mes "Are you going to give them to me for real?";
  11129. mes "Or are you trying to joke with me?";
  11130. close;
  11131. }
  11132. else if (.@input < 0 || .@input > 100) {
  11133. mes "[Ei felle]";
  11134. mes "Please set the amount below 100.";
  11135. next;
  11136. }
  11137. else {
  11138. break;
  11139. }
  11140. }
  11141. if (countitem(7515) < .@input) {
  11142. mes "[Ei felle]";
  11143. mes "Huh? Looks like you don't have enough medal.";
  11144. mes "Oh, you've gone too far.";
  11145. emotion e_heh;
  11146. close;
  11147. }
  11148. else {
  11149. mes "[Ei felle]";
  11150. mes "Thank you!!!";
  11151. mes "Thanks for the medal that you give me.";
  11152. mes "I will try my best to do the research";
  11153. mes "and achieve a great success one day!";
  11154. mes "Please wait for me!!!";
  11155. delitem 7515,.@input; //Marvelous_Medal
  11156. set ein_medal01,ein_medal01+.@input;
  11157. close;
  11158. }
  11159. case 3:
  11160. mes "[Ei felle]";
  11161. mes "Oh, so that's what happened...";
  11162. mes "If you change your mind,";
  11163. mes "I am counting on you to help me.";
  11164. close;
  11165. }
  11166. delitem 7515,1; //Marvelous_Medal
  11167. set ein_medal01,1;
  11168. close;
  11169. case 4:
  11170. if (ein_medal01 == 0) {
  11171. mes "[Ei felle]";
  11172. mes "Phew...There still isn't any progress.";
  11173. mes "If I can get that medal...";
  11174. mes "Wooowoooo...";
  11175. close;
  11176. }
  11177. else {
  11178. mes "[Ei felle]";
  11179. mes "However,until then...";
  11180. mes "I still haven't made any progress";
  11181. mes "However, we still have ^FF0000"+ ein_medal01 +"^000000unit(s) Marvelous Medal";
  11182. mes "given by Mr./Miss "+ strcharinfo(0) +".";
  11183. mes "We will use it carefully.";
  11184. close;
  11185. }
  11186. }
  11187. case 2:
  11188. mes "[Ei felle]";
  11189. mes "Oh, is that so...";
  11190. mes "If you ever change your mind,";
  11191. mes "I hope yo will be willing to help me.";
  11192. emotion e_sob;
  11193. close;
  11194. }
  11195. S_BonusReward:
  11196. mes "["+ strcharinfo(0) +"]";
  11197. mes "I'm relieve that the research result";
  11198. mes "is better than expected.";
  11199. mes "Well then, I will put it to good use.";
  11200. next;
  11201. mes "[Ei felle]";
  11202. mes "I should be the one who say thank you";
  11203. mes "for you have helped me to achieve";
  11204. mes "great research result.";
  11205. mes "I will work harder";
  11206. mes "to achieve greater results";
  11207. mes "in the future.";
  11208. next;
  11209. mes "[Ei felle]";
  11210. mes "Here, please accept ";
  11211. mes "this "+getitemname(getarg(1))+".";
  11212. next;
  11213. switch(select("Do not accept:Accept")) {
  11214. case 1:
  11215. mes "["+ strcharinfo(0) +"]";
  11216. mes "Wait, I have changed my mind.";
  11217. mes "Can I take it next time? ";
  11218. next;
  11219. mes "[Ei felle]";
  11220. mes "Oh? It's ok for me...";
  11221. mes "You can take it anytime. ";
  11222. mes "So, please come again when you feel that you need it.";
  11223. close;
  11224. case 2:
  11225. mes "[Ei felle]";
  11226. mes "Thank you!";
  11227. mes "If you were free, ";
  11228. mes "please help us again next time.";
  11229. set ein_medal01,ein_medal01-getarg(0);
  11230. getitem getarg(1),1;
  11231. close;
  11232. }
  11233. }
  11234. hugel,71,83,4 script Wayne 900,{
  11235. if (checkweight(1201,1) == 0) {
  11236. mes "- Please wait for a while!! -";
  11237. mes "- You're carrying too many items-";
  11238. mes "- and you won't be able to receive any item now.-";
  11239. mes "- Please take off some of your loads-";
  11240. mes "- and come for the challenge again.-";
  11241. close;
  11242. }
  11243. mes "[Wayne]";
  11244. mes "Hello there. This is the place where you can change the medals to other merchandise.";
  11245. mes "Rumors have that there are some other places that require medals too.";
  11246. mes "That's nothing to be surprise about since the medals from Hugel contains rare substance that can't be found from other places.";
  11247. next;
  11248. mes "[Wayne]";
  11249. mes "It's up to you how you're going to use the medals.";
  11250. mes "So, do you want to change the medals to merchandise?";
  11251. next;
  11252. switch(select("Yes:No")) {
  11253. case 1:
  11254. if (checkweight(909,550) == 0) {
  11255. mes "[Wayne]";
  11256. mes "Looks like you've been carrying too many items...";
  11257. mes "Why don't you put it in the storage before you come again.";
  11258. close;
  11259. }
  11260. else {
  11261. mes "[Wayne]";
  11262. mes "How many items do you wish to change?";
  11263. next;
  11264. switch(select("1unit(s):3unit(s):7unit(s):8unit(s):16unit(s):25unit(s):42unit(s):59unit(s)")) {
  11265. case 1:
  11266. mes "[Wayne]";
  11267. mes "Medal x1unit(s) can be used to exchange for the following items.";
  11268. mes "What items to you wish to receive?";
  11269. next;
  11270. switch(select("Leaflet of Hinal x2unit(s):Leaflet of Aloe x2unit(s):Fruit of Mastela x1unit(s):Starsand of Witch x5unit(s):Red Slim Potion x4unit(s)")) {
  11271. case 1:
  11272. if (countitem(7515) < 1) {
  11273. mes "[Wayne]";
  11274. mes "Looks like you have forgotten something. This is the place where you redeem prizes with medals.";
  11275. mes "You should bring along your medals.";
  11276. close;
  11277. }
  11278. else {
  11279. mes "[Wayne]";
  11280. mes "Here are the Leaflet of Hinal x 2unit(s),";
  11281. mes "Please come and find me again if you ever wish to redeem any prizes with medals.";
  11282. delitem 7515,1; //Marvelous_Medal
  11283. getitem 520,2; //Leaflet_Of_Hinal
  11284. close;
  11285. }
  11286. case 2:
  11287. if (countitem(7515) < 1) {
  11288. mes "[Wayne]";
  11289. mes "Looks like you have forgotten something. This is the place where you redeem prizes with medals.";
  11290. mes "You should bring along your medals.";
  11291. close;
  11292. }
  11293. else {
  11294. mes "[Wayne]";
  11295. mes "Here are Leaflet of Aloe x2unit(s),";
  11296. mes "Please come and find me again if you ever wish to redeem any prizes with medals.";
  11297. delitem 7515,1; //Marvelous_Medal
  11298. getitem 521,2; //Leaflet_Of_Aloe
  11299. close;
  11300. }
  11301. case 3:
  11302. if (countitem(7515) < 1) {
  11303. mes "[Wayne]";
  11304. mes "Looks like you have forgotten something. This is the place where you redeem prizes with medals.";
  11305. mes "You should bring along your medals.";
  11306. close;
  11307. }
  11308. else {
  11309. mes "[Wayne]";
  11310. mes "Here is Fruit of Mastela x1unit(s)";
  11311. mes "Please come and find me again if you ever wish to redeem any prizes with medals.";
  11312. delitem 7515,1; //Marvelous_Medal
  11313. getitem 522,1; //Fruit_Of_Mastela
  11314. close;
  11315. }
  11316. case 4:
  11317. if (countitem(7515) < 1) {
  11318. mes "[Wayne]";
  11319. mes "Looks like you have forgotten something. This is the place where you redeem prizes with medals.";
  11320. mes "You should bring along your medals.";
  11321. close;
  11322. }
  11323. else {
  11324. mes "[Wayne]";
  11325. mes "Here are Starsand of Witch x5unit(s)";
  11326. mes "Please come and find me again if you ever wish to redeem any prizes with medals.";
  11327. delitem 7515,1; //Marvelous_Medal
  11328. getitem 1061,5; //Starsand_Of_Witch
  11329. close;
  11330. }
  11331. case 5:
  11332. if (countitem(7515) < 1) {
  11333. mes "[Wayne]";
  11334. mes "Looks like you have forgotten something. This is the place where you redeem prizes with medals.";
  11335. mes "You should bring along your medals.";
  11336. close;
  11337. }
  11338. else {
  11339. mes "[Wayne]";
  11340. mes "Here are Red Slim Potion x4unit(s)";
  11341. mes "Please come and find me again if you ever wish to redeem any prizes with medals.";
  11342. delitem 7515,1; //Marvelous_Medal
  11343. getitem 545,4; //Red_Slim_Potion
  11344. close;
  11345. }
  11346. }
  11347. case 2:
  11348. mes "[Wayne]";
  11349. mes "Medal x3unit(s) can be used to exchange for the following items.";
  11350. mes "What items to you wish to receive?";
  11351. next;
  11352. switch(select("Royal Jelly 1unit(s):Holy Water 6unit(s)")) {
  11353. case 1:
  11354. if (countitem(7515) < 3) {
  11355. mes "[Wayne]";
  11356. mes "Looks like you have forgotten something. This is the place where you redeem prizes with medals.";
  11357. mes "You should bring along your medals.";
  11358. close;
  11359. }
  11360. else {
  11361. mes "[Wayne]";
  11362. mes "Here is the Royal Jelly 1unit(s)";
  11363. mes "Please come and find me again if you ever wish to redeem any prizes with medals.";
  11364. delitem 7515,3; //Marvelous_Medal
  11365. getitem 526,1; //Royal_Jelly
  11366. close;
  11367. }
  11368. case 2:
  11369. if (countitem(7515) < 3) {
  11370. mes "[Wayne]";
  11371. mes "Looks like you have forgotten something. This is the place where you redeem prizes with medals.";
  11372. mes "You should bring along your medals.";
  11373. close;
  11374. }
  11375. else {
  11376. mes "[Wayne]";
  11377. mes "Here are Holy Water x6unit(s)";
  11378. mes "Please come and find me again if you ever wish to redeem any prizes with medals.";
  11379. delitem 7515,3; //Marvelous_Medal
  11380. getitem 523,6; //Holy_Water
  11381. close;
  11382. }
  11383. }
  11384. case 3:
  11385. mes "[Wayne]";
  11386. mes "Medal x7unit(s) can be used to exchange for the following items.";
  11387. mes "What items to you wish to receive?";
  11388. next;
  11389. switch(select("Cookie Bag x1unit(s):First Aid Kit x1unit(s)")) {
  11390. case 1:
  11391. if (countitem(7515) < 7) {
  11392. mes "[Wayne]";
  11393. mes "Looks like you have forgotten something. This is the place where you redeem prizes with medals.";
  11394. mes "You should bring along your medals.";
  11395. close;
  11396. }
  11397. else {
  11398. mes "[Wayne]";
  11399. mes "Here is the Cookie Bag x1unit(s)";
  11400. mes "Please come and find me again if you ever wish to redeem any prizes with medals.";
  11401. delitem 7515,7; //Marvelous_Medal
  11402. getitem 12130,1; //Cookie_Bag
  11403. close;
  11404. }
  11405. case 2:
  11406. if (countitem(7515) < 7) {
  11407. mes "[Wayne]";
  11408. mes "Looks like you have forgotten something. This is the place where you redeem prizes with medals.";
  11409. mes "You should bring along your medals.";
  11410. close;
  11411. }
  11412. else {
  11413. mes "[Wayne]";
  11414. mes "Here is the First Aid Kit x1unit(s)";
  11415. mes "Please come and find me again if you ever wish to redeem any prizes with medals.";
  11416. delitem 7515,7; //Marvelous_Medal
  11417. getitem 12110,1; //First_Aid_Kit
  11418. close;
  11419. }
  11420. }
  11421. case 4:
  11422. mes "[Wayne]";
  11423. mes "Medal x8unit(s) can be used to exchange for the following items.";
  11424. mes "What items to you wish to receive?";
  11425. next;
  11426. select("1 Gift Box");
  11427. if (countitem(7515) < 8) {
  11428. mes "[Wayne]";
  11429. mes "Looks like you have forgotten something. This is the place where you redeem prizes with medals.";
  11430. mes "You should bring along your medals.";
  11431. close;
  11432. }
  11433. else {
  11434. mes "[Wayne]";
  11435. mes "Here's the Gift Box x1unit(s)";
  11436. mes "Please come and find me again if you ever wish to redeem any prizes with medals.";
  11437. delitem 7515,8; //Marvelous_Medal
  11438. getitem 644,1; //Gift_Box
  11439. close;
  11440. }
  11441. case 5:
  11442. mes "[Wayne]";
  11443. mes "Medal x16unit(s) can be used to exchange for the following items.";
  11444. mes "What items to you wish to receive?";
  11445. next;
  11446. select("Old Blue Box 1unit(s)");
  11447. if (countitem(7515) < 16) {
  11448. mes "[Wayne]";
  11449. mes "Looks like you have forgotten something. This is the place where you redeem prizes with medals.";
  11450. mes "You should bring along your medals.";
  11451. close;
  11452. }
  11453. else {
  11454. mes "[Wayne]";
  11455. mes "Here is the Old Blue Box x1unit(s)";
  11456. mes "Please come and find me again if you ever wish to redeem any prizes with medals.";
  11457. delitem 7515,16; //Marvelous_Medal
  11458. getitem 603,1; //Old_Blue_Box
  11459. close;
  11460. }
  11461. case 6:
  11462. mes "[Wayne]";
  11463. mes "Medal x25unit(s) can be used to exchange for the following items.";
  11464. mes "What items to you wish to receive?";
  11465. next;
  11466. select("Set of Taming Item 1unit(s)");
  11467. if (countitem(7515) < 25) {
  11468. mes "[Wayne]";
  11469. mes "Looks like you have forgotten something. This is the place where you redeem prizes with medals.";
  11470. mes "You should bring along your medals.";
  11471. close;
  11472. }
  11473. else {
  11474. mes "[Wayne]";
  11475. mes "Here is Set of Taming Item x1unit(s)";
  11476. mes "Please come and find me again if you ever wish to redeem any prizes with medals.";
  11477. delitem 7515,25; //Marvelous_Medal
  11478. getitem 12105,1; //Set_Of_Taiming_Item
  11479. close;
  11480. }
  11481. case 7:
  11482. mes "[Wayne]";
  11483. mes "Medal x42unit(s) can be used to exchange for the following items.";
  11484. mes "What items to you wish to receive?";
  11485. next;
  11486. select("Old Violte Box 1unit(s)");
  11487. if (countitem(7515) < 42) {
  11488. mes "[Wayne]";
  11489. mes "Looks like you have forgotten something. This is the place where you redeem prizes with medals.";
  11490. mes "You should bring along your medals.";
  11491. close;
  11492. }
  11493. else {
  11494. mes "[Wayne]";
  11495. mes "Here's the Old Violet Box x1unit(s)";
  11496. mes "Please come and find me again if you ever wish to redeem any prizes with medals.";
  11497. delitem 7515,42; //Marvelous_Medal
  11498. getitem 617,1; //Old_Violet_Box
  11499. close;
  11500. }
  11501. case 8:
  11502. mes "[Wayne]";
  11503. mes "Medal x59unit(s) can be used to exchange for the following items.";
  11504. mes "What items to you wish to receive?";
  11505. next;
  11506. select("Poring Box 1unit(s)");
  11507. if (countitem(7515) < 59) {
  11508. mes "[Wayne]";
  11509. mes "Looks like you have forgotten something. This is the place where you redeem prizes with medals.";
  11510. mes "You should bring along your medals.";
  11511. close;
  11512. }
  11513. else {
  11514. mes "[Wayne]";
  11515. mes "Here's the Poring Box x1unit(s)";
  11516. mes "Please come and find me again if you ever wish to redeem any prizes with medals.";
  11517. delitem 7515,59; //Marvelous_Medal
  11518. getitem 12109,1; //Poring_Box
  11519. close;
  11520. }
  11521. }
  11522. }
  11523. case 2:
  11524. mes "[Wayne]";
  11525. mes "It can be used in many ways. Please think about it before you come again.";
  11526. close;
  11527. }
  11528. }
  11529. //============================================================
  11530. // Monstrer Race Affiliated NPCs
  11531. //============================================================
  11532. airplane,246,47,1 script Eocatt#decoy01 878,{
  11533. mes "[Eocatt]";
  11534. mes "There's an old, humble";
  11535. mes "village on the outskirts of";
  11536. mes "the Schwaltzvalt Republic.";
  11537. mes "It was just a tiny blip on the";
  11538. mes "map until they opened up";
  11539. mes "their Monster Race Arena!";
  11540. next;
  11541. mes "[Eocatt]";
  11542. mes "If you win wagers on the";
  11543. mes "monster race games, you'll";
  11544. mes "be rewarded with these Prize";
  11545. mes "Medals that are made of some";
  11546. mes "really rare metal. I hear this";
  11547. mes "metal's in demand in Einbroch.";
  11548. next;
  11549. mes "[Eocatt]";
  11550. mes "Right, right...";
  11551. mes "I remember now, the";
  11552. mes "town was named Hugel.";
  11553. mes "I'm sure there's other fun";
  11554. mes "things to do there, but I'm sure";
  11555. mes "that the Race Arena is a must!";
  11556. close;
  11557. }
  11558. hugel,85,93,5 script Mudie#dummy01 866,{
  11559. mes "[Mudie]";
  11560. mes "The Monster Races";
  11561. mes "are probably the biggest";
  11562. mes "attraction here in Hugel.";
  11563. mes "We don't have much else";
  11564. mes "going on here, I'm afraid.";
  11565. next;
  11566. mes "[Mudie]";
  11567. mes "If you want to go visit";
  11568. mes "the Monster Race Arena,";
  11569. mes "just head towards the";
  11570. mes "7 'o clock direction on";
  11571. mes "your Mini-Map, and look for";
  11572. mes "the hill surrounded by a fence.";
  11573. next;
  11574. mes "[Mudie]";
  11575. mes "You should find the arena";
  11576. mes "somewhere around that area.";
  11577. mes "Anyway, if you want to wager";
  11578. mes "or just watch the races, just";
  11579. mes "ask one of the Eckar brothers.";
  11580. mes "I hope you enjoy our little town~";
  11581. close;
  11582. }
  11583. p_track02,32,45,3 script Eccentric Scholar#double 755,{
  11584. mes "[Eccentric Scholar]";
  11585. mes "Let's see now...";
  11586. mes "Monster 1's average speed";
  11587. mes "and luck, as affected by";
  11588. mes "wind resistance, fatigue...";
  11589. mes "What's the approximate";
  11590. mes "probability of winning...?";
  11591. next;
  11592. mes "[Eccentric Scholar]";
  11593. mes "Crunch it into my";
  11594. mes "algorithm... Carry the two...";
  11595. mes "Wait, how many significant";
  11596. mes "figures should I be using?";
  11597. mes "Ah, right, 7, to account for x,";
  11598. mes "a value representing--";
  11599. next;
  11600. mes "["+ strcharinfo(0) +"]";
  11601. mes "Excuse me, but";
  11602. mes "what are you doing?";
  11603. next;
  11604. mes "[Eccentric Scholar]";
  11605. mes "S-silence!";
  11606. mes "I must complete";
  11607. mes "my calculations!";
  11608. mes "Now, where was I...?";
  11609. specialeffect EF_CLAYMORE;
  11610. emotion e_an;
  11611. close;
  11612. }
  11613. p_track02,69,31,1 script Blacksmith Guildsman#dou 726,{
  11614. if ($@mon_time_2_2 == 0) {
  11615. mes "[Blacksmith Guildsman]";
  11616. mes "How many times must";
  11617. mes "I wager on these races?!";
  11618. mes "I haven't won even once!";
  11619. mes "Oh, I must have the worst";
  11620. mes "luck in wagering history!";
  11621. emotion e_sob;
  11622. next;
  11623. mes "[Blacksmith Guildsman]";
  11624. mes "I've been assigned by my";
  11625. mes "guild to bring back some";
  11626. mes "Prize Medals to Einbroch.";
  11627. mes "They're apparently made";
  11628. mes "with some rare metal, but...";
  11629. mes "It's too hard for me to win~!";
  11630. emotion e_swt2;
  11631. close;
  11632. }
  11633. else {
  11634. mes "[Blacksmith Guildsman]";
  11635. mes "Run! Go go go!";
  11636. mes "I need to win some";
  11637. mes "medals! Otherwise, I'll";
  11638. mes "be too ashamed to return";
  11639. mes "home to Einbroch! F-faster!";
  11640. emotion e_korea;
  11641. close;
  11642. }
  11643. }
  11644. p_track02,53,45,3 script Valiant Knight#double 733,{
  11645. mes "[Valiant Knight]";
  11646. mes "Hey, have you been";
  11647. mes "wagering on the races?";
  11648. mes "If you've got a hot tip, then";
  11649. mes "would you share it with me?";
  11650. mes "I've won some wagers... But";
  11651. mes "I really wanna win more!";
  11652. next;
  11653. mes "[Valiant Knight]";
  11654. mes "Hah hah! It's like I tell";
  11655. mes "those Blacksmiths! If they";
  11656. mes "don't wanna lose all the time,";
  11657. mes "then they should just bet on the";
  11658. mes "same monster. Me? I always";
  11659. mes "bet on the black Deviruchi~";
  11660. next;
  11661. mes "[Valiant Knight]";
  11662. mes "You too...!";
  11663. mes "Always bet";
  11664. mes "on Deviruchi!";
  11665. emotion e_no1;
  11666. close;
  11667. }
  11668. p_track01,27,47,5 script Drunkard#single 853,{
  11669. mes "[Familiar Drunkard]";
  11670. mes "Grrr...! ^333333*Hiccup*^000000";
  11671. mes "I just gotta win this";
  11672. mes "next game! I hafta do it!";
  11673. mes "Hey, you! Which number is";
  11674. mes "your lucky number? Huh?";
  11675. next;
  11676. mes "["+ strcharinfo(0) +"]";
  11677. mes "I, er...";
  11678. next;
  11679. mes "[Familiar Drunkard]";
  11680. mes "C'mon, I need your";
  11681. mes "lucky number cuz I ran";
  11682. mes "out of mine! Tell me!";
  11683. mes "Tell me! ^333333*Hiccup~*^000000";
  11684. close;
  11685. }
  11686. p_track01,69,31,1 script Blacksmith Guildsman#sin 107,{
  11687. mes "[Blacksmith Guildsman]";
  11688. mes "How can this be so hard?";
  11689. mes "Why can't I win at least";
  11690. mes "one of these races? Argh!";
  11691. mes "I can't go back until I get";
  11692. mes "at least one Prize Medal!";
  11693. next;
  11694. mes "[Blacksmith Guildsman]";
  11695. mes "Yeah, I've been assigned";
  11696. mes "by the Einbroch Factory to";
  11697. mes "get some Prize Medals since";
  11698. mes "they're made of this rare medal.";
  11699. mes "But it looks like they picked";
  11700. mes "the wrong guy for this job.";
  11701. next;
  11702. mes "[Blacksmith Guildsman]";
  11703. mes "I mean, I've been here";
  11704. mes "forever and I haven't won";
  11705. mes "anything yet! Hey, do me";
  11706. mes "a favor and give any extra";
  11707. mes "Prize Medals you might have";
  11708. mes "to the Einbroch Factory, okay?";
  11709. close;
  11710. }
  11711. p_track01,45,42,3 script Absent Minded Man#single 881,{
  11712. mes "[Absent Minded Man]";
  11713. mes "Say, are you here to bet";
  11714. mes "on the monster races? I've";
  11715. mes "come all the way here, just";
  11716. mes "because some strange man";
  11717. mes "asked me to win medals. It's";
  11718. mes "the only reason I'm in Hugel.";
  11719. next;
  11720. mes "[Absent Minded Man]";
  11721. mes "But I've made more than";
  11722. mes "100 wagers, and haven't won";
  11723. mes "any of them! I mean, if I bet";
  11724. mes "on the same monster 6 times,";
  11725. mes "I should win at least once,";
  11726. mes "right? What's going on?!";
  11727. close;
  11728. }