quests_umbala.txt 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326
  1. //===== rAthena Script =======================================
  2. //= Quest NPCs related to Umbala
  3. //===== By: ==================================================
  4. //= sabernet09 & rAthena Team
  5. //===== Current Version: =====================================
  6. //= 2.2a
  7. //===== Compatible With: =====================================
  8. //= rAthena Project; 7.15 +
  9. //===== Description: =========================================
  10. //= [Official Conversion]
  11. //= Umbalian Language Quest, Umbala Skeletal Gate Quest,
  12. //= Umbala Event, Create Essence/Dismantle Stone
  13. // Phase 1. Learning the Language
  14. // (Elder) First discussion
  15. // (Elder) Asking about learning the language
  16. // (Elder) Final step (understanding NPC speech)
  17. // ------------------------------------------
  18. // Phase 2. Create Essence/Dismantle Stone
  19. // (Shaman) Get permission to speak with her from the chief
  20. // (Elder) Ask about conditions needed to be fulfilled to get permission
  21. // (Elder) Get permission
  22. // (Shaman) Use the shaman to create essences and dismantle elemental stones.
  23. //= Umbala Domestic Dispute?
  24. //= - This quest is only avaliable if you have not done language quest.
  25. //= - Variables in use: um_wind, MISC_QUEST (Bit 32768)
  26. //===== Additional Comments: =================================
  27. //= fixed by x[tsk], Lupus, PoW
  28. //= Quest completion is now registered
  29. //= 1.1 fixed Poporing Egg ID -> Poring Egg, fixed condition
  30. //= 1.2-1.6 fixed some Umbalian Language quests [Lupus]
  31. //= 1.7 Moved Umbala Event, Create Essence/Dismantle Stone, and Skeletal Gate from npc/cities/umbala.txt [Evera]
  32. //= 1.7a Removed all custom quests to custom folder [Lupus]
  33. //= 1.8 Added official chance of failure to Create Essence/Dismantle Stone [Lupus]
  34. //= 1.9 Added functionality to allow players to dismantle more
  35. //= than a stone at once, up to 10. [SinSloth]
  36. //= 2.0 Updated hack check and added a weight check to dismantling. [SinSloth]
  37. //= 2.1 Rescripted to Aegis 10.3 standards. Added strange quest. [L0ne_W0lf]
  38. //= 2.2 Readded the ability to dismantle multiple stones at once. [L0ne_W0lf]
  39. //= 2.2a Fixed weight check from previous update. [L0ne_w0lf]
  40. //============================================================
  41. // Umbalian Language Quest :: um_trans
  42. //============================================================
  43. um_in,39,122,5 script Utan Chief 784,{
  44. if (event_umbala == 0) {
  45. mes "[Karkatan]";
  46. mes "Huh huh, a Rune-Midgardian.";
  47. mes "I guess this is your first";
  48. mes "visit to my village, isn't it?";
  49. next;
  50. mes "[Karkatan]";
  51. mes "Everyone from Rune-Midgard";
  52. mes "that I've met had the same";
  53. mes "same expression on their";
  54. mes "face as you do right now";
  55. mes "when they first came here.";
  56. next;
  57. mes "[Karkatan]";
  58. mes "Maybe it's because they cannot";
  59. mes "communicate with us due to";
  60. mes "the language barrier, so";
  61. mes "they have no idea what's going";
  62. mes "on. Yeah, I understand...";
  63. mes "Anyway, welcome to my village.";
  64. next;
  65. mes "[Karkatan]";
  66. mes "My name is Karkatan, and I";
  67. mes "am the chief of the Utan tribe.";
  68. mes "You must be wondering how";
  69. mes "I can speak your language.";
  70. next;
  71. mes "[Karkatan]";
  72. mes "It was taught to me long ago";
  73. mes "by an adventurer from your";
  74. mes "land. It's been a long time,";
  75. mes "and I do not know what has";
  76. mes "become of him...";
  77. next;
  78. mes "[Karkatan]";
  79. mes "Anyhow, I learned many things";
  80. mes "about Rune-Midgardian culture";
  81. mes "and language.";
  82. next;
  83. mes "[Karkatan]";
  84. mes "Sometimes, I teach the Utan";
  85. mes "language, but I do not give";
  86. mes "everyone that privilege.";
  87. mes "If unscrupulous outsiders";
  88. mes "learn the Utan language, they";
  89. mes "may bring harm to my tribe.";
  90. next;
  91. mes "[Karkatan]";
  92. mes "Before you can learn the Utan";
  93. mes "language, first try to learn";
  94. mes "Utan culture by exploring our";
  95. mes "village.";
  96. next;
  97. mes "[Karkatan]";
  98. mes "Although you are not able to";
  99. mes "communicate with my people";
  100. mes "right now, try to understand";
  101. mes "our way of life through your";
  102. mes "observations.";
  103. next;
  104. mes "[Karkatan]";
  105. mes "Pay attention to the dress,";
  106. mes "appearance and life style of the";
  107. mes "local people. When you think";
  108. mes "you understand enough about Utan";
  109. mes "culture, come back to me and show me what you have learned.";
  110. set event_umbala,1;
  111. close;
  112. }
  113. else if (event_umbala == 1) {
  114. mes "[Karkatan]";
  115. mes "Oh, it's you again. So...";
  116. mes "Have you learned about Utan";
  117. mes "culture? I want to hear your";
  118. mes "opinion, as well as your impression.";
  119. next;
  120. mes "[Karkatan]";
  121. mes "There are still some villagers";
  122. mes "who are very naive about Rune-Midgardians.";
  123. mes "Usually, they fear encounters";
  124. mes "with your people and will";
  125. mes "hide themselves.";
  126. next;
  127. mes "[Karkatan]";
  128. mes "So...";
  129. mes "May I help you with anything?";
  130. mes "I assume you did not have much of";
  131. mes "a problem looking around the";
  132. mes "village, but it seems you have something to ask of me.";
  133. next;
  134. switch(select("I want to learn Utan language.:Umbabah Umbabah?:Nothing.")) {
  135. case 1:
  136. if (isequipped(2278) || isequipped(2297) || isequipped(2288) || isequipped(2292) || isequipped(5005) || isequipped(2281) || isequipped(5043)) {
  137. mes "[Karkatan]";
  138. mes "Hmmm...That's an awesome mask";
  139. mes "you're wearing. We Utans like";
  140. mes "wearing masks to keep from";
  141. mes "showing our facial expressions.";
  142. next;
  143. mes "[Karkatan]";
  144. mes "That's why we wear masks all the";
  145. mes "time. We believe that interaction";
  146. mes "and treatment of other people";
  147. mes "should not depend on how we look.";
  148. next;
  149. mes "[Karkatan]";
  150. mes "Alright. I am sure you are";
  151. mes "qualified to learn the Utan";
  152. mes "language. I will teach you how";
  153. mes "speak and to read in Utan from";
  154. mes "now on.";
  155. next;
  156. mes "[Karkatan]";
  157. mes "However, I need you to get some";
  158. mes "items ready so that we may proceed";
  159. mes "with the lessons. First, we need";
  160. mes "two different kinds of paper.";
  161. mes "^3377FF10 Oil Paper^000000 and ";
  162. mes "^3377FF5 Slick Paper^000000.";
  163. next;
  164. mes "[Karkatan]";
  165. mes "We'll also need something to";
  166. mes "write with. Let's use";
  167. mes "^3377FF1 Squid Ink^000000 and";
  168. mes "^3377FF1 Feather of Birds^000000.";
  169. mes "Please bring me those, and I will";
  170. mes "teach you when you're ready.";
  171. set event_umbala,2;
  172. close;
  173. }
  174. else {
  175. mes "[Karkatan]";
  176. mes "You don't seem to understand";
  177. mes "our culture yet. You cannot";
  178. mes "learn another language if you";
  179. mes "do not understand the culture.";
  180. next;
  181. mes "[Karkatan]";
  182. mes "When you have that expression on";
  183. mes "your face, Utans will be";
  184. mes "intimidated... Since we do";
  185. mes "not show our faces to others,";
  186. mes "we are actually very";
  187. mes "vulnerable to facial expression.";
  188. next;
  189. mes "[Karkatan]";
  190. mes "Go explore the village a little";
  191. mes "longer. You can come back";
  192. mes "anytime when you think you're ready.";
  193. next;
  194. mes "[Karkatan]";
  195. mes "In any case, what do you think";
  196. mes "about my mask? It's the current";
  197. mes "trend among us Utans...don't you";
  198. mes "think it's awesome?";
  199. close;
  200. }
  201. case 2:
  202. mes "[Karkatan]";
  203. mes "Haha~ When you're just imitating";
  204. mes "the sound, you won't make any";
  205. mes "sense. Language is a mutual system";
  206. mes "for the communication of thoughts and feelings.";
  207. next;
  208. mes "[Karkatan]";
  209. mes "I regret to say that it seems that";
  210. mes "nowadays, all peoples are no";
  211. mes "longer sensitive to other cultures";
  212. mes "in that respect.";
  213. next;
  214. mes "[Karkatan]";
  215. mes "I see people that despise or";
  216. mes "ridicule others that do not";
  217. mes "understand them. It's really";
  218. mes "sad that such bigotry still exists...";
  219. next;
  220. mes "[Karkatan]";
  221. mes "If you are interested in Utan";
  222. mes "language, try to understand our";
  223. mes "culture better and come back";
  224. mes "when you're ready. I will";
  225. mes "teach you the meanings of those sounds you are using.";
  226. close;
  227. case 3:
  228. mes "[Karkatan]";
  229. mes "Sometimes it's good to wander";
  230. mes "without purpose. But it's";
  231. mes "better to set a goal for";
  232. mes "a journey if you want to";
  233. mes "learn something out of";
  234. mes "the experience.";
  235. close;
  236. }
  237. }
  238. else if (event_umbala == 2) {
  239. if ((countitem(7151) > 9) && (countitem(7111) > 4) && (countitem(1024) > 0) && (countitem(916) > 0)) {
  240. mes "[Karkatan]";
  241. mes "Okay, I guess we're good to go.";
  242. mes "Let's get the lesson started.";
  243. mes "I hope you will communicate better";
  244. mes "with Utans when we are done.";
  245. next;
  246. mes "[Karkatan]";
  247. mes "..............";
  248. next;
  249. mes "[Karkatan]";
  250. mes "..............";
  251. mes ".....................";
  252. next;
  253. mes "[Karkatan]";
  254. mes "..............";
  255. mes ".....................";
  256. mes "............................";
  257. next;
  258. mes "[Karkatan]";
  259. mes "Alright, that's all. Just forget";
  260. mes "about how you've felt about Utans";
  261. mes "before you learned the language.";
  262. mes "Now go try to talk to Utans.";
  263. mes "Conversation is a very important method in understanding others.";
  264. delitem 7151,10; //Oil_Paper
  265. delitem 7111,5; //Smooth_Paper
  266. delitem 1024,1; //Chinese_Ink
  267. delitem 916,1; //Feather_Of_Birds
  268. set event_umbala,3;
  269. next;
  270. mes "[Karkatan]";
  271. mes "Okay, if you have any business";
  272. mes "in our village later, feel free";
  273. mes "to talk to me. I will try to help";
  274. mes "you as much as I can.";
  275. close;
  276. }
  277. else {
  278. mes "[Karkatan]";
  279. mes "I guess you are not ready yet...";
  280. mes "Did you forget what items you";
  281. mes "need? I will let you know";
  282. mes "again, so please bring them";
  283. mes "so that we can start the lesson.";
  284. next;
  285. mes "[Karkatan]";
  286. mes "^3377FF10 Oil Paper^000000,";
  287. mes "^3377FF5 Slick Paper^000000,";
  288. mes "^3377FF1 Squid Ink^000000,";
  289. mes "^3377FF1 Feather of Birds^000000.";
  290. mes "When you bring all of these,";
  291. mes "I will teach you our language.";
  292. close;
  293. }
  294. }
  295. else if (event_umbala >= 3) {
  296. if (event_umbala == 4) {
  297. mes "[Karkatan]";
  298. mes "Puchuchartan must have sent you to";
  299. mes "me. I need to check whether or not";
  300. mes "you are qualified to request";
  301. mes "her help...We Utans do not want";
  302. mes "to help evil people.";
  303. next;
  304. mes "[Karkatan]";
  305. mes "Hmmmm....";
  306. mes "It would be good to have a mask";
  307. mes "that was made in Rune-Midgard...";
  308. next;
  309. mes "[Karkatan]";
  310. mes "I wish to have ^3377FF1 Mr. Smile^000000.";
  311. mes "To Utans, receiving a mask as a";
  312. mes "present is considered an";
  313. mes "honor. Maybe Puchuchartan";
  314. mes "wants you to show us your respect by doing so.";
  315. set event_umbala,5;
  316. close;
  317. }
  318. else if (event_umbala == 5) {
  319. if (countitem(2278) > 0) {
  320. mes "[Karkatan]";
  321. mes "Oh, you brought it! Yes, I've";
  322. mes "always wished that I could have";
  323. mes "this mask! This is truly an";
  324. mes "honor! Thank you, adventurer";
  325. mes "from Rune-Midgard.";
  326. next;
  327. mes "[Karkatan]";
  328. mes "I will tell Puchuchartan that I";
  329. mes "confirmed your qualification.";
  330. mes "Go and speak to her. Though I";
  331. mes "am not sure what help she can give";
  332. mes "you, I hope we will be able to return this favor.";
  333. delitem 2278,1; //Mr_Smile
  334. set event_umbala,6;
  335. close;
  336. }
  337. else {
  338. mes "[Karkatan]";
  339. mes "Did I tell you that you need";
  340. mes "^3377FF1 Mr. Smile^000000?";
  341. mes "Please bring that as proof";
  342. mes "of your goodwill, as well";
  343. mes "as your sense of honor.";
  344. close;
  345. }
  346. }
  347. else {
  348. mes "[Karkatan]";
  349. mes "How's it going?";
  350. mes "I wish I could guide you around";
  351. mes "the village, but I cannot neglect";
  352. mes "my duty as tribal chief.";
  353. next;
  354. mes "[Karkatan]";
  355. mes "Leading a tribe is not as easy";
  356. mes "as it looks. You would understand";
  357. mes "if you were in the same position";
  358. mes "as me. Anyway, I hope you will enjoy your time in our village.";
  359. close;
  360. }
  361. }
  362. }
  363. // Create Essence/Dismantle Stone Quest :: um_npc
  364. //============================================================
  365. um_in,44,71,2 script Utan Shaman 782,{
  366. if (checkweight(908,600) == 0) {
  367. mes "^3355FFWait a second!";
  368. mes "Right now, you're carrying";
  369. mes "too many things with you.";
  370. mes "Please come back after";
  371. mes "using the Kafra Service";
  372. mes "to store some of your items.^000000";
  373. close;
  374. }
  375. switch(event_umbala) {
  376. default:
  377. mes "[??????????]";
  378. mes "Umbah umbah umbabah Utan umbah";
  379. mes "Umbah mookala umbabah..";
  380. mes "Umbabahumbah umbabah";
  381. mes "Umbabah umbaba umbaumbah umbah";
  382. mes "Hum umbah umbah.";
  383. close2;
  384. warp "umbala",217,186;
  385. end;
  386. case 3:
  387. mes "[Puchuchartan]";
  388. mes "I did not expect that even";
  389. mes "more of you Rune-Midgardians";
  390. mes "would find my village. I am";
  391. mes "afraid that Mother Earth may";
  392. mes "be caused suffering because";
  393. mes "of this...";
  394. next;
  395. mes "[Puchuchartan]";
  396. mes "You Rune-Midgardians are a very";
  397. mes "evil tribe...always accomplishing";
  398. mes "your goals whether the means are";
  399. mes "foul or fair, never hesitating to";
  400. mes "ruin the property of others to get";
  401. mes "what you want.";
  402. next;
  403. mes "[Puchuchartan]";
  404. mes "I am worried how continuing";
  405. mes "contact with the outside world";
  406. mes "will affect our future...";
  407. next;
  408. mes "[Puchuchartan]";
  409. mes "No one from Rune-Midgard has ";
  410. mes "visited me without some purpose";
  411. mes "and I do not think that you";
  412. mes "are an exception.";
  413. next;
  414. mes "[Puchuchartan]";
  415. mes "I only use my power for the";
  416. mes "service of my tribe, and do not";
  417. mes "give my aid to strangers. If you";
  418. mes "really need my help, go ask for";
  419. mes "the chief's permission.";
  420. next;
  421. mes "[Puchuchartan]";
  422. mes "Also, I do not approve of";
  423. mes "outsiders talking to the tribe";
  424. mes "more than they have to...";
  425. mes "We want to live a peaceful life, so do not disturb us.";
  426. set event_umbala,4;
  427. close;
  428. case 4:
  429. case 5:
  430. mes "[Puchuchartan]";
  431. mes "I already told you to get the";
  432. mes "chief's approval. There is also";
  433. mes "the matter of my own business to take care of.";
  434. next;
  435. mes "[Puchuchartan]";
  436. mes "I know that you have gone through";
  437. mes "many difficulties to come here,";
  438. mes "but you have to leave now.";
  439. close;
  440. case 6:
  441. mes "[Puchuchartan]";
  442. mes "I've heard from the chief that he";
  443. mes "has given you his approval...";
  444. mes "Although I do not like this, I";
  445. mes "will keep my promise. But it's";
  446. mes "your call if you really need my help or not.";
  447. next;
  448. mes "[Puchuchartan]";
  449. mes "My power allows me to create rough";
  450. mes "enchanted stones and to divide a";
  451. mes "pure enchanted stone into rough";
  452. mes "ones. So I may be able to help";
  453. mes "you in this way.";
  454. next;
  455. mes "[Puchuchartan]";
  456. mes "So come and speak to me when";
  457. mes "you think my power may be";
  458. mes "of service to you.";
  459. set event_umbala,7;
  460. close;
  461. case 7:
  462. mes "[Putsuchiritan]";
  463. mes "I don't know whether my talents";
  464. mes "will be useful to you, but I'll";
  465. mes "help you anyway.";
  466. next;
  467. mes "[Putsuchiritan]";
  468. mes "I can create elemental essence from natural objects,";
  469. mes "or, dismantle elemental stones into their component essences.";
  470. mes "Which would you like to do?";
  471. }
  472. next;
  473. mes "[Puchuchartan]";
  474. mes "Rune-Midgardian who has asked for";
  475. mes "my help...Although I am not sure";
  476. mes "if you really need my power, I";
  477. mes "will try to provide my assistance.";
  478. next;
  479. if (checkweight(1101,10) == 0) {
  480. mes "[Puchuchartan]";
  481. mes "Wait--!";
  482. mes "something in your possession";
  483. mes "is disturbing my peace of";
  484. mes "mind. This will not do...";
  485. next;
  486. mes "[Puchuchartan]";
  487. mes "Go leave your belongings";
  488. mes "elsewhere, and only bring the";
  489. mes "items that you need right now.";
  490. next;
  491. mes "[Puchuchartan]";
  492. mes "If you refuse to do so,";
  493. mes "I cannot do anything for you.";
  494. mes "Get yourself ready and then";
  495. mes "come back.";
  496. close;
  497. }
  498. mes "[Puchuchartan]";
  499. mes "Now, what do you wish to do?";
  500. mes "My power allows me to create rough";
  501. mes "enchanted stones and to divide a";
  502. mes "pure enchanted stone into rough ones.";
  503. next;
  504. switch (select("Create rough enchanted stones:Divide a pure enchanted stone:Quit.")) {
  505. case 1:
  506. mes "[Puchuchartan]";
  507. mes "Do you wish to create rough";
  508. mes "enchanted stones? Which";
  509. mes "property do you wish to create?";
  510. mes "Earth, Water, Fire, Wind...";
  511. mes "...choose one.";
  512. next;
  513. switch (select("Earth:Water:Fire:Wind")) {
  514. case 1:
  515. set .@consume,947; //Horn
  516. set .@amount,15;
  517. set .@success,993; //Yellow_Live
  518. break;
  519. case 2:
  520. set .@consume,946; //Snail's_Shell
  521. set .@amount,20;
  522. set .@success,991; //Crystal_Blue
  523. break;
  524. case 3:
  525. set .@consume,904; //Scorpion's_Tail
  526. set .@amount,20;
  527. set .@success,990; //Boody_Red
  528. break;
  529. case 4:
  530. set .@consume,1013; //Colorful_Shell
  531. set .@amount,25;
  532. set .@success,992; //Wind_Of_Verdure
  533. break;
  534. }
  535. if (countitem(.@consume) >= .@amount) {
  536. mes "[Puchuchartan]";
  537. mes "I will try to amplify the hidden";
  538. mes "power of natural objects in";
  539. mes "order to create rough enchanted";
  540. mes "stones. Choose one number from";
  541. mes "'1' to '9.' If you wish to cancel";
  542. mes "this request, enter '0.'";
  543. next;
  544. while(1) {
  545. input .@input,0,10;
  546. if (.@input == 0) {
  547. mes "[Puchuchartan]";
  548. mes "I see. It's your call.";
  549. mes "Come back when you need me.";
  550. close;
  551. }
  552. else if (.@input > 9) {
  553. mes "[Puchuchartan]";
  554. mes "Remember to choose a number";
  555. mes "from 1 to 9.";
  556. next;
  557. }
  558. else {
  559. break;
  560. }
  561. }
  562. mes "[Puchuchartan]";
  563. switch(.@success) {
  564. case 990:
  565. mes "I am putting these tails into a"; break;
  566. case 991:
  567. mes "I am putting these shells into a"; break;
  568. case 992:
  569. mes "I am putting these shells into a"; break;
  570. case 993:
  571. mes "I am putting these horns into a"; break;
  572. }
  573. mes "boiling pot, and casting a";
  574. mes "sacred incantation. Remember";
  575. mes "the number you entered.";
  576. next;
  577. mes "[Puchuchartan]";
  578. mes "Amba Omba Zatumba! Umba! Ti!";
  579. mes "Umputaun Eulukaba! Umba! Ha!";
  580. mes "Julu Humba Rulala! Umba! La!";
  581. mes "Datuha Ombabalaka! Umba! Si!";
  582. mes "Sunutaba Abulumba! Umba! Si!";
  583. next;
  584. if (rand(1,10) == 1) {
  585. mes "[Puchuchartan]";
  586. mes "I guess my power was not enough.";
  587. mes "The natural power I gathered with";
  588. mes "my spell lost focus and was scattered...";
  589. delitem .@consume,.@amount;
  590. getitem 910,1; //Garlet
  591. next;
  592. mes "[Puchuchartan]";
  593. mes "It seems the spirits of nature";
  594. mes "were not in harmony at the moment.";
  595. mes "However, if you come back later,";
  596. mes "I will try to help you. Of course,";
  597. mes "there will still be the same possibility that I may fail.";
  598. close;
  599. }
  600. else {
  601. mes "[Puchuchartan]";
  602. mes "Here's the enchanted stone you";
  603. mes "wished to have. I created this";
  604. mes "with a lot of effort, so make";
  605. mes "good use of it.";
  606. delitem .@consume,.@amount;
  607. getitem .@success,1;
  608. close;
  609. }
  610. }
  611. else {
  612. mes "[Puchuchartan]";
  613. switch (.@success) {
  614. case 990:
  615. mes "Fire property...";
  616. mes "I will need natural";
  617. mes "objects that are filled with";
  618. mes "the spirit of fire.";
  619. next;
  620. mes "[Puchuchartan]";
  621. mes "Scorpion which endures the";
  622. mes "blazing heat of the desert";
  623. mes "is brimming with fire energy.";
  624. mes "I need ^3377FF20 Scorpion Tails^000000.";
  625. break;
  626. case 991:
  627. mes "Water property...";
  628. mes "I will need natural";
  629. mes "objects that are filled with";
  630. mes "the spirit of water.";
  631. next;
  632. mes "[Puchuchartan]";
  633. mes "Ambernite...the spirit of";
  634. mes "water is contained within its";
  635. mes "protective shell...";
  636. mes "I will need ^3377FF20 Snail's Shell.^000000";
  637. break;
  638. case 992:
  639. mes "Wind property...";
  640. mes "I will need natural";
  641. mes "objects that are filled with";
  642. mes "the spirit of wind.";
  643. next;
  644. mes "[Puchuchartan]";
  645. mes "Stainer...the beetle";
  646. mes "that flies through the sky";
  647. mes "has the wind's spirit.";
  648. mes "I need ^3377FF25 Rainbow Shells^000000.";
  649. break;
  650. case 993:
  651. mes "Earth property...I need natural";
  652. mes "objects that are filled with";
  653. mes "the spirit of the Earth.";
  654. next;
  655. mes "[Puchuchartan]";
  656. mes "Horn...that dwells in the forest";
  657. mes "is filled with the spirits of";
  658. mes "earth and wood...Horn...";
  659. mes "I need ^3377FF15 Horn^000000 from Horns.";
  660. break;
  661. }
  662. mes "[Puchuchartan]";
  663. mes "That's all I need...";
  664. mes "Come back when";
  665. mes "you're ready.";
  666. mes "I will be here.";
  667. close;
  668. }
  669. case 2:
  670. mes "[Puchuchartan]";
  671. mes "Do you wish to divide a pure";
  672. mes "enchanted stone into rough ones?";
  673. mes "Which property do you want to";
  674. mes "divide? Earth, Water, Fire, Wind... ";
  675. mes "Choose one.";
  676. next;
  677. switch(select("Earth:Water:Fire:Wind")) {
  678. case 1:
  679. set .@divide,997; //Great_Nature
  680. break;
  681. case 2:
  682. set .@divide,995; //Mistic_Frozen
  683. break;
  684. case 3:
  685. set .@divide,994; //Flame_Heart
  686. break;
  687. case 4:
  688. set .@divide,996; //Rough_Wind
  689. break;
  690. }
  691. mes "[Puchuchartan]";
  692. mes "Please enter the";
  693. mes "number of enchanted";
  694. mes "stones that you wish";
  695. mes "to divide. I can only";
  696. mes "divide up to 10 at a time.";
  697. next;
  698. input .@input,0,11;
  699. if ((.@input > 0) && (.@input < 11)) {
  700. if (countitem(.@divide) >= .@input) {
  701. if (checkweight(908,(.@input * 30)) == 0) {
  702. mes "[Puchuchartan]";
  703. mes "You're carrying too";
  704. mes "many items right now.";
  705. mes "Put some of your stuff";
  706. mes "in Kafra Storage, and then";
  707. mes "come back to me, okay?";
  708. close;
  709. }
  710. mes "[Puchuchartan]";
  711. mes "I'll try to revert these";
  712. mes "enchanted stones to their";
  713. mes "rough forms. Enter a number";
  714. mes "from 1 to 9, or enter 0 if";
  715. mes "you decide to cancel.";
  716. next;
  717. while(1) {
  718. input .@input2,0,10;
  719. if (.@input2 == 0) {
  720. mes "[Puchuchartan]";
  721. mes "You want to cancel?";
  722. mes "Well, if you change your";
  723. mes "mind, feel free to come";
  724. mes "ask me to help at any time.";
  725. close;
  726. }
  727. else if (.@input2 > 9) {
  728. mes "[Puchuchartan]";
  729. mes "Hm? You need to enter";
  730. mes "a number from 1 to 9.";
  731. next;
  732. }
  733. else {
  734. break;
  735. }
  736. }
  737. mes "[Puchuchartan]";
  738. mes "I will now chant the";
  739. mes "sacred words. Remember";
  740. mes "the number you entered!";
  741. next;
  742. mes "[Puchuchartan]";
  743. mes "Umba Umba Kalapum! Umba! Ta!";
  744. mes "Lukura Ukulele Um! Umba! Ka!";
  745. mes "Abulaka Tabulakan! Umba! La!";
  746. mes "Ombaludu Zan Kunu! Umba! Ku!";
  747. mes "Kum Tum Lakulakun! Umba! Ha!";
  748. next;
  749. mes "[Puchuchartan]";
  750. mes "Here's the rough enchanted stones";
  751. mes "you wished to have. I created this";
  752. mes "with a lot of effort, so make good";
  753. mes "use of them.";
  754. while(1) {
  755. if (.@sha_man == .@input) {
  756. break;
  757. }
  758. else {
  759. set .@shaman_max,.@shaman_max + rand(6,10);
  760. set .@sha_man,.@sha_man + 1;
  761. }
  762. }
  763. switch(.@divide) {
  764. case 994:
  765. getitem 990,.@shaman_max; //Boody_Red
  766. break;
  767. case 995:
  768. getitem 991,.@shaman_max; //Crystal_Blue
  769. break;
  770. case 996:
  771. getitem 992,.@shaman_max; //Wind_Of_Verdure
  772. break;
  773. case 997:
  774. getitem 993,.@shaman_max; //Yellow_Live
  775. }
  776. delitem .@divide,.@input;
  777. close;
  778. }
  779. else {
  780. mes "[Puchuchartan]";
  781. mes "So, you wish to have rough";
  782. switch(.@divide) {
  783. case 994:
  784. mes "fire stones? Then I will need";
  785. mes "you to bring "+input_want+" pure fire stone.";
  786. break;
  787. case 995:
  788. mes "water stones? Then I'll need";
  789. mes "you to bring "+input_want+" pure water stone.";
  790. break;
  791. case 996:
  792. mes "wind stones? Then I will need";
  793. mes "you to bring "+input_want+" pure wind stone.";
  794. break;
  795. case 997:
  796. mes "earth stones? Then I'll need";
  797. mes "you to bring "+.@input+" pure earth stone.";
  798. break;
  799. }
  800. mes "^3377FF"+.@input+" "+getitemname(.@divide)+"^000000.";
  801. next;
  802. mes "[Puchuchartan]";
  803. mes "That's all I need...";
  804. mes "Come back when";
  805. mes "you're ready.";
  806. mes "I will be here.";
  807. close;
  808. }
  809. }
  810. else {
  811. mes "[Puchuchartan]";
  812. mes "Hm? You need to enter";
  813. mes "a number from 1 to 10.";
  814. close;
  815. }
  816. case 3:
  817. mes "[Puchuchartan]";
  818. mes "I see. It's your call.";
  819. mes "Come back when you need me.";
  820. close;
  821. }
  822. }
  823. umbala,221,193,1 script #Skulldoor 111,{
  824. if (event_umbala >= 7) {
  825. warp "um_in",32,71;
  826. end;
  827. }
  828. else {
  829. mes "^3355FFA human skull disturbingly";
  830. mes "hangs beside the door. The door is";
  831. mes "locked tight, so you can't get in.";
  832. mes "As you peer through the keyhole,";
  833. mes "you can see somebody moving inside the room.^000000";
  834. next;
  835. if (select("Examine the skull.:Quit.") == 1) {
  836. mes "^3355FFYou see that the eye sockets";
  837. mes "of the skull are empty.";
  838. mes "How peculiar...";
  839. mes "It seems that Gemstones";
  840. mes "would fit perfectly inside of";
  841. mes "them.^000000";
  842. next;
  843. mes "^3355FFYou see the left eye socket of the";
  844. mes "skull. What do you want to do?^000000";
  845. next;
  846. switch(select("Leave it as it is.:Insert a Blue Gemstone.:Insert a Yellow Gemstone.:Insert a Red Gemstone.")) {
  847. case 1:
  848. mes "^3355FFYou left the eye socket as it was.^000000";
  849. next;
  850. break;
  851. case 2:
  852. set .@insert,717;
  853. break;
  854. case 3:
  855. set .@insert,715;
  856. break;
  857. case 4:
  858. set .@insert,716;
  859. break;
  860. }
  861. if (.@insert) {
  862. if (countitem(.@insert) > 0) {
  863. mes "^3355FFYou inserted a "+getitemname(.@insert)+"";
  864. mes "into the eye socket.^000000";
  865. next;
  866. mes "^3355FFThe gemstone rolled back out of";
  867. mes "the mouth of the skull.^000000";
  868. set .@skulldoor,.@skulldoor+1;
  869. switch (.@insert) {
  870. case 715: set .@skull,2; break;
  871. case 716: set .@skull,3; break;
  872. case 717: set .@skull,1; break;
  873. }
  874. delitem .@insert,1;
  875. getitem .@insert,1;
  876. next;
  877. }
  878. else {
  879. mes "^3355FFYou forgot to carry "+getitemname(.@insert)+"";
  880. mes "with you. So you couldn't do what you";
  881. mes "had intended.^000000";
  882. next;
  883. }
  884. }
  885. mes "^3355FFYou see the right eye socket of";
  886. mes "the skull. What do you want to do?^000000";
  887. next;
  888. switch(select("Leave it as it is.:Insert a Blue Gemstone.:Insert a Yellow Gemstone.:Insert a Red Gemstone.")) {
  889. case 1:
  890. mes "^3355FFYou left the eye socket as it was.^000000";
  891. next;
  892. break;
  893. case 2:
  894. set .@insert2,717;
  895. break;
  896. case 3:
  897. set .@insert2,715;
  898. break;
  899. case 4:
  900. set .@insert2,716;
  901. break;
  902. }
  903. if (.@insert2) {
  904. if (countitem(.@insert2) > 0) {
  905. mes "^3355FFYou inserted a "+getitemname(.@insert2)+"";
  906. mes "into the eye socket.^000000";
  907. next;
  908. mes "^3355FFThe gemstone rolled back out of";
  909. mes "the mouth of the skull.^000000";
  910. if (.@insert2 == .@insert) {
  911. set .@skulldoor,.@skulldoor+1;
  912. }
  913. else {
  914. set .@skulldoor,.@skulldoor+2;
  915. }
  916. delitem .@insert2,1;
  917. getitem .@insert2,1;
  918. next;
  919. }
  920. else {
  921. mes "^3355FFYou forgot to carry "+getitemname(.@insert2)+"";
  922. mes "with you. So you couldn't do what you";
  923. mes "had intended.^000000";
  924. next;
  925. }
  926. }
  927. mes "^3355FF..............................^000000";
  928. next;
  929. mes "^3355FF..............................";
  930. mes "..............................^000000";
  931. next;
  932. mes "^3355FF..............................";
  933. mes "..............................";
  934. mes "..............................^000000";
  935. next;
  936. switch(.@skulldoor) {
  937. case 3:
  938. if (rand(1,4) != 1) {
  939. set .@skullopen,1;
  940. }
  941. break;
  942. case 2:
  943. if (rand(1,2) == 2) {
  944. set .@skullopen,1;
  945. }
  946. break;
  947. case 1:
  948. if (rand(1,4) == 1) {
  949. set .@skullopen,1;
  950. }
  951. break;
  952. default:
  953. break;
  954. }
  955. if (.@skullopen == 0) {
  956. mes "^3355FFNothing happened.";
  957. mes "You have the feeling that the";
  958. mes "skull is grinning at you. But...";
  959. mes "It's probably just a trick of the light.^000000";
  960. close;
  961. }
  962. else {
  963. mes "^3355FFSuddenly, a clicking sound comes";
  964. mes "from the skull's eye sockets and";
  965. mes "the door opens. Before you know";
  966. mes "it, you walk inside as if guided";
  967. mes "by an unseen force...^000000";
  968. close2;
  969. warp "um_in",32,71;
  970. end;
  971. }
  972. }
  973. mes "^3355FFYou decided to pass by the door.";
  974. mes "It looks like it might be too hard to open.^000000";
  975. close;
  976. }
  977. }
  978. // Umbala Domestic Dispute Quest :: um_npc_ryu
  979. //============================================================
  980. um_in,139,48,5 script Phrenetan 783,{
  981. if (event_umbala >= 3) {
  982. mes "[Phrenetan]";
  983. mes "I am so sick and tired of";
  984. mes "my husband!! It's like he";
  985. mes "flirts with every girl";
  986. mes "in the village!";
  987. next;
  988. mes "[Phrenetan]";
  989. mes "If I see him flirting with";
  990. mes "women again...I swear...";
  991. mes "I will show him hell!!";
  992. close;
  993. }
  994. if (BaseJob == Job_Novice && Upper != 2) {
  995. mes "[Phrenetan]";
  996. mes "Umba~ umbaumbah!";
  997. mes "Umbah woomumum!";
  998. mes "Umbah woomum umbabah!";
  999. close;
  1000. }
  1001. if (um_wind <= 3 && (MISC_QUEST & 32768) == 0) {
  1002. if (um_wind) set um_wind,1;
  1003. emotion e_an;
  1004. mes "[Phrenetan]";
  1005. mes "Umbaumbah wooga wooga";
  1006. mes "Umbaumbabah babababah!";
  1007. mes "Umbaum!";
  1008. next;
  1009. emotion e_oh;
  1010. mes "[Phrenetan]";
  1011. mes "Umbah umbaumba umbah";
  1012. mes "Umbabababah wooga woo!";
  1013. mes "Wooga wooga umbabah umbaum!";
  1014. next;
  1015. emotion e_go;
  1016. close;
  1017. }
  1018. else if (um_wind == 6 || (MISC_QUEST & 32768)) {
  1019. emotion e_an;
  1020. mes "[Phrenetan]";
  1021. mes "Umbabah! Umbaumbah.....";
  1022. mes "Umbaum Umbaum Wooga wooga!";
  1023. mes "Wooga umumum woombababap!!!!!";
  1024. next;
  1025. emotion e_swt;
  1026. close;
  1027. }
  1028. end;
  1029. }
  1030. um_in,144,45,5 script Umpokoriohtan 789,{
  1031. if (event_umbala >= 3) {
  1032. if(rand(1,3) == 2) {
  1033. mes "[Umpokoriohtan]";
  1034. mes "Hey there, cool cat.";
  1035. mes "Don't mind the wife...";
  1036. mes "Much as I love her,";
  1037. mes "I know my obligations, ya dig?";
  1038. next;
  1039. mes "[Umpokoriohtan]";
  1040. mes "If a man's got plenty, he's";
  1041. mes "got to share it with those";
  1042. mes "that got nothing to give.";
  1043. next;
  1044. mes "[Umpokoriohtan]";
  1045. mes "If a man's hands are good";
  1046. mes "at healin', he's got to use";
  1047. mes "those hands to help folks live.";
  1048. next;
  1049. mes "[Umpokoriohtan]";
  1050. mes "If a man's lips be good at";
  1051. mes "singin', he's got to croon the";
  1052. mes "songs we like to hear so much.";
  1053. next;
  1054. mes "[Umpokoriohtan]";
  1055. mes "But if sweet lovin' is golden,";
  1056. mes "then baby...I got the Midas touch.";
  1057. next;
  1058. mes "[Umpokoriohtan]";
  1059. mes "Ooh...!";
  1060. mes "...........";
  1061. mes "My back--!";
  1062. mes "Simmer down, baby, your turn is comin' in a minute~";
  1063. emotion e_rock,0,"Phrenetan";
  1064. emotion e_swt;
  1065. close;
  1066. }
  1067. else {
  1068. mes "[Umpokoriohtan]";
  1069. mes "Man...sometimes my wife can";
  1070. mes "be a lil' too rough, maybe";
  1071. mes "even hurtful. But that's cool...";
  1072. mes "it just means she's got fire.";
  1073. next;
  1074. mes "[Umpokoriohtan]";
  1075. mes "But someday, she'll have to";
  1076. mes "learn that I gots to share";
  1077. mes "this heart of mine with the ladies";
  1078. mes "who really need a dose of vitamin";
  1079. mes "lovin', ya dig? It's my obligation.";
  1080. next;
  1081. mes "[Umpokoriohtan]";
  1082. mes "Wainatan, Bertztan, Chabimatan...";
  1083. mes "Those pretty girls been waitin'";
  1084. mes "toooooo long. Don't worry,";
  1085. mes "big daddy's comin' soon.";
  1086. next;
  1087. mes "[Umpokoriohtan]";
  1088. mes "OOOH~! Phrenetan!";
  1089. mes "Baby, why you gotta be rough?";
  1090. mes "Hit me gently, ya dig??";
  1091. mes "I don't mean to hurt you~";
  1092. emotion e_omg,0,"Phrenetan";
  1093. emotion e_wah;
  1094. close;
  1095. }
  1096. }
  1097. emotion e_heh;
  1098. mes "[Umpokoriohtan]";
  1099. mes "Umbaumbah...........";
  1100. mes "Umbahwooga woogawoo!";
  1101. mes "Umbah umumbabah umbawoo gaga.";
  1102. next;
  1103. emotion e_an;
  1104. close;
  1105. OnInit:
  1106. disablenpc "Umpokoriohtan";
  1107. end;
  1108. }
  1109. um_in,101,73,3 script Wainatan 783,{
  1110. if (event_umbala >= 3) {
  1111. mes "[Wainatan]";
  1112. mes "I am sick and tired of this guy";
  1113. mes "who always appears at night and bugs the hell out of me...";
  1114. next;
  1115. mes "[Wainatan]";
  1116. mes "'Smooth operator that gets the";
  1117. mes "job done?' Oh my god...!";
  1118. mes "I hate him with a passion!";
  1119. mes "I wish Umpokoriohtan would";
  1120. mes "just drop dead.";
  1121. close;
  1122. }
  1123. if (um_wind == 1) {
  1124. if (gettime(DT_HOUR) > 18) {
  1125. set um_wind,2;
  1126. emotion e_an;
  1127. mes "[Wainatan]";
  1128. mes "Umbaumbah umgagaga.";
  1129. mes "Umbaumbawoogawoo gababah.";
  1130. mes "Umbahumbabah gawoo.";
  1131. next;
  1132. emotion e_oh;
  1133. mes "[Wainatan]";
  1134. mes "Wooga wooga woogagagah";
  1135. mes "Wogagagah woogagagah";
  1136. mes "Gawoo gawoo gah.";
  1137. close;
  1138. }
  1139. else {
  1140. mes "[Wainatan]";
  1141. mes "Umbabah! Umbaumbah wooga";
  1142. mes "Woogawooga umbawooga umum.";
  1143. mes "Umbabababababababababah.";
  1144. close;
  1145. }
  1146. }
  1147. else {
  1148. mes "[Wainatan]";
  1149. mes "Umbaumbah umbaumbah umbah";
  1150. mes "Wooga wooga woogawooga wooga";
  1151. mes "Umumumum umumumum umum.";
  1152. close;
  1153. }
  1154. }
  1155. um_in,94,123,5 script Bertztan 783,{
  1156. if (event_umbala >= 3) {
  1157. mes "[Bertztan]";
  1158. mes "...*Sigh* That sicko";
  1159. mes "Umpo-whatever! I told him";
  1160. mes "I don't like him, but he";
  1161. mes "just doesn't listen!";
  1162. mes "I wish...I wish he would";
  1163. mes "just disappear!";
  1164. close;
  1165. }
  1166. if (um_wind == 2) {
  1167. if (gettime(DT_HOUR) > 18) {
  1168. set um_wind,3;
  1169. emotion e_an;
  1170. mes "[Bertztan]";
  1171. mes "Umbaumbah umgagaga.";
  1172. mes "Umbaumbawoogawoo gababah.";
  1173. mes "Umbahumbabah gawoo.";
  1174. next;
  1175. emotion e_oh;
  1176. mes "[Bertztan]";
  1177. mes "Wooga umbar umbar umbah!";
  1178. mes "Umbar woogagaga woo! Woo! Woo!";
  1179. mes "Wooga~ wooga~ Woo woo woo umbar.";
  1180. close;
  1181. }
  1182. else {
  1183. mes "[Bertztan]";
  1184. mes "Umbar woogaumbarumbah um!";
  1185. mes "Um~ wooga wooga umbarum.";
  1186. mes "Umbah...wooum.";
  1187. close;
  1188. }
  1189. }
  1190. else {
  1191. mes "[Bertztan]";
  1192. mes "Umbar wooga umbar umbah um!";
  1193. mes "Um~ woogawooga umbar um.";
  1194. mes "Umbah...wooum.";
  1195. close;
  1196. }
  1197. }
  1198. umbala,145,217,3 script Chabimatan 783,{
  1199. if (event_umbala >= 3) {
  1200. mes "[Chabimatan]";
  1201. mes "...*Sigh* Umpokoriohtan seems";
  1202. mes "to be married. I have no";
  1203. mes "idea why he still flirts";
  1204. mes "with other women. Maybe he's";
  1205. mes "not very mature, or he's";
  1206. mes "irresponsible...";
  1207. next;
  1208. mes "[Chabimatan]";
  1209. mes "Well, whatever he is,";
  1210. mes "he's certainly not";
  1211. mes "romantic. Those pick-up";
  1212. mes "lines of his could";
  1213. mes "some work, maybe";
  1214. mes "even some clean up.";
  1215. close;
  1216. }
  1217. if (um_wind == 3) {
  1218. if (gettime(DT_HOUR) > 18) {
  1219. set um_wind,4;
  1220. emotion e_an;
  1221. mes "[Chabimatan]";
  1222. mes "Umbabah umbarbar woogawooga um";
  1223. mes "Umbabah umbarbar woogawooga umbah";
  1224. mes "Umumum! Wooga!";
  1225. next;
  1226. emotion e_oh;
  1227. mes "[Chabimatan]";
  1228. mes "Umbabah~~~~~~~";
  1229. mes "Woogawooga umbar umbar woo!";
  1230. mes "Wooga umbar woogawoogagah.";
  1231. enablenpc "Umpokoriohtan";
  1232. enablenpc "#!@#$%";
  1233. close;
  1234. }
  1235. else {
  1236. mes "[Chabimatan]";
  1237. mes "Umbabah~~~~~~~";
  1238. mes "Woogawooga umbar umbar woo";
  1239. mes "woo woo! Nook nook~";
  1240. mes "Wooga umbar wooga umbar";
  1241. mes "wooga woogagah.";
  1242. close;
  1243. }
  1244. }
  1245. else {
  1246. mes "[Chabimatan]";
  1247. mes "Umbabah~~~~~~~";
  1248. mes "Woogawooga umbar umbar";
  1249. mes "woo woo woo nook nook.";
  1250. mes "Wooga umbar wooga umbar";
  1251. mes "wooga woogagah.";
  1252. close;
  1253. }
  1254. }
  1255. um_in,141,46,0 script #!@#$% -1,8,8,{
  1256. OnInit:
  1257. disablenpc "#!@#$%";
  1258. end;
  1259. OnTouch_:
  1260. if (um_wind == 4) {
  1261. set um_wind,5;
  1262. mes "^3355FFAs you enter the house";
  1263. mes "you happen to witness";
  1264. mes "Phrenetan beating a guy";
  1265. mes "mercilessly.^000000";
  1266. next;
  1267. emotion e_an;
  1268. mes "[Phrenetan]";
  1269. mes "Umbaumbaumbaumbah!";
  1270. mes "Umbaumbahumbah!!";
  1271. mes "Umbaumbahumbah!!!!!!";
  1272. next;
  1273. mes "^3355FFYou were kicked out of the house";
  1274. mes "by Phrenetan.^000000";
  1275. next;
  1276. enablenpc "#unpc";
  1277. disablenpc "#!@#$%";
  1278. warp "umbala",94,181;
  1279. }
  1280. end;
  1281. }
  1282. umbala,94,181,0 script #unpc -1,1,1,{
  1283. OnInit:
  1284. disablenpc "#unpc";
  1285. end;
  1286. OnTouch_:
  1287. if (um_wind == 5) {
  1288. mes "^3355FFAs you realized what happened";
  1289. mes "after being kicked out of the";
  1290. mes "house, you see a leaf on the";
  1291. mes "ground near where you're standing.^000000";
  1292. next;
  1293. if (select("Take it.:Leave it.") == 1) {
  1294. close2;
  1295. set um_wind,0;
  1296. set MISC_QUEST,MISC_QUEST | 32768;
  1297. getitem 610,1; //Leaf_Of_Yggdrasil
  1298. disablenpc "#unpc";
  1299. end;
  1300. }
  1301. set um_wind,0;
  1302. set MISC_QUEST,MISC_QUEST | 32768;
  1303. mes "[" + strcharinfo(0) + "]";
  1304. mes "I am not supposed to take";
  1305. mes "what may belong to other people.";
  1306. next;
  1307. mes "[" + strcharinfo(0) + "]";
  1308. mes "Yeah, I'm a such good person.";
  1309. close2;
  1310. disablenpc "#unpc";
  1311. }
  1312. end;
  1313. }