HazyForest.txt 42 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171
  1. //===== rAthena Script =======================================
  2. //= Hazy Forest
  3. //===== By: ==================================================
  4. //= Euphy
  5. //===== Current Version: =====================================
  6. //= 1.1
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= [Official Conversion]
  11. //= Cross through the Hazy Forest to reach the Bifrost.
  12. //= Contains the "Wandering Guardian" quest.
  13. //===== Additional Comments: =================================
  14. //= 1.0 First version. [Euphy]
  15. //= 1.1 Instance system rewrite. [Euphy]
  16. //============================================================
  17. // Instance Creation :: md_mistwoods_enter
  18. //============================================================
  19. bif_fild01,158,340,5 script Laphine Soldier#mist 447,{
  20. set .@party_id,getcharid(1);
  21. set .@md_name$,"Mistwood Maze";
  22. mes "[Laphine Soldier]";
  23. mes "Are you going into the forest?";
  24. next;
  25. if (!.@party_id) {
  26. mes "[Laphine Soldier]";
  27. mes "Well, well, well, aren't you being too rash?";
  28. mes "Why don't you at least organize a party?";
  29. close;
  30. }
  31. set .@playtime, checkquest(7211,PLAYTIME);
  32. if (is_party_leader() == true) {
  33. if (.@playtime == 0 || .@playtime == 1) {
  34. mes "[Laphine Soldier]";
  35. mes "...Are you sure you're not doing too much?";
  36. mes "I think you'd better get some rest.";
  37. mes "You'll only wear yourself out by trying to do too much";
  38. next;
  39. mes "[Laphine Soldier]";
  40. mes "I don't think the authority will give you permission, either.";
  41. mes "...Even a Sapha would be stopped from entering the forest.";
  42. next;
  43. select("You speak our language quite well, don't you?");
  44. mes "[Laphine Soldier]";
  45. mes "...Do I?";
  46. mes "Actually I'm not speaking your language.";
  47. mes "I'm speaking Laphine language.";
  48. next;
  49. mes "[Laphine Soldier]";
  50. mes "But it's one of the mysteries of Bifrost.";
  51. mes "That we can understand each other even if we speak different languages.";
  52. next;
  53. mes "[Laphine Soldier]";
  54. mes "To be able to talk with everybody...";
  55. mes "Perhaps that's the power of Bifrost.";
  56. close;
  57. } else if (.@playtime == 2) {
  58. mes "[Laphine Soldier]";
  59. mes "Great, great.";
  60. mes "Now the forest won't reject you.";
  61. mes "What are you going to do now?";
  62. erasequest 7211;
  63. } else {
  64. mes "[Laphine Soldier]";
  65. mes "You human adventurers are incredible.";
  66. mes "You're always going into the forest, where no one else dares to go.";
  67. next;
  68. mes "[Laphine Soldier]";
  69. mes "Phew. But I have to report to the authority";
  70. mes "everyone who goes into the forest, just in case.";
  71. next;
  72. mes "[Laphine Soldier]";
  73. mes "You'll get permission";
  74. mes "after you register.";
  75. mes "Are you going to venture into the Hazy Forest?";
  76. }
  77. next;
  78. switch(select("Venture into the Hazy Forest.:Give up.")) {
  79. case 1:
  80. mes "[Laphine Soldier]";
  81. mes "Party Name "+getpartyname(.@party_id)+"...";
  82. mes "Party Leader "+strcharinfo(0)+"...";
  83. if (instance_create(.@md_name$) < 0) {
  84. mes "Hmm...";
  85. next;
  86. mes "[Laphine Soldier]";
  87. if (.@playtime == -1)
  88. mes "It's dangerous in the forest.";
  89. else
  90. mes "The atmosphere is somewhat tense in the forest.";
  91. mes "...Why don't you just go back today?";
  92. close;
  93. }
  94. mes "I've got it. I've written them down on the report here.";
  95. next;
  96. mes "[Laphine Soldier]";
  97. mes "You'll get permission soon.";
  98. mes "Now go to the log tunnel, the only way to get into the Hazy Forest.";
  99. mes "You understand?";
  100. next;
  101. mes "[Laphine Soldier]";
  102. mes "We can't go against the forest,";
  103. mes "but maybe you humans can.";
  104. mes "Good luck!";
  105. close;
  106. case 2:
  107. mes "[Laphine Soldier]";
  108. mes "Well, you've made the right decision.";
  109. if (.@playtime == -1)
  110. mes "That's what's good for you.";
  111. close;
  112. }
  113. } else {
  114. mes "[Laphine Soldier]";
  115. mes "Where's your party leader?";
  116. mes "It's dangerous in there.";
  117. next;
  118. if (.@playtime == 2) {
  119. mes "[Laphine Soldier]";
  120. mes "I see you've been into the forest before.";
  121. mes "Okay, at least the forest won't reject you.";
  122. mes "However...";
  123. erasequest 7211;
  124. next;
  125. }
  126. mes "[Laphine Soldier]";
  127. mes "Put yourself in my shoes, the entrance guard, and let me meet the representative of your party.";
  128. mes "I have to discuss some things with him/her.";
  129. close;
  130. }
  131. }
  132. bif_fild01,161,355,0 script Log Tunnel 844,{
  133. mes "I see the forest through the log tunnel.";
  134. mes "It looks like I can enter the forest through the log tunnel.";
  135. next;
  136. if(select("Enter the tunnel.:Give up.") == 2)
  137. close;
  138. switch(instance_enter("Mistwood Maze")) {
  139. case IE_OTHER:
  140. mes "[Laphine Soldier]";
  141. mes "Something doesn't feel right. Looks like something dangerous is going on, so you'd better turn back today.";
  142. close;
  143. case IE_NOINSTANCE:
  144. mes "You try to crawl into the log, but some mysterious power pushes you back with a gush of wind.";
  145. mes "It seems like you can't force your way into the forest.";
  146. close;
  147. case IE_NOMEMBER:
  148. mes "[Laphine Soldier]";
  149. mes "Hey, look!";
  150. mes "Are you going alone?";
  151. mes "That's impossible. Too rash.";
  152. mes "Team up with some friends and go together!";
  153. close;
  154. case IE_OK:
  155. if (checkquest(7211,PLAYTIME) == 2) erasequest 7211;
  156. if (checkquest(7211,PLAYTIME) == -1) setquest 7211;
  157. mapannounce "bif_fild01",getpartyname(getcharid(1))+" party's "+strcharinfo(0)+" member is entering the Mistwood Maze.",bc_map,"0x00ff99"; //FW_NORMAL 12 0 0
  158. //warp "1@mist",89,29;
  159. close;
  160. default:
  161. mes "The world beyond the log tunnel looks dark and suffocating.";
  162. mes "Your instinct is screaming that this forest is dangerous.";
  163. close;
  164. }
  165. }
  166. // Instance Scripts :: md_mistwoods_in
  167. //============================================================
  168. 1@mist,89,29,0 script #Whisper_mist 844,1,1,{
  169. end;
  170. OnInstanceInit:
  171. enablenpc instance_npcname("#Whisper_mist");
  172. end;
  173. OnTouch_:
  174. disablenpc instance_npcname("#Whisper_mist");
  175. initnpctimer;
  176. end;
  177. OnTimer10000:
  178. OnTimer20000:
  179. mapannounce instance_mapname("1@mist"),"Whisper: Who's this? Who's this!? The forest is open! Tom, Tomba, Tired Rem, Remi! Wake up!",bc_map,"0xccffcc"; //FW_NORMAL 12 0 0
  180. end;
  181. OnTimer60000:
  182. mapannounce instance_mapname("1@mist"),"Loud Whisper: What are the forest keepers doing? What are the gardeners doing??",bc_map,"0xccffcc"; //FW_NORMAL 12 0 0
  183. end;
  184. OnTimer120000:
  185. mapannounce instance_mapname("1@mist"),"Loud Whisper: Don't go out, wander around forever, and play with us!",bc_map,"0xccffcc"; //FW_NORMAL 12 0 0
  186. end;
  187. OnTimer180000:
  188. mapannounce instance_mapname("1@mist"),"Loud Whisper: Useless, useless. Wandering around and around, you'll meet your end!",bc_map,"0xccffcc"; //FW_NORMAL 12 0 0
  189. stopnpctimer;
  190. end;
  191. }
  192. // callfunc "F_Mora_Mist",<warp to enable>,<success message>,<fail message>{,<end flag>}
  193. function script F_Mora_Mist {
  194. set .@map$, instance_mapname("1@mist");
  195. if (mobcount(.@map$,instance_npcname(strnpcinfo(0))+"::OnMyMobDead") == 0) {
  196. mes "Obviously no one is taking care of it.";
  197. mes "It seems like you can chop down the garden tree.";
  198. next;
  199. if(select("Chop down the garden tree.:Give up.") == 2)
  200. close;
  201. mes "You chop down the tree, which was blocking the path of the maze, "+((getarg(3,0))?"clearing the way out of the forest.":"so now you can continue.");
  202. mapannounce .@map$,getarg(1),bc_map,"0xccffcc"; //FW_NORMAL 12 0 0
  203. enablenpc instance_npcname(getarg(0));
  204. disablenpc instance_npcname(strnpcinfo(0));
  205. if (getarg(4,0))
  206. initnpctimer;
  207. close;
  208. } else
  209. mapannounce .@map$,((getarg(3,0))?getarg(2):getarg(2)+"'s Cry: Huh? Who's doing bad things to my tree?!"),bc_map,"0xccffcc"; //FW_NORMAL 12 0 0
  210. end;
  211. }
  212. 1@mist,251,121,3 script Tom's Garden 858,{ end; }
  213. 1@mist,247,123,0 script Tom's Garden Tree 527,{
  214. callfunc "F_Mora_Mist",
  215. "a25_a18-1",
  216. "Roaring Cry: Tom's bolt is broken! Watch out, Tomba! Watch out, Tomba!",
  217. "Tom";
  218. end;
  219. OnInstanceInit:
  220. monster instance_mapname("1@mist"),249,120,"Tom",2136,1,instance_npcname("Tom's Garden Tree")+"::OnMyMobDead";
  221. end;
  222. OnMyMobDead:
  223. end;
  224. }
  225. 1@mist,226,95,3 script Tomba's Garden 858,{ end; }
  226. 1@mist,225,98,0 script Tomba's Garden Tree 527,{
  227. callfunc "F_Mora_Mist",
  228. "a27-2_af1-2",
  229. "Roaring Cry: Tomba's Garden Tree is gone with Tomba. Remi, what are you going to do now?",
  230. "Tomba";
  231. end;
  232. OnInstanceInit:
  233. monster instance_mapname("1@mist"),200,64,"Tomba",2136,1,instance_npcname("Tomba's Garden Tree")+"::OnMyMobDead";
  234. end;
  235. OnMyMobDead:
  236. end;
  237. }
  238. 1@mist,157,183,3 script Remi's Garden 858,{ end; }
  239. 1@mist,159,184,0 script Remi's Garden Tree 527,{
  240. callfunc "F_Mora_Mist",
  241. "a15-2_a4-1",
  242. "Roaring Cry: Remi, Remi's Garden Tree was chopped down- Rem, it's your turn next. Poor Rem!",
  243. "Remi";
  244. end;
  245. OnInstanceInit:
  246. monster instance_mapname("1@mist"),154,184,"Remi the Tired",2137,1,instance_npcname("Remi's Garden Tree")+"::OnMyMobDead";
  247. end;
  248. OnMyMobDead:
  249. end;
  250. }
  251. 1@mist,58,39,3 script Tired Rem's Garden 858,{ end; }
  252. 1@mist,61,39,0 script Tired Rem's Garden Tree 527,{
  253. callfunc "F_Mora_Mist",
  254. "a4-2_a11",
  255. "Rem's Desperate Cry: Argh... Rem will sleep. Rem will sleep now, and won't wake up forever!",
  256. "Rem",
  257. 0,1;
  258. end;
  259. OnInstanceInit:
  260. monster instance_mapname("1@mist"),101,107,"Rem the Gardener",2136,1,instance_npcname("Tired Rem's Garden Tree")+"::OnMyMobDead";
  261. end;
  262. OnTimer10000:
  263. mapannounce instance_mapname("1@mist"),"Whisper of the Forest: So Tom's, Tomba's, Remi's, and Rem's garden trees were all chopped down?",bc_map,"0xccffcc"; //FW_NORMAL 12 0 0
  264. end;
  265. OnTimer15000:
  266. mapannounce instance_mapname("1@mist"),"Whisper of the Forest: Trouble, trouble, we're in big trouble.",bc_map,"0xccffcc"; //FW_NORMAL 12 0 0
  267. end;
  268. OnTimer20000:
  269. mapannounce instance_mapname("1@mist"),"Loud Whisper: They've come to the second deepest forest. Gardeners of the deep forest, watch out!",bc_map,"0xccffcc"; //FW_NORMAL 12 0 0
  270. stopnpctimer;
  271. end;
  272. OnMyMobDead:
  273. end;
  274. }
  275. 1@mist,227,179,3 script Ron's Garden 858,{ end; }
  276. 1@mist,230,179,0 script Ron's Garden Tree 527,{
  277. callfunc "F_Mora_Mist",
  278. "b4-2_b2",
  279. "Ron the Gardener's Cry: I'm getting off work! Don't look for Ron, the second gardener, any more!!",
  280. "Ron";
  281. end;
  282. OnInstanceInit:
  283. monster instance_mapname("1@mist"),227,178,"Ron the Gardener",2134,1,instance_npcname("Ron's Garden Tree")+"::OnMyMobDead";
  284. end;
  285. OnMyMobDead:
  286. end;
  287. }
  288. 1@mist,288,226,3 script Rover's Garden 858,{ end; }
  289. 1@mist,285,225,0 script Rover's Garden Tree 527,{
  290. callfunc "F_Mora_Mist",
  291. "b7_bf1-2",
  292. "Roaring Whisper: Ron's, and Rover's trees were chopped down as well. Who is forcing his way into the forest? Who is it?",
  293. "Rover";
  294. end;
  295. OnInstanceInit:
  296. monster instance_mapname("1@mist"),304,237,"Rover the Strutter",2134,1,instance_npcname("Rover's Garden Tree")+"::OnMyMobDead";
  297. end;
  298. OnMyMobDead:
  299. end;
  300. }
  301. 1@mist,159,318,3 script Mona's Garden 858,{ end; }
  302. 1@mist,161,316,0 script Mona's Garden Tree 527,{
  303. callfunc "F_Mora_Mist",
  304. "b31_b16",
  305. "Clamoring Whisper: Mona the Seedseeker's garden tree is gone! Mona is gone too! Namon will be okay, because he is brave, right? Namon, are you okay?",
  306. "Mona";
  307. end;
  308. OnInstanceInit:
  309. monster instance_mapname("1@mist"),239,253,"Mona the Seedseeker",2133,1,instance_npcname("Mona's Garden Tree")+"::OnMyMobDead";
  310. end;
  311. OnMyMobDead:
  312. end;
  313. }
  314. 1@mist,205,300,3 script Namon's Garden 858,{ end; }
  315. 1@mist,204,299,0 script Namon's Garden Tree 527,{
  316. callfunc "F_Mora_Mist",
  317. "b27-3_bN-1",
  318. "Clamoring Whisper: Brave Namon met his fate not so bravely... *giggle*",
  319. "Namon";
  320. end;
  321. OnInstanceInit:
  322. monster instance_mapname("1@mist"),89,173,"Brave Namon",2134,1,instance_npcname("Namon's Garden Tree")+"::OnMyMobDead";
  323. end;
  324. OnMyMobDead:
  325. end;
  326. }
  327. 1@mist,219,232,3 script Sad Neoron's Garden 858,{ end; }
  328. 1@mist,221,236,0 script Sad Neoron's Garden Tree 527,{
  329. callfunc "F_Mora_Mist",
  330. "b6-1_b33",
  331. "Lamenting Whisper: Sad Neoron has become cheerful! Spyder the Superior Spider, what are you going to do? What are you going to do now?",
  332. "Neoron";
  333. end;
  334. OnInstanceInit:
  335. monster instance_mapname("1@mist"),143,265,"Sad Neoron",2137,1,instance_npcname("Sad Neoron's Garden Tree")+"::OnMyMobDead";
  336. end;
  337. OnMyMobDead:
  338. end;
  339. }
  340. 1@mist,206,202,3 script Spyder's Garden 858,{ end; }
  341. 1@mist,206,200,0 script Spyder's Garden Tree 527,{
  342. callfunc "F_Mora_Mist",
  343. "b5_b14",
  344. "Depressed Whisper: Now it's all over with the second deepest forest. Gardeners are dying out-",
  345. "Spyder",
  346. 0,1;
  347. end;
  348. OnInstanceInit:
  349. monster instance_mapname("1@mist"),209,200,"Spyder the Eight-Legged",2132,1,instance_npcname("Spyder's Garden Tree")+"::OnMyMobDead";
  350. end;
  351. OnTimer5000:
  352. mapannounce instance_mapname("1@mist"),"Roaring Whisper: The path is about to open. The tight bolts have been removed!",bc_map,"0xccffcc"; //FW_NORMAL 12 0 0
  353. end;
  354. OnTimer9000:
  355. mapannounce instance_mapname("1@mist"),"Roaring Whisper: A forest opened, another opened, and the other is going to open as well. Tito and Pumba, they are heading your way!",bc_map,"0xccffcc"; //FW_NORMAL 12 0 0
  356. end;
  357. OnTimer13000:
  358. mapannounce instance_mapname("1@mist"),"Roaring Whisper: Where you get after wandering around, around and around, everybody you've met while wandering around, around and around,",bc_map,"0xccffcc"; //FW_NORMAL 12 0 0
  359. end;
  360. OnTimer17000:
  361. mapannounce instance_mapname("1@mist"),"Roaring Whisper: all the gardeners will be waiting for you, with their clippers in their hands-!",bc_map,"0xccffcc"; //FW_NORMAL 12 0 0
  362. stopnpctimer;
  363. end;
  364. OnMyMobDead:
  365. end;
  366. }
  367. 1@mist,96,288,3 script Tito's Garden 858,{ end; }
  368. 1@mist,95,287,0 script Tito's Garden Tree 527,{
  369. callfunc "F_Mora_Mist",
  370. "c1_c13-1",
  371. "Tito's Cry: *sob* *sob* Tito's gone now! Tito's done for! Boo hoo!!",
  372. "Tito";
  373. end;
  374. OnInstanceInit:
  375. monster instance_mapname("1@mist"),264,291,"Tito the Flipper",2133,1,instance_npcname("Tito's Garden Tree")+"::OnMyMobDead";
  376. end;
  377. OnMyMobDead:
  378. end;
  379. }
  380. 1@mist,326,325,3 script Pumba's Garden 858,{ end; }
  381. 1@mist,324,325,0 script Pumba's Garden Tree 527,{
  382. callfunc "F_Mora_Mist",
  383. "c13-3_c4",
  384. "Roaring Whisper: Tito the Hard Worker was defeated! Stop playing and go to work, Tete! Start working!",
  385. "Pumba";
  386. end;
  387. OnInstanceInit:
  388. monster instance_mapname("1@mist"),309,165,"Diligent Pumba",2134,1,instance_npcname("Pumba's Garden Tree")+"::OnMyMobDead";
  389. end;
  390. OnMyMobDead:
  391. end;
  392. }
  393. 1@mist,278,345,3 script Tete's Garden 858,{ end; }
  394. 1@mist,280,344,0 script Tete's Garden Tree 527,{
  395. callfunc "F_Mora_Mist",
  396. "c19_c4",
  397. "Whisper: They are strong, strong indeed. What are we going to do now? Are there any gardeners left? Are there any?",
  398. "Tete";
  399. end;
  400. OnInstanceInit:
  401. monster instance_mapname("1@mist"),277,343,"Carefree Tete",2136,1,instance_npcname("Tete's Garden Tree")+"::OnMyMobDead";
  402. end;
  403. OnMyMobDead:
  404. end;
  405. }
  406. 1@mist,345,186,0 script The Gardeners' Tree 527,{
  407. callfunc "F_Mora_Mist",
  408. "#to_bif02",
  409. "Roaring Whisper: The forest will remember you! It will remember you, the one who broke the clippers of all the gardeners!",
  410. "Gardeners: We're not dead, yet!!!!",1;
  411. end;
  412. OnInstanceInit:
  413. set .@map$, instance_mapname("1@mist");
  414. monster .@map$,318,137,"Baby Tom",2136,1,instance_npcname("The Gardeners' Tree")+"::OnMyMobDead";
  415. monster .@map$,321,137,"Tomba the Baby",2136,1,instance_npcname("The Gardeners' Tree")+"::OnMyMobDead";
  416. monster .@map$,324,137,"Exhausted Remi",2137,1,instance_npcname("The Gardeners' Tree")+"::OnMyMobDead";
  417. monster .@map$,319,135,"Rem the Exhausted",2136,1,instance_npcname("The Gardeners' Tree")+"::OnMyMobDead";
  418. monster .@map$,323,135,"Ron the Ex-Gardener",2134,1,instance_npcname("The Gardeners' Tree")+"::OnMyMobDead";
  419. monster .@map$,320,133,"Rover the Strutter",2134,1,instance_npcname("The Gardeners' Tree")+"::OnMyMobDead";
  420. monster .@map$,323,133,"Mona the Seedpicker",2133,1,instance_npcname("The Gardeners' Tree")+"::OnMyMobDead";
  421. monster .@map$,317,132,"Timid Namon",2134,1,instance_npcname("The Gardeners' Tree")+"::OnMyMobDead";
  422. monster .@map$,326,132,"Indifferent Neoron",2137,1,instance_npcname("The Gardeners' Tree")+"::OnMyMobDead";
  423. monster .@map$,317,129,"Spyder the Seven-Legged",2132,1,instance_npcname("The Gardeners' Tree")+"::OnMyMobDead";
  424. monster .@map$,320,129,"Tito the Flapper",2133,1,instance_npcname("The Gardeners' Tree")+"::OnMyMobDead";
  425. monster .@map$,324,129,"Lazy Pumba",2134,1,instance_npcname("The Gardeners' Tree")+"::OnMyMobDead";
  426. monster .@map$,327,129,"Careless Tete",2136,1,instance_npcname("The Gardeners' Tree")+"::OnMyMobDead";
  427. end;
  428. OnMyMobDead:
  429. end;
  430. }
  431. 1@mist,73,290,0 script Mysterious Flower#1 844,{
  432. specialeffect EF_LEVEL99_4;
  433. disablenpc instance_npcname(strnpcinfo(0));
  434. getitem 12561,1; //Mysterious_Seed
  435. end;
  436. }
  437. 1@mist,69,295,0 duplicate(Mysterious Flower#1) Mysterious Flower#2 844
  438. 1@mist,62,291,0 duplicate(Mysterious Flower#1) Mysterious Flower#3 844
  439. 1@mist,54,293,0 duplicate(Mysterious Flower#1) Mysterious Flower#4 844
  440. 1@mist,48,286,0 duplicate(Mysterious Flower#1) Mysterious Flower#5 844
  441. 1@mist,54,277,0 duplicate(Mysterious Flower#1) Mysterious Flower#6 844
  442. 1@mist,52,270,0 duplicate(Mysterious Flower#1) Mysterious Flower#7 844
  443. 1@mist,62,268,0 duplicate(Mysterious Flower#1) Mysterious Flower#8 844
  444. 1@mist,72,271,0 duplicate(Mysterious Flower#1) Mysterious Flower#9 844
  445. 1@mist,72,276,0 duplicate(Mysterious Flower#1) Mysterious Flower#10 844
  446. 1@mist,118,194,0 duplicate(Mysterious Flower#1) Mysterious Flower#11 844
  447. 1@mist,122,204,0 duplicate(Mysterious Flower#1) Mysterious Flower#12 844
  448. 1@mist,137,209,0 duplicate(Mysterious Flower#1) Mysterious Flower#13 844
  449. 1@mist,144,203,0 duplicate(Mysterious Flower#1) Mysterious Flower#14 844
  450. 1@mist,146,186,0 duplicate(Mysterious Flower#1) Mysterious Flower#15 844
  451. 1@mist,142,182,0 duplicate(Mysterious Flower#1) Mysterious Flower#16 844
  452. 1@mist,132,179,0 duplicate(Mysterious Flower#1) Mysterious Flower#17 844
  453. 1@mist,123,184,0 duplicate(Mysterious Flower#1) Mysterious Flower#18 844
  454. 1@mist,194,118,0 duplicate(Mysterious Flower#1) Mysterious Flower#19 844
  455. 1@mist,188,109,0 duplicate(Mysterious Flower#1) Mysterious Flower#20 844
  456. 1@mist,193,94,0 duplicate(Mysterious Flower#1) Mysterious Flower#21 844
  457. 1@mist,205,92,0 duplicate(Mysterious Flower#1) Mysterious Flower#22 844
  458. 1@mist,213,96,0 duplicate(Mysterious Flower#1) Mysterious Flower#23 844
  459. 1@mist,216,103,0 duplicate(Mysterious Flower#1) Mysterious Flower#24 844
  460. 1@mist,212,116,0 duplicate(Mysterious Flower#1) Mysterious Flower#25 844
  461. 1@mist,207,120,0 duplicate(Mysterious Flower#1) Mysterious Flower#26 844
  462. 1@mist,169,310,0 duplicate(Mysterious Flower#1) Mysterious Flower#27 844
  463. 1@mist,172,296,0 duplicate(Mysterious Flower#1) Mysterious Flower#28 844
  464. 1@mist,191,301,0 duplicate(Mysterious Flower#1) Mysterious Flower#30 844
  465. 1@mist,195,301,0 duplicate(Mysterious Flower#1) Mysterious Flower#31 844
  466. 1@mist,192,316,0 duplicate(Mysterious Flower#1) Mysterious Flower#32 844
  467. 1@mist,187,320,0 duplicate(Mysterious Flower#1) Mysterious Flower#33 844
  468. 1@mist,174,318,0 duplicate(Mysterious Flower#1) Mysterious Flower#34 844
  469. 1@mist,308,136,0 duplicate(Mysterious Flower#1) Mysterious Flower#35 844
  470. 1@mist,314,122,0 duplicate(Mysterious Flower#1) Mysterious Flower#36 844
  471. 1@mist,321,118,0 duplicate(Mysterious Flower#1) Mysterious Flower#37 844
  472. 1@mist,331,123,0 duplicate(Mysterious Flower#1) Mysterious Flower#38 844
  473. 1@mist,335,126,0 duplicate(Mysterious Flower#1) Mysterious Flower#39 844
  474. 1@mist,332,141,0 duplicate(Mysterious Flower#1) Mysterious Flower#40 844
  475. 1@mist,328,144,0 duplicate(Mysterious Flower#1) Mysterious Flower#41 844
  476. 1@mist,314,144,0 duplicate(Mysterious Flower#1) Mysterious Flower#42 844
  477. 1@mist,238,224,0 duplicate(Mysterious Flower#1) Mysterious Flower#43 844
  478. 1@mist,244,231,0 duplicate(Mysterious Flower#1) Mysterious Flower#44 844
  479. 1@mist,257,232,0 duplicate(Mysterious Flower#1) Mysterious Flower#45 844
  480. 1@mist,262,229,0 duplicate(Mysterious Flower#1) Mysterious Flower#46 844
  481. 1@mist,265,216,0 duplicate(Mysterious Flower#1) Mysterious Flower#47 844
  482. 1@mist,260,214,0 duplicate(Mysterious Flower#1) Mysterious Flower#48 844
  483. 1@mist,252,206,0 duplicate(Mysterious Flower#1) Mysterious Flower#49 844
  484. 1@mist,244,211,0 duplicate(Mysterious Flower#1) Mysterious Flower#50 844
  485. // Wandering Guardian Quest
  486. //============================================================
  487. // ----------------- Part of md_mistwoods_in -----------------
  488. 1@mist,2,2,0 script #Dragon Herder 844,{
  489. end;
  490. OnInstanceInit:
  491. switch(rand(1,6)) {
  492. case 1: setarray .@c[0],77,240; break;
  493. case 2: setarray .@c[0],147,261; break;
  494. case 3: setarray .@c[0],182,263; break;
  495. case 4: setarray .@c[0],194,350; break;
  496. case 5: setarray .@c[0],268,183; break;
  497. case 6: setarray .@c[0],65,278; break;
  498. }
  499. monster instance_mapname("1@mist"),.@c[0],.@c[1],"Wandering Purple Dragon",2131,1,instance_npcname("#Dragon Herder")+"::OnMyMobDead";
  500. end;
  501. OnMyMobDead:
  502. set .@map$, instance_mapname("1@mist");
  503. if (mobcount(.@map$,instance_npcname("#Dragon Herder")+"::OnMyMobDead") == 0) {
  504. donpcevent instance_npcname("Collapsed Girl#mist")+"::OnEnable";
  505. donpcevent instance_npcname("Mysterious Young Man#mis")+"::OnDisable";
  506. donpcevent instance_npcname("Loki#mist")+"::OnEnable";
  507. mapannounce .@map$,"The Dragon's Cry: Am I being punished... for abandoning the way... of the guardian...?",bc_map,"0xffff00"; //FW_NORMAL 12 0 0
  508. disablenpc instance_npcname("#Dragon Herder");
  509. initnpctimer;
  510. }
  511. end;
  512. OnTimer3000:
  513. stopnpctimer;
  514. mapannounce instance_mapname("1@mist"),"Voice in your head: ...Will you... save... me... please......?",bc_map,"0xffff00"; //FW_NORMAL 12 0 0
  515. end;
  516. }
  517. 1@mist,97,30,3 script Mysterious Young Man#mis 512,{
  518. if (BaseLevel < 98) {
  519. mes "[Mysterious Young Man]";
  520. mes "Huh? Do you plan to pass through here?";
  521. mes ".....I'm afraid it's beyond your ability, but I won't meddle in your affairs.";
  522. mes "We'll meet again, if you survive.";
  523. close;
  524. }
  525. if (ep14_1_mistwoods == 0) {
  526. if (ep13_3_secret > 23) {
  527. mes "[Mysterious Young Man]";
  528. mes "You... I remember seeing you at the camp.";
  529. mes "The information you gave on Ahat was useful.";
  530. mes "Thanks!";
  531. next;
  532. mes "[Mysterious Young Man]";
  533. mes "But do you plan to pass through here?";
  534. mes "What good is it to go across Bifrost?";
  535. next;
  536. } else {
  537. mes "[Mysterious Young Man]";
  538. mes "Do you plan to pass through here?";
  539. mes "I will advise against it if you're just curious.";
  540. mes "It will only bring about your untimely death...";
  541. next;
  542. }
  543. mes "[Mysterious Young Man]";
  544. mes "If you are determined to pass through here,";
  545. mes "I will ask for your help with something.";
  546. next;
  547. select("Who are you?");
  548. mes "[Loki]";
  549. mes "Loki... from the Assassin's Guild.";
  550. mes "That's my name.";
  551. mes "And yours?";
  552. next;
  553. mes "["+strcharinfo(0)+"]";
  554. mes "....";
  555. mes "...."+strcharinfo(0)+" sir.";
  556. next;
  557. mes "[Loki]";
  558. mes "I see. "+strcharinfo(0)+".";
  559. mes "I'm asking you again.";
  560. mes "Do you plan to pass through this forest?";
  561. next;
  562. switch(select("Yes, I do.:No, I don't.")) {
  563. case 1:
  564. mes "[Loki]";
  565. mes "Then I'll ask you a question.";
  566. mes "Have you ever seen a guard... a girl with purple hair?";
  567. next;
  568. switch(select("No, I haven't.:Yes, I might have...")) {
  569. case 1:
  570. mes "[Loki]";
  571. mes "So you haven't.";
  572. mes "You're telling the truth.";
  573. next;
  574. break;
  575. case 2:
  576. mes "[Loki]";
  577. mes "Wait.";
  578. mes "(Loki comes closer.)";
  579. mes "... No.";
  580. mes "You're telling the truth.";
  581. next;
  582. break;
  583. }
  584. mes "[Loki]";
  585. mes "Now we have to say goodbye here.";
  586. mes "If you survive this forest, of course.";
  587. set ep14_1_mistwoods,2;
  588. setquest 7212;
  589. close;
  590. case 2:
  591. mes "[Loki]";
  592. mes "I understand.";
  593. mes "Step back if you aren't ready.";
  594. mes "This forest doesn't like strangers.";
  595. set ep14_1_mistwoods,1;
  596. close;
  597. }
  598. } else if (ep14_1_mistwoods == 1) {
  599. mes "[Loki]";
  600. mes "I told you - step back if you don't want to die.";
  601. mes "It's not easy going through the forest.";
  602. mes "It may cost you your life.";
  603. next;
  604. switch(select("Okay.:What do you want?")) {
  605. case 1:
  606. mes "- When you step back,";
  607. mes "Loki nods slightly and then looks away. -";
  608. close;
  609. case 2:
  610. mes "[Loki]";
  611. mes "I'm looking for somebody.";
  612. mes "Have you ever seen a guard... a girl with purple hair?";
  613. next;
  614. switch(select("No, I haven't.:Yes, I might have...")) {
  615. case 1:
  616. mes "[Loki]";
  617. mes "So you haven't.";
  618. mes "You're telling the truth.";
  619. next;
  620. break;
  621. case 2:
  622. mes "[Loki]";
  623. mes "Wait.";
  624. mes "(Loki comes closer.)";
  625. mes "... No.";
  626. mes "You're telling the truth.";
  627. next;
  628. break;
  629. }
  630. mes "[Loki]";
  631. mes "Now we have to say goodbye here.";
  632. mes "Hopefully, we will see each other again in Mora.";
  633. set ep14_1_mistwoods,2;
  634. setquest 7212;
  635. close;
  636. }
  637. } else if (ep14_1_mistwoods == 2) {
  638. mes "[Loki]";
  639. mes "I don't want to go with you.";
  640. mes "Hopefully, we will see each other again in Mora.";
  641. close;
  642. } else if (ep14_1_mistwoods == 3) {
  643. mes "[Loki]";
  644. mes "So we meet again.";
  645. mes "Are you used to this place?";
  646. mes "Come to the inn in Mora.";
  647. mes "I have something to give to you.";
  648. close;
  649. } else {
  650. mes "[Loki]";
  651. mes "We're seeing a lot of each other these days.";
  652. mes "It seems you are completely comfortable with the place.";
  653. mes "You'd better not be too proud of yourself.";
  654. close;
  655. }
  656. end;
  657. OnEnable:
  658. enablenpc instance_npcname("Mysterious Young Man#mis");
  659. end;
  660. OnDisable:
  661. disablenpc instance_npcname("Mysterious Young Man#mis");
  662. end;
  663. }
  664. 1@mist,183,304,3 script Loki#mist 512,{
  665. if (ep14_1_mistwoods < 2) {
  666. mes "[Loki]";
  667. mes "An adventurer in the forest.";
  668. mes ".....";
  669. mes "You can go to Mora through this forest.";
  670. close;
  671. } else if (ep14_1_mistwoods == 2) {
  672. mes "[Loki]";
  673. mes "Is it you that took care of this unruly girl?";
  674. mes "I guess I have to thank you.";
  675. mes "You've calmed her down.";
  676. next;
  677. select("What's happening?:This girl...?");
  678. mes "[Loki]";
  679. mes "You might be able to change your appearance, but you cannot change your unique, innate light.";
  680. mes "A scent strong enough to burn your nose.";
  681. next;
  682. mes "[Loki]";
  683. mes "This is Nydhogg, the Guardian of Yggdrasil,";
  684. mes "whom I was looking for.";
  685. mes "Now she won't wander around crazy any more.";
  686. next;
  687. select("What are you going to do now?");
  688. mes "[Loki]";
  689. mes "I'll wait for her to wake up and get out of this forest.";
  690. mes "I can manage it on my own.";
  691. mes "I'll see you in Mora.";
  692. set ep14_1_mistwoods,3;
  693. erasequest 7212;
  694. setquest 7213;
  695. close;
  696. } else if (ep14_1_mistwoods == 3) {
  697. mes "[Loki]";
  698. mes "I don't want to go with you.";
  699. mes "I can manage her on my own.";
  700. mes "If you have something to say, say it after we get out of the forest.";
  701. close;
  702. } else {
  703. mes "[Loki]";
  704. mes "I don't want to go with you.";
  705. mes "If you have something to say, say it after we get out of the forest.";
  706. close;
  707. }
  708. end;
  709. OnInstanceInit:
  710. OnDisable:
  711. disablenpc instance_npcname("Loki#mist");
  712. end;
  713. OnEnable:
  714. enablenpc instance_npcname("Loki#mist");
  715. end;
  716. }
  717. 1@mist,181,303,3 script Collapsed Girl#mist 511,{
  718. mes "You see a girl with mysterious hair collapsed on the ground.";
  719. mes "As you approach her, you smell the scent of flowers so strong that it makes you dizzy.";
  720. close;
  721. OnInstanceInit:
  722. OnDisable:
  723. disablenpc instance_npcname("Collapsed Girl#mist");
  724. end;
  725. OnEnable:
  726. enablenpc instance_npcname("Collapsed Girl#mist");
  727. end;
  728. }
  729. // --------------- Part of md_mistwoods_enter ----------------
  730. mora,46,152,5 script Flower Smelling Lady 510,{
  731. if (ep14_1_mistwoods < 3) {
  732. mes "[Flower Smell Lady]";
  733. mes "I need rest.";
  734. mes "I'm too tired to talk to you.";
  735. mes "I'm sorry.";
  736. close;
  737. } else if (ep14_1_mistwoods == 3) {
  738. mes "[Nydhogg the Guardian]";
  739. mes "I've been waiting for you.";
  740. mes "I'm still confused, but I know what I did wrong.";
  741. next;
  742. mes "[Nydhogg the Guardian]";
  743. mes "If it weren't for you, I would still be wandering in the abyssal darkness.";
  744. mes "I thank you, from the bottom of my heart.";
  745. next;
  746. mes "[Nydhogg the Guardian]";
  747. mes "I'm ashamed of myself, falling for the sweet but empty words that came to me in my loneliness.";
  748. mes "....";
  749. next;
  750. mes "[Nydhogg the Guardian]";
  751. mes "I don't deserve to be a guardian any more.";
  752. mes "A dragon gone crazy is not a guardian any more.";
  753. next;
  754. mes "[Loki]";
  755. mes "Yggdrasil doesn't think so.";
  756. mes "Nidi, don't forget your duties.";
  757. next;
  758. mes "[Nydhogg the Guardian]";
  759. mes "Are you...?";
  760. mes "I see...";
  761. mes "I thought I was forsaken...";
  762. next;
  763. mes "The Guardian slowly looked away as if deep in thought.";
  764. set ep14_1_mistwoods,4;
  765. close2;
  766. } else if (ep14_1_mistwoods == 4) {
  767. mes "- He seems to be deep in thought. -";
  768. close;
  769. } else {
  770. mes "[Nydhogg the Guardian]";
  771. mes "I haven't gotten all of my powers back.";
  772. mes "I'm sorry I can't protect you.";
  773. next;
  774. mes "[Nydhogg the Guardian]";
  775. mes "Loki said...";
  776. mes "that I won't cry from loneliness again,";
  777. mes "that I will always have new friends like you...";
  778. next;
  779. mes "[Nydhogg the Guardian]";
  780. mes "...I've lost everything, but I'm happy now.";
  781. close;
  782. }
  783. }
  784. mora,48,152,3 script Sharp Eyed Man 512,{
  785. if (checkweight(1201,1) == 0 || MaxWeight - Weight < 1000) {
  786. mes "- You have too many items to do this quest. -";
  787. close;
  788. }
  789. if (ep14_1_mistwoods < 3) {
  790. mes "He won't look at you. It's like he's not interested at all.";
  791. close;
  792. } else if (ep14_1_mistwoods == 3) {
  793. mes "[Loki]";
  794. mes "So you've passed through the forest.";
  795. mes "It seems Niddy has something to say to you.";
  796. close;
  797. } else if (ep14_1_mistwoods == 4) {
  798. mes "[Loki]";
  799. mes "Nydhogg was one of the guardians of the World Tree.";
  800. mes "But he abandoned his duties as a guardian when he gave in to Morroc's temptation.";
  801. next;
  802. mes "[Loki]";
  803. mes "Some fools performed a ritual to break the seal that held Morroc.";
  804. mes "But the ritual didn't work right. The servant of Morroc failed to break the seal.";
  805. next;
  806. mes "[Loki]";
  807. mes "But the seal is so weak that it can break open any time.";
  808. mes "It's Yggdrasil the World Tree's will that has kept the seal from breaking.";
  809. next;
  810. mes "[Nydhogg the Guardian]";
  811. mes "That's right. The power of the World Tree is linked to the whole world.";
  812. mes "When the bond between the guardians and Yggdrasil broke, Yggdrasil became unstable.";
  813. next;
  814. mes "[Nydhogg the Guardian]";
  815. mes "That's why all those disasters happened to Yggdrasil.";
  816. mes "As the World Tree became unstable, the influence it had on the seal grew weak.";
  817. next;
  818. mes "[Loki]";
  819. mes "And Morroc broke himself free from the seal.";
  820. mes "Although it seems like he used most of his powers just to break the seal...";
  821. next;
  822. mes "[Nydhogg the Guardian]";
  823. mes "It's all my fault.";
  824. mes "I couldn't break free from Morroc's temptation.";
  825. mes "For too... too long...";
  826. next;
  827. mes "[Nydhogg the Guardian]";
  828. mes "...I wanted to be relieved of my thousands of years of loneliness.";
  829. mes "I wasn't in my right mind then.";
  830. mes "It was none other than I that broke my bond with Yggdrasil.";
  831. next;
  832. mes "[Nydhogg the Guardian]";
  833. mes "I lost control of myself, and did what I shouldn't have done.";
  834. mes "The other side of me became a shadow and a reckless tyrant.";
  835. next;
  836. mes "[Nydhogg the Guardian]";
  837. mes "Facing the world, I realized...";
  838. mes "I felt too great a sense of loss... it was much more painful than the loneliness I had endured for thousands of years.";
  839. next;
  840. mes "[Nydhogg the Guardian]";
  841. mes "That's how I was left alone.";
  842. mes "I felt too great a sense of loss... it was much more painful than the loneliness I had endured for thousands of years.";
  843. next;
  844. mes "[Nydhogg the Guardian]";
  845. mes "So I became a sinner, forgotten to the world.";
  846. next;
  847. mes "[Loki]";
  848. mes "It's not too late.";
  849. mes "You're still a guardian.";
  850. mes "You still have things to do.";
  851. next;
  852. mes "[Nydhogg the Guardian]";
  853. mes "...Oh, yes. It's late, but I have to fulfill my duties as a guardian.";
  854. mes "Now I know. I'll destroy Morroc with my own hands.";
  855. mes "I will fulfill my duties as a guardian.";
  856. next;
  857. switch(select("You're not alone.:Those are very important duties.")) {
  858. case 1:
  859. mes "[Nydhogg the Guardian]";
  860. mes "You're right.";
  861. mes "It may be why I haven't been forsaken - to realize that I'm not alone.";
  862. mes "You are a kind soul.";
  863. next;
  864. break;
  865. case 2:
  866. mes "[Nydhogg the Guardian]";
  867. mes "But this is my atonement.";
  868. mes "I'm happy, though.";
  869. mes "I don't have to fight the loneliness any more.";
  870. next;
  871. break;
  872. }
  873. mes "[Nydhogg the Guardian]";
  874. mes strcharinfo(0)+"...";
  875. mes "Thanks for listening to my long story.";
  876. next;
  877. mes "[Nydhogg the Guardian]";
  878. mes "It's what I always have with me.";
  879. mes "I'm sure it will protect you someday.";
  880. next;
  881. mes "[Loki]";
  882. mes "(Removes his scarf from around his neck and hands it to you.)";
  883. next;
  884. mes "[Nydhogg the Guardian]";
  885. mes "May the blessing of Mother Yggdrasil be with you...";
  886. set ep14_1_mistwoods,10;
  887. completequest 7213;
  888. getitem 2568,1; //Muffler_Of_Roki
  889. getitem 2858,1; //Pendant_Of_Guardian
  890. getexp 400000,400000;
  891. close;
  892. } else {
  893. mes "[Loki]";
  894. mes "I'll be staying here for a while.";
  895. mes "We may meet again.";
  896. next;
  897. mes "[Loki]";
  898. mes "The day when Morroc reveals his despicable nature...";
  899. mes "I will be waiting for him.";
  900. close;
  901. }
  902. }
  903. // Monster Spawns :: md_mist_mob
  904. //============================================================
  905. 1@mist,1,1,0 script #Mist Mobs Respawn1 844,{
  906. end;
  907. OnInstanceInit:
  908. monster instance_mapname("1@mist"),0,0,"Miming",2137,15,instance_npcname("#Mist Mobs Respawn1")+"::OnMyMobDead";
  909. end;
  910. OnMyMobDead:
  911. set .@map$, instance_mapname("1@mist");
  912. set .@num_mobs, 15 - mobcount(.@map$,instance_npcname("#Mist Mobs Respawn1")+"::OnMyMobDead");
  913. if (.@num_mobs > 0)
  914. monster .@map$,0,0,"Miming",2137,.@num_mobs,instance_npcname("#Mist Mobs Respawn1")+"::OnMyMobDead";
  915. end;
  916. }
  917. 1@mist,1,2,0 script #Mist Mobs Respawn2 844,{
  918. end;
  919. OnInstanceInit:
  920. monster instance_mapname("1@mist"),0,0,"Pom Spider",2132,35,instance_npcname("#Mist Mobs Respawn2")+"::OnMyMobDead";
  921. end;
  922. OnMyMobDead:
  923. set .@map$, instance_mapname("1@mist");
  924. set .@num_mobs, 35 - mobcount(.@map$,instance_npcname("#Mist Mobs Respawn2")+"::OnMyMobDead");
  925. if (.@num_mobs > 0)
  926. monster .@map$,0,0,"Pom Spider",2132,.@num_mobs,instance_npcname("#Mist Mobs Respawn2")+"::OnMyMobDead";
  927. end;
  928. }
  929. 1@mist,1,3,0 script #Mist Mobs Respawn3 844,{
  930. end;
  931. OnInstanceInit:
  932. monster instance_mapname("1@mist"),0,0,"Angra Mantis",2133,35,instance_npcname("#Mist Mobs Respawn3")+"::OnMyMobDead";
  933. end;
  934. OnMyMobDead:
  935. set .@map$, instance_mapname("1@mist");
  936. set .@num_mobs, 35 - mobcount(.@map$,instance_npcname("#Mist Mobs Respawn3")+"::OnMyMobDead");
  937. if (.@num_mobs > 0)
  938. monster .@map$,0,0,"Angra Mantis",2133,.@num_mobs,instance_npcname("#Mist Mobs Respawn3")+"::OnMyMobDead";
  939. end;
  940. }
  941. 1@mist,1,4,0 script #Mist Mobs Respawn4 844,{
  942. end;
  943. OnInstanceInit:
  944. monster instance_mapname("1@mist"),0,0,"Parus",2134,35,instance_npcname("#Mist Mobs Respawn4")+"::OnMyMobDead";
  945. end;
  946. OnMyMobDead:
  947. set .@map$, instance_mapname("1@mist");
  948. set .@num_mobs, 35 - mobcount(.@map$,instance_npcname("#Mist Mobs Respawn4")+"::OnMyMobDead");
  949. if (.@num_mobs > 0)
  950. monster .@map$,0,0,"Parus",2134,.@num_mobs,instance_npcname("#Mist Mobs Respawn4")+"::OnMyMobDead";
  951. end;
  952. }
  953. 1@mist,1,5,0 script #Mist Mobs Respawn5 844,{
  954. end;
  955. OnInstanceInit:
  956. monster instance_mapname("1@mist"),0,0,"Little Fatum",2136,15,instance_npcname("#Mist Mobs Respawn5")+"::OnMyMobDead";
  957. end;
  958. OnMyMobDead:
  959. set .@map$, instance_mapname("1@mist");
  960. set .@num_mobs, 15 - mobcount(.@map$,instance_npcname("#Mist Mobs Respawn5")+"::OnMyMobDead");
  961. if (.@num_mobs > 0)
  962. monster .@map$,0,0,"Little Fatum",2136,.@num_mobs,instance_npcname("#Mist Mobs Respawn5")+"::OnMyMobDead";
  963. end;
  964. }
  965. 1@mist,1,6,0 script #Fragments of Memory 844,{
  966. end;
  967. OnInstanceInit:
  968. disablenpc instance_npcname("#Fragments of Memory");
  969. monster instance_mapname("1@mist"),0,0,"Guardian's Fragments of Memory",2138,15;
  970. end;
  971. }
  972. // Warp Portals :: md_mist_in_link
  973. //============================================================
  974. bif_fild01,38,374,0 script Mysterious Flower#ep14_1 844,{
  975. mes "It's a giant flower with mysterious energy.";
  976. if (countitem(12561)) {
  977. mes "It's reacting to the Mysterious Flower Seeds you have with you.";
  978. next;
  979. switch(select("Observe the reaction.:Stop the reaction.")) {
  980. case 1:
  981. mes "The flower started to shake violently";
  982. mes "and swing forward as if trying to send the seeds as far away as possible!!!";
  983. close2;
  984. delitem 12561,1; //Mysterious_Seed
  985. warp "bif_fild02",160,230;
  986. end;
  987. case 2:
  988. mes "As you hold onto the Mysterious Flower Seeds tightly,";
  989. mes "the flower shook violently and then became calm again.";
  990. close;
  991. }
  992. }
  993. mes "It looks like it has some special use, but you're not sure what.";
  994. close;
  995. }
  996. 1@mist,104,23,0 warp #to_bif01 1,1,bif_fild01,160,352
  997. 1@mist,109,70,0 script a1_a2 45,1,1,{
  998. end;
  999. OnTouch_:
  1000. if (checkquest(7211,PLAYTIME) == -1)
  1001. setquest 7211;
  1002. warp instance_mapname("1@mist"),116,40;
  1003. end;
  1004. }
  1005. 1@mist,113,40,0 warp a2_a7 1,1,1@mist,90,81
  1006. 1@mist,93,81,0 warp a7_a14 1,1,1@mist,108,152
  1007. 1@mist,111,154,0 warp a14_a24 1,1,1@mist,236,108
  1008. 1@mist,236,110,0 warp a24_a1 1,1,1@mist,106,69
  1009. 1@mist,161,67,0 warp a18-1_a22 1,1,1@mist,159,85
  1010. 1@mist,180,116,0 warp a23_a18-1 1,1,1@mist,164,66
  1011. 1@mist,180,63,0 warp a18-2_a9 1,1,1@mist,141,90
  1012. 1@mist,116,84,0 warp a8_a26 1,1,1@mist,222,133
  1013. 1@mist,220,133,0 warp a26_a27-1 1,1,1@mist,200,64
  1014. 1@mist,197,64,0 warp a27-1_a23 1,1,1@mist,177,116
  1015. 1@mist,146,194,0 warp af1-2_a27-2 1,1,1@mist,225,96
  1016. 1@mist,133,195,0 warp af1-1_af2-1 1,1,1@mist,202,110
  1017. 1@mist,202,107,0 warp af2-1_af1-1 1,1,1@mist,134,189
  1018. 1@mist,217,110,0 warp af2-2_a20-1 1,1,1@mist,240,56
  1019. 1@mist,240,54,0 warp a20-1_af2-2 1,1,1@mist,214,110
  1020. 1@mist,234,67,0 warp a20-2_a21 1,1,1@mist,239,80
  1021. 1@mist,242,77,0 warp a21_a15-1 1,1,1@mist,153,137
  1022. 1@mist,156,139,0 warp a15-1_a3 1,1,1@mist,123,55
  1023. 1@mist,124,51,0 warp a3_a20-1 1,1,1@mist,240,56
  1024. 1@mist,48,41,0 warp a4-1_a17 1,1,1@mist,174,165
  1025. 1@mist,171,165,0 warp a17_a16 1,1,1@mist,168,143
  1026. 1@mist,169,141,0 warp a16_a10 1,1,1@mist,101,107
  1027. 1@mist,99,107,0 warp a10_a4-2 1,1,1@mist,57,38
  1028. 1@mist,65,113,0 warp a11_a28 1,1,1@mist,218,151
  1029. 1@mist,221,151,0 warp a28_a13 1,1,1@mist,117,126
  1030. 1@mist,114,126,0 warp a13_a5 1,1,1@mist,36,62
  1031. 1@mist,61,88,0 warp a6_a19 1,1,1@mist,189,139
  1032. 1@mist,186,140,0 warp a19_a12 1,1,1@mist,98,126
  1033. 1@mist,101,126,0 warp a12_a29-1 1,1,1@mist,238,151
  1034. 1@mist,235,152,0 warp a29-1_af1-2 1,1,1@mist,144,194
  1035. 1@mist,254,151,0 warp a29-2E_b1 1,1,1@mist,271,164
  1036. 1@mist,275,211,0 warp b1_b13 1,1,1@mist,277,112
  1037. 1@mist,301,141,0 warp b14_b24 1,1,1@mist,99,232
  1038. 1@mist,99,230,0 warp b24_b25 1,1,1@mist,103,255
  1039. 1@mist,102,253,0 warp b25_b4-1 1,1,1@mist,215,177
  1040. 1@mist,212,177,0 warp b4-1_b1 1,1,1@mist,276,208
  1041. 1@mist,289,167,0 warp b2_b19 1,1,1@mist,152,219
  1042. 1@mist,149,219,0 warp b19_b20 1,1,1@mist,119,227
  1043. 1@mist,115,227,0 warp b20_b23 1,1,1@mist,230,353
  1044. 1@mist,233,353,0 warp b23_b7 1,1,1@mist,289,225
  1045. 1@mist,76,273,0 warp bf1-2_b7 1,1,1@mist,289,225
  1046. 1@mist,61,282,0 warp bf1-1_bf2-1 1,1,1@mist,256,220
  1047. 1@mist,252,220,0 warp bf2-1_bf1-1 1,1,1@mist,65,282
  1048. 1@mist,267,213,0 warp bf2-2_b28 1,1,1@mist,214,268
  1049. 1@mist,212,265,0 warp b28_b12 1,1,1@mist,288,266
  1050. 1@mist,285,266,0 warp b12_b21 1,1,1@mist,143,234
  1051. 1@mist,143,231,0 warp b21_b29 1,1,1@mist,222,281
  1052. 1@mist,223,279,0 warp b29_b31 1,1,1@mist,158,317
  1053. 1@mist,134,287,0 warp b30_b3 1,1,1@mist,293,195
  1054. 1@mist,295,197,0 warp b3_b10 1,1,1@mist,239,253
  1055. 1@mist,236,253,0 warp b10_b12 1,1,1@mist,288,266
  1056. 1@mist,111,203,0 warp b16_b34 1,1,1@mist,202,333
  1057. 1@mist,199,333,0 warp b34_b27-1 1,1,1@mist,203,251
  1058. 1@mist,206,249,0 warp b27-1_b22 1,1,1@mist,168,239
  1059. 1@mist,165,239,0 warp b22_b15 1,1,1@mist,89,173
  1060. 1@mist,177,265,0 warp b27-2_a14 1,1,1@mist,108,152
  1061. 1@mist,166,314,0 warp bN-1_b27-3 1,1,1@mist,206,297
  1062. 1@mist,197,299,0 warp bN-2_b17 1,1,1@mist,167,200
  1063. 1@mist,165,200,0 warp b17_bN-2 1,1,1@mist,193,299
  1064. 1@mist,86,173,0 warp b15_b32 1,1,1@mist,218,313
  1065. 1@mist,215,313,0 warp b32_b28 1,1,1@mist,214,268
  1066. 1@mist,230,324,0 warp b33_b6-1 1,1,1@mist,221,233
  1067. 1@mist,230,230,0 warp b6-2_b11 1,1,1@mist,263,261
  1068. 1@mist,263,258,0 warp b11_b9 1,1,1@mist,272,246
  1069. 1@mist,269,246,0 warp b9_b26 1,1,1@mist,143,265
  1070. 1@mist,140,265,0 warp b26_b5 1,1,1@mist,209,200
  1071. 1@mist,195,206,0 warp b18_b35 1,1,1@mist,169,341
  1072. 1@mist,166,341,0 warp b35_b36 1,1,1@mist,198,354
  1073. 1@mist,201,354,0 warp b36_b37-1 1,1,1@mist,83,224
  1074. 1@mist,87,224,0 warp b37-1_b35 1,1,1@mist,169,341
  1075. 1@mist,84,273,0 warp b37-2_c1 1,1,1@mist,98,287
  1076. 1@mist,111,298,0 warp c2_c3 1,1,1@mist,82,307
  1077. 1@mist,79,307,0 warp c3_c7 1,1,1@mist,284,89
  1078. 1@mist,281,89,0 warp c7_c12 1,1,1@mist,264,291
  1079. 1@mist,261,291,0 warp c12_c2 1,1,1@mist,115,298
  1080. 1@mist,326,275,0 warp c13-1_b13 1,1,1@mist,277,112
  1081. 1@mist,294,293,0 warp c13-2_c5 1,1,1@mist,78,330
  1082. 1@mist,81,330,0 warp c5_c17 1,1,1@mist,308,330
  1083. 1@mist,308,327,0 warp c17_c10 1,1,1@mist,309,165
  1084. 1@mist,306,165,0 warp c10_c13-2 1,1,1@mist,298,293
  1085. 1@mist,46,316,0 warp c4_c6 1,1,1@mist,113,328
  1086. 1@mist,95,328,0 warp c6_c9 1,1,1@mist,342,157
  1087. 1@mist,339,157,0 warp c9_c16 1,1,1@mist,343,328
  1088. 1@mist,343,325,0 warp c16_c8-2 1,1,1@mist,346,120
  1089. 1@mist,344,123,0 warp c8-2_c19 1,1,1@mist,277,343
  1090. 1@mist,256,313,0 warp c18_c15 1,1,1@mist,343,307
  1091. 1@mist,342,305,0 warp c15_cKEY 1,1,1@mist,332,121
  1092. 1@mist,335,120,0 warp cKEY_c18 1,1,1@mist,259,313
  1093. 1@mist,317,89,0 warp c8-1_c14 1,1,1@mist,339,284
  1094. 1@mist,339,281,0 warp c14_c11-1 1,1,1@mist,332,172
  1095. 1@mist,329,171,0 warp c11-1_c8-2 1,1,1@mist,346,120
  1096. 1@mist,301,237,0 warp b8_b2 1,1,1@mist,289,170
  1097. // Disable Garden Tree warps.
  1098. // Custom, but saves processing and lines.
  1099. 1@mist,1,1,0 script #mist_warp_init 844,{
  1100. end;
  1101. OnInstanceInit:
  1102. disablenpc instance_npcname("a25_a18-1");
  1103. disablenpc instance_npcname("a27-2_af1-2");
  1104. disablenpc instance_npcname("a15-2_a4-1");
  1105. disablenpc instance_npcname("a4-2_a11");
  1106. disablenpc instance_npcname("b4-2_b2");
  1107. disablenpc instance_npcname("b7_bf1-2");
  1108. disablenpc instance_npcname("b31_b16");
  1109. disablenpc instance_npcname("b27-3_bN-1");
  1110. disablenpc instance_npcname("b6-1_b33");
  1111. disablenpc instance_npcname("b5_b14");
  1112. disablenpc instance_npcname("c1_c13-1");
  1113. disablenpc instance_npcname("c13-3_c4");
  1114. disablenpc instance_npcname("c19_c4");
  1115. disablenpc instance_npcname("#to_bif02");
  1116. disablenpc instance_npcname("#mist_warp_init");
  1117. end;
  1118. }
  1119. 1@mist,247,123,0 warp a25_a18-1 1,1,1@mist,164,66 //Tom
  1120. 1@mist,225,98,0 warp a27-2_af1-2 1,1,1@mist,144,194 //Tomba
  1121. 1@mist,159,184,0 warp a15-2_a4-1 1,1,1@mist,49,37 //Remi
  1122. 1@mist,61,39,0 warp a4-2_a11 1,1,1@mist,68,113 //Rem
  1123. 1@mist,230,179,0 warp b4-2_b2 1,1,1@mist,289,170 //Ron
  1124. 1@mist,285,225,0 warp b7_bf1-2 1,1,1@mist,72,274 //Rover
  1125. 1@mist,161,316,0 warp b31_b16 1,1,1@mist,108,203 //Mona
  1126. 1@mist,204,299,0 warp b27-3_bN-1 1,1,1@mist,169,314 //Namon
  1127. 1@mist,221,236,0 warp b6-1_b33 1,1,1@mist,233,324 //Neoron
  1128. 1@mist,206,200,0 warp b5_b14 1,1,1@mist,298,142 //Spyder
  1129. 1@mist,95,287,0 warp c1_c13-1 1,1,1@mist,323,276 //Tito
  1130. 1@mist,324,325,0 warp c13-3_c4 1,1,1@mist,49,316 //Pumba
  1131. 1@mist,280,344,0 warp c19_c4 1,1,1@mist,49,316 //Tete
  1132. 1@mist,345,186,0 warp #to_bif02 1,1,bif_fild02,151,121 //The Gardeners' Tree