viewing paste Unknown #6501 | Plain text

Posted on the
  1. //===== eAthena Script ======================================= 
  2. //= Endless Tower
  3. //===== By: ================================================== 
  4. //= L0ne_W0lf
  5. //===== Current Version: ===================================== 
  6. //= 1.7
  7. //===== Compatible With: ===================================== 
  8. //= eAthena SVN
  9. //===== Description: ========================================= 
  10. //= [Aegis Conversion]
  11. //= Endless Tower Memorial Dungeon
  12. //= Consists of 101 floors.
  13. //===== Additional Comments: ================================= 
  14. //= 1.0 First version.
  15. //= 1.1 Removed a disablenpc from #102FShadowDust1. (bugreport:4415)
  16. //= 1.2 Added ends to several NPCs which would allow you to restart timers.
  17. //=     Added some missing stopnpctimers to npcs. (bugreport:4418)
  18. //= 1.3 Fixed a couple copy/paste errors :D I fail. [L0ne_W0lf]
  19. //      Timer no longer resets when re-entering.
  20. //= 1.4 Added quest log entries based on iRO. [L0ne_W0lf]
  21. //=     You may need to update your questid2display.
  22. //=     Changed White lady spawn to MVP White Lady. (bugreport:4601)
  23. //= 1.5 Corrected some grammar and typos.
  24. //= 1.6 Corrected the tower re-entry blocked condition. (bugreport:4677) [L0ne_W0lf]
  25. //=     Corrected floor 75 warp disabling the wrong NPC. (bugreport:4711)
  26. //= 1.7 Added missing end's to prevent accidental disabling of
  27. //=     warps between floors. (bugreport:4623)
  28. //=     Added missing end's to prevent infinite mobspawn (bugreport:4540)
  29. //=     Commented out remaining GM-only NPCs. [Gepard]
  30. //============================================================
  31.  
  32. e_tower,78,112,3	script	Captain Janssen	67,{
  33.  
  34. set etower_timer,0;
  35. erasequest 60200;
  36. erasequest 60201;
  37. set party_instance_id,0;
  38.  
  39. OnInit:
  40. 	waitingroom "Remove ET CD ",0;
  41. 	end;
  42. 		}
  43.  
  44.  
  45. alberta,214,77,6	script	Captain Janssen	709,{
  46. 	if (checkweight(1201,1) == 0) {
  47. 		mes "^008800Wait here!!";
  48. 		mes "You're carrying too much stuff. Why don't you put some of it away, and then come back.^000000";
  49. 		close;
  50. 	}
  51. 	set .@name_102$,strcharinfo(0);
  52. 	if (BaseLevel < 50) {
  53. 		mes "[Captain Janssen]";
  54. 		mes "Sigh... I don't know if I can ever go back to sailing the sea...";
  55. 		close;
  56. 	}
  57. 	if (in_102tower == 1) {
  58. 		mes "^0000ffLooking incredibly excited, the old man ran into the marine shop hurriedly ordering goods. You don't have anything better to do, so you decide to ask him why he is in such a rush.^000000";
  59. 		next;
  60. 		mes "^0000ffThe old man, after finishing his orders, walks towards you.^000000";
  61. 		next;
  62. 		mes "[Captain Janssen]";
  63. 		mes "I was touched when you accepted a request from me, a stranger, so easily. You must truly be one of those good, heroic adventurers. Are you interested in setting out on an ocean voyage?";
  64. 		next;
  65. 		mes "["+.@name_102$+"]";
  66. 		mes "I've sailed a few times... But now that I think about it, I've never gone across the continent.";
  67. 		next;
  68. 		mes "[Captain Janssen]";
  69. 		mes "No, that's good enough. I may just have one small fishing vessel, but I used to be a captain that commanded a fleet.";
  70. 		next;
  71. 		mes "[Captain Janssen]";
  72. 		mes "As you may know after a few sea voyages, not many people have gone across the ocean beyond the continent. I too have failed to conquer the ocean.";
  73. 		next;
  74. 		mes "^0000ffMr. Janssen talked about his perilous ocean journeys for quite a while. You have enough time on your hands, so you sit down, quietly listening to his story.^000000";
  75. 		next;
  76. 		mes "^0000ffAt least half of his story sounded grossly exaggerated, but something caught your ear: he insists that a humongous tower exists on the ocean, and that it's so tall, it scrapes across the sky.^000000";
  77. 		set in_102tower,2;
  78. 		close;
  79. 	}
  80. 	else if (in_102tower == 2) {
  81. 		mes "[Captain Janssen]";
  82. 		mes "So all I could do was cast anchor at that humongous tower after my fleet was wrecked. At first, we were only going to stay there until the rainstorm was over, but it didn't end as soon as we had hoped.";
  83. 		next;
  84. 		mes "[Captain Janssen]";
  85. 		mes "My crew was starving, and a few of them walked into the tower in order to find food... They never came back.";
  86. 		next;
  87. 		mes "["+.@name_102$+"]";
  88. 		mes "Why didn't you go in there with them?";
  89. 		next;
  90. 		mes "[Captain Janssen]";
  91. 		mes "My instincts told me that tower was dangerous. I was curious, but I wasn't going to risk my life. We waited for them to come back for 7 days until the rainstorm was finally over, but no one returned.";
  92. 		next;
  93. 		mes "[Captain Janssen]";
  94. 		mes "In our desperation to survive, we abandoned all our goods, and left the tower only with a little bit of the water and edible plants we'd found around the tower. When we finally reached land, I was the only one alive...";
  95. 		next;
  96. 		mes "^0000ffYou could imagine the heartwretching scene of the dying fleet on their last voyage, even if he didn't explain it any further. A look of somber regret swept over his face as he remained silent a while, and then he said:^000000";
  97. 		next;
  98. 		mes "[Captain Janssen]";
  99. 		mes "I have something I must do before I die. I must retrieve the remains of my crew that died in the tower, and give them a proper burial.";
  100. 		next;
  101. 		mes "[Captain Janssen]";
  102. 		mes "I feel so lucky to meet a warm-hearted adventurer like you. With the money you've given me, I can finally go sailing to the tower again.";
  103. 		next;
  104. 		mes "["+.@name_102$+"]";
  105. 		mes "How about hiring me as your first mate?";
  106. 		next;
  107. 		mes "[Captain Janssen]";
  108. 		mes "Thank you, but it is an extremely dangerous place. I have my duty to fulfill, but you don't have any obligation to me or them. I don't wish to sacrifice someone as young as you to such a dangerous place.";
  109. 		next;
  110. 		mes "["+.@name_102$+"]";
  111. 		mes "No...";
  112. 		mes ".";
  113. 		mes ".";
  114. 		mes "As an adventurer, there's my obligation to those in need. I'm also very curious about that place...";
  115. 		next;
  116. 		mes "[Captain Janssen]";
  117. 		mes "I was going to leave right away, but since you've joined me, I should give you time to prepare. I'll be waiting here until you're ready to go.";
  118. 		next;
  119. 		mes "[Captain Janssen]";
  120. 		mes "...Okay then...";
  121. 		mes "Welcome aboard, first mate.";
  122. 		set in_102tower,3;
  123. 		close;
  124. 	}
  125. 	else if (in_102tower == 3) {
  126. 		mes "[Captain Janssen]";
  127. 		mes "Shall we leave now?";
  128. 		next;
  129. 		switch(select("Yes, let's go!:No, I'm not quite ready...")) {
  130. 		case 1:
  131. 			mes "[Captain Janssen]";
  132. 			mes "Then pull up the anchor, first mate!";
  133. 			close2;
  134. 			set in_102tower,4;
  135. 			warp "e_tower",70,114;
  136. 			end;
  137. 		case 2:
  138. 			mes "[Captain Janssen]";
  139. 			mes "Sure, no problem. Come back when you're ready.";
  140. 			close;
  141. 		}
  142. 	}
  143. 	else if (in_102tower > 3) {
  144. 		mes "[Captain Janssen]";
  145. 		mes "Well, to travel the ocean again, we need to restock on goods. If you give me 10,000 Zeny, I'll take care of the rest.";
  146. 		next;
  147. 		switch(select("I'll come back later.:Let's go, now!")) {
  148. 		case 1:
  149. 			mes "["+.@name_102$+"]";
  150. 			mes "I'm sorry, but I don't have that much money. I'll come back when I save enough.";
  151. 			next;
  152. 			mes "[Captain Janssen]";
  153. 			mes "Sure, no problem. I'll be waiting for your return.";
  154. 			close;
  155. 		case 2:
  156. 			if (zeny < 10000) {
  157. 				mes "[Captain Janssen]";
  158. 				mes "I'm sorry, but you don't have enough money. I need at least 10,000 Zeny to restock our supplies...";
  159. 				close;
  160. 			}
  161. 			else {
  162. 				mes "[Captain Janssen]";
  163. 				mes "Excellent! Now we're good to go. Let's pull up the anchor again!";
  164. 				set zeny,zeny-10000;
  165. 				close2;
  166. 				warp "e_tower",70,114;
  167. 				end;
  168. 			}
  169. 		}
  170. 	}
  171. 	else {
  172. 		mes "[Captain Janssen]";
  173. 		mes "Excuse me, are you an adventurer?";
  174. 		next;
  175. 		mes "[Captain Janssen]";
  176. 		mes "I'm sorry to ask you this, especially when this is the first time we've ever met, but can you do me a favor? I'll make it short.";
  177. 		next;
  178. 		mes "[Captain Janssen]";
  179. 		mes "Can you donate ^0000ff10,000 Zeny^000000 to me? It's for a cause that's important to me...";
  180. 		next;
  181. 		switch(select("No!:Sure thing.")) {
  182. 		case 1:
  183. 			mes "["+.@name_102$+"]";
  184. 			mes "I'm sorry, but you've got the wrong person to ask that.";
  185. 			next;
  186. 			mes "[Captain Janssen]";
  187. 			mes "I see... Sorry to bother you. I understand it was too rude to ask something like that to begin with.";
  188. 			close;
  189. 		case 2:
  190. 			mes "[Captain Janssen]";
  191. 			mes "Huh? Are you sure that you don't mind giving me that much money? Wow, thank you so much!";
  192. 			next;
  193. 			if (zeny < 10000) {
  194. 				mes "[Captain Janssen]";
  195. 				mes "...I'm sorry, but I don't think you have 10,000 Zeny. Thank you for your kindness, but I need more than that.";
  196. 				close;
  197. 			}
  198. 			else {
  199. 				mes "["+.@name_102$+"]";
  200. 				mes "I don't know why you'd need so much money, but here. You can take it.";
  201. 				next;
  202. 				mes "^0000ffYou have donated 10,000 Zeny to Captain Janssen^000000.";
  203. 				next;
  204. 				mes "[Captain Janssen]";
  205. 				mes "Thank you so much! Now I can stock up on food and materials for my ship. You're kind, very kind!";
  206. 				set zeny,zeny-10000;
  207. 				set in_102tower,1;
  208. 				close;
  209. 			}
  210. 		}
  211. 	}
  212. }
  213.  
  214. e_tower,81,105,0	script	Tower Protection Stone	406,{
  215.  
  216. 	set .@party_id,getcharid(1);
  217. 	set .@ins_mas,getpartyleader(.@party_id,2);
  218. 	set .@p_name$,getpartyname(.@party_id);
  219. 	set .@p_reader$,strcharinfo(0);
  220. 	set .@md_name$,"Endless Tower";
  221. 	set .@p_name2$,strcharinfo(0);
  222.  
  223. 	getpartymember(.@party_id);
  224. 	set .@partymembercount,$@partymembercount;
  225. 	copyarray .@partymembername$[0],$@partymembername$[0],.@partymembercount;
  226.  
  227. 	set .@etower_timer,checkquest(60200,PLAYTIME); // 1 week
  228. 	set .@etower_timer2,checkquest(60201,PLAYTIME); // 4 hours
  229.  
  230. 	set .@dun_lim_time,etower_timer+0; // 1 week
  231. 	set .@dun_lim_time2,etower_timer+14400; // 4 hours
  232. 	set .@dun_cur_time,gettimetick(2);
  233. 	set .@dun_ent_t,(.@dun_lim_time - .@dun_cur_time);
  234. 	set .@dun_h,(.@dun_ent_t / 3600);
  235. 	set .@dun_m,(.@dun_ent_t - (.@dun_h * 3600)) / 60;
  236. 	set .@dun_s,.@dun_ent_t - ((.@dun_h * 3600) + (.@dun_m * 60));
  237.  
  238. 	if ((.@party_id > 0) && (.@partymembercount > 1)) {
  239. 		if (.@etower_timer == -1) {
  240. 			if (.@ins_mas == getcharid(0)) {
  241. 				mes "Confirmed the party has been made. Would you like to reserve entrance to the Endless Tower?";
  242. 				next;
  243. 				switch(select(.@md_name$ + " Dungeon Generated:Enter the dungeon:Return to Alberta:Cancel")) {
  244. 				case 1:
  245. 					set .@instance, instance_create(.@md_name$, .@party_id);
  246. 					if (.@instance < 0) {
  247. 						mes "Party Name:"+.@p_name$+"";
  248. 						mes "Party Leader:"+.@p_reader$+"";
  249. 						mes "^0000ff"+.@md_name$+" ^000000- Reservation Failed!";
  250. 					}
  251. 					else {
  252. 						mes "^0000ff"+.@md_name$+"^000000 - Try to reserve";
  253. 						mes "After making a reservation, you have to talk to NPC behind and select the menu 'Enter the Dungeon' to enter the dungeon.";
  254. 						for( set .@i, 1; .@i <= 6; set .@i, .@i + 1 ) {
  255. 							if( instance_attachmap(.@i + "@tower", .@instance) == "" )
  256. 								break;
  257. 						}
  258. 						if( .@i < 6 ) {
  259. 							mes "^0000ff"+.@md_name$+" ^000000- Reservation Failed!";
  260. 							instance_destroy(.@instance);
  261. 							close;
  262. 						}
  263. 						instance_attach(.@instance);
  264. 						instance_set_timeout 14400,300,.@instance;
  265. 						instance_init(.@instance);
  266. 						// Spawn the first floor of each map, which will then spawn the rest when cleared.
  267. 						donpcevent instance_npcname("#1F Controller", instance_id())+"::OnInstanceInit";
  268. 						donpcevent instance_npcname("Immortal Furnace#1", instance_id())+"::OnInstanceInit";
  269. 						donpcevent instance_npcname("Immortal Furnace#2", instance_id())+"::OnInstanceInit";
  270. 						donpcevent instance_npcname("Immortal Furnace#3", instance_id())+"::OnInstanceInit";
  271. 						// Disable the warps on all floor. (enable as floors are cleared)
  272. 						for( set .@i, 1; .@i <= 99; set .@i, .@i + 1 )
  273. 							donpcevent instance_npcname(.@i+"FGate102tower", instance_id())+"::OnInstanceInit";
  274. 						// Warps activate on timer, so players can't get unlimited Ashes.
  275. 						donpcevent instance_npcname("25FGate102tower-2", instance_id())+"::OnInstanceInit";
  276. 						donpcevent instance_npcname("50FGate102tower-2", instance_id())+"::OnInstanceInit";
  277. 						donpcevent instance_npcname("75FGate102tower-2", instance_id())+"::OnInstanceInit";
  278. 						donpcevent instance_npcname("99FGate102tower-2", instance_id())+"::OnInstanceInit";
  279. 						// Disable and ready NPCs for the 100th and 101st floors.
  280. 						donpcevent instance_npcname("Lucid Crystal#102", instance_id())+"::OnInstanceInit";
  281. 						donpcevent instance_npcname("#102Effect1", instance_id())+"::OnInstanceInit";
  282. 						donpcevent instance_npcname("#102Effect2", instance_id())+"::OnInstanceInit";
  283. 						donpcevent instance_npcname("#102FShadowDust1", instance_id())+"::OnInstanceInit";
  284. 						donpcevent instance_npcname("#102FShadowDust", instance_id())+"::OnInstanceInit";
  285. 						donpcevent instance_npcname("Spring of Life#1", instance_id())+"::OnInstanceInit";
  286. 						donpcevent instance_npcname("Tyrant's Throne#", instance_id())+"::OnInstanceInit";
  287. 						donpcevent instance_npcname("Lost Soul#102", instance_id())+"::OnInstanceInit";
  288. 						donpcevent instance_npcname("#Effect30", instance_id())+"::OnInstanceInit";
  289. 						donpcevent instance_npcname("#Effect31", instance_id())+"::OnInstanceInit";
  290. 					}
  291. 					break;
  292. 				case 2:
  293. 					if (has_instance("1@tower") == "") {
  294. 						mes "The memorial dungeon " + .@md_name$ + " does not exist.";
  295. 						mes "The party leader did not generate the dungeon yet.";
  296. 					}
  297. 					else if ((has_instance("1@tower") != "") && (.@partymembercount < 2))
  298. 						mes "You can enter the dungeon after making a party.";
  299. 					else {
  300. 						announce "e_tower", .@p_name2$ + " of the party, " + .@p_name$ + ", is entering the dungeon, " + .@md_name$ + ".",bc_all,"0x00ff99",FW_NORMAL,12;
  301. 						set etower_timer,gettimetick(2);
  302. 						setquest 60200;
  303. 						setquest 60201;
  304. 						warp "1@tower",52,354;
  305. 						end;
  306. 					}
  307. 					break;
  308. 				case 3:
  309. 					mes "I will move you to Alberta.";
  310. 					close2;
  311. 					warp "alberta",223,36;
  312. 					end;
  313. 				case 4:
  314. 					break;
  315. 				}
  316. 				close;
  317. 			}
  318. 			else {
  319. 				switch(select(.@md_name$ + "Enter the dungeon:Return to Alberta:Cancel")) {
  320. 				case 1:
  321. 					if (has_instance("1@tower") == "") {
  322. 						mes "The memorial dungeon " + .@md_name$ + " does not exist.";
  323. 						mes "The party leader did not generate the dungeon yet.";
  324. 					}
  325. 					else if ((has_instance("1@tower") != "") && (.@partymembercount < 2))
  326. 						mes "You can enter the dungeon after making a party.";
  327. 					else {
  328. 						mapannounce "e_tower", .@p_name2$ + " of the party, " + .@p_name$ + ", is entering the dungeon, " + .@md_name$ + ".",bc_map,"0x00ff99",FW_NORMAL,12;
  329. 						set etower_timer,gettimetick(2);
  330. 						setquest 60200;
  331. 						setquest 60201;
  332. 						warp "1@tower",52,354;
  333. 						end;
  334. 					}
  335. 					break;
  336. 				case 2:
  337. 					mes "I will move you to Alberta.";
  338. 					close2;
  339. 					warp "alberta",223,36;
  340. 					end;
  341. 				case 3:
  342. 					break;
  343. 				}
  344. 				close;
  345. 			}
  346. 		}
  347. 		else if ((.@etower_timer >= 0) && (.@etower_timer2 < 2)) {
  348. 			mes "If you have the dungeon generated already, you can enter it. ";
  349. 			next;
  350. 			switch(select(.@md_name$ + "Enter the dungeon:Return to Alberta:Cancel")) {
  351. 			case 1:
  352. 				if (has_instance("1@tower") == "") {
  353. 					mes "The memorial dungeon " + .@md_name$ + " does not exist.";
  354. 					mes "The party leader did not generate the dungeon yet.";
  355. 				}
  356. 				else if ((has_instance("1@tower") != "") && (.@partymembercount < 2))
  357. 					mes "You can enter the dungeon after making a party.";
  358. 				else {
  359. 					mapannounce "e_tower", .@p_name2$ + " of the party, " + .@p_name$ + ", is entering the dungeon, " + .@md_name$ + ".",bc_map,"0x00ff99",FW_NORMAL,12;
  360. 					warp "1@tower",52,354;
  361. 					end;
  362. 				}
  363. 				break;
  364. 			case 2:
  365. 				mes "I will move you to Alberta.";
  366. 				close2;
  367. 				warp "alberta",223,36;
  368. 				end;
  369. 			case 3:
  370. 				break;
  371. 			}
  372. 			close;
  373. 		}
  374. 		else if ((.@etower_timer >= 0) && (.@etower_timer < 2) && (.@etower_timer2 == 2)) {
  375. 			mes "Due to the tower's aftereffects, you cannot enter the dungeon right now, " + .@dun_h + "hours " + .@dun_m + "minutes " + .@dun_s + "seconds left to enter the next dungeon.";
  376. 			next;
  377. 			mes "It is dangerous here. Let me move you to Alberta.";
  378. 			close2;
  379. 			warp "alberta",223,36;
  380. 			end;
  381. 		}
  382. 		else {
  383. 			set etower_timer,0;
  384. 			erasequest 60200;
  385. 			erasequest 60201;
  386. 			mes "^0000ffThe records and after effects related to the Endless Tower have been removed. You can generate and enter the Endless Tower again.^000000";
  387. 			close;
  388. 		}
  389. 	}
  390. 	else {
  391. 		mes "Make or join a party with more than 1 member and try again.";
  392. 		close;
  393. 	}
  394. }
  395.  
  396. e_tower,30,30,2	script	Huge Vortex	844,2,2,{
  397. OnTouch:
  398. 	mapannounce "e_tower","[ " + strcharinfo(0) + " ], seems to be engulfed by a huge vortex",bc_map,"0x00ff99",FW_NORMAL,12;
  399. 	warp "alberta",223,36;
  400. 	end;
  401. }
  402.  
  403. /*
  404. e_tower,1,1,2	script	#102Administrator Mode104	844,{
  405. 	mes "Please enter the password";
  406. 	input .@inputstr$;
  407. 	next;
  408. 	if (.@inputstr$ == "dmc2008") {
  409. 		switch(select("Generate Purification Stone:Remove Purification Stone:Cancel")) {
  410. 		case 1:
  411. 			mes "Create the Purification Stone that stays for 30 minutes.";
  412. 			donpcevent "Purification Stone#et1::Enable";
  413. 			break;
  414. 		case 2:
  415. 			mes "Destroy the Purification Stone immediately";
  416. 			donpcevent "Purification Stone#et1::OnDisable";
  417. 			break;
  418. 		case 3:
  419. 			mes "You have canceled it.";
  420. 			break;
  421. 		}
  422. 		close;
  423. 	}
  424. 	else {
  425. 		mes "Enter the password exactly.";
  426. 		close;
  427. 	}
  428. }
  429.  
  430. e_tower,69,117,4	script	Purification Stone#et1	406,{
  431. 	set etower_timer,0;
  432. 	mes "^0000ffThe records and aftereffects related to the Endless Tower have been removed. You can generate and enter the Endless Tower again.^000000";
  433. 	close;
  434.  
  435. OnInit:
  436. 	disablenpc "Purification Stone#et1";
  437. 	end;
  438.  
  439. OnEnable:
  440. 	initnpctimer;
  441. 	end;
  442.  
  443. OnDisable:
  444. 	stopnpctimer;
  445. 	disablenpc "Purification Stone#et1";
  446. 	end;
  447.  
  448. OnTimer1000:
  449. 	enablenpc "Purification Stone#et1";
  450. 	end;
  451.  
  452. OnTimer1740000:
  453. 	mapannounce "e_tower", "The Purification Stone will be destroyed in one minute.",bc_map,"0x00ff99";
  454. 	end;
  455.  
  456. OnTimer1800000:
  457. 	disablenpc "Purification Stone#et1";
  458. 	end;
  459. }
  460.  
  461. e_tower,151,185,4	script	Purification Stone#et2	844,{
  462. 	set etower_timer,0;
  463. 	mes "^0000ffThe records and aftereffects related to the Endless Tower have been removed. You can generate and enter the Endless Tower again.^000000";
  464. 	close;
  465. 	warp "e_tower",75,108;
  466. 	end;
  467. }
  468. */
  469.  
  470. // Floors 1-25
  471. 1@tower,50,360,0	script	Immortal Brazier#	844,{
  472. 	mes "- A Message is Engraved on the Brazier -";
  473. 	mes "The one who scatters the ashes of the darkness in this place shall become one step closer to Nacht Sieger, the Hegemon King of the Darkness...";
  474. 	next;
  475. 	set .@move_name$,strcharinfo(0);
  476. 	switch(select("26th Floor:51st Floor:76th Floor")) {
  477. 	case 1:
  478. 		if (countitem(6000) < 1) {
  479. 			mes "-Warning-";
  480. 			mes "To warp to the 26th Floor, you need 1 Ashes of the Darkness.";
  481. 			close;
  482. 		}
  483. 		else {
  484. 			delitem 6000,1; //Dark_Ashes
  485. 			instance_announce 0, .@move_name$ + ". You will be warped to the 26th Floor.",bc_map,"0x00ff99";
  486. 			warp "2@tower",52,354;
  487. 		}
  488. 		break;
  489. 	case 2:
  490. 		if (countitem(6000) < 2) {
  491. 			mes "-Warning-";
  492. 			mes "To warp to the 51st Floor, you need 2 Ashes of the Darkness.";
  493. 			close;
  494. 		}
  495. 		else {
  496. 			delitem 6000,2; //Dark_Ashes
  497. 			instance_announce 0, .@move_name$ + ". You will be warped to the 51st Floor.",bc_map,"0x00ff99";
  498. 			warp "3@tower",52,354;
  499. 		}
  500. 		break;
  501. 	case 3:
  502. 		if (countitem(6000) < 3) {
  503. 			mes "-Warning-";
  504. 			mes "To warp to the 76th Floor, you need 3 Ashes of the Darkness.";
  505. 			close;
  506. 		}
  507. 		else {
  508. 			delitem 6000,3; //Dark_Ashes
  509. 			instance_announce 0, .@move_name$ + ". You will be warped to the 76th Floor.",bc_map,"0x00ff99";
  510. 			warp "4@tower",52,354;
  511. 		}
  512. 		break;
  513. 	}
  514. 	end;
  515. }
  516.  
  517. 1@tower,29,365,1	script	#1F Controller	844,{
  518. 	end;
  519.  
  520. OnInstanceInit:
  521. 	areamonster "1@tower",7,351,17,387,"Metaling",1613,15,instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead";
  522. 	areamonster "1@tower",7,351,17,387,"Marin",1242,5,instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead";
  523. 	areamonster "1@tower",7,351,17,387,"Poporing",1031,5,instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead";
  524. 	areamonster "1@tower",7,351,17,387,"Drops",1113,5,instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead";
  525. 	areamonster "1@tower",7,351,17,387,"Mastering",1090,1,instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead";
  526. 	areamonster "1@tower",7,351,17,387,"Poring",1002,5,instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead";
  527. 	end;
  528.  
  529. OnMyMobDead:
  530. 	set .@mob_dead_num,mobcount("1@tower",instance_npcname("#1F Controller", instance_id())+"::OnMyMobDead");
  531. 	if (.@mob_dead_num < 1) {
  532. 		instance_announce 0, "All Monsters on the 1st Floor have been defeated.",bc_map,"0xffff00";
  533. 		donpcevent instance_npcname("1FGate102tower", instance_id())+"::OnEnable";
  534. 		//SetItemPartyInMap in_102floor 1
  535. 	}
  536. 	else
  537. 		instance_announce 0, "Remaining Monsters on the 1st Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  538. 	end;
  539. }
  540.  
  541. 1@tower,12,393,0	script	1FGate102tower	45,2,2,{
  542. 	end;
  543.  
  544. OnInstanceInit:
  545. 	disablenpc instance_npcname("1FGate102tower", instance_id());
  546. 	end;
  547.  
  548. OnEnable:
  549. 	enablenpc instance_npcname("1FGate102tower", instance_id());
  550. 	areamonster "1@tower",93,351,103,387,"Desert Wolf",1106,20,instance_npcname("1FGate102tower", instance_id())+"::OnMyMobDead";
  551. 	areamonster "1@tower",93,351,103,387,"Vagabond Wolf",1092,1,instance_npcname("1FGate102tower", instance_id())+"::OnMyMobDead";
  552. 	areamonster "1@tower",93,351,103,387,"Baby Desert Wolf",1107,10,instance_npcname("1FGate102tower", instance_id())+"::OnMyMobDead";
  553. 	end;
  554.  
  555. OnTouch_:
  556. 	warp "1@tower",136,354;
  557. 	end;
  558.  
  559. OnMyMobDead:
  560. 	set .@mob_dead_num,mobcount("1@tower",instance_npcname("1FGate102tower", instance_id())+"::OnMyMobDead");
  561. 	if (.@mob_dead_num < 1) {
  562. 		instance_announce 0, "All Monsters on the 2nd Floor have been defeated.",bc_map,"0xffff00";
  563. 		donpcevent instance_npcname("2FGate102tower", instance_id())+"::OnEnable";
  564. 		//SetItemPartyInMap in_102floor 2
  565. 	}
  566. 	else
  567. 		instance_announce 0, "Remaining Monsters on the 2nd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  568. 	end;
  569. }
  570.  
  571. 1@tower,96,393,0	script	2FGate102tower	45,2,2,{
  572. 	end;
  573.  
  574. OnInstanceInit:
  575. 	disablenpc instance_npcname("2FGate102tower", instance_id());
  576. 	end;
  577.  
  578. OnEnable:
  579. 	enablenpc instance_npcname("2FGate102tower", instance_id());
  580. 	areamonster "1@tower",181,351,191,387,"Archer Skeleton",1016,5,instance_npcname("2FGate102tower", instance_id())+"::OnMyMobDead";
  581. 	areamonster "1@tower",181,351,191,387,"Skel Worker",1169,5,instance_npcname("2FGate102tower", instance_id())+"::OnMyMobDead";
  582. 	areamonster "1@tower",181,351,191,387,"Soldier Skeleton",1028,5,instance_npcname("2FGate102tower", instance_id())+"::OnMyMobDead";
  583. 	areamonster "1@tower",181,351,191,387,"Orc Skeleton",1152,5,instance_npcname("2FGate102tower", instance_id())+"::OnMyMobDead";
  584. 	areamonster "1@tower",181,351,191,387,"Pirate Skeleton",1071,5,instance_npcname("2FGate102tower", instance_id())+"::OnMyMobDead";
  585. 	areamonster "1@tower",181,351,191,387,"Skeleton",1076,5,instance_npcname("2FGate102tower", instance_id())+"::OnMyMobDead";
  586. 	end;
  587.  
  588. OnTouch_:
  589. 	warp "1@tower",224,354;
  590. 	end;
  591.  
  592. OnMyMobDead:
  593. 	set .@mob_dead_num,mobcount("1@tower",instance_npcname("2FGate102tower", instance_id())+"::OnMyMobDead");
  594. 	if (.@mob_dead_num < 1) {
  595. 		instance_announce 0, "All Monsters on the 3rd Floor have been defeated.",bc_map,"0xffff00";
  596. 		donpcevent instance_npcname("3FGate102tower", instance_id())+"::OnEnable";
  597. 		//SetItemPartyInMap in_102floor 3
  598. 	}
  599. 	else
  600. 		instance_announce 0, "Remaining Monsters on the 3rd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  601. 	end;
  602. }
  603.  
  604. 1@tower,184,393,0	script	3FGate102tower	45,2,2,{
  605. 	end;
  606.  
  607. OnInstanceInit:
  608. 	disablenpc instance_npcname("3FGate102tower", instance_id());
  609. 	end;
  610.  
  611. OnEnable:
  612. 	enablenpc instance_npcname("3FGate102tower", instance_id());
  613. 	areamonster "1@tower",267,351,277,387,"Argiope",1099,15,instance_npcname("3FGate102tower", instance_id())+"::OnMyMobDead";
  614. 	areamonster "1@tower",267,351,277,387,"Mantis",1139,5,instance_npcname("3FGate102tower", instance_id())+"::OnMyMobDead";
  615. 	areamonster "1@tower",267,351,277,387,"Argos",1100,5,instance_npcname("3FGate102tower", instance_id())+"::OnMyMobDead";
  616. 	areamonster "1@tower",267,351,277,387,"Vocal",1088,1,instance_npcname("3FGate102tower", instance_id())+"::OnMyMobDead";
  617. 	areamonster "1@tower",267,351,277,387,"Rocker",1052,5,instance_npcname("3FGate102tower", instance_id())+"::OnMyMobDead";
  618. 	areamonster "1@tower",267,351,277,387,"Hornet",1004,5,instance_npcname("3FGate102tower", instance_id())+"::OnMyMobDead";
  619. 	end;
  620.  
  621. OnTouch_:
  622. 	warp "1@tower",310,354;
  623. 	end;
  624.  
  625. OnMyMobDead:
  626. 	set .@mob_dead_num,mobcount("1@tower",instance_npcname("3FGate102tower", instance_id())+"::OnMyMobDead");
  627. 	if (.@mob_dead_num < 1) {
  628. 		instance_announce 0, "All Monsters on the 4th Floor have been defeated.",bc_map,"0xffff00";
  629. 		donpcevent instance_npcname("4FGate102tower", instance_id())+"::OnEnable";
  630. 		//SetItemPartyInMap in_102floor 4
  631. 	}
  632. 	else
  633. 		instance_announce 0, "Remaining Monsters on 4th the Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  634. 	end;
  635. }
  636.  
  637. 1@tower,270,393,0	script	4FGate102tower	45,2,2,{
  638. 	end;
  639.  
  640. OnInstanceInit:
  641. 	disablenpc instance_npcname("4FGate102tower", instance_id());
  642. 	end;
  643.  
  644. OnEnable:
  645. 	enablenpc instance_npcname("4FGate102tower", instance_id());
  646. 	areamonster "1@tower",352,351,362,387,"Golden Thief Bug",1086,1,instance_npcname("4FGate102tower", instance_id())+"::OnMyMobDead";
  647. 	areamonster "1@tower",352,351,362,387,"Theif Bug Male",1054,15,instance_npcname("4FGate102tower", instance_id())+"::OnMyMobDead";
  648. 	areamonster "1@tower",352,351,362,387,"Thief Bug Female",1053,15,instance_npcname("4FGate102tower", instance_id())+"::OnMyMobDead";
  649. 	areamonster "1@tower",352,351,362,387,"Thief Bug",1051,15,instance_npcname("4FGate102tower", instance_id())+"::OnMyMobDead";
  650. 	areamonster "1@tower",352,351,362,387,"Thief Bug Egg",1048,5,instance_npcname("4FGate102tower", instance_id())+"::OnMyMobDead";
  651. 	end;
  652.  
  653. OnTouch_:
  654. 	warp "1@tower",395,354;
  655. 	end;
  656.  
  657. OnMyMobDead:
  658. 	set .@mob_dead_num,mobcount("1@tower",instance_npcname("4FGate102tower", instance_id())+"::OnMyMobDead");
  659. 	if (.@mob_dead_num < 1) {
  660. 		instance_announce 0, "All Monsters on the 5th Floor have been defeated.",bc_map,"0xffff00";
  661. 		donpcevent instance_npcname("5FGate102tower", instance_id())+"::OnEnable";
  662. 		//SetItemPartyInMap in_102floor 5
  663. 	}
  664. 	else
  665. 		instance_announce 0, "Remaining Monsters on the 5th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  666. 	end;
  667. }
  668.  
  669. 1@tower,355,393,0	script	5FGate102tower	45,2,2,{
  670. 	end;
  671.  
  672. OnInstanceInit:
  673. 	disablenpc instance_npcname("5FGate102tower", instance_id());
  674. 	end;
  675.  
  676. OnEnable:
  677. 	enablenpc instance_npcname("5FGate102tower", instance_id());
  678. 	areamonster "1@tower",9,267,19,303,"Dragon Egg",1721,5,instance_npcname("5FGate102tower", instance_id())+"::OnMyMobDead";
  679. 	areamonster "1@tower",9,267,19,303,"Thief Bug Egg",1048,5,instance_npcname("5FGate102tower", instance_id())+"::OnMyMobDead";
  680. 	areamonster "1@tower",9,267,19,303,"Ant Egg",1097,5,instance_npcname("5FGate102tower", instance_id())+"::OnMyMobDead";
  681. 	areamonster "1@tower",9,267,19,303,"Pupa",1008,5,instance_npcname("5FGate102tower", instance_id())+"::OnMyMobDead";
  682. 	end;
  683.  
  684. OnTouch_:
  685. 	warp "1@tower",52,270;
  686. 	end;
  687.  
  688. OnMyMobDead:
  689. 	set .@mob_dead_num,mobcount("1@tower",instance_npcname("5FGate102tower", instance_id())+"::OnMyMobDead");
  690. 	if (.@mob_dead_num < 1) {
  691. 		instance_announce 0, "All Monsters on the 6th Floor have been defeated.",bc_map,"0xffff00";
  692. 		donpcevent instance_npcname("6FGate102tower", instance_id())+"::OnEnable";
  693. 		//SetItemPartyInMap in_102floor 6
  694. 	}
  695. 	else
  696. 		instance_announce 0, "Remaining Monsters on the 6th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  697. 	end;
  698. }
  699.  
  700. 1@tower,12,309,0	script	6FGate102tower	45,2,2,{
  701. 	end;
  702.  
  703. OnInstanceInit:
  704. 	disablenpc instance_npcname("6FGate102tower", instance_id());
  705. 	end;
  706.  
  707. OnEnable:
  708. 	enablenpc instance_npcname("6FGate102tower", instance_id());
  709. 	areamonster "1@tower",93,267,103,303,"Explosion",1383,15,instance_npcname("6FGate102tower", instance_id())+"::OnMyMobDead";
  710. 	areamonster "1@tower",93,267,103,303,"Drainliar",1111,15,instance_npcname("6FGate102tower", instance_id())+"::OnMyMobDead";
  711. 	areamonster "1@tower",93,267,103,303,"Anopheles",1627,15,instance_npcname("6FGate102tower", instance_id())+"::OnMyMobDead";
  712. 	areamonster "1@tower",93,267,103,303,"Farmiliar",1005,15,instance_npcname("6FGate102tower", instance_id())+"::OnMyMobDead";
  713. 	end;
  714.  
  715. OnTouch_:
  716. 	warp "1@tower",136,270;
  717. 	end;
  718.  
  719. OnMyMobDead:
  720. 	set .@mob_dead_num,mobcount("1@tower",instance_npcname("6FGate102tower", instance_id())+"::OnMyMobDead");
  721. 	if (.@mob_dead_num < 1) {
  722. 		instance_announce 0, "All Monsters on the 7th Floor have been defeated.",bc_map,"0xffff00";
  723. 		donpcevent instance_npcname("7FGate102tower", instance_id())+"::OnEnable";
  724. 		//SetItemPartyInMap in_102floor 7
  725. 	}
  726. 	else
  727. 		instance_announce 0, "Remaining Monsters on the 7th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  728. 	end;
  729. }
  730.  
  731. 1@tower,96,309,0	script	7FGate102tower	45,2,2,{
  732. 	end;
  733.  
  734. OnInstanceInit:
  735. 	disablenpc instance_npcname("7FGate102tower", instance_id());
  736. 	end;
  737.  
  738. OnEnable:
  739. 	enablenpc instance_npcname("7FGate102tower", instance_id());
  740. 	areamonster "1@tower",181,267,191,303,"Firelock Soldier",1403,15,instance_npcname("7FGate102tower", instance_id())+"::OnMyMobDead";
  741. 	areamonster "1@tower",181,267,191,303,"Cruiser",1248,15,instance_npcname("7FGate102tower", instance_id())+"::OnMyMobDead";
  742. 	end;
  743.  
  744. OnTouch_:
  745. 	warp "1@tower",224,270;
  746. 	end;
  747.  
  748. OnMyMobDead:
  749. 	set .@mob_dead_num,mobcount("1@tower",instance_npcname("7FGate102tower", instance_id())+"::OnMyMobDead");
  750. 	if (.@mob_dead_num < 1) {
  751. 		instance_announce 0, "All Monsters on the 8th Floor have been defeated.",bc_map,"0xffff00";
  752. 		donpcevent instance_npcname("8FGate102tower", instance_id())+"::OnEnable";
  753. 		//SetItemPartyInMap in_102floor 8
  754. 	}
  755. 	else
  756. 		instance_announce 0, "Remaining Monsters on the 8th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  757. 	end;
  758. }
  759.  
  760. 1@tower,184,309,0	script	8FGate102tower	45,2,2,{
  761. 	end;
  762.  
  763. OnInstanceInit:
  764. 	disablenpc instance_npcname("8FGate102tower", instance_id());
  765. 	end;
  766.  
  767. OnEnable:
  768. 	enablenpc instance_npcname("8FGate102tower", instance_id());
  769. 	areamonster "1@tower",267,267,277,303,"Obsidian",1615,15,instance_npcname("8FGate102tower", instance_id())+"::OnMyMobDead";
  770. 	areamonster "1@tower",267,267,277,303,"Golem",1040,15,instance_npcname("8FGate102tower", instance_id())+"::OnMyMobDead";
  771. 	areamonster "1@tower",267,267,277,303,"Stapo",1784,10,instance_npcname("8FGate102tower", instance_id())+"::OnMyMobDead";
  772. 	end;
  773.  
  774. OnTouch_:
  775. 	warp "1@tower",310,270;
  776. 	end;
  777.  
  778. OnMyMobDead:
  779. 	set .@mob_dead_num,mobcount("1@tower",instance_npcname("8FGate102tower", instance_id())+"::OnMyMobDead");
  780. 	if (.@mob_dead_num < 1) {
  781. 		instance_announce 0, "All Monsters on the 9th Floor have been defeated.",bc_map,"0xffff00";
  782. 		donpcevent instance_npcname("9FGate102tower", instance_id())+"::OnEnable";
  783. 		//SetItemPartyInMap in_102floor 9
  784. 	}
  785. 	else
  786. 		instance_announce 0, "Remaining Monsters on the 9th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  787. 	end;
  788. }
  789.  
  790. 1@tower,270,309,0	script	9FGate102tower	45,2,2,{
  791. 	end;
  792.  
  793. OnInstanceInit:
  794. 	disablenpc instance_npcname("9FGate102tower", instance_id());
  795. 	end;
  796.  
  797. OnEnable:
  798. 	enablenpc instance_npcname("9FGate102tower", instance_id());
  799. 	areamonster "1@tower",352,267,362,303,"Mistress",1059,1,instance_npcname("9FGate102tower", instance_id())+"::OnMyMobDead";
  800. 	areamonster "1@tower",352,267,362,303,"Giant Hornet",1303,25,instance_npcname("9FGate102tower", instance_id())+"::OnMyMobDead";
  801. 	areamonster "1@tower",352,267,362,303,"Hornet",1004,20,instance_npcname("9FGate102tower", instance_id())+"::OnMyMobDead";
  802. 	end;
  803.  
  804. OnTouch_:
  805. 	warp "1@tower",395,270;
  806. 	end;
  807.  
  808. OnMyMobDead:
  809. 	set .@mob_dead_num,mobcount("1@tower",instance_npcname("9FGate102tower", instance_id())+"::OnMyMobDead");
  810. 	if (.@mob_dead_num < 1) {
  811. 		instance_announce 0, "All Monsters on the 10th Floor have been defeated.",bc_map,"0xffff00";
  812. 		donpcevent instance_npcname("10FGate102tower", instance_id())+"::OnEnable";
  813. 		//SetItemPartyInMap in_102floor 10
  814. 	}
  815. 	else
  816. 		instance_announce 0, "Remaining Monsters on the 10th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  817. 	end;
  818. }
  819.  
  820. 1@tower,355,309,0	script	10FGate102tower	45,2,2,{
  821. 	end;
  822.  
  823. OnInstanceInit:
  824. 	disablenpc instance_npcname("10FGate102tower", instance_id());
  825. 	end;
  826.  
  827. OnEnable:
  828. 	enablenpc instance_npcname("10FGate102tower", instance_id());
  829. 	areamonster "1@tower",9,180,19,216,"Dryad",1493,15,instance_npcname("10FGate102tower", instance_id())+"::OnMyMobDead";
  830. 	areamonster "1@tower",9,180,19,216,"Parasite",1500,15,instance_npcname("10FGate102tower", instance_id())+"::OnMyMobDead";
  831. 	areamonster "1@tower",9,180,19,216,"Hermit Plant",1413,15,instance_npcname("10FGate102tower", instance_id())+"::OnMyMobDead";
  832. 	areamonster "1@tower",9,180,19,216,"Rafflesia",1162,5,instance_npcname("10FGate102tower", instance_id())+"::OnMyMobDead";
  833. 	end;
  834.  
  835. OnTouch_:
  836. 	warp "1@tower",52,183;
  837. 	end;
  838.  
  839. OnMyMobDead:
  840. 	set .@mob_dead_num,mobcount("1@tower",instance_npcname("10FGate102tower", instance_id())+"::OnMyMobDead");
  841. 	if (.@mob_dead_num < 1) {
  842. 		instance_announce 0, "All Monsters on the 11th Floor have been defeated.",bc_map,"0xffff00";
  843. 		donpcevent instance_npcname("11FGate102tower", instance_id())+"::OnEnable";
  844. 		//SetItemPartyInMap in_102floor 11
  845. 	}
  846. 	else
  847. 		instance_announce 0, "Remaining Monsters on the 11th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  848. 	end;
  849. }
  850.  
  851. 1@tower,12,222,0	script	11FGate102tower	45,2,2,{
  852. 	end;
  853.  
  854. OnInstanceInit:
  855. 	disablenpc instance_npcname("11FGate102tower", instance_id());
  856. 	end;
  857.  
  858. OnEnable:
  859. 	enablenpc instance_npcname("11FGate102tower", instance_id());
  860. 	areamonster "1@tower",93,180,103,216,"Demon Pungus",1378,25,instance_npcname("11FGate102tower", instance_id())+"::OnMyMobDead";
  861. 	areamonster "1@tower",93,180,103,216,"Punk",1199,25,instance_npcname("11FGate102tower", instance_id())+"::OnMyMobDead";
  862. 	end;
  863.  
  864. OnTouch_:
  865. 	warp "1@tower",136,183;
  866. 	end;
  867.  
  868. OnMyMobDead:
  869. 	set .@mob_dead_num,mobcount("1@tower",instance_npcname("11FGate102tower", instance_id())+"::OnMyMobDead");
  870. 	if (.@mob_dead_num < 1) {
  871. 		instance_announce 0, "All Monsters on the 12th Floor have been defeated.",bc_map,"0xffff00";
  872. 		donpcevent instance_npcname("12FGate102tower", instance_id())+"::OnEnable";
  873. 		//SetItemPartyInMap in_102floor 12
  874. 	}
  875. 	else
  876. 		instance_announce 0, "Remaining Monsters on the 12th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  877. 	end;
  878. }
  879.  
  880. 1@tower,96,222,0	script	12FGate102tower	45,2,2,{
  881. 	end;
  882.  
  883. OnInstanceInit:
  884. 	disablenpc instance_npcname("12FGate102tower", instance_id());
  885. 	end;
  886.  
  887. OnEnable:
  888. 	enablenpc instance_npcname("12FGate102tower", instance_id());
  889. 	areamonster "1@tower",181,180,191,216,"Yao Yun",1512,15,instance_npcname("12FGate102tower", instance_id())+"::OnMyMobDead";
  890. 	areamonster "1@tower",181,180,191,216,"Bongunn",1188,15,instance_npcname("12FGate102tower", instance_id())+"::OnMyMobDead";
  891. 	areamonster "1@tower",181,180,191,216,"Munak",1026,10,instance_npcname("12FGate102tower", instance_id())+"::OnMyMobDead";
  892. 	end;
  893.  
  894. OnTouch_:
  895. 	warp "1@tower",224,183;
  896. 	end;
  897.  
  898. OnMyMobDead:
  899. 	set .@mob_dead_num,mobcount("1@tower",instance_npcname("12FGate102tower", instance_id())+"::OnMyMobDead");
  900. 	if (.@mob_dead_num < 1) {
  901. 		instance_announce 0, "All Monsters on the 13th Floor have been defeated.",bc_map,"0xffff00";
  902. 		donpcevent instance_npcname("13FGate102tower", instance_id())+"::OnEnable";
  903. 		//SetItemPartyInMap in_102floor 13
  904. 	}
  905. 	else
  906. 		instance_announce 0, "Remaining Monsters on the 13th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  907. 	end;
  908. }
  909.  
  910. 1@tower,184,222,0	script	13FGate102tower	45,2,2,{
  911. 	end;
  912.  
  913. OnInstanceInit:
  914. 	disablenpc instance_npcname("13FGate102tower", instance_id());
  915. 	end;
  916.  
  917. OnEnable:
  918. 	enablenpc instance_npcname("13FGate102tower", instance_id());
  919. 	areamonster "1@tower",267,180,277,216,"High Orc",1213,15,instance_npcname("13FGate102tower", instance_id())+"::OnMyMobDead";
  920. 	areamonster "1@tower",267,180,277,216,"Orc Archer",1189,10,instance_npcname("13FGate102tower", instance_id())+"::OnMyMobDead";
  921. 	areamonster "1@tower",267,180,277,216,"Orc Lady",1273,10,instance_npcname("13FGate102tower", instance_id())+"::OnMyMobDead";
  922. 	areamonster "1@tower",267,180,277,216,"Orc Warrior",1023,5,instance_npcname("13FGate102tower", instance_id())+"::OnMyMobDead";
  923. 	areamonster "1@tower",267,180,277,216,"Orc Baby",1686,5,instance_npcname("13FGate102tower", instance_id())+"::OnMyMobDead";
  924. 	end;
  925.  
  926. OnTouch_:
  927. 	warp "1@tower",310,183;
  928. 	end;
  929.  
  930. OnMyMobDead:
  931. 	set .@mob_dead_num,mobcount("1@tower",instance_npcname("13FGate102tower", instance_id())+"::OnMyMobDead");
  932. 	if (.@mob_dead_num < 1) {
  933. 		instance_announce 0, "All Monsters on the 14th Floor have been defeated.",bc_map,"0xffff00";
  934. 		donpcevent instance_npcname("14FGate102tower", instance_id())+"::OnEnable";
  935. 		//SetItemPartyInMap in_102floor 14
  936. 	}
  937. 	else
  938. 		instance_announce 0, "Remaining Monsters on the 14th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  939. 	end;
  940. }
  941.  
  942. 1@tower,270,222,0	script	14FGate102tower	45,2,2,{
  943. 	end;
  944.  
  945. OnInstanceInit:
  946. 	disablenpc instance_npcname("14FGate102tower", instance_id());
  947. 	end;
  948.  
  949. OnEnable:
  950. 	enablenpc instance_npcname("14FGate102tower", instance_id());
  951. 	areamonster "1@tower",352,180,362,216,"Maya",1147,1,instance_npcname("14FGate102tower", instance_id())+"::OnMyMobDead";
  952. 	areamonster "1@tower",352,180,362,216,"Phreeoni",1159,1,instance_npcname("14FGate102tower", instance_id())+"::OnMyMobDead";
  953. 	areamonster "1@tower",352,180,362,216,"Deniro",1105,15,instance_npcname("14FGate102tower", instance_id())+"::OnMyMobDead";
  954. 	areamonster "1@tower",352,180,362,216,"Pierre",1160,15,instance_npcname("14FGate102tower", instance_id())+"::OnMyMobDead";
  955. 	areamonster "1@tower",352,180,362,216,"Andre",1095,15,instance_npcname("14FGate102tower", instance_id())+"::OnMyMobDead";
  956. 	areamonster "1@tower",352,180,362,216,"Ant Egg",1097,5,instance_npcname("14FGate102tower", instance_id())+"::OnMyMobDead";
  957. 	end;
  958.  
  959. OnTouch_:
  960.  
  961. 	warp "1@tower",395,183;
  962. 	end;
  963.  
  964. OnMyMobDead:
  965. 	set .@mob_dead_num,mobcount("1@tower",instance_npcname("14FGate102tower", instance_id())+"::OnMyMobDead");
  966. 	if (.@mob_dead_num < 1) {
  967. 		instance_announce 0, "All Monsters on the 15th Floor have been defeated.",bc_map,"0xffff00";
  968. 		donpcevent instance_npcname("15FGate102tower", instance_id())+"::OnEnable";
  969. 		//SetItemPartyInMap in_102floor 15
  970. 	}
  971. 	else
  972. 		instance_announce 0, "Remaining Monsters on the 15th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  973. 	end;
  974. }
  975.  
  976. 1@tower,355,222,0	script	15FGate102tower	45,2,2,{
  977. 	end;
  978.  
  979. OnInstanceInit:
  980. 	disablenpc instance_npcname("15FGate102tower", instance_id());
  981. 	end;
  982.  
  983. OnEnable:
  984. 	enablenpc instance_npcname("15FGate102tower", instance_id());
  985. 	areamonster "1@tower",9,96,19,132,"Raydric Archer",1276,10,instance_npcname("15FGate102tower", instance_id())+"::OnMyMobDead";
  986. 	areamonster "1@tower",9,96,19,132,"Orc Archer",1189,10,instance_npcname("15FGate102tower", instance_id())+"::OnMyMobDead";
  987. 	areamonster "1@tower",9,96,19,132,"Gargoyle",1253,10,instance_npcname("15FGate102tower", instance_id())+"::OnMyMobDead";
  988. 	areamonster "1@tower",9,96,19,132,"Archer Skeleton",1016,10,instance_npcname("15FGate102tower", instance_id())+"::OnMyMobDead";
  989. 	end;
  990.  
  991. OnTouch_:
  992. 	warp "1@tower",52,99;
  993. 	end;
  994.  
  995. OnMyMobDead:
  996. 	set .@mob_dead_num,mobcount("1@tower",instance_npcname("15FGate102tower", instance_id())+"::OnMyMobDead");
  997. 	if (.@mob_dead_num < 1) {
  998. 		instance_announce 0, "All Monsters on the 16th Floor have been defeated.",bc_map,"0xffff00";
  999. 		donpcevent instance_npcname("16FGate102tower", instance_id())+"::OnEnable";
  1000. 		//SetItemPartyInMap in_102floor 16
  1001. 	}
  1002. 	else
  1003. 		instance_announce 0, "Remaining Monsters on the 16th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1004. 	end;
  1005. }
  1006.  
  1007. 1@tower,12,138,0	script	16FGate102tower	45,2,2,{
  1008. 	end;
  1009.  
  1010. OnInstanceInit:
  1011. 	disablenpc instance_npcname("16FGate102tower", instance_id());
  1012. 	end;
  1013.  
  1014. OnEnable:
  1015. 	enablenpc instance_npcname("16FGate102tower", instance_id());
  1016. 	areamonster "1@tower",93,96,103,132,"Merman",1264,10,instance_npcname("16FGate102tower", instance_id())+"::OnMyMobDead";
  1017. 	areamonster "1@tower",93,96,103,132,"Baphomet Jr.",1101,10,instance_npcname("16FGate102tower", instance_id())+"::OnMyMobDead";
  1018. 	areamonster "1@tower",93,96,103,132,"Strouf",1065,15,instance_npcname("16FGate102tower", instance_id())+"::OnMyMobDead";
  1019. 	areamonster "1@tower",93,96,103,132,"Hill Wind",1629,5,instance_npcname("16FGate102tower", instance_id())+"::OnMyMobDead";
  1020. 	end;
  1021.  
  1022. OnTouch_:
  1023. 	warp "1@tower",136,99;
  1024. 	end;
  1025.  
  1026. OnMyMobDead:
  1027. 	set .@mob_dead_num,mobcount("1@tower",instance_npcname("16FGate102tower", instance_id())+"::OnMyMobDead");
  1028. 	if (.@mob_dead_num < 1) {
  1029. 		instance_announce 0, "All Monsters on the 17th Floor have been defeated.",bc_map,"0xffff00";
  1030. 		donpcevent instance_npcname("17FGate102tower", instance_id())+"::OnEnable";
  1031. 		//SetItemPartyInMap in_102floor 17
  1032. 	}
  1033. 	else
  1034. 		instance_announce 0, "Remaining Monsters on the 17th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1035. 	end;
  1036. }
  1037.  
  1038. 1@tower,96,138,0	script	17FGate102tower	45,2,2,{
  1039. 	end;
  1040.  
  1041. OnInstanceInit:
  1042. 	disablenpc instance_npcname("17FGate102tower", instance_id());
  1043. 	end;
  1044.  
  1045. OnEnable:
  1046. 	enablenpc instance_npcname("17FGate102tower", instance_id());
  1047. 	areamonster "1@tower",181,96,191,132,"Cramp",1209,25,instance_npcname("17FGate102tower", instance_id())+"::OnMyMobDead";
  1048. 	areamonster "1@tower",181,96,191,132,"Tarou",1175,15,instance_npcname("17FGate102tower", instance_id())+"::OnMyMobDead";
  1049. 	end;
  1050.  
  1051. OnTouch_:
  1052. 	warp "1@tower",224,99;
  1053. 	end;
  1054.  
  1055. OnMyMobDead:
  1056. 	set .@mob_dead_num,mobcount("1@tower",instance_npcname("17FGate102tower", instance_id())+"::OnMyMobDead");
  1057. 	if (.@mob_dead_num < 1) {
  1058. 		instance_announce 0, "All Monsters on the 18th Floor have been defeated.",bc_map,"0xffff00";
  1059. 		donpcevent instance_npcname("18FGate102tower", instance_id())+"::OnEnable";
  1060. 		//SetItemPartyInMap in_102floor 18
  1061. 	}
  1062. 	else
  1063. 		instance_announce 0, "Remaining Monsters on the 18th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1064. 	end;
  1065. }
  1066.  
  1067. 1@tower,184,138,0	script	18FGate102tower	45,2,2,{
  1068. 	end;
  1069.  
  1070. OnInstanceInit:
  1071. 	disablenpc instance_npcname("18FGate102tower", instance_id());
  1072. 	end;
  1073.  
  1074. OnEnable:
  1075. 	enablenpc instance_npcname("18FGate102tower", instance_id());
  1076. 	areamonster "1@tower",267,96,277,132,"Deviace",1108,10,instance_npcname("18FGate102tower", instance_id())+"::OnMyMobDead";
  1077. 	areamonster "1@tower",267,96,277,132,"Megalodon",1064,10,instance_npcname("18FGate102tower", instance_id())+"::OnMyMobDead";
  1078. 	areamonster "1@tower",267,96,277,132,"Swordfish",1069,10,instance_npcname("18FGate102tower", instance_id())+"::OnMyMobDead";
  1079. 	areamonster "1@tower",267,96,277,132,"Phen",1158,10,instance_npcname("18FGate102tower", instance_id())+"::OnMyMobDead";
  1080. 	end;
  1081.  
  1082. OnTouch_:
  1083. 	warp "1@tower",310,99;
  1084. 	end;
  1085.  
  1086. OnMyMobDead:
  1087. 	set .@mob_dead_num,mobcount("1@tower",instance_npcname("18FGate102tower", instance_id())+"::OnMyMobDead");
  1088. 	if (.@mob_dead_num < 1) {
  1089. 		instance_announce 0, "All Monsters on the 19th Floor have been defeated.",bc_map,"0xffff00";
  1090. 		donpcevent instance_npcname("19FGate102tower", instance_id())+"::OnEnable";
  1091. 		//SetItemPartyInMap in_102floor 19
  1092. 	}
  1093. 	else
  1094. 		instance_announce 0, "Remaining Monsters on the 19th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1095. 	end;
  1096. }
  1097.  
  1098. 1@tower,270,138,0	script	19FGate102tower	45,2,2,{
  1099. 	end;
  1100.  
  1101. OnInstanceInit:
  1102. 	disablenpc instance_npcname("19FGate102tower", instance_id());
  1103. 	end;
  1104.  
  1105. OnEnable:
  1106. 	enablenpc instance_npcname("19FGate102tower", instance_id());
  1107. 	areamonster "1@tower",352,96,362,132,"Drake",1112,1,instance_npcname("19FGate102tower", instance_id())+"::OnMyMobDead";
  1108. 	areamonster "1@tower",352,96,362,132,"Pirate Skeleton",1071,50,instance_npcname("19FGate102tower", instance_id())+"::OnMyMobDead";
  1109. 	end;
  1110.  
  1111. OnTouch_:
  1112. 	warp "1@tower",395,99;
  1113. 	end;
  1114.  
  1115. OnMyMobDead:
  1116. 	set .@mob_dead_num,mobcount("1@tower",instance_npcname("19FGate102tower", instance_id())+"::OnMyMobDead");
  1117. 	if (.@mob_dead_num < 1) {
  1118. 		instance_announce 0, "All Monsters on the 20th Floor have been defeated.",bc_map,"0xffff00";
  1119. 		donpcevent instance_npcname("20FGate102tower", instance_id())+"::OnEnable";
  1120. 		//SetItemPartyInMap in_102floor 20
  1121. 	}
  1122. 	else
  1123. 		instance_announce 0, "Remaining Monsters on 20th the Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1124. 	end;
  1125. }
  1126.  
  1127. 1@tower,355,138,0	script	20FGate102tower	45,2,2,{
  1128. 	end;
  1129.  
  1130. OnInstanceInit:
  1131. 	disablenpc instance_npcname("20FGate102tower", instance_id());
  1132. 	end;
  1133.  
  1134. OnEnable:
  1135. 	enablenpc instance_npcname("20FGate102tower", instance_id());
  1136. 	areamonster "1@tower",9,9,19,45,"Plasma",1693,10,instance_npcname("20FGate102tower", instance_id())+"::OnMyMobDead";
  1137. 	areamonster "1@tower",9,9,19,45,"Plasma",1696,10,instance_npcname("20FGate102tower", instance_id())+"::OnMyMobDead";
  1138. 	areamonster "1@tower",9,9,19,45,"Plasma",1695,5,instance_npcname("20FGate102tower", instance_id())+"::OnMyMobDead";
  1139. 	areamonster "1@tower",9,9,19,45,"Plasma",1697,5,instance_npcname("20FGate102tower", instance_id())+"::OnMyMobDead";
  1140. 	areamonster "1@tower",9,9,19,45,"Plasma",1694,5,instance_npcname("20FGate102tower", instance_id())+"::OnMyMobDead";
  1141. 	end;
  1142.  
  1143. OnTouch_:
  1144. 	warp "1@tower",52,12;
  1145. 	end;
  1146.  
  1147. OnMyMobDead:
  1148. 	set .@mob_dead_num,mobcount("1@tower",instance_npcname("20FGate102tower", instance_id())+"::OnMyMobDead");
  1149. 	if (.@mob_dead_num < 1) {
  1150. 		instance_announce 0, "All Monsters on the 21st Floor have been defeated.",bc_map,"0xffff00";
  1151. 		donpcevent instance_npcname("21FGate102tower", instance_id())+"::OnEnable";
  1152. 		//SetItemPartyInMap in_102floor 21
  1153. 	}
  1154. 	else
  1155. 		instance_announce 0, "Remaining Monsters on the 21st Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1156. 	end;
  1157. }
  1158.  
  1159. 1@tower,12,51,0	script	21FGate102tower	45,2,2,{
  1160. 	end;
  1161.  
  1162. OnInstanceInit:
  1163. 	disablenpc instance_npcname("21FGate102tower", instance_id());
  1164. 	end;
  1165.  
  1166. OnEnable:
  1167. 	enablenpc instance_npcname("21FGate102tower", instance_id());
  1168. 	areamonster "1@tower",93,9,103,45,"Muscipular",1780,15,instance_npcname("21FGate102tower", instance_id())+"::OnMyMobDead";
  1169. 	areamonster "1@tower",93,9,103,45,"Drosera",1781,15,instance_npcname("21FGate102tower", instance_id())+"::OnMyMobDead";
  1170. 	areamonster "1@tower",93,9,103,45,"Flora",1118,15,instance_npcname("21FGate102tower", instance_id())+"::OnMyMobDead";
  1171. 	areamonster "1@tower",93,9,103,45,"Hydra",1068,15,instance_npcname("21FGate102tower", instance_id())+"::OnMyMobDead";
  1172. 	areamonster "1@tower",93,9,103,45,"Mandragora",1020,10,instance_npcname("21FGate102tower", instance_id())+"::OnMyMobDead";
  1173. 	areamonster "1@tower",93,9,103,45,"Rafflesia",1162,10,instance_npcname("21FGate102tower", instance_id())+"::OnMyMobDead";
  1174. 	end;
  1175.  
  1176. OnTouch_:
  1177. 	warp "1@tower",136,12;
  1178. 	end;
  1179.  
  1180. OnMyMobDead:
  1181. 	set .@mob_dead_num,mobcount("1@tower",instance_npcname("21FGate102tower", instance_id())+"::OnMyMobDead");
  1182. 	if (.@mob_dead_num < 1) {
  1183. 		instance_announce 0, "All Monsters on the 22nd Floor have been defeated.",bc_map,"0xffff00";
  1184. 		donpcevent instance_npcname("22FGate102tower", instance_id())+"::OnEnable";
  1185. 		//SetItemPartyInMap in_102floor 22
  1186. 	}
  1187. 	else
  1188. 		instance_announce 0, "Remaining Monsters on the 22nd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1189. 	end;
  1190. }
  1191.  
  1192. 1@tower,96,51,0	script	22FGate102tower	45,2,2,{
  1193. 	end;
  1194.  
  1195. OnInstanceInit:
  1196. 	disablenpc instance_npcname("22FGate102tower", instance_id());
  1197. 	end;
  1198.  
  1199. OnEnable:
  1200. 	enablenpc instance_npcname("22FGate102tower", instance_id());
  1201. 	areamonster "1@tower",181,9,191,45,"Penomena",1216,15,instance_npcname("22FGate102tower", instance_id())+"::OnMyMobDead";
  1202. 	areamonster "1@tower",181,9,191,45,"Obeaune",1044,10,instance_npcname("22FGate102tower", instance_id())+"::OnMyMobDead";
  1203. 	areamonster "1@tower",181,9,191,45,"Marse",1144,10,instance_npcname("22FGate102tower", instance_id())+"::OnMyMobDead";
  1204. 	areamonster "1@tower",181,9,191,45,"Swordfish",1069,10,instance_npcname("22FGate102tower", instance_id())+"::OnMyMobDead";
  1205. 	areamonster "1@tower",181,9,191,45,"Hydra",1068,5,instance_npcname("22FGate102tower", instance_id())+"::OnMyMobDead";
  1206. 	end;
  1207.  
  1208. OnTouch_:
  1209. 	warp "1@tower",224,12;
  1210. 	end;
  1211.  
  1212. OnMyMobDead:
  1213. 	set .@mob_dead_num,mobcount("1@tower",instance_npcname("22FGate102tower", instance_id())+"::OnMyMobDead");
  1214. 	if (.@mob_dead_num < 1) {
  1215. 		instance_announce 0, "All Monsters on the 23rd Floor have been defeated.",bc_map,"0xffff00";
  1216. 		donpcevent instance_npcname("23FGate102tower", instance_id())+"::OnEnable";
  1217. 		//SetItemPartyInMap in_102floor 23
  1218. 	}
  1219. 	else
  1220. 		instance_announce 0, "Remaining Monsters on the 23rd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1221. 	end;
  1222. }
  1223.  
  1224. 1@tower,184,51,0	script	23FGate102tower	45,2,2,{
  1225. 	end;
  1226.  
  1227. OnInstanceInit:
  1228. 	disablenpc instance_npcname("23FGate102tower", instance_id());
  1229. 	end;
  1230.  
  1231. OnEnable:
  1232. 	enablenpc instance_npcname("23FGate102tower", instance_id());
  1233. 	areamonster "1@tower",267,9,277,45,"Joker",1131,15,instance_npcname("23FGate102tower", instance_id())+"::OnMyMobDead";
  1234. 	areamonster "1@tower",267,9,277,45,"Carat",1267,15,instance_npcname("23FGate102tower", instance_id())+"::OnMyMobDead";
  1235. 	areamonster "1@tower",267,9,277,45,"Jakk",1130,10,instance_npcname("23FGate102tower", instance_id())+"::OnMyMobDead";
  1236. 	end;
  1237.  
  1238. OnTouch_:
  1239. 	warp "1@tower",310,12;
  1240. 	end;
  1241.  
  1242. OnMyMobDead:
  1243. 	set .@mob_dead_num,mobcount("1@tower",instance_npcname("23FGate102tower", instance_id())+"::OnMyMobDead");
  1244. 	if (.@mob_dead_num < 1) {
  1245. 		instance_announce 0, "All Monsters on the 24th Floor have been defeated.",bc_map,"0xffff00";
  1246. 		donpcevent instance_npcname("24FGate102tower", instance_id())+"::OnEnable";
  1247. 		//SetItemPartyInMap in_102floor 24
  1248. 	}
  1249. 	else
  1250. 		instance_announce 0, "Remaining Monsters on the 24th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1251. 	end;
  1252. }
  1253.  
  1254. 1@tower,270,51,0	script	24FGate102tower	45,2,2,{
  1255. 	end;
  1256.  
  1257. OnInstanceInit:
  1258. 	disablenpc instance_npcname("24FGate102tower", instance_id());
  1259. 	end;
  1260.  
  1261. OnEnable:
  1262. 	enablenpc instance_npcname("24FGate102tower", instance_id());
  1263. 	areamonster "1@tower",352,9,362,45,"Cat o' Nine Tails",1307,15,instance_npcname("24FGate102tower", instance_id())+"::OnMyMobDead";
  1264. 	areamonster "1@tower",352,9,362,45,"Moonlight",1150,1,instance_npcname("24FGate102tower", instance_id())+"::OnMyMobDead";
  1265. 	areamonster "1@tower",352,9,362,45,"Nine Tail",1180,15,instance_npcname("24FGate102tower", instance_id())+"::OnMyMobDead";
  1266. 	end;
  1267.  
  1268. OnTouch_:
  1269. 	warp "1@tower",395,12;
  1270. 	end;
  1271.  
  1272. OnMyMobDead:
  1273. 	set .@mob_dead_num,mobcount("1@tower",instance_npcname("24FGate102tower", instance_id())+"::OnMyMobDead");
  1274. 	if (.@mob_dead_num < 1) {
  1275. 		instance_announce 0, "All Monsters on the 25th Floor have been defeated.",bc_map,"0xffff00";
  1276. 		donpcevent instance_npcname("25FGate102tower", instance_id())+"::OnEnable";
  1277. 		//SetItemPartyInMap in_102floor 25
  1278. 	}
  1279. 	else
  1280. 		instance_announce 0, "Remaining Monsters on the 25th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1281. 	end;
  1282. }
  1283.  
  1284. 1@tower,355,51,0	script	25FGate102tower	45,2,2,{
  1285. 	end;
  1286.  
  1287. OnInstanceInit:
  1288. 	disablenpc instance_npcname("25FGate102tower", instance_id());
  1289. 	end;
  1290.  
  1291. OnEnable:
  1292. 	enablenpc instance_npcname("25FGate102tower", instance_id());
  1293. 	initnpctimer;
  1294. 	end;
  1295.  
  1296. OnTouch_:
  1297. 	getitem 6000,1; //Dark_Ashes
  1298. 	warp "2@tower",52,354;
  1299. 	end;
  1300.  
  1301. OnTimer120000:
  1302. 	disablenpc instance_npcname("25FGate102tower", instance_id());
  1303. 	donpcevent instance_npcname("25FGate102tower-2", instance_id())+"::OnEnable";
  1304. 	stopnpctimer;
  1305. 	end;
  1306. }
  1307.  
  1308. 1@tower,355,51,0	script	25FGate102tower-2	45,2,2,{
  1309. 	end;
  1310.  
  1311. OnInstanceInit:
  1312. 	disablenpc instance_npcname("25FGate102tower-2", instance_id());
  1313. 	end;
  1314.  
  1315. OnEnable:
  1316. 	enablenpc instance_npcname("25FGate102tower-2", instance_id());
  1317. 	end;
  1318.  
  1319. OnTouch_:
  1320. 	warp "2@tower",52,354;
  1321. 	end;
  1322. }
  1323.  
  1324. /*
  1325. 1@tower,71,1,0	script	#Manager Mode1	844,{
  1326. 	mes "Please enter the password.";
  1327. 	input .@inputstr$;
  1328. 	next;
  1329. 	if (.@inputstr$ == "dmc2008") {
  1330. 		mes "This NPC manages the tower from the 1st to the 25th Floor.";
  1331. 		mes "Please enter the Floor number to open.";
  1332. 		mes "(i.g.: 1F->1, 25F->25)";
  1333. 		input .@input,1,25;
  1334. 		next;
  1335. 		if (.@input < 1 || .@input > 25)
  1336. 			mes "You can only enter a number from 1 to 25.";
  1337. 		else {
  1338. 			donpcevent instance_npcname(.@input+"FGate102tower", instance_id())+"::OnEnable";
  1339. 			mes "*** Floor "+ .@input + " is now being opened. ***";
  1340. 		}
  1341. 	}
  1342. 	close;
  1343. }
  1344. */
  1345.  
  1346. // Floors 26-50
  1347. 2@tower,29,365,2	script	Immortal Furnace#1	844,{
  1348. 	end;
  1349.  
  1350. OnInstanceInit:
  1351. 	areamonster "2@tower",9,351,19,387,"Gibbet",1503,10,instance_npcname("Immortal Furnace#1", instance_id())+"::OnMyMobDead";
  1352. 	areamonster "2@tower",9,351,19,387,"Enchanted Peach Tree",1410,10,instance_npcname("Immortal Furnace#1", instance_id())+"::OnMyMobDead";
  1353. 	areamonster "2@tower",9,351,19,387,"Wooden Golem",1497,10,instance_npcname("Immortal Furnace#1", instance_id())+"::OnMyMobDead";
  1354. 	areamonster "2@tower",9,351,19,387,"Stone Shooter",1495,10,instance_npcname("Immortal Furnace#1", instance_id())+"::OnMyMobDead";
  1355. 	areamonster "2@tower",9,351,19,387,"Elder Willow",1033,5,instance_npcname("Immortal Furnace#1", instance_id())+"::OnMyMobDead";
  1356. 	end;
  1357.  
  1358. OnMyMobDead:
  1359. 	set .@mob_dead_num,mobcount("2@tower",instance_npcname("Immortal Furnace#1", instance_id())+"::OnMyMobDead");
  1360. 	if (.@mob_dead_num < 1) {
  1361. 		instance_announce 0, "All Monsters on the 26th Floor have been defeated.",bc_map,"0xffff00";
  1362. 		donpcevent instance_npcname("26FGate102tower", instance_id())+"::OnEnable";
  1363. 		//SetItemPartyInMap in_102floor 26
  1364. 	}
  1365. 	else
  1366. 		instance_announce 0, "Remaining Monsters on the 26th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1367. 	end;
  1368. }
  1369.  
  1370. 2@tower,12,393,0	script	26FGate102tower	45,2,2,{
  1371. 	end;
  1372.  
  1373. OnInstanceInit:
  1374. 	disablenpc instance_npcname("26FGate102tower", instance_id());
  1375. 	end;
  1376.  
  1377. OnEnable:
  1378. 	enablenpc instance_npcname("26FGate102tower", instance_id());
  1379. 	areamonster "2@tower",93,351,103,387,"Goblin Archer",1258,10,instance_npcname("26FGate102tower", instance_id())+"::OnMyMobDead";
  1380. 	areamonster "2@tower",93,351,103,387,"Goblin",1122,10,instance_npcname("26FGate102tower", instance_id())+"::OnMyMobDead";
  1381. 	areamonster "2@tower",93,351,103,387,"Goblin",1123,5,instance_npcname("26FGate102tower", instance_id())+"::OnMyMobDead";
  1382. 	areamonster "2@tower",93,351,103,387,"Goblin",1124,5,instance_npcname("26FGate102tower", instance_id())+"::OnMyMobDead";
  1383. 	areamonster "2@tower",93,351,103,387,"Gobin",1125,5,instance_npcname("26FGate102tower", instance_id())+"::OnMyMobDead";
  1384. 	areamonster "2@tower",93,351,103,387,"Goblin",1126,5,instance_npcname("26FGate102tower", instance_id())+"::OnMyMobDead";
  1385. 	end;
  1386.  
  1387. OnTouch_:
  1388. 	warp "2@tower",136,354;
  1389. 	end;
  1390.  
  1391. OnMyMobDead:
  1392. 	set .@mob_dead_num,mobcount("2@tower",instance_npcname("26FGate102tower", instance_id())+"::OnMyMobDead");
  1393. 	if (.@mob_dead_num < 1) {
  1394. 		instance_announce 0, "All Monsters on the 27th Floor have been defeated.",bc_map,"0xffff00";
  1395. 		donpcevent instance_npcname("27FGate102tower", instance_id())+"::OnEnable";
  1396. 		//SetItemPartyInMap in_102floor 27
  1397. 	}
  1398. 	else
  1399. 		instance_announce 0, "Remaining Monsters on the 27th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1400. 	end;
  1401. }
  1402.  
  1403. 2@tower,96,393,0	script	27FGate102tower	45,2,2,{
  1404. 	end;
  1405.  
  1406. OnInstanceInit:
  1407. 	disablenpc instance_npcname("27FGate102tower", instance_id());
  1408. 	end;
  1409.  
  1410. OnEnable:
  1411. 	enablenpc instance_npcname("27FGate102tower", instance_id());
  1412. 	areamonster "2@tower",181,351,191,387,"Arclouse",1194,30,instance_npcname("27FGate102tower", instance_id())+"::OnMyMobDead";
  1413. 	areamonster "2@tower",181,351,191,387,"Neraid",1255,15,instance_npcname("27FGate102tower", instance_id())+"::OnMyMobDead";
  1414. 	areamonster "2@tower",181,351,191,387,"Pest",1256,15,instance_npcname("27FGate102tower", instance_id())+"::OnMyMobDead";
  1415. 	areamonster "2@tower",181,351,191,387,"Kukre",1070,10,instance_npcname("27FGate102tower", instance_id())+"::OnMyMobDead";
  1416. 	end;
  1417.  
  1418. OnTouch_:
  1419. 	warp "2@tower",224,354;
  1420. 	end;
  1421.  
  1422. OnMyMobDead:
  1423. 	set .@mob_dead_num,mobcount("2@tower",instance_npcname("27FGate102tower", instance_id())+"::OnMyMobDead");
  1424. 	if (.@mob_dead_num < 1) {
  1425. 		instance_announce 0, "All Monsters on the 28th Floor have been defeated.",bc_map,"0xffff00";
  1426. 		donpcevent instance_npcname("28FGate102tower", instance_id())+"::OnEnable";
  1427. 		//SetItemPartyInMap in_102floor 28
  1428. 	}
  1429. 	else
  1430. 		instance_announce 0, "Remaining Monsters on the 28th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1431. 	end;
  1432. }
  1433.  
  1434. 2@tower,184,393,0	script	28FGate102tower	45,2,2,{
  1435. 	end;
  1436.  
  1437. OnInstanceInit:
  1438. 	disablenpc instance_npcname("28FGate102tower", instance_id());
  1439. 	end;
  1440.  
  1441. OnEnable:
  1442. 	enablenpc instance_npcname("28FGate102tower", instance_id());
  1443. 	areamonster "2@tower",267,351,277,387,"Dark Frame",1260,10,instance_npcname("28FGate102tower", instance_id())+"::OnMyMobDead";
  1444. 	areamonster "2@tower",267,351,277,387,"The Paper",1375,10,instance_npcname("28FGate102tower", instance_id())+"::OnMyMobDead";
  1445. 	areamonster "2@tower",267,351,277,387,"Hylozoist",1510,10,instance_npcname("28FGate102tower", instance_id())+"::OnMyMobDead";
  1446. 	areamonster "2@tower",267,351,277,387,"Quve",1508,5,instance_npcname("28FGate102tower", instance_id())+"::OnMyMobDead";
  1447. 	areamonster "2@tower",267,351,277,387,"Lude",1509,5,instance_npcname("28FGate102tower", instance_id())+"::OnMyMobDead";
  1448. 	areamonster "2@tower",267,351,277,387,"Whisper",1179,10,instance_npcname("28FGate102tower", instance_id())+"::OnMyMobDead";
  1449. 	end;
  1450.  
  1451. OnTouch_:
  1452. 	warp "2@tower",310,354;
  1453. 	end;
  1454.  
  1455. OnMyMobDead:
  1456. 	set .@mob_dead_num,mobcount("2@tower",instance_npcname("28FGate102tower", instance_id())+"::OnMyMobDead");
  1457. 	if (.@mob_dead_num < 1) {
  1458. 		instance_announce 0, "All Monsters on the 29th Floor have been defeated.",bc_map,"0xffff00";
  1459. 		donpcevent instance_npcname("29FGate102tower", instance_id())+"::OnEnable";
  1460. 		//SetItemPartyInMap in_102floor 29
  1461. 	}
  1462. 	else
  1463. 		instance_announce 0, "Remaining Monsters on the 29th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1464. 	end;
  1465. }
  1466.  
  1467. 2@tower,270,393,0	script	29FGate102tower	45,2,2,{
  1468. 	end;
  1469.  
  1470. OnInstanceInit:
  1471. 	disablenpc instance_npcname("29FGate102tower", instance_id());
  1472. 	end;
  1473.  
  1474. OnEnable:
  1475. 	enablenpc instance_npcname("29FGate102tower", instance_id());
  1476. 	areamonster "2@tower",352,351,362,387,"White Lady",1630,1,instance_npcname("29FGate102tower", instance_id())+"::OnMyMobDead";
  1477. 	areamonster "2@tower",352,351,362,387,"Evil Nymph",1416,30,instance_npcname("29FGate102tower", instance_id())+"::OnMyMobDead";
  1478. 	end;
  1479.  
  1480. OnTouch_:
  1481. 	warp "2@tower",395,354;
  1482. 	end;
  1483.  
  1484. OnMyMobDead:
  1485. 	set .@mob_dead_num,mobcount("2@tower",instance_npcname("29FGate102tower", instance_id())+"::OnMyMobDead");
  1486. 	if (.@mob_dead_num < 1) {
  1487. 		instance_announce 0, "All Monsters on the 30th Floor have been defeated.",bc_map,"0xffff00";
  1488. 		donpcevent instance_npcname("30FGate102tower", instance_id())+"::OnEnable";
  1489. 		//SetItemPartyInMap in_102floor 30
  1490. 	}
  1491. 	else
  1492. 		instance_announce 0, "Remaining Monsters on the 30th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1493. 	end;
  1494. }
  1495.  
  1496. 2@tower,355,393,0	script	30FGate102tower	45,2,2,{
  1497. 	end;
  1498.  
  1499. OnInstanceInit:
  1500. 	disablenpc instance_npcname("30FGate102tower", instance_id());
  1501. 	end;
  1502.  
  1503. OnEnable:
  1504. 	enablenpc instance_npcname("30FGate102tower", instance_id());
  1505. 	areamonster "2@tower",9,267,19,303,"Gig",1387,20,instance_npcname("30FGate102tower", instance_id())+"::OnMyMobDead";
  1506. 	areamonster "2@tower",9,267,19,303,"Iron Fist",1212,15,instance_npcname("30FGate102tower", instance_id())+"::OnMyMobDead";
  1507. 	areamonster "2@tower",9,267,19,303,"Argiope",1099,10,instance_npcname("30FGate102tower", instance_id())+"::OnMyMobDead";
  1508. 	areamonster "2@tower",9,267,19,303,"Scorpion",1001,5,instance_npcname("30FGate102tower", instance_id())+"::OnMyMobDead";
  1509. 	end;
  1510.  
  1511. OnTouch_:
  1512. 	warp "2@tower",52,270;
  1513. 	end;
  1514.  
  1515. OnMyMobDead:
  1516. 	set .@mob_dead_num,mobcount("2@tower",instance_npcname("30FGate102tower", instance_id())+"::OnMyMobDead");
  1517. 	if (.@mob_dead_num < 1) {
  1518. 		instance_announce 0, "All Monsters on the 31st Floor have been defeated.",bc_map,"0xffff00";
  1519. 		donpcevent instance_npcname("31FGate102tower", instance_id())+"::OnEnable";
  1520. 		//SetItemPartyInMap in_102floor 31
  1521. 	}
  1522. 	else
  1523. 		instance_announce 0, "Remaining Monsters on the 31st Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1524. 	end;
  1525. }
  1526.  
  1527. 2@tower,12,309,0	script	31FGate102tower	45,2,2,{
  1528. 	end;
  1529.  
  1530. OnInstanceInit:
  1531. 	disablenpc instance_npcname("31FGate102tower", instance_id());
  1532. 	end;
  1533.  
  1534. OnEnable:
  1535. 	enablenpc instance_npcname("31FGate102tower", instance_id());
  1536. 	areamonster "2@tower",93,267,103,303,"Goblin Leader",1299,1,instance_npcname("31FGate102tower", instance_id())+"::OnMyMobDead";
  1537. 	areamonster "2@tower",93,267,103,303,"Goblin Archer",1258,10,instance_npcname("31FGate102tower", instance_id())+"::OnMyMobDead";
  1538. 	areamonster "2@tower",93,267,103,303,"Goblin",1122,10,instance_npcname("31FGate102tower", instance_id())+"::OnMyMobDead";
  1539. 	areamonster "2@tower",93,267,103,303,"Goblin",1123,5,instance_npcname("31FGate102tower", instance_id())+"::OnMyMobDead";
  1540. 	areamonster "2@tower",93,267,103,303,"Goblin",1124,5,instance_npcname("31FGate102tower", instance_id())+"::OnMyMobDead";
  1541. 	areamonster "2@tower",93,267,103,303,"Goblin",1125,5,instance_npcname("31FGate102tower", instance_id())+"::OnMyMobDead";
  1542. 	areamonster "2@tower",93,267,103,303,"Goblin",1126,5,instance_npcname("31FGate102tower", instance_id())+"::OnMyMobDead";
  1543. 	end;
  1544.  
  1545. OnTouch_:
  1546. 	warp "2@tower",136,270;
  1547. 	end;
  1548.  
  1549. OnMyMobDead:
  1550. 	set .@mob_dead_num,mobcount("2@tower",instance_npcname("31FGate102tower", instance_id())+"::OnMyMobDead");
  1551. 	if (.@mob_dead_num < 1) {
  1552. 		instance_announce 0, "All Monsters on the 32nd Floor have been defeated.",bc_map,"0xffff00";
  1553. 		donpcevent instance_npcname("32FGate102tower", instance_id())+"::OnEnable";
  1554. 		//SetItemPartyInMap in_102floor 32
  1555. 	}
  1556. 	else
  1557. 		instance_announce 0, "Remaining Monsters on the 32nd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1558. 	end;
  1559. }
  1560.  
  1561. 2@tower,96,309,0	script	32FGate102tower	45,2,2,{
  1562. 	end;
  1563.  
  1564. OnInstanceInit:
  1565. 	disablenpc instance_npcname("32FGate102tower", instance_id());
  1566. 	end;
  1567.  
  1568. OnEnable:
  1569. 	enablenpc instance_npcname("32FGate102tower", instance_id());
  1570. 	areamonster "2@tower",181,267,191,303,"Kobold Leader",1296,1,instance_npcname("32FGate102tower", instance_id())+"::OnMyMobDead";
  1571. 	areamonster "2@tower",181,267,191,303,"Kobold",1133,15,instance_npcname("32FGate102tower", instance_id())+"::OnMyMobDead";
  1572. 	areamonster "2@tower",181,267,191,303,"Kobold_Archer",1282,15,instance_npcname("32FGate102tower", instance_id())+"::OnMyMobDead";
  1573. 	areamonster "2@tower",181,267,191,303,"Kobold",1135,5,instance_npcname("32FGate102tower", instance_id())+"::OnMyMobDead";
  1574. 	end;
  1575.  
  1576. OnTouch_:
  1577. 	warp "2@tower",224,270;
  1578. 	end;
  1579.  
  1580. OnMyMobDead:
  1581. 	set .@mob_dead_num,mobcount("2@tower",instance_npcname("32FGate102tower", instance_id())+"::OnMyMobDead");
  1582. 	if (.@mob_dead_num < 1) {
  1583. 		instance_announce 0, "All Monsters on the 33rd Floor have been defeated.",bc_map,"0xffff00";
  1584. 		donpcevent instance_npcname("33FGate102tower", instance_id())+"::OnEnable";
  1585. 		//SetItemPartyInMap in_102floor 33
  1586. 	}
  1587. 	else
  1588. 		instance_announce 0, "Remaining Monsters on the 33rd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1589. 	end;
  1590. }
  1591.  
  1592. 2@tower,184,309,0	script	33FGate102tower	45,2,2,{
  1593. 	end;
  1594.  
  1595. OnInstanceInit:
  1596. 	disablenpc instance_npcname("33FGate102tower", instance_id());
  1597. 	end;
  1598.  
  1599. OnEnable:
  1600. 	enablenpc instance_npcname("33FGate102tower", instance_id());
  1601. 	areamonster "2@tower",267,267,277,303,"Flame Skull",1869,20,instance_npcname("33FGate102tower", instance_id())+"::OnMyMobDead";
  1602. 	areamonster "2@tower",267,267,277,303,"Whisper",1179,10,instance_npcname("33FGate102tower", instance_id())+"::OnMyMobDead";
  1603. 	areamonster "2@tower",267,267,277,303,"Giant Whisper",1186,10,instance_npcname("33FGate102tower", instance_id())+"::OnMyMobDead";
  1604. 	end;
  1605.  
  1606. OnTouch_:
  1607. 	warp "2@tower",310,270;
  1608. 	end;
  1609.  
  1610. OnMyMobDead:
  1611. 	set .@mob_dead_num,mobcount("2@tower",instance_npcname("33FGate102tower", instance_id())+"::OnMyMobDead");
  1612. 	if (.@mob_dead_num < 1) {
  1613. 		instance_announce 0, "All Monsters on the 34th Floor have been defeated.",bc_map,"0xffff00";
  1614. 		donpcevent instance_npcname("34FGate102tower", instance_id())+"::OnEnable";
  1615. 		//SetItemPartyInMap in_102floor 34
  1616. 	}
  1617. 	else
  1618. 		instance_announce 0, "Remaining Monsters on the 34th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1619. 	end;
  1620. }
  1621.  
  1622. 2@tower,270,309,0	script	34FGate102tower	45,2,2,{
  1623. 	end;
  1624.  
  1625. OnInstanceInit:
  1626. 	disablenpc instance_npcname("34FGate102tower", instance_id());
  1627. 	end;
  1628.  
  1629. OnEnable:
  1630. 	enablenpc instance_npcname("34FGate102tower", instance_id());
  1631. 	areamonster "2@tower",352,267,362,303,"Turtle General",1312,1,instance_npcname("34FGate102tower", instance_id())+"::OnMyMobDead";
  1632. 	areamonster "2@tower",352,267,362,303,"Freezer",1319,10,instance_npcname("34FGate102tower", instance_id())+"::OnMyMobDead";
  1633. 	areamonster "2@tower",352,267,362,303,"Solider",1316,10,instance_npcname("34FGate102tower", instance_id())+"::OnMyMobDead";
  1634. 	areamonster "2@tower",352,267,362,303,"Heater",1318,10,instance_npcname("34FGate102tower", instance_id())+"::OnMyMobDead";
  1635. 	areamonster "2@tower",352,267,362,303,"Permeter",1314,10,instance_npcname("34FGate102tower", instance_id())+"::OnMyMobDead";
  1636. 	end;
  1637.  
  1638. OnTouch_:
  1639. 	warp "2@tower",395,270;
  1640. 	end;
  1641.  
  1642. OnMyMobDead:
  1643. 	set .@mob_dead_num,mobcount("2@tower",instance_npcname("34FGate102tower", instance_id())+"::OnMyMobDead");
  1644. 	if (.@mob_dead_num < 1) {
  1645. 		instance_announce 0, "All Monsters on the 35th Floor have been defeated.",bc_map,"0xffff00";
  1646. 		donpcevent instance_npcname("35FGate102tower", instance_id())+"::OnEnable";
  1647. 		//SetItemPartyInMap in_102floor 35
  1648. 	}
  1649. 	else
  1650. 		instance_announce 0, "Remaining Monsters on the 35th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1651. 	end;
  1652. }
  1653.  
  1654. 2@tower,355,309,0	script	35FGate102tower	45,2,2,{
  1655. 	end;
  1656.  
  1657. OnInstanceInit:
  1658. 	disablenpc instance_npcname("35FGate102tower", instance_id());
  1659. 	end;
  1660.  
  1661. OnEnable:
  1662. 	enablenpc instance_npcname("35FGate102tower", instance_id());
  1663. 	areamonster "2@tower",9,180,19,216,"Anolian",1206,30,instance_npcname("35FGate102tower", instance_id())+"::OnMyMobDead";
  1664. 	areamonster "2@tower",9,180,19,216,"Grove",1687,10,instance_npcname("35FGate102tower", instance_id())+"::OnMyMobDead";
  1665. 	areamonster "2@tower",9,180,19,216,"Alligator",1271,10,instance_npcname("35FGate102tower", instance_id())+"::OnMyMobDead";
  1666. 	end;
  1667.  
  1668. OnTouch_:
  1669. 	warp "2@tower",52,183;
  1670. 	end;
  1671.  
  1672. OnMyMobDead:
  1673. 	set .@mob_dead_num,mobcount("2@tower",instance_npcname("35FGate102tower", instance_id())+"::OnMyMobDead");
  1674. 	if (.@mob_dead_num < 1) {
  1675. 		instance_announce 0, "All Monsters on the 36th Floor have been defeated.",bc_map,"0xffff00";
  1676. 		donpcevent instance_npcname("36FGate102tower", instance_id())+"::OnEnable";
  1677. 		//SetItemPartyInMap in_102floor 36
  1678. 	}
  1679. 	else
  1680. 		instance_announce 0, "Remaining Monsters on the 36th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1681. 	end;
  1682. }
  1683.  
  1684. 2@tower,12,222,0	script	36FGate102tower	45,2,2,{
  1685. 	end;
  1686.  
  1687. OnInstanceInit:
  1688. 	disablenpc instance_npcname("36FGate102tower", instance_id());
  1689. 	end;
  1690.  
  1691. OnEnable:
  1692. 	enablenpc instance_npcname("36FGate102tower", instance_id());
  1693. 	areamonster "2@tower",93,180,103,216,"Clock Tower Manager",1270,10,instance_npcname("36FGate102tower", instance_id())+"::OnMyMobDead";
  1694. 	areamonster "2@tower",93,180,103,216,"Clock",1269,10,instance_npcname("36FGate102tower", instance_id())+"::OnMyMobDead";
  1695. 	areamonster "2@tower",93,180,103,216,"Alarm",1193,30,instance_npcname("36FGate102tower", instance_id())+"::OnMyMobDead";
  1696. 	end;
  1697.  
  1698. OnTouch_:
  1699. 	warp "2@tower",136,183;
  1700. 	end;
  1701.  
  1702. OnMyMobDead:
  1703. 	set .@mob_dead_num,mobcount("2@tower",instance_npcname("36FGate102tower", instance_id())+"::OnMyMobDead");
  1704. 	if (.@mob_dead_num < 1) {
  1705. 		instance_announce 0, "All Monsters on the 37th Floor have been defeated.",bc_map,"0xffff00";
  1706. 		donpcevent instance_npcname("37FGate102tower", instance_id())+"::OnEnable";
  1707. 		//SetItemPartyInMap in_102floor 37
  1708. 	}
  1709. 	else
  1710. 		instance_announce 0, "Remaining Monsters on the 37th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1711. 	end;
  1712. }
  1713.  
  1714. 2@tower,96,222,0	script	37FGate102tower	45,2,2,{
  1715. 	end;
  1716.  
  1717. OnInstanceInit:
  1718. 	disablenpc instance_npcname("37FGate102tower", instance_id());
  1719. 	end;
  1720.  
  1721. OnEnable:
  1722. 	enablenpc instance_npcname("37FGate102tower", instance_id());
  1723. 	areamonster "2@tower",181,180,191,216,"Death Word",1698,25,instance_npcname("37FGate102tower", instance_id())+"::OnMyMobDead";
  1724. 	areamonster "2@tower",181,180,191,216,"Rideword",1195,25,instance_npcname("37FGate102tower", instance_id())+"::OnMyMobDead";
  1725. 	end;
  1726.  
  1727. OnTouch_:
  1728. 	warp "2@tower",224,183;
  1729. 	end;
  1730.  
  1731. OnMyMobDead:
  1732. 	set .@mob_dead_num,mobcount("2@tower",instance_npcname("37FGate102tower", instance_id())+"::OnMyMobDead");
  1733. 	if (.@mob_dead_num < 1) {
  1734. 		instance_announce 0, "All Monsters on the 38th Floor have been defeated.",bc_map,"0xffff00";
  1735. 		donpcevent instance_npcname("38FGate102tower", instance_id())+"::OnEnable";
  1736. 		//SetItemPartyInMap in_102floor 38
  1737. 	}
  1738. 	else
  1739. 		instance_announce 0, "Remaining Monsters on the 38th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1740. 	end;
  1741. }
  1742.  
  1743. 2@tower,184,222,0	script	38FGate102tower	45,2,2,{
  1744. 	end;
  1745.  
  1746. OnInstanceInit:
  1747. 	disablenpc instance_npcname("38FGate102tower", instance_id());
  1748. 	end;
  1749.  
  1750. OnEnable:
  1751. 	enablenpc instance_npcname("38FGate102tower", instance_id());
  1752. 	areamonster "2@tower",267,180,277,216,"Evil Nymph",1416,10,instance_npcname("38FGate102tower", instance_id())+"::OnMyMobDead";
  1753. 	areamonster "2@tower",267,180,277,216,"Mao Gui",1513,10,instance_npcname("38FGate102tower", instance_id())+"::OnMyMobDead";
  1754. 	areamonster "2@tower",267,180,277,216,"Taoist Hermit",1412,10,instance_npcname("38FGate102tower", instance_id())+"::OnMyMobDead";
  1755. 	areamonster "2@tower",267,180,277,216,"Zhu Po Long",1514,10,instance_npcname("38FGate102tower", instance_id())+"::OnMyMobDead";
  1756. 	areamonster "2@tower",267,180,277,216,"Jin Guai",1517,5,instance_npcname("38FGate102tower", instance_id())+"::OnMyMobDead";
  1757. 	end;
  1758.  
  1759. OnTouch_:
  1760. 	warp "2@tower",310,183;
  1761. 	end;
  1762.  
  1763. OnMyMobDead:
  1764. 	set .@mob_dead_num,mobcount("2@tower",instance_npcname("38FGate102tower", instance_id())+"::OnMyMobDead");
  1765. 	if (.@mob_dead_num < 1) {
  1766. 		instance_announce 0, "All Monsters on the 39th Floor have been defeated.",bc_map,"0xffff00";
  1767. 		donpcevent instance_npcname("39FGate102tower", instance_id())+"::OnEnable";
  1768. 		//SetItemPartyInMap in_102floor 39
  1769. 	}
  1770. 	else
  1771. 		instance_announce 0, "Remaining Monsters on the 39th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1772. 	end;
  1773. }
  1774.  
  1775. 2@tower,270,222,0	script	39FGate102tower	45,2,2,{
  1776. 	end;
  1777.  
  1778. OnInstanceInit:
  1779. 	disablenpc instance_npcname("39FGate102tower", instance_id());
  1780. 	end;
  1781.  
  1782. OnEnable:
  1783. 	enablenpc instance_npcname("39FGate102tower", instance_id());
  1784. 	areamonster "2@tower",352,180,362,216,"Samurai Specter",1492,1,instance_npcname("39FGate102tower", instance_id())+"::OnMyMobDead";
  1785. 	areamonster "2@tower",352,180,362,216,"Shinobi",1401,10,instance_npcname("39FGate102tower", instance_id())+"::OnMyMobDead";
  1786. 	areamonster "2@tower",352,180,362,216,"Tengu",1405,10,instance_npcname("39FGate102tower", instance_id())+"::OnMyMobDead";
  1787. 	areamonster "2@tower",352,180,362,216,"Firelock Soldier",1403,5,instance_npcname("39FGate102tower", instance_id())+"::OnMyMobDead";
  1788. 	areamonster "2@tower",352,180,362,216,"Miyabi Doll",1404,10,instance_npcname("39FGate102tower", instance_id())+"::OnMyMobDead";
  1789. 	areamonster "2@tower",352,180,362,216,"Karakasa",1400,5,instance_npcname("39FGate102tower", instance_id())+"::OnMyMobDead";
  1790. 	end;
  1791.  
  1792. OnTouch_:
  1793. 	warp "2@tower",395,183;
  1794. 	end;
  1795.  
  1796. OnMyMobDead:
  1797. 	set .@mob_dead_num,mobcount("2@tower",instance_npcname("39FGate102tower", instance_id())+"::OnMyMobDead");
  1798. 	if (.@mob_dead_num < 1) {
  1799. 		instance_announce 0, "All Monsters on the 40th Floor have been defeated.",bc_map,"0xffff00";
  1800. 		donpcevent instance_npcname("40FGate102tower", instance_id())+"::OnEnable";
  1801. 		//SetItemPartyInMap in_102floor 40
  1802. 	}
  1803. 	else
  1804. 		instance_announce 0, "Remaining Monsters on the 40th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1805. 	end;
  1806. }
  1807.  
  1808. 2@tower,355,222,0	script	40FGate102tower	45,2,2,{
  1809. 	end;
  1810.  
  1811. OnInstanceInit:
  1812. 	disablenpc instance_npcname("40FGate102tower", instance_id());
  1813. 	end;
  1814.  
  1815. OnEnable:
  1816. 	enablenpc instance_npcname("40FGate102tower", instance_id());
  1817. 	areamonster "2@tower",9,96,19,132,"Kraben",1587,50,instance_npcname("40FGate102tower", instance_id())+"::OnMyMobDead";
  1818. 	end;
  1819.  
  1820. OnTouch_:
  1821. 	warp "2@tower",52,99;
  1822. 	end;
  1823.  
  1824. OnMyMobDead:
  1825. 	set .@mob_dead_num,mobcount("2@tower",instance_npcname("40FGate102tower", instance_id())+"::OnMyMobDead");
  1826. 	if (.@mob_dead_num < 1) {
  1827. 		instance_announce 0, "All Monsters on the 41st Floor have been defeated.",bc_map,"0xffff00";
  1828. 		donpcevent instance_npcname("41FGate102tower", instance_id())+"::OnEnable";
  1829. 		//SetItemPartyInMap in_102floor 41
  1830. 	}
  1831. 	else
  1832. 		instance_announce 0, "Remaining Monsters on the 41st Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1833. 	end;
  1834. }
  1835.  
  1836. 2@tower,12,138,0	script	41FGate102tower	45,2,2,{
  1837. 	end;
  1838.  
  1839. OnInstanceInit:
  1840. 	disablenpc instance_npcname("41FGate102tower", instance_id());
  1841. 	end;
  1842.  
  1843. OnEnable:
  1844. 	enablenpc instance_npcname("41FGate102tower", instance_id());
  1845. 	areamonster "2@tower",93,96,103,132,"Sleeper",1386,20,instance_npcname("41FGate102tower", instance_id())+"::OnMyMobDead";
  1846. 	areamonster "2@tower",93,96,103,132,"Sting",1207,10,instance_npcname("41FGate102tower", instance_id())+"::OnMyMobDead";
  1847. 	areamonster "2@tower",93,96,103,132,"Mi Gao",1516,10,instance_npcname("41FGate102tower", instance_id())+"::OnMyMobDead";
  1848. 	areamonster "2@tower",93,96,103,132,"Sandman",1165,5,instance_npcname("41FGate102tower", instance_id())+"::OnMyMobDead";
  1849. 	areamonster "2@tower",93,96,103,132,"Hode",1127,5,instance_npcname("41FGate102tower", instance_id())+"::OnMyMobDead";
  1850. 	end;
  1851.  
  1852. OnTouch_:
  1853. 	warp "2@tower",136,99;
  1854. 	end;
  1855.  
  1856. OnMyMobDead:
  1857. 	set .@mob_dead_num,mobcount("2@tower",instance_npcname("41FGate102tower", instance_id())+"::OnMyMobDead");
  1858. 	if (.@mob_dead_num < 1) {
  1859. 		instance_announce 0, "All Monsters on the 42nd Floor have been defeated.",bc_map,"0xffff00";
  1860. 		donpcevent instance_npcname("42FGate102tower", instance_id())+"::OnEnable";
  1861. 		//SetItemPartyInMap in_102floor 42
  1862. 	}
  1863. 	else
  1864. 		instance_announce 0, "Remaining Monsters on the 42nd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1865. 	end;
  1866. }
  1867.  
  1868. 2@tower,96,138,0	script	42FGate102tower	45,2,2,{
  1869. 	end;
  1870.  
  1871. OnInstanceInit:
  1872. 	disablenpc instance_npcname("42FGate102tower", instance_id());
  1873. 	end;
  1874.  
  1875. OnEnable:
  1876. 	enablenpc instance_npcname("42FGate102tower", instance_id());
  1877. 	areamonster "2@tower",181,96,191,132,"Medusa",1148,10,instance_npcname("42FGate102tower", instance_id())+"::OnMyMobDead";
  1878. 	areamonster "2@tower",181,96,191,132,"Sidewinder",1037,40,instance_npcname("42FGate102tower", instance_id())+"::OnMyMobDead";
  1879. 	areamonster "2@tower",181,96,191,132,"Anacondaq",1030,5,instance_npcname("42FGate102tower", instance_id())+"::OnMyMobDead";
  1880. 	areamonster "2@tower",181,96,191,132,"Boa",1025,5,instance_npcname("42FGate102tower", instance_id())+"::OnMyMobDead";
  1881. 	end;
  1882.  
  1883. OnTouch_:
  1884. 	warp "2@tower",224,99;
  1885. 	end;
  1886.  
  1887. OnMyMobDead:
  1888. 	set .@mob_dead_num,mobcount("2@tower",instance_npcname("42FGate102tower", instance_id())+"::OnMyMobDead");
  1889. 	if (.@mob_dead_num < 1) {
  1890. 		instance_announce 0, "All Monsters on the 43rd Floor have been defeated.",bc_map,"0xffff00";
  1891. 		donpcevent instance_npcname("43FGate102tower", instance_id())+"::OnEnable";
  1892. 		//SetItemPartyInMap in_102floor 43
  1893. 	}
  1894. 	else
  1895. 		instance_announce 0, "Remaining Monsters on the 43rd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1896. 	end;
  1897. }
  1898.  
  1899. 2@tower,184,138,0	script	43FGate102tower	45,2,2,{
  1900. 	end;
  1901.  
  1902. OnInstanceInit:
  1903. 	disablenpc instance_npcname("43FGate102tower", instance_id());
  1904. 	end;
  1905.  
  1906. OnEnable:
  1907. 	enablenpc instance_npcname("43FGate102tower", instance_id());
  1908. 	areamonster "2@tower",267,96,277,132,"Hatii Baby",1515,20,instance_npcname("43FGate102tower", instance_id())+"::OnMyMobDead";
  1909. 	areamonster "2@tower",267,96,277,132,"Baphomet Jr.",1101,20,instance_npcname("43FGate102tower", instance_id())+"::OnMyMobDead";
  1910. 	areamonster "2@tower",267,96,277,132,"Orc Baby",1686,1,instance_npcname("43FGate102tower", instance_id())+"::OnMyMobDead";
  1911. 	areamonster "2@tower",267,96,277,132,"Baby Desert Wolf",1107,10,instance_npcname("43FGate102tower", instance_id())+"::OnMyMobDead";
  1912. 	areamonster "2@tower",267,96,277,132,"Savage Babe",1167,10,instance_npcname("43FGate102tower", instance_id())+"::OnMyMobDead";
  1913. 	end;
  1914.  
  1915. OnTouch_:
  1916. 	warp "2@tower",310,99;
  1917. 	end;
  1918.  
  1919. OnMyMobDead:
  1920. 	set .@mob_dead_num,mobcount("2@tower",instance_npcname("43FGate102tower", instance_id())+"::OnMyMobDead");
  1921. 	if (.@mob_dead_num < 1) {
  1922. 		instance_announce 0, "All Monsters on the 44th Floor have been defeated.",bc_map,"0xffff00";
  1923. 		donpcevent instance_npcname("44FGate102tower", instance_id())+"::OnEnable";
  1924. 		//SetItemPartyInMap in_102floor 44
  1925. 	}
  1926. 	else
  1927. 		instance_announce 0, "Remaining Monsters on the 44th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1928. 	end;
  1929. }
  1930.  
  1931. 2@tower,270,138,0	script	44FGate102tower	45,2,2,{
  1932. 	end;
  1933.  
  1934. OnInstanceInit:
  1935. 	disablenpc instance_npcname("44FGate102tower", instance_id());
  1936. 	end;
  1937.  
  1938. OnEnable:
  1939. 	enablenpc instance_npcname("44FGate102tower", instance_id());
  1940. 	areamonster "2@tower",352,96,362,132,"Osiris",1038,1,instance_npcname("44FGate102tower", instance_id())+"::OnMyMobDead";
  1941. 	areamonster "2@tower",352,96,362,132,"Ancient Mummy",1297,15,instance_npcname("44FGate102tower", instance_id())+"::OnMyMobDead";
  1942. 	areamonster "2@tower",352,96,362,132,"Verit",1032,15,instance_npcname("44FGate102tower", instance_id())+"::OnMyMobDead";
  1943. 	areamonster "2@tower",352,96,362,132,"Mummy",1041,20,instance_npcname("44FGate102tower", instance_id())+"::OnMyMobDead";
  1944. 	end;
  1945.  
  1946. OnTouch_:
  1947. 	warp "2@tower",395,99;
  1948. 	end;
  1949.  
  1950. OnMyMobDead:
  1951. 	set .@mob_dead_num,mobcount("2@tower",instance_npcname("44FGate102tower", instance_id())+"::OnMyMobDead");
  1952. 	if (.@mob_dead_num < 1) {
  1953. 		instance_announce 0, "All Monsters on the 45th Floor have been defeated.",bc_map,"0xffff00";
  1954. 		donpcevent instance_npcname("45FGate102tower", instance_id())+"::OnEnable";
  1955. 		//SetItemPartyInMap in_102floor 45
  1956. 	}
  1957. 	else
  1958. 		instance_announce 0, "Remaining Monsters on the 45th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1959. 	end;
  1960. }
  1961.  
  1962. 2@tower,355,138,0	script	45FGate102tower	45,2,2,{
  1963. 	end;
  1964.  
  1965. OnInstanceInit:
  1966. 	disablenpc instance_npcname("45FGate102tower", instance_id());
  1967. 	end;
  1968.  
  1969. OnEnable:
  1970. 	enablenpc instance_npcname("45FGate102tower", instance_id());
  1971. 	areamonster "2@tower",9,9,19,45,"Seeker",1774,20,instance_npcname("45FGate102tower", instance_id())+"::OnMyMobDead";
  1972. 	areamonster "2@tower",9,9,19,45,"Beholder",1633,20,instance_npcname("45FGate102tower", instance_id())+"::OnMyMobDead";
  1973. 	end;
  1974.  
  1975. OnTouch_:
  1976. 	warp "2@tower",52,12;
  1977. 	end;
  1978.  
  1979. OnMyMobDead:
  1980. 	set .@mob_dead_num,mobcount("2@tower",instance_npcname("45FGate102tower", instance_id())+"::OnMyMobDead");
  1981. 	if (.@mob_dead_num < 1) {
  1982. 		instance_announce 0, "All Monsters on the 46th Floor have been defeated.",bc_map,"0xffff00";
  1983. 		donpcevent instance_npcname("46FGate102tower", instance_id())+"::OnEnable";
  1984. 		//SetItemPartyInMap in_102floor 46
  1985. 	}
  1986. 	else
  1987. 		instance_announce 0, "Remaining Monsters on the 46th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  1988. 	end;
  1989. }
  1990.  
  1991. 2@tower,12,51,0	script	46FGate102tower	45,2,2,{
  1992. 	end;
  1993.  
  1994. OnInstanceInit:
  1995. 	disablenpc instance_npcname("46FGate102tower", instance_id());
  1996. 	end;
  1997.  
  1998. OnEnable:
  1999. 	enablenpc instance_npcname("46FGate102tower", instance_id());
  2000. 	areamonster "2@tower",93,9,103,45,"Deleter",1384,20,instance_npcname("46FGate102tower", instance_id())+"::OnMyMobDead";
  2001. 	areamonster "2@tower",93,9,103,45,"Deleter",1385,10,instance_npcname("46FGate102tower", instance_id())+"::OnMyMobDead";
  2002. 	areamonster "2@tower",93,9,103,45,"Petite",1156,10,instance_npcname("46FGate102tower", instance_id())+"::OnMyMobDead";
  2003. 	areamonster "2@tower",93,9,103,45,"Petite",1155,10,instance_npcname("46FGate102tower", instance_id())+"::OnMyMobDead";
  2004. 	end;
  2005.  
  2006. OnTouch_:
  2007. 	warp "2@tower",136,12;
  2008. 	end;
  2009.  
  2010. OnMyMobDead:
  2011. 	set .@mob_dead_num,mobcount("2@tower",instance_npcname("46FGate102tower", instance_id())+"::OnMyMobDead");
  2012. 	if (.@mob_dead_num < 1) {
  2013. 		instance_announce 0, "All Monsters on the 47th Floor have been defeated.",bc_map,"0xffff00";
  2014. 		donpcevent instance_npcname("47FGate102tower", instance_id())+"::OnEnable";
  2015. 		//SetItemPartyInMap in_102floor 47
  2016. 	}
  2017. 	else
  2018. 		instance_announce 0, "Remaining Monsters on the 47 Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2019. 	end;
  2020. }
  2021.  
  2022. 2@tower,96,51,0	script	47FGate102tower	45,2,2,{
  2023. 	end;
  2024.  
  2025. OnInstanceInit:
  2026. 	disablenpc instance_npcname("47FGate102tower", instance_id());
  2027. 	end;
  2028.  
  2029. OnEnable:
  2030. 	enablenpc instance_npcname("47FGate102tower", instance_id());
  2031. 	areamonster "2@tower",181,9,191,45,"Ancient Worm",1305,10,instance_npcname("47FGate102tower", instance_id())+"::OnMyMobDead";
  2032. 	areamonster "2@tower",181,9,191,45,"Ancient Mummy",1297,10,instance_npcname("47FGate102tower", instance_id())+"::OnMyMobDead";
  2033. 	areamonster "2@tower",181,9,191,45,"Ancient Mimic",1699,10,instance_npcname("47FGate102tower", instance_id())+"::OnMyMobDead";
  2034. 	end;
  2035.  
  2036. OnTouch_:
  2037. 	warp "2@tower",224,12;
  2038. 	end;
  2039.  
  2040. OnMyMobDead:
  2041. 	set .@mob_dead_num,mobcount("2@tower",instance_npcname("47FGate102tower", instance_id())+"::OnMyMobDead");
  2042. 	if (.@mob_dead_num < 1) {
  2043. 		instance_announce 0, "All Monsters on the 48th Floor have been defeated.",bc_map,"0xffff00";
  2044. 		donpcevent instance_npcname("48FGate102tower", instance_id())+"::OnEnable";
  2045. 		//SetItemPartyInMap in_102floor 48
  2046. 	}
  2047. 	else
  2048. 		instance_announce 0, "Remaining Monsters on the 48th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2049. 	end;
  2050. }
  2051.  
  2052. 2@tower,184,51,0	script	48FGate102tower	45,2,2,{
  2053. 	end;
  2054.  
  2055. OnInstanceInit:
  2056. 	disablenpc instance_npcname("48FGate102tower", instance_id());
  2057. 	end;
  2058.  
  2059. OnEnable:
  2060. 	enablenpc instance_npcname("48FGate102tower", instance_id());
  2061. 	areamonster "2@tower",267,9,277,45,"Grizzly",1381,20,instance_npcname("48FGate102tower", instance_id())+"::OnMyMobDead";
  2062. 	areamonster "2@tower",267,9,277,45,"Leib Olmai",1306,7,instance_npcname("48FGate102tower", instance_id())+"::OnMyMobDead";
  2063. 	areamonster "2@tower",267,9,277,45,"Zipper Bear",1417,5,instance_npcname("48FGate102tower", instance_id())+"::OnMyMobDead";
  2064. 	areamonster "2@tower",267,9,277,45,"Sasquatch",1243,5,instance_npcname("48FGate102tower", instance_id())+"::OnMyMobDead";
  2065. 	areamonster "2@tower",267,9,277,45,"Bigfoot",1060,5,instance_npcname("48FGate102tower", instance_id())+"::OnMyMobDead";
  2066. 	end;
  2067.  
  2068. OnTouch_:
  2069. 	warp "2@tower",310,12;
  2070. 	end;
  2071.  
  2072. OnMyMobDead:
  2073. 	set .@mob_dead_num,mobcount("2@tower",instance_npcname("48FGate102tower", instance_id())+"::OnMyMobDead");
  2074. 	if (.@mob_dead_num < 1) {
  2075. 		instance_announce 0, "All Monsters on the 49th Floor have been defeated.",bc_map,"0xffff00";
  2076. 		donpcevent instance_npcname("49FGate102tower", instance_id())+"::OnEnable";
  2077. 		//SetItemPartyInMap in_102floor 49
  2078. 	}
  2079. 	else
  2080. 		instance_announce 0, "Remaining Monsters on the 49th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2081. 	end;
  2082. }
  2083.  
  2084. 2@tower,270,51,0	script	49FGate102tower	45,2,2,{
  2085. 	end;
  2086.  
  2087. OnInstanceInit:
  2088. 	disablenpc instance_npcname("49FGate102tower", instance_id());
  2089. 	end;
  2090.  
  2091. OnEnable:
  2092. 	enablenpc instance_npcname("49FGate102tower", instance_id());
  2093. 	areamonster "2@tower",352,9,362,45,"Pharaoh",1157,1,instance_npcname("49FGate102tower", instance_id())+"::OnMyMobDead";
  2094. 	areamonster "2@tower",352,9,362,45,"Amon Ra",1511,1,instance_npcname("49FGate102tower", instance_id())+"::OnMyMobDead";
  2095. 	areamonster "2@tower",352,9,362,45,"Anubis",1098,10,instance_npcname("49FGate102tower", instance_id())+"::OnMyMobDead";
  2096. 	areamonster "2@tower",352,9,362,45,"Marduk",1140,10,instance_npcname("49FGate102tower", instance_id())+"::OnMyMobDead";
  2097. 	areamonster "2@tower",352,9,362,45,"Matyr",1146,10,instance_npcname("49FGate102tower", instance_id())+"::OnMyMobDead";
  2098. 	end;
  2099.  
  2100. OnTouch_:
  2101. 	warp "2@tower",395,12;
  2102. 	end;
  2103.  
  2104. OnMyMobDead:
  2105. 	set .@mob_dead_num,mobcount("2@tower",instance_npcname("49FGate102tower", instance_id())+"::OnMyMobDead");
  2106. 	if (.@mob_dead_num < 1) {
  2107. 		instance_announce 0, "All Monsters on the 50th Floor have been defeated.",bc_map,"0xffff00";
  2108. 		donpcevent instance_npcname("50FGate102tower", instance_id())+"::OnEnable";
  2109. 		//SetItemPartyInMap in_102floor 50
  2110. 	}
  2111. 	else
  2112. 		instance_announce 0, "Remaining Monsters on the 50th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2113. 	end;
  2114. }
  2115.  
  2116. 2@tower,355,51,0	script	50FGate102tower	45,2,2,{
  2117. 	end;
  2118.  
  2119. OnInstanceInit:
  2120. 	disablenpc instance_npcname("50FGate102tower", instance_id());
  2121. 	end;
  2122.  
  2123. OnEnable:
  2124. 	enablenpc instance_npcname("50FGate102tower", instance_id());
  2125. 	initnpctimer;
  2126. 	end;
  2127.  
  2128. OnTouch_:
  2129. 	getitem 6000,1; //Dark_Ashes
  2130. 	warp "3@tower",52,354;
  2131. 	end;
  2132.  
  2133. OnTimer120000:
  2134. 	disablenpc instance_npcname("50FGate102tower", instance_id());
  2135. 	donpcevent instance_npcname("50FGate102tower-2", instance_id())+"::OnEnable";
  2136. 	stopnpctimer;
  2137. 	end;
  2138. }
  2139.  
  2140. 2@tower,355,51,0	script	50FGate102tower-2	45,2,2,{
  2141. 	end;
  2142.  
  2143. OnInstanceInit:
  2144. 	disablenpc instance_npcname("50FGate102tower-2", instance_id());
  2145. 	end;
  2146.  
  2147. OnEnable:
  2148. 	enablenpc instance_npcname("50FGate102tower-2", instance_id());
  2149. 	end;
  2150.  
  2151. OnTouch_:
  2152. 	warp "3@tower",52,354;
  2153. 	end;
  2154. }
  2155.  
  2156. /*
  2157. 2@tower,71,1,0	script	#Manager Mode2	844,{
  2158. 	mes "Please enter the password.";
  2159. 	input .@inputstr$;
  2160. 	next;
  2161. 	if (.@inputstr$ == "dmc2008") {
  2162. 		mes "This NPC manages the tower from the 26st to the 50th Floor.";
  2163. 		mes "Please enter the Floor number to open.";
  2164. 		mes "(i.g.: 26F->26, 50F->50)";
  2165. 		input .@input,26,50;
  2166. 		next;
  2167. 		if (.@onput < 26 || .@input > 50)
  2168. 			mes "You can only enter a number from 26 to 50.";
  2169. 		else {
  2170. 			donpcevent instance_npcname(.@input+"FGate102tower", instance_id())+"::OnEnable";
  2171. 			mes "*** Floor "+ .@input + " is now being opened. ***";
  2172. 		}
  2173. 	}
  2174. 	close;
  2175. }
  2176. */
  2177.  
  2178. // Floors 51-75
  2179. 3@tower,29,365,2	script	Immortal Furnace#2	844,{
  2180. 	end;
  2181.  
  2182. OnInstanceInit:
  2183. 	areamonster "3@tower",9,351,19,387,"Mini Demon",1292,20,instance_npcname("Immortal Furnace#2", instance_id())+"::OnMyMobDead";
  2184. 	areamonster "3@tower",9,351,19,387,"Diabolic",1382,20,instance_npcname("Immortal Furnace#2", instance_id())+"::OnMyMobDead";
  2185. 	areamonster "3@tower",9,351,19,387,"Deviruchi",1109,10,instance_npcname("Immortal Furnace#2", instance_id())+"::OnMyMobDead";
  2186. 	end;
  2187.  
  2188. OnMyMobDead:
  2189. 	set .@mob_dead_num,mobcount("3@tower",instance_npcname("Immortal Furnace#2", instance_id())+"::OnMyMobDead");
  2190. 	if (.@mob_dead_num < 1) {
  2191. 		instance_announce 0, "All Monsters on the 51st Floor have been defeated.",bc_map,"0xffff00";
  2192. 		donpcevent instance_npcname("51FGate102tower", instance_id())+"::OnEnable";
  2193. 		//SetItemPartyInMap in_102floor 51
  2194. 	}
  2195. 	else
  2196. 		instance_announce 0, "Remaining Monsters on the 51st Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2197. 	end;
  2198. }
  2199.  
  2200. 3@tower,12,393,0	script	51FGate102tower	45,2,2,{
  2201. 	end;
  2202.  
  2203. OnInstanceInit:
  2204. 	disablenpc instance_npcname("51FGate102tower", instance_id());
  2205. 	end;
  2206.  
  2207. OnEnable:
  2208. 	enablenpc instance_npcname("51FGate102tower", instance_id());
  2209. 	areamonster "3@tower",93,351,103,387,"Harpy",1376,20,instance_npcname("51FGate102tower", instance_id())+"::OnMyMobDead";
  2210. 	areamonster "3@tower",93,351,103,387,"Grand Peco",1369,10,instance_npcname("51FGate102tower", instance_id())+"::OnMyMobDead";
  2211. 	areamonster "3@tower",93,351,103,387,"Bloody Butterfly",1408,10,instance_npcname("51FGate102tower", instance_id())+"::OnMyMobDead";
  2212. 	areamonster "3@tower",93,351,103,387,"Gargoyle",1253,10,instance_npcname("51FGate102tower", instance_id())+"::OnMyMobDead";
  2213. 	areamonster "3@tower",93,351,103,387,"Hill Wind",1680,5,instance_npcname("51FGate102tower", instance_id())+"::OnMyMobDead";
  2214. 	areamonster "3@tower",93,351,103,387,"Hill Wind",1629,5,instance_npcname("51FGate102tower", instance_id())+"::OnMyMobDead";
  2215. 	end;
  2216.  
  2217. OnTouch_:
  2218. 	warp "3@tower",136,354;
  2219. 	end;
  2220.  
  2221. OnMyMobDead:
  2222. 	set .@mob_dead_num,mobcount("3@tower",instance_npcname("51FGate102tower", instance_id())+"::OnMyMobDead");
  2223. 	if (.@mob_dead_num < 1) {
  2224. 		instance_announce 0, "All Monsters on the 52nd Floor have been defeated.",bc_map,"0xffff00";
  2225. 		donpcevent instance_npcname("52FGate102tower", instance_id())+"::OnEnable";
  2226. 		//SetItemPartyInMap in_102floor 52
  2227. 	}
  2228. 	else
  2229. 		instance_announce 0, "Remaining Monsters on the 52nd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2230. 	end;
  2231. }
  2232.  
  2233. 3@tower,96,393,0	script	52FGate102tower	45,2,2,{
  2234. 	end;
  2235.  
  2236. OnInstanceInit:
  2237. 	disablenpc instance_npcname("52FGate102tower", instance_id());
  2238. 	end;
  2239.  
  2240. OnEnable:
  2241. 	enablenpc instance_npcname("52FGate102tower", instance_id());
  2242. 	areamonster "3@tower",181,351,191,387,"Assaulter",1315,25,instance_npcname("52FGate102tower", instance_id())+"::OnMyMobDead";
  2243. 	areamonster "3@tower",181,351,191,387,"Shinobi",1401,30,instance_npcname("52FGate102tower", instance_id())+"::OnMyMobDead";
  2244. 	end;
  2245.  
  2246. OnTouch_:
  2247. 	warp "3@tower",224,354;
  2248. 	end;
  2249.  
  2250. OnMyMobDead:
  2251. 	set .@mob_dead_num,mobcount("3@tower",instance_npcname("52FGate102tower", instance_id())+"::OnMyMobDead");
  2252. 	if (.@mob_dead_num < 1) {
  2253. 		instance_announce 0, "All Monsters on the 53rd Floor have been defeated.",bc_map,"0xffff00";
  2254. 		donpcevent instance_npcname("53FGate102tower", instance_id())+"::OnEnable";
  2255. 		//SetItemPartyInMap in_102floor 53
  2256. 	}
  2257. 	else
  2258. 		instance_announce 0, "Remaining Monsters on the 53rd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2259. 	end;
  2260. }
  2261.  
  2262. 3@tower,184,393,0	script	53FGate102tower	45,2,2,{
  2263. 	end;
  2264.  
  2265. OnInstanceInit:
  2266. 	disablenpc instance_npcname("53FGate102tower", instance_id());
  2267. 	end;
  2268.  
  2269. OnEnable:
  2270. 	enablenpc instance_npcname("53FGate102tower", instance_id());
  2271. 	areamonster "3@tower",267,351,277,387,"Chepet",1250,10,instance_npcname("53FGate102tower", instance_id())+"::OnMyMobDead";
  2272. 	areamonster "3@tower",267,351,277,387,"Mariontte",1143,10,instance_npcname("53FGate102tower", instance_id())+"::OnMyMobDead";
  2273. 	areamonster "3@tower",267,351,277,387,"Miyabi Doll",1404,10,instance_npcname("53FGate102tower", instance_id())+"::OnMyMobDead";
  2274. 	end;
  2275.  
  2276. OnTouch_:
  2277. 	warp "3@tower",310,354;
  2278. 	end;
  2279.  
  2280. OnMyMobDead:
  2281. 	set .@mob_dead_num,mobcount("3@tower",instance_npcname("53FGate102tower", instance_id())+"::OnMyMobDead");
  2282. 	if (.@mob_dead_num < 1) {
  2283. 		instance_announce 0, "All Monsters on the 54th Floor have been defeated.",bc_map,"0xffff00";
  2284. 		donpcevent instance_npcname("54FGate102tower", instance_id())+"::OnEnable";
  2285. 		//SetItemPartyInMap in_102floor 54
  2286. 	}
  2287. 	else
  2288. 		instance_announce 0, "Remaining Monsters on the 54th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2289. 	end;
  2290. }
  2291.  
  2292. 3@tower,270,393,0	script	54FGate102tower	45,2,2,{
  2293. 	end;
  2294.  
  2295. OnInstanceInit:
  2296. 	disablenpc instance_npcname("54FGate102tower", instance_id());
  2297. 	end;
  2298.  
  2299. OnEnable:
  2300. 	enablenpc instance_npcname("54FGate102tower", instance_id());
  2301. 	areamonster "3@tower",352,351,362,387,"Medusa",1148,25,instance_npcname("54FGate102tower", instance_id())+"::OnMyMobDead";
  2302. 	areamonster "3@tower",352,351,362,387,"Evil Snake Lord",1418,1,instance_npcname("54FGate102tower", instance_id())+"::OnMyMobDead";
  2303. 	areamonster "3@tower",352,351,362,387,"Isis",1029,15,instance_npcname("54FGate102tower", instance_id())+"::OnMyMobDead";
  2304. 	areamonster "3@tower",352,351,362,387,"Sidewinder",1037,15,instance_npcname("54FGate102tower", instance_id())+"::OnMyMobDead";
  2305. 	end;
  2306.  
  2307. OnTouch_:
  2308. 	warp "3@tower",395,354;
  2309. 	end;
  2310.  
  2311. OnMyMobDead:
  2312. 	set .@mob_dead_num,mobcount("3@tower",instance_npcname("54FGate102tower", instance_id())+"::OnMyMobDead");
  2313. 	if (.@mob_dead_num < 1) {
  2314. 		instance_announce 0, "All Monsters on the 55th Floor have been defeated.",bc_map,"0xffff00";
  2315. 		donpcevent instance_npcname("55FGate102tower", instance_id())+"::OnEnable";
  2316. 		//SetItemPartyInMap in_102floor 55
  2317. 	}
  2318. 	else
  2319. 		instance_announce 0, "Remaining Monsters on the 55th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2320. 	end;
  2321. }
  2322.  
  2323. 3@tower,355,393,0	script	55FGate102tower	45,2,2,{
  2324. 	end;
  2325.  
  2326. OnInstanceInit:
  2327. 	disablenpc instance_npcname("55FGate102tower", instance_id());
  2328. 	end;
  2329.  
  2330. OnEnable:
  2331. 	enablenpc instance_npcname("55FGate102tower", instance_id());
  2332. 	areamonster "3@tower",9,267,19,303,"Freezer",1319,10,instance_npcname("55FGate102tower", instance_id())+"::OnMyMobDead";
  2333. 	areamonster "3@tower",9,267,19,303,"Hatii Baby",1515,10,instance_npcname("55FGate102tower", instance_id())+"::OnMyMobDead";
  2334. 	areamonster "3@tower",9,267,19,303,"Ice Titan",1777,15,instance_npcname("55FGate102tower", instance_id())+"::OnMyMobDead";
  2335. 	areamonster "3@tower",9,267,19,303,"Snowier",1775,10,instance_npcname("55FGate102tower", instance_id())+"::OnMyMobDead";
  2336. 	areamonster "3@tower",9,267,19,303,"Gazeti",1778,10,instance_npcname("55FGate102tower", instance_id())+"::OnMyMobDead";
  2337. 	end;
  2338.  
  2339. OnTouch_:
  2340. 	warp "3@tower",52,270;
  2341. 	end;
  2342.  
  2343. OnMyMobDead:
  2344. 	set .@mob_dead_num,mobcount("3@tower",instance_npcname("55FGate102tower", instance_id())+"::OnMyMobDead");
  2345. 	if (.@mob_dead_num < 1) {
  2346. 		instance_announce 0, "All Monsters on the 56th Floor have been defeated.",bc_map,"0xffff00";
  2347. 		donpcevent instance_npcname("56FGate102tower", instance_id())+"::OnEnable";
  2348. 		//SetItemPartyInMap in_102floor 56
  2349. 	}
  2350. 	else
  2351. 		instance_announce 0, "Remaining Monsters on the 56th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2352. 	end;
  2353. }
  2354.  
  2355. 3@tower,12,309,0	script	56FGate102tower	45,2,2,{
  2356. 	end;
  2357.  
  2358. OnInstanceInit:
  2359. 	disablenpc instance_npcname("56FGate102tower", instance_id());
  2360. 	end;
  2361.  
  2362. OnEnable:
  2363. 	enablenpc instance_npcname("56FGate102tower", instance_id());
  2364. 	areamonster "3@tower",93,267,103,303,"Arc Angeling",1388,1,instance_npcname("56FGate102tower", instance_id())+"::OnMyMobDead";
  2365. 	areamonster "3@tower",93,267,103,303,"Deviling",1582,1,instance_npcname("56FGate102tower", instance_id())+"::OnMyMobDead";
  2366. 	areamonster "3@tower",93,267,103,303,"Angeling",1096,1,instance_npcname("56FGate102tower", instance_id())+"::OnMyMobDead";
  2367. 	areamonster "3@tower",93,267,103,303,"Ghostring",1120,1,instance_npcname("56FGate102tower", instance_id())+"::OnMyMobDead";
  2368. 	areamonster "3@tower",93,267,103,303,"Mastering",1090,1,instance_npcname("56FGate102tower", instance_id())+"::OnMyMobDead";
  2369. 	areamonster "3@tower",93,267,103,303,"Metaling",1613,25,instance_npcname("56FGate102tower", instance_id())+"::OnMyMobDead";
  2370. 	areamonster "3@tower",93,267,103,303,"Marin",1242,5,instance_npcname("56FGate102tower", instance_id())+"::OnMyMobDead";
  2371. 	areamonster "3@tower",93,267,103,303,"Poporing",1031,5,instance_npcname("56FGate102tower", instance_id())+"::OnMyMobDead";
  2372. 	areamonster "3@tower",93,267,103,303,"Drops",1113,5,instance_npcname("56FGate102tower", instance_id())+"::OnMyMobDead";
  2373. 	end;
  2374.  
  2375. OnTouch_:
  2376. 	warp "3@tower",136,270;
  2377. 	end;
  2378.  
  2379. OnMyMobDead:
  2380. 	set .@mob_dead_num,mobcount("3@tower",instance_npcname("56FGate102tower", instance_id())+"::OnMyMobDead");
  2381. 	if (.@mob_dead_num < 1) {
  2382. 		instance_announce 0, "All Monsters on the 57th Floor have been defeated.",bc_map,"0xffff00";
  2383. 		donpcevent instance_npcname("57FGate102tower", instance_id())+"::OnEnable";
  2384. 		//SetItemPartyInMap in_102floor 57
  2385. 	}
  2386. 	else
  2387. 		instance_announce 0, "Remaining Monsters on the 57th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2388. 	end;
  2389. }
  2390.  
  2391. 3@tower,96,309,0	script	57FGate102tower	45,2,2,{
  2392. 	end;
  2393.  
  2394. OnInstanceInit:
  2395. 	disablenpc instance_npcname("57FGate102tower", instance_id());
  2396. 	end;
  2397.  
  2398. OnEnable:
  2399. 	enablenpc instance_npcname("57FGate102tower", instance_id());
  2400. 	areamonster "3@tower",181,267,191,303,"Phendark",1202,20,instance_npcname("57FGate102tower", instance_id())+"::OnMyMobDead";
  2401. 	areamonster "3@tower",181,267,191,303,"Rybio",1201,10,instance_npcname("57FGate102tower", instance_id())+"::OnMyMobDead";
  2402. 	areamonster "3@tower",181,267,191,303,"Zombie Prisoner",1197,10,instance_npcname("57FGate102tower", instance_id())+"::OnMyMobDead";
  2403. 	areamonster "3@tower",181,267,191,303,"Skeleton Prisoner",1196,5,instance_npcname("57FGate102tower", instance_id())+"::OnMyMobDead";
  2404. 	areamonster "3@tower",181,267,191,303,"Injustice",1257,5,instance_npcname("57FGate102tower", instance_id())+"::OnMyMobDead";
  2405. 	end;
  2406.  
  2407. OnTouch_:
  2408. 	warp "3@tower",224,270;
  2409. 	end;
  2410.  
  2411. OnMyMobDead:
  2412. 	set .@mob_dead_num,mobcount("3@tower",instance_npcname("57FGate102tower", instance_id())+"::OnMyMobDead");
  2413. 	if (.@mob_dead_num < 1) {
  2414. 		instance_announce 0, "All Monsters on the 58th Floor have been defeated.",bc_map,"0xffff00";
  2415. 		donpcevent instance_npcname("58FGate102tower", instance_id())+"::OnEnable";
  2416. 		//SetItemPartyInMap in_102floor 58
  2417. 	}
  2418. 	else
  2419. 		instance_announce 0, "Remaining Monsters on the 58th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2420. 	end;
  2421. }
  2422.  
  2423. 3@tower,184,309,0	script	58FGate102tower	45,2,2,{
  2424. 	end;
  2425.  
  2426. OnInstanceInit:
  2427. 	disablenpc instance_npcname("58FGate102tower", instance_id());
  2428. 	end;
  2429.  
  2430. OnEnable:
  2431. 	enablenpc instance_npcname("58FGate102tower", instance_id());
  2432. 	areamonster "3@tower",267,267,277,303,"Ancient Mimic",1699,30,instance_npcname("58FGate102tower", instance_id())+"::OnMyMobDead";
  2433. 	areamonster "3@tower",267,267,277,303,"Mimic",1191,20,instance_npcname("58FGate102tower", instance_id())+"::OnMyMobDead";
  2434. 	areamonster "3@tower",267,267,277,303,"Mystcase",1249,10,instance_npcname("58FGate102tower", instance_id())+"::OnMyMobDead";
  2435. 	end;
  2436.  
  2437. OnTouch_:
  2438. 	warp "3@tower",310,270;
  2439. 	end;
  2440.  
  2441. OnMyMobDead:
  2442. 	set .@mob_dead_num,mobcount("3@tower",instance_npcname("58FGate102tower", instance_id())+"::OnMyMobDead");
  2443. 	if (.@mob_dead_num < 1) {
  2444. 		instance_announce 0, "All Monsters on the 59th Floor have been defeated.",bc_map,"0xffff00";
  2445. 		donpcevent instance_npcname("59FGate102tower", instance_id())+"::OnEnable";
  2446. 		//SetItemPartyInMap in_102floor 59
  2447. 	}
  2448. 	else
  2449. 		instance_announce 0, "Remaining Monsters on the 59th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2450. 	end;
  2451. }
  2452.  
  2453. 3@tower,270,309,0	script	59FGate102tower	45,2,2,{
  2454. 	end;
  2455.  
  2456. OnInstanceInit:
  2457. 	disablenpc instance_npcname("59FGate102tower", instance_id());
  2458. 	end;
  2459.  
  2460. OnEnable:
  2461. 	enablenpc instance_npcname("59FGate102tower", instance_id());
  2462. 	areamonster "3@tower",352,267,362,303,"Egnigem Cenia",1658,1,instance_npcname("59FGate102tower", instance_id())+"::OnMyMobDead";
  2463. 	areamonster "3@tower",352,267,362,303,"Doppelganger",1046,1,instance_npcname("59FGate102tower", instance_id())+"::OnMyMobDead";
  2464. 	areamonster "3@tower",352,267,362,303,"Armeyer Dinze",1654,10,instance_npcname("59FGate102tower", instance_id())+"::OnMyMobDead";
  2465. 	areamonster "3@tower",352,267,362,303,"Wickebine Tres",1653,10,instance_npcname("59FGate102tower", instance_id())+"::OnMyMobDead";
  2466. 	areamonster "3@tower",352,267,362,303,"Laurell Winder",1657,10,instance_npcname("59FGate102tower", instance_id())+"::OnMyMobDead";
  2467. 	areamonster "3@tower",352,267,362,303,"Kavach Icarus",1656,10,instance_npcname("59FGate102tower", instance_id())+"::OnMyMobDead";
  2468. 	areamonster "3@tower",352,267,362,303,"Errende Ebecee",1655,10,instance_npcname("59FGate102tower", instance_id())+"::OnMyMobDead";
  2469. 	areamonster "3@tower",352,267,362,303,"Egnigem Cenia",1652,10,instance_npcname("59FGate102tower", instance_id())+"::OnMyMobDead";
  2470. 	end;
  2471.  
  2472. OnTouch_:
  2473. 	warp "3@tower",395,270;
  2474. 	end;
  2475.  
  2476. OnMyMobDead:
  2477. 	set .@mob_dead_num,mobcount("3@tower",instance_npcname("59FGate102tower", instance_id())+"::OnMyMobDead");
  2478. 	if (.@mob_dead_num < 1) {
  2479. 		instance_announce 0, "All Monsters on the 60th Floor have been defeated.",bc_map,"0xffff00";
  2480. 		donpcevent instance_npcname("60FGate102tower", instance_id())+"::OnEnable";
  2481. 		//SetItemPartyInMap in_102floor 60
  2482. 	}
  2483. 	else
  2484. 		instance_announce 0, "Remaining Monsters on the 60th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2485. 	end;
  2486. }
  2487.  
  2488. 3@tower,355,309,0	script	60FGate102tower	45,2,2,{
  2489. 	end;
  2490.  
  2491. OnInstanceInit:
  2492. 	disablenpc instance_npcname("60FGate102tower", instance_id());
  2493. 	end;
  2494.  
  2495. OnEnable:
  2496. 	enablenpc instance_npcname("60FGate102tower", instance_id());
  2497. 	areamonster "3@tower",9,180,19,216,"Agav",1769,10,instance_npcname("60FGate102tower", instance_id())+"::OnMyMobDead";
  2498. 	areamonster "3@tower",9,180,19,216,"Echio",1770,10,instance_npcname("60FGate102tower", instance_id())+"::OnMyMobDead";
  2499. 	areamonster "3@tower",9,180,19,216,"Isilla",1772,5,instance_npcname("60FGate102tower", instance_id())+"::OnMyMobDead";
  2500. 	areamonster "3@tower",9,180,19,216,"Mobster",1313,10,instance_npcname("60FGate102tower", instance_id())+"::OnMyMobDead";
  2501. 	areamonster "3@tower",9,180,19,216,"Pasana",1154,10,instance_npcname("60FGate102tower", instance_id())+"::OnMyMobDead";
  2502. 	areamonster "3@tower",9,180,19,216,"Vanberk",1771,5,instance_npcname("60FGate102tower", instance_id())+"::OnMyMobDead";
  2503. 	end;
  2504.  
  2505. OnTouch_:
  2506. 	warp "3@tower",52,183;
  2507. 	end;
  2508.  
  2509. OnMyMobDead:
  2510. 	set .@mob_dead_num,mobcount("3@tower",instance_npcname("60FGate102tower", instance_id())+"::OnMyMobDead");
  2511. 	if (.@mob_dead_num < 1) {
  2512. 		instance_announce 0, "All Monsters on the 61st Floor have been defeated.",bc_map,"0xffff00";
  2513. 		donpcevent instance_npcname("61FGate102tower", instance_id())+"::OnEnable";
  2514. 		//SetItemPartyInMap in_102floor 61
  2515. 	}
  2516. 	else
  2517. 		instance_announce 0, "Remaining Monsters on the 61st Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2518. 	end;
  2519. }
  2520.  
  2521. 3@tower,12,222,0	script	61FGate102tower	45,2,2,{
  2522. 	end;
  2523.  
  2524. OnInstanceInit:
  2525. 	disablenpc instance_npcname("61FGate102tower", instance_id());
  2526. 	end;
  2527.  
  2528. OnEnable:
  2529. 	enablenpc instance_npcname("61FGate102tower", instance_id());
  2530. 	areamonster "3@tower",93,180,103,216,"Wanderer",1208,35,instance_npcname("61FGate102tower", instance_id())+"::OnMyMobDead";
  2531. 	end;
  2532.  
  2533. OnTouch_:
  2534. 	warp "3@tower",136,183;
  2535. 	end;
  2536.  
  2537. OnMyMobDead:
  2538. 	set .@mob_dead_num,mobcount("3@tower",instance_npcname("61FGate102tower", instance_id())+"::OnMyMobDead");
  2539. 	if (.@mob_dead_num < 1) {
  2540. 		instance_announce 0, "All Monsters on the 62nd Floor have been defeated.",bc_map,"0xffff00";
  2541. 		donpcevent instance_npcname("62FGate102tower", instance_id())+"::OnEnable";
  2542. 		//SetItemPartyInMap in_102floor 62
  2543. 	}
  2544. 	else
  2545. 		instance_announce 0, "Remaining Monsters on the 62nd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2546. 	end;
  2547. }
  2548.  
  2549. 3@tower,96,222,0	script	62FGate102tower	45,2,2,{
  2550. 	end;
  2551.  
  2552. OnInstanceInit:
  2553. 	disablenpc instance_npcname("62FGate102tower", instance_id());
  2554. 	end;
  2555.  
  2556. OnEnable:
  2557. 	enablenpc instance_npcname("62FGate102tower", instance_id());
  2558. 	areamonster "3@tower",181,180,191,216,"Ragged Zombie",1865,20,instance_npcname("62FGate102tower", instance_id())+"::OnMyMobDead";
  2559. 	areamonster "3@tower",181,180,191,216,"Zombie Master",1298,10,instance_npcname("62FGate102tower", instance_id())+"::OnMyMobDead";
  2560. 	areamonster "3@tower",181,180,191,216,"Zombie Prisoner",1197,5,instance_npcname("62FGate102tower", instance_id())+"::OnMyMobDead";
  2561. 	areamonster "3@tower",181,180,191,216,"Orc Zombie",1153,5,instance_npcname("62FGate102tower", instance_id())+"::OnMyMobDead";
  2562. 	areamonster "3@tower",181,180,191,216,"Zombie",1015,5,instance_npcname("62FGate102tower", instance_id())+"::OnMyMobDead";
  2563. 	end;
  2564.  
  2565. OnTouch_:
  2566. 	warp "3@tower",224,183;
  2567. 	end;
  2568.  
  2569. OnMyMobDead:
  2570. 	set .@mob_dead_num,mobcount("3@tower",instance_npcname("62FGate102tower", instance_id())+"::OnMyMobDead");
  2571. 	if (.@mob_dead_num < 1) {
  2572. 		instance_announce 0, "All Monsters on the 63rd Floor have been defeated.",bc_map,"0xffff00";
  2573. 		donpcevent instance_npcname("63FGate102tower", instance_id())+"::OnEnable";
  2574. 		//SetItemPartyInMap in_102floor 63
  2575. 	}
  2576. 	else
  2577. 		instance_announce 0, "Remaining Monsters on the 63rd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2578. 	end;
  2579. }
  2580.  
  2581. 3@tower,184,222,0	script	63FGate102tower	45,2,2,{
  2582. 	end;
  2583.  
  2584. OnInstanceInit:
  2585. 	disablenpc instance_npcname("63FGate102tower", instance_id());
  2586. 	end;
  2587.  
  2588. OnEnable:
  2589. 	enablenpc instance_npcname("63FGate102tower", instance_id());
  2590. 	areamonster "3@tower",267,180,277,216,"Ungoliant",1618,30,instance_npcname("63FGate102tower", instance_id())+"::OnMyMobDead";
  2591. 	areamonster "3@tower",267,180,277,216,"Ancient Worm",1305,2,instance_npcname("63FGate102tower", instance_id())+"::OnMyMobDead";
  2592. 	areamonster "3@tower",267,180,277,216,"Caterpillar",1300,2,instance_npcname("63FGate102tower", instance_id())+"::OnMyMobDead";
  2593. 	areamonster "3@tower",267,180,277,216,"Creamy Fear",1293,2,instance_npcname("63FGate102tower", instance_id())+"::OnMyMobDead";
  2594. 	areamonster "3@tower",267,180,277,216,"Killer Mantis",1294,2,instance_npcname("63FGate102tower", instance_id())+"::OnMyMobDead";
  2595. 	areamonster "3@tower",267,180,277,216,"Giant Hornet",1303,2,instance_npcname("63FGate102tower", instance_id())+"::OnMyMobDead";
  2596. 	end;
  2597.  
  2598. OnTouch_:
  2599. 	warp "3@tower",310,183;
  2600. 	end;
  2601.  
  2602. OnMyMobDead:
  2603. 	set .@mob_dead_num,mobcount("3@tower",instance_npcname("63FGate102tower", instance_id())+"::OnMyMobDead");
  2604. 	if (.@mob_dead_num < 1) {
  2605. 		instance_announce 0, "All Monsters on the 64th Floor have been defeated.",bc_map,"0xffff00";
  2606. 		donpcevent instance_npcname("64FGate102tower", instance_id())+"::OnEnable";
  2607. 		//SetItemPartyInMap in_102floor 64
  2608. 	}
  2609. 	else
  2610. 		instance_announce 0, "Remaining Monsters on the 64th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2611. 	end;
  2612. }
  2613.  
  2614. 3@tower,270,222,0	script	64FGate102tower	45,2,2,{
  2615. 	end;
  2616.  
  2617. OnInstanceInit:
  2618. 	disablenpc instance_npcname("64FGate102tower", instance_id());
  2619. 	end;
  2620.  
  2621. OnEnable:
  2622. 	enablenpc instance_npcname("64FGate102tower", instance_id());
  2623. 	areamonster "3@tower",352,180,362,216,"Atros",1785,1,instance_npcname("64FGate102tower", instance_id())+"::OnMyMobDead";
  2624. 	areamonster "3@tower",352,180,362,216,"Galion",1783,20,instance_npcname("64FGate102tower", instance_id())+"::OnMyMobDead";
  2625. 	end;
  2626.  
  2627. OnTouch_:
  2628. 	warp "3@tower",395,183;
  2629. 	end;
  2630.  
  2631. OnMyMobDead:
  2632. 	set .@mob_dead_num,mobcount("3@tower",instance_npcname("64FGate102tower", instance_id())+"::OnMyMobDead");
  2633. 	if (.@mob_dead_num < 1) {
  2634. 		instance_announce 0, "All Monsters on the 65th Floor have been defeated.",bc_map,"0xffff00";
  2635. 		donpcevent instance_npcname("65FGate102tower", instance_id())+"::OnEnable";
  2636. 		//SetItemPartyInMap in_102floor 65
  2637. 	}
  2638. 	else
  2639. 		instance_announce 0, "Remaining Monsters on the 65th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2640. 	end;
  2641. }
  2642.  
  2643. 3@tower,355,222,0	script	65FGate102tower	45,2,2,{
  2644. 	end;
  2645.  
  2646. OnInstanceInit:
  2647. 	disablenpc instance_npcname("65FGate102tower", instance_id());
  2648. 	end;
  2649.  
  2650. OnEnable:
  2651. 	enablenpc instance_npcname("65FGate102tower", instance_id());
  2652. 	areamonster "3@tower",9,96,19,132,"Incubus",1374,20,instance_npcname("65FGate102tower", instance_id())+"::OnMyMobDead";
  2653. 	areamonster "3@tower",9,96,19,132,"Aliot",1736,20,instance_npcname("65FGate102tower", instance_id())+"::OnMyMobDead";
  2654. 	areamonster "3@tower",9,96,19,132,"Injustice",1257,10,instance_npcname("65FGate102tower", instance_id())+"::OnMyMobDead";
  2655. 	end;
  2656.  
  2657. OnTouch_:
  2658. 	warp "3@tower",52,99;
  2659. 	end;
  2660.  
  2661. OnMyMobDead:
  2662. 	set .@mob_dead_num,mobcount("3@tower",instance_npcname("65FGate102tower", instance_id())+"::OnMyMobDead");
  2663. 	if (.@mob_dead_num < 1) {
  2664. 		instance_announce 0, "All Monsters on the 66th Floor have been defeated.",bc_map,"0xffff00";
  2665. 		donpcevent instance_npcname("66FGate102tower", instance_id())+"::OnEnable";
  2666. 		//SetItemPartyInMap in_102floor 66
  2667. 	}
  2668. 	else
  2669. 		instance_announce 0, "Remaining Monsters on the 66th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2670. 	end;
  2671. }
  2672.  
  2673. 3@tower,12,138,0	script	66FGate102tower	45,2,2,{
  2674. 	end;
  2675.  
  2676. OnInstanceInit:
  2677. 	disablenpc instance_npcname("66FGate102tower", instance_id());
  2678. 	end;
  2679.  
  2680. OnEnable:
  2681. 	enablenpc instance_npcname("66FGate102tower", instance_id());
  2682. 	areamonster "3@tower",93,96,103,132,"Acidus",1716,10,instance_npcname("66FGate102tower", instance_id())+"::OnMyMobDead";
  2683. 	areamonster "3@tower",93,96,103,132,"Acidus",1713,10,instance_npcname("66FGate102tower", instance_id())+"::OnMyMobDead";
  2684. 	areamonster "3@tower",93,96,103,132,"Deleter",1384,5,instance_npcname("66FGate102tower", instance_id())+"::OnMyMobDead";
  2685. 	areamonster "3@tower",93,96,103,132,"Mutant Dragonoid",1262,10,instance_npcname("66FGate102tower", instance_id())+"::OnMyMobDead";
  2686. 	areamonster "3@tower",93,96,103,132,"Petite",1156,5,instance_npcname("66FGate102tower", instance_id())+"::OnMyMobDead";
  2687. 	end;
  2688.  
  2689. OnTouch_:
  2690. 	warp "3@tower",136,99;
  2691. 	end;
  2692.  
  2693. OnMyMobDead:
  2694. 	set .@mob_dead_num,mobcount("3@tower",instance_npcname("66FGate102tower", instance_id())+"::OnMyMobDead");
  2695. 	if (.@mob_dead_num < 1) {
  2696. 		instance_announce 0, "All Monsters on the 67th Floor have been defeated.",bc_map,"0xffff00";
  2697. 		donpcevent instance_npcname("67FGate102tower", instance_id())+"::OnEnable";
  2698. 		//SetItemPartyInMap in_102floor 67
  2699. 	}
  2700. 	else
  2701. 		instance_announce 0, "Remaining Monsters on the 67th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2702. 	end;
  2703. }
  2704.  
  2705. 3@tower,96,138,0	script	67FGate102tower	45,2,2,{
  2706. 	end;
  2707.  
  2708. OnInstanceInit:
  2709. 	disablenpc instance_npcname("67FGate102tower", instance_id());
  2710. 	end;
  2711.  
  2712. OnEnable:
  2713. 	enablenpc instance_npcname("67FGate102tower", instance_id());
  2714. 	areamonster "3@tower",181,96,191,132,"Lava Golem",1366,10,instance_npcname("67FGate102tower", instance_id())+"::OnMyMobDead";
  2715. 	areamonster "3@tower",181,96,191,132,"Stalactic Golem",1278,10,instance_npcname("67FGate102tower", instance_id())+"::OnMyMobDead";
  2716. 	areamonster "3@tower",181,96,191,132,"Ice Titan",1777,10,instance_npcname("67FGate102tower", instance_id())+"::OnMyMobDead";
  2717. 	areamonster "3@tower",181,96,191,132,"Wooden Golem",1497,5,instance_npcname("67FGate102tower", instance_id())+"::OnMyMobDead";
  2718. 	areamonster "3@tower",181,96,191,132,"Golem",1040,5,instance_npcname("67FGate102tower", instance_id())+"::OnMyMobDead";
  2719. 	end;
  2720.  
  2721. OnTouch_:
  2722. 	warp "3@tower",224,99;
  2723. 	end;
  2724.  
  2725. OnMyMobDead:
  2726. 	set .@mob_dead_num,mobcount("3@tower",instance_npcname("67FGate102tower", instance_id())+"::OnMyMobDead");
  2727. 	if (.@mob_dead_num < 1) {
  2728. 		instance_announce 0, "All Monsters on the 68th Floor have been defeated.",bc_map,"0xffff00";
  2729. 		donpcevent instance_npcname("68FGate102tower", instance_id())+"::OnEnable";
  2730. 		//SetItemPartyInMap in_102floor 68
  2731. 	}
  2732. 	else
  2733. 		instance_announce 0, "Remaining Monsters on the 68th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2734. 	end;
  2735. }
  2736.  
  2737. 3@tower,184,138,0	script	68FGate102tower	45,2,2,{
  2738. 	end;
  2739.  
  2740. OnInstanceInit:
  2741. 	disablenpc instance_npcname("68FGate102tower", instance_id());
  2742. 	end;
  2743.  
  2744. OnEnable:
  2745. 	enablenpc instance_npcname("68FGate102tower", instance_id());
  2746. 	areamonster "3@tower",267,96,277,132,"Dame of Sentinel",1700,20,instance_npcname("68FGate102tower", instance_id())+"::OnMyMobDead";
  2747. 	areamonster "3@tower",267,96,277,132,"Mistress of Shelter",1701,10,instance_npcname("68FGate102tower", instance_id())+"::OnMyMobDead";
  2748. 	areamonster "3@tower",267,96,277,132,"Baroness of Retribution",1702,10,instance_npcname("68FGate102tower", instance_id())+"::OnMyMobDead";
  2749. 	areamonster "3@tower",267,96,277,132,"Lady Solace",1703,10,instance_npcname("68FGate102tower", instance_id())+"::OnMyMobDead";
  2750. 	areamonster "3@tower",267,96,277,132,"False Angel",1371,10,instance_npcname("68FGate102tower", instance_id())+"::OnMyMobDead";
  2751. 	end;
  2752.  
  2753. OnTouch_:
  2754. 	warp "3@tower",310,99;
  2755. 	end;
  2756.  
  2757. OnMyMobDead:
  2758. 	set .@mob_dead_num,mobcount("3@tower",instance_npcname("68FGate102tower", instance_id())+"::OnMyMobDead");
  2759. 	if (.@mob_dead_num < 1) {
  2760. 		instance_announce 0, "All Monsters on the 69th Floor have been defeated.",bc_map,"0xffff00";
  2761. 		donpcevent instance_npcname("69FGate102tower", instance_id())+"::OnEnable";
  2762. 		//SetItemPartyInMap in_102floor 69
  2763. 	}
  2764. 	else
  2765. 		instance_announce 0, "Remaining Monsters on the 69th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2766. 	end;
  2767. }
  2768.  
  2769. 3@tower,270,138,0	script	69FGate102tower	45,2,2,{
  2770. 	end;
  2771.  
  2772. OnInstanceInit:
  2773. 	disablenpc instance_npcname("69FGate102tower", instance_id());
  2774. 	end;
  2775.  
  2776. OnEnable:
  2777. 	enablenpc instance_npcname("69FGate102tower", instance_id());
  2778. 	areamonster "3@tower",352,96,362,132,"Orc Hero",1087,1,instance_npcname("69FGate102tower", instance_id())+"::OnMyMobDead";
  2779. 	areamonster "3@tower",352,96,362,132,"Orc Lord",1190,1,instance_npcname("69FGate102tower", instance_id())+"::OnMyMobDead";
  2780. 	areamonster "3@tower",352,96,362,132,"Orc Baby",1686,20,instance_npcname("69FGate102tower", instance_id())+"::OnMyMobDead";
  2781. 	end;
  2782.  
  2783. OnTouch_:
  2784. 	warp "3@tower",395,99;
  2785. 	end;
  2786.  
  2787. OnMyMobDead:
  2788. 	set .@mob_dead_num,mobcount("3@tower",instance_npcname("69FGate102tower", instance_id())+"::OnMyMobDead");
  2789. 	if (.@mob_dead_num < 1) {
  2790. 		instance_announce 0, "All Monsters on the 70th Floor have been defeated.",bc_map,"0xffff00";
  2791. 		donpcevent instance_npcname("70FGate102tower", instance_id())+"::OnEnable";
  2792. 		//SetItemPartyInMap in_102floor 70
  2793. 	}
  2794. 	else
  2795. 		instance_announce 0, "Remaining Monsters on the 70th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2796. 	end;
  2797. }
  2798.  
  2799. 3@tower,355,138,0	script	70FGate102tower	45,2,2,{
  2800. 	end;
  2801.  
  2802. OnInstanceInit:
  2803. 	disablenpc instance_npcname("70FGate102tower", instance_id());
  2804. 	end;
  2805.  
  2806. OnEnable:
  2807. 	enablenpc instance_npcname("70FGate102tower", instance_id());
  2808. 	areamonster "3@tower",9,9,19,45,"Succubus",1370,20,instance_npcname("70FGate102tower", instance_id())+"::OnMyMobDead";
  2809. 	areamonster "3@tower",9,9,19,45,"Nightmare Terror",1379,20,instance_npcname("70FGate102tower", instance_id())+"::OnMyMobDead";
  2810. 	areamonster "3@tower",9,9,19,45,"Incubus",1374,20,instance_npcname("70FGate102tower", instance_id())+"::OnMyMobDead";
  2811. 	areamonster "3@tower",9,9,19,45,"Nightmare",1061,5,instance_npcname("70FGate102tower", instance_id())+"::OnMyMobDead";
  2812. 	end;
  2813.  
  2814. OnTouch_:
  2815. 	warp "3@tower",52,12;
  2816. 	end;
  2817.  
  2818. OnMyMobDead:
  2819. 	set .@mob_dead_num,mobcount("3@tower",instance_npcname("70FGate102tower", instance_id())+"::OnMyMobDead");
  2820. 	if (.@mob_dead_num < 1) {
  2821. 		instance_announce 0, "All Monsters on the 71st Floor have been defeated.",bc_map,"0xffff00";
  2822. 		donpcevent instance_npcname("71FGate102tower", instance_id())+"::OnEnable";
  2823. 		//SetItemPartyInMap in_102floor 71
  2824. 	}
  2825. 	else
  2826. 		instance_announce 0, "Remaining Monsters on the 71st Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2827. 	end;
  2828. }
  2829.  
  2830. 3@tower,12,51,0	script	71FGate102tower	45,2,2,{
  2831. 	end;
  2832.  
  2833. OnInstanceInit:
  2834. 	disablenpc instance_npcname("71FGate102tower", instance_id());
  2835. 	end;
  2836.  
  2837. OnEnable:
  2838. 	enablenpc instance_npcname("71FGate102tower", instance_id());
  2839. 	areamonster "3@tower",93,9,103,45,"Margaretha Sorin",1637,10,instance_npcname("71FGate102tower", instance_id())+"::OnMyMobDead";
  2840. 	areamonster "3@tower",93,9,103,45,"Permeter",1314,10,instance_npcname("71FGate102tower", instance_id())+"::OnMyMobDead";
  2841. 	areamonster "3@tower",93,9,103,45,"Errende Ebecee",1655,10,instance_npcname("71FGate102tower", instance_id())+"::OnMyMobDead";
  2842. 	areamonster "3@tower",93,9,103,45,"Enchanted Peach Tree",1410,10,instance_npcname("71FGate102tower", instance_id())+"::OnMyMobDead";
  2843. 	end;
  2844.  
  2845. OnTouch_:
  2846. 	warp "3@tower",136,12;
  2847. 	end;
  2848.  
  2849. OnMyMobDead:
  2850. 	set .@mob_dead_num,mobcount("3@tower",instance_npcname("71FGate102tower", instance_id())+"::OnMyMobDead");
  2851. 	if (.@mob_dead_num < 1) {
  2852. 		instance_announce 0, "All Monsters on the 72nd Floor have been defeated.",bc_map,"0xffff00";
  2853. 		donpcevent instance_npcname("72FGate102tower", instance_id())+"::OnEnable";
  2854. 		//SetItemPartyInMap in_102floor 72
  2855. 	}
  2856. 	else
  2857. 		instance_announce 0, "Remaining Monsters on the 72nd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2858. 	end;
  2859. }
  2860.  
  2861. 3@tower,96,51,0	script	72FGate102tower	45,2,2,{
  2862. 	end;
  2863.  
  2864. OnInstanceInit:
  2865. 	disablenpc instance_npcname("72FGate102tower", instance_id());
  2866. 	end;
  2867.  
  2868. OnEnable:
  2869. 	enablenpc instance_npcname("72FGate102tower", instance_id());
  2870. 	areamonster "3@tower",181,9,191,45,"Succubus",1370,10,instance_npcname("72FGate102tower", instance_id())+"::OnMyMobDead";
  2871. 	areamonster "3@tower",181,9,191,45,"Loli Ruri",1505,20,instance_npcname("72FGate102tower", instance_id())+"::OnMyMobDead";
  2872. 	areamonster "3@tower",181,9,191,45,"Aliza",1737,10,instance_npcname("72FGate102tower", instance_id())+"::OnMyMobDead";
  2873. 	areamonster "3@tower",181,9,191,45,"Zealotus",1200,5,instance_npcname("72FGate102tower", instance_id())+"::OnMyMobDead";
  2874. 	areamonster "3@tower",181,9,191,45,"Alice",1275,5,instance_npcname("72FGate102tower", instance_id())+"::OnMyMobDead";
  2875. 	areamonster "3@tower",181,9,191,45,"Green Maiden",1519,10,instance_npcname("72FGate102tower", instance_id())+"::OnMyMobDead";
  2876. 	end;
  2877.  
  2878. OnTouch_:
  2879. 	warp "3@tower",224,12;
  2880. 	end;
  2881.  
  2882. OnMyMobDead:
  2883. 	set .@mob_dead_num,mobcount("3@tower",instance_npcname("72FGate102tower", instance_id())+"::OnMyMobDead");
  2884. 	if (.@mob_dead_num < 1) {
  2885. 		instance_announce 0, "All Monsters on the 73rd Floor have been defeated.",bc_map,"0xffff00";
  2886. 		donpcevent instance_npcname("73FGate102tower", instance_id())+"::OnEnable";
  2887. 		//SetItemPartyInMap in_102floor 73
  2888. 	}
  2889. 	else
  2890. 		instance_announce 0, "Remaining Monsters on the 73rd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2891. 	end;
  2892. }
  2893.  
  2894. 3@tower,184,51,0	script	73FGate102tower	45,2,2,{
  2895. 	end;
  2896.  
  2897. OnInstanceInit:
  2898. 	disablenpc instance_npcname("73FGate102tower", instance_id());
  2899. 	end;
  2900.  
  2901. OnEnable:
  2902. 	enablenpc instance_npcname("73FGate102tower", instance_id());
  2903. 	areamonster "3@tower",267,9,277,45,"Dimik",1671,6,instance_npcname("73FGate102tower", instance_id())+"::OnMyMobDead";
  2904. 	areamonster "3@tower",267,9,277,45,"Dimik",1673,6,instance_npcname("73FGate102tower", instance_id())+"::OnMyMobDead";
  2905. 	areamonster "3@tower",267,9,277,45,"Dimik",1672,6,instance_npcname("73FGate102tower", instance_id())+"::OnMyMobDead";
  2906. 	areamonster "3@tower",267,9,277,45,"Venatu",1677,6,instance_npcname("73FGate102tower", instance_id())+"::OnMyMobDead";
  2907. 	areamonster "3@tower",267,9,277,45,"Dimik",1670,6,instance_npcname("73FGate102tower", instance_id())+"::OnMyMobDead";
  2908. 	areamonster "3@tower",267,9,277,45,"Archdam",1668,6,instance_npcname("73FGate102tower", instance_id())+"::OnMyMobDead";
  2909. 	areamonster "3@tower",267,9,277,45,"Venatu",1678,6,instance_npcname("73FGate102tower", instance_id())+"::OnMyMobDead";
  2910. 	areamonster "3@tower",267,9,277,45,"Venatu",1679,6,instance_npcname("73FGate102tower", instance_id())+"::OnMyMobDead";
  2911. 	areamonster "3@tower",267,9,277,45,"Venatu",1676,6,instance_npcname("73FGate102tower", instance_id())+"::OnMyMobDead";
  2912. 	end;
  2913.  
  2914. OnTouch_:
  2915. 	warp "3@tower",310,12;
  2916. 	end;
  2917.  
  2918. OnMyMobDead:
  2919. 	set .@mob_dead_num,mobcount("3@tower",instance_npcname("73FGate102tower", instance_id())+"::OnMyMobDead");
  2920. 	if (.@mob_dead_num < 1) {
  2921. 		instance_announce 0, "All Monsters on the 74th Floor have been defeated.",bc_map,"0xffff00";
  2922. 		donpcevent instance_npcname("74FGate102tower", instance_id())+"::OnEnable";
  2923. 		//SetItemPartyInMap in_102floor 74
  2924. 	}
  2925. 	else
  2926. 		instance_announce 0, "Remaining Monsters on the 74th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2927. 	end;
  2928. }
  2929.  
  2930. 3@tower,270,51,0	script	74FGate102tower	45,2,2,{
  2931. 	end;
  2932.  
  2933. OnInstanceInit:
  2934. 	disablenpc instance_npcname("74FGate102tower", instance_id());
  2935. 	end;
  2936.  
  2937. OnEnable:
  2938. 	enablenpc instance_npcname("74FGate102tower", instance_id());
  2939. 	areamonster "3@tower",352,9,362,45,"Baphomet",1039,1,instance_npcname("74FGate102tower", instance_id())+"::OnMyMobDead";
  2940. 	areamonster "3@tower",352,9,362,45,"Dark Lord",1272,1,instance_npcname("74FGate102tower", instance_id())+"::OnMyMobDead";
  2941. 	areamonster "3@tower",352,9,362,45,"Baphomet Jr.",1101,20,instance_npcname("74FGate102tower", instance_id())+"::OnMyMobDead";
  2942. 	areamonster "3@tower",352,9,362,45,"Dark Illusion",1302,10,instance_npcname("74FGate102tower", instance_id())+"::OnMyMobDead";
  2943. 	end;
  2944.  
  2945. OnTouch_:
  2946. 	warp "3@tower",395,12;
  2947. 	end;
  2948.  
  2949. OnMyMobDead:
  2950. 	set .@mob_dead_num,mobcount("3@tower",instance_npcname("74FGate102tower", instance_id())+"::OnMyMobDead");
  2951. 	if (.@mob_dead_num < 1) {
  2952. 		instance_announce 0, "All Monsters on the 75th Floor have been defeated.",bc_map,"0xffff00";
  2953. 		donpcevent instance_npcname("75FGate102tower", instance_id())+"::OnEnable";
  2954. 		//SetItemPartyInMap in_102floor 75
  2955. 	}
  2956. 	else
  2957. 		instance_announce 0, "Remaining Monsters on the 75th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  2958. 	end;
  2959. }
  2960.  
  2961. 3@tower,355,51,0	script	75FGate102tower	45,1,1,{
  2962. 	end;
  2963.  
  2964. OnInstanceInit:
  2965. 	disablenpc instance_npcname("75FGate102tower", instance_id());
  2966. 	end;
  2967.  
  2968. OnEnable:
  2969. 	enablenpc instance_npcname("75FGate102tower", instance_id());
  2970. 	initnpctimer;
  2971. 	end;
  2972.  
  2973. OnTouch_:
  2974. 	getitem 6000,1; //Dark_Ashes
  2975. 	warp "4@tower",52,354;
  2976. 	end;
  2977.  
  2978. OnTimer120000:
  2979. 	disablenpc instance_npcname("75FGate102tower", instance_id());
  2980. 	donpcevent instance_npcname("75FGate102tower-2", instance_id())+"::OnEnable";
  2981. 	stopnpctimer;
  2982. 	end;
  2983. }
  2984.  
  2985. 3@tower,355,51,0	script	75FGate102tower-2	45,2,2,{
  2986. 	end;
  2987.  
  2988. OnInstanceInit:
  2989. 	disablenpc instance_npcname("75FGate102tower-2", instance_id());
  2990. 	end;
  2991.  
  2992. OnEnable:
  2993. 	enablenpc instance_npcname("75FGate102tower-2", instance_id());
  2994. 	end;
  2995.  
  2996. OnTouch_:
  2997. 	warp "4@tower",52,354;
  2998. 	end;
  2999. }
  3000.  
  3001. /*
  3002. 3@tower,71,1,0	script	#Manager Mode3	844,{
  3003. 	mes "Please enter the password.";
  3004. 	input .@inputstr$;
  3005. 	next;
  3006. 	if (.@inputstr$ == "dmc2008") {
  3007. 		mes "This NPC manages the tower from the 51st to the 75th Floor.";
  3008. 		mes "Please enter the Floor number to open.";
  3009. 		mes "(i.g.: 51F->51, 75F->75)";
  3010. 		input .@input,51,75;
  3011. 		next;
  3012. 		if (.@input < 51 || .@input > 75)
  3013. 			mes "You can only enter a number from 51 to 75.";
  3014. 		else {
  3015. 			donpcevent instance_npcname(.@input+"FGate102tower", instance_id())+"::OnEnable";
  3016. 			mes "*** Floor "+ .@input + " is now being opened. ***";
  3017. 		}
  3018. 	}
  3019. 	close;
  3020. }
  3021. */
  3022.  
  3023. // Floors 76-99
  3024. 4@tower,29,365,2	script	Immortal Furnace#3	844,{
  3025. 	end;
  3026.  
  3027. OnInstanceInit:
  3028. 	areamonster "4@tower",9,351,19,387,"Abysmal Knight",1219,30,instance_npcname("Immortal Furnace#3", instance_id())+"::OnMyMobDead";
  3029. 	areamonster "4@tower",9,351,19,387,"Nightmare Terror",1379,20,instance_npcname("Immortal Furnace#3", instance_id())+"::OnMyMobDead";
  3030. 	areamonster "4@tower",9,351,19,387,"Nightmare",1061,10,instance_npcname("Immortal Furnace#3", instance_id())+"::OnMyMobDead";
  3031. 	end;
  3032.  
  3033. OnMyMobDead:
  3034. 	set .@mob_dead_num,mobcount("4@tower",instance_npcname("Immortal Furnace#3", instance_id())+"::OnMyMobDead");
  3035. 	if (.@mob_dead_num < 1) {
  3036. 		instance_announce 0,"All Monsters on the 76th Floor have been defeated.",bc_map,"0xffff00";
  3037. 		donpcevent instance_npcname("76FGate102tower", instance_id())+"::OnEnable";
  3038. 		//SetItemPartyInMap in_102floor 76
  3039. 	}
  3040. 	else
  3041. 		instance_announce 0,"Remaining Monsters on the 76th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  3042. 	end;
  3043. }
  3044.  
  3045. 4@tower,12,393,0	script	76FGate102tower	45,2,2,{
  3046. 	end;
  3047.  
  3048. OnInstanceInit:
  3049. 	disablenpc instance_npcname("76FGate102tower", instance_id());
  3050. 	end;
  3051.  
  3052. OnEnable:
  3053. 	enablenpc instance_npcname("76FGate102tower", instance_id());
  3054. 	areamonster "4@tower",93,351,103,387,"Banshee",1867,30,instance_npcname("76FGate102tower", instance_id())+"::OnMyMobDead";
  3055. 	areamonster "4@tower",93,351,103,387,"Wraith Dead",1291,10,instance_npcname("76FGate102tower", instance_id())+"::OnMyMobDead";
  3056. 	areamonster "4@tower",93,351,103,387,"Evil Druid",1117,10,instance_npcname("76FGate102tower", instance_id())+"::OnMyMobDead";
  3057. 	areamonster "4@tower",93,351,103,387,"Wraith",1192,10,instance_npcname("76FGate102tower", instance_id())+"::OnMyMobDead";
  3058. 	areamonster "4@tower",93,351,103,387,"Wind Ghost",1263,10,instance_npcname("76FGate102tower", instance_id())+"::OnMyMobDead";
  3059. 	end;
  3060.  
  3061. OnTouch_:
  3062. 	warp "4@tower",136,354;
  3063. 	end;
  3064.  
  3065. OnMyMobDead:
  3066. 	set .@mob_dead_num,mobcount("4@tower",instance_npcname("76FGate102tower", instance_id())+"::OnMyMobDead");
  3067. 	if (.@mob_dead_num < 1) {
  3068. 		instance_announce 0,"All Monsters on the 77th Floor have been defeated.",bc_map,"0xffff00";
  3069. 		donpcevent instance_npcname("77FGate102tower", instance_id())+"::OnEnable";
  3070. 		//SetItemPartyInMap in_102floor 77
  3071. 	}
  3072. 	else
  3073. 		instance_announce 0,"Remaining Monsters on the 77th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  3074. 	end;
  3075. }
  3076.  
  3077. 4@tower,96,393,0	script	77FGate102tower	45,2,2,{
  3078. 	end;
  3079.  
  3080. OnInstanceInit:
  3081. 	disablenpc instance_npcname("77FGate102tower", instance_id());
  3082. 	end;
  3083.  
  3084. OnEnable:
  3085. 	enablenpc instance_npcname("77FGate102tower", instance_id());
  3086. 	areamonster "4@tower",181,351,191,387,"Sword Master",1829,5,instance_npcname("77FGate102tower", instance_id())+"::OnMyMobDead";
  3087. 	areamonster "4@tower",181,351,191,387,"Bloody Knight",1268,10,instance_npcname("77FGate102tower", instance_id())+"::OnMyMobDead";
  3088. 	areamonster "4@tower",181,351,191,387,"Abysmal Knight",1219,5,instance_npcname("77FGate102tower", instance_id())+"::OnMyMobDead";
  3089. 	areamonster "4@tower",181,351,191,387,"Dullahan",1504,10,instance_npcname("77FGate102tower", instance_id())+"::OnMyMobDead";
  3090. 	areamonster "4@tower",181,351,191,387,"Raydric",1163,20,instance_npcname("77FGate102tower", instance_id())+"::OnMyMobDead";
  3091. 	end;
  3092.  
  3093. OnTouch_:
  3094. 	warp "4@tower",224,354;
  3095. 	end;
  3096.  
  3097. OnMyMobDead:
  3098. 	set .@mob_dead_num,mobcount("4@tower",instance_npcname("77FGate102tower", instance_id())+"::OnMyMobDead");
  3099. 	if (.@mob_dead_num < 1) {
  3100. 		instance_announce 0,"All Monsters on the Floor 78th have been defeated.",bc_map,"0xffff00";
  3101. 		donpcevent instance_npcname("78FGate102tower", instance_id())+"::OnEnable";
  3102. 		//SetItemPartyInMap in_102floor 78
  3103. 	}
  3104. 	else
  3105. 		instance_announce 0,"Remaining Monsters on the 78th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  3106. 	end;
  3107. }
  3108.  
  3109. 4@tower,184,393,0	script	78FGate102tower	45,2,2,{
  3110. 	end;
  3111.  
  3112. OnInstanceInit:
  3113. 	disablenpc instance_npcname("78FGate102tower", instance_id());
  3114. 	end;
  3115.  
  3116. OnEnable:
  3117. 	enablenpc instance_npcname("78FGate102tower", instance_id());
  3118. 	areamonster "4@tower",267,351,277,387,"Hydro",1720,10,instance_npcname("78FGate102tower", instance_id())+"::OnMyMobDead";
  3119. 	areamonster "4@tower",267,351,277,387,"Ferus",1714,10,instance_npcname("78FGate102tower", instance_id())+"::OnMyMobDead";
  3120. 	areamonster "4@tower",267,351,277,387,"Ferus",1717,10,instance_npcname("78FGate102tower", instance_id())+"::OnMyMobDead";
  3121. 	areamonster "4@tower",267,351,277,387,"Deleter",1385,5,instance_npcname("78FGate102tower", instance_id())+"::OnMyMobDead";
  3122. 	areamonster "4@tower",267,351,277,387,"Petite",1155,5,instance_npcname("78FGate102tower", instance_id())+"::OnMyMobDead";
  3123. 	end;
  3124.  
  3125. OnTouch_:
  3126. 	warp "4@tower",310,354;
  3127. 	end;
  3128.  
  3129. OnMyMobDead:
  3130. 	set .@mob_dead_num,mobcount("4@tower",instance_npcname("78FGate102tower", instance_id())+"::OnMyMobDead");
  3131. 	if (.@mob_dead_num < 1) {
  3132. 		instance_announce 0,"All Monsters on the 79th Floor have been defeated.",bc_map,"0xffff00";
  3133. 		donpcevent instance_npcname("79FGate102tower", instance_id())+"::OnEnable";
  3134. 		//SetItemPartyInMap in_102floor 79
  3135. 	}
  3136. 	else
  3137. 		instance_announce 0,"Remaining Monsters on the 79th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  3138. 	end;
  3139. }
  3140.  
  3141. 4@tower,270,393,0	script	79FGate102tower	45,2,2,{
  3142. 	end;
  3143.  
  3144. OnInstanceInit:
  3145. 	disablenpc instance_npcname("79FGate102tower", instance_id());
  3146. 	end;
  3147.  
  3148. OnEnable:
  3149. 	enablenpc instance_npcname("79FGate102tower", instance_id());
  3150. 	areamonster "4@tower",352,351,362,387,"Falling Bishop",1871,1,instance_npcname("79FGate102tower", instance_id())+"::OnMyMobDead";
  3151. 	areamonster "4@tower",352,351,362,387,"Necromancer",1870,15,instance_npcname("79FGate102tower", instance_id())+"::OnMyMobDead";
  3152. 	end;
  3153.  
  3154. OnTouch_:
  3155. 	warp "4@tower",395,354;
  3156. 	end;
  3157.  
  3158. OnMyMobDead:
  3159. 	set .@mob_dead_num,mobcount("4@tower",instance_npcname("79FGate102tower", instance_id())+"::OnMyMobDead");
  3160. 	if (.@mob_dead_num < 1) {
  3161. 		instance_announce 0,"All Monsters on the 80th Floor have been defeated.",bc_map,"0xffff00";
  3162. 		donpcevent instance_npcname("80FGate102tower", instance_id())+"::OnEnable";
  3163. 		//SetItemPartyInMap in_102floor 80
  3164. 	}
  3165. 	else
  3166. 		instance_announce 0,"Remaining Monsters on the 80th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  3167. 	end;
  3168. }
  3169.  
  3170. 4@tower,355,393,0	script	80FGate102tower	45,2,2,{
  3171. 	end;
  3172.  
  3173. OnInstanceInit:
  3174. 	disablenpc instance_npcname("80FGate102tower", instance_id());
  3175. 	end;
  3176.  
  3177. OnEnable:
  3178. 	enablenpc instance_npcname("80FGate102tower", instance_id());
  3179. 	areamonster "4@tower",9,267,19,303,"Mysteltainn",1203,20,instance_npcname("80FGate102tower", instance_id())+"::OnMyMobDead";
  3180. 	areamonster "4@tower",9,267,19,303,"Ogretooth",1204,20,instance_npcname("80FGate102tower", instance_id())+"::OnMyMobDead";
  3181. 	areamonster "4@tower",9,267,19,303,"Executioner",1205,20,instance_npcname("80FGate102tower", instance_id())+"::OnMyMobDead";
  3182. 	end;
  3183.  
  3184. OnTouch_:
  3185. 	warp "4@tower",52,270;
  3186. 	end;
  3187.  
  3188. OnMyMobDead:
  3189. 	set .@mob_dead_num,mobcount("4@tower",instance_npcname("80FGate102tower", instance_id())+"::OnMyMobDead");
  3190. 	if (.@mob_dead_num < 1) {
  3191. 		instance_announce 0,"All Monsters on the 81st Floor have been defeated.",bc_map,"0xffff00";
  3192. 		donpcevent instance_npcname("81FGate102tower", instance_id())+"::OnEnable";
  3193. 		//SetItemPartyInMap in_102floor 81
  3194. 	}
  3195. 	else
  3196. 		instance_announce 0,"Remaining Monsters on the 81st Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  3197. 	end;
  3198. }
  3199.  
  3200. 4@tower,12,309,0	script	81FGate102tower	45,2,2,{
  3201. 	end;
  3202.  
  3203. OnInstanceInit:
  3204. 	disablenpc instance_npcname("81FGate102tower", instance_id());
  3205. 	end;
  3206.  
  3207. OnEnable:
  3208. 	enablenpc instance_npcname("81FGate102tower", instance_id());
  3209. 	areamonster "4@tower",93,267,103,303,"Bloody Knight",1268,10,instance_npcname("81FGate102tower", instance_id())+"::OnMyMobDead";
  3210. 	areamonster "4@tower",93,267,103,303,"Agav",1769,10,instance_npcname("81FGate102tower", instance_id())+"::OnMyMobDead";
  3211. 	areamonster "4@tower",93,267,103,303,"Bloody Murderer",1507,10,instance_npcname("81FGate102tower", instance_id())+"::OnMyMobDead";
  3212. 	areamonster "4@tower",93,267,103,303,"Skogul",1752,10,instance_npcname("81FGate102tower", instance_id())+"::OnMyMobDead";
  3213. 	areamonster "4@tower",93,267,103,303,"Injustice",1257,10,instance_npcname("81FGate102tower", instance_id())+"::OnMyMobDead";
  3214. 	end;
  3215.  
  3216. OnTouch_:
  3217. 	warp "4@tower",136,270;
  3218. 	end;
  3219.  
  3220. OnMyMobDead:
  3221. 	set .@mob_dead_num,mobcount("4@tower",instance_npcname("81FGate102tower", instance_id())+"::OnMyMobDead");
  3222. 	if (.@mob_dead_num < 1) {
  3223. 		instance_announce 0,"All Monsters on the 82nd Floor have been defeated.",bc_map,"0xffff00";
  3224. 		donpcevent instance_npcname("82FGate102tower", instance_id())+"::OnEnable";
  3225. 		//SetItemPartyInMap in_102floor 82
  3226. 	}
  3227. 	else
  3228. 		instance_announce 0,"Remaining Monsters on the 82nd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  3229. 	end;
  3230. }
  3231.  
  3232. 4@tower,96,309,0	script	82FGate102tower	45,2,2,{
  3233. 	end;
  3234.  
  3235. OnInstanceInit:
  3236. 	disablenpc instance_npcname("82FGate102tower", instance_id());
  3237. 	end;
  3238.  
  3239. OnEnable:
  3240. 	enablenpc instance_npcname("82FGate102tower", instance_id());
  3241. 	areamonster "4@tower",181,267,191,303,"Skeggiold",1754,10,instance_npcname("82FGate102tower", instance_id())+"::OnMyMobDead";
  3242. 	areamonster "4@tower",181,267,191,303,"Dark Illusion",1302,10,instance_npcname("82FGate102tower", instance_id())+"::OnMyMobDead";
  3243. 	areamonster "4@tower",181,267,191,303,"Gryphon",1259,10,instance_npcname("82FGate102tower", instance_id())+"::OnMyMobDead";
  3244. 	areamonster "4@tower",181,267,191,303,"Chimera",1283,10,instance_npcname("82FGate102tower", instance_id())+"::OnMyMobDead";
  3245. 	end;
  3246.  
  3247. OnTouch_:
  3248. 	warp "4@tower",224,270;
  3249. 	end;
  3250.  
  3251. OnMyMobDead:
  3252. 	set .@mob_dead_num,mobcount("4@tower",instance_npcname("82FGate102tower", instance_id())+"::OnMyMobDead");
  3253. 	if (.@mob_dead_num < 1) {
  3254. 		instance_announce 0,"All Monsters on the 83rd Floor have been defeated.",bc_map,"0xffff00";
  3255. 		donpcevent instance_npcname("83FGate102tower", instance_id())+"::OnEnable";
  3256. 		//SetItemPartyInMap in_102floor 83
  3257. 	}
  3258. 	else
  3259. 		instance_announce 0,"Remaining Monsters on the 83rd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  3260. 	end;
  3261. }
  3262.  
  3263. 4@tower,184,309,0	script	83FGate102tower	45,2,2,{
  3264. 	end;
  3265.  
  3266. OnInstanceInit:
  3267. 	disablenpc instance_npcname("83FGate102tower", instance_id());
  3268. 	end;
  3269.  
  3270. OnEnable:
  3271. 	enablenpc instance_npcname("83FGate102tower", instance_id());
  3272. 	areamonster "4@tower",267,267,277,303,"Succubus",1370,10,instance_npcname("83FGate102tower", instance_id())+"::OnMyMobDead";
  3273. 	areamonster "4@tower",267,267,277,303,"Dark Illusion",1302,20,instance_npcname("83FGate102tower", instance_id())+"::OnMyMobDead";
  3274. 	areamonster "4@tower",267,267,277,303,"Owl Duke",1320,10,instance_npcname("83FGate102tower", instance_id())+"::OnMyMobDead";
  3275. 	areamonster "4@tower",267,267,277,303,"Owl Baron",1295,10,instance_npcname("83FGate102tower", instance_id())+"::OnMyMobDead";
  3276. 	areamonster "4@tower",267,267,277,303,"Incubus",1374,10,instance_npcname("83FGate102tower", instance_id())+"::OnMyMobDead";
  3277. 	end;
  3278.  
  3279. OnTouch_:
  3280. 	warp "4@tower",310,270;
  3281. 	end;
  3282.  
  3283. OnMyMobDead:
  3284. 	set .@mob_dead_num,mobcount("4@tower",instance_npcname("83FGate102tower", instance_id())+"::OnMyMobDead");
  3285. 	if (.@mob_dead_num < 1) {
  3286. 		instance_announce 0,"All Monsters on the 84th Floor have been defeated.",bc_map,"0xffff00";
  3287. 		donpcevent instance_npcname("84FGate102tower", instance_id())+"::OnEnable";
  3288. 		//SetItemPartyInMap in_102floor 84
  3289. 	}
  3290. 	else
  3291. 		instance_announce 0,"Remaining Monsters on the 84th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  3292. 	end;
  3293. }
  3294.  
  3295. 4@tower,270,309,0	script	84FGate102tower	45,2,2,{
  3296. 	end;
  3297.  
  3298. OnInstanceInit:
  3299. 	disablenpc instance_npcname("84FGate102tower", instance_id());
  3300. 	end;
  3301.  
  3302. OnEnable:
  3303. 	enablenpc instance_npcname("84FGate102tower", instance_id());
  3304. 	areamonster "4@tower",352,267,362,303,"Ifrit",1832,1,instance_npcname("84FGate102tower", instance_id())+"::OnMyMobDead";
  3305. 	end;
  3306.  
  3307. OnTouch_:
  3308. 	warp "4@tower",395,270;
  3309. 	end;
  3310.  
  3311. OnMyMobDead:
  3312. 	set .@mob_dead_num,mobcount("4@tower",instance_npcname("84FGate102tower", instance_id())+"::OnMyMobDead");
  3313. 	if (.@mob_dead_num < 1) {
  3314. 		instance_announce 0,"All Monsters on the 85th Floor have been defeated.",bc_map,"0xffff00";
  3315. 		donpcevent instance_npcname("85FGate102tower", instance_id())+"::OnEnable";
  3316. 		//SetItemPartyInMap in_102floor 85
  3317. 	}
  3318. 	else
  3319. 		instance_announce 0,"Remaining Monsters on the 85th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  3320. 	end;
  3321. }
  3322.  
  3323. 4@tower,355,309,0	script	85FGate102tower	45,2,2,{
  3324. 	end;
  3325.  
  3326. OnInstanceInit:
  3327. 	disablenpc instance_npcname("85FGate102tower", instance_id());
  3328. 	end;
  3329.  
  3330. OnEnable:
  3331. 	enablenpc instance_npcname("85FGate102tower", instance_id());
  3332. 	areamonster "4@tower",9,180,19,216,"Hydro",1720,10,instance_npcname("85FGate102tower", instance_id())+"::OnMyMobDead";
  3333. 	areamonster "4@tower",9,180,19,216,"Gryphon",1259,10,instance_npcname("85FGate102tower", instance_id())+"::OnMyMobDead";
  3334. 	areamonster "4@tower",9,180,19,216,"Chimera",1283,10,instance_npcname("85FGate102tower", instance_id())+"::OnMyMobDead";
  3335. 	areamonster "4@tower",9,180,19,216,"Majoruros",1310,10,instance_npcname("85FGate102tower", instance_id())+"::OnMyMobDead";
  3336. 	end;
  3337.  
  3338. OnTouch_:
  3339. 	warp "4@tower",52,183;
  3340. 	end;
  3341.  
  3342. OnMyMobDead:
  3343. 	set .@mob_dead_num,mobcount("4@tower",instance_npcname("85FGate102tower", instance_id())+"::OnMyMobDead");
  3344. 	if (.@mob_dead_num < 1) {
  3345. 		instance_announce 0,"All Monsters on the 86th Floor have been defeated.",bc_map,"0xffff00";
  3346. 		donpcevent instance_npcname("86FGate102tower", instance_id())+"::OnEnable";
  3347. 		//SetItemPartyInMap in_102floor 86
  3348. 	}
  3349. 	else
  3350. 		instance_announce 0,"Remaining Monsters on the 86th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  3351. 	end;
  3352. }
  3353.  
  3354. 4@tower,12,222,0	script	86FGate102tower	45,2,2,{
  3355. 	end;
  3356.  
  3357. OnInstanceInit:
  3358. 	disablenpc instance_npcname("86FGate102tower", instance_id());
  3359. 	end;
  3360.  
  3361. OnEnable:
  3362. 	enablenpc instance_npcname("86FGate102tower", instance_id());
  3363. 	areamonster "4@tower",93,180,103,216,"Salamander",1831,15,instance_npcname("86FGate102tower", instance_id())+"::OnMyMobDead";
  3364. 	areamonster "4@tower",93,180,103,216,"Kasa",1833,20,instance_npcname("86FGate102tower", instance_id())+"::OnMyMobDead";
  3365. 	areamonster "4@tower",93,180,103,216,"Lava Golem",1366,15,instance_npcname("86FGate102tower", instance_id())+"::OnMyMobDead";
  3366. 	areamonster "4@tower",93,180,103,216,"Gajomart",1309,10,instance_npcname("86FGate102tower", instance_id())+"::OnMyMobDead";
  3367. 	end;
  3368.  
  3369. OnTouch_:
  3370. 	warp "4@tower",136,183;
  3371. 	end;
  3372.  
  3373. OnMyMobDead:
  3374. 	set .@mob_dead_num,mobcount("4@tower",instance_npcname("86FGate102tower", instance_id())+"::OnMyMobDead");
  3375. 	if (.@mob_dead_num < 1) {
  3376. 		instance_announce 0,"All Monsters on the 87th Floor have been defeated.",bc_map,"0xffff00";
  3377. 		donpcevent instance_npcname("87FGate102tower", instance_id())+"::OnEnable";
  3378. 		//SetItemPartyInMap in_102floor 87
  3379. 	}
  3380. 	else
  3381. 		instance_announce 0,"Remaining Monsters on the 87th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  3382. 	end;
  3383. }
  3384.  
  3385. 4@tower,96,222,0	script	87FGate102tower	45,2,2,{
  3386. 	end;
  3387.  
  3388. OnInstanceInit:
  3389. 	disablenpc instance_npcname("87FGate102tower", instance_id());
  3390. 	end;
  3391.  
  3392. OnEnable:
  3393. 	enablenpc instance_npcname("87FGate102tower", instance_id());
  3394. 	areamonster "4@tower",181,180,191,216,"Necromancer",1870,15,instance_npcname("87FGate102tower", instance_id())+"::OnMyMobDead";
  3395. 	areamonster "4@tower",181,180,191,216,"Anubis",1098,15,instance_npcname("87FGate102tower", instance_id())+"::OnMyMobDead";
  3396. 	areamonster "4@tower",181,180,191,216,"Wraith Dead",1291,10,instance_npcname("87FGate102tower", instance_id())+"::OnMyMobDead";
  3397. 	areamonster "4@tower",181,180,191,216,"Ancient Mummy",1297,10,instance_npcname("87FGate102tower", instance_id())+"::OnMyMobDead";
  3398. 	areamonster "4@tower",181,180,191,216,"Khalitzburg",1132,10,instance_npcname("87FGate102tower", instance_id())+"::OnMyMobDead";
  3399. 	end;
  3400.  
  3401. OnTouch_:
  3402. 	warp "4@tower",224,183;
  3403. 	end;
  3404.  
  3405. OnMyMobDead:
  3406. 	set .@mob_dead_num,mobcount("4@tower",instance_npcname("87FGate102tower", instance_id())+"::OnMyMobDead");
  3407. 	if (.@mob_dead_num < 1) {
  3408. 		instance_announce 0,"All Monsters on the 88th Floor have been defeated.",bc_map,"0xffff00";
  3409. 		donpcevent instance_npcname("88FGate102tower", instance_id())+"::OnEnable";
  3410. 		//SetItemPartyInMap in_102floor 88
  3411. 	}
  3412. 	else
  3413. 		instance_announce 0,"Remaining Monsters on the 88th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  3414. 	end;
  3415. }
  3416.  
  3417. 4@tower,184,222,0	script	88FGate102tower	45,2,2,{
  3418. 	end;
  3419.  
  3420. OnInstanceInit:
  3421. 	disablenpc instance_npcname("88FGate102tower", instance_id());
  3422. 	end;
  3423.  
  3424. OnEnable:
  3425. 	enablenpc instance_npcname("88FGate102tower", instance_id());
  3426. 	areamonster "4@tower",267,180,277,216,"Odium of Thanatos",1704,6,instance_npcname("88FGate102tower", instance_id())+"::OnMyMobDead";
  3427. 	areamonster "4@tower",267,180,277,216,"Despero of Thanatos",1705,6,instance_npcname("88FGate102tower", instance_id())+"::OnMyMobDead";
  3428. 	areamonster "4@tower",267,180,277,216,"Maero of Thanatos",1706,6,instance_npcname("88FGate102tower", instance_id())+"::OnMyMobDead";
  3429. 	areamonster "4@tower",267,180,277,216,"Dolor of Thanatos",1707,6,instance_npcname("88FGate102tower", instance_id())+"::OnMyMobDead";
  3430. 	end;
  3431.  
  3432. OnTouch_:
  3433. 	warp "4@tower",310,183;
  3434. 	end;
  3435.  
  3436. OnMyMobDead:
  3437. 	set .@mob_dead_num,mobcount("4@tower",instance_npcname("88FGate102tower", instance_id())+"::OnMyMobDead");
  3438. 	if (.@mob_dead_num < 1) {
  3439. 		instance_announce 0,"All Monsters on the 89th Floor have been defeated.",bc_map,"0xffff00";
  3440. 		donpcevent instance_npcname("89FGate102tower", instance_id())+"::OnEnable";
  3441. 		//SetItemPartyInMap in_102floor 89
  3442. 	}
  3443. 	else
  3444. 		instance_announce 0,"Remaining Monsters on the 89th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  3445. 	end;
  3446. }
  3447.  
  3448. 4@tower,270,222,0	script	89FGate102tower	45,2,2,{
  3449. 	end;
  3450.  
  3451. OnInstanceInit:
  3452. 	disablenpc instance_npcname("89FGate102tower", instance_id());
  3453. 	end;
  3454.  
  3455. OnEnable:
  3456. 	enablenpc instance_npcname("89FGate102tower", instance_id());
  3457. 	areamonster "4@tower",352,180,362,216,"Valkyrie Randgris",1751,1,instance_npcname("89FGate102tower", instance_id())+"::OnMyMobDead";
  3458. 	areamonster "4@tower",352,180,362,216,"Baroness of Retribution",1702,10,instance_npcname("89FGate102tower", instance_id())+"::OnMyMobDead";
  3459. 	areamonster "4@tower",352,180,362,216,"Lady Solace",1703,10,instance_npcname("89FGate102tower", instance_id())+"::OnMyMobDead";
  3460. 	areamonster "4@tower",352,180,362,216,"False Angel",1371,10,instance_npcname("89FGate102tower", instance_id())+"::OnMyMobDead";
  3461. 	end;
  3462.  
  3463. OnTouch_:
  3464. 	warp "4@tower",395,183;
  3465. 	end;
  3466.  
  3467. OnMyMobDead:
  3468. 	set .@mob_dead_num,mobcount("4@tower",instance_npcname("89FGate102tower", instance_id())+"::OnMyMobDead");
  3469. 	if (.@mob_dead_num < 1) {
  3470. 		instance_announce 0,"All Monsters on the 90th Floor have been defeated.",bc_map,"0xffff00";
  3471. 		donpcevent instance_npcname("90FGate102tower", instance_id())+"::OnEnable";
  3472. 		//SetItemPartyInMap in_102floor 90
  3473. 	}
  3474. 	else
  3475. 		instance_announce 0,"Remaining Monsters on the 90th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  3476. 	end;
  3477. }
  3478.  
  3479. 4@tower,355,222,0	script	90FGate102tower	45,2,2,{
  3480. 	end;
  3481.  
  3482. OnInstanceInit:
  3483. 	disablenpc instance_npcname("90FGate102tower", instance_id());
  3484. 	end;
  3485.  
  3486. OnEnable:
  3487. 	enablenpc instance_npcname("90FGate102tower", instance_id());
  3488. 	areamonster "4@tower",9,96,19,132,"Cecil Damon",1638,10,instance_npcname("90FGate102tower", instance_id())+"::OnMyMobDead";
  3489. 	areamonster "4@tower",9,96,19,132,"Bow Master",1830,10,instance_npcname("90FGate102tower", instance_id())+"::OnMyMobDead";
  3490. 	areamonster "4@tower",9,96,19,132,"Kavac",1656,30,instance_npcname("90FGate102tower", instance_id())+"::OnMyMobDead";
  3491. 	end;
  3492.  
  3493. OnTouch_:
  3494. 	warp "4@tower",52,99;
  3495. 	end;
  3496.  
  3497. OnMyMobDead:
  3498. 	set .@mob_dead_num,mobcount("4@tower",instance_npcname("90FGate102tower", instance_id())+"::OnMyMobDead");
  3499. 	if (.@mob_dead_num < 1) {
  3500. 		instance_announce 0,"All Monsters on the 91st Floor have been defeated.",bc_map,"0xffff00";
  3501. 		donpcevent instance_npcname("91FGate102tower", instance_id())+"::OnEnable";
  3502. 		//SetItemPartyInMap in_102floor 91
  3503. 	}
  3504. 	else 
  3505. 		instance_announce 0,"Remaining Monsters on the 91st Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  3506. 	end;
  3507. }
  3508.  
  3509. 4@tower,12,138,0	script	91FGate102tower	45,2,2,{
  3510. 	end;
  3511.  
  3512. OnInstanceInit:
  3513. 	disablenpc instance_npcname("91FGate102tower", instance_id());
  3514. 	end;
  3515.  
  3516. OnEnable:
  3517. 	enablenpc instance_npcname("91FGate102tower", instance_id());
  3518. 	areamonster "4@tower",93,96,103,132,"Kathryne Keyron",1639,15,instance_npcname("91FGate102tower", instance_id())+"::OnMyMobDead";
  3519. 	areamonster "4@tower",93,96,103,132,"Elder",1377,10,instance_npcname("91FGate102tower", instance_id())+"::OnMyMobDead";
  3520. 	areamonster "4@tower",93,96,103,132,"Laurell Weinder",1657,10,instance_npcname("91FGate102tower", instance_id())+"::OnMyMobDead";
  3521. 	areamonster "4@tower",93,96,103,132,"Wind Ghost",1263,10,instance_npcname("91FGate102tower", instance_id())+"::OnMyMobDead";
  3522. 	areamonster "4@tower",93,96,103,132,"Marduk",1140,10,instance_npcname("91FGate102tower", instance_id())+"::OnMyMobDead";
  3523. 	end;
  3524.  
  3525. OnTouch_:
  3526. 	warp "4@tower",136,99;
  3527. 	end;
  3528.  
  3529. OnMyMobDead:
  3530. 	set .@mob_dead_num,mobcount("4@tower",instance_npcname("91FGate102tower", instance_id())+"::OnMyMobDead");
  3531. 	if (.@mob_dead_num < 1) {
  3532. 		instance_announce 0,"All Monsters on the 92nd Floor have been defeated.",bc_map,"0xffff00";
  3533. 		donpcevent instance_npcname("92FGate102tower", instance_id())+"::OnEnable";
  3534. 		//SetItemPartyInMap in_102floor 92
  3535. 	}
  3536. 	else
  3537. 		instance_announce 0,"Remaining Monsters on the 92nd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  3538. 	end;
  3539. }
  3540.  
  3541. 4@tower,96,138,0	script	92FGate102tower	45,2,2,{
  3542. 	end;
  3543.  
  3544. OnInstanceInit:
  3545. 	disablenpc instance_npcname("92FGate102tower", instance_id());
  3546. 	end;
  3547.  
  3548. OnEnable:
  3549. 	enablenpc instance_npcname("92FGate102tower", instance_id());
  3550. 	areamonster "4@tower",181,96,191,132,"Seyren Windsor",1634,15,instance_npcname("92FGate102tower", instance_id())+"::OnMyMobDead";
  3551. 	areamonster "4@tower",181,96,191,132,"Bloody Knight",1268,10,instance_npcname("92FGate102tower", instance_id())+"::OnMyMobDead";
  3552. 	areamonster "4@tower",181,96,191,132,"Abysmal Knight",1219,10,instance_npcname("92FGate102tower", instance_id())+"::OnMyMobDead";
  3553. 	areamonster "4@tower",181,96,191,132,"Wanderer",1208,10,instance_npcname("92FGate102tower", instance_id())+"::OnMyMobDead";
  3554. 	end;
  3555.  
  3556. OnTouch_:
  3557. 	warp "4@tower",224,99;
  3558. 	end;
  3559.  
  3560. OnMyMobDead:
  3561. 	set .@mob_dead_num,mobcount("4@tower",instance_npcname("92FGate102tower", instance_id())+"::OnMyMobDead");
  3562. 	if (.@mob_dead_num < 1) {
  3563. 		instance_announce 0,"All Monsters on the 93rd Floor have been defeated.",bc_map,"0xffff00";
  3564. 		donpcevent instance_npcname("93FGate102tower", instance_id())+"::OnEnable";
  3565. 		//SetItemPartyInMap in_102floor 93
  3566. 	}
  3567. 	else
  3568. 		instance_announce 0,"Remaining Monsters on the 93rd Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  3569. 	end;
  3570. }
  3571.  
  3572. 4@tower,184,138,0	script	93FGate102tower	45,2,2,{
  3573. 	end;
  3574.  
  3575. OnInstanceInit:
  3576. 	disablenpc instance_npcname("93FGate102tower", instance_id());
  3577. 	end;
  3578.  
  3579. OnEnable:
  3580. 	enablenpc instance_npcname("93FGate102tower", instance_id());
  3581. 	areamonster "4@tower",267,96,277,132,"Sword Master",1829,15,instance_npcname("93FGate102tower", instance_id())+"::OnMyMobDead";
  3582. 	areamonster "4@tower",267,96,277,132,"Bow Master",1830,15,instance_npcname("93FGate102tower", instance_id())+"::OnMyMobDead";
  3583. 	end;
  3584.  
  3585. OnTouch_:
  3586. 	warp "4@tower",310,99;
  3587. 	end;
  3588.  
  3589. OnMyMobDead:
  3590. 	set .@mob_dead_num,mobcount("4@tower",instance_npcname("93FGate102tower", instance_id())+"::OnMyMobDead");
  3591. 	if (.@mob_dead_num < 1) {
  3592. 		instance_announce 0,"All Monsters on the 94th Floor have been defeated.",bc_map,"0xffff00";
  3593. 		donpcevent instance_npcname("94FGate102tower", instance_id())+"::OnEnable";
  3594. 		//SetItemPartyInMap in_102floor 94
  3595. 	}
  3596. 	else
  3597. 		instance_announce 0,"Remaining Monsters on the 94th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  3598. 	end;
  3599. }
  3600.  
  3601. 4@tower,270,138,0	script	94FGate102tower	45,2,2,{
  3602. 	end;
  3603.  
  3604. OnInstanceInit:
  3605. 	disablenpc instance_npcname("94FGate102tower", instance_id());
  3606. 	end;
  3607.  
  3608. OnEnable:
  3609. 	enablenpc instance_npcname("94FGate102tower", instance_id());
  3610. 	areamonster "4@tower",352,96,362,132,"Beelzebub",1873,1,instance_npcname("94FGate102tower", instance_id())+"::OnMyMobDead";
  3611. 	areamonster "4@tower",352,96,362,132,"Hunter Fly",1035,30,instance_npcname("94FGate102tower", instance_id())+"::OnMyMobDead";
  3612. 	areamonster "4@tower",352,96,362,132,"Steel Chonchon",1042,5,instance_npcname("94FGate102tower", instance_id())+"::OnMyMobDead";
  3613. 	areamonster "4@tower",352,96,362,132,"Dragon FLy",1091,5,instance_npcname("94FGate102tower", instance_id())+"::OnMyMobDead";
  3614. 	areamonster "4@tower",352,96,362,132,"Chonchon",1011,5,instance_npcname("94FGate102tower", instance_id())+"::OnMyMobDead";
  3615. 	end;
  3616.  
  3617. OnTouch_:
  3618. 	warp "4@tower",395,99;
  3619. 	end;
  3620.  
  3621. OnMyMobDead:
  3622. 	set .@mob_dead_num,mobcount("4@tower",instance_npcname("94FGate102tower", instance_id())+"::OnMyMobDead");
  3623. 	if (.@mob_dead_num < 1) {
  3624. 		instance_announce 0,"All Monsters on the 95th Floor have been defeated.",bc_map,"0xffff00";
  3625. 		donpcevent instance_npcname("95FGate102tower", instance_id())+"::OnEnable";
  3626. 		//SetItemPartyInMap in_102floor 95
  3627. 	}
  3628. 	else
  3629. 		instance_announce 0,"Remaining Monsters on the 95th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  3630. 	end;
  3631. }
  3632.  
  3633. 4@tower,355,138,0	script	95FGate102tower	45,2,2,{
  3634. 	end;
  3635.  
  3636. OnInstanceInit:
  3637. 	disablenpc instance_npcname("95FGate102tower", instance_id());
  3638. 	end;
  3639.  
  3640. OnEnable:
  3641. 	enablenpc instance_npcname("95FGate102tower", instance_id());
  3642. 	areamonster "4@tower",9,9,19,45,"Valkyrie",1765,5,instance_npcname("95FGate102tower", instance_id())+"::OnMyMobDead";
  3643. 	areamonster "4@tower",9,9,19,45,"Skeggiold",1755,10,instance_npcname("95FGate102tower", instance_id())+"::OnMyMobDead";
  3644. 	areamonster "4@tower",9,9,19,45,"Skeggiold",1754,10,instance_npcname("95FGate102tower", instance_id())+"::OnMyMobDead";
  3645. 	end;
  3646.  
  3647. OnTouch_:
  3648. 	warp "4@tower",52,12;
  3649. 	end;
  3650.  
  3651. OnMyMobDead:
  3652. 	set .@mob_dead_num,mobcount("4@tower",instance_npcname("95FGate102tower", instance_id())+"::OnMyMobDead");
  3653. 	if (.@mob_dead_num < 1) {
  3654. 		instance_announce 0,"All Monsters on the 96th Floor have been defeated.",bc_map,"0xffff00";
  3655. 		donpcevent instance_npcname("96FGate102tower", instance_id())+"::OnEnable";
  3656. 		//SetItemPartyInMap in_102floor 96
  3657. 	}
  3658. 	else
  3659. 		instance_announce 0,"Remaining Monsters on the 96th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  3660. 	end;
  3661. }
  3662.  
  3663. 4@tower,12,51,0	script	96FGate102tower	45,2,2,{
  3664. 	end;
  3665.  
  3666. OnInstanceInit:
  3667. 	disablenpc instance_npcname("96FGate102tower", instance_id());
  3668. 	end;
  3669.  
  3670. OnEnable:
  3671. 	enablenpc instance_npcname("96FGate102tower", instance_id());
  3672. 	areamonster "4@tower",93,9,103,45,"Incarnation of Morroc",1918,5,instance_npcname("96FGate102tower", instance_id())+"::OnMyMobDead";
  3673. 	areamonster "4@tower",93,9,103,45,"Incarnation of Morroc",1919,5,instance_npcname("96FGate102tower", instance_id())+"::OnMyMobDead";
  3674. 	areamonster "4@tower",93,9,103,45,"Incarnation of Morroc",1920,5,instance_npcname("96FGate102tower", instance_id())+"::OnMyMobDead";
  3675. 	areamonster "4@tower",93,9,103,45,"Incarnation of Morroc",1921,5,instance_npcname("96FGate102tower", instance_id())+"::OnMyMobDead";
  3676. 	end;
  3677.  
  3678. OnTouch_:
  3679. 	warp "4@tower",136,12;
  3680. 	end;
  3681.  
  3682. OnMyMobDead:
  3683. 	set .@mob_dead_num,mobcount("4@tower",instance_npcname("96FGate102tower", instance_id())+"::OnMyMobDead");
  3684. 	if (.@mob_dead_num < 1) {
  3685. 		instance_announce 0,"All Monsters on the 97th Floor have been defeated.",bc_map,"0xffff00";
  3686. 		donpcevent instance_npcname("97FGate102tower", instance_id())+"::OnEnable";
  3687. 		//SetItemPartyInMap in_102floor 97
  3688. 	}
  3689. 	else
  3690. 		instance_announce 0,"Remaining Monsters on the 97th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  3691. 	end;
  3692. }
  3693.  
  3694. 4@tower,96,51,0	script	97FGate102tower	45,2,2,{
  3695. 	end;
  3696.  
  3697. OnInstanceInit:
  3698. 	disablenpc instance_npcname("97FGate102tower", instance_id());
  3699. 	end;
  3700.  
  3701. OnEnable:
  3702. 	enablenpc instance_npcname("97FGate102tower", instance_id());
  3703. 	areamonster "4@tower",181,9,191,45,"Kathryne Keyron",1639,2,instance_npcname("97FGate102tower", instance_id())+"::OnMyMobDead";
  3704. 	areamonster "4@tower",181,9,191,45,"Seyren Windsor",1634,2,instance_npcname("97FGate102tower", instance_id())+"::OnMyMobDead";
  3705. 	areamonster "4@tower",181,9,191,45,"Margaretha Sorin",1637,2,instance_npcname("97FGate102tower", instance_id())+"::OnMyMobDead";
  3706. 	areamonster "4@tower",181,9,191,45,"Eremes Guile",1635,2,instance_npcname("97FGate102tower", instance_id())+"::OnMyMobDead";
  3707. 	areamonster "4@tower",181,9,191,45,"Howard Alt-Eisen",1636,2,instance_npcname("97FGate102tower", instance_id())+"::OnMyMobDead";
  3708. 	areamonster "4@tower",181,9,191,45,"Cecil Damon",1638,2,instance_npcname("97FGate102tower", instance_id())+"::OnMyMobDead";
  3709. 	end;
  3710.  
  3711. OnTouch_:
  3712. 	warp "4@tower",224,12;
  3713. 	end;
  3714.  
  3715. OnMyMobDead:
  3716. 	set .@mob_dead_num,mobcount("4@tower",instance_npcname("97FGate102tower", instance_id())+"::OnMyMobDead");
  3717. 	if (.@mob_dead_num < 1) {
  3718. 		instance_announce 0,"All Monsters on the 98th Floor have been defeated.",bc_map,"0xffff00";
  3719. 		donpcevent instance_npcname("98FGate102tower", instance_id())+"::OnEnable";
  3720. 		//SetItemPartyInMap in_102floor 98
  3721. 	}
  3722. 	else
  3723. 		instance_announce 0,"Remaining Monsters on the 98th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  3724. 	end;
  3725. }
  3726.  
  3727. 4@tower,184,51,0	script	98FGate102tower	45,2,2,{
  3728. 	end;
  3729.  
  3730. OnInstanceInit:
  3731. 	disablenpc instance_npcname("98FGate102tower", instance_id());
  3732. 	end;
  3733.  
  3734. OnEnable:
  3735. 	enablenpc instance_npcname("98FGate102tower", instance_id());
  3736. 	for( set .@i, 1; .@i <= 7; set .@i, .@i + 1 ) {
  3737. 		set .@mob_ran,rand(1,30);
  3738. 		if (.@mob_ran == 1) 
  3739. 			areamonster "4@tower",267,9,277,45,"Kathryne Keyron",1639,2,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3740. 		else if (.@mob_ran == 2) 
  3741. 			areamonster "4@tower",267,9,277,45,"Seyren Windsor",1634,2,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3742. 		else if (.@mob_ran == 3) 
  3743. 			areamonster "4@tower",267,9,277,45,"Margaretha Sorin",1637,2,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3744. 		else if (.@mob_ran == 4) 
  3745. 			areamonster "4@tower",267,9,277,45,"Eremes Guile",1635,2,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3746. 		else if (.@mob_ran == 5) 
  3747. 			areamonster "4@tower",267,9,277,45,"Howard Alt-Eisen",1636,2,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3748. 		else if (.@mob_ran == 6) 
  3749. 			areamonster "4@tower",267,9,277,45,"Cecil Damon",1638,2,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3750. 		else if (.@mob_ran == 7) 
  3751. 			areamonster "4@tower",267,9,277,45,"Incarnation of Morroc",1918,5,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3752. 		else if (.@mob_ran == 8) 
  3753. 			areamonster "4@tower",267,9,277,45,"Incarnation of Morroc",1919,5,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3754. 		else if (.@mob_ran == 9) 
  3755. 			areamonster "4@tower",267,9,277,45,"Incarnation of Morroc",1920,5,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3756. 		else if (.@mob_ran == 10) 
  3757. 			areamonster "4@tower",267,9,277,45,"Incarnation of Morroc",1921,5,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3758. 		else if (.@mob_ran == 11) 
  3759. 			areamonster "4@tower",267,9,277,45,"Valkyrie",1765,5,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3760. 		else if (.@mob_ran == 12) 
  3761. 			areamonster "4@tower",267,9,277,45,"Skeggiold",1755,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3762. 		else if (.@mob_ran == 13) 
  3763. 			areamonster "4@tower",267,9,277,45,"Skeggiold",1754,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3764. 		else if (.@mob_ran == 14) 
  3765. 			areamonster "4@tower",267,9,277,45,"Seyren Windsor",1634,15,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3766. 		else if (.@mob_ran == 15) 
  3767. 			areamonster "4@tower",267,9,277,45,"Bloody Knight",1268,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3768. 		else if (.@mob_ran == 16) 
  3769. 			areamonster "4@tower",267,9,277,45,"Abysmal Knight",1219,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3770. 		else if (.@mob_ran == 17) 
  3771. 			areamonster "4@tower",267,9,277,45,"Wanderer",1208,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3772. 		else if (.@mob_ran == 18) 
  3773. 			areamonster "4@tower",267,9,277,45,"Sword Master",1829,15,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3774. 		else if (.@mob_ran == 19) 
  3775. 			areamonster "4@tower",267,9,277,45,"Bow Master",1830,15,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3776. 		else if (.@mob_ran == 20) 
  3777. 			areamonster "4@tower",267,9,277,45,"Kathryne Keyron",1639,15,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3778. 		else if (.@mob_ran == 21) 
  3779. 			areamonster "4@tower",267,9,277,45,"Elder",1377,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3780. 		else if (.@mob_ran == 22) 
  3781. 			areamonster "4@tower",267,9,277,45,"Laurell Weinder",1657,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3782. 		else if (.@mob_ran == 23) 
  3783. 			areamonster "4@tower",267,9,277,45,"Wind Ghost",1263,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3784. 		else if (.@mob_ran == 24) 
  3785. 			areamonster "4@tower",267,9,277,45,"Marduk",1140,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3786. 		else if (.@mob_ran == 25) 
  3787. 			areamonster "4@tower",267,9,277,45,"Cecil Damon",1638,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3788. 		else if (.@mob_ran == 26) 
  3789. 			areamonster "4@tower",267,9,277,45,"Bow Master",1830,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3790. 		else if (.@mob_ran == 27) 
  3791. 			areamonster "4@tower",267,9,277,45,"Kavach Icarus",1656,30,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3792. 		else if (.@mob_ran == 28) 
  3793. 			areamonster "4@tower",267,9,277,45,"Baroness of Retribution",1702,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3794. 		else if (.@mob_ran == 29) 
  3795. 			areamonster "4@tower",267,9,277,45,"Lady Solace",1703,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3796. 		else 
  3797. 			areamonster "4@tower",267,9,277,45,"False Angel",1371,10,instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead";
  3798. 	}
  3799. 	end;
  3800.  
  3801. OnTouch_:
  3802. 	warp "4@tower",309,12;
  3803. 	end;
  3804.  
  3805. OnMyMobDead:
  3806. 	set .@mob_dead_num,mobcount("4@tower",instance_npcname("98FGate102tower", instance_id())+"::OnMyMobDead");
  3807. 	if (.@mob_dead_num < 1) {
  3808. 		instance_announce 0,"All Monsters on the 99th Floor have been defeated.",bc_map,"0xffff00";
  3809. 		donpcevent instance_npcname("99FGate102tower", instance_id())+"::OnEnable";
  3810. 		//SetItemPartyInMap in_102floor 99
  3811. 	}
  3812. 	else
  3813. 		instance_announce 0,"Remaining Monsters on the 99th Floor - " + .@mob_dead_num,bc_map,"0x00ff99";
  3814. 	end;
  3815. }
  3816.  
  3817. 4@tower,271,51,0	script	99FGate102tower	45,2,2,{
  3818. 	end;
  3819.  
  3820. OnInstanceInit:
  3821. 	disablenpc instance_npcname("99FGate102tower", instance_id());
  3822. 	end;
  3823.  
  3824. OnEnable:
  3825. 	enablenpc instance_npcname("99FGate102tower", instance_id());
  3826. 	initnpctimer;
  3827. 	end;
  3828.  
  3829. OnTouch_:
  3830. 	getitem 6000,1; //Dark_Ashes
  3831. 	warp "5@tower",101,72;
  3832. 	end;
  3833.  
  3834. OnTimer120000:
  3835. 	disablenpc instance_npcname("99FGate102tower", instance_id());
  3836. 	donpcevent instance_npcname("99FGate102tower-2", instance_id())+"::OnEnable";
  3837. 	stopnpctimer;
  3838. 	end;
  3839. }
  3840.  
  3841. 4@tower,271,51,0	script	99FGate102tower-2	45,2,2,{
  3842. 	end;
  3843.  
  3844. OnInstanceInit:
  3845. 	disablenpc instance_npcname("99FGate102tower-2", instance_id());
  3846. 	end;
  3847.  
  3848. OnEnable:
  3849. 	enablenpc instance_npcname("99FGate102tower-2", instance_id());
  3850. 	end;
  3851.  
  3852. OnTouch_:
  3853. 	warp "5@tower",101,72;
  3854. 	end;
  3855. }
  3856.  
  3857. /*
  3858. 4@tower,71,1,0	script	#Manager Mode4	844,{
  3859. 	mes "Please enter the password.";
  3860. 	input .@inputstr$;
  3861. 	next;
  3862. 	if (.@inputstr$ == "dmc2008") {
  3863. 		mes "This NPC manages the tower from the 76th to the 99th Floor.";
  3864. 		mes "Please enter the Floor number to open.";
  3865. 		mes "(i.g.: 76F->76, 99F->99)";
  3866. 		input .@input,76,99;
  3867. 		next;
  3868. 		if (.@input < 76 || .@input > 99)
  3869. 			mes "You can only enter a number from 76 to 99.";
  3870. 		else {
  3871. 			donpcevent instance_npcname(.@input+"FGate102tower", instance_id())+"::OnEnable";
  3872. 			mes "*** Floor "+ .@input + " is now being opened. ***";
  3873. 		}
  3874. 	}
  3875. 	close;
  3876. }
  3877. */
  3878.  
  3879. // Floor 100
  3880. 5@tower,106,109,2	script	Lucid Crystal#102	844,{
  3881. 	if (in_102tower < 10) {
  3882. 		mes "^0000ffA mysterious voice echoes through the room as you touch the lucid crystal radiating a strong light.^000000";
  3883. 		next;
  3884. 		mes "[Mysterious Voice]";
  3885. 		mes "Welcome to my place, intruders. I've had fun watching you endure all the difficulties I've set before you.";
  3886. 		next;
  3887. 		mes "[Mysterious Voice]";
  3888. 		mes "Unfortunately, the time has come to end the show.";
  3889. 		next;
  3890. 		mes "[Mysterious Voice]";
  3891. 		mes "It's still too early to celebrate your victory against my right-hand man Knothen because he isn't completely destroyed!";
  3892. 		next;
  3893. 		mes "[Mysterious Voice]";
  3894. 		mes "I shall resurrect him for your next show. Defeat him again, and then I'll gladly accept your challenge.";
  3895. 		next;
  3896. 		mes "[Mysterious Voice]";
  3897. 		mes "Good-bye for now.";
  3898. 		mes "Once again, I had such a great time, humans. I look forward to seeing you again.";
  3899. 		next;
  3900. 		mes "^0000ffAs soon as the voice stopped talking, an irresistible force lifted and moved you somewhere else.";
  3901. 		close2;
  3902. 		set in_102tower,10;
  3903. 		warp "alberta",223,36;
  3904. 	}
  3905. 	else {
  3906. 		mes "^0000ffThe radiating crystal piece seems to beckon you, just like last time.^000000";
  3907. 		next;
  3908. 		mes "[Mysterious Voice]";
  3909. 		mes "I must have underestimated you... I didn't expect to see you again.";
  3910. 		next;
  3911. 		mes "[Mysterious Voice]";
  3912. 		mes "I can smell your sweat, hear the gasps of your exhaustion in combat. Ah~ The human desire for victory always excites me.";
  3913. 		next;
  3914. 		mes "[Mysterious Voice]";
  3915. 		mes "I now allow you to come receive an audience from me. Come to me, to Nacht Sieger the Hegemon-King of the Darkness!";
  3916. 		close2;
  3917. 		warp "6@tower",32,12;
  3918. 	}
  3919. 	end;
  3920.  
  3921. OnInstanceInit:
  3922. 	disablenpc instance_npcname("Lucid Crystal#102", instance_id());
  3923. 	end;
  3924.  
  3925. OnDisable:
  3926. 	disablenpc instance_npcname("Lucid Crystal#102", instance_id());
  3927. 	end;
  3928.  
  3929. OnEnable:
  3930. 	enablenpc instance_npcname("Lucid Crystal#102", instance_id());
  3931. 	donpcevent instance_npcname("#102Effect1", instance_id())+"::OnEnable";
  3932. 	end;
  3933. }
  3934.  
  3935. 5@tower,106,109,2	script	#102Effect1	844,{
  3936. 	end;
  3937.  
  3938. OnInstanceInit:
  3939. 	disablenpc instance_npcname("#102Effect1", instance_id());
  3940. 	end;
  3941.  
  3942. OnDisable:
  3943. 	disablenpc instance_npcname("#102Effect1", instance_id());
  3944. 	end;
  3945.  
  3946. OnEnable:
  3947. 	enablenpc instance_npcname("#102Effect1", instance_id());
  3948. 	initnpctimer;
  3949. 	end;
  3950.  
  3951. OnTimer500:
  3952. 	specialeffect EF_ENHANCE;
  3953. 	stopnpctimer;
  3954. 	donpcevent instance_npcname("#102Effect2", instance_id())+"::OnEnable";
  3955. 	end;
  3956. }
  3957.  
  3958. 5@tower,106,109,2	script	#102Effect2	844,{
  3959. 	end;
  3960.  
  3961. OnInstanceInit:
  3962. 	disablenpc instance_npcname("#102Effect2", instance_id());
  3963. 	end;
  3964.  
  3965. OnDisable:
  3966. 	disablenpc instance_npcname("#102Effect2", instance_id());
  3967. 	end;
  3968.  
  3969. OnEnable:
  3970. 	enablenpc instance_npcname("#102Effect2", instance_id());
  3971. 	initnpctimer;
  3972. 	end;
  3973.  
  3974. OnTimer500:
  3975. 	specialeffect EF_ENHANCE;
  3976. 	stopnpctimer;
  3977. 	donpcevent instance_npcname("#102Effect1", instance_id())+"::OnEnable";
  3978. 	end;
  3979. }
  3980.  
  3981. 5@tower,82,112,2	script	#102FShadowDust1	844,{
  3982. 	end;
  3983.  
  3984. OnInstanceInit:
  3985. 	donpcevent instance_npcname("#102FShadowDust", instance_id())+"::OnEnable";
  3986. 	monster "5@tower",83,85,"Entweihen Crothen",1957,1,instance_npcname("#102FShadowDust1", instance_id())+"::OnMyMobDead";
  3987. 	end;
  3988.  
  3989. OnMyMobDead:
  3990. 	set .@mob_dead_num,mobcount("5@tower",instance_npcname("#102FShadowDust1", instance_id())+"::OnMyMobDead");
  3991. 	if (.@mob_dead_num < 1) {
  3992. 		instance_announce 0, "Mysterious Voice: Who are you to dare intrude upon my sanctuary?!",bc_map,"0xffff00";
  3993. 		donpcevent instance_npcname("#102FShadowDust", instance_id())+"::OnDisable";
  3994. 		donpcevent instance_npcname("Lucid Crystal#102", instance_id())+"::OnEnable";
  3995. 		//SetItemPartyInMap in_102floor 100
  3996. 	}
  3997. 	end;
  3998. }
  3999.  
  4000. 5@tower,82,113,2	script	#102FShadowDust	844,{
  4001. 	end;
  4002.  
  4003. OnInstanceInit:
  4004. 	disablenpc instance_npcname("#102FShadowDust", instance_id());
  4005. 	end;
  4006.  
  4007. OnDisable:
  4008. 	killmonsterall "5@tower";
  4009. 	end;
  4010.  
  4011. OnEnable:
  4012. 	monster "5@tower",72,93,"Thorny Skeleton",1958,1;
  4013. 	monster "5@tower",70,87,"Thorn of Magic",1960,1;
  4014. 	monster "5@tower",68,83,"Thorn of Pureness",1961,1;
  4015. 	monster "5@tower",70,80,"Thorny Skeleton",1958,1;
  4016. 	monster "5@tower",74,81,"Thorn of Magic",1960,1;
  4017. 	monster "5@tower",78,72,"Thorn of Magic",1960,1;
  4018. 	monster "5@tower",81,70,"Thorny Skeleton",1958,1;
  4019. 	monster "5@tower",78,84,"Thorn of Recovery",1959,1;
  4020. 	monster "5@tower",85,72,"Thorn of Magic",1960,1;
  4021. 	monster "5@tower",91,74,"Thorny Skeleton",1958,1;
  4022. 	monster "5@tower",79,77,"Thorn of Pureness",1961,1;
  4023. 	monster "5@tower",82,80,"Thorn of Recovery",1959,1;
  4024. 	monster "5@tower",87,83,"Thorn of Recovery",1959,1;
  4025. 	monster "5@tower",80,92,"Thorn of Pureness",1961,1;
  4026. 	monster "5@tower",81,89,"Thorny Skeleton",1958,1;
  4027. 	monster "5@tower",85,93,"Thorn of Magic",1960,1;
  4028. 	monster "5@tower",86,90,"Thorn of Recovery",1959,1;
  4029. 	monster "5@tower",88,88,"Thorny Skeleton",1958,1;
  4030. 	monster "5@tower",91,87,"Thorn of Magic",1960,1;
  4031. 	monster "5@tower",95,94,"Thorn of Magic",1960,1;
  4032. 	monster "5@tower",91,96,"Thorny Skeleton",1958,1;
  4033. 	monster "5@tower",90,82,"Thorn of Pureness",1961,1;
  4034. 	monster "5@tower",96,98,"Thorn of Magic",1960,1;
  4035. 	monster "5@tower",83,76,"Thorny Skeleton",1958,1;
  4036. 	monster "5@tower",74,85,"Thorny Skeleton",1958,1;
  4037. 	set .@mob_ran,rand(1,3);
  4038. 	if (.@mob_ran == 1)
  4039. 		monster "5@tower",82,85,"Thorny Skeleton",1958,1;
  4040. 	else if (.@mob_ran == 2)
  4041. 		monster "5@tower",82,85,"Thorn of Magic",1960,1;
  4042. 	else
  4043. 		monster "5@tower",82,85,"Thorn of Pureness",1961,1;
  4044. 	set .@mob_ran2,rand(1,3);
  4045. 	if (.@mob_ran2 == 1)
  4046. 		monster "5@tower",84,85,"Thorny Skeleton",1958,1;
  4047. 	else if (.@mob_ran2 == 2)
  4048. 		monster "5@tower",84,85,"Thorn of Magic",1960,1;
  4049. 	else
  4050. 		monster "5@tower",84,85,"Thorn of Pureness",1961,1;
  4051. 	end;
  4052. }
  4053.  
  4054. 5@tower,71,1,0	script	#Manager Mode5	844,{
  4055. 	mes "This NPC manages the crystal on the 100th Floor. Please enter the password.";
  4056. 	input .@inputstr$;
  4057. 	next;
  4058. 	if (.@inputstr$ == "dmc2008") {
  4059. 		donpcevent instance_npcname("Lucid Crystal#102", instance_id())+"::OnEnable";
  4060. 		mes "The 100th Floor's crystal has been activated.";
  4061. 	}
  4062. 	else
  4063. 		mes "Please enter the correct password.";
  4064. 	close;
  4065. }
  4066.  
  4067. // Floor 101
  4068. 6@tower,45,89,2	script	Spring of Life#1	844,{
  4069. 	set .@pc_hp,MaxHp-Hp;
  4070. 	set .@pc_sp,MaxSp-Sp;
  4071. 	mes "^0066ffYou took a sip of the spring's clear water, and you feel invigorated.^000000";
  4072. 	percentheal .@pc_hp,.@pc_sp;
  4073. 	close;
  4074.  
  4075. OnInstanceInit:
  4076. 	donpcevent instance_npcname("Spring of Life#2", instance_id())+"::OnEnable";
  4077. 	end;
  4078.  
  4079. }
  4080.  
  4081. 6@tower,45,89,2	script	Spring of Life#2	844,{
  4082. 	end;
  4083.  
  4084. OnEnable:
  4085. 	specialeffect EF_BUBBLE;
  4086. 	initnpctimer;
  4087. 	end;
  4088.  
  4089. OnTimer2000:
  4090. 	stopnpctimer;;
  4091. 	donpcevent instance_npcname("Spring of Life#3", instance_id())+"::OnEnable";
  4092. 	end;
  4093. }
  4094.  
  4095. 6@tower,45,89,2	script	Spring of Life#3	844,{
  4096. 	end;
  4097.  
  4098. OnEnable:
  4099. 	specialeffect EF_BUBBLE;
  4100. 	initnpctimer;
  4101. 	end;
  4102.  
  4103. OnTimer2000:
  4104. 	stopnpctimer;
  4105. 	donpcevent instance_npcname("Spring of Life#2", instance_id())+"::OnEnable";
  4106. 	end;
  4107. }
  4108.  
  4109. 6@tower,32,100,0	warp	102FGate102tower	2,2,6@tower,155,64
  4110.  
  4111. 6@tower,156,151,2	script	Tyrant's Throne#	844,{
  4112. 	end;
  4113.  
  4114. OnInstanceInit:
  4115. 	areamonster "6@tower",154,73,156,75,"Anopheles",1627,10,instance_npcname("Tyrant's Throne#", instance_id())+"::OnMyMobDead";
  4116. 	end;
  4117.  
  4118. OnMyMobDead:
  4119. 	set .@mob_dead_num,mobcount("6@tower",instance_npcname("Tyrant's Throne#", instance_id())+"::OnMyMobDead");
  4120. 	if (.@mob_dead_num < 1) {
  4121. 		donpcevent instance_npcname("#1st Beeper", instance_id())+"::OnEnable";
  4122. 		disablenpc instance_npcname("Tyrant's Throne#", instance_id());
  4123. 	}
  4124. 	end;
  4125. }
  4126.  
  4127. 6@tower,156,151,2	script	#1st Beeper	844,{
  4128. 	end;
  4129.  
  4130. OnEnable:
  4131. 	initnpctimer;
  4132. 	end;
  4133.  
  4134. OnTimer500:
  4135. 	instance_announce 0,"Guests, huh? I hope you've come here knowing that you'll be buried in this place. If you didn't know, well... it's too late!",bc_map,"0x00ffcc";
  4136. 	end;
  4137.  
  4138. OnTimer5500:
  4139. 	instance_announce 0,"This is why you adventurers always end up dead.",bc_map,"0x00ffcc";
  4140. 	end;
  4141.  
  4142. OnTimer10500:
  4143. 	instance_announce 0,"I may applaud you for your courage... Of course, I intend to play with you a little bit first.",bc_map,"0x00ffcc";
  4144. 	end;
  4145.  
  4146. OnTimer15500:
  4147. 	instance_announce 0,"You know, I like watching humans running around in fear.",bc_map,"0x00ffcc";
  4148. 	end;
  4149.  
  4150. OnTimer20500:
  4151. 	instance_announce 0,"Let's see who runs fastest. Are you ready?",bc_map,"0x00ffcc";
  4152. 	stopnpctimer;
  4153. 	areamonster "6@tower",151,66,153,106,"Bone Guardian",1152,50,instance_npcname("#1st Beeper", instance_id())+"::OnMyMobDead";
  4154. 	areamonster "6@tower",158,66,160,106,"Bone Guardian",1152,50,instance_npcname("#1st Beeper", instance_id())+"::OnMyMobDead";
  4155. 	end;
  4156.  
  4157. OnMyMobDead:
  4158. 	set .@mob_dead_num,mobcount("6@tower",instance_npcname("#1st Beeper", instance_id())+"::OnMyMobDead");
  4159. 	if (.@mob_dead_num < 1) {
  4160. 		donpcevent instance_npcname("#2nd Beeper", instance_id())+"::OnEnable";
  4161. 		//SetItemPartyInMap in_102floor 101
  4162. 	}
  4163. 	else
  4164. 		instance_announce 0,"Remaining Targets " + .@mob_dead_num + "ea",bc_map,"0x00ff99";
  4165. 	end;
  4166. }
  4167.  
  4168. 6@tower,156,151,2	script	#2nd Beeper	844,{
  4169. 	end;
  4170.  
  4171. OnEnable:
  4172. 	initnpctimer;
  4173. 	end;
  4174.  
  4175. OnTimer500:
  4176. 	instance_announce 0,"Well, I guess they aren't too challenging for you.",bc_map,"0x00ffcc";
  4177. 	end;
  4178.  
  4179. OnTimer5500:
  4180. 	instance_announce 0,"Let's speed up a little bit, shall we?",bc_map,"0x00ffcc";
  4181. 	end;
  4182.  
  4183. OnTimer10500:
  4184. 	instance_announce 0,"I demand an encore!",bc_map,"0x00ffcc";
  4185. 	stopnpctimer;
  4186. 	areamonster "6@tower",151,66,153,106,"Wind Guardian",1263,30,instance_npcname("#2nd Beeper", instance_id())+"::OnMyMobDead";
  4187. 	areamonster "6@tower",158,66,160,106,"Wind Guardian",1263,30,instance_npcname("#2nd Beeper", instance_id())+"::OnMyMobDead";
  4188. 	end;
  4189.  
  4190. OnMyMobDead:
  4191. 	set .@mob_dead_num,mobcount("6@tower",instance_npcname("#2nd Beeper", instance_id())+"::OnMyMobDead");
  4192. 	if (.@mob_dead_num < 1) {
  4193. 		donpcevent instance_npcname("#3rd Beeper", instance_id())+"::OnEnable";
  4194. 		//SetItemPartyInMap in_102floor 102
  4195. 	}
  4196. 	else
  4197. 		instance_announce 0,"Remaining Targets " + .@mob_dead_num + "ea",bc_map,"0x00ff99";
  4198. 	end;
  4199. }
  4200.  
  4201. 6@tower,156,151,2	script	#3rd Beeper	844,{
  4202. 	end;
  4203.  
  4204. OnEnable:
  4205. 	initnpctimer;
  4206. 	end;
  4207.  
  4208. OnTimer500:
  4209. 	instance_announce 0,"Yes, this is getting exciting!",bc_map,"0x00ffcc";
  4210. 	end;
  4211.  
  4212. OnTimer5500:
  4213. 	instance_announce 0,"I'll remember you as one of a few that have managed to entertain me.",bc_map,"0x00ffcc";
  4214. 	end;
  4215.  
  4216. OnTimer10500:
  4217. 	instance_announce 0,"How would you like to play one more round?",bc_map,"0x00ffcc";
  4218. 	stopnpctimer;
  4219. 	areamonster "6@tower",151,66,153,106,"Sword Edge Guardian",1132,20,instance_npcname("#3rd Beeper", instance_id())+"::OnMyMobDead";
  4220. 	areamonster "6@tower",158,66,160,106,"Sword Edge Guardian",1132,20,instance_npcname("#3rd Beeper", instance_id())+"::OnMyMobDead";
  4221. 	end;
  4222.  
  4223. OnMyMobDead:
  4224. 	set .@mob_dead_num,mobcount("6@tower",instance_npcname("#3rd Beeper", instance_id())+"::OnMyMobDead");
  4225. 	if (.@mob_dead_num < 1) {
  4226. 		donpcevent instance_npcname("#4th Beeper", instance_id())+"::OnEnable";
  4227. 		//SetItemPartyInMap in_102floor 103
  4228. 	}
  4229. 	else
  4230. 		instance_announce 0,"Remaining Targets " + .@mob_dead_num + "ea",bc_map,"0x00ff99";
  4231. 	end;
  4232. }
  4233.  
  4234. 6@tower,156,151,2	script	#4th Beeper	844,{
  4235. 	end;
  4236.  
  4237. OnEnable:
  4238. 	initnpctimer;
  4239. 	end;
  4240.  
  4241. OnTimer500:
  4242. 	instance_announce 0,"Okay, the time has come to make my appearance!",bc_map,"0x00ffcc";
  4243. 	end;
  4244.  
  4245. OnTimer5500:
  4246. 	instance_announce 0,"Do you want to know who I am?",bc_map,"0x00ffcc";
  4247. 	end;
  4248.  
  4249. OnTimer10500:
  4250. 	instance_announce 0,"You'll soon know. Mine is the face of death!",bc_map,"0x00ffcc";
  4251. 	stopnpctimer;
  4252. 	monster "6@tower",156,147,"Nacht Sieger",1956,1,instance_npcname("#4th Beeper", instance_id())+"::OnMyMobDead";
  4253. 	end;
  4254.  
  4255. OnMyMobDead:
  4256. 	donpcevent instance_npcname("Lost Soul#102", instance_id())+"::OnEnable";
  4257. 	end;
  4258. }
  4259.  
  4260. 6@tower,169,127,2	script	Lost Soul#102	796,{
  4261. 	if (checkweight(1201,1) == 0) {
  4262. 		mes "You're carrying too much stuff. Why don't you put some of it away, and then come back?";
  4263. 		close;
  4264. 	}
  4265. 	mes "[Lost Souls]";
  4266. 	mes "It's you that have liberated us from the evil Nacht Sieger.";
  4267. 	next;
  4268. 	mes "[Lost Souls]";
  4269. 	mes "Thank you so much. Now we can escape from this cold and dark place... to heaven.";
  4270. 	next;
  4271. 	if ((countitem(13412) > 0) && (countitem(13413) > 0)) {
  4272. 		mes "[Lost Souls]";
  4273. 		mes "Hey, you have the remnants of Nacht Sieger with you.";
  4274. 		next;
  4275. 		mes "[Lost Souls]";
  4276. 		mes "They may appear to be one-handed swords, but I can put them together to make a two-handed one if you want. That's the only way I can repay you for freeing me.";
  4277. 		next;
  4278. 		switch(select("Make a Two-Handed Sword.:No, thanks.")) {
  4279. 		case 1:
  4280. 			mes "[Lost Souls]";
  4281. 			mes "Good, then I'll combine these to create a two-handed sword.";
  4282. 			next;
  4283. 			delitem 13412,1; //Twin_Edge_B
  4284. 			delitem 13413,1; //Twin_Edge_R
  4285. 			getitem 1185,1; //Violet_Fear
  4286. 			mes "[Lost Souls]";
  4287. 			mes "I'd like to talk to you more, but I've... I've got to go now.";
  4288. 			next;
  4289. 			break;
  4290. 		case 2:
  4291. 			mes "[Lost Souls]";
  4292. 			mes "I see. I guess you aren't as greedy or ambitious as those other adventurers.";
  4293. 			next;
  4294. 			mes "[Lost Souls]";
  4295. 			mes "I'd like to talk to you more, but I've... I've got to go now.";
  4296. 			next;
  4297. 			break;
  4298. 		}
  4299. 	}
  4300. 	mes "[Lost Souls]";
  4301. 	mes "Farewell, young adventurer. I wish you good luck.";
  4302. 	close2;
  4303. 	warp "alberta",223,36;
  4304. 	end;
  4305.  
  4306. OnInstanceInit:
  4307. 	disablenpc instance_npcname("Lost Soul#102", instance_id());
  4308. 	end;
  4309.  
  4310. OnEnable:
  4311. 	initnpctimer;
  4312. 	enablenpc instance_npcname("Lost Soul#102", instance_id());
  4313. 	donpcevent instance_npcname("#Effect30", instance_id())+"::OnEnable";
  4314. 	//SetItemPartyInMap in_102floor 104
  4315. 	end;
  4316.  
  4317. OnTimer500:
  4318. 	instance_announce 0,"This... This can't be happening! I can't be defeated!",bc_map,"0xffff00";
  4319. 	end;
  4320.  
  4321. OnTimer5500:
  4322. 	instance_announce 0,"Nooo! My soul... My shell...! Nooo~!",bc_map,"0xffff00";
  4323. 	end;
  4324.  
  4325. OnTimer10500:
  4326. 	instance_announce 0,"Nacht Sieger's body has turned into dark ashes that scattered in the wind.",bc_map,"0x00ffcc";
  4327. 	stopnpctimer;
  4328. 	end;
  4329. }
  4330.  
  4331. 6@tower,169,127,2	script	#Effect30	844,{
  4332. 	end;
  4333.  
  4334. OnInstanceInit:
  4335. 	disablenpc instance_npcname("#Effect30", instance_id());
  4336. 	end;
  4337.  
  4338. OnEnable:
  4339. 	specialeffect EF_CONE;
  4340. 	initnpctimer;
  4341. 	end;
  4342.  
  4343. OnTimer1000:
  4344. 	stopnpctimer;
  4345. 	donpcevent instance_npcname("#Effect31", instance_id())+"::OnEnable";
  4346. 	end;
  4347. }
  4348.  
  4349. 6@tower,169,127,2	script	#Effect31	844,{
  4350. 	end;
  4351.  
  4352. OnInstanceInit:
  4353. 	disablenpc instance_npcname("#Effect31", instance_id());
  4354. 	end;
  4355.  
  4356. OnEnable:
  4357. 	specialeffect EF_CONE;
  4358. 	initnpctimer;
  4359. 	end;
  4360.  
  4361. OnTimer1000:
  4362. 	stopnpctimer;
  4363. 	donpcevent instance_npcname("#Effect30", instance_id())+"::OnEnable";
  4364. 	end;
  4365. }
  4366.  
Viewed 373 times, submitted by unknown.