RemnantBaseCamp.txt 56 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651
  1. //===== rAthena Script =======================================
  2. //= Remnant's Base Camp
  3. //===== Description: =========================================
  4. //= [Official Conversion]
  5. //= Remnant's Base Camp Instance
  6. //===== Additional Comments: =================================
  7. //= 1.0 First version. [Atemo]
  8. //============================================================
  9. iz_dun03,30,170,6 script Goalkeeper#dunclan02 4_M_RASWORD,{
  10. if (isbegin_quest(14415) == 1 || isbegin_quest(14357) == 1 || isbegin_quest(14327) == 1 || isbegin_quest(14313) == 1) {
  11. mes "[Goalkeeper]";
  12. mes "You have eliminated the remnants, thank you for your hard work.";
  13. mes "Hurry up and report back!";
  14. close;
  15. }
  16. if (isbegin_quest(14414) != 1 && isbegin_quest(14356) != 1 && isbegin_quest(14326) != 1 && isbegin_quest(14312) != 1) {
  17. mes "[Goalkeeper]";
  18. mes "Who are you?";
  19. mes "Very suspicious?";
  20. mes "Go away!";
  21. close;
  22. }
  23. switch( getcharid(5) ) {
  24. case 1:
  25. if (isbegin_quest(14312) != 1) {
  26. mes "[Goalkeeper]";
  27. mes "Did you accept a mission from the Sword Clan?";
  28. mes "Please double-check!";
  29. close;
  30. }
  31. break;
  32. case 2:
  33. if (isbegin_quest(14356) != 1) {
  34. mes "[Goalkeeper]";
  35. mes "Did you accept a mission from the Arch Wand Clan?";
  36. mes "Please double-check!";
  37. close;
  38. }
  39. break;
  40. case 3:
  41. if (isbegin_quest(14414) != 1) {
  42. mes "[Goalkeeper]";
  43. mes "Did you accept a mission from the Golden Mace Clan?";
  44. mes "Please double-check!";
  45. close;
  46. }
  47. break;
  48. case 4:
  49. if (isbegin_quest(14326) != 1) {
  50. mes "[Goalkeeper]";
  51. mes "Did you accept a mission from the Crossbow Clan?";
  52. mes "Please double-check!";
  53. close;
  54. }
  55. break;
  56. default:
  57. mes "[Goalkeeper]";
  58. mes "Are you a member of a Clan?";
  59. mes "Please double-check!";
  60. close;
  61. }
  62. if (getcharid(1) < 1) {
  63. mes "[Goalkeeper]";
  64. mes "^FF0000 You need to form a team of at least 1 person or join a team to enter. ^000000";
  65. close;
  66. }
  67. mes "[Goalkeeper]";
  68. mes "You came? I've already heard from the Leader of the Clan.";
  69. mes "He told me to secretly let everyone from the Clan carrying out the base raid mission in.";
  70. next;
  71. mes "[Goalkeeper]";
  72. mes "They are currently not making any moves.";
  73. mes "However, there have always been people coming and going.";
  74. next;
  75. mes "[Goalkeeper]";
  76. mes "I've been told to provide the necessary assistance to the members of the Clan, so";
  77. mes "do you need help?";
  78. next;
  79. .@md_name$ = "Remnant's Base Camp";
  80. if (is_party_leader() == true) {
  81. .@menu$[0] = "Please open the door";
  82. .@menu$[1] = "Let me in";
  83. }
  84. else {
  85. .@menu$[0] = "";
  86. .@menu$[1] = "I want to go in";
  87. }
  88. switch( select( .@menu$[0], .@menu$[1], "Cancel" ) ) {
  89. case 1:
  90. if (instance_create(.@md_name$) < 1) {
  91. mes "[Goalkeeper]";
  92. mes "Oops .. The door can't be opened .. could you please come back later?";
  93. close;
  94. }
  95. mes "[Goalkeeper]";
  96. mes "Okay, I'll open the door.";
  97. mes "It just takes a little while to open it. Please come back later!";
  98. close;
  99. case 2:
  100. if (is_party_leader() == true) {
  101. switch( instance_enter(.@md_name$) ) {
  102. case IE_OTHER:
  103. mes "^ff0000An unknown error has occurred!^000000";
  104. close;
  105. case IE_NOINSTANCE:
  106. mes "[Goalkeeper]";
  107. mes "Do you ask me to open the door? I didn't hear you!";
  108. close;
  109. case IE_NOMEMBER:
  110. mes "[Goalkeeper]";
  111. mes "It's dangerous to be alone. Don't you have a comrade to fight with? Why don't you form a team and come back later?";
  112. close;
  113. case IE_OK:
  114. // warp "1@ffp",257,246;
  115. end;
  116. }
  117. }
  118. else {
  119. switch( instance_enter(.@md_name$) ) {
  120. case IE_OTHER:
  121. mes "^ff0000An unknown error has occurred!^000000";
  122. close;
  123. case IE_NOINSTANCE:
  124. mes "[Goalkeeper]";
  125. mes "The Leader of the Clan did not request to open the door, so I can't just open it for anyone...";
  126. close;
  127. case IE_NOMEMBER:
  128. mes "[Goalkeeper]";
  129. mes "It's dangerous to be alone. Don't you have a comrade to fight with? Why don't you form a team and come back later?";
  130. close;
  131. case IE_OK:
  132. // warp "1@ffp",257,246;
  133. end;
  134. }
  135. }
  136. end;
  137. case 3:
  138. end;
  139. }
  140. end;
  141. }
  142. // Step 1
  143. 1@ffp,246,255,5 script Otto#dclan01 4_M_EINMAN,{
  144. if ('step != 0)
  145. end;
  146. if (is_party_leader() == false) {
  147. mes "[Panettiere]";
  148. mes "Didn't you hear the sound of the mosquito?";
  149. mes "Did I hear that wrong?";
  150. close;
  151. }
  152. .@panettiere_1$ = instance_npcname("Panettiere#dclan01");
  153. .@philip$ = instance_npcname("Philip#dclan01");
  154. .@otto_1$ = instance_npcname("Otto#dclan01f");
  155. .@louis$ = instance_npcname("Louis#dclan01");
  156. .@player_name$ = strcharinfo(0);
  157. .@account_id = getcharid(3);
  158. if (isbegin_quest(14414) == 1) { // Quest from Golden Mace Clan
  159. disablenpc();
  160. enablenpc .@otto_1$;
  161. mes "[Panettiere]";
  162. mes "This is how it should be done...";
  163. mes "Wow! You scared me! Who are you?";
  164. npctalk "This is how you do it... Who are you?", .@panettiere_1$;
  165. next;
  166. mes "[" + .@player_name$ + "]";
  167. mes "Are you hiding here?";
  168. mes "I've been looking for you Louis!";
  169. unittalk .@account_id, "" + .@player_name$ + " : I've been looking for you Louis!";
  170. next;
  171. mes "[Louis]";
  172. mes "Ah! You're the one from last time..!!!";
  173. npctalk "Ah! You are the one from last time..!!", .@louis$;
  174. next;
  175. mes "[Otto]";
  176. mes "What?";
  177. npctalk "What?", .@otto_1$;
  178. next;
  179. mes "[Philip]";
  180. mes "Is Louis being followed?";
  181. npctalk "Is Louis being followed?", .@philip$;
  182. next;
  183. mes "[Louis]";
  184. mes "Impossible!";
  185. mes "How did you find me?";
  186. npctalk "Impossible! How did you find me?", .@louis$;
  187. next;
  188. mes "[" + .@player_name$ + "]";
  189. mes "Of course you can find anything if you want to, right?";
  190. mes "In such an advanced society.";
  191. unittalk .@account_id, "" + .@player_name$ + " : Of course you can find anything if you want to, right? In such an advanced society.";
  192. next;
  193. mes "[Panettiere]";
  194. mes "It's hard to believe that Louis would...";
  195. npctalk "It's hard to believe that Louis would...", .@panettiere_1$;
  196. next;
  197. mes "[Otto]";
  198. mes "The world-famous Louis...";
  199. npctalk "The world-famous Louis...", .@otto_1$;
  200. next;
  201. mes "[Philip]";
  202. mes "He's always been a self-righteous man...";
  203. npctalk "He's always been a self-righteous man...", .@philip$;
  204. next;
  205. mes "[Panettiere]";
  206. mes "Why does the tone of this guy sound..";
  207. npctalk "Why does the tone of this guy sound..", .@panettiere_1$;
  208. next;
  209. mes "[Otto]";
  210. mes "Like Louis!";
  211. npctalk "Like Louis!", .@otto_1$;
  212. next;
  213. mes "[Philip]";
  214. mes "That's disgusting.";
  215. npctalk "That's disgusting.", .@philip$;
  216. next;
  217. mes "[Louis]";
  218. mes "Now's not the time to be flummoxed,";
  219. mes "Get out of here!";
  220. npctalk "Now's not the time to be flummoxed, get out of here!", .@louis$;
  221. next;
  222. mes "[Panettiere]";
  223. mes "Before leaving, we need to get rid of the traces here!";
  224. npctalk "Before leaving, we need to get rid of the traces here!", .@panettiere_1$;
  225. next;
  226. mes "[Louis]";
  227. mes "I'm opening it!!!";
  228. npctalk "I'm opening it!!!", .@louis$;
  229. mapannounce 'map_1ffp$, "A bomb has been activated!", bc_map, 0x00ff00;
  230. next;
  231. mes "[Panettiere]";
  232. mes "Louis, give me a heads up before you start!!!";
  233. npctalk "Louis, give me a heads up before you start!!!", .@panettiere_1$;
  234. next;
  235. mes "[Otto]";
  236. mes "What? Has the bomb already been activated?";
  237. npctalk "What? Has the bomb already been activated?", .@otto_1$;
  238. next;
  239. mes "[Philip]";
  240. mes "Wow!!! Let's get out of here quickly!!";
  241. npctalk "Wow!!! Let's get out of here quickly!!", .@philip$;
  242. next;
  243. if ('step == 0) {
  244. 'step = 1;
  245. donpcevent instance_npcname("clan_md_mob_spawn_1") + "::OnStart";
  246. donpcevent instance_npcname("clan_bomb_round") + "::OnStart";
  247. disablenpc .@panettiere_1$;
  248. disablenpc .@otto_1$;
  249. disablenpc .@philip$;
  250. disablenpc .@louis$;
  251. }
  252. mes "[" + .@player_name$ + "]";
  253. mes "Oh no, let's defuse the bomb first and then go after them!";
  254. unittalk .@account_id, "" + .@player_name$ + " : Oh no, let's defuse the bomb first and then go after them!";
  255. close;
  256. }
  257. if (isbegin_quest(14356) == 1) { // Quest from Arch Wand Clan
  258. disablenpc();
  259. enablenpc .@otto_1$;
  260. mes "[Panettiere]";
  261. mes "Are you new here? Why are you so slow?";
  262. mes "I thought I was starving to death!";
  263. npctalk "Are you new here? Are you new here? Why are you so slow? I thought I was starving to death!", .@panettiere_1$;
  264. next;
  265. mes "[" + .@player_name$ + "]";
  266. mes "I'll feed you till you die,";
  267. mes "In a cold and dark place.";
  268. unittalk .@account_id, "" + .@player_name$ + " : I'll feed you till you die, in a cold and dark place.";
  269. next;
  270. mes "[Otto]";
  271. mes "Wow? You scared me! You're not a newcomer, are you? Who are you!!!";
  272. npctalk "Wow? You scared me! You're not a newcomer, are you? Who are you!!!";
  273. next;
  274. mes "[Philip]";
  275. mes "Who are you? How did you find this place?";
  276. mes "Are you following me?";
  277. npctalk "Who are you? How did you find this place? Are you following me?", .@philip$;
  278. next;
  279. mes "[Otto]";
  280. mes "Stalking?";
  281. mes "Has the trick you mastered to shake someone off failed?";
  282. npctalk "Stalking? Has the trick you mastered to shake someone off failed?";
  283. next;
  284. mes "[Panettiere]";
  285. mes "Well, it's not because I got caught.";
  286. npctalk "Well, it's not because I got caught.", .@panettiere_1$;
  287. next;
  288. mes "[Otto]";
  289. mes "It's all your fault!!!";
  290. npctalk "It's all your fault!!!";
  291. next;
  292. mes "[Philip]";
  293. mes "Do you have any evidence?";
  294. npctalk "Do you have evidence?", .@philip$;
  295. next;
  296. mes "[Otto]";
  297. mes "Should I blame you?";
  298. npctalk "Should I blame you?";
  299. next;
  300. mes "[" + .@player_name$ + "]";
  301. mes "It's definitely your fault!";
  302. unittalk .@account_id, "" + .@player_name$ + " : It's definitely your fault!";
  303. next;
  304. mes "[Panettiere]";
  305. mes "I knew it would be like this!!!!";
  306. npctalk "I knew it would be like this!!!!", .@panettiere_1$;
  307. next;
  308. mes "[Louis]";
  309. mes "Now is not the time for internal strife.";
  310. mes "Since our base has been discovered, we have no choice but to abandon this place and leave quickly!";
  311. npctalk "Since our base has been discovered, we have no choice but to abandon this place and leave quickly!", .@louis$;
  312. next;
  313. mes "[Otto]";
  314. mes "Let's try it! We'll have to try it sooner or later!";
  315. npctalk "Let's try it! We'll have to try it sooner or later!";
  316. next;
  317. mes "[Philip]";
  318. mes "Sending you a bomb full of love~ Goodbye~~~~~";
  319. npctalk "Sending you a bomb full of love~ Goodbye~~~~~", .@philip$;
  320. next;
  321. mes "[Philip]";
  322. mes "Hahahahahahahahahaha!!!!";
  323. npctalk "Hahahahahahahaha!!!!", .@philip$;
  324. next;
  325. if ('step == 0) {
  326. 'step = 1;
  327. donpcevent instance_npcname("clan_md_mob_spawn_1") + "::OnStart";
  328. donpcevent instance_npcname("clan_bomb_round") + "::OnStart";
  329. disablenpc .@panettiere_1$;
  330. disablenpc .@otto_1$;
  331. disablenpc .@philip$;
  332. disablenpc .@louis$;
  333. }
  334. mapannounce 'map_1ffp$, "A bomb has been activated!", bc_map, 0x00ff00;
  335. mes "[" + .@player_name$ + "]";
  336. mes "Oh no, let's defuse the bomb first and then go after them!";
  337. unittalk .@account_id, "" + .@player_name$ + " : Oh no, let's defuse the bomb first and then go after them!";
  338. close;
  339. }
  340. if (isbegin_quest(14326) == 1) { // Quest from Crossbow Clan
  341. disablenpc();
  342. enablenpc .@otto_1$;
  343. mes "[Panettiere]";
  344. mes "Are you new here? Why are you so slow?";
  345. mes "I thought I was starving to death!";
  346. npctalk "Are you new here? Are you new here? Why are you so slow? I thought I was starving to death!", .@panettiere_1$;
  347. next;
  348. mes "[" + .@player_name$ + "]";
  349. mes "It took me a lot of effort to find you,";
  350. mes "you really made me suffer.";
  351. unittalk .@account_id, "" + .@player_name$ + "It took me a lot of effort to find you, you really made me suffer.";
  352. next;
  353. mes "[Otto]";
  354. mes "A beginner still like this, huh?";
  355. mes "You, how did you find this place..??";
  356. npctalk "You, how did you find this place..?";
  357. next;
  358. mes "[Philip]";
  359. mes "Huh? Did you slip up?";
  360. mes "I'm so disappointed in you!!!";
  361. npctalk "Huh? Did you slip up? I'm so disappointed in you!!!", .@philip$;
  362. next;
  363. mes "[Otto]";
  364. mes "It's not me!!! Absolutely not me!!";
  365. mes "You know it too!!";
  366. npctalk "It's not me!!! Absolutely not me!! You know it too!!!";
  367. next;
  368. mes "[Panettiere]";
  369. mes "I was originally planning to eat,";
  370. mes "it's all your fault for showing up!!!!!!!!!";
  371. npctalk "I was originally planning to eat, it's all your fault for showing up!!!!!!!!!", .@panettiere_1$;
  372. next;
  373. mes "[Louis]";
  374. mes "Now is not the time for internal strife.";
  375. mes "Since our base has been discovered, we have no choice but to abandon this place and leave quickly!";
  376. npctalk "Since our base has been discovered, we have no choice but to abandon this place and leave quickly!", .@louis$;
  377. next;
  378. mes "[Otto]";
  379. mes "Then let's give it a try! Anyway, we have to try it sooner or later!";
  380. npctalk "Then let's give it a try! Anyway, we have to try it sooner or later!";
  381. next;
  382. mes "[Philip]";
  383. mes "Whatever it is, let's activate it and get out of here quickly!";
  384. npctalk "Whatever it is, let's activate it and get out of here quickly!", .@philip$;
  385. next;
  386. mes "[Otto]";
  387. mes "Hahaha! Goodbye with a bang! Let's not meet again~";
  388. mes "???~";
  389. npctalk "Hahaha! Goodbye with a bang! Let's not meet again~";
  390. next;
  391. if ('step == 0) {
  392. 'step = 1;
  393. donpcevent instance_npcname("clan_md_mob_spawn_1") + "::OnStart";
  394. donpcevent instance_npcname("clan_bomb_round") + "::OnStart";
  395. disablenpc .@panettiere_1$;
  396. disablenpc .@otto_1$;
  397. disablenpc .@philip$;
  398. disablenpc .@louis$;
  399. }
  400. mapannounce 'map_1ffp$, "A bomb has been activated!", bc_map, 0x00ff00;
  401. mes "[" + .@player_name$ + "]";
  402. mes "Oh no, let's defuse the bomb first and then go after them!";
  403. unittalk .@account_id, "" + .@player_name$ + " : Oh no, let's defuse the bomb first and then go after them!";
  404. close;
  405. }
  406. if (isbegin_quest(14312) == 1) { // Quest from Sword Clan
  407. disablenpc();
  408. enablenpc .@otto_1$;
  409. mes "[Panettiere]";
  410. mes "This is how it should be done...";
  411. npctalk "This is how it should be done..", .@panettiere_1$;
  412. next;
  413. mes "[" + .@player_name$ + "]";
  414. mes "Oh, so you're here?";
  415. mes "I've been looking for you for a long time!";
  416. unittalk .@account_id, "" + .@player_name$ + " : Oh, so you're here? I've been looking for you for a long time!";
  417. next;
  418. mes "[Panettiere]";
  419. mes "You startled me, who are you?";
  420. mes "Who are you? How did you find this place?";
  421. npctalk "Who are you? How did you find this place?", .@panettiere_1$;
  422. next;
  423. mes "[Otto]";
  424. mes "It's all your fault for showing up!";
  425. npctalk "It's all your fault for showing up!";
  426. next;
  427. mes "[Philip]";
  428. mes "You have never been very careful, sigh!";
  429. npctalk "You have never been very careful, sigh!", .@philip$;
  430. next;
  431. mes "[Panettiere]";
  432. mes "Impossible, could it be that you guys are showing your true colors?";
  433. npctalk "Impossible, could it be that you guys are showing your true colors?", .@panettiere_1$;
  434. next;
  435. mes "[Otto]";
  436. mes "It's the same thing that happened to you last time you got caught at your base camp!";
  437. npctalk "It's the same thing that happened to you last time you got caught at your base camp!";
  438. next;
  439. mes "[Panettiere]";
  440. mes "Why bring up old matters? Ever since that incident, I've been more cautious, you know?";
  441. npctalk "Why bring up old matters? Ever since that incident, I've been more cautious, you know?", .@panettiere_1$;
  442. next;
  443. mes "[Louis]";
  444. mes "Stop arguing and leave this place quickly.";
  445. npctalk "Stop arguing and leave this place quickly.", .@louis$;
  446. next;
  447. mes "[Philip]";
  448. mes "Wait, let's take this opportunity to test the performance of the timed bomb.";
  449. npctalk "Wait, let's take this opportunity to test the performance of the timed bomb." , .@philip$;
  450. next;
  451. mes "[Otto]";
  452. mes "Isn't that still in the experimental stage? I don't think it's very appropriate.";
  453. npctalk "Isn't that still in the experimental stage? I don't think it's very appropriate.";
  454. next;
  455. mes "[Louis]";
  456. mes "Good idea, we have to try it sooner or later anyway.";
  457. npctalk "Good idea, we have to try it sooner or later anyway.", .@louis$;
  458. next;
  459. mes "[Panettiere]";
  460. mes "Haha! It's a bomb! So happy!!!!";
  461. mes "Let's go! It's up to you how to handle it!";
  462. npctalk "Haha! It's a bomb! So happy!!!! Let's go! It's up to you how to handle it!", .@panettiere_1$;
  463. next;
  464. mes "[Panettiere]";
  465. mes "Let me give you a big gift before we leave!";
  466. mes "Come out! My little monsters!!!";
  467. npctalk "Let me give you a big gift before we leave! Come out! My little monsters!!!", .@panettiere_1$;
  468. next;
  469. if ('step == 0) {
  470. 'step = 1;
  471. donpcevent instance_npcname("clan_md_mob_spawn_1") + "::OnStart";
  472. donpcevent instance_npcname("clan_bomb_round") + "::OnStart";
  473. disablenpc .@panettiere_1$;
  474. disablenpc .@otto_1$;
  475. disablenpc .@philip$;
  476. disablenpc .@louis$;
  477. }
  478. mapannounce 'map_1ffp$, "A bomb has been activated!", bc_map, 0x00ff00;
  479. mes "[" + .@player_name$ + "]";
  480. mes "Oh no, let's defuse the bomb first and then go after them!";
  481. unittalk .@account_id, "" + .@player_name$ + " : Oh no, let's defuse the bomb first and then go after them!";
  482. close;
  483. }
  484. end;
  485. OnInstanceInit:
  486. 'step = 0;
  487. 'map_1ffp$ = instance_mapname("1@ffp");
  488. setcell 'map_1ffp$,112,270,112,262,cell_walkable,0;
  489. setcell 'map_1ffp$,151,147,146,152,cell_walkable,0;
  490. setcell 'map_1ffp$,256,76,248,76,cell_walkable,0;
  491. setcell 'map_1ffp$,99,56,99,64,cell_walkable,0;
  492. end;
  493. }
  494. 1@ffp,246,255,5 duplicate(dummy_disabled_npc) Otto#dclan01f 4_M_EINMAN
  495. 1@ffp,248,257,4 duplicate(dummy_npc) Panettiere#dclan01 4_M_SCIENCE
  496. 1@ffp,249,255,4 duplicate(dummy_npc) Philip#dclan01 4_M_LGTGUARD
  497. 1@ffp,247,253,7 duplicate(dummy_npc) Louis#dclan01 4_M_MASKMAN
  498. // Step 2
  499. 1@ffp,111,229,4 script Otto#dclan02 4_M_EINMAN,{
  500. if ('step != 1)
  501. end;
  502. if (is_party_leader() == false) {
  503. mes "[Panettiere]";
  504. mes "Didn't you hear the sound of a mosquito?";
  505. mes "Did I hear that wrong?";
  506. close;
  507. }
  508. .@panettiere_2$ = instance_npcname("Panettiere#dclan02");
  509. .@otto_2$ = instance_npcname("Otto#dclan02f");
  510. .@philip_2$ = instance_npcname("Philip#dclan02");
  511. .@louis_2$ = instance_npcname("Louis#dclan02");
  512. .@player_name$ = strcharinfo(0);
  513. disablenpc();
  514. enablenpc .@otto_2$;
  515. mes "[Panettiere]";
  516. mes "That guy was taken care of, right?";
  517. npctalk "That guy was taken care of, right?", .@panettiere_2$;
  518. next;
  519. mes "[" + .@player_name$ + "]";
  520. mes "How can that be!";
  521. unittalk getcharid(3), "" + .@player_name$ + " : How can that be!";
  522. next;
  523. mes "[Otto]";
  524. mes "Behind... behind..! That guy from earlier has appeared!";
  525. npctalk "Behind.. behind..! That guy from earlier has appeared!", .@otto_2$;
  526. next;
  527. mes "[Philip]";
  528. mes "What??";
  529. npctalk "What??", .@philip_2$;
  530. next;
  531. mes "[Otto]";
  532. mes "Not easy at all!";
  533. mes "I can't believe I dodged the bombs, landmines, and monsters to get here!";
  534. npctalk "Not easy at all! I can't believe I dodged the bombs, landmines, and monsters to get here!", .@otto_2$;
  535. next;
  536. mes "[Philip]";
  537. mes "The other party really came prepared this time!";
  538. npctalk "The other party really came prepared this time!", .@philip_2$;
  539. next;
  540. mes "[Louis]";
  541. mes "There's no way!";
  542. mes "I have no choice but to give up this place.";
  543. npctalk "There's no way! I have no choice but to give up this place.", .@louis_2$;
  544. next;
  545. mes "[Panettiere]";
  546. mes "Huh? We worked so hard to build this!";
  547. npctalk "Huh? We worked so hard to build this!", .@panettiere_2$;
  548. next;
  549. mes "[Otto]";
  550. mes "Yeah! I've put a lot of effort into this place!";
  551. npctalk "Yeah! I've put a lot of effort into this place!", .@otto_2$;
  552. next;
  553. mes "[Louis]";
  554. mes "Now that we've been discovered, we can't use this as a secret base anymore!";
  555. npctalk "Now that we've been discovered, we can't use this as a secret base anymore!", .@louis_2$;
  556. next;
  557. mes "[Philip]";
  558. mes "Alright! It has to be this way, but we need to deal with him first to prevent him from coming after us again.";
  559. npctalk "Alright! It has to be this way, but we need to deal with him first to prevent him from coming after us again.", .@louis_2$;
  560. next;
  561. mes "[Otto]";
  562. mes "Falcon missile!!! Launch!!!!";
  563. npctalk "Falcon missile!!! Launch!!!", .@otto_2$;
  564. next;
  565. mes "[Panettiere]";
  566. mes "Hey!!! You need to give us time to evacuate!!!!!";
  567. npctalk "Hey!!! You need to give us time to evacuate!!!!!", .@panettiere_2$;
  568. next;
  569. mes "[Philip]";
  570. mes "Wow wow wow!!! Move aside!!!!";
  571. npctalk "Wow wow wow!!! Move aside!!!!", .@philip_2$;
  572. next;
  573. if ('step == 1) {
  574. 'step = 2;
  575. donpcevent instance_npcname("clan_md_mob_spawn_2") + "::OnStart";
  576. donpcevent instance_npcname("clan_bomb_round") + "::OnStart";
  577. disablenpc .@panettiere_2$;
  578. disablenpc .@otto_2$;
  579. disablenpc .@philip_2$;
  580. disablenpc .@louis_2$;
  581. }
  582. mapannounce 'map_1ffp$, "A bomb has been activated!", bc_map, 0x00ff00;
  583. mes "[" + .@player_name$ + "]";
  584. mes "Oh no, let's defuse the bomb first and then go after them!";
  585. unittalk getcharid(3), "" + .@player_name$ + " : Oh no, let's defuse the bomb first and then go after them!";
  586. close;
  587. }
  588. 1@ffp,111,229,4 duplicate(dummy_disabled_npc) Otto#dclan02f 4_M_EINMAN
  589. 1@ffp,108,230,5 duplicate(dummy_npc) Panettiere#dclan02 4_M_SCIENCE
  590. 1@ffp,107,227,7 duplicate(dummy_npc) Philip#dclan02 4_M_LGTGUARD
  591. 1@ffp,111,227,1 duplicate(dummy_npc) Louis#dclan02 4_M_MASKMAN
  592. // Step 3
  593. 1@ffp,171,155,4 script Otto#dclan03 4_M_EINMAN,{
  594. if ('step != 2)
  595. end;
  596. .@panettiere_3$ = instance_npcname("Panettiere#dclan03");
  597. .@otto_3$ = instance_npcname("Otto#dclan03f");
  598. .@philip_3$ = instance_npcname("Philip#dclan03");
  599. .@louis_3$ = instance_npcname("Louis#dclan03");
  600. .@player_name$ = strcharinfo(0);
  601. if (is_party_leader() == false) {
  602. mes "[Panettiere]";
  603. mes "Didn't you hear the sound of a mosquito?";
  604. mes "Did I hear that wrong?";
  605. close;
  606. }
  607. disablenpc();
  608. enablenpc .@otto_3$;
  609. mes "[Panettiere]";
  610. mes "Did you take care of that guy just now?";
  611. npctalk "That guy just got dealt with, right?", .@panettiere_3$;
  612. next;
  613. mes "[" + .@player_name$ + "]";
  614. mes "Are you planning to escape to your place?";
  615. mes "You'll be caught sooner or later, give it up!";
  616. unittalk getcharid(3), "" + .@player_name$ + " : Are you planning to escape to your place? You'll be caught sooner or later, give it up!";
  617. next;
  618. mes "[Otto]";
  619. mes "Wow!! How did you defuse the bomb?";
  620. npctalk "Wow!! How did you defuse the bomb?", .@otto_3$;
  621. next;
  622. mes "[Philip]";
  623. mes "Undeniably, his strength might be greater than ours.";
  624. npctalk "Undeniably, his strength might be greater than ours.", .@philip_3$;
  625. next;
  626. mes "[Panettiere]";
  627. mes "Are you willing to join us?";
  628. mes "Let's strengthen our power together!";
  629. npctalk "Are you willing to join us? Let's strengthen our power together!", .@panettiere_3$;
  630. next;
  631. mes "[Louis]";
  632. mes "You come and be an officer, let's liberate the country together!";
  633. npctalk "You come be an officer, let's liberate the country together!", .@louis_3$;
  634. next;
  635. mes "[Otto]";
  636. mes "But can we decide on hiring new people?";
  637. npctalk "But can we decide on hiring new people?", .@otto_3$;
  638. next;
  639. mes "[Panettiere]";
  640. mes "It's better to discuss the details together.";
  641. npctalk "It's better to discuss the details together.", .@panettiere_3$;
  642. next;
  643. mes "[" + .@player_name$ + "]";
  644. mes "Is it a good deal?";
  645. unittalk getcharid(3), "" + .@player_name$ + " : Is it a good deal?";
  646. next;
  647. mes "[Philip]";
  648. mes "Not really,";
  649. mes "However, with your skills, you should be treated well!";
  650. npctalk "However, with your skills, you should be treated well!";
  651. next;
  652. mes "[Otto]";
  653. mes "Good pay? Better than us?";
  654. mes "That's not acceptable.";
  655. npctalk "Good pay? Better than us? That's not acceptable.", .@otto_3$;
  656. next;
  657. mes "[Panettiere]";
  658. mes "Hmm, that's not fair...";
  659. npctalk "Hmm, that's not fair..", .@panettiere_3$;
  660. next;
  661. mes "[Philip]";
  662. mes "Look at him shaking his head, he actually can't accept our proposal, can he?";
  663. npctalk "Look at him shaking his head, he actually can't accept our proposal, can he?", .@philip_3$;
  664. next;
  665. mes "[" + .@player_name$ + "]";
  666. mes "No matter how good the deal is, I definitely don't want to join a criminal organization.";
  667. unittalk getcharid(3), "" + .@player_name$ + "No matter how good the deal is, I don't want to join a criminal organization.";
  668. next;
  669. mes "[Otto]";
  670. mes "Ha! So infuriating!";
  671. mes "A criminal organization? Us? This is a huge misunderstanding, we were originally..!";
  672. npctalk "A criminal organization? Us? This is a huge misunderstanding, we were originally...!", .@otto_3$;
  673. next;
  674. mes "[Louis]";
  675. mes "I don't think I can persuade him, there's no other way!";
  676. npctalk "I don't think I can persuade him, there's no other way!", .@louis_3$;
  677. next;
  678. mes "[Philip]";
  679. mes "This time, I'll show you something big. You're done for.";
  680. mes "This is your final resting place, think about how to write your epitaph!";
  681. npctalk "This is your final resting place, think about how to write your epitaph!", .@philip_3$;
  682. next;
  683. if ('step == 2) {
  684. 'step = 3;
  685. donpcevent instance_npcname("clan_md_mob_spawn_3") + "::OnStart";
  686. donpcevent instance_npcname("clan_bomb_round") + "::OnStart";
  687. disablenpc .@panettiere_3$;
  688. disablenpc .@otto_3$;
  689. disablenpc .@philip_3$;
  690. disablenpc .@louis_3$;
  691. }
  692. mapannounce 'map_1ffp$, "A bomb has been activated!", bc_map, 0x00ff00;
  693. mes "[" + .@player_name$ + "]";
  694. mes "Oh no, let's defuse the bomb first before going after them!";
  695. unittalk getcharid(3), "" + .@player_name$ + " : Oh no, let's defuse the bomb first before going after them!";
  696. close;
  697. }
  698. 1@ffp,171,155,4 duplicate(dummy_disabled_npc) Otto#dclan03f 4_M_EINMAN
  699. 1@ffp,170,157,4 duplicate(dummy_npc) Panettiere#dclan03 4_M_SCIENCE
  700. 1@ffp,170,152,1 duplicate(dummy_npc) Philip#dclan03 4_M_LGTGUARD
  701. 1@ffp,168,156,5 duplicate(dummy_npc) Louis#dclan03 4_M_MASKMAN
  702. // Step 4
  703. 1@ffp,251,52,7 script Otto#dclan04 4_M_EINMAN,{
  704. if ('step != 3)
  705. end;
  706. .@panettiere_4$ = instance_npcname("Panettiere#dclan04");
  707. .@otto_4$ = instance_npcname("Otto#dclan04f");
  708. .@philip_4$ = instance_npcname("Philip#dclan04");
  709. .@louis_4$ = instance_npcname("Louis#dclan04");
  710. .@player_name$ = strcharinfo(0);
  711. if (is_party_leader() == false) {
  712. mes "[Panettiere]";
  713. mes "Didn't you hear the sound of a mosquito?";
  714. mes "Did I hear it wrong?";
  715. close;
  716. }
  717. disablenpc();
  718. enablenpc .@otto_4$;
  719. mes "[Panettiere]";
  720. mes "That guy was taken care of just now, right?";
  721. npctalk "That guy was taken care of just now, right?", .@panettiere_4$;
  722. next;
  723. mes "[" + .@player_name$ + "]";
  724. mes "This is really exhausting!";
  725. mes "Where exactly are you all going?";
  726. unittalk getcharid(3), "" + .@player_name$ + " : This is really exhausting Where exactly are you all going?";
  727. next;
  728. mes "[Panettiere]";
  729. mes "Wow!! How come it's you again!!";
  730. npctalk "Wow!! How come it's you again!!", .@panettiere_4$;
  731. next;
  732. mes "[Otto]";
  733. mes "How could this happen!!! You took them all..?";
  734. npctalk "How could this happen!!! You took them all..?", .@otto_4$;
  735. next;
  736. mes "[Philip]";
  737. mes "How could this happen!!! You got rid of all of them..!!!";
  738. npctalk "How could this happen!!! You got rid of all of them..!!!", .@philip_4$;
  739. next;
  740. mes "[Louis]";
  741. mes "If we can't win you over, we'll just have to eliminate you.";
  742. npctalk "If we can't win you over, we'll just have to eliminate you.", .@louis_4$;
  743. next;
  744. mes "[Panettiere]";
  745. mes "This time it's your turn to step up, Louis.";
  746. npctalk "This time it's your turn to step up, Louis.", .@panettiere_4$;
  747. next;
  748. mes "[Otto]";
  749. mes "I guess this is the only way, Louis.";
  750. npctalk "I guess this is the only way, Louis.", .@otto_4$;
  751. next;
  752. mes "[Philip]";
  753. mes "At this point, we really need you to step in, Louis.";
  754. npctalk "At this point, we really need you to step in, Louis.", .@philip_4$;
  755. next;
  756. mes "[Louis]";
  757. mes "Alright! Leave it to me! Everyone, step aside!";
  758. npctalk "Alright! Leave it to me! Everyone, step aside!", .@louis_4$;
  759. next;
  760. mes "[Otto]";
  761. mes "You're being self-righteous again.";
  762. npctalk "You're being self-righteous again.", .@otto_4$;
  763. next;
  764. mes "[Panettiere]";
  765. mes "We already moved aside.";
  766. npctalk "We already moved aside.", .@panettiere_4$;
  767. next;
  768. mes "[Philip]";
  769. mes "Of course, we have to follow orders.";
  770. npctalk "Of course, we have to follow orders.", .@philip_4$;
  771. next;
  772. mes "[Louis]";
  773. mes "You will never leave alive, so die!";
  774. npctalk "You will never leave alive, so die!", .@louis_4$;
  775. next;
  776. mes "[Louis]";
  777. mes "This is a gift for you.";
  778. npctalk "This is a gift for you.", .@louis_4$;
  779. next;
  780. if ('step == 3) {
  781. 'step = 4;
  782. donpcevent instance_npcname("clan_md_mob_spawn_4") + "::OnStart";
  783. donpcevent instance_npcname("clan_bomb_round") + "::OnStart";
  784. disablenpc .@panettiere_4$;
  785. disablenpc .@otto_4$;
  786. disablenpc .@philip_4$;
  787. disablenpc .@louis_4$;
  788. }
  789. mapannounce 'map_1ffp$, "A bomb has been activated!", bc_map, 0x00ff00;
  790. mes "[" + .@player_name$ + "]";
  791. mes "Oh no, let's defuse the bomb first before going after them!";
  792. unittalk getcharid(3), "" + .@player_name$ + " : Oh no, let's defuse the bomb first before going after them!";
  793. close;
  794. }
  795. 1@ffp,251,52,7 duplicate(dummy_disabled_npc) Otto#dclan04f 4_M_EINMAN
  796. 1@ffp,252,56,5 duplicate(dummy_npc) Panettiere#dclan04 4_M_SCIENCE
  797. 1@ffp,254,52,1 duplicate(dummy_npc) Philip#dclan04 4_M_LGTGUARD
  798. 1@ffp,255,56,4 duplicate(dummy_npc) Louis#dclan04 4_M_MASKMAN
  799. // Step 5
  800. 1@ffp,69,61,4 script Otto#dclan05 4_M_EINMAN,{
  801. if ('step != 4)
  802. end;
  803. if (is_party_leader() == false) {
  804. mes "[Panettiere]";
  805. mes "Didn't you hear the sound of a mosquito?";
  806. mes "Did I hear it wrong?";
  807. close;
  808. }
  809. .@panettiere_5$ = instance_npcname("Panettiere#dclan05");
  810. .@otto_5$ = instance_npcname("Otto#dclan05f");
  811. .@philip_5$ = instance_npcname("Philip#dclan05");
  812. .@louis_5$ = instance_npcname("Louis#dclan05");
  813. .@heidrich_5$ = instance_npcname("Heidrich#dclan05");
  814. .@player_name$ = strcharinfo(0);
  815. disablenpc();
  816. enablenpc .@otto_5$;
  817. mes "[" + .@player_name$ + "]";
  818. mes "It seems we've reached the end,";
  819. mes "there's no way out, right?";
  820. unittalk getcharid(3), "" + .@player_name$ + " : It seems we've reached the end, there's no way out, right?";
  821. next;
  822. mes "[Panettiere]";
  823. mes "You chased me all the way here!!!";
  824. mes "Are you a human or a ghost?";
  825. npctalk "You chased me all the way here!!! Are you human or a ghost?", .@panettiere_5$;
  826. next;
  827. mes "[Otto]";
  828. mes "There's nothing we can do, it's beyond the scope of what we can handle.";
  829. npctalk "There's nothing we can do, it's beyond the scope of what we can handle.", .@otto_5$;
  830. next;
  831. mes "[Philip]";
  832. mes "Let's call the boss!";
  833. npctalk "Let's call the boss!", .@philip_5$;
  834. next;
  835. mes "[Louis]";
  836. mes "I've already asked!";
  837. npctalk "I've already asked!", .@louis_5$;
  838. next;
  839. mes "[Panettiere]";
  840. mes "Huh? When?";
  841. mes "You didn't say it earlier!";
  842. npctalk "Huh? When? You didn't say it earlier!", .@panettiere_5$;
  843. next;
  844. mes "[Otto]";
  845. mes "I need to mentally prepare!!!";
  846. npctalk "I need to mentally prepare!!!", .@otto_5$;
  847. next;
  848. mes "[Heidrich]";
  849. mes "Who woke me up? Didn't I say not to wake me up if there's nothing urgent?";
  850. mes "I need enough sleep.";
  851. enablenpc .@heidrich_5$;
  852. npctalk "Who woke me up? Didn't I say not to wake me up if there's nothing urgent? I need enough sleep.", .@heidrich_5$;
  853. next;
  854. mes "[Panettiere]";
  855. mes "Boss, boss!";
  856. mes "We... know...";
  857. npctalk "Boss, boss! We... know...", .@panettiere_5$;
  858. next;
  859. mes "[Otto]";
  860. mes "We only woke you up because we had no other choice...";
  861. npctalk "We only woke you up because we had no other choice..", .@otto_5$;
  862. next;
  863. mes "[Philip]";
  864. mes "Help us teach him a lesson!";
  865. npctalk "Help us teach him a lesson!", .@philip_5$;
  866. next;
  867. mes "[Heidrich]";
  868. mes "What?";
  869. npctalk "What?", .@heidrich_5$;
  870. next;
  871. mes "[Louis]";
  872. mes "There are intruders.";
  873. npctalk "There are intruders.", .@louis_5$;
  874. next;
  875. mes "[Heidrich]";
  876. mes "Didn't I tell you to stop the intruders?";
  877. npctalk "Didn't I tell you to stop the intruders?", .@heidrich_5$;
  878. next;
  879. mes "[Louis]";
  880. mes "This is because he broke through all the defenses.";
  881. npctalk "This is because he broke through all the defenses.", .@louis_5$;
  882. next;
  883. mes "[Heidrich]";
  884. mes "There are actually such amazing people?";
  885. mes "This kind of person should be brought over to our side!";
  886. npctalk "There are actually such amazing people? This kind of person should be brought over to our side!", .@heidrich_5$;
  887. next;
  888. mes "[Louis]";
  889. mes "We've tried to persuade him too!";
  890. mes "Rejected.";
  891. npctalk "We've tried to persuade him too! Rejected.", .@louis_5$;
  892. next;
  893. mes "[Heidrich]";
  894. mes "Are you the intruder?";
  895. npctalk "Are you the intruder?", .@heidrich_5$;
  896. next;
  897. mes "[" + .@player_name$ + "]";
  898. mes "I'm not an intruder,";
  899. mes "I'm performing my duties.";
  900. unittalk getcharid(3), "" + .@player_name$ + " : I'm not an intruder, I'm performing my duties.";
  901. next;
  902. mes "[Otto]";
  903. mes "It's him! The representative Clan member from the Kingdom!!!";
  904. npctalk "It's him! The representative Clan member of the kingdom!!!", .@otto_5$;
  905. next;
  906. mes "[Philip]";
  907. mes "We also tried to win him over, but he said he wasn't interested.";
  908. npctalk "We also tried to win him over, but he said he wasn't interested.", .@philip_5$;
  909. next;
  910. mes "[Heidrich]";
  911. mes "The representative Clan of the kingdom... I didn't expect them to keep pursuing us.";
  912. mes "It's really unfortunate to meet you under these circumstances.";
  913. npctalk "The representative Clan of the kingdom... I didn't expect them to keep pursuing us.", .@heidrich_5$;
  914. next;
  915. mes "[Louis]";
  916. mes "To avoid future trouble, let's get rid of him quickly, boss!";
  917. next;
  918. npctalk "To avoid future troubles, let's get rid of him quickly, boss!", .@louis_5$;
  919. next;
  920. mes "[Heidrich]";
  921. mes "I have been preparing for revenge on those four people for a long time,";
  922. mes "and today is the perfect time for you to check it out!";
  923. npctalk "I have been preparing for revenge on those four people for a long time, and today is the perfect time for you to check it out!", .@heidrich_5$;
  924. next;
  925. mes "[Otto]";
  926. mes "Boss is awesome!";
  927. npctalk "Boss is awesome!", .@otto_5$;
  928. next;
  929. mes "[Panettiere]";
  930. mes "That guy is really impressive.";
  931. mes "Please be careful!";
  932. npctalk "That guy is really impressive, please be careful!", .@panettiere_5$;
  933. next;
  934. mes "[Philip]";
  935. mes "He's very persistent, be careful!";
  936. npctalk "He's very persistent, be careful!", .@philip_5$;
  937. next;
  938. mes "[Louis]";
  939. mes "I'll help too.";
  940. npctalk "I'll help too.", .@louis_5$;
  941. next;
  942. mes "[Heidrich]";
  943. mes "No need, this is my battle!";
  944. mes "Back off.";
  945. npctalk "No need, this is my battle! Back off.", .@heidrich_5$;
  946. next;
  947. mes "[Panettiere]";
  948. mes "Boss, we're counting on you!";
  949. npctalk "Boss, we're counting on you!", .@panettiere_5$;
  950. next;
  951. mes "[Otto]";
  952. mes "Boss! Let's finish this quickly!";
  953. mes "I'll prepare something delicious for you!";
  954. npctalk "Boss! Let's finish this quickly! I'll prepare something delicious for you!", .@otto_5$;
  955. next;
  956. mes "[Philip]";
  957. mes "I'll choose the dishes!";
  958. mes "Trust my taste, okay?";
  959. npctalk "I'll choose the dishes! Trust my taste, okay?", .@philip_5$;
  960. next;
  961. mes "[Louis]";
  962. mes "Good luck!";
  963. npctalk "Good luck!", .@louis_5$;
  964. disablenpc .@panettiere_5$;
  965. disablenpc .@otto_5$;
  966. disablenpc .@philip_5$;
  967. disablenpc .@louis_5$;
  968. next;
  969. mes "[Heidrich]";
  970. mes "Come on, come on! Let's have a fight, shall we?";
  971. next;
  972. mes "[" + .@player_name$ + "]";
  973. mes "My pleasure.";
  974. if ('step != 4)
  975. mes "Currently summoning the BOSS.";
  976. else {
  977. 'step = 5;
  978. disablenpc .@heidrich_5$;
  979. donpcevent instance_npcname("Heidrich#cbocon01") + "::OnStart";
  980. }
  981. close;
  982. }
  983. 1@ffp,69,61,4 duplicate(dummy_disabled_npc) Otto#dclan05f 4_M_EINMAN
  984. 1@ffp,68,63,4 duplicate(dummy_npc) Panettiere#dclan05 4_M_SCIENCE
  985. 1@ffp,66,61,5 duplicate(dummy_npc) Philip#dclan05 4_M_LGTGUARD
  986. 1@ffp,66,59,7 duplicate(dummy_npc) Louis#dclan05 4_M_MASKMAN
  987. 1@ffp,65,64,5 duplicate(dummy_disabled_npc) Heidrich#dclan05 4_M_04
  988. // Step 6 - Boss
  989. 1@ffp,1,1,4 script Heidrich#cbocon01 HIDDEN_NPC,{
  990. end;
  991. OnStart:
  992. initnpctimer;
  993. end;
  994. OnTimer1000:
  995. .@event$ = instance_npcname("Heidrich#cbocon01") + "::OnMobDead";
  996. killmonster 'map_1ffp$, .@event$;
  997. monster 'map_1ffp$,63,59,"--en--","HEYDRICH",1, .@event$;
  998. mapannounce 'map_1ffp$, "Heidrich: I have no ill will towards you, but I have no choice but to take action!" , bc_map, 0x00ff00;
  999. stopnpctimer;
  1000. end;
  1001. OnMobDead:
  1002. if (mobcount('map_1ffp$, instance_npcname("Heidrich#cbocon01") + "::OnMobDead") < 1)
  1003. donpcevent instance_npcname("Heidrich#cbocon02") + "::OnStart";
  1004. end;
  1005. }
  1006. 1@ffp,1,2,4 script Heidrich#cbocon02 HIDDEN_NPC,{
  1007. end;
  1008. OnStart:
  1009. initnpctimer;
  1010. end;
  1011. OnTimer3000:
  1012. enablenpc instance_npcname("#clanpt01");
  1013. mapannounce 'map_1ffp$, "Heidrich: Woo! How could this happen? The exit has been opened for you. I admit defeat...", bc_map, 0x00ff00;
  1014. end;
  1015. OnTimer200000:
  1016. mapannounce 'map_1ffp$, "Base Guard: The base will be closing soon, please evacuate as soon as possible!" , bc_map, 0x00ff00;
  1017. end;
  1018. OnTimer300000:
  1019. stopnpctimer;
  1020. 'step = 0;
  1021. // Warp out
  1022. disablenpc instance_npcname("#clanpt01");
  1023. // Step 1
  1024. enablenpc instance_npcname("Panettiere#dclan01");
  1025. enablenpc instance_npcname("Otto#dclan01");
  1026. enablenpc instance_npcname("Philip#dclan01");
  1027. enablenpc instance_npcname("Louis#dclan01");
  1028. // Step 2
  1029. enablenpc instance_npcname("Panettiere#dclan02");
  1030. enablenpc instance_npcname("Otto#dclan02");
  1031. enablenpc instance_npcname("Philip#dclan02");
  1032. enablenpc instance_npcname("Louis#dclan02");
  1033. // Step 3
  1034. enablenpc instance_npcname("Panettiere#dclan03");
  1035. enablenpc instance_npcname("Otto#dclan03");
  1036. enablenpc instance_npcname("Philip#dclan03");
  1037. enablenpc instance_npcname("Louis#dclan03");
  1038. // Step 4
  1039. enablenpc instance_npcname("Panettiere#dclan04");
  1040. enablenpc instance_npcname("Otto#dclan04");
  1041. enablenpc instance_npcname("Philip#dclan04");
  1042. enablenpc instance_npcname("Louis#dclan04");
  1043. // Step 5
  1044. enablenpc instance_npcname("Panettiere#dclan05");
  1045. enablenpc instance_npcname("Otto#dclan05");
  1046. enablenpc instance_npcname("Philip#dclan05");
  1047. enablenpc instance_npcname("Louis#dclan05");
  1048. // Added wall
  1049. donpcevent instance_npcname("#clan1br01") + "::OnEnable";
  1050. donpcevent instance_npcname("#clan2br01") + "::OnEnable";
  1051. donpcevent instance_npcname("#clan3br01") + "::OnEnable";
  1052. donpcevent instance_npcname("#clan4br01") + "::OnEnable";
  1053. mapwarp 'map_1ffp$,"prontera",155,88;
  1054. end;
  1055. }
  1056. // Step 7 (final) - Warp out
  1057. 1@ffp,30,64,4 script(DISABLED) #clanpt01 WARPNPC,5,5,{
  1058. end;
  1059. OnTouch:
  1060. if (isbegin_quest(14312) == 1) {
  1061. erasequest 14312;
  1062. setquest 14313;
  1063. }
  1064. else if (isbegin_quest(14356) == 1) {
  1065. erasequest 14356;
  1066. setquest 14357;
  1067. }
  1068. else if (isbegin_quest(14414) == 1) {
  1069. erasequest 14414;
  1070. setquest 14415;
  1071. }
  1072. else if (isbegin_quest(14326) == 1) {
  1073. erasequest 14326;
  1074. setquest 14327;
  1075. }
  1076. warp "izlude",178,213;
  1077. end;
  1078. }
  1079. // Mechanics
  1080. 1@ffp,167,262,4 script Landmine#clan1jr01 4_CRACK,1,1,{
  1081. end;
  1082. OnTouch:
  1083. specialeffect EF_FIREPILLARBOMB;
  1084. percentheal -1,0;
  1085. end;
  1086. }
  1087. 1@ffp,167,256,4 duplicate(Landmine#clan1jr01) Landmine#clan1jr02 4_CRACK,1,1
  1088. 1@ffp,151,262,4 duplicate(Landmine#clan1jr01) Landmine#clan1jr03 4_CRACK,1,1
  1089. 1@ffp,155,255,4 duplicate(Landmine#clan1jr01) Landmine#clan1jr04 4_CRACK,1,1
  1090. 1@ffp,210,242,4 duplicate(Landmine#clan1jr01) Landmine#clan1jr05 4_CRACK,1,1
  1091. 1@ffp,207,237,4 duplicate(Landmine#clan1jr01) Landmine#clan1jr06 4_CRACK,1,1
  1092. 1@ffp,179,262,4 duplicate(Landmine#clan1jr01) Landmine#clan1jr07 4_CRACK,1,1
  1093. 1@ffp,60,224,4 duplicate(Landmine#clan1jr01) Landmine#clan2jr01 4_CRACK,1,1
  1094. 1@ffp,91,214,4 duplicate(Landmine#clan1jr01) Landmine#clan2jr02 4_CRACK,1,1
  1095. 1@ffp,81,208,4 duplicate(Landmine#clan1jr01) Landmine#clan2jr03 4_CRACK,1,1
  1096. 1@ffp,70,189,4 duplicate(Landmine#clan1jr01) Landmine#clan2jr04 4_CRACK,1,1
  1097. 1@ffp,65,180,4 duplicate(Landmine#clan1jr01) Landmine#clan2jr05 4_CRACK,1,1
  1098. 1@ffp,70,170,4 duplicate(Landmine#clan1jr01) Landmine#clan2jr06 4_CRACK,1,1
  1099. 1@ffp,47,157,4 duplicate(Landmine#clan1jr01) Landmine#clan2jr07 4_CRACK,1,1
  1100. 1@ffp,97,131,4 duplicate(Landmine#clan1jr01) Landmine#clan2jr08 4_CRACK,1,1
  1101. 1@ffp,95,133,4 duplicate(Landmine#clan1jr01) Landmine#clan2jr09 4_CRACK,1,1
  1102. 1@ffp,91,138,4 duplicate(Landmine#clan1jr01) Landmine#clan2jr10 4_CRACK,1,1
  1103. 1@ffp,89,144,4 duplicate(Landmine#clan1jr01) Landmine#clan2jr11 4_CRACK,1,1
  1104. 1@ffp,185,134,4 duplicate(Landmine#clan1jr01) Landmine#clan3jr01 4_CRACK,1,1
  1105. 1@ffp,189,136,4 duplicate(Landmine#clan1jr01) Landmine#clan3jr02 4_CRACK,1,1
  1106. 1@ffp,187,147,4 duplicate(Landmine#clan1jr01) Landmine#clan3jr03 4_CRACK,1,1
  1107. 1@ffp,183,144,4 duplicate(Landmine#clan1jr01) Landmine#clan3jr04 4_CRACK,1,1
  1108. 1@ffp,200,158,4 duplicate(Landmine#clan1jr01) Landmine#clan3jr05 4_CRACK,1,1
  1109. 1@ffp,209,150,4 duplicate(Landmine#clan1jr01) Landmine#clan3jr06 4_CRACK,1,1
  1110. 1@ffp,203,186,4 duplicate(Landmine#clan1jr01) Landmine#clan3jr07 4_CRACK,1,1
  1111. 1@ffp,216,184,4 duplicate(Landmine#clan1jr01) Landmine#clan3jr08 4_CRACK,1,1
  1112. 1@ffp,218,195,4 duplicate(Landmine#clan1jr01) Landmine#clan3jr09 4_CRACK,1,1
  1113. 1@ffp,213,157,4 duplicate(Landmine#clan1jr01) Landmine#clan3jr10 4_CRACK,1,1
  1114. 1@ffp,216,146,4 duplicate(Landmine#clan1jr01) Landmine#clan3jr11 4_CRACK,1,1
  1115. 1@ffp,247,145,4 duplicate(Landmine#clan1jr01) Landmine#clan3jr12 4_CRACK,1,1
  1116. 1@ffp,260,156,4 duplicate(Landmine#clan1jr01) Landmine#clan3jr13 4_CRACK,1,1
  1117. 1@ffp,259,160,4 duplicate(Landmine#clan1jr01) Landmine#clan3jr14 4_CRACK,1,1
  1118. 1@ffp,242,45,4 duplicate(Landmine#clan1jr01) Landmine#clan4jr01 4_CRACK,1,1
  1119. 1@ffp,232,39,4 duplicate(Landmine#clan1jr01) Landmine#clan4jr02 4_CRACK,1,1
  1120. 1@ffp,229,45,4 duplicate(Landmine#clan1jr01) Landmine#clan4jr03 4_CRACK,1,1
  1121. 1@ffp,228,33,4 duplicate(Landmine#clan1jr01) Landmine#clan4jr04 4_CRACK,1,1
  1122. 1@ffp,225,36,4 duplicate(Landmine#clan1jr01) Landmine#clan4jr05 4_CRACK,1,1
  1123. 1@ffp,212,44,4 duplicate(Landmine#clan1jr01) Landmine#clan4jr06 4_CRACK,1,1
  1124. 1@ffp,203,42,4 duplicate(Landmine#clan1jr01) Landmine#clan4jr07 4_CRACK,1,1
  1125. 1@ffp,154,53,4 duplicate(Landmine#clan1jr01) Landmine#clan4jr08 4_CRACK,1,1
  1126. 1@ffp,156,55,4 duplicate(Landmine#clan1jr01) Landmine#clan4jr09 4_CRACK,1,1
  1127. 1@ffp,159,69,4 duplicate(Landmine#clan1jr01) Landmine#clan4jr10 4_CRACK,1,1
  1128. 1@ffp,138,62,4 duplicate(Landmine#clan1jr01) Landmine#clan4jr11 4_CRACK,1,1
  1129. 1@ffp,127,64,4 duplicate(Landmine#clan1jr01) Landmine#clan4jr12 4_CRACK,1,1
  1130. 1@ffp,140,50,4 duplicate(Landmine#clan1jr01) Landmine#clan4jr13 4_CRACK,1,1
  1131. 1@ffp,131,41,4 duplicate(Landmine#clan1jr01) Landmine#clan4jr14 4_CRACK,1,1
  1132. 1@ffp,148,100,4 duplicate(Landmine#clan1jr01) Landmine#clan4jr15 4_CRACK,1,1
  1133. 1@ffp,149,96,4 duplicate(Landmine#clan1jr01) Landmine#clan4jr16 4_CRACK,1,1
  1134. 1@ffp,150,95,4 duplicate(Landmine#clan1jr01) Landmine#clan4jr17 4_CRACK,1,1
  1135. 1@ffp,155,251,4 script(DISABLED) Bomb#1bomb01 4_SOIL,5,5,{
  1136. mes "Do you want to defuse the bomb?";
  1137. next;
  1138. if (select( "Yes", "No" ) == 2) {
  1139. mes "There is still a bomb to defuse.";
  1140. close;
  1141. }
  1142. disablenpc();
  1143. killmonster 'map_1ffp$, instance_npcname( strnpcinfo(0) ) + "::OnMobDead";
  1144. mes "The bomb has been defused.";
  1145. next;
  1146. sscanf( strnpcinfo(2), "%dbomb0%d", .@round, .@npc_num );
  1147. .@var_name$ = sprintf( "'bomb0%d[%d]", .@npc_num, 'step );
  1148. setd( .@var_name$, 1 );
  1149. if ('bomb01['step] == 1 && 'bomb02['step] == 1 && 'bomb03['step] == 1) {
  1150. killmonster 'map_1ffp$, instance_npcname("clan_md_mob_spawn_" + 'step) + "::OnMobDead";
  1151. donpcevent instance_npcname("#clan" + 'step + "br01") + "::OnDisable"; // Remove wall
  1152. donpcevent instance_npcname("clan_bomb_round") + "::OnStop";
  1153. mes "All bombs have been defused.";
  1154. next;
  1155. mes "[" + strcharinfo(0) + "]";
  1156. mes "Great, keep chasing them!";
  1157. close;
  1158. }
  1159. mes "There is still a bomb to defuse.";
  1160. next;
  1161. mes "[" + strcharinfo(0) + "]";
  1162. mes "We need to quickly find and defuse the bomb before it explodes!";
  1163. close;
  1164. OnTouch_:
  1165. .@event$ = instance_npcname( strnpcinfo(0) ) + "::OnMobDead";
  1166. .@num = atoi( replacestr(strnpcinfo(2), "bomb0", "") );
  1167. switch( .@num ) {
  1168. case 11:
  1169. monster 'map_1ffp$,157,251,"--en--","G_DESERT_WOLF",1, .@event$;
  1170. monster 'map_1ffp$,155,253,"--en--","G_DESERT_WOLF",1, .@event$;
  1171. monster 'map_1ffp$,153,252,"--en--","G_DESERT_WOLF",1, .@event$;
  1172. break;
  1173. case 12:
  1174. monster 'map_1ffp$,137,271,"--en--","G_DESERT_WOLF",1, .@event$;
  1175. monster 'map_1ffp$,135,269,"--en--","G_DESERT_WOLF",1, .@event$;
  1176. monster 'map_1ffp$,137,269,"--en--","G_DESERT_WOLF",1, .@event$;
  1177. break;
  1178. case 13:
  1179. monster 'map_1ffp$,211,238,"--en--","G_DESERT_WOLF",1, .@event$;
  1180. monster 'map_1ffp$,209,237,"--en--","G_DESERT_WOLF",1, .@event$;
  1181. monster 'map_1ffp$,210,235,"--en--","G_DESERT_WOLF",1, .@event$;
  1182. break;
  1183. case 21:
  1184. monster 'map_1ffp$,59,231,"--en--","G_ARCHDAM",1, .@event$;
  1185. monster 'map_1ffp$,58,229,"--en--","G_ARCHDAM",1, .@event$;
  1186. monster 'map_1ffp$,60,224,"--en--","G_ARCHDAM",1, .@event$;
  1187. break;
  1188. case 22:
  1189. monster 'map_1ffp$,41,159,"--en--","G_ARCHDAM",1, .@event$;
  1190. monster 'map_1ffp$,43,157,"--en--","G_ARCHDAM",1, .@event$;
  1191. monster 'map_1ffp$,44,160,"--en--","G_ARCHDAM",1, .@event$;
  1192. break;
  1193. case 23:
  1194. monster 'map_1ffp$,95,129,"--en--","G_ARCHDAM",1, .@event$;
  1195. monster 'map_1ffp$,97,133,"--en--","G_ARCHDAM",1, .@event$;
  1196. monster 'map_1ffp$,95,123,"--en--","G_ARCHDAM",1, .@event$;
  1197. break;
  1198. case 31:
  1199. monster 'map_1ffp$,186,132,"--en--","G_WILD_RIDER",1, .@event$;
  1200. monster 'map_1ffp$,184,133,"--en--","G_WILD_RIDER",1, .@event$;
  1201. monster 'map_1ffp$,181,132,"--en--","G_WILD_RIDER",1, .@event$;
  1202. break;
  1203. case 32:
  1204. monster 'map_1ffp$,219,186,"--en--","G_WILD_RIDER",1, .@event$;
  1205. monster 'map_1ffp$,217,185,"--en--","G_WILD_RIDER",1, .@event$;
  1206. monster 'map_1ffp$,218,182,"--en--","G_WILD_RIDER",1, .@event$;
  1207. break;
  1208. case 33:
  1209. monster 'map_1ffp$,260,160,"--en--","G_WILD_RIDER",1, .@event$;
  1210. monster 'map_1ffp$,260,158,"--en--","G_WILD_RIDER",1, .@event$;
  1211. monster 'map_1ffp$,262,158,"--en--","G_WILD_RIDER",1, .@event$;
  1212. break;
  1213. case 41:
  1214. monster 'map_1ffp$,224,33,"--en--","G_ANCIENT_MUMMY",1, .@event$;
  1215. monster 'map_1ffp$,227,31,"--en--","G_ANCIENT_MUMMY",1, .@event$;
  1216. monster 'map_1ffp$,223,34,"--en--","G_ANCIENT_MUMMY",1, .@event$;
  1217. break;
  1218. case 42:
  1219. monster 'map_1ffp$,154,51,"--en--","G_ANCIENT_MUMMY",1, .@event$;
  1220. monster 'map_1ffp$,155,52,"--en--","G_ANCIENT_MUMMY",1, .@event$;
  1221. monster 'map_1ffp$,157,52,"--en--","G_ANCIENT_MUMMY",1, .@event$;
  1222. break;
  1223. case 43:
  1224. monster 'map_1ffp$,145,100,"--en--","G_ANCIENT_MUMMY",1, .@event$;
  1225. monster 'map_1ffp$,148,102,"--en--","G_ANCIENT_MUMMY",1, .@event$;
  1226. monster 'map_1ffp$,147,104,"--en--","G_ANCIENT_MUMMY",1, .@event$;
  1227. break;
  1228. }
  1229. end;
  1230. }
  1231. 1@ffp,137,271,4 duplicate(Bomb#1bomb01) Bomb#1bomb02 4_SOIL,5,5
  1232. 1@ffp,212,236,4 duplicate(Bomb#1bomb01) Bomb#1bomb03 4_SOIL,5,5
  1233. 1@ffp,57,231,4 duplicate(Bomb#1bomb01) Bomb#2bomb01 4_SOIL,5,5
  1234. 1@ffp,43,159,4 duplicate(Bomb#1bomb01) Bomb#2bomb02 4_SOIL,5,5
  1235. 1@ffp,95,125,4 duplicate(Bomb#1bomb01) Bomb#2bomb03 4_SOIL,5,5
  1236. 1@ffp,184,130,4 duplicate(Bomb#1bomb01) Bomb#3bomb01 4_SOIL,5,5
  1237. 1@ffp,219,184,4 duplicate(Bomb#1bomb01) Bomb#3bomb02 4_SOIL,5,5
  1238. 1@ffp,262,160,4 duplicate(Bomb#1bomb01) Bomb#3bomb03 4_SOIL,5,5
  1239. 1@ffp,225,31,4 duplicate(Bomb#1bomb01) Bomb#4bomb01 4_SOIL,5,5
  1240. 1@ffp,156,49,4 duplicate(Bomb#1bomb01) Bomb#4bomb02 4_SOIL,5,5
  1241. 1@ffp,144,102,4 duplicate(Bomb#1bomb01) Bomb#4bomb03 4_SOIL,5,5
  1242. 1@ffp,1,1,4 script clan_bomb_round -1,{
  1243. end;
  1244. OnStart:
  1245. 'bomb01['step] = 0;
  1246. 'bomb02['step] = 0;
  1247. 'bomb03['step] = 0;
  1248. enablenpc instance_npcname("Bomb#" + 'step + "bomb01");
  1249. enablenpc instance_npcname("Bomb#" + 'step + "bomb02");
  1250. enablenpc instance_npcname("Bomb#" + 'step + "bomb03");
  1251. initnpctimer;
  1252. end;
  1253. OnTimer550000:
  1254. mapannounce 'map_1ffp$, "A bomb is about to explode, defuse or take cover before it explodes!", bc_map, 0x00ff00;
  1255. end;
  1256. OnTimer595000:
  1257. enablenpc instance_npcname("Bomb#" + 'step + "bomb01"); // (custom) allow to display effect from specialeffect
  1258. enablenpc instance_npcname("Bomb#" + 'step + "bomb02");
  1259. enablenpc instance_npcname("Bomb#" + 'step + "bomb03");
  1260. specialeffect EF_NAPALMBEAT, AREA, instance_npcname("Bomb#" + 'step + "bomb01");
  1261. specialeffect EF_NAPALMBEAT, AREA, instance_npcname("Bomb#" + 'step + "bomb02");
  1262. specialeffect EF_NAPALMBEAT, AREA, instance_npcname("Bomb#" + 'step + "bomb03");
  1263. disablenpc instance_npcname("Bomb#" + 'step + "bomb01");
  1264. disablenpc instance_npcname("Bomb#" + 'step + "bomb02");
  1265. disablenpc instance_npcname("Bomb#" + 'step + "bomb03");
  1266. end;
  1267. OnTimer600000:
  1268. // Reset bomb npcs
  1269. disablenpc instance_npcname("Bomb#" + 'step + "bomb01");
  1270. disablenpc instance_npcname("Bomb#" + 'step + "bomb02");
  1271. disablenpc instance_npcname("Bomb#" + 'step + "bomb03");
  1272. killmonster 'map_1ffp$, instance_npcname("Bomb#" + 'step + "bomb01") + "::OnMobDead";
  1273. killmonster 'map_1ffp$, instance_npcname("Bomb#" + 'step + "bomb02") + "::OnMobDead";
  1274. killmonster 'map_1ffp$, instance_npcname("Bomb#" + 'step + "bomb03") + "::OnMobDead";
  1275. killmonster 'map_1ffp$, instance_npcname("clan_md_mob_spawn_1") + "::OnMobDead";
  1276. killmonster 'map_1ffp$, instance_npcname("clan_md_mob_spawn_2") + "::OnMobDead";
  1277. killmonster 'map_1ffp$, instance_npcname("clan_md_mob_spawn_3") + "::OnMobDead";
  1278. killmonster 'map_1ffp$, instance_npcname("clan_md_mob_spawn_4") + "::OnMobDead";
  1279. if ('step >= 4) { // Reset step 4
  1280. enablenpc instance_npcname("Panettiere#dclan04");
  1281. enablenpc instance_npcname("Otto#dclan04");
  1282. enablenpc instance_npcname("Philip#dclan04");
  1283. enablenpc instance_npcname("Louis#dclan04");
  1284. donpcevent instance_npcname("#clan4br01") + "::OnEnable";
  1285. }
  1286. if ('step >= 3) { // Reset step 3
  1287. enablenpc instance_npcname("Panettiere#dclan03");
  1288. enablenpc instance_npcname("Otto#dclan03");
  1289. enablenpc instance_npcname("Philip#dclan03");
  1290. enablenpc instance_npcname("Louis#dclan03");
  1291. donpcevent instance_npcname("#clan3br01") + "::OnEnable";
  1292. }
  1293. if ('step >= 2) { // Reset step 2
  1294. enablenpc instance_npcname("Panettiere#dclan02");
  1295. enablenpc instance_npcname("Otto#dclan02");
  1296. enablenpc instance_npcname("Philip#dclan02");
  1297. enablenpc instance_npcname("Louis#dclan02");
  1298. donpcevent instance_npcname("#clan2br01") + "::OnEnable";
  1299. }
  1300. if ('step >= 1) { // Reset step 1
  1301. enablenpc instance_npcname("Panettiere#dclan01");
  1302. enablenpc instance_npcname("Otto#dclan01");
  1303. enablenpc instance_npcname("Philip#dclan01");
  1304. enablenpc instance_npcname("Louis#dclan01");
  1305. donpcevent instance_npcname("#clan1br01") + "::OnEnable";
  1306. }
  1307. mapwarp 'map_1ffp$,"prontera",155,88;
  1308. stopnpctimer;
  1309. 'step = 0;
  1310. end;
  1311. OnStop:
  1312. 'bomb01['step] = 0;
  1313. 'bomb02['step] = 0;
  1314. 'bomb03['step] = 0;
  1315. stopnpctimer;
  1316. end;
  1317. OnMobDead:
  1318. end;
  1319. }
  1320. 1@ffp,112,270,4 script #clan1br01 2_MONEMUS,{
  1321. end;
  1322. OnEnable:
  1323. setcell 'map_1ffp$,112,270,112,262,cell_walkable,0;
  1324. cloakoffnpc();
  1325. for ( .@i = 2; .@i < 10; ++.@i )
  1326. cloakoffnpc instance_npcname("#clan1br0" + .@i);
  1327. end;
  1328. OnDisable:
  1329. setcell 'map_1ffp$,112,270,112,262,cell_walkable,1;
  1330. // disablenpc(); // changed to cloakonnpc to display effect properly on rAthena
  1331. cloakonnpc();
  1332. specialeffect EF_MAPPILLAR;
  1333. for ( .@i = 2; .@i < 10; ++.@i )
  1334. donpcevent instance_npcname("#clan1br0" + .@i) + "::OnDisable";
  1335. end;
  1336. }
  1337. 1@ffp,151,147,4 script #clan2br01 2_MONEMUS,{
  1338. end;
  1339. OnEnable:
  1340. setcell 'map_1ffp$,151,147,146,152,cell_walkable,0;
  1341. cloakoffnpc();
  1342. for ( .@i = 2; .@i < 7; ++.@i )
  1343. cloakoffnpc instance_npcname("#clan2br0" + .@i);
  1344. end;
  1345. OnDisable:
  1346. setcell 'map_1ffp$,151,147,146,152,cell_walkable,1;
  1347. // disablenpc();
  1348. cloakonnpc();
  1349. specialeffect EF_MAPPILLAR;
  1350. for ( .@i = 2; .@i < 7; ++.@i )
  1351. donpcevent instance_npcname("#clan2br0" + .@i) + "::OnDisable";
  1352. end;
  1353. }
  1354. 1@ffp,256,76,4 script #clan3br01 2_MONEMUS,{
  1355. end;
  1356. OnEnable:
  1357. setcell 'map_1ffp$,256,76,248,76,cell_walkable,0;
  1358. cloakoffnpc();
  1359. for ( .@i = 2; .@i < 10; ++.@i )
  1360. cloakoffnpc instance_npcname("#clan3br0" + .@i);
  1361. end;
  1362. OnDisable:
  1363. setcell 'map_1ffp$,256,76,248,76,cell_walkable,1;
  1364. // disablenpc();
  1365. cloakonnpc();
  1366. specialeffect EF_MAPPILLAR;
  1367. for ( .@i = 2; .@i < 10; ++.@i )
  1368. donpcevent instance_npcname("#clan3br0" + .@i) + "::OnDisable";
  1369. end;
  1370. }
  1371. 1@ffp,99,63,4 script #clan4br01 2_MONEMUS,{
  1372. end;
  1373. OnEnable:
  1374. setcell 'map_1ffp$,99,56,99,64,cell_walkable,0;
  1375. cloakoffnpc();
  1376. for ( .@i = 2; .@i < 9; ++.@i )
  1377. cloakoffnpc instance_npcname("#clan4br0" + .@i);
  1378. end;
  1379. OnDisable:
  1380. setcell 'map_1ffp$,99,56,99,64,cell_walkable,1;
  1381. // disablenpc();
  1382. cloakonnpc();
  1383. specialeffect EF_MAPPILLAR;
  1384. for ( .@i = 2; .@i < 9; ++.@i )
  1385. donpcevent instance_npcname("#clan4br0" + .@i) + "::OnDisable";
  1386. end;
  1387. }
  1388. 1@ffp,112,269,4 script #clan1br02 2_MONEMUS,{
  1389. end;
  1390. OnDisable:
  1391. // disablenpc();
  1392. cloakonnpc();
  1393. specialeffect EF_MAPPILLAR;
  1394. end;
  1395. }
  1396. 1@ffp,112,268,4 duplicate(#clan1br02) #clan1br03 2_MONEMUS
  1397. 1@ffp,112,267,4 duplicate(#clan1br02) #clan1br04 2_MONEMUS
  1398. 1@ffp,112,266,4 duplicate(#clan1br02) #clan1br05 2_MONEMUS
  1399. 1@ffp,112,265,4 duplicate(#clan1br02) #clan1br06 2_MONEMUS
  1400. 1@ffp,112,264,4 duplicate(#clan1br02) #clan1br07 2_MONEMUS
  1401. 1@ffp,112,263,4 duplicate(#clan1br02) #clan1br08 2_MONEMUS
  1402. 1@ffp,112,262,4 duplicate(#clan1br02) #clan1br09 2_MONEMUS
  1403. 1@ffp,150,148,4 duplicate(#clan1br02) #clan2br02 2_MONEMUS
  1404. 1@ffp,149,149,4 duplicate(#clan1br02) #clan2br03 2_MONEMUS
  1405. 1@ffp,148,150,4 duplicate(#clan1br02) #clan2br04 2_MONEMUS
  1406. 1@ffp,147,151,4 duplicate(#clan1br02) #clan2br05 2_MONEMUS
  1407. 1@ffp,146,152,4 duplicate(#clan1br02) #clan2br06 2_MONEMUS
  1408. 1@ffp,255,76,4 duplicate(#clan1br02) #clan3br02 2_MONEMUS
  1409. 1@ffp,254,76,4 duplicate(#clan1br02) #clan3br03 2_MONEMUS
  1410. 1@ffp,253,76,4 duplicate(#clan1br02) #clan3br04 2_MONEMUS
  1411. 1@ffp,252,76,4 duplicate(#clan1br02) #clan3br05 2_MONEMUS
  1412. 1@ffp,251,76,4 duplicate(#clan1br02) #clan3br06 2_MONEMUS
  1413. 1@ffp,250,76,4 duplicate(#clan1br02) #clan3br07 2_MONEMUS
  1414. 1@ffp,249,76,4 duplicate(#clan1br02) #clan3br08 2_MONEMUS
  1415. 1@ffp,248,76,4 duplicate(#clan1br02) #clan3br09 2_MONEMUS
  1416. 1@ffp,99,62,4 duplicate(#clan1br02) #clan4br02 2_MONEMUS
  1417. 1@ffp,99,61,4 duplicate(#clan1br02) #clan4br03 2_MONEMUS
  1418. 1@ffp,99,60,4 duplicate(#clan1br02) #clan4br04 2_MONEMUS
  1419. 1@ffp,99,59,4 duplicate(#clan1br02) #clan4br05 2_MONEMUS
  1420. 1@ffp,99,58,4 duplicate(#clan1br02) #clan4br06 2_MONEMUS
  1421. 1@ffp,99,57,4 duplicate(#clan1br02) #clan4br07 2_MONEMUS
  1422. 1@ffp,99,56,4 duplicate(#clan1br02) #clan4br08 2_MONEMUS
  1423. 1@ffp,1,1,4 script clan_md_mob_spawn_1 -1,{
  1424. end;
  1425. OnStart:
  1426. initnpctimer;
  1427. end;
  1428. OnTimer1000:
  1429. stopnpctimer;
  1430. killmonster 'map_1ffp$, instance_npcname("clan_md_mob_spawn_1") + "::OnMobDead";
  1431. callsub( S_Spawn, "GALION", 218,240, 251,255 );
  1432. callsub( S_Spawn, "HILL_WIND_1", 218,240, 251,255 );
  1433. callsub( S_Spawn, "ANOPHELES", 179,203, 256,264 );
  1434. callsub( S_Spawn, "HILL_WIND_1", 179,203, 256,264 );
  1435. callsub( S_Spawn, "CRAMP", 179,203, 256,264 );
  1436. callsub( S_Spawn, "CRAMP", 136,160, 256,269 );
  1437. callsub( S_Spawn, "ARCLOUSE", 136,160, 256,269 );
  1438. end;
  1439. S_Spawn:
  1440. .@event$ = instance_npcname("clan_md_mob_spawn_1") + "::OnMobDead";
  1441. for ( .@i = 0; .@i < 4; ++.@i ) {
  1442. .@x = rand( getarg(1), getarg(2) );
  1443. .@y = rand( getarg(3), getarg(4) );
  1444. monster 'map_1ffp$,.@x,.@y,"--en--", getarg(0),1, .@event$;
  1445. }
  1446. return;
  1447. OnMobDead:
  1448. end;
  1449. }
  1450. 1@ffp,1,1,4 script clan_md_mob_spawn_2 -1,{
  1451. end;
  1452. OnStart:
  1453. initnpctimer;
  1454. end;
  1455. OnTimer1000:
  1456. stopnpctimer;
  1457. killmonster 'map_1ffp$, instance_npcname("clan_md_mob_spawn_2") + "::OnMobDead";
  1458. callsub( S_Spawn, "WASTE_STOVE", 95,110, 208,218 );
  1459. callsub( S_Spawn, "VENATU_1", 51,77, 145,160 );
  1460. callsub( S_Spawn, "DIMIK_1", 51,77, 145,160 );
  1461. callsub( S_Spawn, "OBSIDIAN", 51,77, 145,160 );
  1462. callsub( S_Spawn, "OBSIDIAN", 98,116, 144,156 );
  1463. callsub( S_Spawn, "CONSTANT", 98,116, 144,156 );
  1464. callsub( S_Spawn, "VENATU_1", 64,71, 169,199 );
  1465. callsub( S_Spawn, "DIMIK_1", 64,71, 169,199 );
  1466. end;
  1467. S_Spawn:
  1468. .@event$ = instance_npcname("clan_md_mob_spawn_2") + "::OnMobDead";
  1469. for ( .@i = 0; .@i < 4; ++.@i ) {
  1470. .@x = rand( getarg(1), getarg(2) );
  1471. .@y = rand( getarg(3), getarg(4) );
  1472. monster 'map_1ffp$,.@x,.@y,"--en--", getarg(0),1, .@event$;
  1473. }
  1474. return;
  1475. OnMobDead:
  1476. end;
  1477. }
  1478. 1@ffp,1,1,4 script clan_md_mob_spawn_3 -1,{
  1479. end;
  1480. OnStart:
  1481. initnpctimer;
  1482. end;
  1483. OnTimer1000:
  1484. stopnpctimer;
  1485. killmonster 'map_1ffp$, instance_npcname("clan_md_mob_spawn_3") + "::OnMobDead";
  1486. callsub( S_Spawn, "ELDER", 173,217, 147,160 );
  1487. callsub( S_Spawn, "KOBOLD_3", 173,217, 147,160 );
  1488. callsub( S_Spawn, "KOBOLD_1", 248,261, 102,115 );
  1489. callsub( S_Spawn, "KOBOLD_2", 248,261, 102,115 );
  1490. callsub( S_Spawn, "KOBOLD_3", 248,261, 102,115 );
  1491. callsub( S_Spawn, "KOBOLD_1", 244,259, 87,97 );
  1492. callsub( S_Spawn, "KOBOLD_ARCHER", 244,259, 87,97 );
  1493. callsub( S_Spawn, "KOBOLD_2", 208,218, 183,198 );
  1494. callsub( S_Spawn, "KOBOLD_3", 208,218, 183,198 );
  1495. end;
  1496. S_Spawn:
  1497. .@event$ = instance_npcname("clan_md_mob_spawn_3") + "::OnMobDead";
  1498. for ( .@i = 0; .@i < 4; ++.@i ) {
  1499. .@x = rand( getarg(1), getarg(2) );
  1500. .@y = rand( getarg(3), getarg(4) );
  1501. monster 'map_1ffp$,.@x,.@y,"--en--", getarg(0),1, .@event$;
  1502. }
  1503. return;
  1504. OnMobDead:
  1505. end;
  1506. }
  1507. 1@ffp,1,1,4 script clan_md_mob_spawn_4 -1,{
  1508. end;
  1509. OnStart:
  1510. initnpctimer;
  1511. end;
  1512. OnTimer1000:
  1513. stopnpctimer;
  1514. killmonster 'map_1ffp$, instance_npcname("clan_md_mob_spawn_4") + "::OnMobDead";
  1515. callsub( S_Spawn, "QUVE", 232,246, 43,49 );
  1516. callsub( S_Spawn, "BLAZZER", 232,246, 43,49 );
  1517. callsub( S_Spawn, "BLAZZER", 142,170, 66,74 );
  1518. callsub( S_Spawn, "HYLOZOIST", 142,170, 66,74 );
  1519. callsub( S_Spawn, "DULLAHAN", 142,170, 66,74 );
  1520. callsub( S_Spawn, "DULLAHAN", 108,129, 57,85 );
  1521. callsub( S_Spawn, "RAYDRIC", 108,129, 57,85 );
  1522. callsub( S_Spawn, "BLAZZER", 181,199, 37,59 );
  1523. callsub( S_Spawn, "HYLOZOIST", 181,199, 37,59 );
  1524. end;
  1525. S_Spawn:
  1526. .@event$ = instance_npcname("clan_md_mob_spawn_4") + "::OnMobDead";
  1527. for ( .@i = 0; .@i < 4; ++.@i ) {
  1528. .@x = rand( getarg(1), getarg(2) );
  1529. .@y = rand( getarg(3), getarg(4) );
  1530. monster 'map_1ffp$,.@x,.@y,"--en--", getarg(0),1, .@event$;
  1531. }
  1532. return;
  1533. OnMobDead:
  1534. end;
  1535. }