SarahAndFenrir.txt 95 KB

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