quests_umbala.txt 36 KB

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