VillaofHighPriest.txt 39 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166
  1. //===== rAthena Script =======================================
  2. //= Instance: Villa of High Priest.
  3. //===== Description: =========================================
  4. //- [Walkthrough conversion]
  5. //- Part of the episode 18.1 main quest.
  6. //===== Changelogs: ==========================================
  7. //= 1.0 First version. [Capuche]
  8. //============================================================
  9. // Main Quest: Step 61.
  10. oz_dun01,219,117,5 script(CLOAKED) Aira#c12_01 4_M_BRZ_JACI,{
  11. if (ep18_1_main == 54) {
  12. .@md_name$ = "Villa of High Priest";
  13. mes "[Aira]";
  14. mes "The entrance to the villa? The key is the entrance.";
  15. mes "Some kind of movement magic? There is something like that.";
  16. mes "When you're ready, shall I guide you to the villa?";
  17. next;
  18. mes "[Aira]";
  19. mes "And because you never know what's going to happen inside.";
  20. mes "If you have a colleague, I suggest you join them.";
  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 "[Aira]";
  30. mes "I'll see you then.";
  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 "[Aira]";
  42. mes "^ff0000An unknown error occurred.^000000";
  43. close;
  44. case IE_NOINSTANCE:
  45. mes "[Aira]";
  46. mes "^ff0000Your party leader has not yet created the dungeon.^000000";
  47. close;
  48. case IE_NOMEMBER:
  49. mes "[Aira]";
  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) + " of the party, " + getpartyname( getcharid(1) ) + ", is entering " + .@md_name$ + ".",bc_map,"0x00ff99",FW_NORMAL,12;
  54. // warp "1@adv",123,17;
  55. end;
  56. }
  57. }
  58. }
  59. end;
  60. }
  61. // warps
  62. 1@adv,63,142,0 warp #left_room_in 1,1,1@adv,56,142
  63. 1@adv,60,142,0 warp #left_room_out 1,1,1@adv,66,142
  64. 1@adv,185,142,0 warp #right_room_in 1,1,1@adv,190,142
  65. 1@adv,187,142,0 warp #right_room_out 1,1,1@adv,182,142
  66. 1@adv,173,142,0 warp #center_room_in 1,1,1@adv,167,142
  67. 1@adv,171,142,0 warp #center_room_out 1,1,1@adv,177,142
  68. 1@adv,123,309,0 warp #boss_in 1,1,1@adv,123,321
  69. 1@adv,123,312,0 warp #boss_out 1,1,oz_dun01,220,112
  70. 1@adv,122,20,5 script Aira#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.";
  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. disablenpc instance_npcname("Miriam#miriam02");
  80. disablenpc instance_npcname("Heart Hunter#rh03");
  81. disablenpc instance_npcname("Heart Hunter#rh04");
  82. disablenpc instance_npcname("Heart Hunter#rh05");
  83. disablenpc instance_npcname("Heart Hunter#rh06");
  84. disablenpc instance_npcname("Heart Hunter#rh07");
  85. disablenpc instance_npcname("#left_room_in");
  86. disablenpc instance_npcname("#left_room_out");
  87. disablenpc instance_npcname("#right_room_in");
  88. disablenpc instance_npcname("#right_room_out");
  89. disablenpc instance_npcname("#center_room_in");
  90. disablenpc instance_npcname("#center_room_out");
  91. disablenpc instance_npcname("#boss_in");
  92. disablenpc instance_npcname("#boss_out");
  93. disablenpc instance_npcname("Silver Key#key01");
  94. disablenpc instance_npcname("Gold Key#key02");
  95. disablenpc instance_npcname("Miriam#miriam03");
  96. disablenpc instance_npcname("Villa Employee#ex21");
  97. disablenpc instance_npcname("Villa Employee#ex22");
  98. disablenpc instance_npcname("Villa Employee#ex23");
  99. disablenpc instance_npcname("#flower01");
  100. disablenpc instance_npcname("#flower02");
  101. disablenpc instance_npcname("#flower03");
  102. disablenpc instance_npcname("#flower04");
  103. disablenpc instance_npcname("#flower05");
  104. // middle boss
  105. disablenpc instance_npcname("Shulang#Shulang01");
  106. // boss room 1
  107. disablenpc instance_npcname("Priest Youth#jus01");
  108. disablenpc instance_npcname("Illusion Bagot#bagot01");
  109. disablenpc instance_npcname("Miriam#miriam04");
  110. cloakonnpc instance_npcname("Goddess Form#demigod");
  111. cloakonnpc instance_npcname("Shulang#Shulang02");
  112. // Boss room out
  113. disablenpc instance_npcname("Miriam#miriam05");
  114. disablenpc instance_npcname("Priest Youth#jus02");
  115. end;
  116. }
  117. 1@adv,125,23,3 script Miriam#miriam01 EP18_NPC_MIRIAM,{
  118. if (is_party_leader() == false) {
  119. mes "[Miriam]";
  120. mes "Are you all gathered?";
  121. close;
  122. }
  123. if (ep18_1_main != 54)
  124. end;
  125. if ('adv_step == 0) {
  126. 'adv_step = 1;
  127. // note: player can move and talk to other npc
  128. .@npc$ = instance_npcname("Aira#aira01");
  129. sleep 2500;
  130. npctalk "Aira: Here. It'll be fine if only users go on the first floor.", .@npc$;
  131. sleep 2500;
  132. npctalk "Miriam: 2nd floor?";
  133. sleep 2500;
  134. npctalk "Aira: The monks are staying. I don't know if they are really monks.", .@npc$;
  135. sleep 2500;
  136. npctalk "Aira: She's violent and seems to have a weapon.", .@npc$;
  137. sleep 2500;
  138. npctalk "Miriam: Okay. Thanks for the guidance. We'll do a search inside.";
  139. sleep 2500;
  140. npctalk "Aira: Don't worry about me. Be careful, you two.", .@npc$;
  141. sleep 2500;
  142. npctalk "Miriam: Then we'll go up slowly.";
  143. sleep 2500;
  144. npctalk "Aira: Find the key to the 2nd floor banquet hall. There must be something beyond that!", .@npc$;
  145. 'adv_step = 2;
  146. end;
  147. }
  148. if ('adv_step == 2) {
  149. cutin "ep18_miriam_03.png",0;
  150. mes "[Miriam]";
  151. mes "I think we should go up to the second floor to see if there are other employees.";
  152. npctalk "Miriam: I think we should go up to the second floor after seeing if there are other employees.";
  153. next;
  154. mes "[Miriam]";
  155. mes "I can feel a sharp presence over the Jungam stairs. Maybe it's the Heart Hunter who fought in the temple.";
  156. npctalk "Miriam: I feel a ferocious presence. Perhaps the Heart Hunter who fought in the temple.";
  157. next;
  158. mes "[Miriam]";
  159. mes "I'm concerned about Ymir's heart fragment, which seems to have disappeared. The temple alone is enough to promote a riot.";
  160. npctalk "Miriam: I'm concerned about the missing heart fragment of Ymir. The temple alone is enough to provoke a riot.";
  161. next;
  162. mes "[Miriam]";
  163. mes "If your father has another plan and goes the wrong way, you should stop it.";
  164. npctalk "Miriam: If your father is going the wrong way with another plan, we must stop him.";
  165. next;
  166. mes "[Miriam]";
  167. mes "Shall we get information from the remaining employees first?";
  168. npctalk "Miriam: Shall we get some information from the remaining employees first?";
  169. next;
  170. mes "[Miriam]";
  171. mes "I will go to that male employee. Adventurer, please find another employee.";
  172. npctalk "Miriam: I will go to that male servant. Adventurer, please find another employee.";
  173. close2;
  174. cutin "",255;
  175. npctalk "Then I'll go to the employee over there.";
  176. if ('adv_step == 2) {
  177. 'adv_step = 3;
  178. npcwalkto 136,46;
  179. }
  180. end;
  181. }
  182. if ('adv_step == 3) {
  183. npctalk "Miriam: Find another employee.";
  184. end;
  185. }
  186. if ('adv_step == 4) {
  187. 'adv_step = 5;
  188. .@extra01$ = instance_npcname("Villa Employee#extra01");
  189. .@extra02$ = instance_npcname("Villa Employee#extra02");
  190. .@rh01$ = instance_npcname("Heart Hunter#rh01");
  191. .@rh02$ = instance_npcname("Heart Hunter#rh02");
  192. npctalk "Miriam: A Heart Hunter disguised as a priest, right?";
  193. sleep 2000;
  194. emotion ET_SURPRISE, getnpcid(0,"Miriam#miriam01");
  195. emotion ET_SURPRISE, getnpcid(0,"Villa Employee#extra02");
  196. mapannounce 'map_adv$, "Someone yells: Ouch! Why are you doing this! Help me!", bc_map, 0xFF99;
  197. sleep 1000;
  198. npctalk "Miriam: Screaming now! What's going on?";
  199. sleep 1000;
  200. mapannounce 'map_adv$, "Ahhhh-!", bc_map, 0xFF99;
  201. sleep 1000;
  202. npctalk "Miriam: Aira!!";
  203. sleep 2500;
  204. npctalk "Miriam: I think something happened. I'll go see Aira.";
  205. sleep 2500;
  206. npctalk "Hans: Lady! Take me too!", .@extra02$;
  207. sleep 2500;
  208. npctalk "Miriam: Then I'll see if Aira and the others are safe.";
  209. sleep 2500;
  210. npctalk "Miriam: Adventurers, please enter first. Hans, let's go together.";
  211. sleep 2500;
  212. disablenpc .@extra01$;
  213. disablenpc .@extra02$;
  214. disablenpc instance_npcname("Miriam#miriam01");
  215. enablenpc .@rh01$;
  216. enablenpc .@rh02$;
  217. sleep 1000;
  218. npctalk "Hey, are we spherical?", .@rh01$;
  219. npctalk "Thank you for being deceived into being a colleague in Wolf Village. Friend.", .@rh02$;
  220. sleep 2500;
  221. disablenpc .@rh01$;
  222. disablenpc .@rh02$;
  223. donpcevent instance_npcname("adv_extra_02") + "::OnStart";
  224. 'adv_step = 6;
  225. end;
  226. }
  227. }
  228. 1@adv,133,43,6 duplicate(dummy_disabled_npc) Heart Hunter#rh01 EP18_MD_HEARTHUNTER_R
  229. 1@adv,135,41,7 duplicate(dummy_disabled_npc) Heart Hunter#rh02 EP18_MD_HEARTHUNTER_R
  230. 1@adv,100,24,4 script Villa Employee#extra01 4_F_SHABBY,{
  231. if ('adv_step == 3) {
  232. mes "[Villa Employee]";
  233. mes "I'm new to you, who are you?";
  234. mes "Are you an elderly guest?";
  235. next;
  236. select("Where are you, Amal?");
  237. mes "[Villa Employee]";
  238. mes "Will you not be in the chapel?";
  239. mes "When you come here, you always find the chapel first.";
  240. next;
  241. unittalk getcharid(3), "" + strcharinfo(0) + " : Does the villa have a chapel?";
  242. mes "[Villa Employee]";
  243. mes "Yes. He was a faithful man, so he built a chapel inside the mansion.";
  244. next;
  245. select("Anyone else?");
  246. mes "[Villa Employee]";
  247. mes "Most of them were suddenly fired.";
  248. mes "I was told to leave a while ago, but is this telling me to quit my job.";
  249. next;
  250. mes "[Villa Employee]";
  251. mes "The atmosphere was so wild that I couldn't even ask.";
  252. mes "The chapel can be reached by going up the central staircase and passing through the banquet hall.";
  253. mes "Then see you.";
  254. 'adv_step = 4;
  255. close;
  256. }
  257. mes "[Villa Employee]";
  258. mes "Amal went to the chapel";
  259. mes "Go up the central staircase and pass the banquet hall to find the chapel.";
  260. close;
  261. }
  262. 1@adv,138,49,3 script Villa Employee#extra02 4_M_MIDDLE,{
  263. if ('adv_step < 4) {
  264. mes "This is the person Miriam decided to investigate. Let's find another one.";
  265. close;
  266. }
  267. npctalk "Hans: The atmosphere of the villa is not unusual. All the priests were armed.";
  268. end;
  269. }
  270. 1@adv,1,1,5 script adv_extra_02 -1,{
  271. end;
  272. OnStart:
  273. .@label$ = instance_npcname("adv_extra_02") + "::OnMobDead";
  274. monster 'map_adv$,133,43,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  275. monster 'map_adv$,135,41,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  276. end;
  277. OnMobDead:
  278. if ('adv_step != 6)
  279. end;
  280. if (mobcount('map_adv$, instance_npcname("adv_extra_02") + "::OnMobDead") < 1) {
  281. 'adv_step = 7;
  282. enablenpc instance_npcname("Aira#aira02");
  283. enablenpc instance_npcname("Anna#anna01");
  284. enablenpc instance_npcname("Hans#hans01");
  285. enablenpc instance_npcname("Miriam#miriam02");
  286. }
  287. end;
  288. }
  289. 1@adv,124,17,7 script Miriam#miriam02 EP18_NPC_MIRIAM,{
  290. if ('adv_step < 10) {
  291. if (is_party_leader() == false || 'adv_step != 7) {
  292. npctalk "Miriam: Leave this to me and take care of the Heart Hunter on the 2nd floor.";
  293. end;
  294. }
  295. setpcblock PCBLOCK_NPC, true;
  296. 'adv_step = 8;
  297. .@miriam$ = instance_npcname("Miriam#miriam02");
  298. .@label$ = .@miriam$ + "::OnMobDead";
  299. enablenpc instance_npcname("Heart Hunter#rh03");
  300. enablenpc instance_npcname("Heart Hunter#rh04");
  301. enablenpc instance_npcname("Heart Hunter#rh05");
  302. enablenpc instance_npcname("Heart Hunter#rh06");
  303. enablenpc instance_npcname("Heart Hunter#rh07");
  304. npctalk "Ha... You obviously didn't tell me to empty it? Why are there still rats?", instance_npcname("Heart Hunter#rh05");
  305. sleep2 2500;
  306. npctalk "Miriam: Adventurer, I'll take care of this.";
  307. sleep2 2500;
  308. npctalk "Miriam: Adventurer, break through the lobby. We'll split it up.";
  309. sleep2 2000;
  310. npctalk "You can't leave it like that. Block the stairs!", instance_npcname("Heart Hunter#rh05");
  311. unitwalk getnpcid(0,instance_npcname("Heart Hunter#rh03")), 124,40, .@miriam$ + "::OnMove1";
  312. unitwalk getnpcid(0,instance_npcname("Heart Hunter#rh07")), 124,41, .@miriam$ + "::OnMove2";
  313. sleep2 3000;
  314. npctalk "Miriam: Adventurer! Stop them! I will deal with this place and evacuate everyone!";
  315. setpcblock PCBLOCK_NPC, false;
  316. 'adv_step = 9;
  317. monster 'map_adv$,125,42,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  318. monster 'map_adv$,121,42,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  319. monster 'map_adv$,126,43,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  320. monster 'map_adv$,121,43,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  321. monster 'map_adv$,123,63,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  322. monster 'map_adv$,124,63,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  323. monster 'map_adv$,122,65,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  324. monster 'map_adv$,102,64,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  325. monster 'map_adv$,102,64,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  326. monster 'map_adv$,144,65,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  327. monster 'map_adv$,146,66,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  328. monster 'map_adv$,146,63,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  329. end;
  330. }
  331. if (is_party_leader() == false)
  332. end;
  333. if ('adv_step == 10) // npc is walking
  334. end;
  335. if ('adv_step == 11) {
  336. 'adv_step = 12;
  337. setpcblock PCBLOCK_NPC, true;
  338. npctalk "Miriam: The door is locked. Shall we find it separately?";
  339. sleep2 2500;
  340. npctalk "Miriam: I'll go through the hallway on the right. Adventurer, please search on the left.";
  341. setpcblock PCBLOCK_NPC, false;
  342. sleep 2500;
  343. unitwalk getnpcid(0), 131,97, instance_npcname("Miriam#miriam02") + "::OnRight";
  344. donpcevent instance_npcname("adv_key_left") + "::OnStart";
  345. end;
  346. }
  347. end;
  348. OnMove1:
  349. disablenpc instance_npcname("Heart Hunter#rh03");
  350. end;
  351. OnMove2:
  352. disablenpc instance_npcname("Heart Hunter#rh07");
  353. end;
  354. OnMiddle1:
  355. unitwalk getnpcid(0), 124,77, instance_npcname("Miriam#miriam02") + "::OnMiddle2";
  356. end;
  357. OnMiddle2:
  358. unitwalk getnpcid(0), 124,97, instance_npcname("Miriam#miriam02") + "::OnMiddle3";
  359. end;
  360. OnMiddle3:
  361. 'adv_step = 11;
  362. end;
  363. OnRight:
  364. disablenpc instance_npcname("Miriam#miriam02");
  365. enablenpc instance_npcname("Miriam#miriam03");
  366. end;
  367. OnMobDead:
  368. if ('adv_step != 9)
  369. end;
  370. if (mobcount('map_adv$, instance_npcname("Miriam#miriam02") + "::OnMobDead") < 1) {
  371. 'adv_step = 10;
  372. disablenpc instance_npcname("Heart Hunter#rh04");
  373. disablenpc instance_npcname("Heart Hunter#rh05");
  374. disablenpc instance_npcname("Heart Hunter#rh06");
  375. disablenpc instance_npcname("Aira#aira02");
  376. disablenpc instance_npcname("Anna#anna01");
  377. disablenpc instance_npcname("Hans#hans01");
  378. unitwalk getnpcid(0), 124,47, instance_npcname("Miriam#miriam02") + "::OnMiddle1";
  379. }
  380. end;
  381. }
  382. 1@adv,119,19,5 script Heart Hunter#rh04 EP18_MD_HEARTHUNTER_R,{
  383. npctalk "Your courage is imaginary!";
  384. end;
  385. }
  386. 1@adv,124,21,3 script Heart Hunter#rh05 EP18_MD_HEARTHUNTER_R,{
  387. npctalk "Are you going to handle it yourself?";
  388. end;
  389. }
  390. 1@adv,130,18,3 script Heart Hunter#rh06 EP18_MD_HEARTHUNTER_R,{
  391. npctalk "You can't escape!";
  392. end;
  393. }
  394. 1@adv,114,14,5 duplicate(dummy_npc) Heart Hunter#rh03 EP18_MD_HEARTHUNTER_R,3,5
  395. 1@adv,133,14,3 duplicate(dummy_npc) Heart Hunter#rh07 EP18_MD_HEARTHUNTER_R,2,5
  396. 1@adv,122,14,7 duplicate(dummy_disabled_npc) Aira#aira02 4_M_BRZ_JACI
  397. 1@adv,124,14,6 duplicate(dummy_disabled_npc) Anna#anna01 4_F_SHABBY
  398. 1@adv,126,14,1 duplicate(dummy_disabled_npc) Hans#hans01 4_M_MIDDLE
  399. 1@adv,1,1,5 script adv_key_left -1,{
  400. end;
  401. OnStart:
  402. .@label$ = instance_npcname("adv_key_left") + "::OnMobDead";
  403. monster 'map_adv$,69,117,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  404. monster 'map_adv$,65,118,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  405. monster 'map_adv$,65,118,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  406. monster 'map_adv$,68,140,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  407. monster 'map_adv$,68,140,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  408. monster 'map_adv$,69,141,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  409. monster 'map_adv$,66,159,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  410. monster 'map_adv$,68,160,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  411. monster 'map_adv$,68,160,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  412. monster 'map_adv$,65,182,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  413. monster 'map_adv$,67,182,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  414. end;
  415. OnMobDead:
  416. if ('adv_step != 12)
  417. end;
  418. if (mobcount('map_adv$, instance_npcname("adv_key_left") + "::OnMobDead") < 1) {
  419. 'adv_step = 13;
  420. enablenpc instance_npcname("Silver Key#key01");
  421. }
  422. end;
  423. }
  424. 1@adv,67,182,3 script Silver Key#key01 4_POINT_WHITE,{
  425. if ('adv_step != 13)
  426. end;
  427. progressbar "4D4DFF",2;
  428. if ('adv_step != 13)
  429. end;
  430. 'adv_step = 14;
  431. disablenpc instance_npcname("Silver Key#key01");
  432. unittalk getcharid(3), "" + strcharinfo(0) + " : Found a small Silver Key.";
  433. end;
  434. }
  435. 1@adv,63,142,0 script Locked Door#key01 4_POINT_WHITE,{
  436. if ('adv_step < 14) {
  437. mes "A Locked door.";
  438. mes "There is a Silver Keyhole.";
  439. unittalk getcharid(3), "" + strcharinfo(0) + " : I need a Silver Key.";
  440. close;
  441. }
  442. progressbar "4D4DFF",2;
  443. if ('adv_step != 14)
  444. end;
  445. 'adv_step = 15;
  446. disablenpc instance_npcname("Locked Door#key01");
  447. enablenpc instance_npcname("#left_room_in");
  448. enablenpc instance_npcname("#left_room_out");
  449. donpcevent instance_npcname("adv_get_key02") + "::OnStart";
  450. end;
  451. }
  452. 1@adv,1,1,5 script adv_get_key02 -1,{
  453. end;
  454. OnStart:
  455. .@label$ = instance_npcname("adv_get_key02") + "::OnMobDead";
  456. monster 'map_adv$,40,142,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  457. monster 'map_adv$,40,141,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  458. monster 'map_adv$,39,143,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  459. end;
  460. OnMobDead:
  461. if ('adv_step != 15)
  462. end;
  463. if (mobcount('map_adv$, instance_npcname("adv_get_key02") + "::OnMobDead") < 1) {
  464. 'adv_step = 16;
  465. enablenpc instance_npcname("Gold Key#key02");
  466. }
  467. end;
  468. }
  469. 1@adv,29,157,3 script Gold Key#key02 4_POINT_WHITE,{
  470. if ('adv_step != 16)
  471. end;
  472. progressbar "4D4DFF",2;
  473. if ('adv_step != 16)
  474. end;
  475. 'adv_step = 17;
  476. disablenpc instance_npcname("Gold Key#key02");
  477. unittalk getcharid(3), "" + strcharinfo(0) + " : Found a small golden key.";
  478. end;
  479. }
  480. 1@adv,182,144,4 script Miriam#miriam03 EP18_NPC_MIRIAM,{
  481. if ('adv_step < 17)
  482. end;
  483. if ('adv_step == 17) {
  484. mes "[Miriam]";
  485. mes "You found the key.";
  486. mes "It looks like some of the mansion's employees are trapped inside.";
  487. mes "I'm watching the net, so go in.";
  488. cutin "ep18_miriam_01.png",0;
  489. close2;
  490. cutin "",255;
  491. if ('adv_step == 17) {
  492. 'adv_step = 18;
  493. enablenpc instance_npcname("#right_room_in");
  494. enablenpc instance_npcname("#right_room_out");
  495. enablenpc instance_npcname("Villa Employee#ex21");
  496. enablenpc instance_npcname("Villa Employee#ex22");
  497. enablenpc instance_npcname("Villa Employee#ex23");
  498. }
  499. end;
  500. }
  501. if ('adv_step == 18) {
  502. npctalk "Miriam: I will guard the entrance, so please search the inside of the room.";
  503. end;
  504. }
  505. if ('adv_step == 19) {
  506. mes "[Miriam]";
  507. mes "If you leave it like this, all of these people will be silenced.";
  508. mes "We must evacuate them before more Heart Hunters come.";
  509. cutin "ep18_miriam_01.png",0;
  510. next;
  511. npctalk "Miriam: Those inside. I'll escort you. Get out.";
  512. mes "[Miriam]";
  513. mes "Then I'll leave the chapel investigation to the adventurer.";
  514. mes "I will take them and evacuate them.";
  515. mes "Please";
  516. npctalk "Miriam: Those inside. I'll escort you. Get out.";
  517. close2;
  518. cutin "",255;
  519. disablenpc instance_npcname("Miriam#miriam03");
  520. end;
  521. }
  522. end;
  523. }
  524. 1@adv,202,145,3 script Villa Employee#ex21 4_F_SHABBY,{
  525. npctalk "Villa Employee: Get me out of here.";
  526. end;
  527. }
  528. 1@adv,204,143,3 script Villa Employee#ex22 4_M_RACHMAN2,{
  529. if ('adv_step == 18) {
  530. mes "[Villa Employee]";
  531. mes "Destruction of evidence. Destruction of murder!";
  532. mes "Isn't it a big mistake to have come to protest and stole some chapel after being fired?";
  533. next;
  534. mes "[Villa Employee]";
  535. mes "You! Are you here to save us?";
  536. mes "You heard a voice outside, isn't it, Miss Miriam?";
  537. next;
  538. mes "[Villa Employee]";
  539. mes "Examine the chapel! It's very suspicious!";
  540. mes "What? Is the banquet hall closed?";
  541. next;
  542. mes "[Villa Employee]";
  543. mes "Here is the key to the side door.";
  544. mes "You can leave this room and open the door you see right in front of you.";
  545. mes "I have a spare key because it is the door where I usually carry food.";
  546. next;
  547. npctalk "Villa Employee: Get me out of here..", instance_npcname("Villa Employee#ex21");
  548. mes "[Villa Employee]";
  549. mes "And save me.";
  550. mes "We are not guilty of anything";
  551. next;
  552. mes "You got the ^4d4dff spare key^000000.";
  553. if ('adv_step == 18)
  554. 'adv_step = 19;
  555. close;
  556. }
  557. npctalk "Villa Employee: You can open the door with a spare key.";
  558. end;
  559. }
  560. 1@adv,210,140,6 script Villa Employee#ex23 4_M_RACHMAN1,{
  561. npctalk "Villa Employee: Are we all going to die?";
  562. end;
  563. }
  564. 1@adv,173,142,0 script Locked Door#key03 4_POINT_YELLOW,{
  565. if ('adv_step < 19) {
  566. mes "A Locked door.";
  567. mes "There is a small keyhole.";
  568. unittalk getcharid(3), "" + strcharinfo(0) + " : I need a key.";
  569. close;
  570. }
  571. progressbar "4D4DFF",2;
  572. if ('adv_step != 19)
  573. end;
  574. 'adv_step = 20;
  575. disablenpc instance_npcname("Locked Door#key03");
  576. enablenpc instance_npcname("#center_room_in");
  577. enablenpc instance_npcname("#center_room_out");
  578. donpcevent instance_npcname("adv_center") + "::OnStart";
  579. end;
  580. }
  581. 1@adv,1,1,5 script adv_center -1,{
  582. end;
  583. OnStart:
  584. .@label$ = instance_npcname("adv_center") + "::OnMobDead";
  585. monster 'map_adv$,156,133,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  586. monster 'map_adv$,156,132,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  587. monster 'map_adv$,155,132,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  588. monster 'map_adv$,156,154,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  589. monster 'map_adv$,155,156,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  590. monster 'map_adv$,124,124,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  591. monster 'map_adv$,123,124,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  592. monster 'map_adv$,122,126,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  593. monster 'map_adv$,126,182,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  594. monster 'map_adv$,122,182,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  595. monster 'map_adv$,126,183,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  596. end;
  597. OnMobDead:
  598. if ('adv_step != 20)
  599. end;
  600. if (mobcount('map_adv$, instance_npcname("adv_center") + "::OnMobDead") < 1) {
  601. 'adv_step = 21;
  602. }
  603. end;
  604. }
  605. 1@adv,124,210,0 script Colorful door#door01 4_POINT_WHITE,{
  606. if ('adv_step < 20)
  607. end;
  608. if ('adv_step < 22) {
  609. mes "The door won't open. It's a feeling of strong magical energy gushing out.";
  610. close;
  611. }
  612. warp 'map_adv$,124,217;
  613. end;
  614. }
  615. // custom coordinates
  616. 1@adv,124,213,0 warp #garden_out 1,1,1@adv,124,206
  617. 1@adv,115,208,0 script Gorgeous Knight#Knight_left 4_POINT_WHITE,{
  618. if ('adv_step < 20)
  619. end;
  620. specialeffect EF_BLUELINE;
  621. specialeffect EF_SPELLBREAKER, AREA, instance_npcname("Colorful door#door01");
  622. if ('adv_step != 21)
  623. end;
  624. if ('Knight_left == 1)
  625. npctalk "The magic of the splendid knight has already disappeared.";
  626. else {
  627. 'Knight_left = 1;
  628. if ('Knight_left == 1 && 'Knight_righ == 1) {
  629. 'adv_step = 22;
  630. enablenpc instance_npcname("#flower01");
  631. enablenpc instance_npcname("#flower02");
  632. enablenpc instance_npcname("#flower03");
  633. enablenpc instance_npcname("#flower04");
  634. enablenpc instance_npcname("#flower05");
  635. }
  636. }
  637. end;
  638. }
  639. 1@adv,131,208,0 script Gorgeous Knight#Knight_righ 4_POINT_WHITE,{
  640. if ('adv_step < 20)
  641. end;
  642. specialeffect EF_BLUELINE;
  643. specialeffect EF_SPELLBREAKER, AREA, instance_npcname("Colorful door#door01");
  644. if ('adv_step != 21)
  645. end;
  646. if ('Knight_righ == 1)
  647. npctalk "The magic of the splendid knight has already disappeared.";
  648. else {
  649. 'Knight_righ = 1;
  650. if ('Knight_left == 1 && 'Knight_righ == 1) {
  651. 'adv_step = 22;
  652. enablenpc instance_npcname("#flower01");
  653. enablenpc instance_npcname("#flower02");
  654. enablenpc instance_npcname("#flower03");
  655. enablenpc instance_npcname("#flower04");
  656. enablenpc instance_npcname("#flower05");
  657. }
  658. }
  659. end;
  660. }
  661. // Garden
  662. 1@adv,159,221,3 script #flower01 4_POINT_WHITE,{
  663. if ('adv_step < 22)
  664. end;
  665. mes "There is a flower-shaped device.";
  666. next;
  667. if (select( "Operate", "Stop" ) == 1) {
  668. progressbar "4D4DFF",5;
  669. .@num = atoi( replacestr( strnpcinfo(2), "flower0", "" ) );
  670. if ('flower_num == .@num) {
  671. if ('adv_step != 22)
  672. end;
  673. 'adv_step = 23;
  674. specialeffect EF_BLUELINE;
  675. specialeffect EF_SCREEN_QUAKE;
  676. disablenpc instance_npcname( strnpcinfo(0) );
  677. enablenpc instance_npcname("Shulang#Shulang01");
  678. end;
  679. }
  680. mes "Nothing happened";
  681. close;
  682. }
  683. end;
  684. }
  685. 1@adv,153,255,3 duplicate(#flower01) #flower02 4_POINT_WHITE
  686. 1@adv,129,238,3 duplicate(#flower01) #flower05 4_POINT_WHITE
  687. 1@adv,89,225,3 duplicate(#flower01) #flower03 4_POINT_WHITE
  688. 1@adv,88,244,3 duplicate(#flower01) #flower04 4_POINT_WHITE
  689. 1@adv,124,267,3 script Elegant Door#door02 4_POINT_WHITE,{
  690. if ('adv_step < 22)
  691. end;
  692. if ('adv_step == 22) {
  693. mes "There is a person who is engraved with an elegant performance. I can feel the magic that I can't do.";
  694. close;
  695. }
  696. // (23 or more)
  697. warp 'map_adv$,124,274;
  698. end;
  699. }
  700. // Middle boss
  701. 1@adv,124,301,3 script Shulang#Shulang01 4_EP18_shulang,{
  702. if ('adv_step != 23)
  703. end;
  704. if (is_party_leader() == false) {
  705. mes "[Shulang]";
  706. mes "adventurer... didn't you come alone?";
  707. mes "Who is your boss?";
  708. close;
  709. }
  710. cutin "ep18_shulang.png",2;
  711. mes "[Shulang]";
  712. mes "Coming all the way here, it's not normal.";
  713. mes "He's a talent not to be missed.";
  714. mes "How about holding hands with us?";
  715. cutin "ep18_shulang.png",2;
  716. next;
  717. select( "Something crazy", "What's the benefit to me?" );
  718. unittalk getcharid(3), "" + strcharinfo(0) + " : what's the benefit to me?";
  719. mes "[Shulang]";
  720. mes "Adventures always seek strength.";
  721. mes "The strength you want, we can give it.";
  722. next;
  723. select("Why are you making that suggestion to me?");
  724. mes "[Shulang]";
  725. mes "I think I'll get along better than a savvy guy.";
  726. next;
  727. select("If you're a savvy guy, you mean Asu?");
  728. mes "[Shulang]";
  729. mes "It was such a name. A person who can become stronger if he changes his old-fashioned personality.";
  730. mes "Unfortunately, the opportunity is gone.";
  731. next;
  732. mes "[Shulang]";
  733. mes "Looking at you, I don't think you'll fall for it too easily.";
  734. mes "I can't help it.";
  735. close2;
  736. cutin "",255;
  737. if ('adv_step != 23)
  738. end;
  739. 'adv_step = 24;
  740. npctalk "Shulang: can't enter anymore";
  741. sleep 2500;
  742. npctalk "Shulang: You must die here for a cause.";
  743. sleep 2500;
  744. disablenpc instance_npcname("Shulang#Shulang01");
  745. donpcevent instance_npcname("adv_middle_boss") + "::OnStart";
  746. end;
  747. }
  748. 1@adv,1,1,5 script adv_middle_boss -1,{
  749. end;
  750. OnStart:
  751. if ('adv_step != 24)
  752. end;
  753. .@label$ = instance_npcname("adv_middle_boss") + "::OnMobDead";
  754. monster 'map_adv$,124,301,"Shulang the Traitor",21314,1, .@label$; // EP18_MD_SCHULANG
  755. monster 'map_adv$,120,303,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  756. monster 'map_adv$,127,303,"Heart Hunter",21312,1, .@label$; // EP18_MD_HEARTHUNTER_R
  757. end;
  758. OnMobDead:
  759. if ('adv_step != 24)
  760. end;
  761. if (mobcount('map_adv$, instance_npcname("adv_middle_boss") + "::OnMobDead") < 1) {
  762. 'adv_step = 25;
  763. enablenpc instance_npcname("#boss_in");
  764. enablenpc instance_npcname("Priest Youth#jus01");
  765. enablenpc instance_npcname("Illusion Bagot#bagot01");
  766. }
  767. end;
  768. }
  769. 1@adv,123,355,5 duplicate(dummy_npc) Miriam#miriam04 EP18_NPC_MIRIAM
  770. 1@adv,124,357,3 duplicate(dummy_npc) Goddess Form#demigod 4_EP18_DEMIFREYA
  771. 1@adv,122,351,3 duplicate(dummy_npc) Shulang#Shulang02 4_EP18_shulang
  772. // Boss room 1
  773. 1@adv,127,356,3 script Illusion Bagot#bagot01 4_EP18_BAGOT,{
  774. npctalk "It's fun.";
  775. end;
  776. }
  777. 1@adv,121,355,5 script Priest Youth#jus01 4_M_RACHOLD,{
  778. if ('adv_step != 25)
  779. end;
  780. if (is_party_leader() == false) {
  781. mes "[Youth]";
  782. mes "Do not touch me! The blasphemy!";
  783. npctalk "Youth: Don't touch me! Profane things!", instance_npcname("Priest Youth#jus01");
  784. close;
  785. }
  786. .@bagot01$ = instance_npcname("Illusion Bagot#bagot01");
  787. .@demigod$ = instance_npcname("Goddess Form#demigod");
  788. .@Shulang02$ = instance_npcname("Shulang#Shulang02");
  789. .@miriam04$ = instance_npcname("Miriam#miriam04");
  790. mes "[Youth]";
  791. mes "The abominable heathen has come all the way here.";
  792. mes "But it doesn't matter";
  793. mes "You will soon kneel before the supreme divinity.";
  794. npctalk "Youth: Abominable cultists have come all the way here. But soon you will be on your knees before the supreme deity.";
  795. next;
  796. mes "[Youth]";
  797. mes "I will show miracles to the arrogant servants of Odin.";
  798. mes "Bagot, let the ceremony proceed.";
  799. npctalk "Youth: I will show the arrogant servants of Odin a miracle. Bagot, let the ceremony go on.";
  800. next;
  801. mes "[Youth]";
  802. mes "They will personally witness Freya's miracle and become a witness.";
  803. mes "Get down at the feet of God and be reborn as a servant of God!";
  804. npctalk "Youth: They themselves will witness Freya's miracles and be witnesses. Get down at God's feet and be reborn as God's servants!";
  805. next;
  806. cutin "ep18_bagot_01.png",2;
  807. mes "[Bagot]";
  808. mes "Uhhh... Inspiration. After all, talking.";
  809. mes "Still, I made a promise, so I'll keep it. Do you understand?";
  810. npctalk "Bagot: Aww Inspiration. After all, I made a promise, so I'll keep it. Do you understand?", .@bagot01$;
  811. next;
  812. cutin "ep18_bagot_03.png",2;
  813. mes "[Bagot]";
  814. mes "For now, are you an adventurer there?";
  815. mes "Would you like to see my work?";
  816. mes "You, too, feel the feeling of taking a beautifully made pottery out of the kiln.";
  817. npctalk "Bagot: Adventurer over there? Would you like to appreciate my work? You too feel the feeling of taking a beautifully crafted pottery from the kiln.", .@bagot01$;
  818. close2;
  819. setpcblock PCBLOCK_NPC, true;
  820. npctalk "Bagot: Bagot is very happy to be able to check the results of the experiment right away~", .@bagot01$;
  821. specialeffect EF_DQ9_CHARGE3, AREA, .@demigod$;
  822. sleep2 500;
  823. specialeffect EF_SCREEN_QUAKE, AREA, .@demigod$;
  824. sleep2 1000;
  825. specialeffect EF_BEGINSPELL_YB, AREA, .@demigod$;
  826. // enablenpc .@demigod$;
  827. cloakoffnpc .@demigod$; // cloakoffnpc to display effect on rAthena
  828. setpcblock PCBLOCK_NPC, false;
  829. cutin "ep18_bagot_02.png",2;
  830. mes "[Bagot]";
  831. mes "Voice~ The essence of biotechnology and magic is here!";
  832. mes "Coming down in the form of a god~!";
  833. npctalk "Bagot: Voila~ The essence of biotechnology and magic is here! He descends in the form of a god~!", .@bagot01$;
  834. next;
  835. mes "[Bagot]";
  836. mes "The vessel for the coming of the gods is not a problem for this bagot~!";
  837. npctalk "Bagot: A vessel for the coming of God is not a job for this bagot~!", .@bagot01$;
  838. next;
  839. cutin "ep18_demifreya.png",1;
  840. mes "[Fake Goddess]";
  841. mes " .";
  842. npctalk "A Fake Goddess:.", .@demigod$;
  843. next;
  844. mes "[Youth]";
  845. mes "Oh... .oh...! Freya ...! Are you my god!";
  846. npctalk "Youth: Oh... .oh...! Freya ...! Are you my god!";
  847. next;
  848. mes "The name ^4d4dff god looked like a pope growing up.^000000";
  849. mes "^4d4dff A vessel for the goddess Freya to come to this world. Its essential use.^000000";
  850. next;
  851. select("Maybe the Pope?!");
  852. unittalk getcharid(3), "" + strcharinfo(0) + " : the Pope?!";
  853. cutin "ep18_bagot_02.png",2;
  854. mes "[Bagot]";
  855. mes "What kind of scary sound?";
  856. mes "No matter how bad the bagots are, they are not big enough to touch the Pope!";
  857. npctalk "Bagot: What kind of scary sound? Bagot's liver is not big enough to touch the Pope!", .@bagot01$;
  858. next;
  859. cutin "ep18_bagot_03.png",2;
  860. mes "[Bagot]";
  861. mes "What disrespect are you talking about with my masterpiece?!";
  862. mes "Are you afraid of my ability to make even the vessel for the coming of God?!";
  863. npctalk "Bagot: What disgrace are you with my masterpiece?! I'm afraid of my ability to make even a vessel for the coming of God?!", .@bagot01$;
  864. next;
  865. cutin "",255;
  866. mes "[Youth]";
  867. mes "Oh... .oh...! Freya ...! Are you my god!";
  868. npctalk "Youth: Oh... .oh...! Freya ...! Are you my god!";
  869. next;
  870. cutin "ep18_bagot_02.png",2;
  871. mes "[Bagot]";
  872. mes "You don't listen to me. So what's wrong? Ah~! Yes, a miracle. Can you show me a miracle~?";
  873. npctalk "Bagot: You're not listening to me again. So what's wrong? Ah~! Yes, a miracle. Can you show me a miracle~?", .@bagot01$;
  874. next;
  875. cutin "ep18_demifreya.png",1;
  876. mes "[Fake Goddess]";
  877. mes " .";
  878. npctalk "Fake Goddess:.", .@demigod$;
  879. next;
  880. mes "[Fake Goddess]";
  881. mes ".";
  882. npctalk "Fake Goddess:.", .@demigod$;
  883. sleep2 500;
  884. mes "huh";
  885. npctalk "Fake Goddess:huh", .@demigod$;
  886. sleep2 1000;
  887. mes "han";
  888. npctalk "Fake Goddess:han", .@demigod$;
  889. sleep2 1000;
  890. mes "everything";
  891. npctalk "Fake Goddess:all", .@demigod$;
  892. close2;
  893. cutin "",255;
  894. setpcblock PCBLOCK_NPC, true;
  895. sleep2 1500;
  896. specialeffect EF_DQ9_CHARGE3, AREA, .@Shulang02$;
  897. sleep2 1000;
  898. specialeffect EF_BEGINSPELL_YB, AREA, .@Shulang02$;
  899. cloakoffnpc .@Shulang02$;
  900. sleep2 2500;
  901. npctalk "Bagot: What? Did you save him? Hierarch, did you see? What did Bagot say? You said yes.", .@bagot01$;
  902. sleep2 1500;
  903. setpcblock PCBLOCK_NPC, false;
  904. cutin "ep18_bagot_03.png",2;
  905. mes "[Bagot]";
  906. mes "Here is the proof. Miracle~¡Ù";
  907. mes "The priest's inspiration. I called your god as promised, so I'll take the heart^000000 with me.";
  908. npctalk "Bagot: Here's the proof. Miracle~¡Ù Priest inspiration. I called your god as promised, so I'll take my heart.", .@bagot01$;
  909. next;
  910. mes "[Bagot]";
  911. mes "I wish you all the best~";
  912. npctalk "Bagot: I wish you all the best~", .@bagot01$;
  913. next;
  914. cutin "",255;
  915. mes "[Youth]";
  916. mes "A humble servant has witnessed a miracle of God!";
  917. npctalk "Youth: A humble servant has witnessed a miracle of the gods!";
  918. next;
  919. cutin "ep18_bagot_01.png",2;
  920. mes "[Bagot]";
  921. mes "You don't listen to people?";
  922. mes "Shulang is a bit pricey, but that's the end of the role.";
  923. npctalk "Bagot: You don't listen to people? It's a shame Shulang is a little pricey, but that's the end of the role.", .@bagot01$;
  924. next;
  925. cutin "ep18_bagot_03.png",2;
  926. mes "[Bagot]";
  927. mes "In the meantime, I kept my promise because I let you live in a strong taste ^000000 ^4d4dff.";
  928. mes "I'll go~. Then adventurer? Goodbye~!";
  929. npctalk "Bagot: You made me live in 'Strong Taste', so I kept my promise. Then adventurers? Goodbye~!", .@bagot01$;
  930. close2;
  931. cutin "",255;
  932. setpcblock PCBLOCK_NPC, true;
  933. disablenpc .@bagot01$;
  934. npctalk "Youth: Oh... Freyja! Put your wrath upon that wicked one!";
  935. sleep2 2000;
  936. npctalk "Fake Goddess: Kick Kick K K K K K K K K K K K K K K K K G G", .@demigod$;
  937. sleep2 2000;
  938. npctalk "Youth: ? My God. The humble servant is ready to hear the sermon.";
  939. sleep2 2000;
  940. npctalk "Fake Goddess: Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!!!!", .@demigod$;
  941. sleep2 2500;
  942. npctalk "Youth: you don't feel divine ? Why ?";
  943. sleep2 2500;
  944. specialeffect EF_BEGINSPELL5, AREA, .@demigod$;
  945. sleep2 1000;
  946. enablenpc .@miriam04$;
  947. specialeffect EF_GUARD, AREA, .@miriam04$;
  948. sleep2 1000;
  949. npctalk "Youth: How can God attack me?";
  950. sleep2 2000;
  951. npctalk "Miriam: This is not the time. You should avoid it! That's not God!", .@miriam04$;
  952. sleep2 2500;
  953. npctalk "Fake Goddess: Kiki Kick Kiki Kick .", .@demigod$;
  954. sleep2 2500;
  955. npctalk "Youth: No way! Miriam, get out of the way!";
  956. sleep2 2500;
  957. npctalk "Miriam: You almost died. Look straight ahead. Where is that god?", .@miriam04$;
  958. sleep2 1000;
  959. npctalk "Miriam: I think you need some stability. Father.", .@miriam04$;
  960. sleep2 2000;
  961. npctalk "Youth: I can't do this! Let go Miriam!";
  962. sleep2 1500;
  963. npctalk "Fake Goddess: clinging...? clinging kyahahahahahahaha!!!", .@demigod$;
  964. sleep2 1000;
  965. specialeffect EF_BEGINSPELL5, AREA, .@demigod$;
  966. sleep2 700;
  967. specialeffect EF_BEGINSPELL_YB, AREA, .@demigod$;
  968. npctalk "Miriam: what are you doing!!!!", .@miriam04$;
  969. sleep2 800;
  970. disablenpc instance_npcname("Priest Youth#jus01");
  971. disablenpc .@miriam04$;
  972. sleep2 800;
  973. npctalk "Fake Goddess: Crap!!!", .@demigod$;
  974. sleep2 1000;
  975. setpcblock PCBLOCK_NPC, false;
  976. specialeffect EF_BEGINSPELL_YB, AREA, .@demigod$;
  977. mapannounce 'map_adv$, "The chapel is closed.", bc_map, 0x4D4DFF;
  978. disablenpc .@demigod$;
  979. disablenpc .@Shulang02$;
  980. donpcevent instance_npcname("adv_demigod_boss") + "::OnStart";
  981. end;
  982. }
  983. 1@adv,1,1,5 script adv_demigod_boss -1,{
  984. end;
  985. OnStart:
  986. if ('adv_step != 25)
  987. end;
  988. 'adv_step = 26;
  989. .@label$ = instance_npcname("adv_demigod_boss") + "::OnMobDead";
  990. monster 'map_adv$,122,351,"Resurrected Schulang",21314,1, .@label$; // EP18_MD_SCHULANG
  991. monster 'map_adv$,124,356,"False God",21315,1, .@label$; // EP18_MD_DEMI_FREYJA
  992. // unofficial spawn of HIDDEN_MOB7 to cast NPC_CANE_OF_EVIL_EYE
  993. monster 'map_adv$,123,338," ",3038,1, instance_npcname("adv_demigod_boss") + "::OnTempDead"; // HIDDEN_MOB7
  994. .@mob_id = $@mobid[0];
  995. unitskilluseid .@mob_id,"NPC_INVISIBLE",3,-50;
  996. unitskillusepos .@mob_id,"NPC_CANE_OF_EVIL_EYE",3,123,349,-50;
  997. unitskillusepos .@mob_id,"NPC_CANE_OF_EVIL_EYE",3,133,338,-50;
  998. unitskillusepos .@mob_id,"NPC_CANE_OF_EVIL_EYE",3,113,338,-50;
  999. unitskillusepos .@mob_id,"NPC_CANE_OF_EVIL_EYE",3,123,330,-50;
  1000. sleep 3000;
  1001. killmonster 'map_adv$, instance_npcname("adv_demigod_boss") + "::OnTempDead";
  1002. end;
  1003. OnTempDead:
  1004. end;
  1005. OnMobDead:
  1006. if ('adv_step != 26)
  1007. end;
  1008. if (mobcount('map_adv$, instance_npcname("adv_demigod_boss") + "::OnMobDead") < 1) {
  1009. 'adv_step = 27;
  1010. mapannounce 'map_adv$, "Youth Shout: God--!!!", bc_map, 0xFF0000;
  1011. enablenpc instance_npcname("#boss_out");
  1012. enablenpc instance_npcname("Miriam#miriam05");
  1013. enablenpc instance_npcname("Priest Youth#jus02");
  1014. }
  1015. end;
  1016. }
  1017. // Boss room out
  1018. 1@adv,121,321,6 script Miriam#miriam05 EP18_NPC_MIRIAM,{
  1019. if ('adv_step < 27)
  1020. end;
  1021. if ('adv_step == 27) {
  1022. mes "[Miriam]";
  1023. mes "What did he do? He was suddenly thrown out.";
  1024. mes "Are you okay?";
  1025. cutin "ep18_miriam_03.png",0;
  1026. next;
  1027. cutin "",255;
  1028. mes "[Youth]";
  1029. mes "What have you done to God!!!!!!!!!!!!";
  1030. mes "I can't do that!";
  1031. mes "What have I done while waiting for this day!";
  1032. next;
  1033. cutin "ep18_miriam_03.png",0;
  1034. mes "[Miriam]";
  1035. mes "Do you still believe it is a god?";
  1036. mes "Could you say that?";
  1037. next;
  1038. select("Embrio is out.");
  1039. mes "[Miriam]";
  1040. mes "Really.";
  1041. mes "It resembled the growth of the Holy Father, but .";
  1042. mes "If you see Embryo fall, it must have been something created by a man named Bagot.";
  1043. next;
  1044. select("The analysis will be done here.");
  1045. cutin "",255;
  1046. mes "[Youth]";
  1047. mes "Miriam! Catch him!";
  1048. mes "You deserve to be punished!";
  1049. mes "blasphemy!";
  1050. next;
  1051. cutin "ep18_miriam_03.png",0;
  1052. mes "[Miriam]";
  1053. mes "Is it possible?";
  1054. mes "The adventurer is here to help us.";
  1055. next;
  1056. mes "[Miriam]";
  1057. mes "It was the same in the temple.";
  1058. mes "They must have blinded your father.";
  1059. next;
  1060. cutin "",255;
  1061. mes "[Youth]";
  1062. mes "Are you trying to tell me now that I have fallen for their tricks!";
  1063. next;
  1064. cutin "ep18_miriam_03.png",0;
  1065. mes "[Miriam]";
  1066. mes "Let's get out of this place.";
  1067. mes "You can talk about the details after examining the Embryo.";
  1068. next;
  1069. mes "[Miriam]";
  1070. mes "Adventurer, let me know if the identity of the saint is revealed after the investigation is over.";
  1071. mes "I will take care of my father.";
  1072. if (ep18_1_main == 54) {
  1073. ep18_1_main = 55;
  1074. changequest 18083,18084;
  1075. }
  1076. if ('adv_step == 27) {
  1077. 'adv_step = 28;
  1078. enablenpc instance_npcname("#boss_out");
  1079. }
  1080. close3;
  1081. }
  1082. cutin "ep18_miriam_01.png",0;
  1083. mes "[Miriam]";
  1084. mes "Father, I'll take care of you, so let's get out of here.";
  1085. close3;
  1086. }
  1087. 1@adv,119,320,6 script Priest Youth#jus02 4_M_RACHOLD,{
  1088. npctalk "Youth: oh my . this can't be .";
  1089. end;
  1090. }