SarahAndFenrir.txt 95 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333
  1. //===== rAthena Script =======================================
  2. //= Sarah and Fenrir
  3. //===== Description: =========================================
  4. //= [Walkthrough Conversion]
  5. //= Sarah and Fenrir Instance
  6. //===== Changelogs: ==========================================
  7. //= 1.0 First version. [Capuche]
  8. //============================================================
  9. dali02,97,142,3 script Professor Bernhard#a1 4_LGTSCIENCE,{
  10. if (BaseLevel < 145) {
  11. mes "- You may proceed after reaching level 145 or over -";
  12. close;
  13. }
  14. switch( checkquest(9336,PLAYTIME) ) {
  15. case -1:
  16. switch( isbegin_quest(9335) ) {
  17. case 0:// First time doing instance
  18. mes "[Professor Bernhard]";
  19. mes "I would say I am Professor Bernhard, the best weapons researcher in Schwaltzvalt.";
  20. next;
  21. mes "[Professor Bernhard]";
  22. mes "After endless research I have created various weapons, but I felt something was missing so I found the ancient texts.";
  23. mes "I found out about the Dimensional Device during my research.";
  24. next;
  25. mes "[Professor Bernhard]";
  26. mes "I also realized that relics from the glorious past were also needed to create more powerful and superior weapons.";
  27. mes "That is why..I need you..";
  28. next;
  29. mes "[Professor Bernhard]";
  30. if (is_party_leader() == false) {
  31. mes "A longing for accomplishing a powerful weapon as a genuine professor!";
  32. mes "In order to accomplish that, we need shards of Gigantes that once appeared in the past battle of Fenrir and Sarah.";
  33. next;
  34. mes "[Professor Bernhard]";
  35. mes "I cannot leave my post.";
  36. mes "I need a warrior who can bring me the shards instead..";
  37. mes "You seem capable.";
  38. next;
  39. mes "[Professor Bernhard]";
  40. mes "I will continue discussing this further with your party leader rather than with you.";
  41. close;
  42. }
  43. mes "I need a warrior who can bring me the shard of Gigantes instead..";
  44. mes "You seem capable.";
  45. next;
  46. mes "[Professor Bernhard]";
  47. mes "What do you think?";
  48. mes "Would you go to the past and bring me back the shards of Gigantes?";
  49. mes "I will make sure to compensate you sufficiently.";
  50. next;
  51. if (select( "No", "Yes" ) == 1) {
  52. mes "[Professor Bernhard]";
  53. mes "Visit me again if you change your mind.";
  54. close;
  55. }
  56. mes "[Professor Bernhard]";
  57. mes "I set the Dimensional Device to Glast Heim of the past, where Fenrir and Sarah once fought.";
  58. mes "The operating time isn't long so hurry up and come back.";
  59. instance_create("Fenrir and Sarah");
  60. close;
  61. case 1:
  62. mes "[Professor Bernhard]";
  63. mes "Did you successfully bring back the shards of Gigantes?";
  64. mes "You probably faced a lot of danger so thank you for the effort.";
  65. next;
  66. mes "[Professor Bernhard]";
  67. mes "I don't expect to receive the shards for nothing when you have risked your life for them!";
  68. if (sarah_fenrir == 0) {
  69. mes "I will give you a useful looking earring from the relics I have happened to have obtained during my previous research.";
  70. next;
  71. mes "- The left earring of Sarah -";
  72. mes "Usable for Heal 1Lv";
  73. mes "- The right earring of Sarah -";
  74. mes "Usable for Teleport 1Lv";
  75. next;
  76. .@s = select( "The left earring of Sarah", "The right earring of Sarah" ) - 1;
  77. }
  78. mes "[Professor Bernhard]";
  79. mes "If you hand the shards of Gigantes to my chief assistant, I will make sure the earrings will be correspondingly great through an enchantment.";
  80. next;
  81. mes "[Professor Bernhard]";
  82. mes "The more shards of Gigantes are collected, the better.";
  83. mes "However, there isn't a stable supply of energy needed to work the Dimensional Device.";
  84. next;
  85. mes "[Professor Bernhard]";
  86. mes "Come back and find me after one week has passed for the supply of Dimensional Device energy.";
  87. mes "I need you to find shards of Gigantes again.";
  88. erasequest 9335;// Search for shards of Gigantes
  89. setquest 9336;// Go back to Professor Bernhard
  90. if (isbegin_quest(9337) > 0)
  91. erasequest 9337;// Wrapping up the Adventure
  92. if (sarah_fenrir == 0) {
  93. sarah_fenrir = 1;
  94. getitem (28310+.@s),1;
  95. }
  96. close;
  97. case 2:
  98. end;
  99. }
  100. case 0:
  101. case 1:
  102. mes "[Professor Bernhard]";
  103. mes "We lack the shards of Gigantes in order to make powerful weapons.";
  104. mes "Because a lot of energy is needed to open a dimension device, come back and find me when the energy has accumulated.";
  105. close;
  106. case 2:
  107. mes "[Professor Bernhard]";
  108. mes "I have been waiting.";
  109. mes "How is everything going?";
  110. mes "While you were gone I have succeeded in accumulating dimensional energy.";
  111. mes "We can open the dimension device again.";
  112. next;
  113. mes "[Professor Bernhard]";
  114. mes "A longing for accomplishing a powerful weapon as a genuine professor!";
  115. mes "In order to accomplish that, we need shards of Gigantes that once appeared in the past battle of Fenrir and Sarah.";
  116. next;
  117. mes "[Professor Bernhard]";
  118. mes "Because I cannot leave my post, ";
  119. mes "I need a warrior who can bring me the shards instead.";
  120. mes "I think you can assist me once again..";
  121. next;
  122. mes "[Professor Bernhard]";
  123. mes "There, all the preparations are finished.";
  124. mes "Can you go back in time again and bring me the shards of Gigantes?";
  125. mes "I will make sure to compensate you sufficiently.";
  126. if (is_party_leader() == true) {
  127. next;
  128. if (select( "No", "Yes" ) == 1) {
  129. mes "[Professor Bernhard]";
  130. mes "I set the Dimensional Device to Glast Heim of the past, where Fenrir and Sarah once were.";
  131. mes "It won't last long so hurry up and come back.";
  132. close;
  133. }
  134. instance_create("Fenrir and Sarah");
  135. }
  136. close;
  137. }
  138. }
  139. dali02,99,148,3 script Dimensional Device#XX1 PORTAL,{
  140. if (BaseLevel < 145) {
  141. mes "- You must be level 145 or over";
  142. mes "It seems entry is possible. -";
  143. close;
  144. }
  145. switch( checkquest(9336,PLAYTIME) ) {
  146. case -1:
  147. break;
  148. case 0:
  149. case 1:
  150. mes "- The Dimensional Device has closed.";
  151. mes "It seems entry is not possible. -";
  152. close;
  153. case 2:
  154. break;
  155. }
  156. if (isbegin_quest(9335) > 0) {
  157. mes "- The Dimensional Device has closed.";
  158. mes "It seems entry is not possible. -";
  159. close;
  160. }
  161. if (select( "Do not enter the device.", "Enter the time device" ) == 1) {
  162. if (getcharid(1) > 0) {
  163. mes "- It seems the Dimensional Device ";
  164. mes "will contort space time -";
  165. close;
  166. }
  167. mes "- There is a damp presence. -";
  168. close;
  169. }
  170. .@md_name$ = "Fenrir and Sarah";
  171. switch( instance_enter(.@md_name$) ) {
  172. case IE_OTHER:
  173. mes "An unknown error occurred.";
  174. close;
  175. case IE_NOINSTANCE:
  176. mes "Memorial Dungeon " + .@md_name$ + " does not exist.";
  177. mes "The party leader has not created the Memorial Dungeon.";
  178. close;
  179. case IE_NOMEMBER:
  180. mes "Only party members can enter the Memorial Dungeon.";
  181. close;
  182. case IE_OK:
  183. mapannounce "dali02", "Party member " + strcharinfo(0) + " of party's " + getpartyname( getcharid(1) ) + " enters Room " + .@md_name$ + "", bc_map,0xFF99,FW_NORMAL,12;
  184. setquest 9335;// Search for shards of Gigantes
  185. if (isbegin_quest(9336) > 0)
  186. erasequest 9336;
  187. // warp "1@glast",367,304;
  188. end;
  189. }
  190. }
  191. dali02,93,146,6 script Assistant Professor#a1 4_M_REPAIR,{
  192. if (sarah_fenrir == 0)
  193. end;
  194. disable_items;
  195. mes "[Chief Assistant]";
  196. mes "I've heard about you from the professor.";
  197. mes "The professor has told me to sufficiently compensate you for risking your life and bringing the shards of Gigantes.";
  198. next;
  199. switch( select( "Enchant earring.", "Purchase earring", "Exit conversation" ) ) {
  200. case 1:
  201. mes "[Chief Assistant]";
  202. mes "Sarah's earrings we have discovered at the archaeological site must certainly have great potential.";
  203. next;
  204. switch( select( "Enchant Sarah's earrings", "Initialize enchantment on Sarah's earrings", "Exit conversation" ) ) {
  205. case 1:
  206. mes "[Chief Assistant]";
  207. mes "2 enchantments are possible on one earring.";
  208. mes "Which earring do you wish to enchant?";
  209. next;
  210. switch( select( "The left earring of Sarah", "The right earring of Sarah", "Quit" ) ) {
  211. case 1:
  212. .@sarah_item_id = 28310;
  213. .@sarah_earring$ = "left";
  214. break;
  215. case 2:
  216. .@sarah_item_id = 28311;
  217. .@sarah_earring$ = "right";
  218. break;
  219. case 3:
  220. mes "[Chief Assistant]";
  221. mes "If you want an enchantment ";
  222. mes "on Sarah's earrings, ";
  223. mes "come and find me again.";
  224. close;
  225. }
  226. mes "[Chief Assistant]";
  227. mes "You must equip the item to make enchantment possible.";
  228. mes "Which column do you wish to enchant?";
  229. next;
  230. if (select( "Left column", "Right column" ) == 1) {
  231. .@part = EQI_ACC_L;
  232. .@column$ = "left";
  233. .@bonus_size = 4; // 4 possibilities
  234. .@bonus_chance = 20; // 20% per possibility
  235. }
  236. else {
  237. .@part = EQI_ACC_R;
  238. .@column$ = "right";
  239. .@bonus_size = 6; // 6 possibilities
  240. .@bonus_chance = 10; // 10% per possibility
  241. }
  242. .@equip_id = getequipid(.@part);
  243. if (.@equip_id != .@sarah_item_id) {
  244. mes "[Chief Assistant]";
  245. mes "If you wish to enchant, you must equip Sarah's " + .@sarah_earring$ + " earring.";
  246. close;
  247. }
  248. setarray .@card[0], getequipcardid(.@part,0), getequipcardid(.@part,1), getequipcardid(.@part,2), getequipcardid(.@part,3);
  249. if (.@card[2] > 0) {// 2 enchants
  250. mes "[Chief Assistant]";
  251. mes "A fully enchanted earring of Sarah cannot be enchanted any further.";
  252. close;
  253. }
  254. if (.@card[3] > 0) {// 1 enchant
  255. mes "[Chief Assistant]";
  256. mes "Sarah's Earring is currently in a state of enchantment in slot 4.";
  257. .@slot = 3;
  258. }
  259. else {// none enchant
  260. mes "[Chief Assistant]";
  261. mes "Sarah's Earring is currently in a state without enchantment.";
  262. .@slot = 4;
  263. }
  264. next;
  265. mes "[Chief Assistant]";
  266. mes "Which ability do you want as an enchantment on slot " + .@slot + "?";
  267. next;
  268. switch( select( "CRI or Critical", "Expert archer or Bleed", "Conservation or MATK", "Delay Attack or Delay Skill" ) ) {
  269. case 1:
  270. setarray .@bonus[0],
  271. 4863, // Fatal1
  272. 4864, // Fatal2
  273. 4939, // Critical2
  274. 4940, // Critical3
  275. 4941, // Critical4
  276. 4865; // Fatal3
  277. mes "[Chief Assistant]";
  278. mes "Selected for CRI or Critical Enchantment slot " + .@slot + ".";
  279. break;
  280. case 2:
  281. setarray .@bonus[0],
  282. 4832, // Expert_Archer1
  283. 4833, // Expert_Archer2
  284. 4942, // Dodge1
  285. 4943, // Dodge2
  286. 4944, // Dodge3
  287. 4834; // Expert_Archer3
  288. mes "[Chief Assistant]";
  289. mes "Selected for Expert Archer or Bleed Enchantment slot " + .@slot + ".";
  290. break;
  291. case 3:
  292. setarray .@bonus[0],
  293. 4945, // Thrift1
  294. 4946, // Thrift2
  295. 4897, // Matk3p
  296. 4898, // Matk4p
  297. 4947, // Thrift3
  298. 4899; // Matk5p
  299. mes "[Chief Assistant]";
  300. mes "Selected for Conservation or MATK Enchantment slot " + .@slot + ".";
  301. break;
  302. case 4:
  303. setarray .@bonus[0],
  304. 4869, // Attack_Delay_1
  305. 4872, // Attack_Delay_2
  306. 4948, // Skill_Delay1
  307. 4949, // Skill_Delay2
  308. 4950, // Skill_Delay3
  309. 4873; // Attack_Delay_3
  310. mes "[Chief Assistant]";
  311. mes "Selected for Delay Attack or Delay Skill Enchantment slot " + .@slot + ".";
  312. break;
  313. }
  314. next;
  315. mes "[Chief Assistant]";
  316. mes "4 shards of Gigantes is required for one enchantment.";
  317. next;
  318. mes "[Chief Assistant]";
  319. mes "Because enchantment is a high risk process, there is risk of Sarah's earring being destroyed.";
  320. mes "Do you still want to do it?";
  321. next;
  322. if (select( "No", "Yes" ) == 1) {
  323. mes "[Chief Assistant]";
  324. mes "Please speak to me again after making a clear decision!";
  325. close;
  326. }
  327. if (countitem(6803) < 4) {
  328. mes "[Chief Assistant]";
  329. mes "There are not enough shards of Gigantes.";
  330. mes "4 shards of Gigantes is required to do one enchantment.";
  331. close;
  332. }
  333. mes "[Chief Assistant]";
  334. mes "Good. I will start the enchantment!";
  335. mes "I wish you luck~!";
  336. next;
  337. mes "[Chief Assistant]";
  338. mes "Aahhhh!!";
  339. next;
  340. progressbar "000000",5;
  341. specialeffect2 EF_MAGICALATTHIT;
  342. specialeffect2 EF_POTION2;
  343. delitem 6803,4;// Shard of Gigantes
  344. // anti-hack
  345. if (callfunc("F_IsEquipIDHack", .@part, .@equip_id) || callfunc("F_IsEquipCardHack", .@part, .@card[0], .@card[1], .@card[2], .@card[3]))
  346. close;
  347. delequip .@part;
  348. .@r = rand(100);
  349. for ( .@i = 0; .@i < .@bonus_size && (.@bonus_chance * (.@i+1)) < .@r; .@i++ );
  350. if (.@i == .@bonus_size) {
  351. specialeffect2 EF_CRASHEARTH;
  352. specialeffect2 EF_MAXPOWER;
  353. mes "[Chief Assistant]";
  354. mes "Sadly... it is..";
  355. mes "destroyed...";
  356. mes "Whew.. ";
  357. mes "enchantment is not an easy task..";
  358. close;
  359. }
  360. .@card[.@slot-1] = .@bonus[.@i];
  361. specialeffect2 EF_ANGEL2;
  362. getitem2 .@sarah_item_id,1,1,0,0,.@card[0],.@card[1],.@card[2],.@card[3];
  363. mes "[Chief Assistant]";
  364. mes "Enchantment completed!";
  365. close;
  366. case 2:
  367. mes "[Chief Assistant]";
  368. mes "Which earring do you wish to initialize?";
  369. next;
  370. switch( select( "The left earring of Sarah", "The right earring of Sarah", "Quit" ) ) {
  371. case 1:
  372. .@sarah_item_id = 28310;
  373. .@sarah_earring$ = "left";
  374. break;
  375. case 2:
  376. .@sarah_item_id = 28311;
  377. .@sarah_earring$ = "right";
  378. break;
  379. case 3:
  380. mes "[Chief Assistant]";
  381. mes "If you want to initialize an enchantment on Sarah's earrings, come and find me again.";
  382. close;
  383. }
  384. mes "[Chief Assistant]";
  385. mes "On Sarah's earring. 1 shard of Gigantes is required to initialize the enchantment..";
  386. next;
  387. if (countitem(6803) < 1) {
  388. mes "[Chief Assistant]";
  389. mes "There are not enough shards of Gigantes.";
  390. mes "You will need them in order for initialization to take place.";
  391. close;
  392. }
  393. mes "[Chief Assistant]";
  394. mes "You must equip the item to make initialization possible.";
  395. mes "Which column's earring do you wish to initialize?";
  396. next;
  397. if (select( "Left column", "Right column" ) == 1) {
  398. .@part = EQI_ACC_L;
  399. .@column$ = "left";
  400. }
  401. else {
  402. .@part = EQI_ACC_R;
  403. .@column$ = "right";
  404. }
  405. .@equip_id = getequipid(.@part);
  406. setarray .@card[0], getequipcardid(.@part,0), getequipcardid(.@part,1), getequipcardid(.@part,2), getequipcardid(.@part,3);
  407. if (.@equip_id == -1) {
  408. mes "[Chief Assistant]";
  409. mes "To initialize an enchantment, the relevant column must be equipped with gear.";
  410. close;
  411. }
  412. if (.@equip_id != .@sarah_item_id) {
  413. mes "[Chief Assistant]";
  414. mes "To initialize an enchantment, the relevant column must be equipped with Sarah's earring.";
  415. close;
  416. }
  417. if (getequipcardid(.@part,3) < 1) {
  418. mes "[Chief Assistant]";
  419. mes "Sarah's earring without an enchantment cannot be initialized.";
  420. close;
  421. }
  422. mes "[Chief Assistant]";
  423. mes "You have selected Sarah's " + .@sarah_earring$ + " earring on the " + .@column$ + " column.";
  424. mes "It is impossible to restore abilities that are gone after initialization.";
  425. mes "Do you still want to proceed?";
  426. next;
  427. if (select( "No", "Yes" ) == 2) {
  428. mes "[Chief Assistant]";
  429. mes "Yes sir. Initialization will start.";
  430. next;
  431. progressbar "000000",5;
  432. specialeffect2 EF_MAGICALATTHIT;
  433. specialeffect2 EF_POTION2;
  434. specialeffect2 EF_ANGEL2;
  435. delitem 6803,1;// Shard of Gigantes
  436. // anti-hack
  437. if (callfunc("F_IsEquipIDHack", .@part, .@equip_id) || callfunc("F_IsEquipCardHack", .@part, .@card[0], .@card[1], .@card[2], .@card[3]))
  438. close;
  439. delequip .@part;
  440. getitem .@sarah_item_id,1;
  441. mes "[Chief Assistant]";
  442. mes "Initialization completed.";
  443. mes "Please find me if you need me.";
  444. }
  445. close;
  446. case 3:
  447. mes "[Chief Assistant]";
  448. mes "If you want an enchantment on Sarah's earrings, come and find me again.";
  449. close;
  450. }
  451. case 2:
  452. mes "[Chief Assistant]";
  453. mes "Related to Glast Heim, this is an unique and rare earring found during an excavation with the professor.";
  454. next;
  455. mes "[Chief Assistant]";
  456. mes "I think this has been worn by Sarah in the past and seems to have a great ability to draw out potential strength.";
  457. next;
  458. mes "[Chief Assistant]";
  459. mes "I will specially trade it for 1 shard since you are the warrior who brought shards of Gigantes for the professor's work.";
  460. next;
  461. mes "[Chief Assistant]";
  462. mes "- The left earring of Sarah -";
  463. mes "Usable for Heal 1Lv";
  464. mes "- The right earring of Sarah -";
  465. mes "Usable for Teleport 1Lv";
  466. mes "-----------------------";
  467. mes "Which one do you wish?";
  468. next;
  469. .@s = select( "The left earring of Sarah", "The right earring of Sarah", "Exit conversation" ) - 1;
  470. if (.@s < 2) {
  471. if (countitem(6803) < 1) {
  472. mes "[Chief Assistant]";
  473. mes "There are not enough shards of Gigantes.";
  474. mes "You will need them for me to trade with you.";
  475. close;
  476. }
  477. delitem 6803,1;// Shard of Gigantes
  478. getitem (28310+.@s),1;
  479. }
  480. mes "[Chief Assistant]";
  481. mes "Professor Bernhard is the professor I respect the most.";
  482. mes "Do you have someone you respect?";
  483. close;
  484. case 3:
  485. mes "[Chief Assistant]";
  486. mes "I've heard about you from the professor.";
  487. mes "The professor has told me to sufficiently compensate you for risking your life and bringing the shards of Gigantes.";
  488. close;
  489. }
  490. }
  491. 1@glast,360,295,0 script #glast_event_1 HIDDEN_WARP_NPC,8,8,{
  492. end;
  493. OnTouch:
  494. disablenpc instance_npcname("#glast_event_1");
  495. mes "";
  496. specialeffect2 EF_HIT2;
  497. unittalk getcharid(3), "" + strcharinfo(0) + " : Huh? Somebody there? Hello~ You must be a traveler.";
  498. sleep2 3000;
  499. cutin "fenrir_a.bmp",2;
  500. npctalk "Fenrith Fenrir: This is strange.. I don't recall Glast Heim castle being filled with such a dark presence..", 'fenrir_1$;
  501. sleep2 3000;
  502. npctalk "Fenrith Fenrir: Greetings can come later! Careful! It seems somebody has summoned a monster!", 'fenrir_1$;
  503. sleep2 3000;
  504. cutin "",255;
  505. specialeffect EF_LOCKON, AREA, 'fenrir_1$;
  506. .@label$ = instance_npcname("#glast_event_1") + "::OnMobDead";
  507. monster 'map_glast$,355,300, "Mutant Galion",3198,1, .@label$; // MM_M_GALION
  508. monster 'map_glast$,358,300, "Mutant Galion",3198,1, .@label$;
  509. monster 'map_glast$,361,300, "Mutant Galion",3198,1, .@label$;
  510. monster 'map_glast$,355,289, "Mutant Galion",3198,1, .@label$;
  511. monster 'map_glast$,358,289, "Mutant Galion",3198,1, .@label$;
  512. monster 'map_glast$,364,294, "Mutant Galion",3198,1, .@label$;
  513. monster 'map_glast$,364,297, "Mutant Galion",3198,1, .@label$;
  514. monster 'map_glast$,364,291, "Mutant Galion",3198,1, .@label$;
  515. monster 'map_glast$,353,290, "Mutant Galion",3198,1, .@label$;
  516. unittalk getcharid(3), "" + strcharinfo(0) + " : What are these things?";
  517. npctalk "Fenrith Fenrir: Buy me some time while I cast magic! I will handle this!", 'fenrir_1$;
  518. donpcevent instance_npcname("#glast_event_1") + "::OnBar";
  519. donpcevent instance_npcname("#glast_event_1") + "::OnEvent";
  520. end;
  521. OnBar:
  522. progressbar_npc "000000",10, 'fenrir_1$;
  523. end;
  524. OnEvent:
  525. // npctalk "Fenrith Fenrir: Buy me some time while I cast magic! I will handle this!", 'fenrir_1$;// double on official
  526. sleep 3000;
  527. npctalk "Fenrith Fenrir: Wrath of the true sky.", 'fenrir_1$;
  528. sleep 3000;
  529. npctalk "Fenrith Fenrir: Thunderbolt that may split the earth!", 'fenrir_1$;
  530. sleep 3000;
  531. npctalk "Fenrith Fenrir: Fall before me now!", 'fenrir_1$;
  532. sleep 3000;
  533. npctalk "Fenrith Fenrir: Aaah!! Thunder Storm!!!!!", 'fenrir_1$;
  534. for ( .@i = 1; .@i < 8; .@i++ )
  535. specialeffect EF_THUNDERSTORM, AREA, instance_npcname( "#effect_glast_event01_" + .@i );
  536. killmonster 'map_glast$, instance_npcname("#glast_event_1") + "::OnMobDead";
  537. sleep 4000;
  538. npctalk "Fenrith Fenrir: Glast Heim, once the cathedral for the Asgard gods..", 'fenrir_1$;
  539. sleep 3000;
  540. npctalk "Fenrith Fenrir: Now it has completely become a habitat for monsters..", 'fenrir_1$;
  541. sleep 3000;
  542. npctalk "Fenrith Fenrir: Wait.. Come to think of it, something is strange..", 'fenrir_1$;
  543. sleep 3000;
  544. npctalk "Fenrith Fenrir: Galions are the monsters that habit this vicinity..", 'fenrir_1$;
  545. sleep 3000;
  546. enablenpc instance_npcname("#glast_event_3");
  547. end;
  548. OnMobDead:
  549. end;
  550. }
  551. 1@glast,360,295,0 script #glast_event_3 HIDDEN_WARP_NPC,8,8,{
  552. end;
  553. OnTouch:
  554. disablenpc instance_npcname("#glast_event_3");
  555. mes "";
  556. cutin "fenrir_a.bmp",2;
  557. npctalk "Fenrith Fenrir: By the way, I know it was sudden but thank you for helping.", 'fenrir_1$;
  558. sleep2 2000;
  559. npctalk "Fenrith Fenrir: Anyway, who are you?", 'fenrir_1$;
  560. sleep2 2000;
  561. unittalk getcharid(3), "" + strcharinfo(0) + " : Ah.. that is....";
  562. sleep2 2000;
  563. unittalk getcharid(3), "" + strcharinfo(0) + " : .. I am a traveler who wanders around the world!";
  564. sleep2 2000;
  565. npctalk "Fenrith Fenrir: Is that so..? I see.. I guess it does not matter.", 'fenrir_1$;
  566. sleep2 2000;
  567. npctalk "Fenrith Fenrir: This place seems quite dangerous now. It is not too late to turn back.", 'fenrir_1$;
  568. sleep2 2000;
  569. npctalk "Fenrith Fenrir: There is an object I need to find. I need to hurry before it is too late.", 'fenrir_1$;
  570. sleep2 2000;
  571. npctalk "Fenrith Fenrir: Perhaps you can help me...", 'fenrir_1$;
  572. sleep2 2000;
  573. npctalk "Fenrith Fenrir: No.. Then thank you! I hope we can meet again later!", 'fenrir_1$;
  574. sleep2 3000;
  575. cutin "",255;
  576. specialeffect EF_LOCKON, AREA, 'fenrir_1$;
  577. unittalk getcharid(3), "" + strcharinfo(0) + " : Did that.. person.. really happen to be.. the.. Fenrir..? No way.. probably not..";
  578. disablenpc 'fenrir_1$;
  579. for ( .@i = 1; .@i < 8; .@i++ )
  580. disablenpc instance_npcname("#effect_glast_event01_" + .@i);
  581. enablenpc instance_npcname("#glast_move_01");
  582. enablenpc instance_npcname("#glast_event_5");
  583. enablenpc 'fenrir_2$;
  584. end;
  585. }
  586. 1@glast,359,296,4 script #effect_glast_event01_1 CLEAR_NPC,{ end; }
  587. 1@glast,353,294,4 duplicate(#effect_glast_event01_1) #effect_glast_event01_2 CLEAR_NPC
  588. 1@glast,360,304,4 duplicate(#effect_glast_event01_1) #effect_glast_event01_3 CLEAR_NPC
  589. 1@glast,366,295,4 duplicate(#effect_glast_event01_1) #effect_glast_event01_4 CLEAR_NPC
  590. 1@glast,352,304,4 duplicate(#effect_glast_event01_1) #effect_glast_event01_5 CLEAR_NPC
  591. 1@glast,356,284,4 duplicate(#effect_glast_event01_1) #effect_glast_event01_6 CLEAR_NPC
  592. 1@glast,345,283,4 duplicate(#effect_glast_event01_1) #effect_glast_event01_7 CLEAR_NPC
  593. 1@glast,359,294,4 duplicate(#effect_glast_event01_1) Fenrith Fenrir#glast_01 4_F_FENRIR
  594. // Warps
  595. // From entrance
  596. 1@glast,352,279,0 script #glast_move_01 WARPNPC,4,4,{
  597. end;
  598. OnTouch:
  599. if ('back_to_entrance == 0)
  600. warp 'map_glast$,347,265;
  601. else {
  602. disablenpc instance_npcname("#glast_move_01");
  603. initnpctimer;
  604. }
  605. end;
  606. OnTimer1500:
  607. specialeffect EF_FIREPILLARON2, AREA, 'sarah_ego$;
  608. end;
  609. OnTimer2000:
  610. hideoffnpc 'sarah_ego$;
  611. specialeffect EF_WHITEBODY, AREA, 'sarah_ego$;
  612. end;
  613. OnTimer3000:
  614. npctalk "Sarah Irene: Impressive Fenrith Fenrir, you cleverly escaped", 'sarah_ego$;
  615. end;
  616. OnTimer7500:
  617. npctalk "Sarah Irene: Mm.. today I will make you stand down", 'sarah_ego$;
  618. end;
  619. OnTimer8000:
  620. npctalk "Fenrith Fenrir: Today I hope to end our ill fated relationship.", 'fenrir_11$;
  621. end;
  622. OnTimer11000:
  623. npctalk "Sarah Irene: However, do not think this is the end", 'sarah_ego$;
  624. end;
  625. OnTimer14000:
  626. npctalk "Sarah Irene: You will surely see me again!!!", 'sarah_ego$;
  627. end;
  628. OnTimer14500:
  629. npctalk "Fenrith Fenrir: Mm... I look forward to it Sarah Irene..", 'fenrir_11$;
  630. specialeffect EF_FIREPILLARON2, AREA, 'sarah_ego$;
  631. end;
  632. OnTimer15500:
  633. stopnpctimer;
  634. disablenpc 'sarah_ego$;
  635. end;
  636. }
  637. // Fenrir left side
  638. // 1@glast,42,350,0 warp2 #glast_event_warp_1 10,10,1@glast,105,369
  639. // 1@glast,52,346,0 warp2 #glast_event_warp_2 10,10,1@glast,105,369
  640. // 1@glast,35,364,0 warp2 #glast_event_warp_3 10,10,1@glast,105,369
  641. // 1@glast,41,364,0 warp2 #glast_event_warp_4 10,10,1@glast,105,369
  642. // 1@glast,44,371,0 warp2 #glast_event_warp_5 10,10,1@glast,105,369
  643. // 1@glast,54,362,0 warp2 #glast_event_warp_6 10,10,1@glast,105,369
  644. // 1@glast,44,358,0 warp2 #glast_event_warp_7 10,10,1@glast,105,369
  645. // To stairs final room
  646. 1@glast,199,237,0 script #glast_move_03 WARPNPC,2,2,{
  647. end;
  648. OnTouch:
  649. if (is_party_leader() == true)
  650. warpparty 'map_glast$,197,263, getcharid(1), 'map_glast$,1,1;
  651. end;
  652. }
  653. // To final room
  654. 1@glast,199,294,0 script #glast_move_03a WARPNPC,3,3,{
  655. end;
  656. OnTouch:
  657. if (is_party_leader() == true)
  658. warpparty 'map_glast$,188,334, getcharid(1), 'map_glast$,1,1;
  659. end;
  660. }
  661. // Exit final room
  662. //1@glast,189,331,0 warp2 #glast_event_warp_11 10,10,1@glast,197,221
  663. //1@glast,206,337,0 warp2 #glast_event_warp_12 10,10,1@glast,197,221
  664. //1@glast,205,330,0 warp2 #glast_event_warp_13 10,10,1@glast,197,221
  665. //1@glast,193,337,0 warp2 #glast_event_warp_14 10,10,1@glast,197,221
  666. //1@glast,210,331,0 warp2 #glast_event_warp_15 10,10,1@glast,197,221
  667. //1@glast,194,330,0 warp2 #glast_event_warp_16 10,10,1@glast,197,221
  668. // Back to entrance
  669. 1@glast,351,269,0 script #glast_move_04 WARPNPC,3,3,{
  670. end;
  671. OnTouch:
  672. if (is_party_leader() == true) {
  673. donpcevent instance_npcname("#sarah_wrath") + "::OnStop";
  674. warpparty 'map_glast$,349,282, getcharid(1), 'map_glast$,1,1;
  675. }
  676. end;
  677. }
  678. // Exit
  679. 1@glast,376,303,0 warp2 #glast_move_05 2,2,dali02,91,140
  680. // Fenrir bottom
  681. 1@glast,216,48,0 script #glast_event_5 HIDDEN_WARP_NPC,6,6,{
  682. end;
  683. OnTouch:
  684. disablenpc instance_npcname("#glast_event_5");
  685. mes "";
  686. cutin "fenrir_a.bmp",2;
  687. npctalk "Fenrith Fenrir: You are still in Glast Heim? Why aren't you leaving this dangerous place?", 'fenrir_2$;
  688. sleep2 2000;
  689. unittalk getcharid(3), "" + strcharinfo(0) + " : I know it's dangerous but I thought it would be fun so I couldn't help myself..";
  690. sleep2 2000;
  691. npctalk "Fenrith Fenrir: Hm.. Adventurers..", 'fenrir_2$;
  692. sleep2 2000;
  693. unittalk getcharid(3), "" + strcharinfo(0) + " : You don't have to worry~! I am fairly strong myself!";
  694. sleep2 2000;
  695. npctalk "Fenrith Fenrir: Oh.. really? Do you think you can assist me then?", 'fenrir_2$;
  696. sleep2 2000;
  697. npctalk "Fenrith Fenrir: The object I am looking for is located somewhere in Glast Heim!", 'fenrir_2$;
  698. viewpoint 1,47,270,1,0xFF0000;
  699. sleep2 2000;
  700. npctalk "Fenrith Fenrir: But others looking for the object will arrive there soon!", 'fenrir_2$;
  701. sleep2 2000;
  702. npctalk "Fenrith Fenrir: This is urgent because there isn't enough time. We have to arrive there soon. 5 minutes at the latest!", 'fenrir_2$;
  703. sleep2 2000;
  704. npctalk "Fenrith Fenrir: I will be waiting! If you are late I will have to go by myself!", 'fenrir_2$;
  705. sleep2 2000;
  706. npctalk "Fenrith Fenrir: Alright, I will go on ahead and you decide if you are going to assist me!", 'fenrir_2$;
  707. sleep2 3000;
  708. cutin "",255;
  709. disablenpc 'fenrir_2$;
  710. sleep2 1000;
  711. unittalk getcharid(3), "" + strcharinfo(0) + " : Hm.. what should I do..? I need shards of Gigantes as requested by Professor Bernhard..";
  712. sleep2 2000;
  713. unittalk getcharid(3), "" + strcharinfo(0) + " : Should I help that person.. Or should I look for Gigantes to take the shards as requested by Professor Bernhard..?";
  714. sleep2 2000;
  715. donpcevent instance_npcname("#fenrir_left_final_2") + "::OnStart";// timer (5 mins)
  716. for ( .@i = 1; .@i < 7; .@i++ )
  717. enablenpc instance_npcname("Ancient Gigantes#glast_" + .@i);
  718. enablenpc 'fenrir_3$;
  719. enablenpc instance_npcname("#glast_event_7");
  720. disablenpc instance_npcname("#glast_move_01"); // officially player can be stucked in entrance
  721. end;
  722. }
  723. 1@glast,216,52,6 script Fenrith Fenrir#glast_02 4_F_FENRIR,{ end; }
  724. // Fenrir left side, entrance
  725. 1@glast,47,270,0 script #glast_event_7 HIDDEN_WARP_NPC,5,5,{
  726. end;
  727. OnTouch:
  728. if (is_party_leader() == false)
  729. npctalk "Fenrith Fenrir: I would like your party leader to come and help me!", 'fenrir_3$;
  730. else {
  731. mes "";
  732. disablenpc instance_npcname("#glast_event_7");
  733. npctalk "Fenrith Fenrir: You came! I was waiting!", 'fenrir_3$;
  734. sleep2 2000;
  735. npctalk "Fenrith Fenrir: We don't have much time! We have to go search for it now! Let's go in!", 'fenrir_3$;
  736. sleep2 2000;
  737. if ('skip_left_part == 0) {// 5 mins have passed?
  738. donpcevent instance_npcname("#fenrir_left_final_2") + "::OnStop";
  739. disablenpc 'fenrir_3$;
  740. enablenpc 'fenrir_4$;
  741. enablenpc instance_npcname("#glast_event_9");
  742. warpparty 'map_glast$,41,348, getcharid(1), 'map_glast$,1,1;
  743. }
  744. }
  745. end;
  746. }
  747. 1@glast,47,270,4 duplicate(#effect_glast_event01_1) Fenrith Fenrir#glast_03 4_F_FENRIR
  748. // Fenrir left side, inside
  749. 1@glast,44,357,0 script #glast_event_9 HIDDEN_WARP_NPC,3,3,{
  750. end;
  751. OnTouch:
  752. disablenpc instance_npcname("#glast_event_9");
  753. mes "";
  754. cutin "fenrir_a.bmp",2;
  755. npctalk "Fenrith Fenrir: The sword of Baldur, Sentinel Breeze... even after 1000 years..", 'fenrir_4$;
  756. sleep2 3000;
  757. npctalk "Fenrith Fenrir: I can feel the evil of monsters in this place.. as if they are being controlled by someone..", 'fenrir_4$;
  758. sleep2 3000;
  759. npctalk "Fenrith Fenrir: Then there is someone else here other than me?", 'fenrir_4$;
  760. sleep2 3000;
  761. npctalk "Fenrith Fenrir: That will do.. Now all I have to do is use Sentinel Breeze to find Baldur's whereabouts..", 'fenrir_4$;
  762. sleep2 3000;
  763. enablenpc 'sarah_10$;
  764. enablenpc instance_npcname("Gigantes#semi1");
  765. enablenpc instance_npcname("Gigantes#semi2");
  766. sleep2 1000;
  767. cutin "sarah_hero3.bmp",0;
  768. npctalk "Sarah Irene: Hehe.. I see... just as I expected.", 'sarah_10$;
  769. sleep2 3000;
  770. npctalk "Sarah Irene: Was that blade the clue?", 'sarah_10$;
  771. sleep2 3000;
  772. npctalk "Sarah Irene: Then, Fenrith Fenrir, that means a 1000 year old seal can be broken with it?", 'sarah_10$;
  773. sleep2 3500;
  774. unittalk getcharid(3), "" + strcharinfo(0) + " : Could it be he was the real Fenrir?";
  775. npctalk "Fenrith Fenrir: Could this be.. Valkyrie! Now it is not fun anymore", 'fenrir_4$;
  776. cutin "fenrir_b.bmp",2;
  777. sleep2 5000;
  778. npctalk "Sarah Irene: Belated salutations, my name is Sarah Irene, one of the 12 Valkyries of Valhalla.", 'sarah_10$;
  779. cutin "sarah_hero3.bmp",0;
  780. sleep2 3000;
  781. npctalk "Sarah Irene: Anyway, also to achieve Freyja's will.. hehe..", 'sarah_10$;
  782. npctalk "Fenrith Fenrir: Two Gigantes! This will not be an easy fight. Help me and defeat the Gigantes!", 'fenrir_4$;
  783. cutin "fenrir_b.bmp",2;
  784. sleep2 3000;
  785. npctalk "Sarah Irene: Go forth! Gigantes! And my loyal monsters!", 'sarah_10$;
  786. npctalk "Fenrith Fenrir: Sarah will hide and continuously summon monsters! I will take care of that monster, you face the Gigantes!", 'fenrir_4$;
  787. cutin "fenrir_b.bmp",255;
  788. sleep2 2000;
  789. disablenpc 'sarah_10$;
  790. disablenpc instance_npcname("Gigantes#semi1");
  791. disablenpc instance_npcname("Gigantes#semi2");
  792. enablenpc instance_npcname("#fenrir_left_final_1");
  793. monster 'map_glast$,49,363, "Gigantes#semi1", 3191,1, instance_npcname("#fenrir_left_final_1") + "::OnMobDead";// MM_M_GIGAN1
  794. monster 'map_glast$,41,363, "Gigantes#semi2", 3192,1, instance_npcname("#fenrir_left_final_1") + "::OnMobDead";// MM_M_GIGAN2
  795. donpcevent instance_npcname("#glast_event_9") + "::OnEvent";
  796. end;
  797. OnEvent:
  798. sleep 15000;
  799. 'timer_left_side = 0;
  800. donpcevent instance_npcname("#glast_event_9") + "::OnStart";
  801. end;
  802. OnStart:
  803. initnpctimer;
  804. npctalk "Fenrith Fenrir: Currents vibrating in the atmosphere! Show me your strength!", 'fenrir_4$;
  805. callsub S_Spawn,1,3198;// MM_M_GALION
  806. progressbar_npc "000000",5, 'fenrir_4$; // note: display effect after dead of Gigantes
  807. npctalk "Fenrith Fenrir: Light Bolt!!!", 'fenrir_4$;
  808. for ( .@i = 1; .@i < 9; .@i++ )
  809. specialeffect EF_LIGHTBOLT, AREA, instance_npcname("#effect_glast_event02_" + .@i);
  810. end;
  811. OnTimer6000:
  812. killmonster 'map_glast$, instance_npcname("#glast_event_9") + "::OnMobDead";
  813. end;
  814. OnTimer15000:
  815. npctalk "Fenrith Fenrir: Devour this evil presence with the fire pit of the universe!", 'fenrir_4$;
  816. callsub S_Spawn,2,3198;// MM_M_GALION
  817. progressbar_npc "000000",5, 'fenrir_4$;
  818. npctalk "Fenrith Fenrir: Hell fire that can swallow even space! Meteor storm~!!!!!", 'fenrir_4$;
  819. for ( .@i = 1; .@i < 9; .@i++ )
  820. specialeffect EF_METEORSTORM, AREA, instance_npcname("#effect_glast_event02_" + .@i);
  821. end;
  822. OnTimer21000:
  823. killmonster 'map_glast$, instance_npcname("#glast_event_9") + "::OnMobDead";
  824. end;
  825. OnTimer30000:
  826. npctalk "Fenrith Fenrir: Currents vibrating in the atmosphere! Show me your strength!", 'fenrir_4$;
  827. callsub S_Spawn,1,3199;// MM_M_MUTANT_DRAGON
  828. progressbar_npc "000000",5, 'fenrir_4$;
  829. npctalk "Fenrith Fenrir: Light Bolt!!!", 'fenrir_4$;
  830. for ( .@i = 1; .@i < 9; .@i++ )
  831. specialeffect EF_LIGHTBOLT, AREA, instance_npcname("#effect_glast_event02_" + .@i);
  832. end;
  833. OnTimer36000:
  834. killmonster 'map_glast$, instance_npcname("#glast_event_9") + "::OnMobDead";
  835. end;
  836. OnTimer45000:
  837. npctalk "Fenrith Fenrir: Freeze the evil presence with frost wind!!!", 'fenrir_4$;
  838. callsub S_Spawn,2,3199;// MM_M_MUTANT_DRAGON
  839. progressbar_npc "000000",5, 'fenrir_4$;
  840. npctalk "Fenrith Fenrir: A storm that can freeze even the soul!! Storm gust~!!!!!", 'fenrir_4$;
  841. for ( .@i = 1; .@i < 9; .@i++ )
  842. specialeffect EF_STORMGUST, AREA, instance_npcname("#effect_glast_event02_" + .@i);
  843. end;
  844. OnTimer51000:
  845. killmonster 'map_glast$, instance_npcname("#glast_event_9") + "::OnMobDead";
  846. end;
  847. OnTimer55000:
  848. 'timer_left_side++;
  849. if ('timer_left_side == 5) {
  850. stopnpctimer;
  851. donpcevent instance_npcname("#fenrir_left_vermilion") + "::OnEvent";
  852. }
  853. end;
  854. OnTimer60000:
  855. donpcevent instance_npcname("#glast_event_9") + "::OnStart";
  856. end;
  857. OnStop:
  858. stopnpctimer;
  859. end;
  860. OnMobDead:
  861. end;
  862. S_Spawn:
  863. .@mob_id = getarg(1);
  864. .@label$ = instance_npcname("#glast_event_9") + "::OnMobDead";
  865. if (getarg(0) == 1) {
  866. monster 'map_glast$,43,355, "--ja--", .@mob_id,1, .@label$;
  867. monster 'map_glast$,39,361, "--ja--", .@mob_id,1, .@label$;
  868. monster 'map_glast$,48,361, "--ja--", .@mob_id,1, .@label$;
  869. monster 'map_glast$,43,363, "--ja--", .@mob_id,1, .@label$;
  870. }
  871. else {
  872. monster 'map_glast$,37,360, "--ja--", .@mob_id,1, .@label$;
  873. monster 'map_glast$,37,362, "--ja--", .@mob_id,1, .@label$;
  874. monster 'map_glast$,37,364, "--ja--", .@mob_id,1, .@label$;
  875. monster 'map_glast$,37,366, "--ja--", .@mob_id,1, .@label$;
  876. monster 'map_glast$,37,368, "--ja--", .@mob_id,1, .@label$;
  877. monster 'map_glast$,41,371, "--ja--", .@mob_id,1, .@label$;
  878. monster 'map_glast$,50,360, "--ja--", .@mob_id,1, .@label$;
  879. monster 'map_glast$,50,362, "--ja--", .@mob_id,1, .@label$;
  880. monster 'map_glast$,50,364, "--ja--", .@mob_id,1, .@label$;
  881. monster 'map_glast$,50,366, "--ja--", .@mob_id,1, .@label$;
  882. monster 'map_glast$,50,368, "--ja--", .@mob_id,1, .@label$;
  883. monster 'map_glast$,46,371, "--ja--", .@mob_id,1, .@label$;
  884. }
  885. return;
  886. }
  887. 1@glast,1,1,0 script #fenrir_left_vermilion HIDDEN_WARP_NPC,{
  888. end;
  889. OnEvent:
  890. enablenpc instance_npcname("#fenrir_left_vermilion");
  891. initnpctimer;
  892. npctalk "Fenrith Fenrir: They are endless. I should finish this absolutely.", 'fenrir_4$;
  893. progressbar_npc "000000",10, 'fenrir_4$;
  894. end;
  895. OnTimer2000:
  896. npctalk "Fenrith Fenrir: Limitlessly distant monarch with the beautiful scarlet breath!!", 'fenrir_4$;
  897. end;
  898. OnTimer4000:
  899. npctalk "Fenrith Fenrir: Where you have passed will only be filled with nothingness.", 'fenrir_4$;
  900. end;
  901. OnTimer7000:
  902. npctalk "Fenrith Fenrir: Power to shake the earth's axis! Show your grace right here and now!!!", 'fenrir_4$;
  903. end;
  904. OnTimer10000:
  905. stopnpctimer;
  906. npctalk "Fenrith Fenrir: Road of Vermilion!!!!", 'fenrir_4$;
  907. for ( .@i = 1; .@i < 9; .@i++ )
  908. specialeffect EF_LORD, AREA, instance_npcname("#effect_glast_event02_" + .@i);
  909. killmonster 'map_glast$, instance_npcname("#fenrir_left_final_1") + "::OnMobDead";
  910. donpcevent instance_npcname("#fenrir_left_final_1") + "::OnStart";
  911. disablenpc instance_npcname("#fenrir_left_vermilion");
  912. end;
  913. OnStop:
  914. stopnpctimer;
  915. disablenpc instance_npcname("#fenrir_left_vermilion");
  916. end;
  917. }
  918. 1@glast,1,1,0 script #fenrir_left_final_1 HIDDEN_WARP_NPC,{
  919. end;
  920. OnStart:
  921. initnpctimer;
  922. end;
  923. OnTimer2000:
  924. npctalk "Fenrith Fenrir: Alright! We have defeated a Gigantes!", 'fenrir_4$;
  925. enablenpc 'sarah_10$;
  926. end;
  927. OnTimer4000:
  928. npctalk "Sarah Irene: As expected, Fenrith Fenrir, you do not yield easily!", 'sarah_10$;
  929. end;
  930. OnTimer7000:
  931. npctalk "Fenrith Fenrir: Get away from the Sentinel Breeze immediately!", 'fenrir_4$;
  932. end;
  933. OnTimer9000:
  934. npctalk "Sarah Irene: Hehe.. I can't do that!", 'sarah_10$;
  935. specialeffect EF_WL_TELEKINESIS_INTENSE, AREA, instance_npcname("#effect_glast_event02_bis");
  936. end;
  937. OnTimer11000:
  938. npctalk "Sarah Irene: If you want it back come to Glast Heim Castle! I shall be waiting!", 'sarah_10$;
  939. end;
  940. OnTimer13000:
  941. specialeffect EF_FIREPILLARON2, AREA, 'sarah_10$;
  942. end;
  943. OnTimer14000:
  944. disablenpc 'sarah_10$;
  945. end;
  946. OnTimer16000:
  947. npctalk "Fenrith Fenrir: We must follow quickly to retrieve the sword! I shall use a group space movement spell!", 'fenrir_4$;
  948. end;
  949. OnTimer19000:
  950. npctalk "Fenrith Fenrir: Simultaneous large scale warp!", 'fenrir_4$;
  951. end;
  952. OnTimer20000:
  953. stopnpctimer;
  954. //for ( .@i = 1; .@i < 8; .@i++ )
  955. // enablenpc instance_npcname("#glast_event_warp_" + .@i); // warp to 105,369
  956. areawarp 'map_glast$,26,338,59,375, 'map_glast$,105,369;
  957. for ( .@i = 1; .@i < 9; .@i++ )
  958. disablenpc instance_npcname("#effect_glast_event02_" + .@i);
  959. disablenpc instance_npcname("#effect_glast_event02_bis");
  960. disablenpc instance_npcname("#fenrir_left_final_1");
  961. disablenpc 'fenrir_4$;
  962. enablenpc instance_npcname("#glast_event_13");
  963. enablenpc 'fenrir_5$;
  964. end;
  965. OnMobDead:
  966. if (mobcount( 'map_glast$, instance_npcname("#fenrir_left_final_1") + "::OnMobDead" ) < 1) {
  967. donpcevent instance_npcname("#glast_event_9") + "::OnStop";
  968. donpcevent instance_npcname("#fenrir_left_vermilion") + "::OnStop";
  969. donpcevent instance_npcname("#fenrir_left_final_1") + "::OnStart";
  970. }
  971. end;
  972. }
  973. 1@glast,44,357,8 duplicate(#effect_glast_event01_1) Fenrith Fenrir#glast_04 4_F_FENRIR
  974. 1@glast,49,363,4 duplicate(#effect_glast_event01_1) Gigantes#semi1 4_GIGANTES_SMALL
  975. 1@glast,41,363,4 duplicate(#effect_glast_event01_1) Gigantes#semi2 4_GIGANTES_SMALL
  976. 1@glast,46,364,4 duplicate(#effect_glast_event01_1) Sarah Irene#glast_10 4_F_SARAH
  977. 1@glast,52,345,4 duplicate(#effect_glast_event01_1) #effect_glast_event02_1 CLEAR_NPC
  978. 1@glast,44,350,4 duplicate(#effect_glast_event01_1) #effect_glast_event02_2 CLEAR_NPC
  979. 1@glast,35,360,4 duplicate(#effect_glast_event01_1) #effect_glast_event02_3 CLEAR_NPC
  980. 1@glast,44,360,4 duplicate(#effect_glast_event01_1) #effect_glast_event02_4 CLEAR_NPC
  981. 1@glast,52,360,4 duplicate(#effect_glast_event01_1) #effect_glast_event02_5 CLEAR_NPC
  982. 1@glast,35,368,4 duplicate(#effect_glast_event01_1) #effect_glast_event02_6 CLEAR_NPC
  983. 1@glast,53,368,4 duplicate(#effect_glast_event01_1) #effect_glast_event02_7 CLEAR_NPC
  984. 1@glast,44,371,4 duplicate(#effect_glast_event01_1) #effect_glast_event02_8 CLEAR_NPC
  985. 1@glast,44,366,4 duplicate(#effect_glast_event01_1) #effect_glast_event02_bis CLEAR_NPC
  986. // Event top side
  987. 1@glast,133,365,0 script #glast_event_13 HIDDEN_WARP_NPC,8,8,{
  988. end;
  989. OnTouch:
  990. disablenpc instance_npcname("#glast_event_13");
  991. //for ( .@i = 1; .@i < 8; .@i++ )
  992. // disablenpc instance_npcname("#glast_event_warp_" + .@i);
  993. mes "";
  994. cutin "fenrir_a.bmp",2;
  995. sleep2 1000;
  996. npctalk "Fenrith Fenrir: I need to go to Glast Heim Castle to retrieve the sword of Baldur.", 'fenrir_5$;
  997. sleep2 3000;
  998. npctalk "Fenrith Fenrir: It could be difficult alone, I would gratefully accept your help.", 'fenrir_5$;
  999. sleep2 3000;
  1000. npctalk "Fenrith Fenrir: Since there isn't enough time, we can't wait long.", 'fenrir_5$;
  1001. sleep2 3000;
  1002. npctalk "Fenrith Fenrir: I will wait in the central castle of Glast Heim for about 5 minutes.", 'fenrir_5$;
  1003. sleep2 3000;
  1004. npctalk "Fenrith Fenrir: Since it is dangerous you do not have to feel obligated to help me. I will try by myself if I have to.", 'fenrir_5$;
  1005. viewpoint 1,199,237,1,0xFF0000;
  1006. sleep2 3000;
  1007. npctalk "Fenrith Fenrir: Then I will go on ahead! Warp!", 'fenrir_5$;
  1008. cutin "",255;
  1009. donpcevent instance_npcname("#glast_event_13") + "::OnBar";
  1010. end;
  1011. OnBar:
  1012. progressbar_npc "000000",3, 'fenrir_5$;
  1013. disablenpc 'fenrir_5$;
  1014. donpcevent instance_npcname("#fenrir_boss_final_2") + "::OnStart";// timer (5 mins)
  1015. enablenpc instance_npcname("#glast_move_03");
  1016. enablenpc instance_npcname("#glast_event_15");
  1017. enablenpc 'fenrir_6$;
  1018. end;
  1019. }
  1020. 1@glast,133,365,4 duplicate(#effect_glast_event01_1) Fenrith Fenrir#glast_05 4_F_FENRIR
  1021. // Skipped left side
  1022. 1@glast,1,1,0 script #fenrir_left_final_2 HIDDEN_WARP_NPC,{
  1023. end;
  1024. OnStart:
  1025. enablenpc instance_npcname("#fenrir_left_final_2");
  1026. initnpctimer;
  1027. end;
  1028. OnTimer300000:
  1029. 'skip_left_part = 1;
  1030. disablenpc instance_npcname("#glast_event_7");
  1031. disablenpc 'fenrir_3$;
  1032. mapannounce 'map_glast$, "Fenrith Fenrir: Alright! We have defeated a Gigantes!", bc_map,0xEBFF;
  1033. end;
  1034. OnTimer302000:
  1035. mapannounce 'map_glast$, "Sarah Irene: As expected, Fenrith Fenrir, you do not yield easily!", bc_map,0xEBFF;
  1036. end;
  1037. OnTimer305000:
  1038. mapannounce 'map_glast$, "Fenrith Fenrir: Get away from the Sentinel Breeze immediately!", bc_map,0xEBFF;
  1039. end;
  1040. OnTimer307000:
  1041. mapannounce 'map_glast$, "Sarah Irene: Hehe.. I can't do that!", bc_map,0xEBFF;
  1042. end;
  1043. OnTimer309000:
  1044. mapannounce 'map_glast$, "Sarah Irene: If you want it back come to Glast Heim Castle! I shall be waiting!", bc_map,0xEBFF;
  1045. end;
  1046. OnTimer311000:
  1047. mapannounce 'map_glast$, "Fenrith Fenrir: I need to go to Glast Heim Castle to retrieve the sword of Baldur", bc_map,0xEBFF;
  1048. end;
  1049. OnTimer313000:
  1050. mapannounce 'map_glast$, "Fenrith Fenrir: It may be difficult alone. If you are listening I will gratefully accept your help.", bc_map,0xEBFF;
  1051. end;
  1052. OnTimer315000:
  1053. mapannounce 'map_glast$, "Fenrith Fenrir: Since there isn't enough time, we can't wait long.", bc_map,0xEBFF;
  1054. end;
  1055. OnTimer317000:
  1056. mapannounce 'map_glast$, "Fenrith Fenrir: I will wait in the central castle of Glast Heim for about 5 minutes.", bc_map,0xEBFF;
  1057. end;
  1058. OnTimer319000:
  1059. stopnpctimer;
  1060. mapannounce 'map_glast$, "Fenrith Fenrir: Since it is dangerous you do not have to feel obligated to help me. I will try by myself if I have to.", bc_map,0xEBFF;
  1061. enablenpc instance_npcname("#glast_move_03");
  1062. enablenpc 'fenrir_6$;
  1063. enablenpc instance_npcname("#glast_event_15");
  1064. disablenpc instance_npcname("#fenrir_left_final_2");
  1065. donpcevent instance_npcname("#fenrir_boss_final_2") + "::OnStart";// timer (5 mins)
  1066. end;
  1067. OnStop:
  1068. stopnpctimer;
  1069. disablenpc instance_npcname("#fenrir_left_final_2");
  1070. end;
  1071. }
  1072. // Stairs final room
  1073. 1@glast,200,268,0 script #glast_event_15 HIDDEN_WARP_NPC,7,7,{
  1074. end;
  1075. OnTouch:
  1076. disablenpc instance_npcname("#glast_move_03");
  1077. disablenpc instance_npcname("#glast_event_15");
  1078. donpcevent instance_npcname("#fenrir_boss_final_2") + "::OnStop";
  1079. mes "";
  1080. sleep2 1000;
  1081. npctalk "Fenrith Fenrir: I was waiting. Thank you for not being late.", 'fenrir_6$;
  1082. sleep2 3000;
  1083. npctalk "Fenrith Fenrir: Let us climb the castle to retrieve Sentinel Breeze! Sarah will be waiting!", 'fenrir_6$;
  1084. sleep2 3000;
  1085. disablenpc 'fenrir_6$;
  1086. enablenpc instance_npcname("#glast_move_03a");
  1087. enablenpc instance_npcname("#glast_event_18");
  1088. enablenpc instance_npcname("Sarah Irene#glast_17");
  1089. enablenpc 'fenrir_7$;
  1090. end;
  1091. }
  1092. 1@glast,200,268,4 duplicate(#effect_glast_event01_1) Fenrith Fenrir#glast_06 4_F_FENRIR
  1093. // Final room
  1094. 1@glast,199,336,0 script #glast_event_18 HIDDEN_WARP_NPC,10,10,{
  1095. end;
  1096. OnTouch:
  1097. disablenpc instance_npcname("#glast_event_18");
  1098. mes "";
  1099. cutin "sarah_hero3.bmp",0;
  1100. sleep2 1000;
  1101. npctalk "Sarah Irene: It seemed like forever waiting for you~ Fenrith Fenrir.", 'sarah_17$;
  1102. sleep2 3000;
  1103. cutin "fenrir_b.bmp",2;
  1104. npctalk "Fenrith Fenrir: No need for useless words, hand over the Sentinel Breeze now!", 'fenrir_7$;
  1105. sleep2 3000;
  1106. cutin "sarah_hero3.bmp",0;
  1107. npctalk "Sarah Irene: Try if you can.", 'sarah_17$;
  1108. sleep2 3000;
  1109. cutin "fenrir_b.bmp",2;
  1110. npctalk "Fenrith Fenrir: Sarah may be too difficult for you to face alone. I must face her!", 'fenrir_7$;
  1111. sleep2 3000;
  1112. npctalk "Fenrith Fenrir: Pure white shackles, eternal prison, make a deal with me now!", 'fenrir_7$;
  1113. donpcevent instance_npcname("#glast_event_18") + "::OnBar";
  1114. sleep2 3000;
  1115. npctalk "Fenrith Fenrir: White Imprison!!", 'fenrir_7$;
  1116. specialeffect EF_BOTTOM_BASILICA2, AREA, 'sarah_17$;
  1117. sleep2 3000;
  1118. npctalk "Sarah Irene: Hurk.... he..", 'sarah_17$;
  1119. npctalk "Fenrith Fenrir: I will weaken Sarah with white imprison and face her while she's shackled,", 'fenrir_7$;
  1120. sleep2 3000;
  1121. npctalk "Fenrith Fenrir: you take care of the monsters she summons. I'm counting on you.", 'fenrir_7$;
  1122. sleep2 3000;
  1123. unittalk getcharid(3), "" + strcharinfo(0) + " : Will do. Powerful enemies make my blood boil.";
  1124. sleep2 6000;
  1125. npctalk "Fenrith Fenrir: This is a strategy to attack at once and finish Sarah off while she is in critical condition. Remember, our opponent is strong.", 'fenrir_7$;
  1126. sleep2 3000;
  1127. cutin "sarah_hero3_2.bmp",0;
  1128. npctalk "Sarah Irene: So your plan was to tie me up with this sort of trick?", 'sarah_17$;
  1129. sleep2 3000;
  1130. npctalk "Sarah Irene: Furthermore you borrow the assistance of such rookie adventurers...", 'sarah_17$;
  1131. sleep2 3000;
  1132. npctalk "Sarah Irene: You need to disappear from here along with that worn out blade!!", 'sarah_17$;
  1133. sleep2 3000;
  1134. cutin "",255;
  1135. hideonnpc 'sarah_17$;
  1136. donpcevent instance_npcname("#glast_event_19") + "::OnEvent";
  1137. monster 'map_glast$,200,336, "Sarah Irene#1",3190,1, instance_npcname("#fenrir_boss_final_1") + "::OnBossDead"; // MM_SARAH
  1138. 'boss_id = $@mobid[0];
  1139. end;
  1140. OnBar:
  1141. progressbar_npc "000000",3, 'fenrir_7$;
  1142. end;
  1143. }
  1144. 1@glast,200,336,4 duplicate(#effect_glast_event01_1) Sarah Irene#glast_17 4_F_SARAH
  1145. 1@glast,197,330,8 script Fenrith Fenrir#glast_07 4_F_FENRIR,{
  1146. end;
  1147. OnStart:
  1148. initnpctimer;
  1149. end;
  1150. OnTimer1000:
  1151. specialeffect EF_TETRACASTING;
  1152. initnpctimer;
  1153. end;
  1154. OnStop:
  1155. stopnpctimer;
  1156. end;
  1157. }
  1158. 1@glast,212,350,0 script #glast_event_19 HIDDEN_WARP_NPC,{
  1159. end;
  1160. OnEvent:
  1161. enablenpc instance_npcname("#glast_event_19");
  1162. enablenpc instance_npcname("#fenrir_boss_final_1");
  1163. initnpctimer;
  1164. specialeffect EF_PRIMECHARGE4, AREA, 'fenrir_7$;
  1165. npctalk "Fenrith Fenrir: Lethal poison, Dark clouds, appear before me and show a most painful death!", 'fenrir_7$;
  1166. monster 'map_glast$,190,341, "Large Gigantes#a1", 3194,1, instance_npcname("#fenrir_boss_final_1") + "::OnMobDead";// MM_L_GIGAN1
  1167. monster 'map_glast$,214,331, "Large Gigantes#b2", 3195,1, instance_npcname("#fenrir_boss_final_1") + "::OnMobDead";// MM_L_GIGAN2
  1168. progressbar_npc "000000",10, 'fenrir_7$;
  1169. end;
  1170. OnTimer1000:
  1171. specialeffect EF_BOTTOM_BASILICA2, AREA, 'sarah_17$;
  1172. end;
  1173. OnTimer10000:
  1174. callsub S_Hit,1;
  1175. npctalk "Fenrith Fenrir: Go! Cloud Kill!!!!!", 'fenrir_7$;
  1176. specialeffect EF_POISONSMOKE, AREA, 'sarah_17$;
  1177. for ( .@i = 1; .@i <= 8; .@i++ )
  1178. specialeffect EF_POISONSMOKE, AREA, instance_npcname("#effect_glast_event03_" + .@i);
  1179. progressbar_npc "000000",10, 'fenrir_7$;
  1180. end;
  1181. OnTimer10500:
  1182. unittalk 'boss_id, "Sarah Irene: That was sudden Fenrir. Is that all you've got?";
  1183. end;
  1184. OnTimer11000:
  1185. specialeffect EF_POISONSMOKE2, AREA, 'sarah_17$;
  1186. specialeffect EF_POISONSMOKE2, AREA, instance_npcname("#effect_glast_event03_1");
  1187. specialeffect EF_ENCHANTPOISON, AREA, instance_npcname("#effect_glast_event03_2");
  1188. specialeffect EF_POISONSMOKE2, AREA, instance_npcname("#effect_glast_event03_3");
  1189. specialeffect EF_ENCHANTPOISON, AREA, instance_npcname("#effect_glast_event03_4");
  1190. specialeffect EF_POISONSMOKE2, AREA, instance_npcname("#effect_glast_event03_5");
  1191. specialeffect EF_ENCHANTPOISON, AREA, instance_npcname("#effect_glast_event03_6");
  1192. specialeffect EF_POISONSMOKE2, AREA, instance_npcname("#effect_glast_event03_7");
  1193. specialeffect EF_ENCHANTPOISON, AREA, instance_npcname("#effect_glast_event03_8");
  1194. end;
  1195. OnTimer13000:
  1196. npctalk "Fenrith Fenrir: Lethal poison, Dark clouds, appear before me and show a most painful death!", 'fenrir_7$;
  1197. specialeffect EF_PRIMECHARGE4, AREA, 'fenrir_7$;
  1198. specialeffect EF_POISONSMOKE2, AREA, 'sarah_17$;
  1199. specialeffect EF_POISONSMOKE2, AREA, instance_npcname("#effect_glast_event03_1");
  1200. specialeffect EF_ENCHANTPOISON, AREA, instance_npcname("#effect_glast_event03_2");
  1201. specialeffect EF_POISONSMOKE2, AREA, instance_npcname("#effect_glast_event03_3");
  1202. specialeffect EF_ENCHANTPOISON, AREA, instance_npcname("#effect_glast_event03_4");
  1203. specialeffect EF_POISONSMOKE2, AREA, instance_npcname("#effect_glast_event03_5");
  1204. specialeffect EF_ENCHANTPOISON, AREA, instance_npcname("#effect_glast_event03_6");
  1205. specialeffect EF_POISONSMOKE2, AREA, instance_npcname("#effect_glast_event03_7");
  1206. specialeffect EF_ENCHANTPOISON, AREA, instance_npcname("#effect_glast_event03_8");
  1207. end;
  1208. OnTimer20000:
  1209. callsub S_Hit,2;
  1210. npctalk "Fenrith Fenrir: Go! Cloud Kill!!!!!", 'fenrir_7$;
  1211. specialeffect EF_POISONSMOKE, AREA, 'sarah_17$;
  1212. specialeffect EF_BOTTOM_BASILICA2, AREA, 'sarah_17$;
  1213. for ( .@i = 1; .@i <= 8; .@i++ )
  1214. specialeffect EF_POISONSMOKE, AREA, instance_npcname("#effect_glast_event03_" + .@i);
  1215. progressbar_npc "000000",30, 'fenrir_7$;
  1216. end;
  1217. OnTimer20500:
  1218. unittalk 'boss_id, "Sarah Irene: Try to entertain me a little more!!";
  1219. end;
  1220. OnTimer21000:
  1221. specialeffect EF_POISONSMOKE2, AREA, 'sarah_17$;
  1222. specialeffect EF_POISONSMOKE2, AREA, instance_npcname("#effect_glast_event03_1");
  1223. specialeffect EF_ENCHANTPOISON, AREA, instance_npcname("#effect_glast_event03_2");
  1224. specialeffect EF_POISONSMOKE2, AREA, instance_npcname("#effect_glast_event03_3");
  1225. specialeffect EF_ENCHANTPOISON, AREA, instance_npcname("#effect_glast_event03_4");
  1226. specialeffect EF_POISONSMOKE2, AREA, instance_npcname("#effect_glast_event03_5");
  1227. specialeffect EF_ENCHANTPOISON, AREA, instance_npcname("#effect_glast_event03_6");
  1228. specialeffect EF_POISONSMOKE2, AREA, instance_npcname("#effect_glast_event03_7");
  1229. specialeffect EF_ENCHANTPOISON, AREA, instance_npcname("#effect_glast_event03_8");
  1230. end;
  1231. OnTimer23000:
  1232. npctalk "Fenrith Fenrir: I speak to you who controls fire, I Fenrith, desire a fire that does not go out...", 'fenrir_7$;
  1233. specialeffect EF_BEGINSPELL_YB, AREA, 'fenrir_7$;
  1234. specialeffect EF_POISONSMOKE2, AREA, 'sarah_17$;
  1235. specialeffect EF_POISONSMOKE2, AREA, instance_npcname("#effect_glast_event03_1");
  1236. specialeffect EF_ENCHANTPOISON, AREA, instance_npcname("#effect_glast_event03_2");
  1237. specialeffect EF_POISONSMOKE2, AREA, instance_npcname("#effect_glast_event03_3");
  1238. specialeffect EF_ENCHANTPOISON, AREA, instance_npcname("#effect_glast_event03_4");
  1239. specialeffect EF_POISONSMOKE2, AREA, instance_npcname("#effect_glast_event03_5");
  1240. specialeffect EF_ENCHANTPOISON, AREA, instance_npcname("#effect_glast_event03_6");
  1241. specialeffect EF_POISONSMOKE2, AREA, instance_npcname("#effect_glast_event03_7");
  1242. specialeffect EF_ENCHANTPOISON, AREA, instance_npcname("#effect_glast_event03_8");
  1243. end;
  1244. OnTimer36000:
  1245. npctalk "Fenrith Fenrir: Endlessly burning conflagration, a fire that can scorch even the soul!! Appear before me now!!", 'fenrir_7$;
  1246. specialeffect EF_BEGINSPELL_YB, AREA, 'fenrir_7$;
  1247. specialeffect EF_BOTTOM_BASILICA2, AREA, 'sarah_17$;
  1248. end;
  1249. OnTimer50000:
  1250. callsub S_Hit,3;
  1251. npctalk "Fenrith Fenrir: Emerge!! Fire Insignia!!!!", 'fenrir_7$;
  1252. specialeffect EF_DEMONICFIRE, AREA, 'sarah_17$;
  1253. progressbar_npc "000000",10, 'fenrir_7$;
  1254. end;
  1255. OnTimer50500:
  1256. unittalk 'boss_id, "Sarah Irene: Oh... not bad? But not good enough!!";
  1257. end;
  1258. OnTimer51000:
  1259. specialeffect EF_BOTTOM_BASILICA2, AREA, 'sarah_17$;
  1260. end;
  1261. OnTimer53000:
  1262. npctalk "Fenrith Fenrir: The root of earthshaking power!! Fear the power of the earth!!!", 'fenrir_7$;
  1263. specialeffect EF_PRIMECHARGE4, AREA, 'fenrir_7$;
  1264. end;
  1265. OnTimer60000:
  1266. callsub S_Hit,4;
  1267. npctalk "Fenrith Fenrir: Go forth!! Heaven's Drive!!!", 'fenrir_7$;
  1268. specialeffect EF_HEAVENSDRIVE, AREA, 'sarah_17$;
  1269. monster 'map_glast$,190,341, "Large Gigantes#a1", 3194,1, instance_npcname("#fenrir_boss_final_1") + "::OnMobDead";// MM_L_GIGAN1
  1270. monster 'map_glast$,214,331, "Large Gigantes#b2", 3195,1, instance_npcname("#fenrir_boss_final_1") + "::OnMobDead";// MM_L_GIGAN2
  1271. progressbar_npc "000000",10, 'fenrir_7$;
  1272. end;
  1273. OnTimer60500:
  1274. unittalk 'boss_id, "Sarah Irene: Why don't you stop your childish magic, Fenrir?";
  1275. end;
  1276. OnTimer63000:
  1277. specialeffect EF_PRIMECHARGE4, AREA, 'fenrir_7$;
  1278. npctalk "Fenrith Fenrir: The root of earthshaking power!! Fear the power of the earth!!!", 'fenrir_7$;
  1279. end;
  1280. OnTimer70000:
  1281. callsub S_Hit,5;
  1282. npctalk "Fenrith Fenrir: Go forth!! Heaven's Drive!!!", 'fenrir_7$;
  1283. specialeffect EF_HEAVENSDRIVE, AREA, 'sarah_17$;
  1284. specialeffect EF_BOTTOM_BASILICA2, AREA, 'sarah_17$;
  1285. progressbar_npc "000000",30, 'fenrir_7$;
  1286. end;
  1287. OnTimer70500:
  1288. unittalk 'boss_id, "Sarah Irene: Do you think that is enough to beat me?";
  1289. end;
  1290. OnTimer73000:
  1291. npctalk "Fenrith Fenrir: The mercilessly cold breath of the Northern winds,", 'fenrir_7$;
  1292. specialeffect EF_PRIMECHARGE2, AREA, 'fenrir_7$;
  1293. end;
  1294. OnTimer85000:
  1295. npctalk "Fenrith Fenrir: Come like the silent dawn mist and freeze everything!!", 'fenrir_7$;
  1296. specialeffect EF_PRIMECHARGE2, AREA, 'fenrir_7$;
  1297. end;
  1298. OnTimer100000:
  1299. callsub S_Hit,6;
  1300. npctalk "Fenrith Fenrir: Appear!!! Frost Misty!!!!!", 'fenrir_7$;
  1301. specialeffect EF_FROSTMYSTY, AREA, 'sarah_17$;
  1302. specialeffect EF_BOTTOM_BASILICA2, AREA, 'sarah_17$;
  1303. specialeffect EF_FROSTMYSTY, AREA, 'sarah_17$;
  1304. progressbar_npc "000000",10, 'fenrir_7$;
  1305. end;
  1306. OnTimer100500:
  1307. unittalk 'boss_id, "Sarah Irene: Not bad but.. not even close!";
  1308. end;
  1309. OnTimer103000:
  1310. npctalk "Fenrith Fenrir: The power of doubt, a powerful force, the power of deeply hidden secrets in the mind!!!", 'fenrir_7$;
  1311. specialeffect EF_PRIMECHARGE, AREA, 'fenrir_7$;
  1312. end;
  1313. OnTimer110000:
  1314. callsub S_Hit,7;
  1315. npctalk "Fenrith Fenrir: Now!!! Psychic Wave!!!!", 'fenrir_7$;
  1316. specialeffect EF_SPR_PLANT10, AREA, 'sarah_17$;
  1317. specialeffect EF_BOTTOM_BASILICA2, AREA, 'sarah_17$;
  1318. progressbar_npc "000000",10, 'fenrir_7$;
  1319. end;
  1320. OnTimer110500:
  1321. unittalk 'boss_id, "Sarah Irene: Ugh... that is no use Fenrir!";
  1322. end;
  1323. OnTimer113000:
  1324. npctalk "Fenrith Fenrir: The power of doubt, a powerful force, the power of deeply hidden secrets in the mind!!!", 'fenrir_7$;
  1325. specialeffect EF_PRIMECHARGE, AREA, 'fenrir_7$;
  1326. end;
  1327. OnTimer120000:
  1328. callsub S_Hit,8;
  1329. npctalk "Fenrith Fenrir: Now!!! Psychic Wave!!!!", 'fenrir_7$;
  1330. specialeffect EF_SPR_PLANT10, AREA, 'sarah_17$;
  1331. monster 'map_glast$,190,341, "Large Gigantes#a1", 3194,1, instance_npcname("#fenrir_boss_final_1") + "::OnMobDead";// MM_L_GIGAN1
  1332. monster 'map_glast$,214,331, "Large Gigantes#b2", 3195,1, instance_npcname("#fenrir_boss_final_1") + "::OnMobDead";// MM_L_GIGAN2
  1333. progressbar_npc "000000",30, 'fenrir_7$;
  1334. end;
  1335. OnTimer120500:
  1336. unittalk 'boss_id, "Sarah Irene: Hurk.. such an annoying magic bombardment!!";
  1337. end;
  1338. OnTimer123000:
  1339. npctalk "Fenrith Fenrir: I speak to you who controls fire, I Fenrith, desire a fire that does not go out...", 'fenrir_7$;
  1340. specialeffect EF_BEGINSPELL_YB, AREA, 'fenrir_7$;
  1341. end;
  1342. OnTimer135000:
  1343. npctalk "Fenrith Fenrir: Endlessly burning conflagration, a fire that can scorch even the soul!! Appear before me now!!", 'fenrir_7$;
  1344. specialeffect EF_BEGINSPELL_YB, AREA, 'fenrir_7$;
  1345. specialeffect EF_BOTTOM_BASILICA2, AREA, 'sarah_17$;
  1346. end;
  1347. OnTimer150000:
  1348. callsub S_Hit,9;
  1349. npctalk "Fenrith Fenrir: Emerge!! Fire Insignia!!!!", 'fenrir_7$;
  1350. specialeffect EF_DEMONICFIRE, AREA, 'sarah_17$;
  1351. specialeffect EF_BOTTOM_BASILICA2, AREA, 'sarah_17$;
  1352. progressbar_npc "000000",10, 'fenrir_7$;
  1353. end;
  1354. OnTimer150500:
  1355. unittalk 'boss_id, "Sarah Irene: I am Sarah Irene! I will not fall so easily!!!";
  1356. end;
  1357. OnTimer153000:
  1358. npctalk "Fenrith Fenrir: True wrath of the sky, thunderbolt that may split the earth... Fall before me now!!", 'fenrir_7$;
  1359. specialeffect EF_DQ9_CHARGE3, AREA, 'fenrir_7$;
  1360. end;
  1361. OnTimer160000:
  1362. callsub S_Hit,10;
  1363. npctalk "Fenrith Fenrir: Come now!! Thunder Storm!!!!!", 'fenrir_7$;
  1364. specialeffect EF_THUNDERSTORM2, AREA, 'sarah_17$;
  1365. unittalk 'boss_id, "Sarah Irene: Ugh...you are.. stronger than I predicted Fenrir...";
  1366. progressbar_npc "000000",10, 'fenrir_7$;
  1367. end;
  1368. OnTimer160500:
  1369. unittalk 'boss_id, "Sarah Irene: Ugh...you are.. stronger than I predicted Fenrir...";
  1370. end;
  1371. OnTimer163000:
  1372. npctalk "Fenrith Fenrir: True wrath of the sky, thunderbolt that may split the earth... Fall before me now!!", 'fenrir_7$;
  1373. specialeffect EF_DQ9_CHARGE3, AREA, 'fenrir_7$;
  1374. end;
  1375. OnTimer170000:
  1376. callsub S_Hit,11;
  1377. npctalk "Fenrith Fenrir: Come now!! Thunder Storm!!!!!", 'fenrir_7$;
  1378. specialeffect EF_THUNDERSTORM2, AREA, 'sarah_17$;
  1379. specialeffect EF_BOTTOM_BASILICA2, AREA, 'sarah_17$;
  1380. progressbar_npc "000000",30, 'fenrir_7$;
  1381. end;
  1382. OnTimer170500:
  1383. unittalk 'boss_id, "Sarah Irene: Argh!!!!!! Ahhh!!!!!";
  1384. end;
  1385. OnTimer173000:
  1386. npctalk "Fenrith Fenrir: The mercilessly cold breath of the Northern winds,", 'fenrir_7$;
  1387. specialeffect EF_PRIMECHARGE2, AREA, 'fenrir_7$;
  1388. end;
  1389. OnTimer180000:
  1390. monster 'map_glast$,190,341, "Large Gigantes#a1", 3194,1, instance_npcname("#fenrir_boss_final_1") + "::OnMobDead";// MM_L_GIGAN1
  1391. monster 'map_glast$,185,331, "Large Gigantes#a2", 3194,1, instance_npcname("#fenrir_boss_final_1") + "::OnMobDead";// MM_L_GIGAN1
  1392. monster 'map_glast$,209,341, "Large Gigantes#b1", 3195,1, instance_npcname("#fenrir_boss_final_1") + "::OnMobDead";// MM_L_GIGAN2
  1393. monster 'map_glast$,214,331, "Large Gigantes#b2", 3195,1, instance_npcname("#fenrir_boss_final_1") + "::OnMobDead";// MM_L_GIGAN2
  1394. end;
  1395. OnTimer185000:
  1396. npctalk "Fenrith Fenrir: Come like the silent dawn mist and freeze everything!!", 'fenrir_7$;
  1397. specialeffect EF_PRIMECHARGE2, AREA, 'fenrir_7$;
  1398. specialeffect EF_BOTTOM_BASILICA2, AREA, 'sarah_17$;
  1399. end;
  1400. OnTimer200000:
  1401. callsub S_Hit,12;
  1402. npctalk "Fenrith Fenrir: Appear!!! Frost Misty!!!!!", 'fenrir_7$;
  1403. specialeffect EF_FROSTMYSTY, AREA, 'sarah_17$;
  1404. donpcevent 'fenrir_7$ + "::OnStart";
  1405. progressbar_npc "000000",50, 'fenrir_7$;
  1406. end;
  1407. OnTimer200500:
  1408. unittalk 'boss_id, "Sarah Irene: Argh!!! I will kill you all!!!!!!";
  1409. specialeffect EF_FROSTMYSTY, AREA, 'sarah_17$;
  1410. specialeffect EF_BOTTOM_BASILICA2, AREA, 'sarah_17$;
  1411. end;
  1412. OnTimer203000:
  1413. npctalk "Fenrith Fenrir: Heaven's sword piercing the sky", 'fenrir_7$;
  1414. specialeffect EF_BLACKBODY, AREA, 'fenrir_7$;
  1415. specialeffect EF_RECOGNIZED, AREA, 'fenrir_7$;
  1416. end;
  1417. OnTimer216000:
  1418. npctalk "Fenrith Fenrir: I wish to borrow your strength for a moment!!", 'fenrir_7$;
  1419. end;
  1420. OnTimer230000:
  1421. npctalk "Fenrith Fenrir: Let fall here your extreme strength that can tear even the vacuum!!", 'fenrir_7$;
  1422. specialeffect EF_BOTTOM_BASILICA2, AREA, 'sarah_17$;
  1423. end;
  1424. OnTimer239000:
  1425. monster 'map_glast$,190,341, "Large Gigantes#a1", 3194,1, instance_npcname("#fenrir_boss_final_1") + "::OnMobDead";// MM_L_GIGAN1
  1426. monster 'map_glast$,185,331, "Large Gigantes#a2", 3194,1, instance_npcname("#fenrir_boss_final_1") + "::OnMobDead";// MM_L_GIGAN1
  1427. monster 'map_glast$,209,341, "Large Gigantes#b1", 3195,1, instance_npcname("#fenrir_boss_final_1") + "::OnMobDead";// MM_L_GIGAN2
  1428. monster 'map_glast$,214,331, "Large Gigantes#b2", 3195,1, instance_npcname("#fenrir_boss_final_1") + "::OnMobDead";// MM_L_GIGAN2
  1429. end;
  1430. OnTimer240000:
  1431. npctalk "Fenrith Fenrir: Sword that can control life and death, and pierce space time!!!", 'fenrir_7$;
  1432. end;
  1433. OnTimer250000:
  1434. npctalk "Fenrith Fenrir: Come out Baretis Spear!!!!!!", 'fenrir_7$;
  1435. specialeffect EF_PRESSURE3, AREA, 'sarah_17$;
  1436. for ( .@i = 1; .@i <= 8; .@i++ )
  1437. specialeffect EF_PRESSURE3, AREA, instance_npcname("#effect_glast_event03_" + .@i);
  1438. specialeffect EF_BOTTOM_BASILICA2, AREA, 'sarah_17$;
  1439. end;
  1440. OnTimer253000:
  1441. setunitdata 'boss_id, UMOB_HP, 100;
  1442. specialeffect EF_PRESSURE3, AREA, 'sarah_17$;
  1443. for ( .@i = 1; .@i <= 8; .@i++ )
  1444. specialeffect EF_PRESSURE3, AREA, instance_npcname("#effect_glast_event03_" + .@i);
  1445. npctalk "Fenrith Fenrir: Now! I put Sarah in critical condition! You have to finish her off! Attack her quickly! Sarah is strong!", 'fenrir_7$;
  1446. mapannounce 'map_glast$, "Fenrith Fenrir: Now! I put Sarah in critical condition! You have to finish her off!! Attack her quickly! Sarah is strong!", bc_map,0xEBFF;
  1447. npctalk "Sarah Irene: Hurk...this.. cannot happen!!! I cannot lose!!!!!", 'sarah_17$;
  1448. end;
  1449. OnTimer263000:
  1450. npctalk "Fenrith Fenrir: Since you may not be able to finish her off alone, I will prepare one final spell!!", 'fenrir_7$;
  1451. progressbar_npc "000000",50, 'fenrir_7$;
  1452. end;
  1453. OnTimer273000:
  1454. specialeffect EF_BOTTOM_BASILICA2, AREA, 'sarah_17$;
  1455. npctalk "Fenrith Fenrir: Heaven's sword piercing the sky", 'fenrir_7$;
  1456. specialeffect EF_RECOGNIZED, AREA, 'fenrir_7$;
  1457. specialeffect EF_BLACKBODY, AREA, 'fenrir_7$;
  1458. end;
  1459. OnTimer283000:
  1460. npctalk "Fenrith Fenrir: I wish to borrow your strength for a moment!!", 'fenrir_7$;
  1461. end;
  1462. OnTimer293000:
  1463. npctalk "Fenrith Fenrir: Let fall here your extreme strength that can tear even the vacuum!!";
  1464. end;
  1465. OnTimer303000:
  1466. npctalk "Fenrith Fenrir: Sword that can control life and death, and pierce space time!!!";
  1467. end;
  1468. OnTimer313000:
  1469. npctalk "Fenrith Fenrir: Come out Baretis Spear!!!!!!";
  1470. specialeffect EF_PRESSURE3, AREA, 'sarah_17$;
  1471. for ( .@i = 1; .@i <= 8; .@i++ )
  1472. specialeffect EF_PRESSURE3, AREA, instance_npcname("#effect_glast_event03_" + .@i);
  1473. donpcevent 'fenrir_7$ + "::OnStop";
  1474. end;
  1475. OnTimer316000:
  1476. specialeffect EF_PRESSURE3, AREA, 'sarah_17$;
  1477. for ( .@i = 1; .@i <= 8; .@i++ )
  1478. specialeffect EF_PRESSURE3, AREA, instance_npcname("#effect_glast_event03_" + .@i);
  1479. killmonster 'map_glast$, instance_npcname("#fenrir_boss_final_1") + "::OnBossDead";
  1480. donpcevent instance_npcname("#fenrir_boss_final_1") + "::OnBossDead";
  1481. end;
  1482. OnStop:
  1483. stopnpctimer;
  1484. disablenpc instance_npcname("#glast_event_19");
  1485. end;
  1486. S_Hit:
  1487. getunitdata 'boss_id, .@data;
  1488. .@hp = .@data[UMOB_MAXHP] - ((.@data[UMOB_MAXHP] * getarg(0)) / 13);
  1489. setunitdata 'boss_id, UMOB_HP, .@hp;
  1490. return;
  1491. }
  1492. 1@glast,1,1,0 script #fenrir_boss_final_1 HIDDEN_WARP_NPC,{
  1493. end;
  1494. OnBossDead:
  1495. donpcevent instance_npcname("#glast_event_19") + "::OnStop";
  1496. initnpctimer;
  1497. end;
  1498. OnTimer1000:
  1499. killmonster 'map_glast$, instance_npcname("#fenrir_boss_final_1") + "::OnMobDead";
  1500. end;
  1501. OnTimer6000:
  1502. disablenpc 'sarah_17$;
  1503. disablenpc 'fenrir_7$;
  1504. enablenpc 'fenrir_8$;
  1505. enablenpc 'sarah_20$;
  1506. end;
  1507. OnTimer9000:
  1508. npctalk "Fenrith Fenrir: Sentinel Breeze! I have it in my hand!", 'fenrir_8$;
  1509. end;
  1510. OnTimer12000:
  1511. npctalk "Sarah Irene: Hurk....", 'sarah_20$;
  1512. end;
  1513. OnTimer15000:
  1514. npctalk "Fenrith Fenrir: I can find Baldur with this!", 'fenrir_8$;
  1515. end;
  1516. OnTimer18000:
  1517. npctalk "Sarah Irene: Not yet!!", 'sarah_20$;
  1518. progressbar_npc "000000",2, 'sarah_20$;
  1519. end;
  1520. OnTimer21000:
  1521. specialeffect EF_FIREPILLARON, AREA, 'fenrir_8$;
  1522. disablenpc 'fenrir_8$;
  1523. enablenpc 'fenrir_9$;
  1524. end;
  1525. OnTimer24000:
  1526. npctalk "Sarah Irene: Hehe... You evade well like a rat.", 'sarah_20$;
  1527. end;
  1528. OnTimer27000:
  1529. npctalk "Sarah Irene: However, I cannot let you leave with that.", 'sarah_20$;
  1530. end;
  1531. OnTimer30000:
  1532. npctalk "Sarah Irene: I will blow this entire castle away! Yaah!", 'sarah_20$;
  1533. progressbar_npc "000000",15, 'sarah_20$;
  1534. end;
  1535. OnTimer33000:
  1536. npctalk "Fenrith Fenrir: She is planning to collapse this place! I must perform a large scale teleportation!!!", 'fenrir_9$;
  1537. progressbar_npc "000000",6, 'fenrir_9$;
  1538. end;
  1539. OnTimer36000:
  1540. npctalk "Fenrith Fenrir: Farewell Valkyrie!! I shall take the Sentinel Breeze! So long!", 'fenrir_9$;
  1541. end;
  1542. OnTimer39000:
  1543. for ( .@i = 1; .@i <= 8; .@i++ )
  1544. specialeffect EF_LORD, AREA, instance_npcname("#effect_glast_event03_" + .@i);
  1545. disablenpc 'fenrir_9$;
  1546. end;
  1547. OnTimer40000:
  1548. stopnpctimer;
  1549. enablenpc instance_npcname("#glast_event_24");
  1550. enablenpc instance_npcname("Fenrith Fenrir#glast_10");
  1551. //for ( .@i = 11; .@i <= 16; .@i++ )
  1552. // enablenpc instance_npcname("#glast_event_warp_" + .@i);// warp to 197,221
  1553. areawarp 'map_glast$,181,326,218,352, 'map_glast$,197,221;
  1554. for ( .@i = 1; .@i <= 8; .@i++ )
  1555. disablenpc instance_npcname("#effect_glast_event03_" + .@i);
  1556. disablenpc 'sarah_20$;
  1557. disablenpc instance_npcname("#fenrir_boss_final_1");
  1558. end;
  1559. OnMobDead:
  1560. end;
  1561. }
  1562. 1@glast,199,348,8 duplicate(#effect_glast_event01_1) Fenrith Fenrir#glast_08 4_F_FENRIR
  1563. 1@glast,201,346,4 duplicate(#effect_glast_event01_1) Fenrith Fenrir#glast_09 4_F_FENRIR
  1564. 1@glast,197,339,8 duplicate(#effect_glast_event01_1) Sarah Irene#glast_20 4_F_SARAH
  1565. 1@glast,201,336,4 duplicate(#effect_glast_event01_1) #effect_glast_event03_1 CLEAR_NPC
  1566. 1@glast,201,337,4 duplicate(#effect_glast_event01_1) #effect_glast_event03_2 CLEAR_NPC
  1567. 1@glast,200,337,4 duplicate(#effect_glast_event01_1) #effect_glast_event03_3 CLEAR_NPC
  1568. 1@glast,199,337,4 duplicate(#effect_glast_event01_1) #effect_glast_event03_4 CLEAR_NPC
  1569. 1@glast,199,336,4 duplicate(#effect_glast_event01_1) #effect_glast_event03_5 CLEAR_NPC
  1570. 1@glast,199,335,4 duplicate(#effect_glast_event01_1) #effect_glast_event03_6 CLEAR_NPC
  1571. 1@glast,200,335,4 duplicate(#effect_glast_event01_1) #effect_glast_event03_7 CLEAR_NPC
  1572. 1@glast,201,335,4 duplicate(#effect_glast_event01_1) #effect_glast_event03_8 CLEAR_NPC
  1573. // Outside final room
  1574. 1@glast,200,224,0 script #glast_event_24 HIDDEN_WARP_NPC,7,7,{
  1575. end;
  1576. OnTouch:
  1577. disablenpc instance_npcname("#glast_event_24");
  1578. mes "";
  1579. sleep2 1500;
  1580. cutin "fenrir_b.bmp",2;
  1581. npctalk "Fenrith Fenrir: Hehe.. You are certainly skilled but I think you have underestimated me, Valkyrie.", 'fenrir_10$;
  1582. sleep2 3000;
  1583. mapannounce 'map_glast$, "Sarah Irene: You rather entertain me Fenrith...", bc_map,0xEBFF;
  1584. sleep2 3000;
  1585. mapannounce 'map_glast$, "Sarah Irene: Did you think you can escape that easily?", bc_map,0xEBFF;
  1586. sleep2 3000;
  1587. mapannounce 'map_glast$, "Sarah Irene: I shall turn Glast Heim into hell!!", bc_map,0xEBFF;
  1588. sleep2 3000;
  1589. npctalk "Fenrith Fenrir: If we don't escape now we will suffer a gruesome fate by Sarah's monsters and magic!", 'fenrir_10$;
  1590. sleep2 3000;
  1591. npctalk "Fenrith Fenrir: Let's meet at Glast Heim entrance where we first met! If we flee that far it should be safe!", 'fenrir_10$;
  1592. sleep2 3000;
  1593. npctalk "Fenrith Fenrir: There is no time! Hurry!", 'fenrir_10$;
  1594. sleep2 3000;
  1595. cutin "",255;
  1596. disablenpc 'fenrir_10$;
  1597. donpcevent instance_npcname("#sarah_wrath") + "::OnStart";
  1598. end;
  1599. }
  1600. 1@glast,200,224,4 duplicate(#effect_glast_event01_1) Fenrith Fenrir#glast_10 4_F_FENRIR
  1601. // Skipped final room
  1602. 1@glast,1,1,0 script #fenrir_boss_final_2 HIDDEN_WARP_NPC,{
  1603. end;
  1604. OnStart:
  1605. enablenpc instance_npcname("#fenrir_boss_final_2");
  1606. initnpctimer;
  1607. end;
  1608. OnTimer300000:
  1609. disablenpc instance_npcname("#glast_move_03");
  1610. disablenpc instance_npcname("#glast_event_15");
  1611. disablenpc 'fenrir_6$;
  1612. end;
  1613. OnTimer305000:
  1614. mapannounce 'map_glast$, "Fenrith Fenrir: Sentinel Breeze! I have it in my hand!", bc_map,0xEBFF;
  1615. end;
  1616. OnTimer308000:
  1617. mapannounce 'map_glast$, "Sarah Irene: Hurk....", bc_map,0xEBFF;
  1618. end;
  1619. OnTimer311000:
  1620. mapannounce 'map_glast$, "Fenrith Fenrir: Hehe.. You are certainly skilled but I think you have underestimated me, Valkyrie.", bc_map,0xEBFF;
  1621. end;
  1622. OnTimer314000:
  1623. mapannounce 'map_glast$, "Sarah Irene: You rather entertain me Fenrith...", bc_map,0xEBFF;
  1624. end;
  1625. OnTimer317000:
  1626. mapannounce 'map_glast$, "Sarah Irene: Did you think you can escape that easily?", bc_map,0xEBFF;
  1627. end;
  1628. OnTimer320000:
  1629. mapannounce 'map_glast$, "Sarah Irene: I shall turn Glast Heim into hell!!", bc_map,0xEBFF;
  1630. end;
  1631. OnTimer323000:
  1632. mapannounce 'map_glast$, "Fenrith Fenrir: If we don't escape now we will suffer a gruesome fate by Sarah's monsters and magic!", bc_map,0xEBFF;
  1633. end;
  1634. OnTimer326000:
  1635. mapannounce 'map_glast$, "Fenrith Fenrir: Let's meet at Glast Heim entrance where we first met! If we flee that far it should be safe!", bc_map,0xEBFF;
  1636. end;
  1637. OnTimer329000:
  1638. stopnpctimer;
  1639. mapannounce 'map_glast$, "Fenrith Fenrir: There is no time! Hurry!", bc_map,0xEBFF;
  1640. donpcevent instance_npcname("#sarah_wrath") + "::OnStart";
  1641. end;
  1642. OnStop:
  1643. stopnpctimer;
  1644. disablenpc instance_npcname("#fenrir_boss_final_2");
  1645. end;
  1646. }
  1647. // Bombs
  1648. 1@glast,1,1,0 script #sarah_wrath HIDDEN_WARP_NPC,{
  1649. end;
  1650. OnStart:
  1651. enablenpc instance_npcname("#sarah_wrath");
  1652. enablenpc instance_npcname("#glast_move_04");
  1653. enablenpc 'fenrir_11$;
  1654. enablenpc 'sarah_ego$;
  1655. hideonnpc 'sarah_ego$;
  1656. 'back_to_entrance = 1;
  1657. enablenpc instance_npcname("#glast_move_01");
  1658. hideonnpc instance_npcname("#glast_move_01");
  1659. enablenpc instance_npcname("#glast_move_05");
  1660. initnpctimer;
  1661. end;
  1662. OnTimer10000:
  1663. mapannounce 'map_glast$, "Sarah Irene: Absurd little thing, you think you can escape that easily?", bc_map,0xEBFF;
  1664. callsub S_Spawn,0;
  1665. end;
  1666. OnTimer50000:
  1667. mapannounce 'map_glast$, "Sarah Irene: My minions will make sure to kill you!!!", bc_map,0xEBFF;
  1668. callsub S_Spawn,1;
  1669. end;
  1670. OnTimer80000:
  1671. mapannounce 'map_glast$, "Sarah Irene: I cannot let you escape!!", bc_map,0xEBFF;
  1672. callsub S_Spawn,2;
  1673. end;
  1674. OnTimer110000:
  1675. mapannounce 'map_glast$, "Sarah Irene: Fenrith Fenrir.... Did you think I couldn't track you because you fled?", bc_map,0xEBFF;
  1676. callsub S_Spawn,3;
  1677. end;
  1678. OnTimer150000:
  1679. mapannounce 'map_glast$, "Sarah Irene: Absurd little thing, you think you can escape that easily?", bc_map,0xEBFF;
  1680. callsub S_Spawn,4;
  1681. end;
  1682. OnTimer300000:
  1683. stopnpctimer;
  1684. mapannounce 'map_glast$, "Sarah Irene: Bwahahahahahaha!! Glast Heim is being filled with my wrath!!", bc_map,0xEBFF;
  1685. for ( .@i = 1; .@i <= 14; .@i++ )
  1686. enablenpc instance_npcname("#glast_bomb_" + (.@i < 10 ? ("0"+.@i) : .@i));
  1687. end;
  1688. OnStop:
  1689. stopnpctimer;
  1690. end;
  1691. S_Spawn:
  1692. // inaccurate
  1693. switch( getarg(0) ) {
  1694. case 0:
  1695. monster 'map_glast$,204,52,"Large Gigantes#aa1",3194,1;
  1696. monster 'map_glast$,201,55,"Large Gigantes#aa1",3194,1;
  1697. monster 'map_glast$,196,53,"Large Gigantes#aa1",3194,1;
  1698. monster 'map_glast$,205,80,"Large Gigantes#aa2",3195,1;
  1699. monster 'map_glast$,210,77,"Large Gigantes#aa2",3195,1;
  1700. monster 'map_glast$,205,73,"Large Gigantes#aa2",3195,1;
  1701. monster 'map_glast$,236,96,"Large Gigantes#aa5",3194,1;
  1702. monster 'map_glast$,234,96,"Large Gigantes#aa5",3194,1;
  1703. monster 'map_glast$,234,96,"Large Gigantes#aa5",3194,1;
  1704. monster 'map_glast$,185,79,"Large Gigantes#bb3",3194,1;
  1705. monster 'map_glast$,189,78,"Large Gigantes#bb3",3194,1;
  1706. monster 'map_glast$,194,85,"Large Gigantes#bb3",3194,1;
  1707. monster 'map_glast$,168,113,"Large Gigantes#bb4",3195,1;
  1708. monster 'map_glast$,174,122,"Large Gigantes#bb4",3195,1;
  1709. break;
  1710. case 1:
  1711. monster 'map_glast$,131,182,"Large Gigantes#bb11",3194,1;
  1712. monster 'map_glast$,133,174,"Large Gigantes#bb11",3194,1;
  1713. monster 'map_glast$,134,187,"Large Gigantes#bb11",3194,1;
  1714. monster 'map_glast$,202,196,"Large Gigantes#aa9",3194,1;
  1715. monster 'map_glast$,196,194,"Large Gigantes#aa9",3194,1;
  1716. monster 'map_glast$,199,190,"Large Gigantes#aa9",3194,1;
  1717. monster 'map_glast$,233,198,"Large Gigantes#bb8",3195,1;
  1718. monster 'map_glast$,231,193,"Large Gigantes#bb8",3195,1;
  1719. monster 'map_glast$,232,196,"Large Gigantes#bb8",3195,1;
  1720. monster 'map_glast$,258,196,"Large Gigantes#bb7",3194,1;
  1721. monster 'map_glast$,265,187,"Large Gigantes#bb7",3194,1;
  1722. monster 'map_glast$,263,195,"Large Gigantes#bb7",3194,1;
  1723. monster 'map_glast$,271,106,"Large Gigantes#aa6",3195,1;
  1724. monster 'map_glast$,266,107,"Large Gigantes#aa6",3195,1;
  1725. monster 'map_glast$,272,109,"Large Gigantes#aa6",3195,1;
  1726. break;
  1727. case 2:
  1728. monster 'map_glast$,127,204,"Large Gigantes#bb12",3195,1;
  1729. monster 'map_glast$,130,205,"Large Gigantes#bb12",3195,1;
  1730. monster 'map_glast$,130,213,"Large Gigantes#bb12",3195,1;
  1731. monster 'map_glast$,139,243,"Large Gigantes#bb19",3194,1;
  1732. monster 'map_glast$,143,241,"Large Gigantes#bb19",3194,1;
  1733. monster 'map_glast$,146,234,"Large Gigantes#bb19",3194,1;
  1734. monster 'map_glast$,199,218,"Large Gigantes#aa14",3195,1;
  1735. monster 'map_glast$,201,219,"Large Gigantes#aa14",3195,1;
  1736. monster 'map_glast$,193,212,"Large Gigantes#aa14",3195,1;
  1737. monster 'map_glast$,261,251,"Large Gigantes#aa18",3195,1;
  1738. monster 'map_glast$,257,254,"Large Gigantes#aa18",3195,1;
  1739. monster 'map_glast$,257,250,"Large Gigantes#aa18",3195,1;
  1740. monster 'map_glast$,146,45,"Large Gigantes#bb35",3194,1;
  1741. monster 'map_glast$,145,49,"Large Gigantes#bb35",3194,1;
  1742. monster 'map_glast$,144,44,"Large Gigantes#bb35",3194,1;
  1743. break;
  1744. case 3:
  1745. monster 'map_glast$,67,259,"Large Gigantes#aa29",3194,1;
  1746. monster 'map_glast$,68,261,"Large Gigantes#aa29",3194,1;
  1747. monster 'map_glast$,61,260,"Large Gigantes#aa29",3194,1;
  1748. monster 'map_glast$,64,208,"Large Gigantes#aa30",3195,1;
  1749. monster 'map_glast$,67,210,"Large Gigantes#aa30",3195,1;
  1750. monster 'map_glast$,63,204,"Large Gigantes#aa30",3195,1;
  1751. monster 'map_glast$,87,57,"Large Gigantes#aa33",3194,1;
  1752. monster 'map_glast$,81,64,"Large Gigantes#aa33",3194,1;
  1753. monster 'map_glast$,83,58,"Large Gigantes#aa33",3194,1;
  1754. monster 'map_glast$,107,47,"Large Gigantes#aa34",3195,1;
  1755. monster 'map_glast$,105,45,"Large Gigantes#aa34",3195,1;
  1756. monster 'map_glast$,102,48,"Large Gigantes#aa34",3195,1;
  1757. monster 'map_glast$,80,152,"Large Gigantes#bb31",3194,1;
  1758. monster 'map_glast$,82,149,"Large Gigantes#bb31",3194,1;
  1759. monster 'map_glast$,75,156,"Large Gigantes#bb31",3194,1;
  1760. monster 'map_glast$,85,106,"Large Gigantes#bb32",3195,1;
  1761. monster 'map_glast$,82,111,"Large Gigantes#bb32",3195,1;
  1762. monster 'map_glast$,78,112,"Large Gigantes#bb32",3195,1;
  1763. monster 'map_glast$,55,149,"Large Gigantes#bb36",3195,1;
  1764. monster 'map_glast$,56,143,"Large Gigantes#bb36",3195,1;
  1765. monster 'map_glast$,49,142,"Large Gigantes#bb36",3195,1;
  1766. break;
  1767. case 4:
  1768. monster 'map_glast$,262,215,"Large Gigantes#aa17",3194,1;
  1769. monster 'map_glast$,266,212,"Large Gigantes#aa17",3194,1;
  1770. monster 'map_glast$,260,219,"Large Gigantes#aa17",3194,1;
  1771. monster 'map_glast$,253,47,"Large Gigantes#aa26",3195,1;
  1772. monster 'map_glast$,263,42,"Large Gigantes#aa26",3195,1;
  1773. monster 'map_glast$,255,39,"Large Gigantes#aa26",3195,1;
  1774. monster 'map_glast$,202,219,"Large Gigantes#bb15",3194,1;
  1775. monster 'map_glast$,201,222,"Large Gigantes#bb15",3194,1;
  1776. monster 'map_glast$,201,220,"Large Gigantes#bb15",3194,1;
  1777. monster 'map_glast$,231,210,"Large Gigantes#bb16",3195,1;
  1778. monster 'map_glast$,345,117,"Large Gigantes#bb27",3194,1;
  1779. monster 'map_glast$,341,115,"Large Gigantes#bb27",3194,1;
  1780. monster 'map_glast$,351,121,"Large Gigantes#bb27",3194,1;
  1781. monster 'map_glast$,346,252,"Large Gigantes#bb28",3195,1;
  1782. monster 'map_glast$,351,256,"Large Gigantes#bb28",3195,1;
  1783. monster 'map_glast$,345,254,"Large Gigantes#bb28",3195,1;
  1784. break;
  1785. }
  1786. end;
  1787. }
  1788. 1@glast,290,43,0 script #glast_bomb_01 HIDDEN_WARP_NPC,10,10,{
  1789. end;
  1790. OnTouch:
  1791. unitkill 0;
  1792. mapannounce 'map_glast$, "Sarah Irene: Bwahahahahahaha!! Glast Heim is being filled with my wrath!!", bc_map,0xEBFF;
  1793. specialeffect2 EF_LORD;
  1794. sleep2 1000;
  1795. specialeffect2 EF_LORD;
  1796. end;
  1797. }
  1798. 1@glast,234,47,0 duplicate(#glast_bomb_01) #glast_bomb_02 HIDDEN_WARP_NPC,10,10
  1799. 1@glast,265,175,0 duplicate(#glast_bomb_01) #glast_bomb_03 HIDDEN_WARP_NPC,10,10
  1800. 1@glast,135,176,0 duplicate(#glast_bomb_01) #glast_bomb_04 HIDDEN_WARP_NPC,10,10
  1801. 1@glast,146,238,0 duplicate(#glast_bomb_01) #glast_bomb_05 HIDDEN_WARP_NPC,10,10
  1802. 1@glast,165,212,0 duplicate(#glast_bomb_01) #glast_bomb_06 HIDDEN_WARP_NPC,10,10
  1803. 1@glast,232,212,0 duplicate(#glast_bomb_01) #glast_bomb_07 HIDDEN_WARP_NPC,10,10
  1804. 1@glast,253,241,0 duplicate(#glast_bomb_01) #glast_bomb_08 HIDDEN_WARP_NPC,10,10
  1805. 1@glast,268,290,0 duplicate(#glast_bomb_01) #glast_bomb_09 HIDDEN_WARP_NPC,10,10
  1806. 1@glast,132,289,0 duplicate(#glast_bomb_01) #glast_bomb_10 HIDDEN_WARP_NPC,10,10
  1807. 1@glast,199,115,0 duplicate(#glast_bomb_01) #glast_bomb_11 HIDDEN_WARP_NPC,10,10
  1808. 1@glast,139,46,0 duplicate(#glast_bomb_01) #glast_bomb_12 HIDDEN_WARP_NPC,10,10
  1809. 1@glast,82,86,0 duplicate(#glast_bomb_01) #glast_bomb_13 HIDDEN_WARP_NPC,10,10
  1810. 1@glast,68,226,0 duplicate(#glast_bomb_01) #glast_bomb_14 HIDDEN_WARP_NPC,10,10
  1811. // Back to entrance
  1812. // event in #glast_move_01
  1813. 1@glast,359,294,4 script Fenrith Fenrir#glast_11 4_F_FENRIR,{
  1814. if (isbegin_quest(9337) == 0) {
  1815. cutin "fenrir_a.bmp",2;
  1816. mes "[Fenrith Fenrir]";
  1817. mes "You arrived safely!";
  1818. mes "The dangerous situation";
  1819. mes "had me worried.";
  1820. mes "It was difficult and dangerous work";
  1821. mes "so I am grateful for your help.";
  1822. next;
  1823. mes "[Fenrir]";
  1824. mes "I feel we will meet again";
  1825. mes "but perhaps it is just my imagination?";
  1826. mes "Mm.. that would be nice.";
  1827. next;
  1828. mes "[Fenrir]";
  1829. mes "We worked well together";
  1830. mes "so I hope we will meet again.";
  1831. mes "And watch for Sarah,";
  1832. mes "harm can come your way as well.";
  1833. setquest 9337;// Wrapping up the Adventure
  1834. getitem 607,1;// Yggdrasilberry
  1835. getitem 608,1;// Seed_Of_Yggdrasil
  1836. close2;
  1837. cutin "",255;
  1838. end;
  1839. }
  1840. mes "[Fenrir]";
  1841. mes "We worked well together";
  1842. mes "so I hope we will meet again.";
  1843. close;
  1844. }
  1845. 1@glast,353,290,8 duplicate(#effect_glast_event01_1) Sarah Irene's alter ego 4_F_SARAH
  1846. // Shards Events
  1847. 1@glast,290,147,4 script Ancient Gigantes#glast_1 4_GIGANTES_BIG,6,6,{
  1848. end;
  1849. OnTouch:
  1850. disablenpc instance_npcname("Ancient Gigantes#glast_1");
  1851. .@label$ = instance_npcname("Ancient Gigantes#glast_1") + "::OnMobDead";
  1852. monster 'map_glast$,290,147, "Ancient Gigantes#X1",3196,1, .@label$; // MM_L_GIGAN3
  1853. monster 'map_glast$,290,146, "Ancient Medium Gigantes",3193,1, .@label$; // MM_M_GIGAN3
  1854. monster 'map_glast$,288,147, "Ancient Medium Gigantes",3193,1, .@label$; // MM_M_GIGAN3
  1855. unittalk getcharid(3), "" + strcharinfo(0) + " : The Ancient Gigantes that Professor Bernhard spoke of!!";
  1856. enablenpc instance_npcname("Stone Gargoyle#glast_01");
  1857. enablenpc instance_npcname("Stone Gargoyle#glast_02");
  1858. enablenpc instance_npcname("Stone Gargoyle#glast_03");
  1859. enablenpc instance_npcname("Stone Gargoyle#glast_04");
  1860. enablenpc instance_npcname("Stone Gargoyle#glast_05");
  1861. enablenpc instance_npcname("Stone Gargoyle#glast_06");
  1862. end;
  1863. OnMobDead:
  1864. end;
  1865. }
  1866. 1@glast,300,248,4 script Ancient Gigantes#glast_2 4_GIGANTES_BIG,4,4,{
  1867. end;
  1868. OnTouch:
  1869. disablenpc instance_npcname("Ancient Gigantes#glast_2");
  1870. .@label$ = instance_npcname("Ancient Gigantes#glast_2") + "::OnMobDead";
  1871. monster 'map_glast$,300,248, "Ancient Gigantes#X2",3196,1, .@label$; // MM_L_GIGAN3
  1872. monster 'map_glast$,299,250, "Ancient Medium Gigantes",3193,1, .@label$; // MM_M_GIGAN3
  1873. monster 'map_glast$,302,246, "Ancient Medium Gigantes",3193,1, .@label$; // MM_M_GIGAN3
  1874. unittalk getcharid(3), "" + strcharinfo(0) + " : The Ancient Gigantes that Professor Bernhard spoke of!!";
  1875. enablenpc instance_npcname("Stone Gargoyle#glast_07");
  1876. enablenpc instance_npcname("Stone Gargoyle#glast_08");
  1877. enablenpc instance_npcname("Stone Gargoyle#glast_09");
  1878. enablenpc instance_npcname("Stone Gargoyle#glast_10");
  1879. enablenpc instance_npcname("Stone Gargoyle#glast_11");
  1880. end;
  1881. OnMobDead:
  1882. end;
  1883. }
  1884. 1@glast,292,344,4 script Ancient Gigantes#glast_3 4_GIGANTES_BIG,6,6,{
  1885. end;
  1886. OnTouch:
  1887. disablenpc instance_npcname("Ancient Gigantes#glast_3");
  1888. .@label$ = instance_npcname("Ancient Gigantes#glast_3") + "::OnMobDead";
  1889. monster 'map_glast$,292,344, "Ancient Gigantes#X3",3196,1, .@label$; // MM_L_GIGAN3
  1890. monster 'map_glast$,290,346, "Ancient Medium Gigantes",3193,1, .@label$; // MM_M_GIGAN3
  1891. monster 'map_glast$,291,344, "Ancient Medium Gigantes",3193,1, .@label$; // MM_M_GIGAN3
  1892. unittalk getcharid(3), "" + strcharinfo(0) + " : The Ancient Gigantes that Professor Bernhard spoke of!!";
  1893. enablenpc instance_npcname("Stone Gargoyle#glast_12");
  1894. enablenpc instance_npcname("Stone Gargoyle#glast_13");
  1895. enablenpc instance_npcname("Stone Gargoyle#glast_14");
  1896. end;
  1897. OnMobDead:
  1898. end;
  1899. }
  1900. 1@glast,107,147,6 script Ancient Gigantes#glast_4 4_GIGANTES_BIG,6,6,{
  1901. end;
  1902. OnTouch:
  1903. disablenpc instance_npcname("Ancient Gigantes#glast_4");
  1904. .@label$ = instance_npcname("Ancient Gigantes#glast_4") + "::OnMobDead";
  1905. monster 'map_glast$,107,147, "Ancient Gigantes#X4",3196,1, .@label$; // MM_L_GIGAN3
  1906. monster 'map_glast$,107,145, "Ancient Medium Gigantes",3193,1, .@label$; // MM_M_GIGAN3
  1907. monster 'map_glast$,106,148, "Ancient Medium Gigantes",3193,1, .@label$; // MM_M_GIGAN3
  1908. unittalk getcharid(3), "" + strcharinfo(0) + " : The Ancient Gigantes that Professor Bernhard spoke of!!";
  1909. enablenpc instance_npcname("Stone Gargoyle#glast_15");
  1910. enablenpc instance_npcname("Stone Gargoyle#glast_16");
  1911. enablenpc instance_npcname("Stone Gargoyle#glast_17");
  1912. enablenpc instance_npcname("Stone Gargoyle#glast_18");
  1913. enablenpc instance_npcname("Stone Gargoyle#glast_19");
  1914. enablenpc instance_npcname("Stone Gargoyle#glast_20");
  1915. end;
  1916. OnMobDead:
  1917. end;
  1918. }
  1919. 1@glast,98,248,6 script Ancient Gigantes#glast_5 4_GIGANTES_BIG,4,4,{
  1920. end;
  1921. OnTouch:
  1922. disablenpc instance_npcname("Ancient Gigantes#glast_5");
  1923. .@label$ = instance_npcname("Ancient Gigantes#glast_5") + "::OnMobDead";
  1924. monster 'map_glast$,98,248, "Ancient Gigantes#X5",3196,1, .@label$; // MM_L_GIGAN3
  1925. monster 'map_glast$,96,250, "Ancient Medium Gigantes",3193,1, .@label$; // MM_M_GIGAN3
  1926. monster 'map_glast$,98,247, "Ancient Medium Gigantes",3193,1, .@label$; // MM_M_GIGAN3
  1927. unittalk getcharid(3), "" + strcharinfo(0) + " : The Ancient Gigantes that Professor Bernhard spoke of!!";
  1928. enablenpc instance_npcname("Stone Gargoyle#glast_21");
  1929. enablenpc instance_npcname("Stone Gargoyle#glast_22");
  1930. enablenpc instance_npcname("Stone Gargoyle#glast_23");
  1931. enablenpc instance_npcname("Stone Gargoyle#glast_24");
  1932. enablenpc instance_npcname("Stone Gargoyle#glast_25");
  1933. end;
  1934. OnMobDead:
  1935. end;
  1936. }
  1937. 1@glast,107,344,6 script Ancient Gigantes#glast_6 4_GIGANTES_BIG,6,6,{
  1938. end;
  1939. OnTouch:
  1940. disablenpc instance_npcname("Ancient Gigantes#glast_6");
  1941. .@label$ = instance_npcname("Ancient Gigantes#glast_6") + "::OnMobDead";
  1942. monster 'map_glast$,107,344, "Ancient Gigantes#X6",3196,1, .@label$; // MM_L_GIGAN3
  1943. monster 'map_glast$,107,344, "Ancient Medium Gigantes",3193,1, .@label$; // MM_M_GIGAN3
  1944. monster 'map_glast$,109,346, "Ancient Medium Gigantes",3193,1, .@label$; // MM_M_GIGAN3
  1945. unittalk getcharid(3), "" + strcharinfo(0) + " : The Ancient Gigantes that Professor Bernhard spoke of!!";
  1946. enablenpc instance_npcname("Stone Gargoyle#glast_26");
  1947. enablenpc instance_npcname("Stone Gargoyle#glast_27");
  1948. enablenpc instance_npcname("Stone Gargoyle#glast_28");
  1949. end;
  1950. OnMobDead:
  1951. end;
  1952. }
  1953. 1@glast,277,130,8 script Stone Gargoyle#glast_01 4_GARGOYLE_STATUE,2,2,{
  1954. end;
  1955. OnTouch:
  1956. getmapxy .@map$,.@x,.@y, UNITTYPE_NPC;
  1957. monster .@map$,.@x,.@y, "Mutant Gargoyle",3197,1, instance_npcname( strnpcinfo(0) ) + "::OnMobDead"; // MM_M_GARGOYLE
  1958. disablenpc instance_npcname( strnpcinfo(0) );
  1959. end;
  1960. OnMobDead:
  1961. end;
  1962. }
  1963. 1@glast,279,130,8 duplicate(Stone Gargoyle#glast_01) Stone Gargoyle#glast_02 4_GARGOYLE_STATUE,2,2
  1964. 1@glast,281,130,8 duplicate(Stone Gargoyle#glast_01) Stone Gargoyle#glast_03 4_GARGOYLE_STATUE,2,2
  1965. 1@glast,277,161,6 duplicate(Stone Gargoyle#glast_01) Stone Gargoyle#glast_04 4_GARGOYLE_STATUE,2,2
  1966. 1@glast,279,161,6 duplicate(Stone Gargoyle#glast_01) Stone Gargoyle#glast_05 4_GARGOYLE_STATUE,2,2
  1967. 1@glast,281,161,6 duplicate(Stone Gargoyle#glast_01) Stone Gargoyle#glast_06 4_GARGOYLE_STATUE,2,2
  1968. 1@glast,277,250,6 duplicate(Stone Gargoyle#glast_01) Stone Gargoyle#glast_07 4_GARGOYLE_STATUE,2,2
  1969. 1@glast,277,245,8 duplicate(Stone Gargoyle#glast_01) Stone Gargoyle#glast_08 4_GARGOYLE_STATUE,2,2
  1970. 1@glast,272,248,6 duplicate(Stone Gargoyle#glast_01) Stone Gargoyle#glast_09 4_GARGOYLE_STATUE,2,2
  1971. 1@glast,273,260,4 duplicate(Stone Gargoyle#glast_01) Stone Gargoyle#glast_10 4_GARGOYLE_STATUE,2,2
  1972. 1@glast,273,235,2 duplicate(Stone Gargoyle#glast_01) Stone Gargoyle#glast_11 4_GARGOYLE_STATUE,2,2
  1973. 1@glast,277,328,8 duplicate(Stone Gargoyle#glast_01) Stone Gargoyle#glast_12 4_GARGOYLE_STATUE,2,2
  1974. 1@glast,279,328,8 duplicate(Stone Gargoyle#glast_01) Stone Gargoyle#glast_13 4_GARGOYLE_STATUE,2,2
  1975. 1@glast,281,328,8 duplicate(Stone Gargoyle#glast_01) Stone Gargoyle#glast_14 4_GARGOYLE_STATUE,2,2
  1976. 1@glast,122,132,2 duplicate(Stone Gargoyle#glast_01) Stone Gargoyle#glast_15 4_GARGOYLE_STATUE,2,2
  1977. 1@glast,120,132,2 duplicate(Stone Gargoyle#glast_01) Stone Gargoyle#glast_16 4_GARGOYLE_STATUE,2,2
  1978. 1@glast,118,132,2 duplicate(Stone Gargoyle#glast_01) Stone Gargoyle#glast_17 4_GARGOYLE_STATUE,2,2
  1979. 1@glast,118,163,4 duplicate(Stone Gargoyle#glast_01) Stone Gargoyle#glast_18 4_GARGOYLE_STATUE,2,2
  1980. 1@glast,120,163,4 duplicate(Stone Gargoyle#glast_01) Stone Gargoyle#glast_19 4_GARGOYLE_STATUE,2,2
  1981. 1@glast,118,163,4 duplicate(Stone Gargoyle#glast_01) Stone Gargoyle#glast_20 4_GARGOYLE_STATUE,2,2
  1982. 1@glast,122,250,4 duplicate(Stone Gargoyle#glast_01) Stone Gargoyle#glast_21 4_GARGOYLE_STATUE,2,2
  1983. 1@glast,122,245,2 duplicate(Stone Gargoyle#glast_01) Stone Gargoyle#glast_22 4_GARGOYLE_STATUE,2,2
  1984. 1@glast,126,248,4 duplicate(Stone Gargoyle#glast_01) Stone Gargoyle#glast_23 4_GARGOYLE_STATUE,2,2
  1985. 1@glast,126,260,6 duplicate(Stone Gargoyle#glast_01) Stone Gargoyle#glast_24 4_GARGOYLE_STATUE,2,2
  1986. 1@glast,126,235,8 duplicate(Stone Gargoyle#glast_01) Stone Gargoyle#glast_25 4_GARGOYLE_STATUE,2,2
  1987. 1@glast,117,328,2 duplicate(Stone Gargoyle#glast_01) Stone Gargoyle#glast_26 4_GARGOYLE_STATUE,2,2
  1988. 1@glast,119,328,2 duplicate(Stone Gargoyle#glast_01) Stone Gargoyle#glast_27 4_GARGOYLE_STATUE,2,2
  1989. 1@glast,121,328,2 duplicate(Stone Gargoyle#glast_01) Stone Gargoyle#glast_28 4_GARGOYLE_STATUE,2,2
  1990. 1@glast,1,1,0 script #fenrir_spawn_chimera HIDDEN_WARP_NPC,{
  1991. end;
  1992. OnSpawn:
  1993. // Right side
  1994. monster 'map_glast$,351,259,"Wicked Chimera#bb28",3200,1;
  1995. monster 'map_glast$,353,250,"Wicked Chimera#bb28",3200,1;
  1996. monster 'map_glast$,351,243,"Wicked Chimera#bb28",3200,1;
  1997. monster 'map_glast$,351,246,"Wicked Chimera#bb28",3200,1;
  1998. monster 'map_glast$,355,248,"Wicked Chimera#bb28",3200,1;
  1999. monster 'map_glast$,360,245,"Wicked Chimera#bb28",3200,1;
  2000. monster 'map_glast$,298,209,"Wicked Chimera#aa14",3200,1;
  2001. monster 'map_glast$,303,199,"Wicked Chimera#aa14",3200,1;
  2002. monster 'map_glast$,298,198,"Wicked Chimera#aa14",3200,1;
  2003. monster 'map_glast$,295,211,"Wicked Chimera#aa14",3200,1;
  2004. monster 'map_glast$,307,163,"Wicked Chimera#bb15",3200,1;
  2005. monster 'map_glast$,315,158,"Wicked Chimera#bb15",3200,1;
  2006. monster 'map_glast$,318,163,"Wicked Chimera#bb15",3200,1;
  2007. monster 'map_glast$,318,169,"Wicked Chimera#bb15",3200,1;
  2008. monster 'map_glast$,337,119,"Wicked Chimera#bb27",3200,1;
  2009. monster 'map_glast$,344,115,"Wicked Chimera#bb27",3200,1;
  2010. monster 'map_glast$,353,117,"Wicked Chimera#bb27",3200,1;
  2011. monster 'map_glast$,352,121,"Wicked Chimera#bb27",3200,1;
  2012. monster 'map_glast$,345,114,"Wicked Chimera#bb27",3200,1;
  2013. monster 'map_glast$,346,115,"Wicked Chimera#bb27",3200,1;
  2014. monster 'map_glast$,264,36,"Wicked Chimera#aa26",3200,1;
  2015. monster 'map_glast$,257,46,"Wicked Chimera#aa26",3200,1;
  2016. monster 'map_glast$,253,44,"Wicked Chimera#aa26",3200,1;
  2017. monster 'map_glast$,256,39,"Wicked Chimera#aa26",3200,1;
  2018. // Bottom, left
  2019. monster 'map_glast$,207,46,"Wicked Chimera#aa1",3200,1;
  2020. monster 'map_glast$,197,49,"Wicked Chimera#aa1",3200,1;
  2021. monster 'map_glast$,190,52,"Wicked Chimera#aa1",3200,1;
  2022. monster 'map_glast$,200,64,"Wicked Chimera#aa1",3200,1;
  2023. monster 'map_glast$,206,76,"Wicked Chimera#aa2",3200,1;
  2024. monster 'map_glast$,207,83,"Wicked Chimera#aa2",3200,1;
  2025. monster 'map_glast$,186,82,"Wicked Chimera#bb3",3200,1;
  2026. monster 'map_glast$,200,87,"Wicked Chimera#aa2",3200,1;
  2027. monster 'map_glast$,188,86,"Wicked Chimera#bb3",3200,1;
  2028. monster 'map_glast$,215,77,"Wicked Chimera#aa2",3200,1;
  2029. monster 'map_glast$,183,90,"Wicked Chimera#bb3",3200,1;
  2030. monster 'map_glast$,192,85,"Wicked Chimera#bb3",3200,1;
  2031. monster 'map_glast$,154,36,"Wicked Chimera#bb35",3200,1;
  2032. monster 'map_glast$,150,47,"Wicked Chimera#bb35",3200,1;
  2033. monster 'map_glast$,138,52,"Wicked Chimera#bb35",3200,1;
  2034. monster 'map_glast$,152,36,"Wicked Chimera#bb35",3200,1;
  2035. monster 'map_glast$,105,50,"Wicked Chimera#aa34",3200,1;
  2036. monster 'map_glast$,100,48,"Wicked Chimera#aa34",3200,1;
  2037. monster 'map_glast$,106,52,"Wicked Chimera#aa34",3200,1;
  2038. monster 'map_glast$,82,52,"Wicked Chimera#aa33",3200,1;
  2039. monster 'map_glast$,85,51,"Wicked Chimera#aa33",3200,1;
  2040. monster 'map_glast$,80,65,"Wicked Chimera#aa33",3200,1;
  2041. monster 'map_glast$,79,58,"Wicked Chimera#aa33",3200,1;
  2042. monster 'map_glast$,82,69,"Wicked Chimera#aa33",3200,1;
  2043. monster 'map_glast$,97,41,"Wicked Chimera#aa34",3200,1;
  2044. monster 'map_glast$,86,103,"Wicked Chimera#bb32",3200,1;
  2045. monster 'map_glast$,82,102,"Wicked Chimera#bb32",3200,1;
  2046. monster 'map_glast$,78,108,"Wicked Chimera#bb32",3200,1;
  2047. monster 'map_glast$,85,109,"Wicked Chimera#bb32",3200,1;
  2048. monster 'map_glast$,82,111,"Wicked Chimera#bb32",3200,1;
  2049. monster 'map_glast$,80,144,"Wicked Chimera#bb31",3200,1;
  2050. monster 'map_glast$,72,152,"Wicked Chimera#bb31",3200,1;
  2051. monster 'map_glast$,88,159,"Wicked Chimera#bb31",3200,1;
  2052. monster 'map_glast$,73,152,"Wicked Chimera#bb31",3200,1;
  2053. monster 'map_glast$,83,160,"Wicked Chimera#bb31",3200,1;
  2054. monster 'map_glast$,77,150,"Wicked Chimera#bb31",3200,1;
  2055. monster 'map_glast$,62,207,"Wicked Chimera#aa30",3200,1;
  2056. monster 'map_glast$,70,215,"Wicked Chimera#aa30",3200,1;
  2057. monster 'map_glast$,58,209,"Wicked Chimera#aa30",3200,1;
  2058. monster 'map_glast$,68,204,"Wicked Chimera#aa30",3200,1;
  2059. monster 'map_glast$,67,214,"Wicked Chimera#aa30",3200,1;
  2060. monster 'map_glast$,58,250,"Wicked Chimera#aa29",3200,1;
  2061. monster 'map_glast$,64,257,"Wicked Chimera#aa29",3200,1;
  2062. monster 'map_glast$,70,251,"Wicked Chimera#aa29",3200,1;
  2063. monster 'map_glast$,65,247,"Wicked Chimera#aa29",3200,1;
  2064. monster 'map_glast$,65,256,"Wicked Chimera#aa29",3200,1;
  2065. monster 'map_glast$,60,255,"Wicked Chimera#aa29",3200,1;
  2066. monster 'map_glast$,50,144,"Wicked Chimera#bb36",3200,1;
  2067. monster 'map_glast$,52,143,"Wicked Chimera#bb36",3200,1;
  2068. monster 'map_glast$,54,146,"Wicked Chimera#bb36",3200,1;
  2069. monster 'map_glast$,55,140,"Wicked Chimera#bb36",3200,1;
  2070. // Left inside
  2071. monster 'map_glast$,177,88,"Wicked Chimera#bb4",3200,1;
  2072. monster 'map_glast$,163,108,"Wicked Chimera#bb4",3200,1;
  2073. monster 'map_glast$,147,113,"Wicked Chimera#bb4",3200,1;
  2074. monster 'map_glast$,136,179,"Wicked Chimera#bb11",3200,1;
  2075. monster 'map_glast$,136,181,"Wicked Chimera#bb11",3200,1;
  2076. monster 'map_glast$,125,190,"Wicked Chimera#bb11",3200,1;
  2077. monster 'map_glast$,134,200,"Wicked Chimera#bb12",3200,1;
  2078. monster 'map_glast$,134,190,"Wicked Chimera#bb11",3200,1;
  2079. monster 'map_glast$,127,203,"Wicked Chimera#bb12",3200,1;
  2080. monster 'map_glast$,151,206,"Wicked Chimera#aa13",3200,1;
  2081. monster 'map_glast$,125,209,"Wicked Chimera#bb12",3200,1;
  2082. monster 'map_glast$,134,204,"Wicked Chimera#bb12",3200,1;
  2083. monster 'map_glast$,135,244,"Wicked Chimera#bb19",3200,1;
  2084. monster 'map_glast$,149,250,"Wicked Chimera#bb19",3200,1;
  2085. monster 'map_glast$,138,249,"Wicked Chimera#bb19",3200,1;
  2086. monster 'map_glast$,136,251,"Wicked Chimera#bb19",3200,1;
  2087. monster 'map_glast$,127,291,"Wicked Chimera#bb20",3200,1;
  2088. monster 'map_glast$,126,288,"Wicked Chimera#bb20",3200,1;
  2089. monster 'map_glast$,124,291,"Wicked Chimera#bb20",3200,1;
  2090. monster 'map_glast$,135,309,"Wicked Chimera#aa21",3200,1;
  2091. monster 'map_glast$,138,316,"Wicked Chimera#aa21",3200,1;
  2092. monster 'map_glast$,139,324,"Wicked Chimera#aa22",3200,1;
  2093. monster 'map_glast$,132,331,"Wicked Chimera#aa22",3200,1;
  2094. monster 'map_glast$,129,315,"Wicked Chimera#aa21",3200,1;
  2095. monster 'map_glast$,127,338,"Wicked Chimera#aa22",3200,1;
  2096. monster 'map_glast$,126,327,"Wicked Chimera#aa22",3200,1;
  2097. monster 'map_glast$,132,288,"Wicked Chimera#bb20",3200,1;
  2098. monster 'map_glast$,138,309,"Wicked Chimera#aa21",3200,1;
  2099. // Center and right side
  2100. monster 'map_glast$,158,214,"Wicked Chimera#aa13",3200,1;
  2101. monster 'map_glast$,162,208,"Wicked Chimera#aa13",3200,1;
  2102. monster 'map_glast$,166,215,"Wicked Chimera#aa13",3200,1;
  2103. monster 'map_glast$,168,191,"Wicked Chimera#aa10",3200,1;
  2104. monster 'map_glast$,164,186,"Wicked Chimera#aa10",3200,1;
  2105. monster 'map_glast$,165,191,"Wicked Chimera#aa10",3200,1;
  2106. monster 'map_glast$,177,189,"Wicked Chimera#aa10",3200,1;
  2107. monster 'map_glast$,199,200,"Wicked Chimera#aa9",3200,1;
  2108. monster 'map_glast$,205,195,"Wicked Chimera#aa9",3200,1;
  2109. monster 'map_glast$,191,200,"Wicked Chimera#aa9",3200,1;
  2110. monster 'map_glast$,196,192,"Wicked Chimera#aa9",3200,1;
  2111. monster 'map_glast$,224,196,"Wicked Chimera#bb8",3200,1;
  2112. monster 'map_glast$,233,196,"Wicked Chimera#bb8",3200,1;
  2113. monster 'map_glast$,239,192,"Wicked Chimera#bb8",3200,1;
  2114. monster 'map_glast$,231,193,"Wicked Chimera#bb8",3200,1;
  2115. monster 'map_glast$,239,214,"Wicked Chimera#bb16",3200,1;
  2116. monster 'map_glast$,232,213,"Wicked Chimera#bb16",3200,1;
  2117. monster 'map_glast$,238,209,"Wicked Chimera#bb16",3200,1;
  2118. monster 'map_glast$,244,220,"Wicked Chimera#bb16",3200,1;
  2119. monster 'map_glast$,252,249,"Wicked Chimera#aa18",3200,1;
  2120. monster 'map_glast$,268,221,"Wicked Chimera#aa17",3200,1;
  2121. monster 'map_glast$,261,219,"Wicked Chimera#aa17",3200,1;
  2122. monster 'map_glast$,261,248,"Wicked Chimera#aa18",3200,1;
  2123. monster 'map_glast$,264,211,"Wicked Chimera#aa17",3200,1;
  2124. monster 'map_glast$,267,210,"Wicked Chimera#aa17",3200,1;
  2125. monster 'map_glast$,258,193,"Wicked Chimera#bb7",3200,1;
  2126. monster 'map_glast$,258,192,"Wicked Chimera#bb7",3200,1;
  2127. monster 'map_glast$,258,190,"Wicked Chimera#bb7",3200,1;
  2128. monster 'map_glast$,269,192,"Wicked Chimera#bb7",3200,1;
  2129. monster 'map_glast$,269,110,"Wicked Chimera#aa6",3200,1;
  2130. monster 'map_glast$,266,105,"Wicked Chimera#aa6",3200,1;
  2131. monster 'map_glast$,277,103,"Wicked Chimera#aa6",3200,1;
  2132. monster 'map_glast$,263,107,"Wicked Chimera#aa6",3200,1;
  2133. monster 'map_glast$,249,101,"Wicked Chimera#aa5",3200,1;
  2134. monster 'map_glast$,237,93,"Wicked Chimera#aa5",3200,1;
  2135. monster 'map_glast$,242,107,"Wicked Chimera#aa5",3200,1;
  2136. monster 'map_glast$,237,105,"Wicked Chimera#aa5",3200,1;
  2137. monster 'map_glast$,264,235,"Wicked Chimera#aa18",3200,1;
  2138. monster 'map_glast$,260,255,"Wicked Chimera#aa18",3200,1;
  2139. monster 'map_glast$,261,282,"Wicked Chimera#bb23",3200,1;
  2140. monster 'map_glast$,260,284,"Wicked Chimera#bb23",3200,1;
  2141. monster 'map_glast$,264,289,"Wicked Chimera#bb23",3200,1;
  2142. monster 'map_glast$,268,301,"Wicked Chimera#bb24",3200,1;
  2143. monster 'map_glast$,262,308,"Wicked Chimera#bb24",3200,1;
  2144. monster 'map_glast$,273,306,"Wicked Chimera#bb24",3200,1;
  2145. monster 'map_glast$,259,307,"Wicked Chimera#bb24",3200,1;
  2146. monster 'map_glast$,269,283,"Wicked Chimera#bb23",3200,1;
  2147. monster 'map_glast$,257,350,"Wicked Chimera#aa25",3200,1;
  2148. monster 'map_glast$,268,350,"Wicked Chimera#aa25",3200,1;
  2149. monster 'map_glast$,268,357,"Wicked Chimera#aa25",3200,1;
  2150. monster 'map_glast$,271,358,"Wicked Chimera#aa25",3200,1;
  2151. end;
  2152. OnInstanceInit:
  2153. 'skip_left_part = 0;
  2154. 'back_to_entrance = 0;
  2155. 'map_glast$ = instance_mapname("1@glast");
  2156. 'fenrir_1$ = instance_npcname("Fenrith Fenrir#glast_01");
  2157. 'fenrir_2$ = instance_npcname("Fenrith Fenrir#glast_02");
  2158. 'fenrir_3$ = instance_npcname("Fenrith Fenrir#glast_03");
  2159. 'fenrir_4$ = instance_npcname("Fenrith Fenrir#glast_04");
  2160. 'fenrir_5$ = instance_npcname("Fenrith Fenrir#glast_05");
  2161. 'fenrir_6$ = instance_npcname("Fenrith Fenrir#glast_06");
  2162. 'fenrir_7$ = instance_npcname("Fenrith Fenrir#glast_07");
  2163. 'fenrir_8$ = instance_npcname("Fenrith Fenrir#glast_08");
  2164. 'fenrir_9$ = instance_npcname("Fenrith Fenrir#glast_09");
  2165. 'fenrir_10$ = instance_npcname("Fenrith Fenrir#glast_10");
  2166. 'fenrir_11$ = instance_npcname("Fenrith Fenrir#glast_11");
  2167. 'sarah_10$ = instance_npcname("Sarah Irene#glast_10");
  2168. 'sarah_17$ = instance_npcname("Sarah Irene#glast_17");
  2169. 'sarah_20$ = instance_npcname("Sarah Irene#glast_20");
  2170. 'sarah_ego$ = instance_npcname("Sarah Irene's alter ego");
  2171. // Entrance
  2172. disablenpc instance_npcname("#glast_event_3");
  2173. for ( .@i = 1; .@i < 8; .@i++ )
  2174. hideonnpc instance_npcname("#effect_glast_event01_" + .@i);
  2175. disablenpc instance_npcname("#glast_move_01");
  2176. // Fenrir bottom
  2177. disablenpc instance_npcname("#glast_event_5");
  2178. disablenpc 'fenrir_2$;
  2179. // Fenrir left side, entrance
  2180. disablenpc instance_npcname("#glast_event_7");
  2181. disablenpc 'fenrir_3$;
  2182. // Fenrir left side, inside
  2183. disablenpc 'fenrir_4$;
  2184. disablenpc 'sarah_10$;
  2185. disablenpc instance_npcname("Gigantes#semi1");
  2186. disablenpc instance_npcname("Gigantes#semi2");
  2187. disablenpc instance_npcname("#glast_event_9");
  2188. for ( .@i = 1; .@i < 9; .@i++ )
  2189. hideonnpc instance_npcname("#effect_glast_event02_" + .@i);
  2190. hideonnpc instance_npcname("#effect_glast_event02_bis");
  2191. //for ( .@i = 1; .@i < 8; .@i++ )
  2192. // disablenpc instance_npcname("#glast_event_warp_" + .@i);
  2193. disablenpc instance_npcname("#fenrir_left_vermilion");
  2194. disablenpc instance_npcname("#fenrir_left_final_1");
  2195. // Event top side
  2196. disablenpc instance_npcname("#glast_event_13");
  2197. disablenpc 'fenrir_5$;
  2198. // Skipped left side
  2199. disablenpc instance_npcname("#fenrir_left_final_2");
  2200. // Stairs final room
  2201. disablenpc instance_npcname("#glast_move_03");
  2202. disablenpc instance_npcname("#glast_event_15");
  2203. disablenpc 'fenrir_6$;
  2204. // Final room
  2205. disablenpc instance_npcname("#glast_move_03a");
  2206. disablenpc instance_npcname("#glast_event_18");
  2207. disablenpc instance_npcname("Sarah Irene#glast_17");
  2208. disablenpc 'sarah_20$;
  2209. disablenpc 'fenrir_7$;
  2210. disablenpc 'fenrir_8$;
  2211. disablenpc 'fenrir_9$;
  2212. //for ( .@i = 11; .@i <= 16; .@i++ )
  2213. // disablenpc instance_npcname("#glast_event_warp_" + .@i);
  2214. for ( .@i = 1; .@i <= 8; .@i++ )
  2215. hideonnpc instance_npcname("#effect_glast_event03_" + .@i);
  2216. disablenpc instance_npcname("#glast_event_19");
  2217. disablenpc instance_npcname("#fenrir_boss_final_1");
  2218. // Outside final room
  2219. disablenpc instance_npcname("#glast_event_24");
  2220. disablenpc 'fenrir_10$;
  2221. // Skipped final room
  2222. disablenpc instance_npcname("#fenrir_boss_final_2");
  2223. // Bombs
  2224. disablenpc instance_npcname("#sarah_wrath");
  2225. for ( .@i = 1; .@i <= 14; .@i++ )
  2226. disablenpc instance_npcname("#glast_bomb_" + (.@i < 10 ? ("0"+.@i) : .@i));
  2227. // Back to entrance
  2228. disablenpc instance_npcname("Sarah Irene's alter ego");
  2229. disablenpc 'fenrir_11$;
  2230. disablenpc instance_npcname("#glast_move_04");
  2231. disablenpc instance_npcname("#glast_move_05");
  2232. // Shards
  2233. for ( .@i = 1; .@i < 7; .@i++ )
  2234. disablenpc instance_npcname("Ancient Gigantes#glast_" + .@i);
  2235. for ( .@i = 1; .@i < 29; .@i++ )
  2236. disablenpc instance_npcname( "Stone Gargoyle#glast_" + (.@i < 10 ? ("0"+.@i) : .@i) );
  2237. // Spawn chimera
  2238. donpcevent instance_npcname("#fenrir_spawn_chimera") + "::OnSpawn";
  2239. end;
  2240. }