viewing paste Favorite Warper (4.3) | Athena

Posted on the
  1. //===== eAthena Script ============================================
  2. //= Favorite Warper
  3. //===== By: =======================================================
  4. //= ~AnnieRuru~
  5. //===== Current Version: ==========================================
  6. //= 4.3
  7. //===== Compatible With: ==========================================
  8. //= eAthena Trunk 14214
  9. //===== Description: ==============================================
  10. //= Super Warper + players can store their favorite maps
  11. //===== Topic =====================================================
  12. //= http://www.eathena.ws/board/index.php?showtopic=240936
  13. //===== Additional Comments: ======================================
  14. //= I just dumped all the new maps to J group,
  15. //= only after these are official in eathena only I'll add into main part
  16. //=================================================================
  17. //Version Update 4.2 -> 4.3 (Streusel)
  18. //Removed warnings that map-server would spit out
  19. //=================================================================
  20.  
  21. -	script	warpra	-1,{
  22. OnInit:
  23. //	Config Start -------------------------
  24.  
  25. 	// set the numbers of favorite maps player can save
  26. 	set .fav_size, 15; // maximum is 40... but I think no need to put that high right ?
  27.  
  28. 	// set the minimum GM level to use favorite options
  29. 	// this is made to let donors (GM01~GM20) on your server can use favorite options
  30. 	// while normal player will see this as normal super warper
  31. 	set .gmlevel, 0;
  32.  
  33. 	// allow extra custom maps on your server
  34. 	//	menu setting inside - Others
  35. 	set .@menu[0], 1; // Turn Group A On/Off -> others
  36. 	set .@menu[1], 0; // Turn Group B On/Off
  37. 	set .@menu[2], 0; // Turn Group C On/Off
  38. 	set .@menu[3], 0; // Turn Group D On/Off
  39. 	set .@menu[4], 0; // Turn Group E On/Off
  40. 	set .@menu[5], 0; // Turn Group F On/Off
  41. 	set .@menu[6], 0; // Turn Group G On/Off
  42. 	set .@menu[7], 0; // Turn Group H On/Off
  43. 	set .@menu[8], 0; // Turn Group I On/Off
  44. 	set .@menu[9], 0; // Turn Group J On/Off -> new maps, turn on if your server support it
  45.  
  46. 	//	Note : if you wanna add more location, only add at the end of the array
  47. 	//	DO NOT add in between !
  48.  
  49. 	set .customnameA$, "Others";
  50. 	setarray .custommapA$,
  51. 	//	<display name>, <map name>,<x>,<y>
  52. 		"market", "turbo_room",99,100,
  53. 		"casino", "cmd_in02",179,129;
  54.  
  55. 	set .customnameB$, "B";
  56. 	setarray .custommapB$,
  57. 	//	<display name>, <map name>,<x>,<y>
  58. 		"market", "turbo_room",99,100,
  59. 		"casino", "cmd_in02",179,129;
  60.  
  61. 	set .customnameC$, "C";
  62. 	setarray .custommapC$,
  63. 	//	<display name>, <map name>,<x>,<y>
  64. 		"market", "turbo_room",99,100,
  65. 		"casino", "cmd_in02",179,129;
  66.  
  67. 	set .customnameD$, "D";
  68. 	setarray .custommapD$,
  69. 	//	<display name>, <map name>,<x>,<y>
  70. 		"market", "turbo_room",99,100,
  71. 		"casino", "cmd_in02",179,129;
  72.  
  73. 	set .customnameE$, "E";
  74. 	setarray .custommapE$,
  75. 	//	<display name>, <map name>,<x>,<y>
  76. 		"market", "turbo_room",99,100,
  77. 		"casino", "cmd_in02",179,129;
  78.  
  79. 	set .customnameF$, "F";
  80. 	setarray .custommapF$,
  81. 	//	<display name>, <map name>,<x>,<y>
  82. 		"market", "turbo_room",99,100,
  83. 		"casino", "cmd_in02",179,129;
  84.  
  85. 	set .customnameG$, "G";
  86. 	setarray .custommapG$,
  87. 	//	<display name>, <map name>,<x>,<y>
  88. 		"market", "turbo_room",99,100,
  89. 		"casino", "cmd_in02",179,129;
  90.  
  91. 	set .customnameH$, "H";
  92. 	setarray .custommapH$,
  93. 	//	<display name>, <map name>,<x>,<y>
  94. 		"market", "turbo_room",99,100,
  95. 		"casino", "cmd_in02",179,129;
  96.  
  97. 	set .customnameI$, "I";
  98. 	setarray .custommapI$,
  99. 	//	<display name>, <map name>,<x>,<y>
  100. 		"lala", "prontera",146,186,
  101. 		"lolo", "prontera",156,186;
  102.  
  103. 	set .customnameJ$, "new maps";
  104. 	setarray .custommapJ$,
  105. 	//	<display name>, <map name>,<x>,<y>
  106. 		"Brasilis", "brasilis", 201,217,
  107. 		"Brasilis Field 1", "bra_fild01",74,32,
  108. 		"Brasilis Dungeon - At the Dusk - 01", "bra_dun01",87,47,
  109. 		"Brasilis Dungeon - At the Dusk - 02", "bra_dun02",262,262,
  110. 		"El Dicastes", "dicastes01", 198,190,
  111. 		"El Dicastes Field 1", "dic_fild01",150,277,
  112. 		"El Dicastes Field 2", "dic_fild02",71,371,
  113. 		"El Dicastes Dungeon Level 1", "dic_dun01",367,44,
  114. 		"El Dicastes Dungeon Level 2", "dic_dun02",102,144;
  115.  
  116. //	Config Ends --------------------------------
  117. 	setarray .abc$, "a","b","c","d","e","f","g","h","i","j";
  118. 	while ( .@i < 10 ) {
  119. 		set .menu$, .menu$ + ( (.@menu[.@i])? getd(".customname"+ .abc$[.@i] +"$"):"" )+":";
  120. 		if ( .@menu[.@i] ) {
  121. 			set .@size, getarraysize( getd(".custommap"+ .abc$[.@i] +"$") );
  122. 			set .@j, 0;
  123. 			while ( .@j < .@size ) {
  124. 				setd ".menu"+ .abc$[.@i] +"$", getd(".menu"+ .abc$[.@i] +"$") + getd(".custommap"+ .abc$[.@i] +"$["+ .@j +"]") +":";
  125. 				set .@j, .@j +4 ;
  126. 			}
  127. 			set .filled$[ getarraysize(.filled$) ], .abc$[.@i];
  128. 		}
  129. 		set .@i, .@i +1 ;
  130. 	}
  131. 	if ( .fav_size > 40 ) set .fav_size, 40;
  132. 	end;
  133. OnWhisperGlobal: // I think need to off this ... I smell players might spam this. Uncomment to on it back
  134. 	if ( hp == 0 ) end;
  135. 	getmapxy .@map$, .@x, .@y, 0;
  136. 	if ( getmapflag(.@map$, mf_nowarp) ) {
  137. 		dispbottom "Warper : You cannot call for warper in current map.";
  138. 		end;
  139. 	}
  140. 	else if ( compare(@whispervar0$, "list") ) {
  141. 		dispbottom "Last warp - "+ @fav_warp_name$[0];
  142. 		for ( set .@i, 1; .@i <= .fav_size; set .@i, .@i +1 )
  143. 			dispbottom .@i +". "+ @fav_warp_name$[.@i];
  144. 		end;
  145. 	}
  146. 	else if ( compare(@whispervar0$, "warp") ) {
  147. 		set .@num, atoi(@whispervar1$);
  148. //	just for debug purpose ...
  149. //		callfunc "fav_maps", @whispervar1$;
  150. //		warp @map$[1], @map$[2], @map$[3];
  151. //		deletearray @map$;
  152. //		end;
  153. 		if ( .@num < 0 || .@num > .fav_size ) {
  154. 			dispbottom "Warper : Invalid number";
  155. 			end;
  156. 		}
  157. 		if ( @fav_warp_name$[.@num] == "" ) {
  158. 			if ( .@num == 0 )
  159. 				dispbottom "Warper : Your Last warp is empty !";
  160. 			else
  161. 				dispbottom "Warper : Your slot number "+ .@num +" is empty !";
  162. 			end;
  163. 		}
  164. 		callfunc "fav_maps", @fav_warp_code$[.@num];
  165. 		set @fav_warp_code$[0], @fav_warp_code$[.@num];
  166. 		set @fav_warp_name$[0], @map$;
  167. 		set fav_warp$, @fav_warp_code$[0];
  168. 		for ( set .@i, 1; .@i <= .fav_size; set .@i, .@i +1 )
  169. 			set fav_warp$, fav_warp$ +"#"+ @fav_warp_code$[.@i];
  170. 		warp @map$[1], atoi(@map$[2]), atoi(@map$[3]);
  171. 		deletearray @map$;
  172. 		end;
  173. 	}
  174. 	doevent "Warper::OnStart";
  175. 	end;
  176. OnPCLoginEvent:
  177. 	if ( fav_warp$ == "" ) end;
  178. 	set .@tmp$, "|~key~|"; // explode
  179. 	set .@str$, .@tmp$ + fav_warp$;
  180. 	set .@len, getstrlen(fav_warp$);
  181. 	setarray .@char$, "#",
  182. 		"0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
  183. 		"a", "b", "c", "d", "e", "f", "g", "h", "i", "j",
  184. 		"k", "l", "m", "n", "o", "p", "q", "r", "s", "t",
  185. 		"u", "v", "w", "x", "y", "z";
  186. 	while( .@len > .@s ) {
  187. 		set .@i, 0;
  188. 		while ( .@i < 37 ) {
  189. 			if ( compare( .@str$ , .@tmp$ + .@char$[.@i] ) ) {
  190. 				set .@tmp$, .@tmp$ + .@char$[.@i];
  191. 				if ( .@i == 0 ) {
  192. 					callfunc "fav_maps", @fav_warp_code$[.@p];
  193. 					set @fav_warp_name$[.@p], @map$;
  194. 					deletearray @map$;
  195. 					set .@p, .@p +1 ;
  196. 				}
  197. 				else
  198. 					set @fav_warp_code$[.@p], @fav_warp_code$[.@p] + .@char$[.@i];
  199. 				break;
  200. 			}
  201. 			set .@i, .@i +1 ;
  202. 		}
  203. 		set .@s, .@s +1 ;
  204. 		if ( .@p % 5 == 4 ) sleep2 1;
  205. 	}
  206. 	callfunc "fav_maps", @fav_warp_code$[.fav_size];
  207. 	set @fav_warp_name$[.fav_size], @map$;
  208. 	deletearray @map$;
  209. 	end;
  210. }
  211.  
  212. -	script	Warper#00::Warper	-1,{
  213. OnStart:
  214. 	while (1) {
  215. 		mes "[Warp NPC]";
  216. 		mes "Hello "+ strcharinfo(0) +" ,";
  217. 		mes "I can teleport you to any Town or Dungeon!";
  218. 		mes "Where do you want to go?";
  219. 		next;
  220. 		if ( getgmlevel() < getvariableofnpc( .gmlevel, "warpra") ) {
  221. 			set .@num$, callsub(L_select, 0, 1);
  222. 			callfunc "fav_maps", .@num$;
  223. 			warp @map$[1], atoi(@map$[2]), atoi(@map$[3]);
  224. 			deletearray @map$;
  225. 			end;
  226. 		}
  227. 		switch ( select ( "Favorites", "Normal warp", "Manage Favorites" ) ) {
  228. 			case 1:
  229. 				set .@menu$, "Last - "+ ( ( @fav_warp_code$[0] )?"^FF9900"+ @fav_warp_name$[0] +"^000000":"^FF0000Empty^000000");
  230. 				for ( set .@i, 1; .@i <= getvariableofnpc( .fav_size, "warpra") ; set .@i, .@i +1 )
  231. 					set .@menu$, .@menu$ +":"+ .@i +". "+ ( ( @fav_warp_code$[.@i] )?"^FF9900"+ @fav_warp_name$[.@i] +"^000000":"^FF0000Empty^000000");
  232. 				set .@menu, select(.@menu$) -1; 
  233. 				callfunc "fav_maps", @fav_warp_code$[.@menu];
  234. 				if ( @map$ == "" ) {
  235. 					mes "[Warp NPC]";
  236. 					if ( .@menu )
  237. 						mes "You haven't set for that option.";
  238. 					else 
  239. 						mes "You have no previous map visited.";
  240. 					next;
  241. 					break;
  242. 				}
  243. 				set @fav_warp_code$[0], @fav_warp_code$[.@menu];
  244. 				set @fav_warp_name$[0], @map$;
  245. 				callsub L_save;
  246. 				warp @map$[1], atoi(@map$[2]), atoi(@map$[3]);
  247. 				deletearray @map$;
  248. 				end;
  249. 			case 2:
  250. 				set .@num$, callsub(L_select, 0, 1);
  251. 				callfunc "fav_maps", .@num$;
  252. 				set @fav_warp_code$[0], .@num$;
  253. 				set @fav_warp_name$[0], @map$;
  254. 				callsub L_save;
  255. 				warp @map$[1], atoi(@map$[2]), atoi(@map$[3]);
  256. 				deletearray @map$;
  257. 				end;
  258. 			case 3:
  259. 				mes "[Warp NPC]";
  260. 				mes "^6600FF*Manage Your Favorite Maps*^000000";
  261. 				next;
  262. 				set .@menu$, "Last - "+ ( ( @fav_warp_code$[0] )?"^FF9900"+ @fav_warp_name$[0] +"^000000":"^FF0000Empty^000000");
  263. 				for ( set .@i, 1; .@i <= getvariableofnpc( .fav_size, "warpra"); set .@i, .@i +1 )
  264. 					set .@menu$, .@menu$ +":"+ .@i +". "+ ( ( @fav_warp_code$[.@i] )?"^FF9900"+ @fav_warp_name$[.@i] +"^000000":"^FF0000Empty^000000");
  265. 				set .@menu, select(.@menu$) -1; 
  266. 				set .@num$, callsub(L_select, (.@menu)?1:0, 0);
  267. 				if ( .@num$ == "delete" ) {
  268. 					set @fav_warp_code$[.@menu], "";
  269. 					set @fav_warp_name$[.@menu], "";
  270. 					mes "[Warp NPC]";
  271. 					mes "Your^996600 slot number "+ .@menu +" ^FF0000is removed^000000";
  272. 				}
  273. 				else {
  274. 					callfunc "fav_maps", .@num$;
  275. 					set @fav_warp_code$[.@menu], .@num$;
  276. 					set @fav_warp_name$[.@menu], @map$;
  277. 					mes "[Warp NPC]";
  278. 					if ( .@menu )
  279. 						mes "Your^996600 slot number "+ .@menu +"^000000 set to";
  280. 					else
  281. 						mes "Your ^996600Last warp^000000 set to";
  282. 					mes "^FF9900"+ @map$ +"^000000";
  283. 				}
  284. 				callsub L_save;
  285. 				deletearray @map$;
  286. 				next;
  287. 				break;
  288. 		}
  289. 	}
  290. 	end;
  291. L_save: // implode
  292. 	set fav_warp$, @fav_warp_code$[0];
  293. 	for ( set .@i, 1; .@i <= getvariableofnpc( .fav_size, "warpra"); set .@i, .@i +1 )
  294. 		set fav_warp$, fav_warp$ +"#"+ @fav_warp_code$[.@i];
  295. 	return;
  296. L_select:
  297. 	set .@warp1, select (
  298. 		"Town",
  299. 		"Fields",
  300. 		"Dungeon",
  301. 		"Guild Castles",
  302. 		"Others",
  303. 		( getarg(0) )?"^FF0000Remove^000000":"" );
  304. 	switch ( .@warp1 ) {
  305. 		case 1:
  306. 			set .@warp1$, "t";
  307. 			set .@warp2, select (
  308. 				"Alberta",
  309. 				"Aldebaran",
  310. 				"Amatsu",
  311. 				"Ayothaya",
  312. 				"Comodo",
  313. 				"Einbech (Mining Village)",
  314. 				"Einbroch",
  315. 				"Geffen",
  316. 				"Gonryun",
  317. 				"Hugel",
  318. 				"Izlude",
  319. 				"Jawaii",
  320. 				"Lighthalzen",
  321. 				"Louyang",
  322. 				"Lutie",
  323. 				"Manuk",
  324. 				"Midgarts Expedition Camp",
  325. 				"Morroc",
  326. 				"Moscovia",
  327. 				"Nameless Island",
  328. 				"Niflheim",
  329. 				"Payon",
  330. 				"Prontera",
  331. 				"Rachel",
  332. 				"Splendide",
  333. 				"Thor Camp",
  334. 				"Umbala",
  335. 				"Veins",
  336. 				"Yuno" );
  337. 			switch ( .@warp2 ) {
  338. 				case 1: set .@warp2$, "ab"; break;
  339. 				case 2: set .@warp2$, "ad"; break;
  340. 				case 3: set .@warp2$, "am"; break;
  341. 				case 4: set .@warp2$, "ay"; break;
  342. 				case 5: set .@warp2$, "co"; break;
  343. 				case 6: set .@warp2$, "ei"; break;
  344. 				case 7: set .@warp2$, "er"; break;
  345. 				case 8: set .@warp2$, "ge"; break;
  346. 				case 9: set .@warp2$, "go"; break;
  347. 				case 10: set .@warp2$, "hu"; break;
  348. 				case 11: set .@warp2$, "iz"; break;
  349. 				case 12: set .@warp2$, "ja"; break;
  350. 				case 13: set .@warp2$, "li"; break;
  351. 				case 14: set .@warp2$, "lo"; break;
  352. 				case 15: set .@warp2$, "lu"; break;
  353. 				case 16: set .@warp2$, "ma"; break;
  354. 				case 17: set .@warp2$, "mi"; break;
  355. 				case 18: set .@warp2$, "mo"; break;
  356. 				case 19: set .@warp2$, "ms"; break;
  357. 				case 20: set .@warp2$, "na"; break;
  358. 				case 21: set .@warp2$, "ni"; break;
  359. 				case 22: set .@warp2$, "pa"; break;
  360. 				case 23: set .@warp2$, "pr"; break;
  361. 				case 24: set .@warp2$, "ra"; break;
  362. 				case 25: set .@warp2$, "sp"; break;
  363. 				case 26: set .@warp2$, "th"; break;
  364. 				case 27: set .@warp2$, "um"; break;
  365. 				case 28: set .@warp2$, "ve"; break;
  366. 				case 29: set .@warp2$, "yu"; break;
  367. 				default:
  368. 			}
  369. 			break;
  370. 		case 2:
  371. 			set .@warp1$, "f";
  372. 			set .@warp2, select (
  373. 				"Amatsu Fields",
  374. 				"Ayothaya Fields",
  375. 				"Comodo Fields",
  376. 				"Einbroch Fields",
  377. 				"Geffen Fields",
  378. 				"Gonryun Fields",
  379. 				"Hugel Fields",
  380. 				"Lighthalzen Fields",
  381. 				"Louyang Field",
  382. 				"Lutie Field",
  383. 				"Manuk Fields",
  384. 				"Mjolnir Fields",
  385. 				"Niflheim Fields",
  386. 				"Odin Temple",
  387. 				"Payon Forests",
  388. 				"Prontera Fields",
  389. 				"Rachel Fields",
  390. 				"Sograt Deserts",
  391. 				"Splendide Fields",
  392. 				"Umbala Fields",
  393. 				"Veins Fields",
  394. 				"Yuno Fields" );
  395. 			if ( getarg(1) ) {
  396. 				mes "[Warp NPC]";
  397. 				mes "Please select a Field. You will be warped to the center of that map.";
  398. 				next;
  399. 			}
  400. 			switch ( .@warp2 ) {
  401. 				case 1:
  402. 					set .@warp2$, "am";
  403. 					set .@warp3, select(
  404. 						"Amatsu Field 1" );
  405. 					break;
  406. 				case 2:
  407. 					set .@warp2$, "ay";
  408. 					set .@warp3, select( 
  409. 						"Ayothaya Field 1",
  410. 						"Ayothaya Field 2" );
  411. 					break;
  412. 				case 3:
  413. 					set .@warp2$, "co";
  414. 					set .@warp3, select(
  415. 						"Comodo Field 1",
  416. 						"Comodo Field 2",
  417. 						"Comodo Field 3",
  418. 						"Comodo Field 4",
  419. 						"Comodo Field 5",
  420. 						"Comodo Field 6",
  421. 						"Comodo Field 7",
  422. 						"Comodo Field 8",
  423. 						"Comodo Field 9" );
  424. 					break;
  425. 				case 4:
  426. 					set .@warp2$, "ei";
  427. 					set .@warp3, select(
  428. 						"Einbroch Field 1",
  429. 						"Einbroch Field 2",
  430. 						"Einbroch Field 3",
  431. 						"Einbroch Field 4",
  432. 						"Einbroch Field 5",
  433. 						"Einbroch Field 6",
  434. 						"Einbroch Field 7",
  435. 						"Einbroch Field 8",
  436. 						"Einbroch Field 9",
  437. 						"Einbroch Field 10" );
  438. 					break;
  439. 				case 5:
  440. 					set .@warp2$, "ge";
  441. 					set .@warp3, select(
  442. 						"Geffen Field 0",
  443. 						"Geffen Field 1",
  444. 						"Geffen Field 2",
  445. 						"Geffen Field 3",
  446. 						"Geffen Field 4",
  447. 						"Geffen Field 5",
  448. 						"Geffen Field 6",
  449. 						"Geffen Field 7",
  450. 						"Geffen Field 8",
  451. 						"Geffen Field 9",
  452. 						"Geffen Field 10",
  453. 						"Geffen Field 11",
  454. 						"Geffen Field 12",
  455. 						"Geffen Field 13",
  456. 						"Geffen Field 14" );
  457. 					break;
  458. 				case 6:
  459. 					set .@warp2$, "go";
  460. 					set .@warp3, select(
  461. 						"Gonryun Field 1" );
  462. 					break;
  463. 				case 7:
  464. 					set .@warp2$, "hu";
  465. 					set .@warp3, select(
  466. 						"Hugel Field 1",
  467. 						"Hugel Field 2",
  468. 						"Hugel Field 3",
  469. 						"Hugel Field 4",
  470. 						"Hugel Field 5",
  471. 						"Hugel Field 6",
  472. 						"Hugel Field 7" );
  473. 					break;
  474. 				case 8:
  475. 					set .@warp2$, "li";
  476. 					set .@warp3, select(
  477. 						"Lighthalzen Field 1",
  478. 						"Lighthalzen Field 2",
  479. 						"Lighthalzen Field 3" );
  480. 					break;
  481. 				case 9:
  482. 					set .@warp2$, "lo";
  483. 					set .@warp3, select(
  484. 						"Louyang Field 1" );
  485. 					break;
  486. 				case 10:
  487. 					set .@warp2$, "lu";
  488. 					set .@warp3, select(
  489. 						"Lutie Field 1" );
  490. 					break;
  491. 				case 11:
  492. 					set .@warp2$, "ma";
  493. 					set .@warp3, select(
  494. 						"Manuk Field 1",
  495. 						"Manuk Field 2",
  496. 						"Manuk Field 3" );
  497. 					break;
  498. 				case 12:
  499. 					set .@warp2$, "mj";
  500. 					set .@warp3, select(
  501. 						"Mjolnir Field 1",
  502. 						"Mjolnir Field 2",
  503. 						"Mjolnir Field 3",
  504. 						"Mjolnir Field 4",
  505. 						"Mjolnir Field 5",
  506. 						"Mjolnir Field 6",
  507. 						"Mjolnir Field 7",
  508. 						"Mjolnir Field 8",
  509. 						"Mjolnir Field 9",
  510. 						"Mjolnir Field 10",
  511. 						"Mjolnir Field 11",
  512. 						"Mjolnir Field 12" );
  513. 					break;
  514. 				case 13:
  515. 					set .@warp2$, "ni";
  516. 					set .@warp3, select(
  517. 						"Niflheim Field 1",
  518. 						"Niflheim Field 2" );
  519. 					break;
  520. 				case 14:
  521. 					set .@warp2$, "od";
  522. 					set .@warp3, select(
  523. 						"Odin Temple 1",
  524. 						"Odin Temple 2",
  525. 						"Odin Temple 3" );
  526. 					break;
  527. 				case 15:
  528. 					set .@warp2$, "pa";
  529. 					set .@warp3, select(
  530. 						"Payon Forest 1",
  531. 						"Payon Forest 2",
  532. 						"Payon Forest 3",
  533. 						"Payon Forest 4",
  534. 						"Payon Forest 5",
  535. 						"Payon Forest 6",
  536. 						"Payon Forest 7",
  537. 						"Payon Forest 8",
  538. 						"Payon Forest 9",
  539. 						"Payon Forest 10",
  540. 						"Payon Forest 11" );
  541. 					break;
  542. 				case 16:
  543. 					set .@warp2$, "pr";
  544. 					set .@warp3, select(
  545. 						"Prontera Field 0",
  546. 						"Prontera Field 1",
  547. 						"Prontera Field 2",
  548. 						"Prontera Field 3",
  549. 						"Prontera Field 4",
  550. 						"Prontera Field 5",
  551. 						"Prontera Field 6",
  552. 						"Prontera Field 7",
  553. 						"Prontera Field 8",
  554. 						"Prontera Field 9",
  555. 						"Prontera Field 10",
  556. 						"Prontera Field 11" );
  557. 					break;
  558. 				case 17:
  559. 					set .@warp2$, "ra";
  560. 					set .@warp3, select(
  561. 						"Rachel Field 1",
  562. 						"Rachel Field 2",
  563. 						"Rachel Field 3",
  564. 						"Rachel Field 4",
  565. 						"Rachel Field 5",
  566. 						"Rachel Field 6",
  567. 						"Rachel Field 7",
  568. 						"Rachel Field 8",
  569. 						"Rachel Field 9",
  570. 						"Rachel Field 10",
  571. 						"Rachel Field 11",
  572. 						"Rachel Field 12",
  573. 						"Rachel Field 13" );
  574. 					break;
  575. 				case 18:
  576. 					set .@warp2$, "so";
  577. 					set .@warp3, select(
  578. 						"Sograt Desert 1",
  579. 						"Sograt Desert 2",
  580. 						"Sograt Desert 3",
  581. 						"Sograt Desert 4",
  582. 						"Sograt Desert 5",
  583. 						"Sograt Desert 6",
  584. 						"Sograt Desert 7",
  585. 						"Sograt Desert 8",
  586. 						"Sograt Desert 9",
  587. 						"Sograt Desert 10",
  588. 						"Sograt Desert 11",
  589. 						"Sograt Desert 12",
  590. 						"Sograt Desert 13",
  591. 						"Sograt Desert 14",
  592. 						"Sograt Desert 15",
  593. 						"Sograt Desert 16",
  594. 						"Sograt Desert 17",
  595. 						"Sograt Desert 18",
  596. 						"Sograt Desert 19",
  597. 						"Sograt Desert 20",
  598. 						"Sograt Desert 21",
  599. 						"Sograt Desert 22" );
  600. 					break;
  601. 				case 19:
  602. 					set .@warp2$, "sp";
  603. 					set .@warp3, select(
  604. 						"Splendide Field 1",
  605. 						"Splendide Field 2",
  606. 						"Splendide Field 3" );
  607. 					break;
  608. 				case 20:
  609. 					set .@warp2$, "um";
  610. 					set .@warp3, select(
  611. 						"Umbala Field 1",
  612. 						"Umbala Field 2",
  613. 						"Umbala Field 3", 
  614. 						"Umbala Field 4" );
  615. 					break;
  616. 				case 21:
  617. 					set .@warp2$, "ve";
  618. 					set .@warp3, select(
  619. 						"Veins Field 1",
  620. 						"Veins Field 2",
  621. 						"Veins Field 3",
  622. 						"Veins Field 4",
  623. 						"Veins Field 5",
  624. 						"Veins Field 6",
  625. 						"Veins Field 7" );
  626. 					break;
  627. 				case 22:
  628. 					set .@warp2$, "yu";
  629. 					set .@warp3, select(
  630. 						"Yuno Field 1",
  631. 						"Yuno Field 2",
  632. 						"Yuno Field 3",
  633. 						"Yuno Field 4",
  634. 						"Yuno Field 5",
  635. 						"Yuno Field 6",
  636. 						"Yuno Field 7",
  637. 						"Yuno Field 8",
  638. 						"Yuno Field 9",
  639. 						"Yuno Field 10",
  640. 						"Yuno Field 11", 
  641. 						"Yuno Field 12" );
  642. 					break;
  643. 				default:
  644. 			}
  645. 			set .@warp3$, ( .@warp3 < 10 )?"0"+ .@warp3:.@warp3;
  646. 			break;
  647. 		case 3:
  648. 			set .@warp1$, "d";
  649. 			set .@warp2, select (
  650. 				"Abbey, Cursed Monastery",
  651. 				"Abyss Lakes",
  652. 				"Amatsu Dungeon",
  653. 				"Anthell",
  654. 				"Ayothaya Dungeon",
  655. 				"Beach Dungeon",
  656. 				"Byalan Dungeon",
  657. 				"Clock Tower",
  658. 				"Coal Mines",
  659. 				"Culverts",
  660. 				"Einbroch Dungeon",
  661. 				"Gefenia",
  662. 				"Geffen Dungeon",
  663. 				"Glast Heim",
  664. 				"Gonryun Dungeon",
  665. 				"Hidden Dungeon",
  666. 				"Ice Cave",
  667. 				"Juperos Dungeon",
  668. 				"Kiel Dungeon",
  669. 				"Lighthalzen",
  670. 				"Louyang Dungeon",
  671. 				"Magma Dungeon",
  672. 				"Moscovia Dungeon",
  673. 				"Orc Dungeon",
  674. 				"Payon Dungeon",
  675. 				"Pyramids",
  676. 				"Rachel Sanctuary",
  677. 				"Sphinx",
  678. 				"Sunken Ship",
  679. 				"Thanatos Tower",
  680. 				"Thor Volcano",
  681. 				"Toy Factory",
  682. 				"Turtle Dungeon",
  683. 				"Umbala Dungeon" );
  684. 			if ( getarg(1) ) {
  685. 				mes "[Warp NPC]";
  686. 				mes "Please select a Level. Beware that you will be warped directly into the dungeon.";
  687. 				next;
  688. 			}
  689. 			switch ( .@warp2 ) {
  690. 				case 1:
  691. 					set .@warp2$, "ab";
  692. 					set .@warp3, select(
  693. 						"Cursed Abbey Dungeon - Level 1",
  694. 						"Cursed Abbey Dungeon - Level 2",
  695. 						"Cursed Abbey Dungeon - Level 3" );
  696. 					break;
  697. 				case 2:
  698. 					set .@warp2$, "ai";
  699. 					set .@warp3, select(
  700. 						"Abyss Lakes Underground Cave F1",
  701. 						"Abyss Lakes Underground Cave F2",
  702. 						"Abyss Lakes Underground Cave F3" );
  703. 					break;
  704. 				case 3:
  705. 					set .@warp2$, "am";
  706. 					set .@warp3, select(
  707. 						"Amatsu Dungeon - Level 1",
  708. 						"Amatsu Dungeon - Level 2",
  709. 						"Amatsu Dungeon - Level 3" );
  710. 					break;
  711. 				case 4:
  712. 					set .@warp2$, "an";
  713. 					set .@warp3, select(
  714. 						"Anthell F1",
  715. 						"Anthell F2" );
  716. 					break;
  717. 				case 5:
  718. 					set .@warp2$, "ay";
  719. 					set .@warp3, select(
  720. 						"Ayothaya - Ancient Shrine Maze",
  721. 						"Ayothaya - Inside Ancient Shrine" );
  722. 					break;
  723. 				case 6:
  724. 					set .@warp2$, "be";
  725. 					set .@warp3, select(
  726. 						"Beach Dungeon - Karu, west cave",
  727. 						"Beach Dungeon - Ruande, north cave",
  728. 						"Beach Dungeon - Mao, east cave" );
  729. 					break;
  730. 				case 7:
  731. 					set .@warp2$, "by";
  732. 					set .@warp3, select(
  733. 						"Byalan Dungeon - Undersea Tunnel F1",
  734. 						"Byalan Dungeon - Undersea Tunnel F2",
  735. 						"Byalan Dungeon - Undersea Tunnel F3",
  736. 						"Byalan Dungeon - Undersea Tunnel F4",
  737. 						"Byalan Dungeon - Undersea Tunnel F5" );
  738. 					break;
  739. 				case 8:
  740. 					set .@warp2$, "cl";
  741. 					set .@warp3, select(
  742. 						"Clock Tower F1",
  743. 						"Clock Tower F2",
  744. 						"Clock Tower F3",
  745. 						"Clock Tower F4",
  746. 						"Clock Tower B1",
  747. 						"Clock Tower B2",
  748. 						"Clock Tower B3",
  749. 						"Clock Tower B4" );
  750. 					break;
  751. 				case 9:
  752. 					set .@warp2$, "co";
  753. 					set .@warp3, select(
  754. 						"Coal Mines - Mjolnir Dead Pit F1",
  755. 						"Coal Mines - Mjolnir Dead Pit F2",
  756. 						"Coal Mines - Mjolnir Dead Pit F3" );
  757. 					break;
  758. 				case 10:
  759. 					set .@warp2$, "cu";
  760. 					set .@warp3, select(
  761. 						"Prontera Culvert F1",
  762. 						"Prontera Culvert F2",
  763. 						"Prontera Culvert F3",
  764. 						"Prontera Culvert F4" );
  765. 					break;
  766. 				case 11:
  767. 					set .@warp2$, "ei";
  768. 					set .@warp3, select(
  769. 						"Einbroch Dungeon - Mine Dungeon F1",
  770. 						"Einbroch Dungeon - Mine Dungeon F2" );
  771. 					break;
  772. 				case 12:
  773. 					set .@warp2$, "ge";
  774. 					set .@warp3, select(
  775. 						"Gefenia - Level 1",
  776. 						"Gefenia - Level 2",
  777. 						"Gefenia - Level 3",
  778. 						"Gefenia - Level 4" );
  779. 					break;
  780. 				case 13:
  781. 					set .@warp2$, "gf";
  782. 					set .@warp3, select(
  783. 						"Geffen Dungeon F1",
  784. 						"Geffen Dungeon F2",
  785. 						"Geffen Dungeon F3",
  786. 						"Geffen Dungeon F4" );
  787. 					break;
  788. 				case 14:
  789. 					set .@warp2$, "gl";
  790. 					set .@warp3, select(
  791. 						"Glast Heim - Entrance",
  792. 						"Glast Heim - Castle F1",
  793. 						"Glast Heim - Castle F2",
  794. 						"Glast Heim - Chivalry F1",
  795. 						"Glast Heim - Chivalry F2",
  796. 						"Glast Heim - St.Abbey",
  797. 						"Glast Heim - Churchyard",
  798. 						"Glast Heim - Culvert F1",
  799. 						"Glast Heim - Culvert F2",
  800. 						"Glast Heim - Culvert F3",
  801. 						"Glast Heim - Culvert F4",
  802. 						"Glast Heim - Staircase Dungeon",
  803. 						"Glast Heim - Underground Cave 1",
  804. 						"Glast Heim - Underground Cave 2",
  805. 						"Glast Heim - Underground Prison 1",
  806. 						"Glast Heim - Underground Prison 2" );
  807. 					break;
  808. 				case 15:
  809. 					set .@warp2$, "go";
  810. 					set .@warp3, select(
  811. 						"Gonryun Dungeon - Level 1",
  812. 						"Gonryun Dungeon - Level 2",
  813. 						"Gonryun Dungeon - Level 3" );
  814. 					break;
  815. 				case 16:
  816. 					set .@warp2$, "hi";
  817. 					set .@warp3, select(
  818. 						"Hidden Dungeon - Labyrinth Forest F1",
  819. 						"Hidden Dungeon - Labyrinth Forest F2",
  820. 						"Hidden Dungeon - Labyrinth Forest F3" );
  821. 					break;
  822. 				case 17:
  823. 					set .@warp2$, "ic";
  824. 					set .@warp3, select(
  825. 						"Ice Cave F1",
  826. 						"Ice Cave F2",
  827. 						"Ice Cave F3",
  828. 						"Ice Cave F4" );
  829. 					break;
  830. 				case 18:
  831. 					set .@warp2$, "ju";
  832. 					set .@warp3, select(
  833. 						"The Ruins of Juperos F1",
  834. 						"The Ruins of Juperos F2",
  835. 						"Center of Juperos" );
  836. 					break;
  837. 				case 19:
  838. 					set .@warp2$, "ki";
  839. 					set .@warp3, select(
  840. 						"Kiel Dungeon - Robot Factory Level 1",
  841. 						"Kiel Dungeon - Robot Factory Level 2" );
  842. 					break;
  843. 				case 20:
  844. 					set .@warp2$, "li";
  845. 					set .@warp3, select(
  846. 						"Lighthalzen - Somatology Labotory F1",
  847. 						"Lighthalzen - Somatology Labotory F2",
  848. 						"Lighthalzen - Somatology Labotory F3" );
  849. 					break;
  850. 				case 21:
  851. 					set .@warp2$, "lo";
  852. 					set .@warp3, select(
  853. 						"Louyang Dungeon - Level 1",
  854. 						"Louyang Dungeon - Level 2",
  855. 						"Louyang Dungeon - Level 3" );
  856. 					break;
  857. 				case 22:
  858. 					set .@warp2$, "ma";
  859. 					set .@warp3, select(
  860. 						"Magma Dungeon - Nogg Road F1",
  861. 						"Magma Dungeon - Nogg Road F2" );
  862. 					break;
  863. 				case 23:
  864. 					set .@warp2$, "mo";
  865. 					set .@warp3, select(
  866. 						"Moscovia Dungeon - Level 1",
  867. 						"Moscovia Dungeon - Level 2",
  868. 						"Moscovia Dungeon - Level 3" );
  869. 					break;
  870. 				case 24:
  871. 					set .@warp2$, "or";
  872. 					set .@warp3, select(
  873. 						"Orc Dungeon F1",
  874. 						"Orc Dungeon F2" );
  875. 					break;
  876. 				case 25:
  877. 					set .@warp2$, "pa";
  878. 					set .@warp3, select(
  879. 						"Payon Cave F1",
  880. 						"Payon Cave F2",
  881. 						"Payon Cave F3",
  882. 						"Payon Cave F4",
  883. 						"Payon Cave F5" );
  884. 					break;
  885. 				case 26:
  886. 					set .@warp2$, "py";
  887. 					set .@warp3, select(
  888. 						"Inside Pyramids F1",
  889. 						"Inside Pyramids F2",
  890. 						"Inside Pyramids F3",
  891. 						"Inside Pyramids F4",
  892. 						"Inside Pyramids B1",
  893. 						"Inside Pyramids B2" );
  894. 					break;
  895. 				case 27:
  896. 					set .@warp2$, "ra";
  897. 					set .@warp3, select(
  898. 						"Rachel Sanctuary - Level 1",
  899. 						"Rachel Sanctuary - Level 2",
  900. 						"Rachel Sanctuary - Level 3",
  901. 						"Rachel Sanctuary - Level 4",
  902. 						"Rachel Sanctuary - Level 5" );
  903. 					break;
  904. 				case 28:
  905. 					set .@warp2$, "sp";
  906. 					set .@warp3, select(
  907. 						"Sphinx F1",
  908. 						"Sphinx F2",
  909. 						"Sphinx F3",
  910. 						"Sphinx F4",
  911. 						"Sphinx F5" );
  912. 					break;
  913. 				case 29:
  914. 					set .@warp2$, "su";
  915. 					set .@warp3, select(
  916. 						"Sunken Ship F1",
  917. 						"Sunken Ship F2" );
  918. 					break;
  919. 				case 30:
  920. 					set .@warp2$, "ta";
  921. 					set .@warp3, select(
  922. 						"Thanatos Tower - Level 1",
  923. 						"Thanatos Tower - Level 2",
  924. 						"Thanatos Tower - Level 3",
  925. 						"Thanatos Tower - Level 4",
  926. 						"Thanatos Tower - Level 5",
  927. 						"Thanatos Tower - Level 6",
  928. 						"Thanatos Tower - Level 7",
  929. 						"Thanatos Tower - Level 8",
  930. 						"Thanatos Tower - Level 9",
  931. 						"Thanatos Tower - Level 10",
  932. 						"Thanatos Tower - Level 11",
  933. 						"Thanatos Tower - Level 12" );
  934. 					break;
  935. 				case 31:
  936. 					set .@warp2$, "th";
  937. 					set .@warp3, select(
  938. 						"Thor's Volcano Dungeon F1",
  939. 						"Thor's Volcano Dungeon F2",
  940. 						"Thor's Volcano Dungeon F3" );
  941. 					break;
  942. 				case 32:
  943. 					set .@warp2$, "to";
  944. 					set .@warp3, select(
  945. 						"Toy Factory - Level 1",
  946. 						"Toy Factory - Level 2" );
  947. 					break;
  948. 				case 33:
  949. 					set .@warp2$, "tu";
  950. 					set .@warp3, select(
  951. 						"Turtle Dungeon - Entrance",
  952. 						"Turtle Dungeon - Level 1",
  953. 						"Turtle Dungeon - Level 2",
  954. 						"Turtle Dungeon - Level 3" );
  955. 					break;
  956. 				case 34:
  957. 					set .@warp2$, "um";
  958. 					set .@warp3, select(
  959. 						"Umbala Dungeon - Level 1",
  960. 						"Umbala Dungeon - Level 2" );
  961. 					break;
  962. 				default:
  963. 			}
  964. 			set .@warp3$, ( .@warp3 < 10 )?"0"+ .@warp3:.@warp3;
  965. 			break;
  966. 		case 4:
  967. 			set .@warp1$, "w";
  968. 			set .@warp2, select (
  969. 				"War of Emperium Castles",
  970. 				"WOE.SE Castles" );
  971. 			switch ( .@warp2 ) {
  972. 				case 1:
  973. 					set .@warp2$, "fi";
  974. 					set .@warp3, select (
  975. 						"Neuschwanstein - Aldebaran Castle 1",
  976. 						"Hohenschwangau - Aldebaran Castle 2",
  977. 						"Nuenberg - Aldebaran Castle 3",
  978. 						"Wuerzburg - Aldebaran Castle 4",
  979. 						"Rothenburg - Aldebaran Castle 5",
  980. 						"Repherion - Geffen Castle 1",
  981. 						"Eeyolbriggar - Geffen Castle 2",
  982. 						"Yesnelph - Geffen Castle 3",
  983. 						"Bergel - Geffen Castle 4",
  984. 						"Mersetzdeitz - Geffen Castle 5",
  985. 						"Bright Arbor - Payon Castle 1",
  986. 						"Scarlet Palace - Payon Castle 2",
  987. 						"Holy Shadow - Payon Castle 3",
  988. 						"Sacred Altar - Payon Castle 4",
  989. 						"Bamboo Grove Hill - Payon Castle 5",
  990. 						"Kriemhild - Prontera Castle 1",
  991. 						"Swanhild - Prontera Castle 2",
  992. 						"Fadhgridh - Prontera Castle 3",
  993. 						"Skoegul - Prontera Castle 4",
  994. 						"Gondul - Prontera Castle 5" );
  995. 					break;
  996. 				case 2:
  997. 					set .@warp2$, "se";
  998. 					set .@warp3, select (
  999. 						"Himinn - Schwaltzvalt Castle 1",
  1000. 						"Andlangr - Schwaltzvalt Castle 2",
  1001. 						"Viblainn - Schwaltzvalt Castle 3",
  1002. 						"Hljod - Schwaltzvalt Castle 4",
  1003. 						"Skidbladnir - Schwaltzvalt Castle 5",
  1004. 						"Mardol - Arunafeltz Castle 1",
  1005. 						"Cyr - Arunafeltz Castle 2",
  1006. 						"Horn - Arunafeltz Castle 3",
  1007. 						"Gefn - Arunafeltz Castle 4",
  1008. 						"Bandis - Arunafeltz Castle 5" );
  1009. 					break;
  1010. 				default:
  1011. 			}
  1012. 			set .@warp3$, ( .@warp3 < 10 )?"0"+ .@warp3:.@warp3;
  1013. 			break;
  1014. 		case 5:
  1015. 			set .@warp1$, "o";
  1016. 			set .@warp2, select ( getvariableofnpc( .menu$, "warpra") ) -1;
  1017. 			set .@abc$, getvariableofnpc( .abc$[.@warp2], "warpra");
  1018. 			set .@warp2$, .@abc$;
  1019. 			set .@warp3, select ( getvariableofnpc( getd(".menu"+ .@abc$ +"$"), "warpra") );
  1020. 			set .@warp3$, ( .@warp3 < 10 )?"0"+ .@warp3:.@warp3;
  1021. 			break;
  1022. 		case 6:
  1023. 			set .@warp1$, "delete";
  1024. 	}
  1025. 	return .@warp1$ + .@warp2$ + .@warp3$;
  1026. }
  1027. function	script	fav_maps	{
  1028. 	deletearray @map$;
  1029. 	set .@tmp$, "|~key~|";
  1030. 	set .@str$, .@tmp$ + getarg(0);
  1031. 	if ( compare( .@str$ , .@tmp$ + "t" ) ) {
  1032. 		if ( compare( .@str$, .@tmp$ +"tab" ) ) setarray @map$, "Alberta", "alberta",28,234;
  1033. 		else if ( compare( .@str$, .@tmp$ +"tad" ) ) setarray @map$, "Aldebaran", "aldebaran",140,131;
  1034. 		else if ( compare( .@str$, .@tmp$ +"tam" ) ) setarray @map$, "Amatsu", "amatsu",198,84;
  1035. 		else if ( compare( .@str$, .@tmp$ +"tay" ) ) setarray @map$, "Ayothaya", "ayothaya",151,117;
  1036. 		else if ( compare( .@str$, .@tmp$ +"tco" ) ) setarray @map$, "Comodo", "comodo",209,143;
  1037. 		else if ( compare( .@str$, .@tmp$ +"tei" ) ) setarray @map$, "Einbech (Mining Village)", "einbech",70,95;
  1038. 		else if ( compare( .@str$, .@tmp$ +"ter" ) ) setarray @map$, "Einbroch", "einbroch",64,200;
  1039. 		else if ( compare( .@str$, .@tmp$ +"tge" ) ) setarray @map$, "Geffen", "geffen",119,59;
  1040. 		else if ( compare( .@str$, .@tmp$ +"tgo" ) ) setarray @map$, "Gonryun", "gonryun",160,121;
  1041. 		else if ( compare( .@str$, .@tmp$ +"thu" ) ) setarray @map$, "Hugel", "hugel",96,145;
  1042. 		else if ( compare( .@str$, .@tmp$ +"tiz" ) ) setarray @map$, "Izlude", "izlude",128,114;
  1043. 		else if ( compare( .@str$, .@tmp$ +"tja" ) ) setarray @map$, "Jawaii", "jawaii",177,171;
  1044. 		else if ( compare( .@str$, .@tmp$ +"tli" ) ) setarray @map$, "Lighthalzen", "lighthalzen",158,92;
  1045. 		else if ( compare( .@str$, .@tmp$ +"tlo" ) ) setarray @map$, "Louyang", "louyang",217,107;
  1046. 		else if ( compare( .@str$, .@tmp$ +"tlu" ) ) setarray @map$, "Lutie", "xmas",147,134;
  1047. 		else if ( compare( .@str$, .@tmp$ +"tma" ) ) setarray @map$, "Manuk", "manuk",276,122;
  1048. 		else if ( compare( .@str$, .@tmp$ +"tmi" ) ) setarray @map$, "Midgarts Expedition Camp", "mid_camp",210,288;
  1049. 		else if ( compare( .@str$, .@tmp$ +"tmo" ) ) setarray @map$, "Morroc", "morocc",156,93;
  1050. 		else if ( compare( .@str$, .@tmp$ +"tms" ) ) setarray @map$, "Moscovia", "moscovia",156,93;
  1051. 		else if ( compare( .@str$, .@tmp$ +"tna" ) ) setarray @map$, "Nameless Island", "nameless_n",256,215;
  1052. 		else if ( compare( .@str$, .@tmp$ +"tni" ) ) setarray @map$, "Niflheim", "niflheim",85,154;
  1053. 		else if ( compare( .@str$, .@tmp$ +"tpa" ) ) setarray @map$, "Payon", "payon",170,98;
  1054. 		else if ( compare( .@str$, .@tmp$ +"tpr" ) ) setarray @map$, "Prontera", "prontera",155,183;
  1055. 		else if ( compare( .@str$, .@tmp$ +"tra" ) ) setarray @map$, "Rachel", "rachel",130,137;
  1056. 		else if ( compare( .@str$, .@tmp$ +"tsp" ) ) setarray @map$, "Splendide", "splendide",208,158;
  1057. 		else if ( compare( .@str$, .@tmp$ +"tth" ) ) setarray @map$, "Thor Camp", "thor_camp",254,90;
  1058. 		else if ( compare( .@str$, .@tmp$ +"tve" ) ) setarray @map$, "Veins", "veins",216,123;
  1059. 		else if ( compare( .@str$, .@tmp$ +"tyu" ) ) setarray @map$, "Yuno", "yuno",157,51;
  1060. 		else if ( compare( .@str$, .@tmp$ +"tum" ) ) setarray @map$, "Umbala", "umbala",145,155;
  1061. 	}
  1062. 	else if ( compare( .@str$ , .@tmp$ + "f" ) ) {
  1063. 		if ( compare( .@str$, .@tmp$ +"fam" ) ) {
  1064. 			if ( compare( .@str$, .@tmp$ +"fam01" ) ) setarray @map$, "Amatsu Field 1", "ama_fild01",190,197;
  1065. 		}
  1066. 		else if ( compare( .@str$, .@tmp$ +"fay" ) ) {
  1067. 			if ( compare( .@str$, .@tmp$ +"fay01" ) ) setarray @map$, "Ayothaya Field 1", "ayo_fild01",173,134;
  1068. 			else if ( compare( .@str$, .@tmp$ +"fay02" ) ) setarray @map$, "Ayothaya Field 2", "ayo_fild02",212,150;
  1069. 		}
  1070. 		else if ( compare( .@str$, .@tmp$ +"fco" ) ) {
  1071. 			if ( compare( .@str$, .@tmp$ +"fco01" ) ) setarray @map$, "Comodo Field 1", "cmd_fild01",180,178;
  1072. 			else if ( compare( .@str$, .@tmp$ +"fco02" ) ) setarray @map$, "Comodo Field 2", "cmd_fild02",231,160;
  1073. 			else if ( compare( .@str$, .@tmp$ +"fco03" ) ) setarray @map$, "Comodo Field 3", "cmd_fild03",191,172;
  1074. 			else if ( compare( .@str$, .@tmp$ +"fco04" ) ) setarray @map$, "Comodo Field 4", "cmd_fild04",228,194;
  1075. 			else if ( compare( .@str$, .@tmp$ +"fco05" ) ) setarray @map$, "Comodo Field 5", "cmd_fild05",224,203;
  1076. 			else if ( compare( .@str$, .@tmp$ +"fco06" ) ) setarray @map$, "Comodo Field 6", "cmd_fild06",190,223;
  1077. 			else if ( compare( .@str$, .@tmp$ +"fco07" ) ) setarray @map$, "Comodo Field 7", "cmd_fild07",234,177;
  1078. 			else if ( compare( .@str$, .@tmp$ +"fco08" ) ) setarray @map$, "Comodo Field 8", "cmd_fild08",194,175;
  1079. 			else if ( compare( .@str$, .@tmp$ +"fco09" ) ) setarray @map$, "Comodo Field 9", "cmd_fild09",172,172;
  1080. 		}
  1081. 		else if ( compare( .@str$, .@tmp$ +"fei" ) ) {
  1082. 			if ( compare( .@str$, .@tmp$ +"fei01" ) ) setarray @map$, "Einbroch Field 1", "ein_fild01",142,225;
  1083. 			else if ( compare( .@str$, .@tmp$ +"fei02" ) ) setarray @map$, "Einbroch Field 2", "ein_fild02",182,141;
  1084. 			else if ( compare( .@str$, .@tmp$ +"fei03" ) ) setarray @map$, "Einbroch Field 3", "ein_fild03",187,228;
  1085. 			else if ( compare( .@str$, .@tmp$ +"fei04" ) ) setarray @map$, "Einbroch Field 4", "ein_fild04",185,173;
  1086. 			else if ( compare( .@str$, .@tmp$ +"fei05" ) ) setarray @map$, "Einbroch Field 5", "ein_fild05",216,173;
  1087. 			else if ( compare( .@str$, .@tmp$ +"fei06" ) ) setarray @map$, "Einbroch Field 6", "ein_fild06",195,148;
  1088. 			else if ( compare( .@str$, .@tmp$ +"fei07" ) ) setarray @map$, "Einbroch Field 7", "ein_fild07",272,220;
  1089. 			else if ( compare( .@str$, .@tmp$ +"fei08" ) ) setarray @map$, "Einbroch Field 8", "ein_fild08",173,214;
  1090. 			else if ( compare( .@str$, .@tmp$ +"fei09" ) ) setarray @map$, "Einbroch Field 9", "ein_fild09",207,174;
  1091. 			else if ( compare( .@str$, .@tmp$ +"fei10" ) ) setarray @map$, "Einbroch Field 10", "ein_fild10",196,200;
  1092. 		}
  1093. 		else if ( compare( .@str$, .@tmp$ +"fge" ) ) {
  1094. 			if ( compare( .@str$, .@tmp$ +"fge01" ) ) setarray @map$, "Geffen Field 0", "gef_fild00",46,199;
  1095. 			else if ( compare( .@str$, .@tmp$ +"fge02" ) ) setarray @map$, "Geffen Field 1", "gef_fild01",213,204;
  1096. 			else if ( compare( .@str$, .@tmp$ +"fge03" ) ) setarray @map$, "Geffen Field 2", "gef_fild02",195,212;
  1097. 			else if ( compare( .@str$, .@tmp$ +"fge04" ) ) setarray @map$, "Geffen Field 3", "gef_fild03",257,192;
  1098. 			else if ( compare( .@str$, .@tmp$ +"fge05" ) ) setarray @map$, "Geffen Field 4", "gef_fild04",188,171;
  1099. 			else if ( compare( .@str$, .@tmp$ +"fge06" ) ) setarray @map$, "Geffen Field 5", "gef_fild05",166,263;
  1100. 			else if ( compare( .@str$, .@tmp$ +"fge07" ) ) setarray @map$, "Geffen Field 6", "gef_fild06",248,158;
  1101. 			else if ( compare( .@str$, .@tmp$ +"fge08" ) ) setarray @map$, "Geffen Field 7", "gef_fild07",195,191;
  1102. 			else if ( compare( .@str$, .@tmp$ +"fge09" ) ) setarray @map$, "Geffen Field 8", "gef_fild08",186,183;
  1103. 			else if ( compare( .@str$, .@tmp$ +"fge10" ) ) setarray @map$, "Geffen Field 9", "gef_fild09",221,117;
  1104. 			else if ( compare( .@str$, .@tmp$ +"fge11" ) ) setarray @map$, "Geffen Field 10", "gef_fild10",178,218;
  1105. 			else if ( compare( .@str$, .@tmp$ +"fge12" ) ) setarray @map$, "Geffen Field 11", "gef_fild11",136,328;
  1106. 			else if ( compare( .@str$, .@tmp$ +"fge13" ) ) setarray @map$, "Geffen Field 12", "gef_fild12",240,181;
  1107. 			else if ( compare( .@str$, .@tmp$ +"fge14" ) ) setarray @map$, "Geffen Field 13", "gef_fild13",235,235;
  1108. 			else if ( compare( .@str$, .@tmp$ +"fge15" ) ) setarray @map$, "Geffen Field 14", "gef_fild14",211,185;
  1109. 		}
  1110. 		else if ( compare( .@str$, .@tmp$ +"fgo" ) ) {
  1111. 			if ( compare( .@str$, .@tmp$ +"fgo01" ) ) setarray @map$, "Gonryun Field 1", "gon_fild01",220,227;
  1112. 		}
  1113. 		else if ( compare( .@str$, .@tmp$ +"fhu" ) ) {
  1114. 			if ( compare( .@str$, .@tmp$ +"fhu01" ) ) setarray @map$, "Hugel Field 1", "hu_fild01",268,101;
  1115. 			else if ( compare( .@str$, .@tmp$ +"fhu02" ) ) setarray @map$, "Hugel Field 2", "hu_fild02",222,193;
  1116. 			else if ( compare( .@str$, .@tmp$ +"fhu03" ) ) setarray @map$, "Hugel Field 3", "hu_fild03",232,185;
  1117. 			else if ( compare( .@str$, .@tmp$ +"fhu04" ) ) setarray @map$, "Hugel Field 4", "hu_fild04",252,189;
  1118. 			else if ( compare( .@str$, .@tmp$ +"fhu05" ) ) setarray @map$, "Hugel Field 5", "hu_fild05",196,106;
  1119. 			else if ( compare( .@str$, .@tmp$ +"fhu06" ) ) setarray @map$, "Hugel Field 6", "hu_fild06",216,220;
  1120. 			else if ( compare( .@str$, .@tmp$ +"fhu07" ) ) setarray @map$, "Hugel Field 7", "hu_fild07",227,197;
  1121. 		}
  1122. 		else if ( compare( .@str$, .@tmp$ +"fli" ) ) {
  1123. 			if ( compare( .@str$, .@tmp$ +"fli01" ) ) setarray @map$, "Lighthalzen Field 1", "lhz_fild01",240,179;
  1124. 			else if ( compare( .@str$, .@tmp$ +"fli02" ) ) setarray @map$, "Lighthalzen Field 2", "lhz_fild02",185,235;
  1125. 			else if ( compare( .@str$, .@tmp$ +"fli03" ) ) setarray @map$, "Lighthalzen Field 3", "lhz_fild03",240,226;
  1126. 		}
  1127. 		else if ( compare( .@str$, .@tmp$ +"flo" ) ) {
  1128. 			if ( compare( .@str$, .@tmp$ +"flo01" ) ) setarray @map$, "Louyang Field 1", "lou_fild01",229,187;
  1129. 		}
  1130. 		else if ( compare( .@str$, .@tmp$ +"flu" ) ) {
  1131. 			if ( compare( .@str$, .@tmp$ +"flu01" ) ) setarray @map$, "Lutie Field 1", "xmas_fild01",115,145;
  1132. 		}
  1133. 		else if ( compare( .@str$, .@tmp$ +"fma" ) ) {
  1134. 			if ( compare( .@str$, .@tmp$ +"fma01" ) ) setarray @map$, "Manuk Field 1", "man_fild01",36,238;
  1135. 			else if ( compare( .@str$, .@tmp$ +"fma02" ) ) setarray @map$, "Manuk Field 2", "man_fild02",133,55;
  1136. 			else if ( compare( .@str$, .@tmp$ +"fma03" ) ) setarray @map$, "Manuk Field 3", "man_fild03",79,363;
  1137. 		}
  1138. 		else if ( compare( .@str$, .@tmp$ +"fmj" ) ) {
  1139. 			if ( compare( .@str$, .@tmp$ +"fmj01" ) ) setarray @map$, "Mjolnir Field 1", "mjolnir_01",204,120;
  1140. 			else if ( compare( .@str$, .@tmp$ +"fmj02" ) ) setarray @map$, "Mjolnir Field 2", "mjolnir_02",175,193;
  1141. 			else if ( compare( .@str$, .@tmp$ +"fmj03" ) ) setarray @map$, "Mjolnir Field 3", "mjolnir_03",208,213;
  1142. 			else if ( compare( .@str$, .@tmp$ +"fmj04" ) ) setarray @map$, "Mjolnir Field 4", "mjolnir_04",179,180;
  1143. 			else if ( compare( .@str$, .@tmp$ +"fmj05" ) ) setarray @map$, "Mjolnir Field 5", "mjolnir_05",181,240;
  1144. 			else if ( compare( .@str$, .@tmp$ +"fmj06" ) ) setarray @map$, "Mjolnir Field 6", "mjolnir_06",195,270;
  1145. 			else if ( compare( .@str$, .@tmp$ +"fmj07" ) ) setarray @map$, "Mjolnir Field 7", "mjolnir_07",235,202;
  1146. 			else if ( compare( .@str$, .@tmp$ +"fmj08" ) ) setarray @map$, "Mjolnir Field 8", "mjolnir_08",188,215;
  1147. 			else if ( compare( .@str$, .@tmp$ +"fmj09" ) ) setarray @map$, "Mjolnir Field 9", "mjolnir_09",205,144;
  1148. 			else if ( compare( .@str$, .@tmp$ +"fmj10" ) ) setarray @map$, "Mjolnir Field 10", "mjolnir_10",245,223;
  1149. 			else if ( compare( .@str$, .@tmp$ +"fmj11" ) ) setarray @map$, "Mjolnir Field 11", "mjolnir_11",180,206;
  1150. 			else if ( compare( .@str$, .@tmp$ +"fmj12" ) ) setarray @map$, "Mjolnir Field 12", "mjolnir_12",196,208;
  1151. 		}
  1152. 		else if ( compare( .@str$, .@tmp$ +"fni" ) ) {
  1153. 			if ( compare( .@str$, .@tmp$ +"fni01" ) ) setarray @map$, "Niflheim Field 1", "nif_fild01",215,229;
  1154. 			else if ( compare( .@str$, .@tmp$ +"fni02" ) ) setarray @map$, "Niflheim Field 2", "nif_fild02",167,234;
  1155. 		}
  1156. 		else if ( compare( .@str$, .@tmp$ +"fod" ) ) {
  1157. 			if ( compare( .@str$, .@tmp$ +"fod01" ) ) setarray @map$, "Odin Temple 1", "odin_tem01",298,167;
  1158. 			else if ( compare( .@str$, .@tmp$ +"fod02" ) ) setarray @map$, "Odin Temple 2", "odin_tem02",224,149;
  1159. 			else if ( compare( .@str$, .@tmp$ +"fod03" ) ) setarray @map$, "Odin Temple 3", "odin_tem03",266,280;
  1160. 		}
  1161. 		else if ( compare( .@str$, .@tmp$ +"fpa" ) ) {
  1162. 			if ( compare( .@str$, .@tmp$ +"fpa01" ) ) setarray @map$, "Payon Forest 1", "pay_fild01",158,206;
  1163. 			else if ( compare( .@str$, .@tmp$ +"fpa02" ) ) setarray @map$, "Payon Forest 2", "pay_fild02",151,219;
  1164. 			else if ( compare( .@str$, .@tmp$ +"fpa03" ) ) setarray @map$, "Payon Forest 3", "pay_fild03",205,148;
  1165. 			else if ( compare( .@str$, .@tmp$ +"fpa04" ) ) setarray @map$, "Payon Forest 4", "pay_fild04",186,247;
  1166. 			else if ( compare( .@str$, .@tmp$ +"fpa05" ) ) setarray @map$, "Payon Forest 5", "pay_fild05",134,204;
  1167. 			else if ( compare( .@str$, .@tmp$ +"fpa06" ) ) setarray @map$, "Payon Forest 6", "pay_fild06",193,235;
  1168. 			else if ( compare( .@str$, .@tmp$ +"fpa07" ) ) setarray @map$, "Payon Forest 7", "pay_fild07",200,177;
  1169. 			else if ( compare( .@str$, .@tmp$ +"fpa08" ) ) setarray @map$, "Payon Forest 8", "pay_fild08",137,189;
  1170. 			else if ( compare( .@str$, .@tmp$ +"fpa09" ) ) setarray @map$, "Payon Forest 9", "pay_fild09",201,224;
  1171. 			else if ( compare( .@str$, .@tmp$ +"fpa10" ) ) setarray @map$, "Payon Forest 10", "pay_fild10",160,205;
  1172. 			else if ( compare( .@str$, .@tmp$ +"fpa11" ) ) setarray @map$, "Payon Forest 11", "pay_fild11",194,150;
  1173. 		}
  1174. 		else if ( compare( .@str$, .@tmp$ +"fpr" ) ) {
  1175. 			if ( compare( .@str$, .@tmp$ +"fpr01" ) ) setarray @map$, "Prontera Field 0", "prt_fild00",184,235;
  1176. 			else if ( compare( .@str$, .@tmp$ +"fpr02" ) ) setarray @map$, "Prontera Field 1", "prt_fild01",190,206;
  1177. 			else if ( compare( .@str$, .@tmp$ +"fpr03" ) ) setarray @map$, "Prontera Field 2", "prt_fild02",240,206;
  1178. 			else if ( compare( .@str$, .@tmp$ +"fpr04" ) ) setarray @map$, "Prontera Field 3", "prt_fild03",190,143;
  1179. 			else if ( compare( .@str$, .@tmp$ +"fpr05" ) ) setarray @map$, "Prontera Field 4", "prt_fild04",307,252;
  1180. 			else if ( compare( .@str$, .@tmp$ +"fpr06" ) ) setarray @map$, "Prontera Field 5", "prt_fild05",239,213;
  1181. 			else if ( compare( .@str$, .@tmp$ +"fpr07" ) ) setarray @map$, "Prontera Field 6", "prt_fild06",185,188;
  1182. 			else if ( compare( .@str$, .@tmp$ +"fpr08" ) ) setarray @map$, "Prontera Field 7", "prt_fild07",193,194;
  1183. 			else if ( compare( .@str$, .@tmp$ +"fpr09" ) ) setarray @map$, "Prontera Field 8", "prt_fild08",187,218;
  1184. 			else if ( compare( .@str$, .@tmp$ +"fpr10" ) ) setarray @map$, "Prontera Field 9", "prt_fild09",210,183;
  1185. 			else if ( compare( .@str$, .@tmp$ +"fpr11" ) ) setarray @map$, "Prontera Field 10", "prt_fild10",195,149;
  1186. 			else if ( compare( .@str$, .@tmp$ +"fpr12" ) ) setarray @map$, "Prontera Field 11", "prt_fild11",198,164;
  1187. 		}
  1188. 		else if ( compare( .@str$, .@tmp$ +"fra" ) ) {
  1189. 			if ( compare( .@str$, .@tmp$ +"fra01" ) ) setarray @map$, "Rachel Field 1", "ra_fild01",192,162;
  1190. 			else if ( compare( .@str$, .@tmp$ +"fra02" ) ) setarray @map$, "Rachel Field 2", "ra_fild02",235,166;
  1191. 			else if ( compare( .@str$, .@tmp$ +"fra03" ) ) setarray @map$, "Rachel Fi ld 3", "ra_fild03",202,206;
  1192. 			else if ( compare( .@str$, .@tmp$ +"fra04" ) ) setarray @map$, "Rachel Field 4", "ra_fild04",202,208;
  1193. 			else if ( compare( .@str$, .@tmp$ +"fra05" ) ) setarray @map$, "Rachel Field 5", "ra_fild05",225,202;
  1194. 			else if ( compare( .@str$, .@tmp$ +"fra06" ) ) setarray @map$, "Rachel Field 6", "ra_fild06",202,214;
  1195. 			else if ( compare( .@str$, .@tmp$ +"fra07" ) ) setarray @map$, "Rachel Field 7", "ra_fild07",263,196;
  1196. 			else if ( compare( .@str$, .@tmp$ +"fra08" ) ) setarray @map$, "Rachel Field 8", "ra_fild08",217,201;
  1197. 			else if ( compare( .@str$, .@tmp$ +"fra09" ) ) setarray @map$, "Rachel Field 9", "ra_fild09",87,121;
  1198. 			else if ( compare( .@str$, .@tmp$ +"fra10" ) ) setarray @map$, "Rachel Field 10", "ra_fild10",277,181;
  1199. 			else if ( compare( .@str$, .@tmp$ +"fra11" ) ) setarray @map$, "Rachel Field 11", "ra_fild11",221,185;
  1200. 			else if ( compare( .@str$, .@tmp$ +"fra12" ) ) setarray @map$, "Rachel Field 12", "ra_fild12",175,200;
  1201. 			else if ( compare( .@str$, .@tmp$ +"fra13" ) ) setarray @map$, "Rachel Field 13", "ra_fild13",174,197;
  1202. 		}
  1203. 		else if ( compare( .@str$, .@tmp$ +"fso" ) ) {
  1204. 			if ( compare( .@str$, .@tmp$ +"fso01" ) ) setarray @map$, "Sograt Desert 1", "moc_fild01",219,205;
  1205. 			else if ( compare( .@str$, .@tmp$ +"fso02" ) ) setarray @map$, "Sograt Desert 2", "moc_fild02",177,206;
  1206. 			else if ( compare( .@str$, .@tmp$ +"fso03" ) ) setarray @map$, "Sograt Desert 3", "moc_fild03",194,182;
  1207. 			else if ( compare( .@str$, .@tmp$ +"fso04" ) ) setarray @map$, "Sograt Desert 4", "moc_fild04",184,217;
  1208. 			else if ( compare( .@str$, .@tmp$ +"fso05" ) ) setarray @map$, "Sograt Desert 5", "moc_fild05",203,213;
  1209. 			else if ( compare( .@str$, .@tmp$ +"fso06" ) ) setarray @map$, "Sograt Desert 6", "moc_fild06",213,208;
  1210. 			else if ( compare( .@str$, .@tmp$ +"fso07" ) ) setarray @map$, "Sograt Desert 7", "moc_fild07",224,170;
  1211. 			else if ( compare( .@str$, .@tmp$ +"fso08" ) ) setarray @map$, "Sograt Desert 8", "moc_fild08",229,177;
  1212. 			else if ( compare( .@str$, .@tmp$ +"fso09" ) ) setarray @map$, "Sograt Desert 9", "moc_fild09",195,198;
  1213. 			else if ( compare( .@str$, .@tmp$ +"fso10" ) ) setarray @map$, "Sograt Desert 10", "moc_fild10",209,168;
  1214. 			else if ( compare( .@str$, .@tmp$ +"fso11" ) ) setarray @map$, "Sograt Desert 11", "moc_fild11",198,216;
  1215. 			else if ( compare( .@str$, .@tmp$ +"fso12" ) ) setarray @map$, "Sograt Desert 12", "moc_fild12",156,187;
  1216. 			else if ( compare( .@str$, .@tmp$ +"fso13" ) ) setarray @map$, "Sograt Desert 13", "moc_fild13",185,263;
  1217. 			else if ( compare( .@str$, .@tmp$ +"fso14" ) ) setarray @map$, "Sograt Desert 14", "moc_fild14",209,219;
  1218. 			else if ( compare( .@str$, .@tmp$ +"fso15" ) ) setarray @map$, "Sograt Desert 15", "moc_fild15",223,188;
  1219. 			else if ( compare( .@str$, .@tmp$ +"fso16" ) ) setarray @map$, "Sograt Desert 16", "moc_fild16",206,228;
  1220. 			else if ( compare( .@str$, .@tmp$ +"fso17" ) ) setarray @map$, "Sograt Desert 17", "moc_fild17",208,238;
  1221. 			else if ( compare( .@str$, .@tmp$ +"fso18" ) ) setarray @map$, "Sograt Desert 18", "moc_fild18",209,223;
  1222. 			else if ( compare( .@str$, .@tmp$ +"fso19" ) ) setarray @map$, "Sograt Desert 19", "moc_fild19",85,97;
  1223. 			else if ( compare( .@str$, .@tmp$ +"fso20" ) ) setarray @map$, "Sograt Desert 20", "moc_fild20",42,340;
  1224. 			else if ( compare( .@str$, .@tmp$ +"fso21" ) ) setarray @map$, "Sograt Desert 21", "moc_fild21",44,194;
  1225. 			else if ( compare( .@str$, .@tmp$ +"fso22" ) ) setarray @map$, "Sograt Desert 22", "moc_fild22",42,195;
  1226. 		}
  1227. 		else if ( compare( .@str$, .@tmp$ +"fsp" ) ) {
  1228. 			if ( compare( .@str$, .@tmp$ +"fsp01" ) ) setarray @map$, "Splendide Field 1", "spl_fild01",29,335;
  1229. 			else if ( compare( .@str$, .@tmp$ +"fsp02" ) ) setarray @map$, "Splendide Field 2", "spl_fild02",290,373;
  1230. 			else if ( compare( .@str$, .@tmp$ +"fsp03" ) ) setarray @map$, "Splendide Field 3", "spl_fild03",105,369;
  1231. 		}
  1232. 		else if ( compare( .@str$, .@tmp$ +"fum" ) ) {
  1233. 			if ( compare( .@str$, .@tmp$ +"fum01" ) ) setarray @map$, "Umbala Field 1", "um_fild01",217,206;
  1234. 			else if ( compare( .@str$, .@tmp$ +"fum02" ) ) setarray @map$, "Umbala Field 2", "um_fild02",223,221;
  1235. 			else if ( compare( .@str$, .@tmp$ +"fum03" ) ) setarray @map$, "Umbala Field 3", "um_fild03",237,215;
  1236. 		}
  1237. 		else if ( compare( .@str$, .@tmp$ +"fve" ) ) {
  1238. 			if ( compare( .@str$, .@tmp$ +"fve01" ) ) setarray @map$, "Veins Field 1", "ve_fild01",186,175;
  1239. 			else if ( compare( .@str$, .@tmp$ +"fve02" ) ) setarray @map$, "Veins Field 2", "ve_fild02",196,370;
  1240. 			else if ( compare( .@str$, .@tmp$ +"fve03" ) ) setarray @map$, "Veins Field 3", "ve_fild03",222,45;
  1241. 			else if ( compare( .@str$, .@tmp$ +"fve04" ) ) setarray @map$, "Veins Field 4", "ve_fild04",51,250;
  1242. 			else if ( compare( .@str$, .@tmp$ +"fve05" ) ) setarray @map$, "Veins Field 5", "ve_fild05",202,324;
  1243. 			else if ( compare( .@str$, .@tmp$ +"fve06" ) ) setarray @map$, "Veins Field 6", "ve_fild06",150,223;
  1244. 			else if ( compare( .@str$, .@tmp$ +"fve07" ) ) setarray @map$, "Veins Field 7", "ve_fild07",149,307;
  1245. 		}
  1246. 		else if ( compare( .@str$, .@tmp$ +"fyu" ) ) {
  1247. 			if ( compare( .@str$, .@tmp$ +"fyu01" ) ) setarray @map$, "Yuno Field 1", "yuno_fild01",189,224;
  1248. 			else if ( compare( .@str$, .@tmp$ +"fyu02" ) ) setarray @map$, "Yuno Field 2", "yuno_fild02",192,207;
  1249. 			else if ( compare( .@str$, .@tmp$ +"fyu03" ) ) setarray @map$, "Yuno Field 3", "yuno_fild03",221,157;
  1250. 			else if ( compare( .@str$, .@tmp$ +"fyu04" ) ) setarray @map$, "Yuno Field 4", "yuno_fild04",226,199;
  1251. 			else if ( compare( .@str$, .@tmp$ +"fyu05" ) ) setarray @map$, "Yuno Field 5", "yuno_fild05",223,177;
  1252. 			else if ( compare( .@str$, .@tmp$ +"fyu06" ) ) setarray @map$, "Yuno Field 6", "yuno_fild06",187,232;
  1253. 			else if ( compare( .@str$, .@tmp$ +"fyu07" ) ) setarray @map$, "Yuno Field 7", "yuno_fild07",231,174;
  1254. 			else if ( compare( .@str$, .@tmp$ +"fyu08" ) ) setarray @map$, "Yuno Field 8", "yuno_fild08",196,203;
  1255. 			else if ( compare( .@str$, .@tmp$ +"fyu09" ) ) setarray @map$, "Yuno Field 9", "yuno_fild09",183,214;
  1256. 			else if ( compare( .@str$, .@tmp$ +"fyu10" ) ) setarray @map$, "Yuno Field 10", "yuno_fild10",200,124;
  1257. 			else if ( compare( .@str$, .@tmp$ +"fyu11" ) ) setarray @map$, "Yuno Field 11", "yuno_fild11",195,226;
  1258. 			else if ( compare( .@str$, .@tmp$ +"fyu12" ) ) setarray @map$, "Yuno Field 12", "yuno_fild12",210,304;
  1259. 		}
  1260. 	}
  1261. 	else if ( compare( .@str$ , .@tmp$ + "d" ) ) {
  1262. 		if ( compare( .@str$, .@tmp$ +"dab" ) ) {
  1263. 			if ( compare( .@str$, .@tmp$ +"dab01" ) ) setarray @map$, "Cursed Abbey Dungeon - Level 1", "abbey01",51,14;
  1264. 			else if ( compare( .@str$, .@tmp$ +"dab02" ) ) setarray @map$, "Cursed Abbey Dungeon - Level 2", "abbey02",150,11;
  1265. 			else if ( compare( .@str$, .@tmp$ +"dab03" ) ) setarray @map$, "Cursed Abbey Dungeon - Level 3", "abbey03",120,10;
  1266. 		}
  1267. 		else if ( compare( .@str$, .@tmp$ +"dai" ) ) {
  1268. 			if ( compare( .@str$, .@tmp$ +"dai01" ) ) setarray @map$, "Abyss Lakes Underground Cave F1", "abyss_01",260,270;
  1269. 			else if ( compare( .@str$, .@tmp$ +"dai02" ) ) setarray @map$, "Abyss Lakes Underground Cave F2", "abyss_02",275,270;
  1270. 			else if ( compare( .@str$, .@tmp$ +"dai03" ) ) setarray @map$, "Abyss Lakes Underground Cave F3", "abyss_03",116,27;
  1271. 		}
  1272. 		else if ( compare( .@str$, .@tmp$ +"dam" ) ) {
  1273. 			if ( compare( .@str$, .@tmp$ +"dam01" ) ) setarray @map$, "Amatsu Dungeon - Level 1", "ama_dun01",228,11;
  1274. 			else if ( compare( .@str$, .@tmp$ +"dam02" ) ) setarray @map$, "Amatsu Dungeon - Level 2", "ama_dun02",34,41;
  1275. 			else if ( compare( .@str$, .@tmp$ +"dam03" ) ) setarray @map$, "Amatsu Dungeon - Level 3", "ama_dun03",119,14;
  1276. 		}
  1277. 		else if ( compare( .@str$, .@tmp$ +"dan" ) ) {
  1278. 			if ( compare( .@str$, .@tmp$ +"dan01" ) ) setarray @map$, "Anthell F1", "anthell01",35,262;
  1279. 			else if ( compare( .@str$, .@tmp$ +"dan02" ) ) setarray @map$, "Anthell F2", "anthell02",168,170;
  1280. 		}
  1281. 		else if ( compare( .@str$, .@tmp$ +"day" ) ) {
  1282. 			if ( compare( .@str$, .@tmp$ +"day01" ) ) setarray @map$, "Ayothaya - Ancient Shrine Maze", "ayo_dun01",275,19;
  1283. 			else if ( compare( .@str$, .@tmp$ +"day02" ) ) setarray @map$, "Ayothaya - Inside Ancient Shrine", "ayo_dun02",24,26;
  1284. 		}
  1285. 		else if ( compare( .@str$, .@tmp$ +"dbe" ) ) {
  1286. 			if ( compare( .@str$, .@tmp$ +"dbe01" ) ) setarray @map$, "Beach Dungeon - Karu, west cave", "beach_dun",266,67;
  1287. 			else if ( compare( .@str$, .@tmp$ +"dbe02" ) ) setarray @map$, "Beach Dungeon - Ruande, north cave", "beach_dun2",255,244;
  1288. 			else if ( compare( .@str$, .@tmp$ +"dbe03" ) ) setarray @map$, "Beach Dungeon - Mao, east cave", "beach_dun3",23,260;
  1289. 		}
  1290. 		else if ( compare( .@str$, .@tmp$ +"dby" ) ) {
  1291. 			if ( compare( .@str$, .@tmp$ +"dby01" ) ) setarray @map$, "Byalan Dungeon - Undersea Tunnel F1", "iz_dun00",168,168;
  1292. 			else if ( compare( .@str$, .@tmp$ +"dby02" ) ) setarray @map$, "Byalan Dungeon - Undersea Tunnel F2", "iz_dun01",253,252;
  1293. 			else if ( compare( .@str$, .@tmp$ +"dby03" ) ) setarray @map$, "Byalan Dungeon - Undersea Tunnel F3", "iz_dun02",236,204;
  1294. 			else if ( compare( .@str$, .@tmp$ +"dby04" ) ) setarray @map$, "Byalan Dungeon - Undersea Tunnel F4", "iz_dun03",32,63;
  1295. 			else if ( compare( .@str$, .@tmp$ +"dby05" ) ) setarray @map$, "Byalan Dungeon - Undersea Tunnel F5", "iz_dun04",26,27;
  1296. 		}
  1297. 		else if ( compare( .@str$, .@tmp$ +"dcl" ) ) {
  1298. 			if ( compare( .@str$, .@tmp$ +"dcl01" ) ) setarray @map$, "Clock Tower F1", "c_tower1",199,159;
  1299. 			else if ( compare( .@str$, .@tmp$ +"dcl02" ) ) setarray @map$, "Clock Tower F2", "c_tower2",148,283;
  1300. 			else if ( compare( .@str$, .@tmp$ +"dcl03" ) ) setarray @map$, "Clock Tower F3", "c_tower3",65,147;
  1301. 			else if ( compare( .@str$, .@tmp$ +"dcl04" ) ) setarray @map$, "Clock Tower F4", "c_tower4",56,155;
  1302. 			else if ( compare( .@str$, .@tmp$ +"dcl05" ) ) setarray @map$, "Clock Tower B1", "alde_dun01",297,25;
  1303. 			else if ( compare( .@str$, .@tmp$ +"dcl06" ) ) setarray @map$, "Clock Tower B2", "alde_dun02",127,169;
  1304. 			else if ( compare( .@str$, .@tmp$ +"dcl07" ) ) setarray @map$, "Clock Tower B3", "alde_dun03",277,178;
  1305. 			else if ( compare( .@str$, .@tmp$ +"dcl08" ) ) setarray @map$, "Clock Tower B4", "alde_dun04",268,74;
  1306. 		}
  1307. 		else if ( compare( .@str$, .@tmp$ +"dco" ) ) {
  1308. 			if ( compare( .@str$, .@tmp$ +"dco01" ) ) setarray @map$, "Coal Mines - Mjolnir Dead Pit F1", "mjo_dun01",52,17;
  1309. 			else if ( compare( .@str$, .@tmp$ +"dco02" ) ) setarray @map$, "Coal Mines - Mjolnir Dead Pit F2", "mjo_dun02",381,343;
  1310. 			else if ( compare( .@str$, .@tmp$ +"dco03" ) ) setarray @map$, "Coal Mines - Mjolnir Dead Pit F3", "mjo_dun03",302,262;
  1311. 		}
  1312. 		else if ( compare( .@str$, .@tmp$ +"dcu" ) ) {
  1313. 			if ( compare( .@str$, .@tmp$ +"dcu01" ) ) setarray @map$, "Prontera Culvert F1", "prt_sewb1",131,247;
  1314. 			else if ( compare( .@str$, .@tmp$ +"dcu02" ) ) setarray @map$, "Prontera Culvert F2", "prt_sewb2",19,19;
  1315. 			else if ( compare( .@str$, .@tmp$ +"dcu03" ) ) setarray @map$, "Prontera Culvert F3", "prt_sewb3",180,169;
  1316. 			else if ( compare( .@str$, .@tmp$ +"dcu04" ) ) setarray @map$, "Prontera Culvert F4", "prt_sewb4",100,92;
  1317. 		}
  1318. 		else if ( compare( .@str$, .@tmp$ +"dei" ) ) {
  1319. 			if ( compare( .@str$, .@tmp$ +"dei01" ) ) setarray @map$, "Einbroch Dungeon - Mine Dungeon F1", "ein_dun01",22,14;
  1320. 			else if ( compare( .@str$, .@tmp$ +"dei02" ) ) setarray @map$, "Einbroch Dungeon - Mine Dungeon F2", "ein_dun02",292,290;
  1321. 		}
  1322. 		else if ( compare( .@str$, .@tmp$ +"dge" ) ) {
  1323. 			if ( compare( .@str$, .@tmp$ +"dge01" ) ) setarray @map$, "Gefenia - Level 1", "gefenia01",40,103;
  1324. 			else if ( compare( .@str$, .@tmp$ +"dge02" ) ) setarray @map$, "Gefenia - Level 2", "gefenia02",203,34;
  1325. 			else if ( compare( .@str$, .@tmp$ +"dge03" ) ) setarray @map$, "Gefenia - Level 3", "gefenia03",266,168;
  1326. 			else if ( compare( .@str$, .@tmp$ +"dge04" ) ) setarray @map$, "Gefenia - Level 4", "gefenia04",130,272;
  1327. 		}
  1328. 		else if ( compare( .@str$, .@tmp$ +"dgf" ) ) {
  1329. 			if ( compare( .@str$, .@tmp$ +"dgf01" ) ) setarray @map$, "Geffen Dungeon F1", "gef_dun00",104,99;
  1330. 			else if ( compare( .@str$, .@tmp$ +"dgf02" ) ) setarray @map$, "Geffen Dungeon F2", "gef_dun01",115,236;
  1331. 			else if ( compare( .@str$, .@tmp$ +"dgf03" ) ) setarray @map$, "Geffen Dungeon F3", "gef_dun02",106,132;
  1332. 			else if ( compare( .@str$, .@tmp$ +"dgf04" ) ) setarray @map$, "Geffen Dungeon F4", "gef_dun03",203,200;
  1333. 		}
  1334. 		else if ( compare( .@str$, .@tmp$ +"dgl" ) ) {
  1335. 			if ( compare( .@str$, .@tmp$ +"dgl01" ) ) setarray @map$, "Glast Heim - Entrance", "glast_01",371,304;
  1336. 			else if ( compare( .@str$, .@tmp$ +"dgl02" ) ) setarray @map$, "Glast Heim - Castle F1", "gl_cas01",199,29;
  1337. 			else if ( compare( .@str$, .@tmp$ +"dgl03" ) ) setarray @map$, "Glast Heim - Castle F2", "gl_cas02",104,25;
  1338. 			else if ( compare( .@str$, .@tmp$ +"dgl04" ) ) setarray @map$, "Glast Heim - Chivalry F1", "gl_knt01",150,15;
  1339. 			else if ( compare( .@str$, .@tmp$ +"dgl05" ) ) setarray @map$, "Glast Heim - Chivalry F2", "gl_knt02",157,287;
  1340. 			else if ( compare( .@str$, .@tmp$ +"dgl06" ) ) setarray @map$, "Glast Heim - St.Abbey", "gl_church",156,7;
  1341. 			else if ( compare( .@str$, .@tmp$ +"dgl07" ) ) setarray @map$, "Glast Heim - Churchyard", "gl_chyard",147,15;
  1342. 			else if ( compare( .@str$, .@tmp$ +"dgl08" ) ) setarray @map$, "Glast Heim - Culvert F1", "gl_sew01",258,255;
  1343. 			else if ( compare( .@str$, .@tmp$ +"dgl09" ) ) setarray @map$, "Glast Heim - Culvert F2", "gl_sew02",108,291;
  1344. 			else if ( compare( .@str$, .@tmp$ +"dgl10" ) ) setarray @map$, "Glast Heim - Culvert F3", "gl_sew03",171,283;
  1345. 			else if ( compare( .@str$, .@tmp$ +"dgl11" ) ) setarray @map$, "Glast Heim - Culvert F4", "gl_sew04",68,277;
  1346. 			else if ( compare( .@str$, .@tmp$ +"dgl12" ) ) setarray @map$, "Glast Heim - Staircase Dungeon", "gl_step",12,7;
  1347. 			else if ( compare( .@str$, .@tmp$ +"dgl13" ) ) setarray @map$, "Glast Heim - Underground Cave 1", "gl_dun01",133,271;
  1348. 			else if ( compare( .@str$, .@tmp$ +"dgl14" ) ) setarray @map$, "Glast Heim - Underground Cave 2", "gl_dun02",224,274;
  1349. 			else if ( compare( .@str$, .@tmp$ +"dgl15" ) ) setarray @map$, "Glast Heim - Underground Prison 1", "gl_prison",14,70;
  1350. 			else if ( compare( .@str$, .@tmp$ +"dgl16" ) ) setarray @map$, "Glast Heim - Underground Prison 2", "gl_prison1",150,14;
  1351. 		}
  1352. 		else if ( compare( .@str$, .@tmp$ +"dgo" ) ) {
  1353. 			if ( compare( .@str$, .@tmp$ +"dgo01" ) ) setarray @map$, "Gonryun Dungeon - Level 1", "gon_dun01",153,53;
  1354. 			else if ( compare( .@str$, .@tmp$ +"dgo02" ) ) setarray @map$, "Gonryun Dungeon - Level 2", "gon_dun02",28,113;
  1355. 			else if ( compare( .@str$, .@tmp$ +"dgo03" ) ) setarray @map$, "Gonryun Dungeon - Level 3", "gon_dun03",68,16;
  1356. 		}
  1357. 		else if ( compare( .@str$, .@tmp$ +"dhi" ) ) {
  1358. 			if ( compare( .@str$, .@tmp$ +"dhi01" ) ) setarray @map$, "Hidden Dungeon - Labyrinth Forest F1", "prt_maze01",176,7;
  1359. 			else if ( compare( .@str$, .@tmp$ +"dhi02" ) ) setarray @map$, "Hidden Dungeon - Labyrinth Forest F2", "prt_maze02",106,45;
  1360. 			else if ( compare( .@str$, .@tmp$ +"dhi03" ) ) setarray @map$, "Hidden Dungeon - Labyrinth Forest F3", "prt_maze03",23,8;
  1361. 		}
  1362. 		else if ( compare( .@str$, .@tmp$ +"dic" ) ) {
  1363. 			if ( compare( .@str$, .@tmp$ +"dic01" ) ) setarray @map$, "Ice Cave F1", "ice_dun01",157,14;
  1364. 			else if ( compare( .@str$, .@tmp$ +"dic02" ) ) setarray @map$, "Ice Cave F2", "ice_dun02",151,155;
  1365. 			else if ( compare( .@str$, .@tmp$ +"dic03" ) ) setarray @map$, "Ice Cave F3", "ice_dun03",149,22;
  1366. 			else if ( compare( .@str$, .@tmp$ +"dic04" ) ) setarray @map$, "Ice Cave F4", "ice_dun04",33,158;
  1367. 		}
  1368. 		else if ( compare( .@str$, .@tmp$ +"dju" ) ) {
  1369. 			if ( compare( .@str$, .@tmp$ +"dju01" ) ) setarray @map$, "The Ruins of Juperos F1", "juperos_01",53,247;
  1370. 			else if ( compare( .@str$, .@tmp$ +"dju02" ) ) setarray @map$, "The Ruins of Juperos F2", "juperos_02",37,63;
  1371. 			else if ( compare( .@str$, .@tmp$ +"dju03" ) ) setarray @map$, "Center of Juperos", "jupe_core",150,285;
  1372. 		}
  1373. 		else if ( compare( .@str$, .@tmp$ +"dki" ) ) {
  1374. 			if ( compare( .@str$, .@tmp$ +"dki01" ) ) setarray @map$, "Kiel Dungeon - Robot Factory Level 1", "kh_dun01",28,226;
  1375. 			else if ( compare( .@str$, .@tmp$ +"dki02" ) ) setarray @map$, "Kiel Dungeon - Robot Factory Level 2", "kh_dun02",41,198;
  1376. 		}
  1377. 		else if ( compare( .@str$, .@tmp$ +"dli" ) ) {
  1378. 			if ( compare( .@str$, .@tmp$ +"dli01" ) ) setarray @map$, "Lighthalzen - Somatology Labotory F1", "lhz_dun01",150,288;
  1379. 			else if ( compare( .@str$, .@tmp$ +"dli02" ) ) setarray @map$, "Lighthalzen - Somatology Labotory F2", "lhz_dun02",150,18;
  1380. 			else if ( compare( .@str$, .@tmp$ +"dli03" ) ) setarray @map$, "Lighthalzen - Somatology Labotory F3", "lhz_dun03",140,133;
  1381. 		}
  1382. 		else if ( compare( .@str$, .@tmp$ +"dlo" ) ) {
  1383. 			if ( compare( .@str$, .@tmp$ +"dlo01" ) ) setarray @map$, "Louyang Dungeon - Level 1", "lou_dun01",218,196;
  1384. 			else if ( compare( .@str$, .@tmp$ +"dlo02" ) ) setarray @map$, "Louyang Dungeon - Level 2", "lou_dun02",282,20;
  1385. 			else if ( compare( .@str$, .@tmp$ +"dlo03" ) ) setarray @map$, "Louyang Dungeon - Level 3", "lou_dun03",165,38;
  1386. 		}
  1387. 		else if ( compare( .@str$, .@tmp$ +"dma" ) ) {
  1388. 			if ( compare( .@str$, .@tmp$ +"dma01" ) ) setarray @map$, "Magma Dungeon - Nogg Road F1", "mag_dun01",126,68;
  1389. 			else if ( compare( .@str$, .@tmp$ +"dma02" ) ) setarray @map$, "Magma Dungeon - Nogg Road F2", "mag_dun02",47,30;
  1390. 		}
  1391. 		else if ( compare( .@str$, .@tmp$ +"dmo" ) ) {
  1392. 			if ( compare( .@str$, .@tmp$ +"dmo01" ) ) setarray @map$, "Moscovia Dungeon - Level 1", "mosk_dun01",200,267;
  1393. 			else if ( compare( .@str$, .@tmp$ +"dmo02" ) ) setarray @map$, "Moscovia Dungeon - Level 2", "mosk_dun02",162,33;
  1394. 			else if ( compare( .@str$, .@tmp$ +"dmo03" ) ) setarray @map$, "Moscovia Dungeon - Level 3", "mosk_dun03",34,134;
  1395. 		}
  1396. 		else if ( compare( .@str$, .@tmp$ +"dor" ) ) {
  1397. 			if ( compare( .@str$, .@tmp$ +"dor01" ) ) setarray @map$, "Orc Dungeon F1", "orcsdun01",32,170;
  1398. 			else if ( compare( .@str$, .@tmp$ +"dor02" ) ) setarray @map$, "Orc Dungeon F2", "orcsdun02",21,185;
  1399. 		}
  1400. 		else if ( compare( .@str$, .@tmp$ +"dpa" ) ) {
  1401. 			if ( compare( .@str$, .@tmp$ +"dpa01" ) ) setarray @map$, "Payon Cave F1", "pay_dun00",21,183;
  1402. 			else if ( compare( .@str$, .@tmp$ +"dpa02" ) ) setarray @map$, "Payon Cave F2", "pay_dun01",19,33;
  1403. 			else if ( compare( .@str$, .@tmp$ +"dpa03" ) ) setarray @map$, "Payon Cave F3", "pay_dun02",19,63;
  1404. 			else if ( compare( .@str$, .@tmp$ +"dpa04" ) ) setarray @map$, "Payon Cave F4", "pay_dun03",155,159;
  1405. 			else if ( compare( .@str$, .@tmp$ +"dpa05" ) ) setarray @map$, "Payon Cave F5", "pay_dun04",201,204;
  1406. 		}
  1407. 		else if ( compare( .@str$, .@tmp$ +"dpy" ) ) {
  1408. 			if ( compare( .@str$, .@tmp$ +"dpy01" ) ) setarray @map$, "Inside Pyramids F1", "moc_pryd01",192,9;
  1409. 			else if ( compare( .@str$, .@tmp$ +"dpy02" ) ) setarray @map$, "Inside Pyramids F2", "moc_pryd02",10,192;
  1410. 			else if ( compare( .@str$, .@tmp$ +"dpy03" ) ) setarray @map$, "Inside Pyramids F3", "moc_pryd03",100,92;
  1411. 			else if ( compare( .@str$, .@tmp$ +"dpy04" ) ) setarray @map$, "Inside Pyramids F4", "moc_pryd04",181,11;
  1412. 			else if ( compare( .@str$, .@tmp$ +"dpy05" ) ) setarray @map$, "Inside Pyramids B1", "moc_pryd05",94,96;
  1413. 			else if ( compare( .@str$, .@tmp$ +"dpy06" ) ) setarray @map$, "Inside Pyramids B2", "moc_pryd06",192,8;
  1414. 		}
  1415. 		else if ( compare( .@str$, .@tmp$ +"dra" ) ) {
  1416. 			if ( compare( .@str$, .@tmp$ +"dra01" ) ) setarray @map$, "Rachel Sanctuary - Level 1", "ra_san01",140,19;
  1417. 			else if ( compare( .@str$, .@tmp$ +"dra02" ) ) setarray @map$, "Rachel Sanctuary - Level 2", "ra_san02",34,21;
  1418. 			else if ( compare( .@str$, .@tmp$ +"dra03" ) ) setarray @map$, "Rachel Sanctuary - Level 3", "ra_san03",10,149;
  1419. 			else if ( compare( .@str$, .@tmp$ +"dra04" ) ) setarray @map$, "Rachel Sanctuary - Level 4", "ra_san04",204,218;
  1420. 			else if ( compare( .@str$, .@tmp$ +"dra05" ) ) setarray @map$, "Rachel Sanctuary - Level 5", "ra_san05",150,9;
  1421. 		}
  1422. 		else if ( compare( .@str$, .@tmp$ +"dsp" ) ) {
  1423. 			if ( compare( .@str$, .@tmp$ +"dsp01" ) ) setarray @map$, "Sphinx F1", "in_sphinx1",288,9;
  1424. 			else if ( compare( .@str$, .@tmp$ +"dsp02" ) ) setarray @map$, "Sphinx F2", "in_sphinx2",149,81;
  1425. 			else if ( compare( .@str$, .@tmp$ +"dsp03" ) ) setarray @map$, "Sphinx F3", "in_sphinx3",210,54;
  1426. 			else if ( compare( .@str$, .@tmp$ +"dsp04" ) ) setarray @map$, "Sphinx F4", "in_sphinx4",10,222;
  1427. 			else if ( compare( .@str$, .@tmp$ +"dsp05" ) ) setarray @map$, "Sphinx F5", "in_sphinx5",100,99;
  1428. 		}
  1429. 		else if ( compare( .@str$, .@tmp$ +"dsu" ) ) {
  1430. 			if ( compare( .@str$, .@tmp$ +"dsu01" ) ) setarray @map$, "Sunken Ship F1", "treasure01",69,24;
  1431. 			else if ( compare( .@str$, .@tmp$ +"dsu02" ) ) setarray @map$, "Sunken Ship F2", "treasure02",102,27;
  1432. 		}
  1433. 		else if ( compare( .@str$, .@tmp$ +"dta" ) ) {
  1434. 			if ( compare( .@str$, .@tmp$ +"dta01" ) ) setarray @map$, "Thanatos Tower - Level 1", "tha_t01",150,39;
  1435. 			else if ( compare( .@str$, .@tmp$ +"dta02" ) ) setarray @map$, "Thanatos Tower - Level 2", "tha_t02",150,136;
  1436. 			else if ( compare( .@str$, .@tmp$ +"dta03" ) ) setarray @map$, "Thanatos Tower - Level 3", "tha_t03",220,158;
  1437. 			else if ( compare( .@str$, .@tmp$ +"dta04" ) ) setarray @map$, "Thanatos Tower - Level 4", "tha_t04",59,143;
  1438. 			else if ( compare( .@str$, .@tmp$ +"dta05" ) ) setarray @map$, "Thanatos Tower - Level 5", "tha_t05",62,11;
  1439. 			else if ( compare( .@str$, .@tmp$ +"dta06" ) ) setarray @map$, "Thanatos Tower - Level 6", "tha_t06",89,221;
  1440. 			else if ( compare( .@str$, .@tmp$ +"dta07" ) ) setarray @map$, "Thanatos Tower - Level 7", "tha_t07",35,166;
  1441. 			else if ( compare( .@str$, .@tmp$ +"dta08" ) ) setarray @map$, "Thanatos Tower - Level 8", "tha_t08",93,148;
  1442. 			else if ( compare( .@str$, .@tmp$ +"dta09" ) ) setarray @map$, "Thanatos Tower - Level 9", "tha_t09",29,107;
  1443. 			else if ( compare( .@str$, .@tmp$ +"dta10" ) ) setarray @map$, "Thanatos Tower - Level 10", "tha_t10",159,138;
  1444. 			else if ( compare( .@str$, .@tmp$ +"dta11" ) ) setarray @map$, "Thanatos Tower - Level 11", "tha_t11",19,20;
  1445. 			else if ( compare( .@str$, .@tmp$ +"dta12" ) ) setarray @map$, "Thanatos Tower - Level 12", "tha_t12",130,52;
  1446. 		}
  1447. 		else if ( compare( .@str$, .@tmp$ +"dth" ) ) {
  1448. 			if ( compare( .@str$, .@tmp$ +"dth01" ) ) setarray @map$, "Thor's Volcano Dungeon F1", "thor_v01",21,228;
  1449. 			else if ( compare( .@str$, .@tmp$ +"dth02" ) ) setarray @map$, "Thor's Volcano Dungeon F2", "thor_v02",75,205;
  1450. 			else if ( compare( .@str$, .@tmp$ +"dth03" ) ) setarray @map$, "Thor's Volcano Dungeon F3", "thor_v03",34,272;
  1451. 		}
  1452. 		else if ( compare( .@str$, .@tmp$ +"dto" ) ) {
  1453. 			if ( compare( .@str$, .@tmp$ +"dto01" ) ) setarray @map$, "Toy Factory - Level 1", "xmas_dun01",205,15;
  1454. 			else if ( compare( .@str$, .@tmp$ +"dto02" ) ) setarray @map$, "Toy Factory - Level 2", "xmas_dun02",129,133;
  1455. 		}
  1456. 		else if ( compare( .@str$, .@tmp$ +"dtu" ) ) {
  1457. 			if ( compare( .@str$, .@tmp$ +"dtu01" ) ) setarray @map$, "Turtle Dungeon - Entrance", "tur_dun01",154,49;
  1458. 			else if ( compare( .@str$, .@tmp$ +"dtu02" ) ) setarray @map$, "Turtle Dungeon - Level 1", "tur_dun02",148,261;
  1459. 			else if ( compare( .@str$, .@tmp$ +"dtu03" ) ) setarray @map$, "Turtle Dungeon - Level 2", "tur_dun03",132,189;
  1460. 			else if ( compare( .@str$, .@tmp$ +"dtu04" ) ) setarray @map$, "Turtle Dungeon - Level 3", "tur_dun04",100,192;
  1461. 		}
  1462. 		else if ( compare( .@str$, .@tmp$ +"dum" ) ) {
  1463. 			if ( compare( .@str$, .@tmp$ +"dum01" ) ) setarray @map$, "Umbala Dungeon - Level 1", "um_dun01",42,31;
  1464. 			else if ( compare( .@str$, .@tmp$ +"dum02" ) ) setarray @map$, "Umbala Dungeon - Level 2", "um_dun02",48,30;
  1465. 		}
  1466. 	}
  1467. 	else if ( compare( .@str$ , .@tmp$ + "w" ) ) {
  1468. 		if ( compare( .@str$, .@tmp$ +"wfi" ) ) {
  1469. 			if ( compare( .@str$, .@tmp$ +"wfi01" ) ) setarray @map$, "Neuschwanstein - Aldebaran Castle 1", "alde_gld",48,83;
  1470. 			else if ( compare( .@str$, .@tmp$ +"wfi02" ) ) setarray @map$, "Hohenschwangau - Aldebaran Castle 2", "alde_gld",95,249;
  1471. 			else if ( compare( .@str$, .@tmp$ +"wfi03" ) ) setarray @map$, "Nuenberg - Aldebaran Castle 3", "alde_gld",142,85;
  1472. 			else if ( compare( .@str$, .@tmp$ +"wfi04" ) ) setarray @map$, "Wuerzburg - Aldebaran Castle 4", "alde_gld",239,242;
  1473. 			else if ( compare( .@str$, .@tmp$ +"wfi05" ) ) setarray @map$, "Rothenburg - Aldebaran Castle 5", "alde_gld",264,90;
  1474. 			else if ( compare( .@str$, .@tmp$ +"wfi06" ) ) setarray @map$, "Repherion - Geffen Castle 1", "gef_fild13",214,75;
  1475. 			else if ( compare( .@str$, .@tmp$ +"wfi07" ) ) setarray @map$, "Eeyolbriggar - Geffen Castle 2", "gef_fild13",308,240;
  1476. 			else if ( compare( .@str$, .@tmp$ +"wfi08" ) ) setarray @map$, "Yesnelph - Geffen Castle 3", "gef_fild13",143,240;
  1477. 			else if ( compare( .@str$, .@tmp$ +"wfi09" ) ) setarray @map$, "Bergel - Geffen Castle 4", "gef_fild13",193,278;
  1478. 			else if ( compare( .@str$, .@tmp$ +"wfi10" ) ) setarray @map$, "Mersetzdeitz - Geffen Castle 5", "gef_fild13",305,87;
  1479. 			else if ( compare( .@str$, .@tmp$ +"wfi11" ) ) setarray @map$, "Bright Arbor - Payon Castle 1", "pay_gld",121,233;
  1480. 			else if ( compare( .@str$, .@tmp$ +"wfi12" ) ) setarray @map$, "Scarlet Palace - Payon Castle 2", "pay_gld",295,116;
  1481. 			else if ( compare( .@str$, .@tmp$ +"wfi13" ) ) setarray @map$, "Holy Shadow - Payon Castle 3", "pay_gld",317,293;
  1482. 			else if ( compare( .@str$, .@tmp$ +"wfi14" ) ) setarray @map$, "Sacred Altar - Payon Castle 4", "pay_gld",140,160;
  1483. 			else if ( compare( .@str$, .@tmp$ +"wfi15" ) ) setarray @map$, "Bamboo Grove Hill - Payon Castle 5", "pay_gld",204,266;
  1484. 			else if ( compare( .@str$, .@tmp$ +"wfi16" ) ) setarray @map$, "Kriemhild - Prontera Castle 1", "prt_gld",134,65;
  1485. 			else if ( compare( .@str$, .@tmp$ +"wfi17" ) ) setarray @map$, "Swanhild - Prontera Castle 2", "prt_gld",240,128;
  1486. 			else if ( compare( .@str$, .@tmp$ +"wfi18" ) ) setarray @map$, "Fadhgridh - Prontera Castle 3", "prt_gld",153,137;
  1487. 			else if ( compare( .@str$, .@tmp$ +"wfi19" ) ) setarray @map$, "Skoegul - Prontera Castle 4", "prt_gld",111,240;
  1488. 			else if ( compare( .@str$, .@tmp$ +"wfi20" ) ) setarray @map$, "Gondul - Prontera Castle 5", "prt_gld",208,240;
  1489. 		}
  1490. 		else if ( compare( .@str$, .@tmp$ +"wse" ) ) {
  1491. 			if ( compare( .@str$, .@tmp$ +"wse01" ) ) setarray @map$, "Himinn - Schwaltzvalt Castle 1", "sch_gld",293,100;
  1492. 			else if ( compare( .@str$, .@tmp$ +"wse02" ) ) setarray @map$, "Andlangr - Schwaltzvalt Castle 2", "sch_gld",288,252;
  1493. 			else if ( compare( .@str$, .@tmp$ +"wse03" ) ) setarray @map$, "Viblainn - Schwaltzvalt Castle 3", "sch_gld",97,196;
  1494. 			else if ( compare( .@str$, .@tmp$ +"wse04" ) ) setarray @map$, "Hljod - Schwaltzvalt Castle 4", "sch_gld",137,90;
  1495. 			else if ( compare( .@str$, .@tmp$ +"wse05" ) ) setarray @map$, "Skidbladnir - Schwaltzvalt Castle 5", "sch_gld",71,315;
  1496. 			else if ( compare( .@str$, .@tmp$ +"wse06" ) ) setarray @map$, "Mardol - Arunafeltz Castle 1", "aru_gld",158,272;
  1497. 			else if ( compare( .@str$, .@tmp$ +"wse07" ) ) setarray @map$, "Cyr - Arunafeltz Castle 2", "aru_gld",83,47;
  1498. 			else if ( compare( .@str$, .@tmp$ +"wse08" ) ) setarray @map$, "Horn - Arunafeltz Castle 3", "aru_gld",68,155;
  1499. 			else if ( compare( .@str$, .@tmp$ +"wse09" ) ) setarray @map$, "Gefn - Arunafeltz Castle 4", "aru_gld",299,345;
  1500. 			else if ( compare( .@str$, .@tmp$ +"wse10" ) ) setarray @map$, "Bandis - Arunafeltz Castle 5", "aru_gld",292,107;
  1501. 		}
  1502. 	}
  1503. 	else if ( compare( .@str$ , .@tmp$ + "o" ) ) {
  1504. 		copyarray .@abc$, getvariableofnpc( .filled$, "warpra" ), 10;
  1505. 		set .@abcsize, getarraysize(.@abc$);
  1506. 		while ( .@j < .@abcsize ) {
  1507. 			if ( compare( .@str$, .@tmp$ +"o"+ .@abc$[.@j] ) ) {
  1508. 				set .@i, 0;
  1509. 				while ( .@i < 32 ) {
  1510. 					if ( compare( .@str$, .@tmp$ +"o"+ .@abc$[.@j] +( (.@i < 9)?"0":"")+(.@i +1) ) ) {
  1511. 						set .@a, .@i * 4;
  1512. 						setarray @map$,
  1513. 							getvariableofnpc ( getd(".custommap"+ .@abc$[.@j] +"$["+ .@a +"]"), "warpra" ),
  1514. 							getvariableofnpc ( getd(".custommap"+ .@abc$[.@j] +"$["+( .@a +1 )+"]"), "warpra" ),
  1515. 							getvariableofnpc ( getd(".custommap"+ .@abc$[.@j] +"$["+( .@a +2 )+"]"), "warpra" ),
  1516. 							getvariableofnpc ( getd(".custommap"+ .@abc$[.@j] +"$["+( .@a +3 )+"]"), "warpra" );
  1517. 						break;
  1518. 					}
  1519. 					set .@i, .@i +1 ;
  1520. 				}
  1521. 				if ( @map$[3] != "" ) break;
  1522. 			}
  1523. 			set .@j, .@j +1 ;
  1524. 		}
  1525. 	}
  1526. 	if ( getarg(0) != "" && @map$[3] == "" )
  1527. 		dispbottom "An Error occur when trying to load #"+ getarg(0);
  1528. 	return;
  1529. }
  1530.  
  1531. prontera,151,186,5	duplicate(Warper)	Warper#01	861
  1532. rachel,124,113,4	duplicate(Warper)	Warper#02	861
  1533. alberta,31,240,4	duplicate(Warper)	Warper#03	861
  1534. aldebaran,145,118,4	duplicate(Warper)	Warper#04	861
  1535. amatsu,200,79,1	duplicate(Warper)	Warper#05	861
  1536. ayothaya,144,116,6	duplicate(Warper)	Warper#06	861
  1537. comodo,194,158,4	duplicate(Warper)	Warper#07	861
  1538. einbech,142,246,4	duplicate(Warper)	Warper#08	861
  1539. einbroch,69,202,4	duplicate(Warper)	Warper#09	861
  1540. hugel,90,159,4	duplicate(Warper)	Warper#10	861
  1541. lighthalzen,154,99,4	duplicate(Warper)	Warper#11	861
  1542. geffen,114,108,4	duplicate(Warper)	Warper#12	861
  1543. izlude,131,116,4	duplicate(Warper)	Warper#13	861
  1544. xmas,150,136,4	duplicate(Warper)	Warper#14	861
  1545. morocc,156,99,4	duplicate(Warper)	Warper#15	861
  1546. payon,182,110,4	duplicate(Warper)	Warper#16	861
  1547. yuno,166,182,4	duplicate(Warper)	Warper#17	861
  1548. moc_fild04,207,331,4	duplicate(Warper)	Warper#18	861
  1549. izlu2dun,104,82,4	duplicate(Warper)	Warper#19	861
  1550. mjolnir_02,85,363,4	duplicate(Warper)	Warper#20	861
  1551. prt_fild05,273,215,4	duplicate(Warper)	Warper#21	861
  1552. glast_01,370,308,4	duplicate(Warper)	Warper#22	861
  1553. yuno_fild03,37,135,4	duplicate(Warper)	Warper#23	861
  1554. gef_fild10,71,339,4	duplicate(Warper)	Warper#24	861
  1555. pay_arche,39,135,4	duplicate(Warper)	Warper#25	861
  1556. moc_ruins,64,166,4	duplicate(Warper)	Warper#26	861
  1557. moc_fild19,106,97,4	duplicate(Warper)	Warper#27	861
  1558. alb2trea,73,101,4	duplicate(Warper)	Warper#28	861
  1559. tur_dun01,148,239,4	duplicate(Warper)	Warper#29	861
  1560. gonryun,151,130,4	duplicate(Warper)	Warper#30	861
  1561. louyang,210,101,6	duplicate(Warper)	Warper#31	861
  1562. umbala,132,130,4	duplicate(Warper)	Warper#32	861
  1563. moscovia,156,100,4	duplicate(Warper)	Warper#33	861
  1564. thor_camp,241,72,4	duplicate(Warper)	Warper#34	861
  1565. nameless_n,260,217,4	duplicate(Warper)	Warper#35	861
  1566. veins,212,123,4	duplicate(Warper)	Warper#36	861
  1567. moscovia,218,185,6	duplicate(Warper)	Warper#37	861
  1568. jawaii,171,177,6	duplicate(Warper)	Warper#38	861
  1569. jupe_ele,41,55,5	duplicate(Warper)	Warper#39	861
  1570. einbech,163,129,8	duplicate(Warper)	Warper#40	861
  1571. manuk,270,128,6	duplicate(Warper)	Warper#41	861
  1572. splendide,196,153,6	duplicate(Warper)	Warper#42	861
  1573. mid_camp,213,287,4	duplicate(Warper)	Warp NPC#43	421
  1574. //brasilis,201,222,4	duplicate(Warper)	Warp NPC#44	421
  1575. //dicastes01,185,229,4	duplicate(Warper)	Warp NPC#45	421
Viewed 1208 times, submitted by Guest.