thana_quest.txt 69 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604
  1. //===== eAthena Script =======================================
  2. //= Thanatos Tower Quest
  3. //===== By: ==================================================
  4. //= [Ishizu-chan]
  5. //===== Current Version: =====================================
  6. //= 2.1
  7. //===== Compatible With: =====================================
  8. //= Any eAthena Version i guess?
  9. //===== Description: =========================================
  10. //= It's the Thanatos Tower Quest...
  11. //===== Additional Comments: =================================
  12. //= 1.0 First Release [Ishizu-chan]
  13. //= 1.1 Updated Thanatos Tower Quest to official. [SinSloth]
  14. //= 1.2 Fixed a bug where Reward NPC didn't give you Zeny and Exp. [SinSloth]
  15. //= 1.3 Added a checking in boss map to reset event if there's no player. [SinSloth]
  16. //= 1.4 Changed the way the Thanatos Portal works to allow people to enter
  17. //= as long as Thanatos is alive. [SinSloth]
  18. //= 1.4a You may enter either "Charmstone" or "Charm Stone" [Lupus]
  19. //= 1.5 Fixed a bug in the number part of the quest. [SinSloth]
  20. //= 1.6 Fixed experience gains to match upcoming rate adjustments. [SinSloth]
  21. //= 1.7 Fixed a minor bug with prevented code part from reseting properly. [SinSloth]
  22. //= 1.8 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf]
  23. //= 1.9 Fixed a bug in the last event which allowed an exploit after the first summoning. [SinSloth]
  24. //= 2.0 Cleaned up the trans-only check, and added expanded classes. [L0ne_W0lf]
  25. //= 2.1 Replaced effect numerics with constants. [Samuray22]
  26. //============================================================
  27. hu_fild01,140,163,5 script Tower Keeper 852,3,3,{
  28. mes "[Gatei]";
  29. mes "Greetings, adventurer.";
  30. mes "I am Gatei Knumm, keeper";
  31. mes "of this Thanatos Tower.";
  32. mes "How may I help you?";
  33. next;
  34. switch( select( "Thanatos Tower?","Entrance Fee.","Enter the tower","Cancel" ) )
  35. {
  36. case 1:
  37. mes "[Gatei]";
  38. mes "Yes, the tower in front";
  39. mes "of you was an ancient ruins";
  40. mes "that got its name from a word";
  41. mes "written on a stone plate found";
  42. mes "inside. Today, this place is";
  43. mes "a popular tourist attraction.";
  44. next;
  45. mes "[Gatei]";
  46. mes "This tower grew in popularity";
  47. mes "for adventurers when the";
  48. mes "Rekenber Corporation began";
  49. mes "tower reconstruction efforts.";
  50. mes "The 1st and 2nd floors are now";
  51. mes "repaired and free of monsters.";
  52. next;
  53. mes "[Gatei]";
  54. mes "However, reconstruction of";
  55. mes "the 3rd and higher floors is";
  56. mes "incomplete. Those levels are";
  57. mes "still infested with monsters, so we're contracting temp workers";
  58. mes "to exterminate all of them.";
  59. next;
  60. mes "[Gatei]";
  61. mes "If you're interested in";
  62. mes "temporary contract work,";
  63. mes "or would like to know about";
  64. mes "this place in detail, please";
  65. mes "ask one of the guides inside.";
  66. mes "Thank you and enjoy your visit~";
  67. close;
  68. case 2:
  69. mes "[Gatei]";
  70. mes "Everyone is welcome to";
  71. mes "enjoy Thanatos Tower.";
  72. mes "Only the 1st and 2nd floors";
  73. mes "are open to the public at";
  74. mes "this time. The entrance fee";
  75. mes "is 5,000 zeny per person.";
  76. next;
  77. mes "[Gatei]";
  78. mes "5,000 zeny may seem a little";
  79. mes "steep for a tourist attraction,";
  80. mes "but trust me, this tower provides a very unique experience. Also,";
  81. mes "our loyal customers and contract workers get a special discount~";
  82. close;
  83. case 3:
  84. mes "[Gatei]";
  85. mes "Would you like to";
  86. mes "enter Thanatos Tower?";
  87. mes "The entry fee is ^FF00005,000 zeny^000000.";
  88. next;
  89. switch( select( "Enter","Maybe next time." ) )
  90. {
  91. case 1:
  92. if (thana_quest)
  93. {
  94. mes "[Gatei]";
  95. mes "Oh, "+strcharinfo(0)+"!";
  96. mes "Welcome back! Since you've";
  97. mes "got a temporary Rekenber";
  98. mes "work contract, your entrance";
  99. mes "fee is only 3,000 zeny.";
  100. next;
  101. switch( select( "Enter","No, thanks." ) )
  102. {
  103. case 1:
  104. if (Zeny < 3000)
  105. {
  106. mes "[Gatei]";
  107. mes "Oh, I'm sorry...";
  108. mes "But you don't seem to";
  109. mes "have enough zeny. Oh well,";
  110. mes "just come back again later~";
  111. close;
  112. }
  113. mes "[Gatei]";
  114. mes "Thank you, and";
  115. mes "please keep up the";
  116. mes "good work. Ah, and don't";
  117. mes "forget: safety first when";
  118. mes "you fight those monsters!";
  119. set Zeny,Zeny - 3000;
  120. close2;
  121. warp "tha_scene01",131,220;
  122. end;
  123. case 2:
  124. mes "[Gatei]";
  125. mes "Oh, I'm sorry...";
  126. mes "But you don't seem to";
  127. mes "have enough zeny. Oh well,";
  128. mes "just come back again later~";
  129. close;
  130. }
  131. }
  132. if (Zeny < 5000)
  133. {
  134. mes "[Gatei]";
  135. mes "Well...";
  136. mes "Hm. I'm sorry, but you";
  137. mes "don't seem to have enough";
  138. mes "zeny for the entrance fee.";
  139. mes "Please come back later...";
  140. close;
  141. }
  142. mes "[Gatei]";
  143. mes "Ah, I've received your";
  144. mes "entrance fee. Thank you";
  145. mes "very much. Now, I hope";
  146. mes "you enjoy your visit";
  147. mes "to Thanatos Tower~";
  148. set Zeny,Zeny - 5000;
  149. close2;
  150. warp "tha_scene01",131,220;
  151. end;
  152. case 2:
  153. mes "[Gatei]";
  154. mes "Very well. Please come";
  155. mes "and visit us again here";
  156. mes "in Thanatos Tower.";
  157. close;
  158. }
  159. case 4:
  160. mes "[Gatei]";
  161. mes "Very well. Please come";
  162. mes "and visit us again here";
  163. mes "in Thanatos Tower.";
  164. close;
  165. }
  166. }
  167. tha_t01,149,78,4 script Guide 90,{
  168. if(!thana_quest)
  169. {
  170. mes "[Ditze]";
  171. mes "Welcome to Thanatos Tower.";
  172. mes "The tower's reconstruction is";
  173. mes "a Rekenber Corporation project,";
  174. mes "and the 1st and 2nd floors are";
  175. mes "now open to the public. So";
  176. mes "how may I help you today?";
  177. next;
  178. switch( select( "Tower Information","Temporary Work Contract","Cancel" ) )
  179. {
  180. case 1:
  181. mes "[Ditze]";
  182. mes "When this tower was built,";
  183. mes "who built it, and its purpose";
  184. mes "are all mysteries. There are";
  185. mes "many rumors about it being a";
  186. mes "Mage lab, a hero's monument,";
  187. mes "or a demon fortress...";
  188. next;
  189. mes "[Ditze]";
  190. mes "The Rekenber Corporation has";
  191. mes "been researching the origin of";
  192. mes "this tower, but has not yet been able to confirm anything. Although";
  193. mes "we've lost many researchers to the tower monsters, we won't give up!";
  194. next;
  195. mes "[Ditze]";
  196. mes "Rekenber is convinced that this";
  197. mes "tower holds many secrets, and";
  198. mes "successfully reconstructed the";
  199. mes "first 2 floors of this tower in";
  200. mes "the pursuit of this knowledge.";
  201. next;
  202. mes "[Ditze]";
  203. mes "Currently, we are focused on";
  204. mes "reconstructing the tower's 3rd";
  205. mes "and 4th floors. Luckily, many";
  206. mes "adventurers are exterminating";
  207. mes "the monsters on those floors, working under temporary contracts.";
  208. next;
  209. mes "[Ditze]";
  210. mes "At this rate, we expect";
  211. mes "to complete reconstruction";
  212. mes "of the 3rd and 4th floors in";
  213. mes "the near future, bringing us";
  214. mes "closer to our goal of opening all 12 floors of Thanatos Tower.";
  215. next;
  216. L_Ask1:
  217. switch( select( "Tower Monsters?","Temp Contract Work?","......" ) )
  218. {
  219. case 1:
  220. mes "[Ditze]";
  221. mes "Yes, when we began";
  222. mes "reconstruction of the";
  223. mes "Thanatos Tower, these";
  224. mes "monsters that look like angels";
  225. mes "just appeared out of nowhere";
  226. mes "to attack all the workers.";
  227. next;
  228. mes "[Ditze]";
  229. mes "At first, witnesses thought";
  230. mes "that these monsters might";
  231. mes "be, you know, actual angels.";
  232. mes "But if they were, why were they";
  233. mes "attacking for no reason?";
  234. next;
  235. mes "[Ditze]";
  236. mes "Anyway, we asked the Juno ";
  237. mes "Sage Academy to investigate";
  238. mes "them, and they confirmed that";
  239. mes "these angelic creatures are true monsters--their resemblance to";
  240. mes "angels is merely coincidence.";
  241. next;
  242. goto L_Ask1;
  243. case 2:
  244. break;
  245. case 3:
  246. mes "[Ditze]";
  247. mes "To develop the floors above";
  248. mes "the 2nd floor, we're going to";
  249. mes "need as many temp contract";
  250. mes "workers as we can hire. Why";
  251. mes "don't you consider working";
  252. mes "for us under a temp contract?";
  253. close;
  254. }
  255. break;
  256. case 2:
  257. break;
  258. case 3:
  259. mes "[Ditze]";
  260. mes "Well, if you have any";
  261. mes "questions, feel free to";
  262. mes "ask me later. My name is";
  263. mes "Ditze Lappa. Have a good day!";
  264. close;
  265. }
  266. mes "[Ditze]";
  267. mes "You may have already heard";
  268. mes "from the Tower Keeper, but";
  269. mes "we're contracting adventurers to exterminate the tower monsters";
  270. mes "in the 3rd and higher levels on";
  271. mes "a temporary employee basis.";
  272. next;
  273. mes "[Ditze]";
  274. mes "I'm in charge of hiring";
  275. mes "temp contract workers, so";
  276. mes "talk to me if you're interested. Only temp workers are allowed";
  277. mes "to access the higher levels";
  278. mes "here in Thanatos Tower.";
  279. next;
  280. switch( select( "Maybe next time","Sure, I'd like to work for you." ) )
  281. {
  282. case 1:
  283. mes "[Ditze]";
  284. mes "Well, alright.";
  285. mes "But come and talk to";
  286. mes "me as soon as you decide";
  287. mes "that you want to help with";
  288. mes "the tower reconstruction by";
  289. mes "working for Rekenber.";
  290. close;
  291. case 2:
  292. mes "[Ditze]";
  293. mes "That's great!";
  294. mes "Would you please fill";
  295. mes "out this employment";
  296. mes "agreement first? Let's";
  297. mes "see. Your name is...";
  298. mes ""+strcharinfo(0)+", right?";
  299. next;
  300. switch( select( "Yes" ) )
  301. {
  302. case 1:
  303. break;
  304. }
  305. mes "[Ditze]";
  306. mes "Alright, please read";
  307. mes "this agreement carefully.";
  308. mes "If you agree with all of";
  309. mes "the conditions, go ahead";
  310. mes "and just sign the bottom.";
  311. next;
  312. mes "^3355FFDitze hands you the";
  313. mes "Employment Agreement";
  314. mes "document for you to read.^000000";
  315. next;
  316. mes "- Employment Agreement -";
  317. mes " ";
  318. mes "1. This employment agreement";
  319. mes "is effective between Rekenber";
  320. mes "Corporation (''Employer'') and "+strcharinfo(0)+"(''Employee'').";
  321. mes "1-1. This employment agreement";
  322. mes "is classified as a Mercernary";
  323. mes "contract between both parties.";
  324. mes "2. The terms of this contract";
  325. mes "immediately take effect once";
  326. mes "it is signed by both parties";
  327. mes "(Employer and Employee).";
  328. mes "3. When the Employee performs";
  329. mes "a mission, the mission results";
  330. mes "must be verified with acceptible physical proof that must be";
  331. mes "presented to the Employer.";
  332. mes "3-1. Please refer to Section";
  333. mes "7A for examples of acceptible";
  334. mes "proof of monster extermination.";
  335. mes "3-2. Acceptible proof is";
  336. mes "determined and defined by a";
  337. mes "representative of the Employer.";
  338. mes "4. Employer will allot rewards";
  339. mes "to Employees after receiving";
  340. mes "extermination proof.";
  341. mes "4-1. Possible rewards for";
  342. mes "monster exterminations may";
  343. mes "include the following.";
  344. mes ".................................................";
  345. mes ".................................................";
  346. mes ".................................................";
  347. mes ".................................................";
  348. mes ".................................................";
  349. mes "13. This contract's terms are";
  350. mes "only applicable within Thanatos";
  351. mes "Tower.";
  352. mes "14. Employees will receive";
  353. mes "a discount on the Entry Fee";
  354. mes "to the Thanatos Tower.";
  355. mes " ";
  356. mes " ";
  357. mes " ";
  358. mes "Employer Signature____________";
  359. mes "Employee Signature____________";
  360. next;
  361. switch( select( "Sign","Don't Sign" ) )
  362. {
  363. case 1:
  364. mes "^3355FFYou sign two copies of the";
  365. mes "Employment Agreement.^000000";
  366. next;
  367. mes "[Ditze]";
  368. mes "Thank you. Now, you are";
  369. mes "an official employee of the";
  370. mes "Rekenber Corporation! Well,";
  371. mes "within the limits of this tower";
  372. mes "anyway. This contract doesn't";
  373. mes "apply outside of this place.";
  374. next;
  375. mes "[Ditze]";
  376. mes "From now on, you can talk";
  377. mes "to the 2nd Floor Guide to";
  378. mes "enter the 3rd Floor. If you";
  379. mes "have any mission reward";
  380. mes "questions, please ask ^3355FFLiei^000000.";
  381. next;
  382. mes "[Ditze]";
  383. mes "If you want to check";
  384. mes "more information about";
  385. mes "your work, please talk";
  386. mes "to the 2nd Floor Guide.";
  387. mes "Thank you, and welcome";
  388. mes "to the Rekenber Corporation~";
  389. set thana_quest,1;
  390. close;
  391. case 2:
  392. mes "[Ditze]";
  393. mes "Oh? Was there an article";
  394. mes "within the contract that you";
  395. mes "disagreed with? Hm. Well,";
  396. mes "that's fine. But if you change";
  397. mes "your mind, please come back";
  398. mes "and ask me anytime. Thank you~";
  399. close;
  400. }
  401. }
  402. }
  403. mes "[Ditze]";
  404. mes "For more detailed information";
  405. mes "about monster exterminations,";
  406. mes "please ask the 2nd Floor Guide";
  407. mes "and the Guide next to me. Well,";
  408. mes "we hope you enjoy your experience working with Rekenber Corporation~";
  409. close;
  410. }
  411. tha_t01,140,78,4 script Guide#thana 831,{
  412. if(!thana_quest)
  413. {
  414. mes "[Liei]";
  415. mes "Good day, I'm";
  416. mes "Liei Kuniziet of the";
  417. mes "Employee Mission";
  418. mes "Reward Department";
  419. mes "here in Thanatos Tower.";
  420. next;
  421. switch( select( "Employee's mission reward?","Keep up the good work." ) )
  422. {
  423. case 1:
  424. mes "[Liei]";
  425. mes "Currently, Rekenber Corporation";
  426. mes "is contracting temp employees";
  427. mes "to develop the higher levels";
  428. mes "of Thanatos Tower. If you'd";
  429. mes "like to apply, please ask";
  430. mes "Ditze right next to me.";
  431. close;
  432. case 2:
  433. mes "[Liei]";
  434. mes "Thank you. Ah, and I hope";
  435. mes "that you enjoy your visit";
  436. mes "here to Thanatos Tower.";
  437. close;
  438. }
  439. }
  440. mes "[Liei]";
  441. mes "Ah, hello~";
  442. mes "How may I help you?";
  443. next;
  444. switch( select( "Reward","Nothing" ) )
  445. {
  446. case 1:
  447. mes "[Liei]";
  448. mes "You're "+strcharinfo(0)+", yes?";
  449. mes "Let me check our temp";
  450. mes "employee records for--ah.";
  451. mes "Here it is. Alright, so would";
  452. mes "you please tell me what kind";
  453. mes "of mission proof you brought?";
  454. next;
  455. switch( select( "Golden Ornament","Red Feather","Blue Feather","Cursed Seal" ) )
  456. {
  457. case 1:
  458. callfunc "Func_Thana",7435;
  459. case 2:
  460. callfunc "Func_Thana",7440;
  461. case 3:
  462. callfunc "Func_Thana",7441;
  463. case 4:
  464. callfunc "Func_Thana",7442;
  465. }
  466. case 2:
  467. mes "[Liei]";
  468. mes "Alright, then.";
  469. mes "Please do your best";
  470. mes "to exterminate the";
  471. mes "monsters that infest";
  472. mes "the higher floors of";
  473. mes "the Thanatos Tower~";
  474. close;
  475. }
  476. }
  477. function script Func_Thana {
  478. if(!countitem(getarg(0)))
  479. {
  480. mes "[Liei]";
  481. mes "Oh, I'm sorry, but you";
  482. mes "don't have any "+ getitemname(getarg(0)) +"";
  483. mes "Please check your inventory one more time...";
  484. close;
  485. }
  486. mes "[Liei]";
  487. mes "The reward for each";
  488. mes ""+ getitemname(getarg(0)) +" is...";
  489. mes " ";
  490. mes "1,000 zeny";
  491. mes "2,000 EXP";
  492. next;
  493. mes "[Liei]";
  494. mes "If you turn in your "+ countitem(getarg(0)) +"";
  495. mes ""+ getitemname(getarg(0)) +", then";
  496. mes "you will receive a total of...";
  497. mes " ";
  498. mes ""+ countitem(getarg(0)) * 1000 +" zeny";
  499. mes ""+ countitem(getarg(0)) * 2000 +" EXP";
  500. next;
  501. mes "[Liei]";
  502. mes "So would you like to";
  503. mes "exchange all of your "+ getitemname(getarg(0)) +"";
  504. mes "for your reward now?";
  505. next;
  506. switch( select( "Yes","No" ) )
  507. {
  508. case 1:
  509. mes "[Liei]";
  510. mes "Great! Here is your";
  511. mes ""+ countitem(getarg(0)) * 1000 +" zeny and";
  512. mes ""+ countitem(getarg(0)) * 2000 +" EXP. Thank you,";
  513. mes "and please keep up";
  514. mes "the good work~";
  515. set Zeny,Zeny + countitem(getarg(0)) * 1000;
  516. getexp countitem(getarg(0))*2000,0;
  517. delitem getarg(0),countitem(getarg(0));
  518. close;
  519. case 2:
  520. mes "[Liei]";
  521. mes "Sure, no problem.";
  522. mes "Just come back and";
  523. mes "talk to me whenever";
  524. mes "you want to receive";
  525. mes "your reward, alright?";
  526. close;
  527. }
  528. }
  529. tha_t02,231,161,5 script Entrance Guide 874,{
  530. if(!thana_quest)
  531. {
  532. mes "[Burled]";
  533. mes "You are in front of the entrance to the 3rd Floor. Only contracted";
  534. mes "temp employees are authorized";
  535. mes "to enter that area. For Rekenber temp contract information, please";
  536. mes "speak to the 2nd Floor Guide.";
  537. close;
  538. }
  539. mes "[Burled]";
  540. mes "......";
  541. mes ".........";
  542. mes "............";
  543. next;
  544. switch( select( "Excuse me...","........." ) )
  545. {
  546. case 1:
  547. mes "[Burled]";
  548. mes "Oh...";
  549. mes "I'm sorry, how";
  550. mes "can I help you?";
  551. next;
  552. if(thana_quest < 2)
  553. {
  554. switch( select( "Enter the 3rd Floor","Gate Information" ) )
  555. {
  556. case 1:
  557. L_Access3:
  558. mes "[Burled]";
  559. mes "Oh, alright. Let me";
  560. mes "check and see if you're";
  561. mes "on our temp list. Hmmm...";
  562. mes "Ah, you're "+strcharinfo(0)+", right?";
  563. set .@thana_level2,getareausers("tha_t02",226,156,236,166);
  564. next;
  565. if(.@thana_level2 < 5)
  566. {
  567. mes "[Burled]";
  568. mes "First, we need to wait until";
  569. mes "at least 5 temps are gathered";
  570. mes "to form a work group. Right";
  571. mes "now, there are a total of";
  572. mes ""+ .@thana_level2 +" temp workers waiting to";
  573. mes "enter the 3rd Floor.";
  574. next;
  575. mes "[Burled]";
  576. mes "If you can, try to get";
  577. mes "your friends to help you";
  578. mes "by coming near me. Please";
  579. mes "understand that we have this";
  580. mes "temp worker group requirement";
  581. mes "for various safety reasons.";
  582. close;
  583. }
  584. mes "[Burled]";
  585. mes "Great, you're just";
  586. mes "in time. We just met";
  587. mes "the minimum 5 temp group";
  588. mes "requirement, so we'll open";
  589. mes "the gate to the 3rd Floor soon.";
  590. next;
  591. mes "[Burled]";
  592. mes "The gate to the 3rd Floor";
  593. mes "will close shortly, so enter it";
  594. mes "as soon as you can. We have";
  595. mes "to close it quickly because we";
  596. mes "can't have the tower monsters";
  597. mes "entering the lower floors...";
  598. close2;
  599. donpcevent "#thana3::OnOpen";
  600. end;
  601. case 2:
  602. L_GateInfo:
  603. mes "[Burled]";
  604. mes "This gate is the only passage";
  605. mes "that connects to the 3rd Floor.";
  606. mes "After the 4th Floor, passages";
  607. mes "between floors only travel one";
  608. mes "way, meaning you can't exit the";
  609. mes "same way you that you entered.";
  610. next;
  611. mes "[Burled]";
  612. mes "You see, there's a strange";
  613. mes "power that affects the 5th";
  614. mes "Floor, and all floors above,";
  615. mes "which doesn't allow people to";
  616. mes "backtrack through the passage in which they entered the floor.";
  617. next;
  618. mes "[Burled]";
  619. mes "So if you ascend past the";
  620. mes "4th Floor, please be careful";
  621. mes "and make sure that you find";
  622. mes "a way to get back. Also, the";
  623. mes "monsters grow more powerful";
  624. mes "as you ascend the tower...";
  625. next;
  626. mes "[Burled]";
  627. mes "Because the higher levels are";
  628. mes "too dangerous, we only open the";
  629. mes "3rd Floor Gate when 5 or more";
  630. mes "are gathered here. Therefore,";
  631. mes "you may need to wait if less";
  632. mes "than 5 temps have gathered.";
  633. close;
  634. }
  635. }
  636. switch( select( "Enter the 3rd Floor","Gate Information","About Satan Morroc..." ) )
  637. {
  638. case 1:
  639. goto L_Access3;
  640. case 2:
  641. goto L_GateInfo;
  642. case 3:
  643. mes "[Burled]";
  644. mes "Satan Morroc...?";
  645. mes "Ummm... Isn't talking";
  646. mes "about that a little taboo?";
  647. mes "I mean, people get angry";
  648. mes "or scared just hearing";
  649. mes "that name, you know?";
  650. next;
  651. switch( select( "It's important that I know more.","I'm sorry, I didn't know..." ) )
  652. {
  653. case 1:
  654. mes "[Burled]";
  655. mes "When the Rekenber Corporation";
  656. mes "started reconstruction of the";
  657. mes "Thanatos Tower, the Cool Event";
  658. mes "Corporation was their biggest";
  659. mes "business partner in the tower";
  660. mes "reconstruction project.";
  661. next;
  662. mes "[Burled]";
  663. mes "Yeah, I remember that Cool";
  664. mes "Event Corp. invested huge";
  665. mes "amounts of zeny and manpower";
  666. mes "to rebuild to tower, and expand";
  667. mes "their business relationship";
  668. mes "with Rekenber Corporation...";
  669. next;
  670. mes "[Burled]";
  671. mes "But then, there was some";
  672. mes "kind of accident. An explosion";
  673. mes "happened in the upper floors";
  674. mes "of Thanatos Tower. Some say";
  675. mes "it might have been Satan Morroc, but I wouldn't know for sure.";
  676. next;
  677. mes "[Burled]";
  678. mes "Because of that explosion,";
  679. mes "Cool Event Corporation withdrew";
  680. mes "their investment into the tower";
  681. mes "reconstruction project. They";
  682. mes "basically abandoned Rekenber Corporation in the tower effort.";
  683. next;
  684. mes "[Burled]";
  685. mes "But well...";
  686. mes "Shortly after that happened,";
  687. mes "Rekenber Corporation took over";
  688. mes "Cool Event Corporation. I mean,";
  689. mes "the company retains its name, but it's a Rekenber company now.";
  690. next;
  691. mes "[Burled]";
  692. mes "I know, I know...";
  693. mes "It all sounds awfully";
  694. mes "shady. Please do me a favor";
  695. mes "and don't tell anyone that";
  696. mes "I told you this rumor, okay?";
  697. close;
  698. case 2:
  699. close;
  700. }
  701. }
  702. case 2:
  703. mes "["+strcharinfo(0)+"]";
  704. mes ".............";
  705. close;
  706. }
  707. }
  708. tha_t02,227,163,1 script #thana3 45,1,1,{
  709. OnInit:
  710. disablenpc "#thana3";
  711. end;
  712. OnTouch:
  713. if(!thana_quest) warp "tha_t02",227,158;
  714. else warp "tha_t03",219,159;
  715. end;
  716. OnOpen:
  717. enablenpc "#thana3";
  718. initnpctimer;
  719. end;
  720. OnTimer30000:
  721. stopnpctimer;
  722. disablenpc "#thana3";
  723. end;
  724. }
  725. tha_t03,67,70,0 script Machine Device#thana1 111,{
  726. if((countitem(7421)) || (countitem(7426)))
  727. {
  728. mes "^3355FFIt's a peculiar machine";
  729. mes "that emits a strange buzzing";
  730. mes "hum. After looking closer,";
  731. mes "you can faintly perceive an";
  732. mes "energy barrier surrounding";
  733. mes "the machine.^000000";
  734. close;
  735. }
  736. mes "^3355FFA mysterious field of";
  737. mes "energy seems to surround";
  738. mes "the mechanical device and";
  739. mes "its power prevents you from";
  740. mes "approaching the machine.^000000";
  741. next;
  742. switch( select( "Smash the Energy Field","Retreat" ) )
  743. {
  744. case 1:
  745. if (getequipweaponlv(4) < 4)
  746. {
  747. mes "^3355FFYou smash the energy";
  748. mes "field with your weapon";
  749. mes "using all of your strength,";
  750. mes "but you weren't able to";
  751. mes "break down the barrier.";
  752. mes "You probably need a more";
  753. mes "powerful weapon...^000000";
  754. close;
  755. }
  756. mes "^3355FFWith your "+getequipname(4)+" in";
  757. mes "hand, you smash the energy";
  758. mes "field with all of your strength. After absorbing the impact, the";
  759. mes "field fizzles out with a soft,";
  760. mes "gentle ''pzzzzzh'' sound.^000000";
  761. next;
  762. switch( select( "Investigate Device","Retreat" ) )
  763. {
  764. case 1:
  765. mes "^3355FFAs you investigate the";
  766. mes "device, you accidentally";
  767. mes "press a button, resulting";
  768. mes "in a loud beeping noise";
  769. mes "and the activation of";
  770. mes "the monitor screen.^000000";
  771. next;
  772. switch( select( "Read the Screen","Ignore the Screen" ) )
  773. {
  774. case 1:
  775. mes "^426F42I've used the Gate Seal";
  776. mes "technology to seal the gate";
  777. mes "and the charm stones. Although";
  778. mes "the seals are in place, I can't";
  779. mes "stop worrying that they might";
  780. mes "break in the future.^000000";
  781. next;
  782. mes "^426F42I can't relax when a, shall";
  783. mes "I say, particular group covets";
  784. mes "the charm stones and can easily";
  785. mes "break the seals. To deter them,";
  786. mes "I've changed the Gate destination before sealing the Gate.^000000";
  787. next;
  788. mes "^426F42I didn't check the exact";
  789. mes "destination coordinates for";
  790. mes "the Gate after I changed them,";
  791. mes "but the destination gives me";
  792. mes "a warm, comforting feeling,";
  793. mes "so it's definitely not hell.^000000";
  794. next;
  795. mes "^3355FFYou've read all the";
  796. mes "text displayed on the";
  797. mes "screen. Judging from the";
  798. mes "content, there is probably";
  799. mes "more text before and after the";
  800. mes "section shown on the screen.^000000";
  801. next;
  802. switch( select( "Further Investigate Machine","Finish Investigation" ) )
  803. {
  804. case 1:
  805. mes "^3355FFYou have found";
  806. mes "a small key on the";
  807. mes "corner of the machine.";
  808. mes "Just touching this key";
  809. mes "gives you a strange feeling.^000000";
  810. getitem 7421,1;
  811. close;
  812. case 2:
  813. break;
  814. }
  815. break;
  816. case 2:
  817. mes "^3355FFYou decide to ignore the";
  818. mes "text displayed on the screen,";
  819. mes "and immediately discover a";
  820. mes "small key laid on the corner";
  821. mes "of the machine. Just touching";
  822. mes "it gives you a strange feeling.^000000";
  823. getitem 7421,1;
  824. close;
  825. }
  826. break;
  827. case 2:
  828. mes "^3355FFYou decide to leave";
  829. mes "the machine alone.^000000";
  830. close;
  831. }
  832. break;
  833. case 2:
  834. break;
  835. }
  836. mes "^3355FFYou decide to leave";
  837. mes "the machine alone.^000000";
  838. close;
  839. }
  840. tha_t04,195,195,0 script Machine Device#thana2 111,{
  841. if((countitem(7422)) || (countitem(7427)))
  842. {
  843. mes "^3355FFThis device is currently";
  844. mes "inactivated and not in";
  845. mes "operation. However, you";
  846. mes "may have use for it later...^000000";
  847. close;
  848. }
  849. mes "^3355FFYou find a number pad";
  850. mes "underneath the monitor.";
  851. mes "As you press one of the";
  852. mes "number keys, you hear a";
  853. mes "beep as the screen activates.^000000";
  854. next;
  855. mes "[Screen]";
  856. mes "Please enter a 3 digit";
  857. mes "number. Do not use a";
  858. mes "single number more than";
  859. mes "once or use the number 0.";
  860. next;
  861. if(@thanatry) goto L_Input;
  862. L_Recode:
  863. set @thanacode1,rand(1,9);
  864. set @thanacode2,rand(1,9);
  865. set @thanacode3,rand(1,9);
  866. if((@thanacode1 == @thanacode2) || (@thanacode1 == @thanacode3) || (@thanacode2 == @thanacode3)) goto L_Recode;
  867. L_Input:
  868. input @thanainput;
  869. if((@thanainput < 100) || (@thanainput > 999))
  870. {
  871. mes "[Screen]";
  872. mes "Number input";
  873. mes "requirement has";
  874. mes "not been fulfilled.";
  875. mes "Please enter a";
  876. mes "3 digit number.";
  877. close;
  878. }
  879. set @thanainput1,@thanainput / 100;
  880. set @thanainput2,(@thanainput % 100) / 10;
  881. set @thanainput3,@thanainput % 10;
  882. if ((@thanainput1 == 0) || (@thanainput2 == 0) || (@thanainput3 == 0))
  883. {
  884. mes "[Screen]";
  885. mes "Violation of number";
  886. mes "input parameter. The";
  887. mes "number 0 has been input,";
  888. mes "or a number has been";
  889. mes "input more than once.";
  890. next;
  891. goto L_Input;
  892. }
  893. mes "[Screen]";
  894. mes "You have input...";
  895. mes "^0000ff"+@thanainput1+"^000000, ^0000ff"+@thanainput2+"^000000, ^0000ff"+@thanainput3+"^000000";
  896. mes " ";
  897. mes "Calculating Results...";
  898. mes "Please wait a moment...";
  899. set @thanatry,@thanatry +1;
  900. next;
  901. set @strike,0;
  902. set @ball,0;
  903. if(@thanainput1 == @thanacode1) set @strike,@strike +1;
  904. if(@thanainput2 == @thanacode2) set @strike,@strike +1;
  905. if(@thanainput3 == @thanacode3) set @strike,@strike +1;
  906. if((@thanainput1 == @thanacode2) || (@thanainput1 == @thanacode3)) set @ball,@ball +1;
  907. if((@thanainput2 == @thanacode1) || (@thanainput2 == @thanacode3)) set @ball,@ball +1;
  908. if((@thanainput3 == @thanacode1) || (@thanainput3 == @thanacode2)) set @ball,@ball +1;
  909. if(@strike == 3)
  910. {
  911. mes "[Screen]";
  912. mes "Input number accepted.";
  913. mes "Access authorized.";
  914. set @thanatry,0;
  915. next;
  916. mes "^3355FFAfter the screen displays";
  917. mes "the access authorization";
  918. mes "notice, some new text is";
  919. mes "displayed on the screen,";
  920. mes "and a storage unit slides";
  921. mes "open beneath the monitor.^000000";
  922. next;
  923. switch( select( "Read the Screen's Text","Investigate Monitor Storage","Cancel" ) )
  924. {
  925. case 1:
  926. mes "[Log Entry]";
  927. mes "^426F42That could only mean she";
  928. mes "came here for Satan Morroc.";
  929. mes "After I investigated the area,";
  930. mes "I found traces of a battle that";
  931. mes "involved several human sized creatures and one giant monster.^000000";
  932. next;
  933. mes "[Log Entry]";
  934. mes "^426F42I'm guessing that her group";
  935. mes "actually fought Satan Morroc";
  936. mes "and managed to wound it";
  937. mes "severely. It looks like Satan";
  938. mes "Morroc retreated to the south";
  939. mes "and her group followed it.^000000";
  940. next;
  941. mes "[Log Entry]";
  942. mes "^426F42Strangely, I haven't found";
  943. mes "any traces of her, which is";
  944. mes "especially suspicious since";
  945. mes "other evidence in the area has";
  946. mes "remained for hundreds of years.";
  947. mes "But I can't figure out why...^000000";
  948. next;
  949. mes "^3355FFYou've finished";
  950. mes "reading the Log Entry.^000000";
  951. next;
  952. switch( select( "Investigate Monitor Storage","Cancel" ) )
  953. {
  954. case 1:
  955. break;
  956. case 2:
  957. close;
  958. }
  959. case 2:
  960. mes "^3355FFYou find a small, shining";
  961. mes "key in an empty corner of the";
  962. mes "Monitor's Storage receptacle.";
  963. mes "Merely holding it makes you";
  964. mes "feel some strange sensation.^000000";
  965. if(thana_quest == 1) set thana_quest,2;
  966. getitem 7422,1;
  967. close;
  968. case 3:
  969. mes "^3355FFAfter a short while,";
  970. mes "you hear a low pitched";
  971. mes "beep. The screen's text";
  972. mes "disappears, and the storage";
  973. mes "receptable under the monitor";
  974. mes "slides shut, concealing itself.^000000";
  975. close;
  976. }
  977. }
  978. mes "[Screen]";
  979. mes "*Beeeeep*";
  980. mes "Unauthorized";
  981. mes "numerical sequence.";
  982. next;
  983. mes "[Screen]";
  984. mes "Correct number";
  985. mes "in correct place";
  986. mes "in sequence total: ^FF0000"+@strike+"^000000";
  987. mes " ";
  988. mes "Correct number total: ^FF0000"+@ball+"^000000";
  989. next;
  990. if(@thanatry > 4)
  991. {
  992. mes "[Screen]";
  993. mes "Correct number";
  994. mes "authorization";
  995. mes "sequence was...";
  996. mes "^ff0000"+@thanacode1+"^000000, ^ff0000"+@thanacode2+"^000000, ^ff0000"+@thanacode3+"^000000";
  997. mes "Authorization number";
  998. mes "will change upon retry.";
  999. set @thanatry,0;
  1000. close;
  1001. }
  1002. goto L_Input;
  1003. }
  1004. tha_t05,101,37,0 script Machine Device#thana3 111,{
  1005. if((countitem(7423)) || (countitem(7428)))
  1006. {
  1007. mes "^3355FFYou find nothing here,";
  1008. mes "aside from the faded";
  1009. mes "patterns that mark the floor.^000000";
  1010. close;
  1011. }
  1012. set .@thana_level5,getareausers("tha_t05",98,34,104,40);
  1013. if(!.@thana_level5)
  1014. {
  1015. mes "^3355FFYou are inexplicably drawn";
  1016. mes "to this mechanical device.";
  1017. mes "Aside from the green screen";
  1018. mes "in the middle, there are no";
  1019. mes "buttons and switches.^000000";
  1020. if(rand(1,3) == 2)
  1021. {
  1022. next;
  1023. mes "^3355FFYou perceive small text at the";
  1024. mes "bottom of the green screen";
  1025. mes "that reads, ''Operation of this";
  1026. mes "device requires presense of";
  1027. mes "four or more personnel detected";
  1028. mes "by pressure plate system.''^000000";
  1029. close;
  1030. }
  1031. close;
  1032. }
  1033. else if(.@thana_level5 < 4)
  1034. {
  1035. mes "^3355FFYou are inexplicably drawn";
  1036. mes "to this mechanical device.";
  1037. mes "Aside from the green screen";
  1038. mes "in the middle, there are no";
  1039. mes "buttons and switches.^000000";
  1040. next;
  1041. mes "^3355FFYou carefully investigate";
  1042. mes "your surroundings and notice";
  1043. mes "a gleaming spot on the ground";
  1044. mes "next to the mechanical device.^000000";
  1045. close;
  1046. }
  1047. else
  1048. {
  1049. mes "^3355FFAs you approach the device, the";
  1050. mes "floor around it begins to glow.";
  1051. mes "Text appears on the device's";
  1052. mes "screen, and a storage receptacle beneath the monitor slides open.^000000";
  1053. next;
  1054. switch( select( "Read the Screen's Text","Investigate Monitor Storage","Cancel" ) )
  1055. {
  1056. case 1:
  1057. mes "[Log Entry]";
  1058. mes "^426F42After the whole ordeal,";
  1059. mes "I decided to leave. But";
  1060. mes "before I could do that,";
  1061. mes "I had to seal the Gate";
  1062. mes "that led to that place.^000000";
  1063. next;
  1064. mes "[Log Entry]";
  1065. mes "^426F42If someone were to find";
  1066. mes "this tower and use the Gate";
  1067. mes "for evil ends, the world will be plagued with an era of chaos.";
  1068. mes "Of course, they'd stop me if they knew I was sealing the Gate...^000000";
  1069. next;
  1070. mes "[Log Entry]";
  1071. mes "^426F42It took me a very long time,";
  1072. mes "but I managed to secretly";
  1073. mes "seal the Gate. But before";
  1074. mes "I began sealing the Gate,";
  1075. mes "I decided to examine it";
  1076. mes "further, just in case.^000000";
  1077. next;
  1078. mes "[Log Entry]";
  1079. mes "^426F42In my studies of the Gate,";
  1080. mes "I discovered that it derives";
  1081. mes "its power from the Charm";
  1082. mes "Stones. So to prevent anyone";
  1083. mes "from misusing its power, I've separately sealed the stones...^000000";
  1084. next;
  1085. mes "^3355FFYou've finished";
  1086. mes "reading the text";
  1087. mes "that was displayed";
  1088. mes "on the screen.^000000";
  1089. close;
  1090. case 2:
  1091. mes "^3355FFYou've found a small";
  1092. mes "shining key inside the";
  1093. mes "storage receptacle located";
  1094. mes "underneath the monitor.^000000";
  1095. getitem 7423,1;
  1096. close;
  1097. case 3:
  1098. close;
  1099. }
  1100. }
  1101. }
  1102. tha_t06,43,152,0 script Machine Device#thana4 111,{
  1103. if((countitem(7424)) || (countitem(7429)))
  1104. {
  1105. mes "^3355FFYou found a deactivated";
  1106. mes "mechanical device with an";
  1107. mes "interesting series of wheels.^000000";
  1108. close;
  1109. }
  1110. mes "^3355FFYou find a mechanical";
  1111. mes "device that has many";
  1112. mes "wheels. A black screen";
  1113. mes "is mounted on the side";
  1114. mes "of the machine.^000000";
  1115. next;
  1116. switch( select( "Investigate","Cancel" ) )
  1117. {
  1118. case 1:
  1119. if((countitem(7421)) || (countitem(7422)) || (countitem(7423)))
  1120. {
  1121. mes "^3355FFAs you scrutinize the";
  1122. mes "wheels, they respond to";
  1123. mes "the key in your inventory by";
  1124. mes "emitting light and strange";
  1125. mes "noises. After a while, they";
  1126. mes "stop and become silent.^000000";
  1127. next;
  1128. switch( select( "Investigate the Machine Chasis","Investigate the Wheels","Cancel" ) )
  1129. {
  1130. case 1:
  1131. mes "^3355FFThe key in your inventory";
  1132. mes "does not seem to be affecting";
  1133. mes "the machine's chasis. The";
  1134. mes "screen mounted on the side";
  1135. mes "is still blank and deactivated.^000000";
  1136. close;
  1137. case 2:
  1138. set @thana_small1,0;
  1139. set @thana_small2,0;
  1140. set @thana_big1,0;
  1141. set @thana_big2,0;
  1142. set @thana_big3,0;
  1143. mes "^3355FFYou touch the wheels and";
  1144. mes "find that they are actually";
  1145. mes "moving very slowly. You note";
  1146. mes "that there are 2 small wheels";
  1147. mes "and 3 larger wheels, totaling";
  1148. mes "5 wheels on this machine.^000000";
  1149. next;
  1150. mes "^3355FFThe big wheels are moving";
  1151. mes "vertically, up and down, as";
  1152. mes "they press against the smaller";
  1153. mes "wheels to make them rotate.^000000";
  1154. next;
  1155. mes "^3355FFJudging from the machine's";
  1156. mes "shaking and jittery noises, the";
  1157. mes "wheels may be misaligned.";
  1158. mes "You might be able to activate";
  1159. mes "the machine by properly";
  1160. mes "aligning all the wheels.^000000";
  1161. L_Wheels:
  1162. next;
  1163. mes "^3355FFWhich wheel would";
  1164. mes "you want to shift?^000000";
  1165. switch( select( "1st Small Wheel","2nd Small Wheel","1st Big Wheel","2nd Big Wheel","3rd Big Wheel","Check Current Wheel Configuration","Reset Wheels to Default Configuration" ) )
  1166. {
  1167. case 1:
  1168. set @wheelresult,callfunc("Thana_Wheels","Press Wheel",@thana_small1,2,1,3);
  1169. if(@wheelresult == 1) break;
  1170. goto L_Wheels;
  1171. case 2:
  1172. set @wheelresult,callfunc("Thana_Wheels","Press Wheel",@thana_small2,3,2,1);
  1173. if(@wheelresult == 1) break;
  1174. goto L_Wheels;
  1175. case 3:
  1176. set @wheelresult,callfunc("Thana_Wheels","Vertically Shift Wheel",@thana_big1,1,3,2);
  1177. if(@wheelresult == 1) break;
  1178. goto L_Wheels;
  1179. case 4:
  1180. set @wheelresult,callfunc("Thana_Wheels","Vertically Shift Wheel",@thana_big2,2,3,1);
  1181. if(@wheelresult == 1) break;
  1182. goto L_Wheels;
  1183. case 5:
  1184. set @wheelresult,callfunc("Thana_Wheels","Vertically Shift Wheel",@thana_big3,2,1,3);
  1185. if(@wheelresult == 1) break;
  1186. goto L_Wheels;
  1187. case 6:
  1188. if(@thana_small1 == 0) mes "1st Small Wheel: No Change";
  1189. else if(@thana_small1 == 1) mes "1st Small Wheel: Down";
  1190. else if(@thana_small1 == 2) mes "1st Small Wheel: Up";
  1191. else if(@thana_small1 == 3) mes "1st Small Wheel: Pressed";
  1192. if(@thana_small2 == 0) mes "2nd Small Wheel: No Change";
  1193. else if(@thana_small2 == 1) mes "2nd Small Wheel: Pressed";
  1194. else if(@thana_small2 == 2) mes "2nd Small Wheel: Down";
  1195. else if(@thana_small2 == 3) mes "2nd Small Wheel: Up";
  1196. if(@thana_big1 == 0) mes "1st Big Wheel: No Change";
  1197. else if(@thana_big1 == 1) mes "1st Big Wheel: Up";
  1198. else if(@thana_big1 == 2) mes "1st Big Wheel: Moved";
  1199. else if(@thana_big1 == 3) mes "1st Big Wheel: Down";
  1200. if(@thana_big2 == 0) mes "2nd Big Wheel: No Change";
  1201. else if(@thana_big2 == 1) mes "2nd Big Wheel: Moved";
  1202. else if(@thana_big2 == 2) mes "2nd Big Wheel: Up";
  1203. else if(@thana_big2 == 3) mes "2nd Big Wheel: Down";
  1204. if(@thana_big3 == 0) mes "3rd Big Wheel: No Change";
  1205. else if(@thana_big3 == 1) mes "3rd Big Wheel: Down";
  1206. else if(@thana_big3 == 2) mes "3rd Big Wheel: Up";
  1207. else if(@thana_big3 == 3) mes "3rd Big Wheel: Moved";
  1208. goto L_Wheels;
  1209. case 7:
  1210. set @thana_small1,0;
  1211. set @thana_small2,0;
  1212. set @thana_big1,0;
  1213. set @thana_big2,0;
  1214. set @thana_big3,0;
  1215. goto L_Wheels;
  1216. }
  1217. next;
  1218. mes "^3355FFAs you adjust the wheels,";
  1219. mes "they suddenly immobilize with";
  1220. mes "a firm click. Then, the device's screen activates and displays";
  1221. mes "some text while a storage";
  1222. mes "compartment underneath";
  1223. mes "the monitor slides open.^000000";
  1224. next;
  1225. switch( select( "Read the Screen's Text","Investigate Monitor Storage","Cancel" ) )
  1226. {
  1227. case 1:
  1228. mes "[Log Entry]";
  1229. mes "^426F42It was never the humans";
  1230. mes "or the gods that built this";
  1231. mes "tower: it was the demons.";
  1232. mes "Intrigued by this information,";
  1233. mes "I decided to try to learn why they had constructed Thanatos Tower.^000000";
  1234. next;
  1235. mes "[Log Entry]";
  1236. mes "^426F42In my research, I learned";
  1237. mes "that this tower was used as a";
  1238. mes "gate to summon demons from hell during the thousand year war,";
  1239. mes "and that the infamous Satan Morroc was one of those summoned here.^000000";
  1240. next;
  1241. mes "[Log Entry]";
  1242. mes "^426F42Satan Morroc... I admit";
  1243. mes "that I'm interested in learning";
  1244. mes "more about his appearance since";
  1245. mes "that occurred at around the same time as when she came to";
  1246. mes "Thanatos Tower...^000000";
  1247. next;
  1248. mes "^3355FFYou've finished";
  1249. mes "reading the text";
  1250. mes "that was displayed";
  1251. mes "on the screen.^000000";
  1252. close;
  1253. case 2:
  1254. mes "^3355FFInside the monitor";
  1255. mes "storage compartment,";
  1256. mes "you find a small, shining";
  1257. mes "key that you decide to take.^000000";
  1258. getitem 7424,1;
  1259. close;
  1260. case 3:
  1261. break;
  1262. }
  1263. break;
  1264. case 3:
  1265. break;
  1266. }
  1267. }
  1268. else
  1269. {
  1270. mes "^3355FFThis mechanical device is";
  1271. mes "activated, as evidenced by";
  1272. mes "its gleaming, moving wheels.^000000";
  1273. close;
  1274. }
  1275. case 2:
  1276. mes "^3355FFYou don't see the need to";
  1277. mes "investigate if nothing seems";
  1278. mes "peculiar or out of place...^000000";
  1279. close;
  1280. }
  1281. }
  1282. function script Thana_Wheels {
  1283. switch( select( "Raise Wheel","Lower Wheel",getarg(0) ) )
  1284. {
  1285. case 1:
  1286. set getarg(1),getarg(2);
  1287. if((@thana_small1 == getarg(2)) && (@thana_small2 == getarg(2)) && (@thana_big1 == getarg(2)) && (@thana_big2 == getarg(2)) && (@thana_big3 == getarg(2))) return 1;
  1288. return 0;
  1289. case 2:
  1290. set getarg(1),getarg(3);
  1291. if((@thana_small1 == getarg(3)) && (@thana_small2 == getarg(3)) && (@thana_big1 == getarg(3)) && (@thana_big2 == getarg(3)) && (@thana_big3 == getarg(3))) return 1;
  1292. return 0;
  1293. case 3:
  1294. set getarg(1),getarg(4);
  1295. if((@thana_small1 == getarg(4)) && (@thana_small2 == getarg(4)) && (@thana_big1 == getarg(4)) && (@thana_big2 == getarg(4)) && (@thana_big3 == getarg(4))) return 1;
  1296. return 0;
  1297. }
  1298. }
  1299. tha_t09,19,158,0 script Machine Device 111,{
  1300. if((countitem(7425)) || (countitem(7430)))
  1301. {
  1302. mes "^3355FFYou find a peculiar";
  1303. mes "mechanical device that";
  1304. mes "is not in operation.^000000";
  1305. close;
  1306. }
  1307. mes "^3355FFYou find a machine that";
  1308. mes "emits a soft light and weak";
  1309. mes "hum. There is a monitor, with";
  1310. mes "several different colored";
  1311. mes "keyholes beneath it, in";
  1312. mes "front of the machine.^000000";
  1313. if(!((countitem(7421)) || (countitem(7426))) && ((countitem(7422)) || (countitem(7427))) && ((countitem(7423)) || (countitem(7428))) && ((countitem(7424)) || (countitem(7429)))) close;
  1314. next;
  1315. mes "^3355FFYou also notice that there";
  1316. mes "are several slots that seem";
  1317. mes "to be the perfect size for";
  1318. mes "your keys and Charm Stones.";
  1319. next;
  1320. input @input$;
  1321. if (@input$ == "Key" || @input$ == "Charmstone" || @input$ == "Charm stone" || @input$ == "Charm Stone")
  1322. {
  1323. mes "^3355FFYou insert the keys into the";
  1324. mes "keyholes, matching them by";
  1325. mes "corresponding color, and place";
  1326. mes "the Charm Stones in the machine slots. The stones begin to glow,";
  1327. mes "text appears on the screen, and the monitor's storage slides open.^000000";
  1328. next;
  1329. switch( select( "Read the Screen's Text","Investigate Monitor Storage","Cancel" ) )
  1330. {
  1331. case 1:
  1332. mes "[Log Entry]";
  1333. mes "^426F42As I followed her trail to";
  1334. mes "the north, I passed many";
  1335. mes "deserted places. Finally,";
  1336. mes "I dropped by a small village";
  1337. mes "where I learned about a tower";
  1338. mes "that refuses entry to humans.^000000";
  1339. next;
  1340. mes "[Log Entry]";
  1341. mes "^426F42I instantly realized that she";
  1342. mes "must have gone to the tower.";
  1343. mes "I headed over there and when";
  1344. mes "I arrived, I was shocked: it was grotesque and didn't resemble";
  1345. mes "a human building at all.^000000";
  1346. next;
  1347. mes "^426F42I was also amazed--";
  1348. mes "advanced technology was";
  1349. mes "probably necessary to build the tower's intricate structures.";
  1350. mes "I then learned an interesting fact while searching the tower...^000000";
  1351. next;
  1352. mes "^3355FFYou've finished";
  1353. mes "reading the text";
  1354. mes "that was displayed";
  1355. mes "on the screen.^000000";
  1356. close;
  1357. case 2:
  1358. mes "^3355FFYou search the storage";
  1359. mes "compartment beneath the";
  1360. mes "screen and find a strange";
  1361. mes "key. As soon as you take it,";
  1362. mes "the machine's activity halts.";
  1363. mes "You then retrieve the Charm";
  1364. mes "Stones and your other keys.^000000";
  1365. getitem 7425,1;
  1366. close;
  1367. case 3:
  1368. mes "^3355FFYou retrieve the Charm";
  1369. mes "Stones and keys that you";
  1370. mes "inserted into the machine.^000000";
  1371. close;
  1372. }
  1373. }
  1374. mes "You attempt to";
  1375. mes ""+@input$+",";
  1376. mes "but nothing happened.";
  1377. close;
  1378. }
  1379. tha_t04,150,44,0 script Seal#thana1 111,{
  1380. if(!countitem(7423))
  1381. {
  1382. mes "^3355FFThis area is protected by";
  1383. mes "some mysterious power.";
  1384. mes "You try to touch the seal,";
  1385. mes "but then it buzzes loudly";
  1386. mes "and pushes your hand away.^000000";
  1387. percentheal -10,0;
  1388. close;
  1389. }
  1390. mes "^3355FFThis area is protected by";
  1391. mes "some mysterious power.";
  1392. mes "You try to touch the seal,";
  1393. mes "but then it buzzes loudly";
  1394. mes "and pushes your hand away.";
  1395. mes "with a burst of blue light.^000000";
  1396. next;
  1397. switch( select( "Investigate","There's no way I can break this seal!" ) )
  1398. {
  1399. case 1:
  1400. input @input$;
  1401. if (@input$ == "Blue Key")
  1402. {
  1403. mes "^3355FFYou gently hold the blue";
  1404. mes "key and bring it towards";
  1405. mes "the seal. Strangely, your";
  1406. mes "hand isn't pushed away this";
  1407. mes "time, and the seal begins to";
  1408. mes "emit a mysterious light.^000000";
  1409. next;
  1410. mes "^3355FFYou find a small keyhole";
  1411. mes "in the seal, insert the blue";
  1412. mes "key, and slowly turn it. The";
  1413. mes "seal's light fades, revealing a";
  1414. mes "Charm Stone. Once you grasp";
  1415. mes "the stone, someone's memory";
  1416. mes "is injected into your mind.^000000";
  1417. next;
  1418. mes "^333333Thanatos! We've got a";
  1419. mes "message from the guild.";
  1420. mes "They want us to stop what";
  1421. mes "we're doing and return now!^000000";
  1422. mes " ";
  1423. mes "^333333W-We better hurry...^000000";
  1424. next;
  1425. mes "......";
  1426. mes ".........";
  1427. mes "............";
  1428. next;
  1429. mes "^3355FFThe images faded from";
  1430. mes "your mind as quickly as";
  1431. mes "they appeared. What could";
  1432. mes "have happened in the past?^000000";
  1433. delitem 7423,1;
  1434. getitem 7428,1;
  1435. close;
  1436. }
  1437. mes "^3355FFYou'll need to try";
  1438. mes "something else in ";
  1439. mes "order to break this";
  1440. mes "seal. What could";
  1441. mes "you possibly need?^000000";
  1442. close;
  1443. case 2:
  1444. mes "^3355FFYou stepped away from";
  1445. mes "the seal, unwilling to deal";
  1446. mes "with the power that keeps";
  1447. mes "repulsing your advance.^000000";
  1448. close;
  1449. }
  1450. }
  1451. tha_t05,218,116,0 script Seal#thana2 111,{
  1452. if(!countitem(7421))
  1453. {
  1454. mes "^3355FFThis area is protected by";
  1455. mes "some mysterious power.";
  1456. mes "You try to touch the seal,";
  1457. mes "but then it buzzes loudly";
  1458. mes "and pushes your hand away.^000000";
  1459. percentheal -10,0;
  1460. close;
  1461. }
  1462. mes "^3355FFThis area is protected by";
  1463. mes "some mysterious power.";
  1464. mes "You try to touch the seal,";
  1465. mes "but then it buzzes loudly";
  1466. mes "and pushes your hand away.";
  1467. mes "with a burst of red light.^000000";
  1468. next;
  1469. switch( select( "Investigate","There's no way I can break this seal!" ) )
  1470. {
  1471. case 1:
  1472. input @input$;
  1473. if (@input$ == "Red Key")
  1474. {
  1475. mes "^3355FFYou gently hold the red";
  1476. mes "key and bring it towards";
  1477. mes "the seal. Strangely, your";
  1478. mes "hand isn't pushed away this";
  1479. mes "time, and the seal begins to";
  1480. mes "emit a mysterious light.^000000";
  1481. next;
  1482. mes "^3355FFYou find a small keyhole";
  1483. mes "in the seal, insert the red";
  1484. mes "key, and slowly turn it. The";
  1485. mes "seal's light fades, revealing a";
  1486. mes "Charm Stone. Once you grasp";
  1487. mes "the stone, someone's memory";
  1488. mes "is injected into your mind.^000000";
  1489. next;
  1490. mes "...So then we decided";
  1491. mes "to dispatch some Assassin";
  1492. mes "Crosses to defeat Satan Morroc.";
  1493. mes "But honestly, the chances of ";
  1494. mes "success are about 1 percent.";
  1495. mes "It's better than nothing, but... It's freakin' Satan Morroc...^000000";
  1496. next;
  1497. mes "......";
  1498. mes ".........";
  1499. mes "............";
  1500. next;
  1501. mes "^3355FFThe images faded from";
  1502. mes "your mind as quickly as";
  1503. mes "they appeared. What could";
  1504. mes "have happened in the past?^000000";
  1505. delitem 7421,1;
  1506. getitem 7426,1;
  1507. close;
  1508. }
  1509. mes "^3355FFYou'll need to try";
  1510. mes "something else in ";
  1511. mes "order to break this";
  1512. mes "seal. What could";
  1513. mes "you possibly need?^000000";
  1514. close;
  1515. case 2:
  1516. mes "^3355FFYou stepped away from";
  1517. mes "the seal, unwilling to deal";
  1518. mes "with the power that keeps";
  1519. mes "repulsing your advance.^000000";
  1520. close;
  1521. }
  1522. }
  1523. tha_t06,226,230,0 script Seal#thana3 111,{
  1524. if(!countitem(7425))
  1525. {
  1526. mes "^3355FFThis area is protected by";
  1527. mes "some mysterious power.";
  1528. mes "You try to touch the seal,";
  1529. mes "but then it buzzes loudly";
  1530. mes "and pushes your hand away.^000000";
  1531. percentheal -10,0;
  1532. close;
  1533. }
  1534. mes "^3355FFThis area is protected by";
  1535. mes "some mysterious power.";
  1536. mes "You try to touch the seal,";
  1537. mes "but then it buzzes loudly";
  1538. mes "and pushes your hand away.";
  1539. mes "with a burst of black light.^000000";
  1540. next;
  1541. switch( select( "Investigate","There's no way I can break this seal!" ) )
  1542. {
  1543. case 1:
  1544. input @input$;
  1545. if (@input$ == "Black Key")
  1546. {
  1547. mes "^3355FFYou gently hold the black";
  1548. mes "key and bring it towards";
  1549. mes "the seal. Strangely, your";
  1550. mes "hand isn't pushed away this";
  1551. mes "time, and the seal begins to";
  1552. mes "emit a mysterious light.^000000";
  1553. next;
  1554. mes "^3355FFYou find a small keyhole";
  1555. mes "in the seal, insert the black";
  1556. mes "key, and slowly turn it. The";
  1557. mes "seal's light fades, revealing a";
  1558. mes "Charm Stone. Once you grasp";
  1559. mes "the stone, someone's memory";
  1560. mes "is injected into your mind.^000000";
  1561. next;
  1562. mes "^333333We found it! So this";
  1563. mes "must be the tower where";
  1564. mes "Satan Morroc is gathering";
  1565. mes "his minions... Dear God,";
  1566. mes "there's... There's thousands";
  1567. mes "of them... Is there any hope";
  1568. mes "at all for us? For mankind?^000000";
  1569. next;
  1570. mes "......";
  1571. mes ".........";
  1572. mes "............";
  1573. next;
  1574. mes "^3355FFThe images faded from";
  1575. mes "your mind as quickly as";
  1576. mes "they appeared. What could";
  1577. mes "have happened in the past?^000000";
  1578. delitem 7425,1;
  1579. getitem 7430,1;
  1580. close;
  1581. }
  1582. mes "^3355FFYou'll need to try";
  1583. mes "something else in ";
  1584. mes "order to break this";
  1585. mes "seal. What could";
  1586. mes "you possibly need?^000000";
  1587. close;
  1588. case 2:
  1589. mes "^3355FFYou stepped away from";
  1590. mes "the seal, unwilling to deal";
  1591. mes "with the power that keeps";
  1592. mes "repulsing your advance.^000000";
  1593. close;
  1594. }
  1595. }
  1596. tha_t07,113,129,0 script Seal#thana4 111,{
  1597. if(!countitem(7422))
  1598. {
  1599. mes "^3355FFThis area is protected by";
  1600. mes "some mysterious power.";
  1601. mes "You try to touch the seal,";
  1602. mes "but then it buzzes loudly";
  1603. mes "and pushes your hand away.^000000";
  1604. percentheal -10,0;
  1605. close;
  1606. }
  1607. mes "^3355FFThis area is protected by";
  1608. mes "some mysterious power.";
  1609. mes "You try to touch the seal,";
  1610. mes "but then it buzzes loudly";
  1611. mes "and pushes your hand away.";
  1612. mes "with a burst of yellow light.^000000";
  1613. next;
  1614. switch( select( "Investigate","There's no way I can break this seal!" ) )
  1615. {
  1616. case 1:
  1617. input @input$;
  1618. if (@input$ == "Yellow Key")
  1619. {
  1620. mes "^3355FFYou gently hold the yellow";
  1621. mes "key and bring it towards";
  1622. mes "the seal. Strangely, your";
  1623. mes "hand isn't pushed away this";
  1624. mes "time, and the seal begins to";
  1625. mes "emit a mysterious light.^000000";
  1626. next;
  1627. mes "^3355FFYou find a small keyhole";
  1628. mes "in the seal, insert the yellow";
  1629. mes "key, and slowly turn it. The";
  1630. mes "seal's light fades, revealing a";
  1631. mes "Charm Stone. Once you grasp";
  1632. mes "the stone, someone's memory";
  1633. mes "is injected into your mind.^000000";
  1634. next;
  1635. mes "^333333Hi, I'm Lucil. Sorry,";
  1636. mes "I'm late, but I was far ";
  1637. mes "away on another mission...^000000";
  1638. mes " ";
  1639. mes "^333333I am Thanatos...^000000";
  1640. next;
  1641. mes "^333333Why does she make me";
  1642. mes "feel so strange inside?";
  1643. mes "I feel everything I was";
  1644. mes "missing before, all the";
  1645. mes "things I want and want";
  1646. mes "to be, she brings, she";
  1647. mes "completes. How... funny...^000000";
  1648. mes "'She make me feel strange...as if I found my lost half...'";
  1649. next;
  1650. mes "......";
  1651. mes ".........";
  1652. mes "............";
  1653. next;
  1654. mes "^3355FFThe images faded from";
  1655. mes "your mind as quickly as";
  1656. mes "they appeared. What could";
  1657. mes "have happened in the past?^000000";
  1658. delitem 7422,1;
  1659. getitem 7427,1;
  1660. close;
  1661. }
  1662. mes "^3355FFYou'll need to try";
  1663. mes "something else in ";
  1664. mes "order to break this";
  1665. mes "seal. What could";
  1666. mes "you possibly need?^000000";
  1667. close;
  1668. case 2:
  1669. mes "^3355FFYou stepped away from";
  1670. mes "the seal, unwilling to deal";
  1671. mes "with the power that keeps";
  1672. mes "repulsing your advance.^000000";
  1673. close;
  1674. }
  1675. }
  1676. tha_t10,129,159,0 script Seal 111,{
  1677. if(!countitem(7424))
  1678. {
  1679. mes "^3355FFThis area is protected by";
  1680. mes "some mysterious power.";
  1681. mes "You try to touch the seal,";
  1682. mes "but then it buzzes loudly";
  1683. mes "and pushes your hand away.^000000";
  1684. percentheal -10,0;
  1685. close;
  1686. }
  1687. mes "^3355FFThis area is protected by";
  1688. mes "some mysterious power.";
  1689. mes "You try to touch the seal,";
  1690. mes "but then it buzzes loudly";
  1691. mes "and pushes your hand away.";
  1692. mes "with a burst of green light.^000000";
  1693. next;
  1694. switch( select( "Investigate","There's no way I can break this seal!" ) )
  1695. {
  1696. case 1:
  1697. input @input$;
  1698. if (@input$ == "Green Key")
  1699. {
  1700. mes "^3355FFYou gently hold the green";
  1701. mes "key and bring it towards";
  1702. mes "the seal. Strangely, your";
  1703. mes "hand isn't pushed away this";
  1704. mes "time, and the seal begins to";
  1705. mes "emit a mysterious light.^000000";
  1706. next;
  1707. mes "^3355FFYou find a small keyhole";
  1708. mes "in the seal, insert the green";
  1709. mes "key, and slowly turn it. The";
  1710. mes "seal's light fades, revealing a";
  1711. mes "Charm Stone. Once you grasp";
  1712. mes "the stone, someone's memory";
  1713. mes "is injected into your mind.^000000";
  1714. next;
  1715. mes "^333333This battle will determine";
  1716. mes "the fate of mankind. We must";
  1717. mes "defeat Satan Morroc. There is";
  1718. mes "no alternative. Who's with me?! ";
  1719. mes "^333333*Cough Cough* The demon";
  1720. mes "is too strong! We c-can't...^000000";
  1721. next;
  1722. mes "^333333Foolish weakling humans.";
  1723. mes "You should have known better.";
  1724. mes "...This cannot be! Isn't this--? ";
  1725. mes "^333333GGGRRRRAH! H-HOW DARE YOU";
  1726. mes "HUMANS! HOW DARE YOOOOOOOU....! ";
  1727. next;
  1728. mes "......";
  1729. mes ".........";
  1730. mes "............";
  1731. next;
  1732. mes "^3355FFThe images faded from";
  1733. mes "your mind as quickly as";
  1734. mes "they appeared. What could";
  1735. mes "have happened in the past?^000000";
  1736. delitem 7424,1;
  1737. getitem 7429,1;
  1738. close;
  1739. }
  1740. mes "^3355FFYou'll need to try";
  1741. mes "something else in ";
  1742. mes "order to break this";
  1743. mes "seal. What could";
  1744. mes "you possibly need?^000000";
  1745. close;
  1746. case 2:
  1747. mes "^3355FFYou stepped away from";
  1748. mes "the seal, unwilling to deal";
  1749. mes "with the power that keeps";
  1750. mes "repulsing your advance.^000000";
  1751. close;
  1752. }
  1753. }
  1754. tha_t12,96,58,0 script Stone Statue#thana1 111,{
  1755. if(!$@thana_summon)
  1756. {
  1757. mes "^3355FFYou've found a ";
  1758. mes "stone statue with";
  1759. mes "a conspicuous hole";
  1760. mes "in the chest area.^000000";
  1761. if((countitem(7426)) && (countitem(7427)) && (countitem(7428)) && (countitem(7429)) && (countitem(7430)))
  1762. {
  1763. next;
  1764. mes "^3355FFAs you approach the statue,";
  1765. mes "your Red Charm Stone and";
  1766. mes "the statue begin to glow with";
  1767. mes "a glimmering red light.^000000";
  1768. next;
  1769. switch( select( "Insert Charm Stone into Statue","Cancel" ) )
  1770. {
  1771. case 1:
  1772. mes "^3355FFOnce you insert the";
  1773. mes "Red Charm Stone, the";
  1774. mes "statue glows even brighter";
  1775. mes "with a mysterious light.^000000";
  1776. delitem 7426,1;
  1777. specialeffect EF_BEGINSPELL3;
  1778. enablenpc "tteffect2";
  1779. donpcevent "tteffect2::OnGlow";
  1780. set $@thana_summon,1;
  1781. close;
  1782. case 2:
  1783. mes "^3355FFYou decided not to";
  1784. mes "insert the Charm Stone,";
  1785. mes "opting to investigate this";
  1786. mes "area a little further.^000000";
  1787. close;
  1788. }
  1789. }
  1790. else if((countitem(7426)) || (countitem(7427)) || (countitem(7428)) || (countitem(7429)) || (countitem(7430)))
  1791. {
  1792. next;
  1793. mes "^3355FFAs you approach this statue, one of your Charm Stones begins to";
  1794. mes "glow. However, the statue itself is not responding. You probably";
  1795. mes "need all the Charm Stones in";
  1796. mes "order to fully activate it.^000000";
  1797. close;
  1798. }
  1799. else close;
  1800. }
  1801. else if($@thana_summon == 6)
  1802. {
  1803. mes "^3355FFThe statue is emanating an";
  1804. mes "intense light, making it so hot";
  1805. mes "that you cannot approach it.^000000";
  1806. close;
  1807. }
  1808. else
  1809. {
  1810. mes "^3355FFThis statue is glowing";
  1811. mes "with a mysterious light.";
  1812. mes "Some strange force keeps";
  1813. mes "you from approaching it.^000000";
  1814. close;
  1815. }
  1816. }
  1817. tha_t12,104,18,0 script Stone Statue#thana2 111,{
  1818. if($@thana_summon == 2)
  1819. {
  1820. mes "^3355FFYou've found a ";
  1821. mes "stone statue with";
  1822. mes "a conspicuous hole";
  1823. mes "in the chest area.^000000";
  1824. if(countitem(7428))
  1825. {
  1826. next;
  1827. mes "^3355FFAs you approach the statue,";
  1828. mes "your Blue Charm Stone begins";
  1829. mes "to glow with a glimmering blue";
  1830. mes "light, and the statue responds";
  1831. mes "by shimmering with a red glow.^000000";
  1832. next;
  1833. switch( select( "Insert Charm Stone into Statue","Cancel" ) )
  1834. {
  1835. case 1:
  1836. mes "^3355FFOnce you insert the";
  1837. mes "Blue Charm Stone, the";
  1838. mes "statue glows even brighter";
  1839. mes "with a mysterious light.^000000";
  1840. delitem 7428,1;
  1841. specialeffect EF_BEGINSPELL3;
  1842. enablenpc "tteffect5";
  1843. donpcevent "tteffect5::OnGlow";
  1844. set $@thana_summon,3;
  1845. close;
  1846. case 2:
  1847. mes "^3355FFYou decided not to";
  1848. mes "insert the Charm Stone,";
  1849. mes "opting to investigate this";
  1850. mes "area a little further.^000000";
  1851. close;
  1852. }
  1853. }
  1854. close;
  1855. }
  1856. else if($@thana_summon == 6)
  1857. {
  1858. mes "^3355FFThe statue is emanating an";
  1859. mes "intense light, making it so hot";
  1860. mes "that you cannot approach it.^000000";
  1861. close;
  1862. }
  1863. else
  1864. {
  1865. mes "^3355FFThis statue is glowing";
  1866. mes "with a mysterious light.";
  1867. mes "Some strange force keeps";
  1868. mes "you from approaching it.^000000";
  1869. close;
  1870. }
  1871. }
  1872. tha_t12,128,86,0 script Stone Statue#thana3 111,{
  1873. if($@thana_summon == 3)
  1874. {
  1875. mes "^3355FFYou've found a ";
  1876. mes "stone statue with";
  1877. mes "a conspicuous hole";
  1878. mes "in the chest area.^000000";
  1879. if(countitem(7430))
  1880. {
  1881. next;
  1882. mes "^3355FFAs you approach the statue,";
  1883. mes "your Black Charm Stone begins";
  1884. mes "to emanate an eerie darkness.";
  1885. mes "In response, the statue starts glowing with a sinister red light.^000000";
  1886. next;
  1887. switch( select( "Insert Charm Stone into Statue","Cancel" ) )
  1888. {
  1889. case 1:
  1890. mes "^3355FFOnce you insert the";
  1891. mes "Black Charm Stone, the";
  1892. mes "statue glows even brighter";
  1893. mes "with a mysterious light.^000000";
  1894. delitem 7430,1;
  1895. specialeffect EF_BEGINSPELL7;
  1896. enablenpc "tteffect1";
  1897. donpcevent "tteffect1::OnGlow";
  1898. set $@thana_summon,4;
  1899. close;
  1900. case 2:
  1901. mes "^3355FFYou decided not to";
  1902. mes "insert the Charm Stone,";
  1903. mes "opting to investigate this";
  1904. mes "area a little further.^000000";
  1905. close;
  1906. }
  1907. }
  1908. close;
  1909. }
  1910. else if($@thana_summon == 6)
  1911. {
  1912. mes "^3355FFThe statue is emanating an";
  1913. mes "intense light, making it so hot";
  1914. mes "that you cannot approach it.^000000";
  1915. close;
  1916. }
  1917. else
  1918. {
  1919. mes "^3355FFThis statue is glowing";
  1920. mes "with a mysterious light.";
  1921. mes "Some strange force keeps";
  1922. mes "you from approaching it.^000000";
  1923. close;
  1924. }
  1925. }
  1926. tha_t12,161,58,0 script Stone Statue#thana4 111,{
  1927. if($@thana_summon == 1)
  1928. {
  1929. mes "^3355FFYou've found a ";
  1930. mes "stone statue with";
  1931. mes "a conspicuous hole";
  1932. mes "in the chest area.^000000";
  1933. if(countitem(7427))
  1934. {
  1935. next;
  1936. mes "^3355FFAs you approach the statue,";
  1937. mes "your Yellow Charm Stone";
  1938. mes "starts shining a bright yellow";
  1939. mes "light, and the statue emits";
  1940. mes "a glimmering red glow.^000000";
  1941. next;
  1942. switch( select( "Insert Charm Stone into Statue","Cancel" ) )
  1943. {
  1944. case 1:
  1945. mes "^3355FFOnce you insert the";
  1946. mes "Yellow Charm Stone, the";
  1947. mes "statue glows even brighter";
  1948. mes "with a mysterious light.^000000";
  1949. delitem 7427,1;
  1950. specialeffect EF_BEGINSPELL5;
  1951. enablenpc "tteffect3";
  1952. donpcevent "tteffect3::OnGlow";
  1953. set $@thana_summon,2;
  1954. close;
  1955. case 2:
  1956. mes "^3355FFYou decided not to";
  1957. mes "insert the Charm Stone,";
  1958. mes "opting to investigate this";
  1959. mes "area a little further.^000000";
  1960. close;
  1961. }
  1962. }
  1963. close;
  1964. }
  1965. else if($@thana_summon == 6)
  1966. {
  1967. mes "^3355FFThe statue is emanating an";
  1968. mes "intense light, making it so hot";
  1969. mes "that you cannot approach it.^000000";
  1970. close;
  1971. }
  1972. else
  1973. {
  1974. mes "^3355FFThis statue is glowing";
  1975. mes "with a mysterious light.";
  1976. mes "Some strange force keeps";
  1977. mes "you from approaching it.^000000";
  1978. close;
  1979. }
  1980. }
  1981. tha_t12,154,18,0 script Stone Statue#thana5 111,{
  1982. if($@thana_summon == 4)
  1983. {
  1984. mes "^3355FFYou've found a ";
  1985. mes "stone statue with";
  1986. mes "a conspicuous hole";
  1987. mes "in the chest area.^000000";
  1988. if(countitem(7429))
  1989. {
  1990. next;
  1991. mes "^3355FFAs you approach the statue,";
  1992. mes "your Green Charm Stone begins";
  1993. mes "radiating soft green light, and";
  1994. mes "and the statue starts to shine";
  1995. mes "with a bright red glow.^000000";
  1996. next;
  1997. switch( select( "Insert Charm Stone into Statue","Cancel" ) )
  1998. {
  1999. case 1:
  2000. mes "^3355FFOnce you insert the";
  2001. mes "Green Charm Stone, the";
  2002. mes "statue glows even brighter";
  2003. mes "with a mysterious light.^000000";
  2004. specialeffect EF_BEGINSPELL4;
  2005. enablenpc "tteffect4";
  2006. donpcevent "tteffect4::OnGlow";
  2007. delitem 7429,1;
  2008. next;
  2009. mes "^3355FFThe crest on the ground";
  2010. mes "surrounded by the five";
  2011. mes "glowing statues has now";
  2012. mes "activated, and is emitting";
  2013. mes "a fearsome, powerful energy.^000000";
  2014. set $@thana_summon,5;
  2015. set $@thana_summon2,0;
  2016. enablenpc "WarpThana";
  2017. close;
  2018. case 2:
  2019. mes "^3355FFYou decided not to";
  2020. mes "insert the Charm Stone,";
  2021. mes "opting to investigate this";
  2022. mes "area a little further.^000000";
  2023. close;
  2024. }
  2025. }
  2026. close;
  2027. }
  2028. else if($@thana_summon == 6)
  2029. {
  2030. mes "^3355FFThe statue is emanating an";
  2031. mes "intense light, making it so hot";
  2032. mes "that you cannot approach it.^000000";
  2033. close;
  2034. }
  2035. else
  2036. {
  2037. mes "^3355FFThis statue is glowing";
  2038. mes "with a mysterious light.";
  2039. mes "Some strange force keeps";
  2040. mes "you from approaching it.^000000";
  2041. close;
  2042. }
  2043. }
  2044. tha_t12,129,56,0 script tteffect1 139,{
  2045. OnInit:
  2046. disablenpc "tteffect1";
  2047. end;
  2048. OnGlow:
  2049. initnpctimer;
  2050. end;
  2051. OnTimer500:
  2052. OnTimer1000:
  2053. OnTimer1500:
  2054. OnTimer2000:
  2055. OnTimer2500:
  2056. specialeffect EF_BEGINSPELL7;
  2057. end;
  2058. OnTimer3000:
  2059. specialeffect EF_BEGINSPELL7;
  2060. stopnpctimer;
  2061. if($@thana_summon == 6) end;
  2062. initnpctimer;
  2063. end;
  2064. OnStop:
  2065. stopnpctimer;
  2066. end;
  2067. }
  2068. tha_t12,125,52,0 script tteffect2 139,{
  2069. OnInit:
  2070. disablenpc "tteffect2";
  2071. end;
  2072. OnGlow:
  2073. initnpctimer;
  2074. end;
  2075. OnTimer500:
  2076. OnTimer1000:
  2077. OnTimer1500:
  2078. OnTimer2000:
  2079. OnTimer2500:
  2080. specialeffect EF_BEGINSPELL3;
  2081. end;
  2082. OnTimer3000:
  2083. specialeffect EF_BEGINSPELL3;
  2084. stopnpctimer;
  2085. if($@thana_summon == 6) end;
  2086. initnpctimer;
  2087. end;
  2088. OnStop:
  2089. stopnpctimer;
  2090. end;
  2091. }
  2092. tha_t12,134,52,0 script tteffect3 139,{
  2093. OnInit:
  2094. disablenpc "tteffect3";
  2095. end;
  2096. OnGlow:
  2097. initnpctimer;
  2098. end;
  2099. OnTimer500:
  2100. OnTimer1000:
  2101. OnTimer1500:
  2102. OnTimer2000:
  2103. OnTimer2500:
  2104. specialeffect EF_BEGINSPELL5;
  2105. end;
  2106. OnTimer3000:
  2107. specialeffect EF_BEGINSPELL5;
  2108. stopnpctimer;
  2109. if($@thana_summon == 6) end;
  2110. initnpctimer;
  2111. end;
  2112. OnStop:
  2113. stopnpctimer;
  2114. end;
  2115. }
  2116. tha_t12,132,47,0 script tteffect4 139,{
  2117. OnInit:
  2118. disablenpc "tteffect4";
  2119. end;
  2120. OnGlow:
  2121. initnpctimer;
  2122. end;
  2123. OnTimer500:
  2124. OnTimer1000:
  2125. OnTimer1500:
  2126. OnTimer2000:
  2127. OnTimer2500:
  2128. specialeffect EF_BEGINSPELL4;
  2129. end;
  2130. OnTimer3000:
  2131. specialeffect EF_BEGINSPELL4;
  2132. stopnpctimer;
  2133. if($@thana_summon == 6) end;
  2134. initnpctimer;
  2135. end;
  2136. OnStop:
  2137. stopnpctimer;
  2138. end;
  2139. }
  2140. tha_t12,127,47,0 script tteffect5 139,{
  2141. OnInit:
  2142. disablenpc "tteffect5";
  2143. end;
  2144. OnGlow:
  2145. initnpctimer;
  2146. end;
  2147. OnTimer500:
  2148. OnTimer1000:
  2149. OnTimer1500:
  2150. OnTimer2000:
  2151. OnTimer2500:
  2152. specialeffect EF_BEGINSPELL2;
  2153. end;
  2154. OnTimer3000:
  2155. specialeffect EF_BEGINSPELL2;
  2156. stopnpctimer;
  2157. if($@thana_summon == 6) end;
  2158. initnpctimer;
  2159. end;
  2160. OnStop:
  2161. stopnpctimer;
  2162. end;
  2163. }
  2164. tha_t12,130,52,0 script WarpThana 45,1,1,{
  2165. OnInit:
  2166. disablenpc "WarpThana";
  2167. end;
  2168. OnTouch:
  2169. if($@thana_summon == 5) warp "thana_boss",136,116;
  2170. else
  2171. {
  2172. donpcevent "tteffect1::OnStop";
  2173. donpcevent "tteffect2::OnStop";
  2174. donpcevent "tteffect3::OnStop";
  2175. donpcevent "tteffect4::OnStop";
  2176. donpcevent "tteffect5::OnStop";
  2177. disablenpc "WarpThana";
  2178. end;
  2179. }
  2180. }
  2181. thana_boss,217,167,0 script Crest#1 111,3,3,{
  2182. end;
  2183. OnTouch:
  2184. if($@thana_summon == 6)
  2185. {
  2186. mes "^3355FFYou cannot approach";
  2187. mes "the crest because it is";
  2188. mes "generating intense heat.^000000";
  2189. close;
  2190. }
  2191. mes "^3355FFThere is a strangely";
  2192. mes "shaped hole in the";
  2193. mes "middle of this purple crest.^000000";
  2194. if (countitem(7437))
  2195. {
  2196. mes "^3355FFIt seems like a Fragment";
  2197. mes "of Sorrow would fit perfectly";
  2198. mes "if you placed it inside.^000000";
  2199. }
  2200. next;
  2201. input @input$;
  2202. if(countitem(7437))
  2203. {
  2204. if(@input$ == "Fragment of Sorrow")
  2205. {
  2206. mes "^3355FFYou insert the";
  2207. mes "Fragment of Sorrow";
  2208. mes "into the crest, causing";
  2209. mes "its glow to intensify.^000000";
  2210. delitem 7437,1;
  2211. monster "thana_boss",217,167,"Sorrow",1711,1,"#Death::OnDead";
  2212. disablenpc "Crest#1";
  2213. close;
  2214. }
  2215. }
  2216. mes "^3355FFThat action had no";
  2217. mes "effect. You'll have to";
  2218. mes "try something else.^000000";
  2219. close;
  2220. }
  2221. thana_boss,202,75,0 script Crest#2 111,3,3,{
  2222. end;
  2223. OnTouch:
  2224. if($@thana_summon == 6)
  2225. {
  2226. mes "^3355FFYou cannot approach";
  2227. mes "the crest because it is";
  2228. mes "generating intense heat.^000000";
  2229. close;
  2230. }
  2231. mes "^3355FFThere is a strangely";
  2232. mes "shaped hole in the";
  2233. mes "middle of this green crest.^000000";
  2234. if (countitem(7436))
  2235. {
  2236. mes "^3355FFIt seems like a Fragment";
  2237. mes "of Agony would fit perfectly";
  2238. mes "if you placed it inside.^000000";
  2239. }
  2240. next;
  2241. input @input$;
  2242. if(countitem(7436))
  2243. {
  2244. if(@input$ == "Fragment of Agony")
  2245. {
  2246. mes "^3355FFYou insert the";
  2247. mes "Fragment of Agony";
  2248. mes "into the crest, causing";
  2249. mes "its glow to intensify.^000000";
  2250. delitem 7436,1;
  2251. monster "thana_boss",202,75,"Agony",1712,1,"#Death::OnDead";
  2252. disablenpc "Crest#2";
  2253. close;
  2254. }
  2255. }
  2256. mes "^3355FFThat action had no";
  2257. mes "effect. You'll have to";
  2258. mes "try something else.^000000";
  2259. close;
  2260. }
  2261. thana_boss,80,76,0 script Crest#3 111,3,3,{
  2262. end;
  2263. OnTouch:
  2264. if($@thana_summon == 6)
  2265. {
  2266. mes "^3355FFYou cannot approach";
  2267. mes "the crest because it is";
  2268. mes "generating intense heat.^000000";
  2269. close;
  2270. }
  2271. mes "^3355FFThere is a strangely";
  2272. mes "shaped hole in the";
  2273. mes "middle of this blue crest.^000000";
  2274. if (countitem(7438))
  2275. {
  2276. mes "^3355FFIt seems like a Fragment";
  2277. mes "of Hatred would fit perfectly";
  2278. mes "if you placed it inside.^000000";
  2279. }
  2280. next;
  2281. input @input$;
  2282. if(countitem(7438))
  2283. {
  2284. if(@input$ == "Fragment of Hatred")
  2285. {
  2286. mes "^3355FFYou insert the";
  2287. mes "Fragment of Hatred";
  2288. mes "into the crest, causing";
  2289. mes "its glow to intensify.^000000";
  2290. delitem 7438,1;
  2291. monster "thana_boss",80,76,"Hatred",1709,1,"#Death::OnDead";
  2292. disablenpc "Crest#3";
  2293. close;
  2294. }
  2295. }
  2296. mes "^3355FFThat action had no";
  2297. mes "effect. You'll have to";
  2298. mes "try something else.^000000";
  2299. close;
  2300. }
  2301. thana_boss,62,171,0 script Crest#4 111,3,3,{
  2302. end;
  2303. OnTouch:
  2304. if($@thana_summon == 6)
  2305. {
  2306. mes "^3355FFYou cannot approach";
  2307. mes "the crest because it is";
  2308. mes "generating intense heat.^000000";
  2309. close;
  2310. }
  2311. mes "^3355FFThere is a strangely";
  2312. mes "shaped hole in the";
  2313. mes "middle of this red crest.^000000";
  2314. if (countitem(7439))
  2315. {
  2316. mes "^3355FFIt seems like a Fragment";
  2317. mes "of Despair would fit perfectly";
  2318. mes "if you placed it inside.^000000";
  2319. }
  2320. next;
  2321. input @input$;
  2322. if(countitem(7439))
  2323. {
  2324. if(@input$ == "Fragment of Despair")
  2325. {
  2326. mes "^3355FFYou insert the";
  2327. mes "Fragment of Despair";
  2328. mes "into the crest, causing";
  2329. mes "its glow to intensify.^000000";
  2330. delitem 7439,1;
  2331. monster "thana_boss",62,171,"Despair",1710,1,"#Death::OnDead";
  2332. disablenpc "Crest#4";
  2333. close;
  2334. }
  2335. }
  2336. mes "^3355FFThat action had no";
  2337. mes "effect. You'll have to";
  2338. mes "try something else.^000000";
  2339. close;
  2340. }
  2341. thana_boss,141,218,0 script Crest#5 111,3,3,{
  2342. end;
  2343. OnTouch:
  2344. if($@thana_summon2 > 3)
  2345. {
  2346. mes "^3355FFAs you approach the";
  2347. mes "crest, it begins shining";
  2348. mes "brighter and brighter until its";
  2349. mes "illumination becomes blinding.^000000";
  2350. set $@thana_wave,4;
  2351. monster "thana_boss",140,217,"Despair",1710,1,"#Death::OnWave";
  2352. monster "thana_boss",140,216,"Hatred",1709,1,"#Death::OnWave";
  2353. monster "thana_boss",141,217,"Sorrow",1711,1,"#Death::OnWave";
  2354. monster "thana_boss",141,216,"Agony",1712,1,"#Death::OnWave";
  2355. disablenpc "Crest#5";
  2356. close;
  2357. }
  2358. input @input$;
  2359. mes "^3355FFNothing happened.^000000";
  2360. close;
  2361. }
  2362. thana_boss,5,5,0 script #thanasummon -1,{
  2363. end;
  2364. OnSummon:
  2365. monster "thana_boss",139,129,"Thanatos Phantom",1708,1,"#Death::OnThanaDead";
  2366. end;
  2367. }
  2368. thana_boss,3,3,0 script #thanatimer -1,{
  2369. OnInit:
  2370. set $@thana_summon,0;
  2371. set $@thana_summon2,0;
  2372. end;
  2373. OnActive:
  2374. initnpctimer;
  2375. end;
  2376. OnTimer1000:
  2377. mapannounce "thana_boss","GGGGRRRRRRR!",1;
  2378. end;
  2379. OnTimer2000:
  2380. mapannounce "thana_boss","*Rumble Rumble*",1;
  2381. end;
  2382. OnTimer3000:
  2383. mapannounce "thana_boss","*Crik Crik*",1;
  2384. end;
  2385. OnTimer4000:
  2386. mapannounce "thana_boss","*Zzzzrt Zzzzrt*",1;
  2387. end;
  2388. OnTimer5000:
  2389. mapannounce "thana_boss","*Crik Crik*",1;
  2390. end;
  2391. OnTimer60000:
  2392. mapwarp "thana_boss","tha_t12",130,47;
  2393. set $@thana_summon2,0;
  2394. enablenpc "Crest#1";
  2395. enablenpc "Crest#2";
  2396. enablenpc "Crest#3";
  2397. enablenpc "Crest#4";
  2398. enablenpc "Crest#5";
  2399. end;
  2400. OnTimer7200000:
  2401. killmonsterall "thana_boss";
  2402. set $@thana_summon,0;
  2403. stopnpctimer;
  2404. end;
  2405. }
  2406. thana_boss,1,1,0 script #Death -1,{
  2407. OnDead:
  2408. set $@thana_summon2,$@thana_summon2 +1;
  2409. end;
  2410. OnWave:
  2411. set $@thana_wave,$@thana_wave -1;
  2412. if($@thana_wave < 1)
  2413. {
  2414. donpcevent "#thanasummon::OnSummon";
  2415. }
  2416. end;
  2417. OnThanaDead:
  2418. donpcevent "#thanatimer::OnActive";
  2419. set $@thana_summon,6;
  2420. end;
  2421. }
  2422. tha_t06,119,120,0 script thana6-7 45,1,1,{
  2423. if (((Upper == 1) && ((Class > Job_Thief_High) && (Class < Job_Baby))) || (((Class == Job_Gunslinger) || (Class == Job_Ninja) || (BaseClass == Job_Taekwon)) && (BaseLevel >= 95))) {
  2424. warp "thana_step",69,369;
  2425. end;
  2426. }
  2427. else {
  2428. mes "^3355FFAn overwhelming force";
  2429. mes "acts against you, preventing";
  2430. mes "you from proceeding this way...^000000";
  2431. close;
  2432. }
  2433. }