VillaofHighPriest.txt 40 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148
  1. //===== rAthena Script =======================================
  2. //= Instance: Villa of High Priest.
  3. //===== Description: =========================================
  4. //- [Walkthrough conversion]
  5. //- Part of the Episode 18 main quest.
  6. //===== Changelogs: ==========================================
  7. //= 1.0 First version. [Capuche]
  8. //============================================================
  9. // Main Quest: Step 61.
  10. oz_dun01,219,117,5 script(CLOAKED) Ira#c12_01 4_M_BRZ_JACI,{
  11. if (ep18_main == 54) {
  12. .@md_name$ = "High Priest's Villa";
  13. mes "[Ira]";
  14. mes "The entrance to the villa? The key is at the entrance.";
  15. mes "Some sort of teleportation magic is applied there.";
  16. mes "If you're ready, shall I guide you to the villa?";
  17. next;
  18. mes "[Ira]";
  19. mes "And... We don't know what might happen inside.";
  20. mes "If you have companions, I recommend going together.";
  21. next;
  22. switch( select( "Apply for '" + .@md_name$ + "'.", "Enter '" + .@md_name$ + "'." ) ) {
  23. case 1:
  24. if (getcharid(1) == 0 || is_party_leader() == false) {
  25. mes "^4d4dff This is a memorial event.";
  26. mes "Memorial dungeon requests must be made as a party leader.^000000";
  27. close;
  28. }
  29. mes "[Ira]";
  30. mes "Then allow me to escort you.";
  31. if (instance_create(.@md_name$) < 0) {
  32. mes "Party: " + getpartyname(getcharid(1)) + "";
  33. mes "Leader: " + strcharinfo(0) + "";
  34. mes "^0000ff" + .@md_name$ + " ^000000- Unknown error";
  35. close;
  36. }
  37. close;
  38. case 2:
  39. switch( instance_enter(.@md_name$) ) {
  40. case IE_OTHER:
  41. mes "[Ira]";
  42. mes "^ff0000An unknown error occurred.^000000";
  43. close;
  44. case IE_NOINSTANCE:
  45. mes "[Ira]";
  46. mes "Hm? Could you please check if the party leader has requested entrance to the villa?";
  47. close;
  48. case IE_NOMEMBER:
  49. mes "[Ira]";
  50. mes "^ff0000Only a member of the party can enter the Memorial Dungeon.^000000";
  51. close;
  52. case IE_OK:
  53. mapannounce "oz_dun01", "" + strcharinfo(0) + " from the " + getpartyname( getcharid(1) ) + "'s party has entered the " + .@md_name$ + ".", bc_map, 0xFF99;
  54. // warp "1@adv",123,17;
  55. end;
  56. }
  57. }
  58. }
  59. end;
  60. }
  61. // warps
  62. 1@adv,63,142,0 warp(DISABLED) #left_room_in 1,1,1@adv,56,142
  63. 1@adv,60,142,0 warp(DISABLED) #left_room_out 1,1,1@adv,66,142
  64. 1@adv,185,142,0 warp(DISABLED) #right_room_in 1,1,1@adv,190,142
  65. 1@adv,187,142,0 warp(DISABLED) #right_room_out 1,1,1@adv,182,142
  66. 1@adv,173,142,0 warp(DISABLED) #center_room_in 1,1,1@adv,167,142
  67. 1@adv,171,142,0 warp(DISABLED) #center_room_out 1,1,1@adv,177,142
  68. 1@adv,123,309,0 warp(DISABLED) #boss_in 1,1,1@adv,123,321
  69. 1@adv,123,312,0 warp(DISABLED) #boss_out 1,1,oz_dun01,220,112
  70. 1@adv,122,20,5 script Ira#aira01 4_M_BRZ_JACI,{
  71. npctalk "Don't worry about me. I'll stay near the door and leave immediately if it's dangerous.", "Ira#aira01";
  72. end;
  73. OnInstanceInit:
  74. 'adv_step = 0;
  75. 'Knight_left = 0;
  76. 'Knight_righ = 0;
  77. 'flower_num = rand(1,5);
  78. 'map_adv$ = instance_mapname("1@adv");
  79. end;
  80. }
  81. 1@adv,125,23,3 script Miriam#miriam01 EP18_NPC_MIRIAM,{
  82. if (is_party_leader() == false) {
  83. mes "[Miriam]";
  84. mes "Are you all gathered?";
  85. close;
  86. }
  87. if (ep18_main != 54)
  88. end;
  89. if ('adv_step == 0) {
  90. 'adv_step = 1;
  91. // note: player can move and talk to other npc
  92. .@ira$ = instance_npcname("Ira#aira01");
  93. sleep 2500;
  94. npctalk "Ira: Here it is. It should be okay since only users go to the first floor.", .@ira$;
  95. sleep 2500;
  96. npctalk "Miriam: What about the second floor?";
  97. sleep 2500;
  98. npctalk "Ira: Bunch of priests are staying there. I don't know if they're really a priest.", .@ira$;
  99. sleep 2500;
  100. npctalk "Ira: They seem to be armed.", .@ira$;
  101. sleep 2500;
  102. npctalk "Miriam: Okay. Thanks for the guidance. We'll do the inside search.";
  103. sleep 2500;
  104. npctalk "Ira: Don't worry about me. Be careful, you two.", .@ira$;
  105. sleep 2500;
  106. npctalk "Miriam: Then let's go up carefully.";
  107. sleep 2500;
  108. npctalk "Ira: Find the key to the 2nd floor banquet hall. There must be something beyond that!", .@ira$;
  109. sleep 2500;
  110. npctalk "Miriam: Adventurer, shall we all share our tasks?";
  111. 'adv_step = 2;
  112. end;
  113. }
  114. if ('adv_step == 2) {
  115. mes "[Miriam]";
  116. mes "I think I should check to see if there are other employees and go up to the second floor.";
  117. npctalk "Miriam: I think I should check to see if there are other employees and go up to the second floor.", instance_npcname("Miriam#miriam01");
  118. cutin "ep18_miriam_01.png",0;
  119. next;
  120. mes "[Miriam]";
  121. mes "I feel a sharp presence beyond the central stairs.";
  122. mes "Probably the Heart Hunter who fought in the temple.";
  123. npctalk "Miriam: I feel a fierce presence. Probably the Heart Hunter.", instance_npcname("Miriam#miriam01");
  124. cutin "ep18_miriam_03.png",0;
  125. next;
  126. mes "[Miriam]";
  127. mes "I'm worried about the missing piece of Ymir's heart.";
  128. mes "If it's about inciting trouble, what happened at the temple is enough.";
  129. npctalk "Miriam: I'm worried about the missing Ymir's heart. What happened at the temple is enough.", instance_npcname("Miriam#miriam01");
  130. next;
  131. mes "[Miriam]";
  132. mes "What if my father has other plans...";
  133. mes "If you try to go down the wrong path again, I have to stop him.";
  134. npctalk "Miriam: If my father has another plan and goes down the wrong path, I have to stop him.", instance_npcname("Miriam#miriam01");
  135. next;
  136. mes "[Miriam]";
  137. mes "First, shall we get some information from the villa employees?";
  138. mes "I see a male employee over there.";
  139. npctalk "Miriam: First, shall we get some information from the remaining employees?", instance_npcname("Miriam#miriam01");
  140. cutin "ep18_miriam_02.png",0;
  141. next;
  142. mes "[Miriam]";
  143. mes "I'll go to that employee.";
  144. mes "Adventurer, please find another employee and ask him about the mansion.";
  145. npctalk "Miriam: I'll go to that employee. Adventurer, please find another employee.", instance_npcname("Miriam#miriam01");
  146. close2;
  147. cutin "",255;
  148. npctalk "Then I will go to the employee over there.", instance_npcname("Miriam#miriam01");
  149. if ('adv_step == 2) {
  150. 'adv_step = 3;
  151. npcwalkto 136,46;
  152. }
  153. end;
  154. }
  155. if ('adv_step == 3) {
  156. npctalk "Miriam: Find another employee.";
  157. end;
  158. }
  159. if ('adv_step == 4) {
  160. 'adv_step = 5;
  161. .@extra01$ = instance_npcname("Villa Employee#extra01");
  162. .@extra02$ = instance_npcname("Villa Employee#extra02");
  163. .@rh01$ = instance_npcname("Heart Hunter#rh01");
  164. .@rh02$ = instance_npcname("Heart Hunter#rh02");
  165. npctalk "Miriam: After all, it must be a Heart Hunter disguised as a priest, right?", instance_npcname("Miriam#miriam01");
  166. specialeffect EF_SCREEN_QUAKE;
  167. sleep 2000;
  168. emotion ET_SURPRISE, getnpcid(0, instance_npcname("Miriam#miriam01"));
  169. emotion ET_HUK, getnpcid(0, .@extra02$);
  170. mapannounce 'map_adv$, "Crying Voice: Oh my! Why are you like this! Help me!", bc_map, 0xFF99;
  171. sleep 1000;
  172. npctalk "Miriam: Now there's screaming! What's happening?", instance_npcname("Miriam#miriam01");
  173. sleep 1000;
  174. mapannounce 'map_adv$, "Kyaaaaaaaaaaa-!", bc_map, 0xFF99;
  175. sleep 1000;
  176. npctalk "Miriam: Ira!!", instance_npcname("Miriam#miriam01");
  177. sleep 2500;
  178. npctalk "Miriam: I guess something happened. Let's go to Ira.", instance_npcname("Miriam#miriam01");
  179. sleep 2500;
  180. npctalk "Hans: Miss! Please take me with you!", .@extra02$;
  181. sleep 2500;
  182. npctalk "Miriam: Then I will come and see if Ira and the others are safe.", instance_npcname("Miriam#miriam01");
  183. sleep 2500;
  184. npctalk "Miriam: Adventurer, please enter first. Mr. Hans, let's go together.", instance_npcname("Miriam#miriam01");
  185. sleep 2500;
  186. disablenpc .@extra01$;
  187. disablenpc .@extra02$;
  188. disablenpc instance_npcname("Miriam#miriam01");
  189. enablenpc .@rh01$;
  190. enablenpc .@rh02$;
  191. sleep 1000;
  192. npctalk "Oh, isn't it our old friend?", .@rh01$;
  193. npctalk "Thank you for your work on the Wolf Village!", .@rh02$;
  194. sleep 2500;
  195. disablenpc .@rh01$;
  196. disablenpc .@rh02$;
  197. donpcevent instance_npcname("adv_extra_02") + "::OnStart";
  198. 'adv_step = 6;
  199. end;
  200. }
  201. }
  202. 1@adv,133,43,6 duplicate(dummy_disabled_npc) Heart Hunter#rh01 EP18_MD_HEARTHUNTER_R
  203. 1@adv,135,41,7 duplicate(dummy_disabled_npc) Heart Hunter#rh02 EP18_MD_HEARTHUNTER_R
  204. 1@adv,100,24,4 script Villa Employee#extra01 4_F_SHABBY,{
  205. if ('adv_step == 3) {
  206. mes "[Villa Employee]";
  207. mes "This is my first time meeting you. Who are you?";
  208. mes "Are you the elder's guest?";
  209. next;
  210. select( "Where is Amal?" );
  211. mes "[Villa Employee]";
  212. mes "Wouldn't he be at the chapel?";
  213. mes "Whenever you come here, please look for the chapel first...";
  214. next;
  215. unittalk getcharid(3), "" + strcharinfo(0) + " : Is there a chapel at the villa?";
  216. mes "[Villa Employee]";
  217. mes "Yes. He seemed to be a man of faith, so he built a chapel inside the mansion.";
  218. next;
  219. select( "What about other people?" );
  220. mes "[Villa Employee]";
  221. mes "Most were suddenly fired.";
  222. mes "I also heard someone tell me to leave a little while ago. Is this a sign of mass layoff!?";
  223. next;
  224. mes "[Villa Employee]";
  225. mes "The atmosphere was so heavy that I couldn't even ask.";
  226. mes "The chapel can be reached by going up the central stairs and past the banquet hall.";
  227. mes "Then, go do your business.";
  228. if ('adv_step == 3)
  229. 'adv_step = 4;
  230. close;
  231. }
  232. mes "[Villa Employee]";
  233. mes "Sir Amal went to chapel.";
  234. mes "Go up the central stairs, pass the banquet hall, and you will reach the chapel.";
  235. close;
  236. }
  237. 1@adv,138,49,3 script Villa Employee#extra02 4_M_MIDDLE,{
  238. if ('adv_step < 4) {
  239. mes "This is the person Miriam decided to investigate. Let's find another one.";
  240. close;
  241. }
  242. npctalk "Hans: The atmosphere of the villa is unusual. All of the attendant priests were armed.", instance_npcname("Villa Employee#extra02");
  243. end;
  244. }
  245. 1@adv,1,1,5 script adv_extra_02 -1,{
  246. end;
  247. OnStart:
  248. .@label$ = instance_npcname("adv_extra_02") + "::OnMobDead";
  249. monster 'map_adv$,133,43,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  250. monster 'map_adv$,135,41,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  251. end;
  252. OnMobDead:
  253. if ('adv_step != 6)
  254. end;
  255. if (mobcount('map_adv$, instance_npcname("adv_extra_02") + "::OnMobDead") < 1) {
  256. 'adv_step = 7;
  257. enablenpc instance_npcname("Ira#aira02");
  258. enablenpc instance_npcname("Anna#anna01");
  259. enablenpc instance_npcname("Hans#hans01");
  260. enablenpc instance_npcname("Miriam#miriam02");
  261. }
  262. end;
  263. }
  264. 1@adv,124,17,7 script(DISABLED) Miriam#miriam02 EP18_NPC_MIRIAM,{
  265. if ('adv_step < 10) {
  266. if (is_party_leader() == false || 'adv_step != 7) {
  267. npctalk "Miriam: Leave this to me and take care of the Heart Hunter on the 2nd floor.";
  268. end;
  269. }
  270. 'adv_step = 8;
  271. setpcblock PCBLOCK_NPC, true;
  272. .@miriam$ = instance_npcname("Miriam#miriam02");
  273. .@label$ = .@miriam$ + "::OnMobDead";
  274. enablenpc instance_npcname("Heart Hunter#rh03");
  275. enablenpc instance_npcname("Heart Hunter#rh04");
  276. enablenpc instance_npcname("Heart Hunter#rh05");
  277. enablenpc instance_npcname("Heart Hunter#rh06");
  278. enablenpc instance_npcname("Heart Hunter#rh07");
  279. npctalk "Ha... didn't I clearly tell you to clear everything? Why are there still rats?", instance_npcname("Heart Hunter#rh05");
  280. sleep2 2500;
  281. npctalk "Miriam: Adventurer, I will take care of this.", instance_npcname("Miriam#miriam02");
  282. sleep2 2500;
  283. npctalk "Miriam: Adventurer, please break through the lobby. Let's process it separately.", instance_npcname("Miriam#miriam02");
  284. sleep2 2000;
  285. npctalk "You can't just leave like that. Block the stairs!", instance_npcname("Heart Hunter#rh05");
  286. unitwalk getnpcid(0,instance_npcname("Heart Hunter#rh03")), 124,40, .@miriam$ + "::OnMove1";
  287. unitwalk getnpcid(0,instance_npcname("Heart Hunter#rh07")), 124,41, .@miriam$ + "::OnMove2";
  288. sleep2 3000;
  289. npctalk "Miriam: Adventurer! Please stop them! I'll take care of this and evacuate everyone!", instance_npcname("Miriam#miriam02");
  290. sleep2 1500;
  291. npctalk "Are you going alone?", instance_npcname("Heart Hunter#rh05");
  292. sleep2 1500;
  293. npctalk "You can't run away!", instance_npcname("Heart Hunter#rh06");
  294. sleep2 1000;
  295. npctalk "How dare you!", instance_npcname("Heart Hunter#rh04");
  296. sleep2 1500;
  297. npctalk "Miriam: Please leave this to me and deal with the Heart Hunter on the second floor.", instance_npcname("Miriam#miriam02");
  298. setpcblock PCBLOCK_NPC, false;
  299. if ('adv_step != 8)
  300. end;
  301. 'adv_step = 9;
  302. monster 'map_adv$,125,42,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  303. monster 'map_adv$,121,42,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  304. monster 'map_adv$,126,43,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  305. monster 'map_adv$,121,43,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  306. monster 'map_adv$,123,63,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  307. monster 'map_adv$,124,63,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  308. monster 'map_adv$,122,65,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  309. monster 'map_adv$,102,64,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  310. monster 'map_adv$,102,64,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  311. monster 'map_adv$,144,65,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  312. monster 'map_adv$,146,66,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  313. monster 'map_adv$,146,63,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  314. end;
  315. }
  316. if (is_party_leader() == false)
  317. end;
  318. if ('adv_step == 10) // npc is walking
  319. end;
  320. if ('adv_step == 11) {
  321. 'adv_step = 12;
  322. setpcblock PCBLOCK_NPC, true;
  323. npctalk "Miriam: The door is locked. Shall we split up and search for it?", instance_npcname("Miriam#miriam02");
  324. sleep2 2500;
  325. npctalk "Miriam: I'll go to the right hallway. Adventurer, please search the left side.", instance_npcname("Miriam#miriam02");
  326. setpcblock PCBLOCK_NPC, false;
  327. sleep 2500;
  328. unitwalk getnpcid(0), 131,97, instance_npcname("Miriam#miriam02") + "::OnRight";
  329. donpcevent instance_npcname("adv_key_left") + "::OnStart";
  330. end;
  331. }
  332. end;
  333. OnMove1:
  334. disablenpc instance_npcname("Heart Hunter#rh03");
  335. end;
  336. OnMove2:
  337. disablenpc instance_npcname("Heart Hunter#rh07");
  338. end;
  339. OnMiddle1:
  340. unitwalk getnpcid(0), 124,77, instance_npcname("Miriam#miriam02") + "::OnMiddle2";
  341. end;
  342. OnMiddle2:
  343. unitwalk getnpcid(0), 124,97, instance_npcname("Miriam#miriam02") + "::OnMiddle3";
  344. end;
  345. OnMiddle3:
  346. 'adv_step = 11;
  347. end;
  348. OnRight:
  349. disablenpc instance_npcname("Miriam#miriam02");
  350. enablenpc instance_npcname("Miriam#miriam03");
  351. end;
  352. OnMobDead:
  353. if ('adv_step != 9)
  354. end;
  355. if (mobcount('map_adv$, instance_npcname("Miriam#miriam02") + "::OnMobDead") < 1) {
  356. 'adv_step = 10;
  357. disablenpc instance_npcname("Heart Hunter#rh04");
  358. disablenpc instance_npcname("Heart Hunter#rh05");
  359. disablenpc instance_npcname("Heart Hunter#rh06");
  360. disablenpc instance_npcname("Ira#aira02");
  361. disablenpc instance_npcname("Anna#anna01");
  362. disablenpc instance_npcname("Hans#hans01");
  363. unitwalk getnpcid(0), 124,47, instance_npcname("Miriam#miriam02") + "::OnMiddle1";
  364. }
  365. end;
  366. }
  367. 1@adv,119,19,5 script(DISABLED) Heart Hunter#rh04 EP18_MD_HEARTHUNTER_R,{
  368. npctalk "Your courage is imaginary!";
  369. end;
  370. }
  371. 1@adv,124,21,3 script(DISABLED) Heart Hunter#rh05 EP18_MD_HEARTHUNTER_R,{
  372. npctalk "Are you going to handle it yourself?";
  373. end;
  374. }
  375. 1@adv,130,18,3 script(DISABLED) Heart Hunter#rh06 EP18_MD_HEARTHUNTER_R,{
  376. npctalk "You can't escape!";
  377. end;
  378. }
  379. 1@adv,114,14,5 duplicate(dummy_disabled_npc) Heart Hunter#rh03 EP18_MD_HEARTHUNTER_R,3,5
  380. 1@adv,133,14,3 duplicate(dummy_disabled_npc) Heart Hunter#rh07 EP18_MD_HEARTHUNTER_R,2,5
  381. 1@adv,122,14,7 duplicate(dummy_disabled_npc) Ira#aira02 4_M_BRZ_JACI
  382. 1@adv,124,14,6 duplicate(dummy_disabled_npc) Anna#anna01 4_F_SHABBY
  383. 1@adv,126,14,1 duplicate(dummy_disabled_npc) Hans#hans01 4_M_MIDDLE
  384. 1@adv,1,1,5 script adv_key_left -1,{
  385. end;
  386. OnStart:
  387. .@label$ = instance_npcname("adv_key_left") + "::OnMobDead";
  388. monster 'map_adv$,69,117,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  389. monster 'map_adv$,65,118,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  390. monster 'map_adv$,65,118,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  391. monster 'map_adv$,68,140,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  392. monster 'map_adv$,68,140,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  393. monster 'map_adv$,69,141,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  394. monster 'map_adv$,66,159,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  395. monster 'map_adv$,68,160,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  396. monster 'map_adv$,68,160,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  397. monster 'map_adv$,65,182,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  398. monster 'map_adv$,67,182,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  399. end;
  400. OnMobDead:
  401. if ('adv_step != 12)
  402. end;
  403. if (mobcount('map_adv$, instance_npcname("adv_key_left") + "::OnMobDead") < 1) {
  404. 'adv_step = 13;
  405. enablenpc instance_npcname("Silver Key#key01");
  406. }
  407. end;
  408. }
  409. 1@adv,67,182,3 script(DISABLED) Silver Key#key01 4_POINT_WHITE,{
  410. if ('adv_step != 13)
  411. end;
  412. progressbar "4D4DFF",2;
  413. if ('adv_step != 13)
  414. end;
  415. 'adv_step = 14;
  416. disablenpc instance_npcname("Silver Key#key01");
  417. unittalk getcharid(3), "" + strcharinfo(0) + " : I found a small silver key.";
  418. end;
  419. }
  420. 1@adv,63,142,0 script Locked Door#key01 4_POINT_WHITE,{
  421. if ('adv_step < 14) {
  422. mes "Firmly Locked Door.";
  423. mes "There is a Silver Key hole.";
  424. unittalk getcharid(3), "" + strcharinfo(0) + " : I need a Silver Key.";
  425. close;
  426. }
  427. progressbar "4D4DFF",2;
  428. if ('adv_step != 14)
  429. end;
  430. 'adv_step = 15;
  431. disablenpc instance_npcname("Locked Door#key01");
  432. enablenpc instance_npcname("#left_room_in");
  433. enablenpc instance_npcname("#left_room_out");
  434. donpcevent instance_npcname("adv_get_key02") + "::OnStart";
  435. end;
  436. }
  437. 1@adv,1,1,5 script adv_get_key02 -1,{
  438. end;
  439. OnStart:
  440. .@label$ = instance_npcname("adv_get_key02") + "::OnMobDead";
  441. monster 'map_adv$,40,142,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  442. monster 'map_adv$,40,141,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  443. monster 'map_adv$,39,143,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  444. end;
  445. OnMobDead:
  446. if ('adv_step != 15)
  447. end;
  448. if (mobcount('map_adv$, instance_npcname("adv_get_key02") + "::OnMobDead") < 1) {
  449. 'adv_step = 16;
  450. enablenpc instance_npcname("Gold Key#key02");
  451. }
  452. end;
  453. }
  454. 1@adv,29,157,3 script(DISABLED) Gold Key#key02 4_POINT_WHITE,{
  455. if ('adv_step != 16)
  456. end;
  457. progressbar "4D4DFF",2;
  458. if ('adv_step != 16)
  459. end;
  460. 'adv_step = 17;
  461. disablenpc instance_npcname("Gold Key#key02");
  462. unittalk getcharid(3), "" + strcharinfo(0) + " : I found a small golden key.";
  463. end;
  464. }
  465. 1@adv,182,144,4 script(DISABLED) Miriam#miriam03 EP18_NPC_MIRIAM,{
  466. if ('adv_step < 17)
  467. end;
  468. if ('adv_step == 17) {
  469. mes "[Miriam]";
  470. mes "You found the key.";
  471. mes "It appears that several of the Villa's employees are trapped inside.";
  472. mes "I'll be on guard, so go in.";
  473. cutin "ep18_miriam_01.png",0;
  474. close2;
  475. cutin "",255;
  476. if ('adv_step == 17) {
  477. 'adv_step = 18;
  478. enablenpc instance_npcname("#right_room_in");
  479. enablenpc instance_npcname("#right_room_out");
  480. enablenpc instance_npcname("Villa Employee#ex21");
  481. enablenpc instance_npcname("Villa Employee#ex22");
  482. enablenpc instance_npcname("Villa Employee#ex23");
  483. }
  484. end;
  485. }
  486. if ('adv_step == 18) {
  487. npctalk "Miriam: I will guard the entrance, so please search the inside of the room.";
  488. end;
  489. }
  490. if ('adv_step == 19) {
  491. mes "[Miriam]";
  492. mes "If we leave it like this, all of these people will be disposed.";
  493. mes "We need to evacuate them before more Heart Hunters come in.";
  494. cutin "ep18_miriam_01.png",0;
  495. next;
  496. mes "[Miriam]";
  497. mes "Then, I will leave the investigation of the chapel to the adventurer.";
  498. mes "I will take those people and evacuate them.";
  499. mes "Please.";
  500. npctalk "Miriam: People inside. I will escort you. Let's go out.", instance_npcname("Miriam#miriam03");
  501. close2;
  502. cutin "",255;
  503. disablenpc instance_npcname("Miriam#miriam03");
  504. end;
  505. }
  506. end;
  507. }
  508. 1@adv,202,145,3 script(DISABLED) Villa Employee#ex21 4_F_SHABBY,{
  509. npctalk "Villa Employee: Please let me out of here...", instance_npcname("Villa Employee#ex21");
  510. end;
  511. }
  512. 1@adv,204,143,3 script(DISABLED) Villa Employee#ex22 4_M_RACHMAN2,{
  513. if ('adv_step == 18) {
  514. mes "[Villa Employee]";
  515. mes "You're going to dispose the evidence huh! Murderer!";
  516. mes "Huh?";
  517. next;
  518. mes "[Villa Employee]";
  519. mes "You! You're here to save us, right?";
  520. mes "The voice I heard outside was Miriam, right?";
  521. next;
  522. mes "[Villa Employee]";
  523. mes "Investigate the chapel! Something definitely suspicious here!";
  524. mes "What? Is the banquet hall closed?";
  525. next;
  526. mes "[Villa Employee]";
  527. mes "Here's the key to the side door.";
  528. mes "You can leave this room and open the door right in front of you.";
  529. mes "I have a spare key because this is the door I usually use to deliver food.";
  530. next;
  531. mes "[Villa Employee]";
  532. mes "And please save us.";
  533. mes "We are not guilty of anything.";
  534. next;
  535. mes "You got a ^4d4dffSpare Key^000000.";
  536. if ('adv_step == 18)
  537. 'adv_step = 19;
  538. close;
  539. }
  540. npctalk "Villa Employee: You can open the door with the spare key.", instance_npcname("Villa Employee#ex22");
  541. end;
  542. }
  543. 1@adv,210,140,6 script(DISABLED) Villa Employee#ex23 4_M_RACHMAN1,{
  544. npctalk "Villa Employee: Are we really going to die?", instance_npcname("Villa Employee#ex23");
  545. end;
  546. }
  547. 1@adv,173,142,0 script Locked Door#key03 4_POINT_YELLOW,{
  548. if ('adv_step < 19) {
  549. mes "Firmly Locked Door.";
  550. mes "There is a small key hole.";
  551. unittalk getcharid(3), "" + strcharinfo(0) + " : I need a key.";
  552. close;
  553. }
  554. mes "I used a spare key.";
  555. progressbar "4D4DFF",2;
  556. if ('adv_step != 19)
  557. close;
  558. 'adv_step = 20;
  559. disablenpc instance_npcname("Locked Door#key03");
  560. enablenpc instance_npcname("#center_room_in");
  561. enablenpc instance_npcname("#center_room_out");
  562. donpcevent instance_npcname("adv_center") + "::OnStart";
  563. close;
  564. }
  565. 1@adv,1,1,5 script adv_center -1,{
  566. end;
  567. OnStart:
  568. .@label$ = instance_npcname("adv_center") + "::OnMobDead";
  569. monster 'map_adv$,156,133,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  570. monster 'map_adv$,156,132,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  571. monster 'map_adv$,155,132,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  572. monster 'map_adv$,156,154,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  573. monster 'map_adv$,155,156,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  574. monster 'map_adv$,124,124,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  575. monster 'map_adv$,123,124,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  576. monster 'map_adv$,122,126,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  577. monster 'map_adv$,126,182,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  578. monster 'map_adv$,122,182,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  579. monster 'map_adv$,126,183,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  580. end;
  581. OnMobDead:
  582. if ('adv_step != 20)
  583. end;
  584. if (mobcount('map_adv$, instance_npcname("adv_center") + "::OnMobDead") < 1) {
  585. 'adv_step = 21;
  586. }
  587. end;
  588. }
  589. 1@adv,124,210,0 script Ornate Door#door01 4_POINT_WHITE,{
  590. if ('adv_step < 20)
  591. end;
  592. if ('adv_step < 22) {
  593. mes "The door won't budge.";
  594. mes "It feels like a strong magical force is blocking the door.";
  595. close;
  596. }
  597. warp 'map_adv$,124,217;
  598. end;
  599. }
  600. // custom coordinates
  601. 1@adv,124,213,0 warp #garden_out 1,1,1@adv,124,206
  602. 1@adv,115,208,0 script Brilliant Article#Knight_left 4_POINT_WHITE,{
  603. if ('adv_step < 20)
  604. end;
  605. specialeffect EF_BLUELINE;
  606. specialeffect EF_SPELLBREAKER, AREA, instance_npcname("Ornate Door#door01");
  607. if ('adv_step != 21)
  608. end;
  609. if ('Knight_left == 1)
  610. npctalk "The magic of the splendid knight has already disappeared.";
  611. else {
  612. 'Knight_left = 1;
  613. if ('Knight_left == 1 && 'Knight_righ == 1) {
  614. 'adv_step = 22;
  615. enablenpc instance_npcname("#flower01");
  616. enablenpc instance_npcname("#flower02");
  617. enablenpc instance_npcname("#flower03");
  618. enablenpc instance_npcname("#flower04");
  619. enablenpc instance_npcname("#flower05");
  620. }
  621. }
  622. end;
  623. }
  624. 1@adv,131,208,0 script Brilliant Article#Knight_righ 4_POINT_WHITE,{
  625. if ('adv_step < 20)
  626. end;
  627. specialeffect EF_BLUELINE;
  628. specialeffect EF_SPELLBREAKER, AREA, instance_npcname("Ornate Door#door01");
  629. if ('adv_step != 21)
  630. end;
  631. if ('Knight_righ == 1)
  632. npctalk "The magic of the splendid knight has already disappeared.";
  633. else {
  634. 'Knight_righ = 1;
  635. if ('Knight_left == 1 && 'Knight_righ == 1) {
  636. 'adv_step = 22;
  637. enablenpc instance_npcname("#flower01");
  638. enablenpc instance_npcname("#flower02");
  639. enablenpc instance_npcname("#flower03");
  640. enablenpc instance_npcname("#flower04");
  641. enablenpc instance_npcname("#flower05");
  642. }
  643. }
  644. end;
  645. }
  646. // Garden
  647. 1@adv,159,221,3 script(DISABLED) #flower01 4_POINT_WHITE,{
  648. if ('adv_step < 22)
  649. end;
  650. mes "There is a flower-shaped device.";
  651. next;
  652. if (select( "Use it.", "Leave it." ) == 2) {
  653. unittalk getcharid(3), "" + strcharinfo(0) + " : Let's find another device.";
  654. end;
  655. }
  656. progressbar "4D4DFF",5;
  657. .@num = atoi( replacestr( strnpcinfo(2), "flower0", "" ) );
  658. if ('flower_num == .@num) {
  659. if ('adv_step != 22)
  660. end;
  661. 'adv_step = 23;
  662. specialeffect EF_BLUELINE;
  663. specialeffect EF_SCREEN_QUAKE;
  664. disablenpc instance_npcname( strnpcinfo(0) );
  665. enablenpc instance_npcname("Schulang#shulang01");
  666. end;
  667. }
  668. mes "Nothing happened.";
  669. close;
  670. }
  671. 1@adv,153,255,3 duplicate(#flower01) #flower02 4_POINT_WHITE
  672. 1@adv,129,238,3 duplicate(#flower01) #flower05 4_POINT_WHITE
  673. 1@adv,89,225,3 duplicate(#flower01) #flower03 4_POINT_WHITE
  674. 1@adv,88,244,3 duplicate(#flower01) #flower04 4_POINT_WHITE
  675. 1@adv,124,267,3 script Elegant Door#door02 4_POINT_WHITE,{
  676. if ('adv_step < 22)
  677. end;
  678. if ('adv_step == 22) {
  679. mes "There is a door with an elegant ^4d4dffLily^000000 engraved on it.";
  680. mes "I feel an unknown magical power.";
  681. close;
  682. }
  683. // (23 or more)
  684. warp 'map_adv$,124,274;
  685. end;
  686. }
  687. // Middle boss
  688. 1@adv,124,301,3 script(DISABLED) Schulang#shulang01 4_EP18_SHULANG,{
  689. if ('adv_step != 23)
  690. end;
  691. if (is_party_leader() == false) {
  692. mes "[Schulang]";
  693. mes "adventurer... didn't you come alone?";
  694. mes "Who is your boss?";
  695. close;
  696. }
  697. mes "[Schulang]";
  698. mes "Coming this far is not normal.";
  699. mes "He's a talent you don't want to miss.";
  700. mes "How about joining hands with us?";
  701. cutin "ep18_shulang.png",2;
  702. next;
  703. switch( select( "Nonsense.", "What's in it for me?" ) ) {
  704. case 1:
  705. unittalk getcharid(3), "" + strcharinfo(0) + " : Nonsense.";
  706. mes "[Schulang]";
  707. mes "I see.";
  708. mes "I didn't think you were this fool.";
  709. next;
  710. break;
  711. case 2:
  712. unittalk getcharid(3), "" + strcharinfo(0) + " : What's in it for me?";
  713. break;
  714. }
  715. mes "[Schulang]";
  716. mes "Adventurers always seek strength.";
  717. mes "The strength you want, we can give it to you.";
  718. next;
  719. select( "Why are you offering me that?" );
  720. mes "[Schulang]";
  721. mes "I think I can communicate better than that stubborn guy.";
  722. next;
  723. select( "If you're a stubborn guy, what do you mean?" );
  724. mes "[Schulang]";
  725. mes "It was that kind of name. A talent who can become stronger if he just changes his old-fashioned personality.";
  726. mes "Unfortunately, the opportunity has passed.";
  727. next;
  728. mes "[Schulang]";
  729. mes "From the looks of it, it doesn't look like you'll accept our offer huh.";
  730. mes "It can't be helped.";
  731. close2;
  732. cutin "",255;
  733. if ('adv_step != 23)
  734. end;
  735. 'adv_step = 24;
  736. npctalk "Schulang: You can no longer enter.", instance_npcname("Schulang#shulang01");
  737. sleep 2500;
  738. npctalk "Schulang: You must die here for the greater good.", instance_npcname("Schulang#shulang01");
  739. sleep 2500;
  740. disablenpc instance_npcname("Schulang#shulang01");
  741. donpcevent instance_npcname("adv_middle_boss") + "::OnStart";
  742. end;
  743. }
  744. 1@adv,1,1,5 script adv_middle_boss -1,{
  745. end;
  746. OnStart:
  747. if ('adv_step != 24)
  748. end;
  749. .@label$ = instance_npcname("adv_middle_boss") + "::OnMobDead";
  750. monster 'map_adv$,124,301,"Schulang the Traitor",21314,1, .@label$; // EP18_MD_SCHULANG
  751. monster 'map_adv$,120,303,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  752. monster 'map_adv$,127,303,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  753. end;
  754. OnMobDead:
  755. if ('adv_step != 24)
  756. end;
  757. if (mobcount('map_adv$, instance_npcname("adv_middle_boss") + "::OnMobDead") < 1) {
  758. 'adv_step = 25;
  759. enablenpc instance_npcname("#boss_in");
  760. enablenpc instance_npcname("Yus Amal#jus01");
  761. enablenpc instance_npcname("Illusion Bagot#bagot01");
  762. }
  763. end;
  764. }
  765. 1@adv,123,355,5 duplicate(dummy_disabled_npc) Miriam#miriam04 EP18_NPC_MIRIAM
  766. 1@adv,124,357,3 duplicate(dummy_cloaked_npc) Twisted God#demigod 4_EP18_DEMIFREYA
  767. 1@adv,122,351,3 duplicate(dummy_cloaked_npc) Schulang#shulang02 4_EP18_SHULANG
  768. // Boss room 1
  769. 1@adv,127,356,3 script(DISABLED) Illusion Bagot#bagot01 4_EP18_BAGOT,{
  770. npctalk "It's fun.";
  771. end;
  772. }
  773. 1@adv,121,355,5 script(DISABLED) Yus Amal#jus01 4_M_RACHOLD,{
  774. if ('adv_step != 25)
  775. end;
  776. if (is_party_leader() == false) {
  777. mes "[Youth]";
  778. mes "Do not touch me! The blasphemy!";
  779. npctalk "Youth: Don't touch me! Profane things!";
  780. close;
  781. }
  782. .@bagot01$ = instance_npcname("Illusion Bagot#bagot01");
  783. .@demigod$ = instance_npcname("Twisted God#demigod");
  784. .@shulang02$ = instance_npcname("Schulang#shulang02");
  785. .@miriam04$ = instance_npcname("Miriam#miriam04");
  786. mes "[Amal]";
  787. mes "These abominable heretics somehow managed to come this far.";
  788. mes "But it doesn't matter.";
  789. mes "You will soon kneel before the Supreme Divinity.";
  790. npctalk "Amal: These abominable heretics somehow managed to come this far. But you will soon kneel before the Supreme Divinity.";
  791. next;
  792. mes "[Amal]";
  793. mes "I will show miracles to the arrogant servants of Odin.";
  794. mes "Bagot, please continue with the ritual.";
  795. npctalk "Amal: I will show miracles to the arrogant servants of Odin. Bagot, please continue with the ritual.";
  796. next;
  797. mes "[Amal]";
  798. mes "They will personally witness Freyja's miracles.";
  799. mes "Bow down at the feet of God and be reborn as a servant of God!";
  800. npctalk "Amal: They will personally witness Freyja's miracles. Bow down and be reborn as a servant of God!";
  801. next;
  802. cutin "ep18_bagot_01.png",2;
  803. mes "[Bagot]";
  804. mes "Wow... the way you talk.. such inspiration. Anyway,";
  805. mes "I made a promise, so I will keep it. Do you understand?";
  806. npctalk "Bagot: Wow... the way you talk.. such inspiration. Anyway, I made a promise, so I will keep it.", .@bagot01$;
  807. next;
  808. cutin "ep18_bagot_03.png",2;
  809. mes "[Bagot]";
  810. mes "First of all, are you THE adventurer?";
  811. mes "Would you like to take a look at my work?";
  812. mes "You too can experience the feeling of taking beautifully crafted pottery out of the kiln.";
  813. npctalk "Bagot: Are you THE adventurer? Would you like to take a look at my work?", .@bagot01$;
  814. close2;
  815. setpcblock PCBLOCK_NPC, true;
  816. npctalk "Bagot: It feels great to be able to check the results of the experiment right away.", .@bagot01$;
  817. specialeffect EF_DQ9_CHARGE3, AREA, .@demigod$;
  818. sleep2 500;
  819. specialeffect EF_SCREEN_QUAKE, AREA, .@demigod$;
  820. sleep2 1000;
  821. specialeffect EF_BEGINSPELL_YB, AREA, .@demigod$;
  822. // enablenpc .@demigod$;
  823. cloakoffnpc .@demigod$; // cloakoffnpc to display effect on rAthena
  824. setpcblock PCBLOCK_NPC, false;
  825. mes "[Bagot]";
  826. mes "Ta-da~ The essence of science and magic is right here!";
  827. mes "I will descend a being in the form of a god!";
  828. npctalk "Bagot: Ta-da~ The essence of science and magic is right here!", .@bagot01$;
  829. next;
  830. mes "[Bagot]";
  831. mes "Being a vessel for God to descend on is no problem for this bar!";
  832. npctalk "Bagot: Being a vessel for God to descend on is no problem for this bar!", .@bagot01$;
  833. next;
  834. cutin "ep18_demifreya.png",1;
  835. mes "[A Being Called God]";
  836. mes "....";
  837. npctalk "A Being Called God: ....", .@demigod$;
  838. next;
  839. mes "[Amal]";
  840. mes "Oh.. .Oooh...! Beautiful Freyja... ! Are you my God?";
  841. npctalk "Amal: Oh.. .Oooh...! Beautiful Freyja... ! Are you my God?";
  842. next;
  843. mes "^4d4dffThe so-called divine being looks like a grown-up version of the Pope.^000000";
  844. mes "^4d4dffA vessel for the goddess Freyja to descend to this world. Its essential purpose.^000000";
  845. next;
  846. select( "Could it be the Pope?!" );
  847. unittalk getcharid(3), "" + strcharinfo(0) + " : Could it be the Pope?!";
  848. cutin "ep18_bagot_02.png",2;
  849. mes "[Bagot]";
  850. mes "What kind of sound is that?";
  851. mes "No matter how bad Bagot was, he wasn't so mean that he would mess with the Pope!";
  852. npctalk "Bagot: What kind of sound is that?", .@bagot01$;
  853. next;
  854. cutin "ep18_bagot_03.png",2;
  855. mes "[Bagot]";
  856. mes "How rude are you to my masterpiece?!";
  857. mes "Are you afraid of my ability to even create a vessel for God to descend on?";
  858. npctalk "Bagot: Are you afraid of my ability to even create a vessel for God to descend on?", .@bagot01$;
  859. next;
  860. cutin "",255;
  861. mes "[Amal]";
  862. mes "Oh.. .Oooh...! My beautiful Goddess Freyja... !";
  863. npctalk "Amal: Oh.. .Oooh...! My beautiful Goddess Freyja... !";
  864. next;
  865. cutin "ep18_bagot_02.png",2;
  866. mes "[Bagot]";
  867. mes "You're not listening to me. Then what is it? Oh~! Yes, a miracle. All you have to do is show me a miracle, right?";
  868. npctalk "Bagot: You're not listening to me. Then what is it? Oh~! Yes, a miracle.", .@bagot01$;
  869. next;
  870. cutin "ep18_demifreya.png",1;
  871. mes "[A Being Called God]";
  872. mes ".....";
  873. npctalk "A Being Called God: .....", .@demigod$;
  874. next;
  875. mes "[A Being Called God]";
  876. mes ".....";
  877. sleep2 500;
  878. mes "We";
  879. npctalk "A Being Called God: ..We..", .@demigod$;
  880. sleep2 1000;
  881. mes "..a..";
  882. npctalk "A Being Called God: ..a..", .@demigod$;
  883. sleep2 1000;
  884. mes "k..";
  885. npctalk "A Being Called God: k...", .@demigod$;
  886. close2;
  887. cutin "",255;
  888. setpcblock PCBLOCK_NPC, true;
  889. sleep2 1500;
  890. specialeffect EF_DQ9_CHARGE3, AREA, .@shulang02$;
  891. sleep2 1000;
  892. specialeffect EF_BEGINSPELL_YB, AREA, .@shulang02$;
  893. cloakoffnpc .@shulang02$;
  894. sleep2 2500;
  895. npctalk "Bagot: What? Did you save him? Did you see the priest? What did Baggot say? I said it would be possible.", .@bagot01$;
  896. sleep2 1500;
  897. setpcblock PCBLOCK_NPC, false;
  898. cutin "ep18_bagot_03.png",2;
  899. mes "[Bagot]";
  900. mes "Here's the proof. Miracle~";
  901. mes "Old priest. Since I summoned your god as promised, I will take the ^4d4dffHeart^000000 with me.";
  902. npctalk "Bagot: Since I summoned your god as promised, I will take the Heart with me.", .@bagot01$;
  903. next;
  904. mes "[Bagot]";
  905. mes "I hope you live forever~";
  906. npctalk "Bagot: I hope you live forever~", .@bagot01$;
  907. next;
  908. cutin "",255;
  909. mes "[Amal]";
  910. mes "A lowly servant has witnessed the miracles of God!";
  911. npctalk "Amal: A lowly servant has witnessed the miracles of God!";
  912. next;
  913. cutin "ep18_bagot_01.png",2;
  914. mes "[Bagot]";
  915. mes "Are you even listening?";
  916. mes "Schulang is a bit of a waste, but that's the end of his role.";
  917. npctalk "Bagot: Are you even listening? Schulang is a bit of a waste, but that's the end of his role.", .@bagot01$;
  918. next;
  919. cutin "ep18_bagot_03.png",2;
  920. mes "[Bagot]";
  921. mes "In the meantime, I kept my promise because I let you live with ^4d4dffstrong taste^000000.";
  922. mes "I'll go~ So adventurer? Hello~!";
  923. npctalk "Bagot: I have kept my promise since I have been able to live with the 'strong taste' for a while. So adventurer? Hello~!", .@bagot01$;
  924. close2;
  925. cutin "",255;
  926. setpcblock PCBLOCK_NPC, true;
  927. disablenpc .@bagot01$;
  928. npctalk "Amal: Oh... Frejya! Please punish these heretics!";
  929. sleep2 2500;
  930. npctalk "A Being Called God: kkigigig kikikig kkigigig", .@demigod$;
  931. sleep2 2500;
  932. npctalk "Amal: ....? What's wrong my God? Your lowly servant is ready to hear the prophecy...";
  933. sleep2 2500;
  934. npctalk "A Being Called God: kkigigigi aaaaa!!!!", .@demigod$;
  935. sleep2 2500;
  936. npctalk "Amal: ...I don't feel any divine power...? why...?";
  937. sleep2 2500;
  938. specialeffect EF_BEGINSPELL5, AREA, .@demigod$;
  939. sleep2 1000;
  940. enablenpc .@miriam04$;
  941. specialeffect EF_GUARD, AREA, .@miriam04$;
  942. sleep2 1000;
  943. npctalk "Amal: How can God punish me, a loyal servant of Freyja?";
  944. sleep2 2500;
  945. npctalk "Miriam: This is not the time. You must leave it! That's not God!", .@miriam04$;
  946. sleep2 2500;
  947. npctalk "A Being Called God: kikikig kikikig ....", .@demigod$;
  948. sleep2 2500;
  949. npctalk "Amal: Nonsense! Miriam, get out of the way!";
  950. sleep2 2500;
  951. npctalk "Miriam: You just almost died. Look straight ahead. Which part of that vile being is God?", .@miriam04$;
  952. sleep2 2500;
  953. npctalk "Miriam: It seems like you need to open your eyes. Father.", .@miriam04$;
  954. sleep2 2000;
  955. npctalk "Amal: This can't be happening! Let go of me, Miriam!";
  956. sleep2 2000;
  957. npctalk "A Being Called God: kkigig...? kkigigi kkyahahahahahahaha!!", .@demigod$;
  958. sleep2 1000;
  959. specialeffect EF_BEGINSPELL5, AREA, .@demigod$;
  960. sleep2 700;
  961. specialeffect EF_BEGINSPELL_YB, AREA, .@demigod$;
  962. npctalk "Miriam: What are you doing!!!!", .@miriam04$;
  963. sleep2 800;
  964. disablenpc instance_npcname("Yus Amal#jus01");
  965. disablenpc .@miriam04$;
  966. sleep2 800;
  967. npctalk "A Being Called God: kyahahahahahahaha!!", .@demigod$;
  968. sleep2 1000;
  969. setpcblock PCBLOCK_NPC, false;
  970. specialeffect EF_BEGINSPELL_YB, AREA, .@demigod$;
  971. mapannounce 'map_adv$, "The chapel has been sealed off.", bc_map, 0x4D4DFF;
  972. disablenpc .@demigod$;
  973. disablenpc .@shulang02$;
  974. donpcevent instance_npcname("adv_demigod_boss") + "::OnStart";
  975. end;
  976. }
  977. 1@adv,1,1,5 script adv_demigod_boss -1,{
  978. end;
  979. OnStart:
  980. if ('adv_step != 25)
  981. end;
  982. 'adv_step = 26;
  983. monster 'map_adv$,124,356,"Twisted God",21315,1, instance_npcname("adv_demigod_boss") + "::OnMobDead"; // EP18_MD_DEMI_FREYJA
  984. monster 'map_adv$,122,351,"Resurrected Schulang",21314,1, instance_npcname("adv_demigod_boss") + "::OnMobDead2"; // EP18_MD_SCHULANG
  985. .@boss_gid = $@mobid[0];
  986. unitskillusepos .@boss_gid,"NPC_CANE_OF_EVIL_EYE",3,123,349,-50,0,0,1;
  987. unitskillusepos .@boss_gid,"NPC_CANE_OF_EVIL_EYE",3,133,338,-50,0,0,1;
  988. unitskillusepos .@boss_gid,"NPC_CANE_OF_EVIL_EYE",3,113,338,-50,0,0,1;
  989. unitskillusepos .@boss_gid,"NPC_CANE_OF_EVIL_EYE",3,123,330,-50,0,0,1;
  990. end;
  991. OnMobDead:
  992. if ('adv_step != 26)
  993. end;
  994. if (mobcount('map_adv$, instance_npcname("adv_demigod_boss") + "::OnMobDead") < 1) {
  995. 'adv_step = 27;
  996. killmonster 'map_adv$, instance_npcname("adv_demigod_boss") + "::OnMobDead2";
  997. mapannounce 'map_adv$, "Amal's Voice: Oh God--!!!", bc_map, 0xFF0000;
  998. enablenpc instance_npcname("#boss_out");
  999. enablenpc instance_npcname("Miriam#miriam05");
  1000. enablenpc instance_npcname("Yus Amal#jus02");
  1001. }
  1002. end;
  1003. OnMobDead2:
  1004. end;
  1005. }
  1006. // Boss room out
  1007. 1@adv,121,321,6 script(DISABLED) Miriam#miriam05 EP18_NPC_MIRIAM,{
  1008. if ('adv_step < 27)
  1009. end;
  1010. if ('adv_step == 27 && ep18_main == 54) {
  1011. npctalk "Miriam: Father!", instance_npcname("Miriam#miriam05");
  1012. mes "[Miriam]";
  1013. mes "What did he do? It suddenly flew out.";
  1014. mes "Are you alright?";
  1015. cutin "ep18_miriam_03.png",0;
  1016. next;
  1017. cutin "",255;
  1018. mes "[Amal]";
  1019. mes "What have you done to God!!!!!!!!!!";
  1020. mes "You can't do that!";
  1021. mes "What have I been doing while waiting for this day...!";
  1022. next;
  1023. cutin "ep18_miriam_03.png",0;
  1024. mes "[Miriam]";
  1025. mes "Do you still believe that is God?";
  1026. mes "Are you really saying that?";
  1027. next;
  1028. select( "This Embryo fell out." );
  1029. mes "[Miriam]";
  1030. mes "Indeed...";
  1031. mes "It was similar to the Pope's...";
  1032. mes "If you look at the Embryo that has fallen, it must have been something created by someone named Bagot.";
  1033. next;
  1034. select( "I'll do the analysis here." );
  1035. cutin "",255;
  1036. mes "[Amal]";
  1037. mes "Miriam! Catch that insolent fool!";
  1038. mes "This person deserves divine punishment!";
  1039. mes "You are a blasphemer!";
  1040. next;
  1041. cutin "ep18_miriam_03.png",0;
  1042. mes "[Miriam]";
  1043. mes "It can't be.";
  1044. mes "The adventurer came this far to help us.";
  1045. next;
  1046. mes "[Miriam]";
  1047. mes "It was like that at the temple too.";
  1048. mes "It looks like they blinded my father too.";
  1049. next;
  1050. cutin "",255;
  1051. mes "[Amal]";
  1052. mes "Are you trying to tell me that I fell for their trick!";
  1053. next;
  1054. cutin "ep18_miriam_03.png",0;
  1055. mes "[Miriam]";
  1056. mes "Let's get out of here first.";
  1057. mes "You can discuss the details after examining the Embryo.";
  1058. next;
  1059. mes "[Miriam]";
  1060. mes "Adventurer, please let me know if the identity of the Twisted God is revealed after the investigation is complete.";
  1061. mes "I will take care of my father.";
  1062. ep18_main = 55;
  1063. erasequest 18083;
  1064. setquest 18084;
  1065. if (is_party_leader() == true)
  1066. enablenpc instance_npcname("#boss_out");
  1067. close3;
  1068. }
  1069. cutin "ep18_miriam_01.png",0;
  1070. mes "[Miriam]";
  1071. mes "I need to take care of my father, so let's get out of here.";
  1072. close3;
  1073. }
  1074. 1@adv,119,320,6 script(DISABLED) Yus Amal#jus02 4_M_RACHOLD,{
  1075. npctalk "Amal: ...Oh my... It can't be like this...", instance_npcname("Yus Amal#jus02");
  1076. end;
  1077. }