SarahAndFenrir.txt 94 KB

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