viewing paste Loki Warper | Athena

Posted on the
  1. //===== Athena Script =====================================
  2. //= Loki Warper
  3. //===== By ================================================
  4. //= Loki1991
  5. //===== Version ===========================================
  6. //= 1.0 - First release, filled with many features and full
  7. //=       customizable configurations. For example level
  8. //=       suggestion, a lock system (player have to unlock
  9. //=       higher dungeons before they can enter), guild
  10. //=	  dungeon checker and general warping dues.
  11. //= 1.1 - Added a field warp flag. If you want to use field
  12. //=	  warps just set .@field_warps to 1. More features	
  13. //=	  are the itemrate and the item color. In addition,
  14. //=	  the Morroc warp bug has been fixed.
  15. //= 1.2 - Critical bug fixed which happend when a user tried
  16. //=       to unlock a dungeon, where the first level was also
  17. //=       locked (.@lockDungeonAtLevel = 1). In addition, 
  18. //=	  the gm level will be considered on guild dungeon
  19. //=       warps. Besides, a special value for the variable
  20. //=	  .@guild_dungeon_only_owner has been added which
  21. //=       allows you to general allow to warp to any guild
  22. //=       dungeons when the user guild have any castles.
  23. //= 1.3 - .@use_location_array is in dungeon_handling now an
  24. //=       array because to allow you to add maps on diffrent
  25. //=	  location arrays (for example adding Bio Lab 4).
  26. //= 1.4 - Missing maps has been added. In addition, the
  27. //=	  instances are now under serperated menu enties
  28. //=       and the player can just warp to the start. The
  29. //=	  last warp checks also now if the user is currently
  30. //=	  in any guild if he wants to be warped to a guild dun.
  31. //===== Description =======================================
  32. //= This is an advanced warper which is easy to configure
  33. //= and to add/edit/remove new maps. In addition, you can
  34. //= activate many functions like "suggesting level" which 
  35. //= will stick a level recommendation to each dungeon level.
  36. //= Likewise, this script offers a lock system that means 
  37. //= that every user have to unlock a higher dungeon before
  38. //= he can enter. Which items, zeny or at which dungeon level
  39. //= this should come can be configured well. More Features
  40. //= you can find at the configuration part of this script.
  41. //=========================================================
  42.  
  43. -	script	Warp Agent#wa-1::warpagent	721,{
  44.  
  45.     //Config Start
  46.     set @name$,"^0000FF[Warp Agent]^000000";    //Name of the NPC on dialog 									::: DEFAULT "^0000FF[Warp Agent]^000000"
  47.     set @npctype$,"kafra_07";			//Cutin name http://eathena.ws/wiki/index.php/Cutin 						::: DEFAULT "kafra_07"
  48.     set @locked$,"[^0000FFlocked^000000]";	//Locked information when .@use_lock_system set to 1						::: DEFAULT "[^0000FFlocked^000000]"
  49.     set @level_color$,"^FF0000";		//The color of your recommended level information (only needed when .@recommend_level is 1) 	::: DEFAULT "^FF0000"
  50.     set @item_color$,"^FF0000";			//The color of your unlock items (only needed when .@use_lock_system is 1)  			::: DEFAULT "^FF0000"
  51.  
  52.     set .@field_warps,0;			//Set this to 1 to allow field warps								::: DEFAULT 0 (use 0 to disable)
  53.     set .@recommend_level,1;			//Display recommended level on dungeons								::: DEFAULT 1 (use 0 to disable)
  54.     set .@use_lock_system,1;			//Player has to unlock higher dungeons with for example items and zeny before he can warp in  	::: DEFAULT 1 (use 0 to disable)
  55.     set .@ignore_lock_system_on_gmlevel,40;	//At which gm level a gm don't have to unlock a dungeon 					::: DEFAULT 40
  56.     set .@guild_dungeon_only_owner,1;		//Only if your guild have a castle in that area you can enter a guild dungeon 			::: DEFAULT 1 (use 0 to disable, special value: 2 -> to general allow guild dungeon warps when the users guild have any castles) 		
  57.     set .@lockZenyMultiplier,1;			//Rate unlock costs (no comma!!!). Don't overstate it... on Highrate 10-20 is enough 		::: DEFAULT 1
  58.     set .@lockItemMultiplier,1;			//Rate unlock items (no comma!!!). Higher rates then 10 can cause frustration! 			::: DEFAULT 1
  59.     set .@warperCost,0;				//The amount of zeny a player have to pay for each warp 					::: DEFAULT 0 (use 0 to disable)
  60.  
  61.     //Edit here the language
  62.     set .@lang_unlockMsg$,"To unlock this dungeon you have to bring me the following items:";
  63.     set .@lang_unlockGzMsg$,"Congratiulations! You unlocked this dungeon!";
  64.     set .@lang_unlock_yes$,"Unlock";	
  65.     set .@lang_unlock_no$,"Cancel";
  66.     set .@lang_unlockFail$,"You don't fullfill all requirements!";
  67.     set .@lang_unlockFail2$,"First, unlock the lower dungeon level!";
  68.     set .@lang_not_enough_zeny$,"I'm sorry, but you don't have ^0000FF"+.@warperCost+"^000000 zeny!";
  69.     set .@lang_no_castles$,"You don't have any castles in";
  70.     set .@lang_no_castles_special$,"You don't have any castles.";
  71.     set .@lang_no_guild$,"You aren't in any guild!";
  72.     set .@lang_not_warped$,"I'm sorry but you didn't warped anywhere yet!";
  73.     set .@lang_begin_msg1$,"I can teleport you to any Town or Dungeon!";
  74.     set .@lang_begin_msg2$,"A warp cost only  ^0000FF"+.@warperCost+"^000000 zeny!";
  75.     set .@lang_begin_msg3$,"Where do you want to go?";
  76.     set .@lang_choose_dungeon$,"Which kind of dungeon?";	
  77.     set .@lang_choose_gdungeon$,"Which kind of guild dungeon?";
  78.     set .@lang_choose_woe$,"Which kind of castle area?";
  79.     set .@lang_choose_city$,"Which kind of town?";
  80.     set .@lang_choose_fields$,"Which field do you want to warp to?";
  81.     set .@lang_dungeon$,"Dungeon";
  82.     set .@lang_city$,"City";
  83.     set .@lang_gdungeon$,"Guild dungeon";
  84.     set .@lang_lastmap$,"Last map";
  85.     set .@lang_woe$,"Castle Area";
  86.     set .@lang_fields$,"Fields";
  87.     //Config End
  88.  
  89.  
  90.  
  91.     //Don't change anything below this line, only when you know what you do	
  92.     //---------------------------------------------------------------------
  93.  
  94.  
  95.  
  96.   //Level Mapnames and coordinates
  97.   setarray .locations_1$[0],"gld_dun01",							//0
  98. 			    "gld_dun02","gld_dun03","gld_dun04","schg_dun01","arug_dun01",	//5
  99. 			    "alde_gld","gef_fild13","pay_gld","prt_gld","aru_gld",		//10
  100. 			    "sch_gld","abyss_01","abyss_02","abyss_03","alberta",		//15	
  101. 			    "aldebaran","amatsu","ayothaya","comodo","einbroch",		//20
  102. 			    "einbech","geffen","gonryun","hugel","izlude",			//25
  103. 			    "lighthalzen","louyang","xmas","manuk","mid_camp",			//30
  104. 			    "mora","morocc","moscovia","nameless_i","niflheim",			//35
  105. 			    "payon","prontera","rachel","splendide","umbala",			//40
  106. 			    "veins","yuno","ama_dun01","ama_dun02","ama_dun03",			//45
  107. 			    "anthell01","anthell02","ayo_dun01","ayo_dun02","beach_dun",	//50	
  108. 			    "beach_dun2","beach_dun3","alde_dun01","alde_dun02","alde_dun03",	//55
  109. 			    "alde_dun04","c_tower1","c_tower2","c_tower3","c_tower4",		//60
  110. 			    "mjo_dun01","mjo_dun02","mjo_dun03","prt_sewb1","prt_sewb2",	//65
  111. 			    "prt_sewb3","prt_sewb4","abbey01","abbey02","abbey03",		//70
  112. 			    "moc_fild20","moc_fild21","ein_dun01","ein_dun02","moc_fild22",	//75
  113. 			    "gefenia01","gefenia02","gefenia03","gefenia04","gef_dun00",	//80
  114. 			    "gef_dun01","gef_dun02","gef_dun03","glast_01","gl_cas01",		//85
  115. 			    "gl_cas02","gl_prison","gl_prison1","gl_chyard","gl_sew01",		//90
  116. 			    "gl_sew02","gl_sew03","gl_sew04","gl_church","gl_dun01",		//95
  117. 			    "gl_dun02","gl_knt01","gl_knt02","gon_dun01","gon_dun02",		//100
  118. 			    "gon_dun03","prt_maze01","prt_maze02","prt_maze03","ice_dun01",	//105
  119. 			    "ice_dun02","ice_dun03","juperos_01","juperos_02","jupe_core",	//110
  120. 			    "kh_dun01","kh_dun02","lhz_dun01","lhz_dun02","lhz_dun03",		//115
  121. 			    "lou_dun01","lou_dun02","lou_dun03","nyd_dun01","nyd_dun02",	//120
  122. 			    "1@nyd","2@nyd","mag_dun01","mag_dun02","mosk_dun01",		//125
  123. 			    "mosk_dun02","mosk_dun03";						//127
  124.  
  125.  
  126.   setarray .locations_2$[0],"nif_fild02",							//0
  127. 			    "nif_fild01","odin_tem01","odin_tem02","odin_tem03","orcsdun01",	//5
  128. 			    "orcsdun02","1@orcs","2@orcs","pay_dun00","pay_dun01",		//10
  129. 			    "pay_dun02","pay_dun03","pay_dun04","pay_fild04","moc_pryd01",	//15
  130. 			    "moc_pryd02","moc_pryd03","moc_pryd04","moc_pryd05","moc_pryd06",	//20
  131. 			    "ra_san01","ra_san02","ra_san03","ra_san04","ra_san05",		//25
  132. 			    "1@cata","2@cata","in_sphinx1","in_sphinx2","in_sphinx3",		//30	
  133. 			    "in_sphinx4","in_sphinx5","treasure01","treasure02","tha_t01",	//35
  134. 			    "tha_t02","tha_t03","tha_t04","tha_t05","tha_t06",			//40
  135. 			    "tha_t07","tha_t08","tha_t09","tha_t10","tha_t11",			//45
  136. 			    "tha_t12","thana_boss","thor_v01","thor_v02","thor_v03",		//50
  137. 			    "xmas_dun01","xmas_dun02","tur_dun01","tur_dun02","tur_dun03",	//55		
  138. 			    "tur_dun04","um_dun01","um_dun02","iz_dun00","iz_dun01",		//60
  139. 			    "iz_dun02","iz_dun03","iz_dun04","1@cata","2@cata",			//65
  140. 			    "dic_dun01","dic_dun02","1@mist","mal_dun01","bra_dun01",		//70
  141. 			    "bra_dun02","dew_dun01","dew_dun02","e_tower","malangdo",		//75
  142. 			    "yggdrasil01","lhz_dun04","brasilis","dewata","jawaii",		//80	
  143. 			    "bra_fild01","dew_fild01","gef_fild10","monk_test","iz_dun05",	//85
  144. 			    "man_fild03","dic_fild01","dic_fild02","dicastes01","dicastes02",	//90
  145. 			    "dic_dun03","nameless_n","malaya","ma_fild01","ma_fild02",		//95
  146. 			    "ma_dun01","gld2_ald","gld2_gef","gld2_pay","gld2_prt", 		//100
  147. 			    "bif_fild01","bif_fild02";						//102
  148.  
  149.   setarray .locations_3$[0],"ama_fild01",							//0
  150. 			    "cmd_fild01","cmd_fild02","cmd_fild03","cmd_fild04","cmd_fild05",	//5
  151. 			    "cmd_fild06","cmd_fild07","cmd_fild08","cmd_fild09","ein_fild01",	//10
  152. 			    "ein_fild02","ein_fild03","ein_fild04","ein_fild05","ein_fild06",	//15
  153. 			    "ein_fild07","ein_fild08","ein_fild09","ein_fild10","gef_fild00",	//20
  154. 			    "gef_fild01","gef_fild02","gef_fild03","gef_fild04","gef_fild05",	//25
  155. 			    "gef_fild06","gef_fild07","gef_fild08","gef_fild09","gef_fild10",	//30
  156. 			    "gef_fild11","gef_fild12","gef_fild13","gef_fild14","gon_fild01",	//35
  157. 			    "hu_fild01","hu_fild02","hu_fild03","hu_fild04","hu_fild05",	//40
  158. 			    "hu_fild06","hu_fild07","lhz_fild01","lhz_fild02","lhz_fild03",	//45
  159. 			    "lou_fild01","xmas_fild01","man_fild01","man_fild02","mjolnir_01",	//50
  160. 			    "mjolnir_02","mjolnir_03","mjolnir_04","mjolnir_05","mjolnir_06",	//55
  161. 			    "mjolnir_07","mjolnir_08","mjolnir_09","mjolnir_10","mjolnir_11",	//60
  162. 			    "mjolnir_12","mosk_fild01","mosk_fild02","pay_fild01","pay_fild02",	//65
  163. 			    "pay_fild03","pay_fild04","pay_fild05","pay_fild06","pay_fild07",	//70
  164. 			    "pay_fild08","pay_fild09","pay_fild10","pay_fild11","prt_fild00",	//75
  165. 			    "prt_fild01","prt_fild02","prt_fild03","prt_fild04","prt_fild05",	//80
  166. 			    "prt_fild06","prt_fild07","prt_fild08","prt_fild09","prt_fild10",	//85
  167. 			    "prt_fild11","ra_fild01","ra_fild02","ra_fild03","ra_fild04",	//90
  168. 			    "ra_fild05","ra_fild06","ra_fild07","ra_fild08","ra_fild09",	//95
  169. 			    "ra_fild10","ra_fild11","ra_fild12","ra_fild13","moc_fild01",	//100
  170. 			    "moc_fild02","moc_fild03","moc_fild07","moc_fild11","moc_fild12",	//105
  171. 			    "moc_fild13","moc_fild16","moc_fild17","moc_fild18","moc_fild19",	//110
  172. 			    "moc_fild20","moc_fild21","moc_fild22","spl_fild01","spl_fild02",	//115
  173. 			    "spl_fild03","um_fild01","um_fild02","um_fild03","um_fild04",	//120
  174. 			    "ve_fild01","ve_fild02","ve_fild03","ve_fild04","ve_fild05",	//125
  175. 			    "ve_fild06","ve_fild07";						//127
  176.  
  177.   setarray .locations_4$[0],"ayo_fild01",								//0
  178.    			    "ayo_fild02","yuno_fild01","yuno_fild02","yuno_fild03","yuno_fild04",	//5
  179. 			    "yuno_fild05","yuno_fild06","yuno_fild07","yuno_fild08","yuno_fild09",	//10
  180. 			    "yuno_fild10","yuno_fild11","yuno_fild12";					//13
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.   setarray .coordsx_1[0],220,			//0
  189. 			 166,165,55,199,292,	//5
  190. 			 183,242,196,159,236,	//10
  191. 			 287,265,275,116,27,	//15
  192. 		 	 145,197,149,188,64,	//20
  193. 			 70,119,150,96,128,	//25
  194. 			 158,210,148,276,181,	//30
  195. 			 120,159,168,174,192,	//35
  196. 			 177,155,130,198,130,	//40
  197. 			 219,168,229,35,119,	//45
  198. 			 35,34,275,24,270,	//50
  199. 			 154,20,297,43,277,	//55
  200. 			 268,199,268,65,73,	//60
  201. 			 53,381,302,126,19,	//65
  202. 	 		 180,100,51,149,119,	//70
  203. 			 280,83,22,292,52,	//75
  204. 			 59,203,266,33,103,	//80
  205. 			 115,106,203,370,163,	//85
  206. 			 104,14,150,147,258,	//90
  207. 			 29,171,101,295,225,	//95
  208. 			 224,123,15,152,17,	//100
  209. 			 68,99,93,182,157,	//105
  210. 			 151,149,53,128,150,	//110
  211. 			 4,40,18,18,140,	//115
  212. 			 218,282,165,65,199,	//120
  213. 			 36,200,129,47,200,	//125
  214. 			 164,33;		//127
  215.  
  216.   setarray .coordsx_2[0],376,			//0
  217. 			 340,100,23,246,32,	//5
  218. 			 21,105,181,21,19,	//10
  219. 			 19,155,201,346,192,	//15
  220. 			 10,100,12,220,192,	//20
  221. 			 139,37,73,48,150,	//25
  222. 			 163,79,288,149,210,	//30
  223. 			 10,100,69,102,150,	//35
  224. 			 150,220,59,62,206,	//40
  225. 			 30,110,20,155,50,	//45
  226. 			 115,136,20,77,36,	//50
  227. 			 205,17,158,148,132,	//55
  228. 			 100,42,48,168,253,	//60
  229. 			 236,32,26,163,79,	//65
  230. 			 362,101,89,45,33,	//70
  231. 			 261,97,298,76,220,	//75
  232. 			 50,242,196,199,217,	//80
  233. 			 84,347,241,308,141,	//85
  234. 			 85,90,79,197,119,	//90
  235. 			 101,259,281,66,179,	//95
  236. 			 41,46,145,163,91,	//100
  237. 			 162,286;		//102
  238.  
  239.   setarray .coordsx_3[0],190,			//0
  240. 			 180,231,191,228,224,	//5
  241. 			 190,234,194,172,142,	//10
  242. 			 182,187,185,216,195,	//15
  243. 			 272,173,207,196,46,	//20
  244. 			 213,195,257,188,166,	//25
  245. 			 248,195,186,221,178,	//30
  246. 			 136,240,235,211,220,	//35
  247. 			 268,222,232,252,196,	//40
  248. 			 216,227,240,185,240,	//45
  249. 			 229,115,200,206,204,	//50
  250. 			 175,208,179,181,195,	//55
  251. 			 235,188,205,245,180,	//60
  252. 			 196,82,131,158,151,	//65
  253. 			 205,186,134,193,200,	//70
  254. 			 137,201,160,194,184,	//75
  255. 			 190,240,190,307,239,	//80
  256. 			 185,193,187,210,195,	//85
  257. 			 198,192,235,202,202,	//90
  258. 			 225,202,263,217,87,	//95
  259. 			 277,221,175,174,219,	//100
  260. 			 177,194,224,198,156,	//105
  261. 			 185,206,208,209,85,	//110
  262. 			 85,85,85,175,236,	//115
  263. 			 188,217,223,237,202,	//120
  264. 			 186,196,222,51,202,	//125
  265. 			 150,149;		//127
  266.  
  267.   setarray .coordsx_4[0],173,			//0
  268. 			 212,189,192,221,226,	//5
  269. 			 223,187,231,196,183,	//10
  270. 			 200,195,210;		//13
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.   setarray .coordsy_1[0],208,			//0
  279. 			 163,179,124,125,143,	//5
  280. 			 159,172,139,98,225,	//10
  281. 			 183,272,270,27,236,	//15	
  282. 			 120,86,118,161,200,	//20
  283. 			 95,66,130,145,111,	//25
  284. 			 92,108,131,222,244,	//30
  285. 			 166,93,75,183,185,	//35
  286. 			 105,124,110,168,130,	//40
  287. 			 126,168,12,43,14,	//45
  288. 			 265,263,17,25,69,	//50
  289. 			 17,261,25,24,178,	//55
  290. 			 74,159,26,147,154,	//60
  291. 			 23,343,262,248,19,	//65
  292. 	 		 169,92,14,14,9,	//70
  293. 			 144,310,14,290,195,	//75
  294. 			 168,34,168,270,97,	//80
  295. 			 236,132,200,304,191,	//85
  296. 			 25,70,14,284,255,	//90
  297. 			 270,283,78,46,22,	//95
  298. 			 274,292,140,49,113,	//100
  299. 			 9,29,20,88,15,		//105
  300. 			 155,22,247,277,77,	//110
  301. 			 229,198,148,148,133,	//115
  302. 			 196,20,38,75,147,	//120
  303. 			 50,18,72,30,268,	//125
  304. 			 32,135;		//127
  305.  
  306.  
  307.   setarray .coordsy_2[0],235,			//0
  308. 			 320,145,334,38,170,	//5
  309. 			 185,37,13,179,33,	//10
  310. 			 63,159,204,336,9,	//15
  311. 			 192,92,18,9,10,	//20
  312. 			 20,21,79,113,16,	//25
  313. 			 219,135,11,81,54,	//30
  314. 			 222,99,25,27,39,	//35
  315. 			 136,158,143,11,8,	//40
  316. 			 166,42,96,100,17,	//45
  317. 			 16,116,230,204,272,	//50
  318. 			 129,133,35,264,189,	//55
  319. 			 192,31,30,168,252,	//60
  320. 			 204,63,27,219,134,	//65
  321. 			 43,142,29,229,118,	//70
  322. 			 261,272,29,101,130,	//75
  323. 			 63,47,206,178,162,	//80
  324. 			 76,215,201,145,175,	//85
  325. 			 346,99,338,181,96,	//90
  326. 			 139,215,357,252,221,	//95
  327. 			 109,114,88,106,97,	//100
  328. 			 43,252;		//102
  329.  
  330.  
  331.   setarray .coordsy_3[0],197,			//0
  332. 		         178,160,172,194,203,	//5
  333. 			 223,177,175,172,225,	//10
  334. 			 141,228,173,173,148,	//15
  335. 			 220,214,174,200,199,	//20
  336. 			 204,212,192,171,263,	//25
  337. 			 158,191,183,117,218,	//30
  338. 			 328,181,235,185,227,	//35
  339. 			 101,193,185,189,106,	//40
  340. 			 220,197,179,235,226,	//45
  341. 			 187,145,210,219,120,	//50
  342. 			 193,213,180,240,270,	//55
  343. 			 202,215,144,223,206,	//60
  344. 			 208,104,147,206,219,	//65
  345. 			 148,247,204,235,177,	//70
  346. 			 189,224,205,150,235,	//75
  347. 			 206,206,143,252,213,	//80
  348. 			 188,194,218,183,149,	//85
  349. 			 164,162,166,206,208,	//90
  350. 			 202,214,196,201,121,	//95
  351. 			 181,185,200,197,205,	//100
  352. 			 206,182,170,216,187,	//105
  353. 			 263,228,238,223,97,	//110
  354. 			 97,97,97,186,184,	//115
  355. 			 204,206,221,215,197,	//120
  356. 			 175,370,45,250,324,	//125
  357. 			 223,307;		//127
  358.  
  359.   setarray .coordsy_4[0],134,			//0
  360. 			 150,224,207,157,199,	//5
  361. 			 177,232,174,203,214,	//10
  362. 			 124,226,304;		//13
  363.  
  364.  
  365.  
  366.  
  367.  
  368. 	//Script starts here
  369.  
  370.     	cutin @npctype$,2; 
  371.     	mes @name$;
  372.     	mes "Hello ^660000" +strcharinfo(0)+ "^000000,";
  373.     	mes .@lang_begin_msg1$;
  374. 	if(.@warperCost > 0) mes .@lang_begin_msg2$;
  375.     	mes .@lang_begin_msg3$;
  376.     	next;
  377.     	set .@i,0;
  378. 	if(.@field_warps == 1) {
  379.     		menu 
  380.     			.@lang_lastmap$+" [^ff0000"+getd(".locations_"+lastwarp_array+"$["+lastwarp+"]")+"^000000]",last_map,
  381.     			.@lang_city$,city,
  382.     			.@lang_dungeon$,dungeon,
  383. 			.@lang_fields$,fields,
  384.     			.@lang_gdungeon$,g_dungeon,
  385.     			.@lang_woe$,woe;
  386. 	} else {
  387.     		menu 
  388.     			.@lang_lastmap$+" [^ff0000"+getd(".locations_"+lastwarp_array+"$["+lastwarp+"]")+"^000000]",last_map,
  389.     			.@lang_city$,city,
  390.     			.@lang_dungeon$,dungeon,
  391.     			.@lang_gdungeon$,g_dungeon,
  392.     			.@lang_woe$,woe;
  393. 	}
  394.     	cutin "",255;
  395.     	close;
  396.  
  397.  
  398. 	last_map:
  399. 		if(getd(".locations_"+lastwarp_array+"$["+lastwarp+"]") == "") {
  400. 			mes @name$;
  401.             		mes .@lang_not_warped$;
  402.         	} else {
  403. 			set .@warpIndex,lastwarp;
  404. 			set .@use_location_array,lastwarp_array;	
  405.             		goto main_handling;
  406.         	}
  407.     		cutin "",255;
  408.     	close;
  409.  
  410.  
  411.  
  412. 	woe:
  413. 		mes @name$;
  414. 		mes .@lang_choose_woe$;
  415. 		menu "Aldebaran",woe_alde,"Geffen",woe_geffen,"Juno",woe_juno,"Payon",woe_payon,"Prontera",woe_prontera,"Rachel",woe_rachel;
  416. 		cutin "",255;
  417.    	close;
  418.  
  419.  
  420.  
  421. 	city:
  422. 		mes @name$;
  423. 		mes .@lang_choose_city$;
  424. 		menu "Alberta",city_alberta,"Aldebaran",city_aldebaran,"Amatsu",city_amatsu,"Ayothaya",city_ayothaya,"Brasilis",city_brasilis,
  425. 		     "Comodo",city_comodo,"Dewata",city_dewata,"Dicastes North",city_dicastes02,"Dicastes South",city_dicastes01,"Einbroch",city_einbroch,
  426. 		     "Einbech",city_einbrech,"Geffen",city_geffen,"Gonryun",city_gonryun,"Hugel",city_hugel,"Izlude",city_izlude,
  427. 		     "Jawaii",city_jawaii,"Juno",city_juno,"Lighthalzen",city_lighthalzen,"Louyang",city_louyang,"Lutie",city_lutie,
  428. 		     "Malangdo",city_malangdo,"Malaya",city_malaya,"Manuk",city_manuk,"Mid Camp",city_midcamp,"Mora",city_mora,
  429. 		     "Morroc",city_morroc,"Moscovia",city_moscovia,"Nameless",city_nameless,"Niflheim",city_niflheim,"Payon",city_payon,
  430. 	     	     "Prontera",city_prontera,"Rachel",city_rachel,"Splendide",city_splendide,"Umbala",city_umbala,
  431. 		     "Veins",city_veins;
  432.     		cutin "",255;
  433. 	close;
  434.  
  435.  
  436.  
  437. 	dungeon:
  438.         	mes @name$;
  439.         	mes .@lang_choose_dungeon$;
  440. 		menu "Abyss Lake",dun_abyss,"Amatsu Dungeon",dun_amatsu,"Anthell",dun_anthell,"Ayothaya Dungeon",dun_ayothaya,"Beach Dungeon",dun_beach,
  441. 	     	     "Brasilis Dungeon",dun_brasilis,"Clock Tower",dun_clock,"Coal Mine",dun_coal,"Culvert",dun_culvert,"Cursed Abbey",dun_abbey,
  442. 		     "Dewata Dungeon",dun_dewata,"Dimensional Gorge",dun_dim,"Einbech Dungeon",dun_einbroch,"Endless Tower [^FF0000Instance^000000]",ini_endless,"Gefenia",dun_gefenia,
  443. 		     "Geffen Dungeon",dun_geffen,"Glast Heim",dun_glast,"Gonryun Dungeon",dun_gonryun,"Hidden Dungeon",dun_hidden,"Ice Cave",dun_ice,
  444. 		     "Juperos",dun_juperos,"Kiel Dungeon",dun_kiel,"Lighthalzen Bio Lab",dun_biolab,"Louyang Dungeon",dun_louyang,"Magma Dungeon",dun_magma,
  445. 		     "Malangdo Dungeon",dun_malangdo,"Malaya Dungeon",dun_malaya,"Misty Forest Labyrinth",dun_mist,"Moscovia Dungeon",dun_moscovia,
  446. 		     "Niflheim Fields",dun_niflheim,"Odin Temple",dun_odin,"Orc Dungeon",dun_orc,"Orcish Underground Caves [^FF0000Instance^000000]",ini_orc,"Payon Dungeon",dun_payon,
  447. 		     "Poring Heaven",dun_poring,"Pyramids",dun_pyramid,"Rachel Sanctuary",dun_rachel,"Scaraba Hole Dungeon",dun_scaraba,"Sealed Shrine [^FF0000Instance^000000]",ini_sealed,
  448. 		     "Sphinx",dun_sphinx,"Sunken Ship",dun_sunken,"Thanatos Tower",dun_thanatos,"Thor's Volcano",dun_thor,"Toy Factory",dun_toy,
  449. 		     "Turtle Dungeon",dun_turtle,"Umbala Dungeon",dun_umbala,"Undersea Tunnel",dun_undersea,"Yggdrasil Root",dun_nidhoggur,"Yggdrasil Tree",dun_yggdrasil;
  450.      		cutin "",255;
  451. 	close;
  452.  
  453. 	fields:
  454. 		mes @name$;
  455.         	mes .@lang_choose_fields$;
  456. 		menu "Amatsu Fields",field_ama,"Ayothaya Fields",field_ayo,"Brasilis Fields",field_bra,"Comodo Fields",field_cmd,"Dewata Fields",field_dew,
  457. 		     "Dicastes Fields",field_dic,"Einbroch Fields",field_ein,"Geffen Fields",field_gef,"Gonryun Fields",field_gon,"Hugel Fields",field_hu,
  458. 		     "Lighthalzen Fields",field_lhz,"Louyang Field",field_lou,"Lutie Field",field_xmas,"Malaya Fields",field_ma,"Manuk Fields",field_man,
  459. 		     "Mjolnir Fields",field_mjolnir,"Mora Fields",field_mora,"Moscovia Fields",field_mosk,"Payon Forests",field_pay,"Prontera Fields",field_prt,"Rachel Fields",field_ra,
  460. 		     "Sograt Deserts",field_moc,"Splendide Fields",field_spl,"Umbala Fields",field_um,"Veins Fields",field_vein,"Yuno Fields",field_yuno;
  461.      		cutin "",255;
  462. 	close;
  463.  
  464.  
  465. 	g_dungeon:
  466. 	    mes @name$;
  467. 	    if(getcharid(2) == 0 && .@guild_dungeon_only_owner != 0) {
  468. 		mes .@lang_no_guild$;
  469. 	    } else {
  470. 		mes .@lang_choose_gdungeon$;
  471. 		if(.@guild_dungeon_only_owner == 2) {
  472. 			if(getcharid(2) > 0 && (getcastledata("aldeg_cas01", 1) == getcharid(2) || getcastledata("aldeg_cas02", 1) == getcharid(2) || getcastledata("aldeg_cas03", 1) == getcharid(2) || getcastledata("aldeg_cas04", 1) == getcharid(2) || getcastledata("aldeg_cas05", 1) == getcharid(2) 
  473. 			|| getcastledata("gefg_cas01", 1) == getcharid(2) || getcastledata("gefg_cas02", 1) == getcharid(2) || getcastledata("gefg_cas03", 1) == getcharid(2) || getcastledata("gefg_cas04", 1) == getcharid(2) || getcastledata("gefg_cas05", 1) == getcharid(2)
  474. 			|| getcastledata("schg_cas01", 1) == getcharid(2) || getcastledata("schg_cas02", 1) == getcharid(2) || getcastledata("schg_cas03", 1) == getcharid(2) || getcastledata("schg_cas04", 1) == getcharid(2) || getcastledata("schg_cas05", 1) == getcharid(2)
  475. 			|| getcastledata("payg_cas01", 1) == getcharid(2) || getcastledata("payg_cas02", 1) == getcharid(2) || getcastledata("payg_cas03", 1) == getcharid(2) || getcastledata("payg_cas04", 1) == getcharid(2) || getcastledata("payg_cas05", 1) == getcharid(2)
  476. 			|| getcastledata("prtg_cas01", 1) == getcharid(2) || getcastledata("prtg_cas02", 1) == getcharid(2) || getcastledata("prtg_cas03", 1) == getcharid(2) || getcastledata("prtg_cas04", 1) == getcharid(2) || getcastledata("prtg_cas05", 1) == getcharid(2)
  477. 			|| getcastledata("arug_cas01", 1) == getcharid(2) || getcastledata("arug_cas02", 1) == getcharid(2) || getcastledata("arug_cas03", 1) == getcharid(2) || getcastledata("arug_cas04", 1) == getcharid(2) || getcastledata("arug_cas05", 1) == getcharid(2))) {	
  478. 				set .@playerHasACastle,1;
  479. 			}
  480. 		}
  481. 		switch(prompt("Aldebaran","Geffen","Juno","Payon","Prontera","Rachel")) {
  482.  
  483. 		case 1:
  484. 			if (.@guild_dungeon_only_owner == 0 || .@playerHasACastle == 1 || getgmlevel() >= .@ignore_lock_system_on_gmlevel || (getcharid(2) > 0 && (getcastledata("aldeg_cas01", 1) == getcharid(2) || getcastledata("aldeg_cas02", 1) == getcharid(2) || getcastledata("aldeg_cas03", 1) == getcharid(2) || getcastledata("aldeg_cas04", 1) == getcharid(2) || getcastledata("aldeg_cas05", 1) == getcharid(2)))) {
  485. 				goto gdun_ald;
  486. 			} else {
  487. 				next;
  488. 				mes @name$;
  489. 				if(.@guild_dungeon_only_owner == 2) {	
  490. 					mes .@lang_no_castles_special$;
  491. 				} else {
  492. 					mes .@lang_no_castles$+" Aldebaran!";
  493. 				}
  494. 			}
  495. 		break;
  496.  
  497. 		case 2:
  498. 			if (.@guild_dungeon_only_owner == 0 || .@playerHasACastle == 1 || getgmlevel() >= .@ignore_lock_system_on_gmlevel || (getcharid(2) > 0 && (getcastledata("gefg_cas01", 1) == getcharid(2) || getcastledata("gefg_cas02", 1) == getcharid(2) || getcastledata("gefg_cas03", 1) == getcharid(2) || getcastledata("gefg_cas04", 1) == getcharid(2) || getcastledata("gefg_cas05", 1) == getcharid(2)))) {
  499. 				goto gdun_gef;
  500. 			} else {
  501. 				next;
  502. 				mes @name$;
  503. 				if(.@guild_dungeon_only_owner == 2) {	
  504. 					mes .@lang_no_castles_special$;
  505. 				} else {
  506. 					mes .@lang_no_castles$+" Geffen!";
  507. 				}
  508. 			}
  509. 		break;
  510.  
  511. 		case 3:
  512. 			if (.@guild_dungeon_only_owner == 0 || .@playerHasACastle == 1 || getgmlevel() >= .@ignore_lock_system_on_gmlevel || (getcharid(2) > 0 && (getcastledata("schg_cas01", 1) == getcharid(2) || getcastledata("schg_cas02", 1) == getcharid(2) || getcastledata("schg_cas03", 1) == getcharid(2) || getcastledata("schg_cas04", 1) == getcharid(2) || getcastledata("schg_cas05", 1) == getcharid(2)))) {
  513. 				goto gdun_sch;
  514. 			} else {
  515. 				next;
  516. 				mes @name$;	
  517. 				if(.@guild_dungeon_only_owner == 2) {	
  518. 					mes .@lang_no_castles_special$;
  519. 				} else {
  520. 					mes .@lang_no_castles$+" Juno!";
  521. 				}
  522. 			}
  523. 		break;
  524.  
  525. 		case 4:
  526. 			if (.@guild_dungeon_only_owner == 0 || .@playerHasACastle == 1 || getgmlevel() >= .@ignore_lock_system_on_gmlevel || (getcharid(2) > 0 && (getcastledata("payg_cas01", 1) == getcharid(2) || getcastledata("payg_cas02", 1) == getcharid(2) || getcastledata("payg_cas03", 1) == getcharid(2) || getcastledata("payg_cas04", 1) == getcharid(2) || getcastledata("payg_cas05", 1) == getcharid(2)))) {
  527. 				goto gdun_pay;
  528. 			} else {
  529. 				next;
  530. 				mes @name$;
  531. 				if(.@guild_dungeon_only_owner == 2) {	
  532. 					mes .@lang_no_castles_special$;
  533. 				} else {
  534. 					mes .@lang_no_castles$+" Payon!";
  535. 				}
  536. 			}
  537.  
  538. 		break;
  539.  
  540. 		case 5:
  541. 			if (.@guild_dungeon_only_owner == 0 || .@playerHasACastle == 1 || getgmlevel() >= .@ignore_lock_system_on_gmlevel || (getcharid(2) > 0 && (getcastledata("prtg_cas01", 1) == getcharid(2) || getcastledata("prtg_cas02", 1) == getcharid(2) || getcastledata("prtg_cas03", 1) == getcharid(2) || getcastledata("prtg_cas04", 1) == getcharid(2) || getcastledata("prtg_cas05", 1) == getcharid(2)))) {
  542. 				goto gdun_prt;
  543. 			} else {
  544. 				next;
  545. 				mes @name$;
  546. 				if(.@guild_dungeon_only_owner == 2) {	
  547. 					mes .@lang_no_castles_special$;
  548. 				} else {
  549. 					mes .@lang_no_castles$+" Prontera!";
  550. 				}
  551. 			}
  552. 		break;
  553.  
  554. 		case 6:
  555. 			if (.@guild_dungeon_only_owner == 0 || .@playerHasACastle == 1 || getgmlevel() >= .@ignore_lock_system_on_gmlevel || (getcharid(2) > 0 && (getcastledata("arug_cas01", 1) == getcharid(2) || getcastledata("arug_cas02", 1) == getcharid(2) || getcastledata("arug_cas03", 1) == getcharid(2) || getcastledata("arug_cas04", 1) == getcharid(2) || getcastledata("arug_cas05", 1) == getcharid(2)))) {
  556. 				goto gdun_aru;
  557. 			} else {
  558. 				next;
  559. 				mes @name$;	
  560. 				if(.@guild_dungeon_only_owner == 2) {	
  561. 					mes .@lang_no_castles_special$;
  562. 				} else {
  563. 					mes .@lang_no_castles$+" Rachel!";
  564. 				}
  565. 			}
  566. 		break;
  567. 		}
  568. 	   }	
  569. 	   cutin "",255; 
  570. 	close;
  571.  
  572.  
  573.  
  574.  
  575. 	warp_player:
  576. 		warp getd(".locations_"+lastwarp_array+"$["+lastwarp+"]"),getd(".coordsx_"+lastwarp_array+"["+lastwarp+"]"),getd(".coordsy_"+lastwarp_array+"["+lastwarp+"]");
  577. 		cutin "",255;
  578. 	close;
  579.  
  580.  
  581. 	main_handling:
  582. 		if(.@guild_dungeon_only_owner != 0 && getgmlevel() < .@ignore_lock_system_on_gmlevel
  583. 		   && ((.@warpIndex == 0 && .@use_location_array == 1) || (.@warpIndex == 1 && .@use_location_array == 1) 
  584. 		   || (.@warpIndex == 2 && .@use_location_array == 1) || (.@warpIndex == 3 && .@use_location_array == 1) 
  585. 		   || (.@warpIndex == 4 && .@use_location_array == 1) || (.@warpIndex == 5 && .@use_location_array == 1) 
  586. 		   || (.@warpIndex == 97 && .@use_location_array == 2) || (.@warpIndex == 98 && .@use_location_array == 2)
  587. 		   || (.@warpIndex == 99 && .@use_location_array == 2) || (.@warpIndex == 100 && .@use_location_array == 2))
  588. 		) {
  589. 			if(getcharid(2) == 0) {
  590. 				next;
  591.         			mes @name$;
  592. 				mes .@lang_no_guild$;
  593.         			cutin "",255;
  594. 				close;
  595. 			}
  596. 			if(.@guild_dungeon_only_owner == 1) {
  597. 				if((.@warpIndex == 1 && .@use_location_array == 1) || (.@warpIndex == 99 && .@use_location_array == 2)) {
  598. 					if (getcastledata("aldeg_cas01", 1) == getcharid(2) || getcastledata("aldeg_cas02", 1) == getcharid(2) || getcastledata("aldeg_cas03", 1) == getcharid(2) || getcastledata("aldeg_cas04", 1) == getcharid(2) || getcastledata("aldeg_cas05", 1) == getcharid(2)) set .@playerHasACastle,1;	
  599. 					set .@missingCastleIn$,"Aldebran";
  600. 				}
  601. 				if((.@warpIndex == 0 && .@use_location_array == 1) || (.@warpIndex == 97 && .@use_location_array == 2)) {
  602. 					if (getcastledata("payg_cas01", 1) == getcharid(2) || getcastledata("payg_cas02", 1) == getcharid(2) || getcastledata("payg_cas03", 1) == getcharid(2) || getcastledata("payg_cas04", 1) == getcharid(2) || getcastledata("payg_cas05", 1) == getcharid(2)) set .@playerHasACastle,1;
  603. 					set .@missingCastleIn$,"Payon";
  604. 				}
  605. 				if((.@warpIndex == 2 && .@use_location_array == 1) || (.@warpIndex == 100 && .@use_location_array == 2)) { 
  606. 					if (getcastledata("prtg_cas01", 1) == getcharid(2) || getcastledata("prtg_cas02", 1) == getcharid(2) || getcastledata("prtg_cas03", 1) == getcharid(2) || getcastledata("prtg_cas04", 1) == getcharid(2) || getcastledata("prtg_cas05", 1) == getcharid(2)) set .@playerHasACastle,1;
  607. 					set .@missingCastleIn$,"Prontera";
  608. 				}
  609. 				if((.@warpIndex == 3 && .@use_location_array == 1) || (.@warpIndex == 98 && .@use_location_array == 2)) {
  610. 					if (getcastledata("gefg_cas01", 1) == getcharid(2) || getcastledata("gefg_cas02", 1) == getcharid(2) || getcastledata("gefg_cas03", 1) == getcharid(2) || getcastledata("gefg_cas04", 1) == getcharid(2) || getcastledata("gefg_cas05", 1) == getcharid(2)) set .@playerHasACastle,1;
  611. 					set .@missingCastleIn$,"Geffen";
  612. 				}
  613. 				if((.@warpIndex == 4 && .@use_location_array == 1)) {
  614. 					if (getcastledata("schg_cas01", 1) == getcharid(2) || getcastledata("schg_cas02", 1) == getcharid(2) || getcastledata("schg_cas03", 1) == getcharid(2) || getcastledata("schg_cas04", 1) == getcharid(2) || getcastledata("schg_cas05", 1) == getcharid(2)) set .@playerHasACastle,1;
  615. 					set .@missingCastleIn$,"Juno";
  616. 				}
  617. 				if((.@warpIndex == 5 && .@use_location_array == 1)) {
  618. 					if (getcastledata("arug_cas01", 1) == getcharid(2) || getcastledata("arug_cas02", 1) == getcharid(2) || getcastledata("arug_cas03", 1) == getcharid(2) || getcastledata("arug_cas04", 1) == getcharid(2) || getcastledata("arug_cas05", 1) == getcharid(2)) set .@playerHasACastle,1;
  619. 					set .@missingCastleIn$,"Rachel";
  620. 				}
  621. 				if(.@playerHasACastle != 1) {
  622. 					next;
  623.         				mes @name$;
  624. 					mes .@lang_no_castles$+" "+.@missingCastleIn$;
  625.         				cutin "",255;
  626. 					close;
  627. 				}
  628. 			}	
  629. 			if(.@guild_dungeon_only_owner == 2) {
  630. 				if(getcastledata("aldeg_cas01", 1) == getcharid(2) || getcastledata("aldeg_cas02", 1) == getcharid(2) || getcastledata("aldeg_cas03", 1) == getcharid(2) || getcastledata("aldeg_cas04", 1) == getcharid(2) || getcastledata("aldeg_cas05", 1) == getcharid(2) 
  631. 				|| getcastledata("gefg_cas01", 1) == getcharid(2) || getcastledata("gefg_cas02", 1) == getcharid(2) || getcastledata("gefg_cas03", 1) == getcharid(2) || getcastledata("gefg_cas04", 1) == getcharid(2) || getcastledata("gefg_cas05", 1) == getcharid(2)
  632. 				|| getcastledata("schg_cas01", 1) == getcharid(2) || getcastledata("schg_cas02", 1) == getcharid(2) || getcastledata("schg_cas03", 1) == getcharid(2) || getcastledata("schg_cas04", 1) == getcharid(2) || getcastledata("schg_cas05", 1) == getcharid(2)
  633. 				|| getcastledata("payg_cas01", 1) == getcharid(2) || getcastledata("payg_cas02", 1) == getcharid(2) || getcastledata("payg_cas03", 1) == getcharid(2) || getcastledata("payg_cas04", 1) == getcharid(2) || getcastledata("payg_cas05", 1) == getcharid(2)
  634. 				|| getcastledata("prtg_cas01", 1) == getcharid(2) || getcastledata("prtg_cas02", 1) == getcharid(2) || getcastledata("prtg_cas03", 1) == getcharid(2) || getcastledata("prtg_cas04", 1) == getcharid(2) || getcastledata("prtg_cas05", 1) == getcharid(2)
  635. 				|| getcastledata("arug_cas01", 1) == getcharid(2) || getcastledata("arug_cas02", 1) == getcharid(2) || getcastledata("arug_cas03", 1) == getcharid(2) || getcastledata("arug_cas04", 1) == getcharid(2) || getcastledata("arug_cas05", 1) == getcharid(2)) {	
  636. 					set .@playerHasACastle,1;
  637. 				}
  638. 				if(.@playerHasACastle != 1) {
  639. 					next;
  640.         				mes @name$;
  641. 					mes .@lang_no_castles_special$;
  642.         				cutin "",255;
  643. 					close;
  644. 				}
  645. 			}
  646. 		}
  647. 		if(.@warperCost > 0 && zeny < .@warperCost) {
  648. 			next;
  649.         		mes @name$;
  650. 			mes .@lang_not_enough_zeny$;
  651. 		} else {
  652. 			if(.@warperCost > 0) set zeny, zeny - .@warperCost;
  653. 			set lastwarp,.@warpIndex;
  654. 			set lastwarp_array,.@use_location_array;
  655. 			goto warp_player;
  656. 		}
  657.         cutin "",255;
  658. 	close;
  659.  
  660.  
  661.  
  662.     dungeon_handling:
  663.     	set .@i,0;
  664.     	set .@state, getd(.@stateName$);
  665.     	while(.@i < getarraysize(.@levelNames$)) {
  666.             if(.@recommend_level == 1) setarray .@info$[.@i],"["+@level_color$+.@level$[.@i]+"^000000]";
  667.             if(.@use_lock_system != 0 && getgmlevel() < .@ignore_lock_system_on_gmlevel) {
  668.                 if((.@i > .@state || (.@lockDungeonAtLevel == 1 && .@state == 0)) && .@lockDungeonAtLevel != 0) {
  669. 			if(.@i >= .@lockDungeonAtLevel-1  || .@i > .@state) {
  670. 				if(.@lockDungeonAtLevel > 1) {
  671. 					setarray .@info$[.@i],.@info$[.@i]+@locked$;
  672. 				} else {
  673. 					if(.@state == 0 || (.@i > .@state && .@state != .@i-1)) {
  674. 						setarray .@info$[.@i],.@info$[.@i]+@locked$;
  675. 					}
  676. 				}
  677. 			}
  678. 		}
  679.             }     
  680. 	    setarray .@levelNames$[.@i],.@levelNames$[.@i]+" "+.@info$[.@i];
  681.             set .@selectMenu$,.@selectMenu$+.@levelNames$[.@i]+":";	
  682.             set .@i, .@i + 1;       
  683.  
  684.     	}
  685.    	set .@showUnlockForm,0;
  686.     	set .@playerChoice, select(.@selectMenu$)-1;
  687.     	set .@displayLevel,.@playerChoice+1;
  688.         if(((.@playerChoice > .@state || (.@lockDungeonAtLevel == 1 && .@state == 0)) && .@playerChoice >= .@lockDungeonAtLevel-1 && .@lockDungeonAtLevel != 0) && getgmlevel() < .@ignore_lock_system_on_gmlevel) {	
  689. 		if(.@lockDungeonAtLevel == 1) {
  690. 			if(.@state == 0 || (.@playerChoice > .@state && .@state != .@playerChoice-1)) {
  691. 				set .@showUnlockForm,1;
  692. 			}
  693. 		} else {
  694. 			set .@showUnlockForm,1;
  695. 		}
  696. 		if(.@showUnlockForm == 1) {
  697. 			next;
  698. 			mes @name$;
  699. 			if((.@lockDungeonAtLevel != 1 && .@state+1 < .@playerChoice) || (.@lockDungeonAtLevel == 1 && ((.@state == 0 && .@playerChoice > .@state) || (.@state < 0 && .@state+1 > .@playerChoice) || (.@state > 0 && .@state+1 < .@playerChoice) ))) {
  700. 				mes .@lang_unlockFail2$;
  701. 			} else {
  702. 				mes .@lang_unlockMsg$;
  703. 				set .@i,0;
  704. 				while(.@i < getarraysize(getd(".@require_items_"+.@displayLevel))) {
  705. 					if(getd(".@require_items_"+.@displayLevel+"["+.@i+"]") == 0) continue;
  706. 					mes getd(".@require_amount_"+.@displayLevel+"["+.@i+"]")*.@lockItemMultiplier+"x"+@item_color$+" "+getitemname(getd(".@require_items_"+.@displayLevel+"["+.@i+"]"))+"^000000";
  707. 					set .@i, .@i + 1;  
  708. 				}
  709. 				if(getd(".@zeny_"+.@displayLevel) > 0) mes getd(".@zeny_"+.@displayLevel)*.@lockZenyMultiplier+" Zeny";
  710. 				switch(prompt(.@lang_unlock_yes$,.@lang_unlock_no$)) {
  711. 					case 1:
  712. 						next;
  713. 						mes @name$;
  714. 						set .@i,0;
  715. 						set .@error,0;
  716. 						while(.@i < getarraysize(getd(".@require_items_"+.@displayLevel))) {
  717. 							if(countitem(getd(".@require_items_"+.@displayLevel+"["+.@i+"]"))*.@lockItemMultiplier < getd(".@require_amount_"+.@displayLevel+"["+.@i+"]")){
  718. 								set .@error,1;
  719. 							}  
  720. 							set .@i, .@i + 1; 
  721. 						}
  722. 						if(zeny < getd(".@zeny_"+.@displayLevel)*.@lockZenyMultiplier) set .@error,1;
  723. 						if(.@error == 1) {
  724. 							mes .@lang_unlockFail$;
  725. 						} else {
  726. 							set zeny, zeny - getd(".@zeny_"+.@displayLevel)*.@lockZenyMultiplier; 
  727. 							set .@i,0;
  728. 							while(.@i < getarraysize(getd(".@require_items_"+.@displayLevel))) {
  729. 								delitem getd(".@require_items_"+.@displayLevel+"["+.@i+"]"),getd(".@require_amount_"+.@displayLevel+"["+.@i+"]")*.@lockItemMultiplier;
  730. 								set .@i, .@i + 1; 
  731. 							}
  732. 							if(.@playerChoice == 0) set .@playerChoice,-1;
  733. 							setd .@stateName$,.@playerChoice;
  734. 							mes .@lang_unlockGzMsg$;
  735. 						} 
  736. 					break;
  737. 				}
  738. 			}
  739.     			cutin "",255;
  740. 			close;
  741. 		}
  742.  
  743. 	} 
  744. 		if(.@guild_dungeon_only_owner != 0 && getgmlevel() < .@ignore_lock_system_on_gmlevel
  745. 		   && ((.@warpIndex[.@playerChoice] == 0 && .@use_location_array[.@playerChoice] == 1) || (.@warpIndex[.@playerChoice] == 1 && .@use_location_array[.@playerChoice] == 1) 
  746. 		   || (.@warpIndex[.@playerChoice] == 2 && .@use_location_array[.@playerChoice] == 1) || (.@warpIndex[.@playerChoice] == 3 && .@use_location_array[.@playerChoice] == 1) 
  747. 		   || (.@warpIndex[.@playerChoice] == 4 && .@use_location_array[.@playerChoice] == 1) || (.@warpIndex[.@playerChoice] == 5 && .@use_location_array[.@playerChoice] == 1) 
  748. 		   || (.@warpIndex[.@playerChoice] == 97 && .@use_location_array[.@playerChoice] == 2) || (.@warpIndex[.@playerChoice] == 98 && .@use_location_array[.@playerChoice] == 2)
  749. 		   || (.@warpIndex[.@playerChoice] == 99 && .@use_location_array[.@playerChoice] == 2) || (.@warpIndex[.@playerChoice] == 100 && .@use_location_array[.@playerChoice] == 2))
  750. 		) {
  751. 			if(getcharid(2) == 0) {
  752. 				next;
  753.         			mes @name$;
  754. 				mes .@lang_no_guild$;
  755.         			cutin "",255;
  756. 				close;
  757. 			}
  758. 			if(.@guild_dungeon_only_owner == 1) {
  759. 				if((.@warpIndex[.@playerChoice] == 1 && .@use_location_array[.@playerChoice] == 1) || (.@warpIndex[.@playerChoice] == 99 && .@use_location_array[.@playerChoice] == 2)) {
  760. 					if (getcastledata("aldeg_cas01", 1) == getcharid(2) || getcastledata("aldeg_cas02", 1) == getcharid(2) || getcastledata("aldeg_cas03", 1) == getcharid(2) || getcastledata("aldeg_cas04", 1) == getcharid(2) || getcastledata("aldeg_cas05", 1) == getcharid(2)) set .@playerHasACastle,1;	
  761. 					set .@missingCastleIn$,"Aldebran";
  762. 				}
  763. 				if((.@warpIndex[.@playerChoice] == 0 && .@use_location_array[.@playerChoice] == 1) || (.@warpIndex[.@playerChoice] == 97 && .@use_location_array[.@playerChoice] == 2)) {
  764. 					if (getcastledata("payg_cas01", 1) == getcharid(2) || getcastledata("payg_cas02", 1) == getcharid(2) || getcastledata("payg_cas03", 1) == getcharid(2) || getcastledata("payg_cas04", 1) == getcharid(2) || getcastledata("payg_cas05", 1) == getcharid(2)) set .@playerHasACastle,1;
  765. 					set .@missingCastleIn$,"Payon";
  766. 				}
  767. 				if((.@warpIndex[.@playerChoice] == 2 && .@use_location_array[.@playerChoice] == 1) || (.@warpIndex[.@playerChoice] == 100 && .@use_location_array[.@playerChoice] == 2)) {
  768. 					if (getcastledata("prtg_cas01", 1) == getcharid(2) || getcastledata("prtg_cas02", 1) == getcharid(2) || getcastledata("prtg_cas03", 1) == getcharid(2) || getcastledata("prtg_cas04", 1) == getcharid(2) || getcastledata("prtg_cas05", 1) == getcharid(2)) set .@playerHasACastle,1;
  769. 					set .@missingCastleIn$,"Prontera";
  770. 				}
  771. 				if((.@warpIndex[.@playerChoice] == 3 && .@use_location_array[.@playerChoice] == 1) || (.@warpIndex[.@playerChoice] == 98 && .@use_location_array[.@playerChoice] == 2)) {
  772. 					if (getcastledata("gefg_cas01", 1) == getcharid(2) || getcastledata("gefg_cas02", 1) == getcharid(2) || getcastledata("gefg_cas03", 1) == getcharid(2) || getcastledata("gefg_cas04", 1) == getcharid(2) || getcastledata("gefg_cas05", 1) == getcharid(2)) set .@playerHasACastle,1;
  773. 					set .@missingCastleIn$,"Geffen";
  774. 				}
  775. 				if((.@warpIndex[.@playerChoice] == 4 && .@use_location_array[.@playerChoice] == 1)) {
  776. 					if (getcastledata("schg_cas01", 1) == getcharid(2) || getcastledata("schg_cas02", 1) == getcharid(2) || getcastledata("schg_cas03", 1) == getcharid(2) || getcastledata("schg_cas04", 1) == getcharid(2) || getcastledata("schg_cas05", 1) == getcharid(2)) set .@playerHasACastle,1;
  777. 					set .@missingCastleIn$,"Juno";
  778. 				}
  779. 				if((.@warpIndex[.@playerChoice] == 5 && .@use_location_array[.@playerChoice] == 1)) {
  780. 					if (getcastledata("arug_cas01", 1) == getcharid(2) || getcastledata("arug_cas02", 1) == getcharid(2) || getcastledata("arug_cas03", 1) == getcharid(2) || getcastledata("arug_cas04", 1) == getcharid(2) || getcastledata("arug_cas05", 1) == getcharid(2)) set .@playerHasACastle,1;
  781. 					set .@missingCastleIn$,"Rachel";
  782. 				}
  783. 				if(.@playerHasACastle != 1) {
  784. 					next;
  785.         				mes @name$;
  786. 					mes .@lang_no_castles$+" "+.@missingCastleIn$;
  787.         				cutin "",255;
  788. 					close;
  789. 				}	
  790. 			}
  791. 			if(.@guild_dungeon_only_owner == 2) {
  792. 				if(getcastledata("aldeg_cas01", 1) == getcharid(2) || getcastledata("aldeg_cas02", 1) == getcharid(2) || getcastledata("aldeg_cas03", 1) == getcharid(2) || getcastledata("aldeg_cas04", 1) == getcharid(2) || getcastledata("aldeg_cas05", 1) == getcharid(2) 
  793. 				|| getcastledata("gefg_cas01", 1) == getcharid(2) || getcastledata("gefg_cas02", 1) == getcharid(2) || getcastledata("gefg_cas03", 1) == getcharid(2) || getcastledata("gefg_cas04", 1) == getcharid(2) || getcastledata("gefg_cas05", 1) == getcharid(2)
  794. 				|| getcastledata("schg_cas01", 1) == getcharid(2) || getcastledata("schg_cas02", 1) == getcharid(2) || getcastledata("schg_cas03", 1) == getcharid(2) || getcastledata("schg_cas04", 1) == getcharid(2) || getcastledata("schg_cas05", 1) == getcharid(2)
  795. 				|| getcastledata("payg_cas01", 1) == getcharid(2) || getcastledata("payg_cas02", 1) == getcharid(2) || getcastledata("payg_cas03", 1) == getcharid(2) || getcastledata("payg_cas04", 1) == getcharid(2) || getcastledata("payg_cas05", 1) == getcharid(2)
  796. 				|| getcastledata("prtg_cas01", 1) == getcharid(2) || getcastledata("prtg_cas02", 1) == getcharid(2) || getcastledata("prtg_cas03", 1) == getcharid(2) || getcastledata("prtg_cas04", 1) == getcharid(2) || getcastledata("prtg_cas05", 1) == getcharid(2)
  797. 				|| getcastledata("arug_cas01", 1) == getcharid(2) || getcastledata("arug_cas02", 1) == getcharid(2) || getcastledata("arug_cas03", 1) == getcharid(2) || getcastledata("arug_cas04", 1) == getcharid(2) || getcastledata("arug_cas05", 1) == getcharid(2)) {	
  798. 					set .@playerHasACastle,1;
  799. 				}
  800. 				if(.@playerHasACastle != 1) {
  801. 					next;
  802.         				mes @name$;
  803. 					mes .@lang_no_castles_special$;
  804.         				cutin "",255;
  805. 					close;
  806. 				}
  807. 			}
  808. 		}
  809. 	if(.@warperCost > 0 && zeny < .@warperCost) {
  810. 		next;
  811.         	mes @name$;
  812. 		mes .@lang_not_enough_zeny$;
  813. 	} else {
  814. 		if(.@warperCost > 0) set zeny, zeny - .@warperCost;
  815. 		set lastwarp,.@warpIndex[.@playerChoice];
  816. 		set lastwarp_array,.@use_location_array[.@playerChoice];
  817. 		goto warp_player;
  818. 	} 
  819.     	cutin "",255;
  820.     close; 	
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832. 	woe_alde:
  833. 		set .@warpIndex,6;
  834. 		set .@use_location_array,1;
  835. 		goto main_handling;
  836. 	close;
  837.  
  838. 	woe_geffen:
  839. 		set .@warpIndex,7;
  840. 		set .@use_location_array,1;
  841. 		goto main_handling;
  842. 	close;
  843.  
  844. 	woe_payon:
  845. 		set .@warpIndex,8;
  846. 		set .@use_location_array,1;
  847. 		goto main_handling;
  848. 	close;
  849.  
  850. 	woe_prontera:
  851. 		set .@warpIndex,9;
  852. 		set .@use_location_array,1;
  853. 		goto main_handling;
  854. 	close;
  855.  
  856. 	woe_rachel:
  857. 		set .@warpIndex,10;
  858. 		set .@use_location_array,1;
  859. 		goto main_handling;
  860. 	close;
  861.  
  862. 	woe_juno:
  863. 		set .@warpIndex,11;
  864. 		set .@use_location_array,1;
  865. 		goto main_handling;
  866. 	close;
  867.  
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874. 	city_alberta:
  875. 		set .@warpIndex,15;
  876. 		set .@use_location_array,1;
  877. 		goto main_handling;
  878. 	close;
  879.  
  880.         city_aldebaran:
  881. 		set .@warpIndex,16;
  882. 		set .@use_location_array,1;
  883. 		goto main_handling;
  884. 	close;
  885.  
  886.         city_amatsu:
  887.  		set .@warpIndex,17;
  888. 		set .@use_location_array,1;
  889. 		goto main_handling;
  890. 	close;
  891.  
  892.         city_ayothaya:
  893. 		set .@warpIndex,18;
  894. 		set .@use_location_array,1;
  895. 		goto main_handling;
  896. 	close;
  897.  
  898.         city_brasilis:
  899. 		set .@warpIndex,78;
  900. 		set .@use_location_array,2;
  901. 		goto main_handling;
  902. 	close;	
  903.  
  904.  
  905.         city_comodo:
  906. 		set .@warpIndex,19;
  907. 		set .@use_location_array,1;
  908. 		goto main_handling;
  909. 	close;
  910.  
  911.         city_dewata:
  912. 		set .@warpIndex,79;
  913. 		set .@use_location_array,2;
  914. 		goto main_handling;
  915. 	close;	
  916.  
  917.         city_dicastes01:
  918. 		set .@warpIndex,89;
  919. 		set .@use_location_array,2;
  920. 		goto main_handling;
  921. 	close;	
  922.  
  923.         city_dicastes02:
  924. 		set .@warpIndex,90;
  925. 		set .@use_location_array,2;
  926. 		goto main_handling;
  927. 	close;	
  928.  
  929.         city_einbroch:
  930. 		set .@warpIndex,20;
  931. 		set .@use_location_array,1;
  932. 		goto main_handling;
  933. 	close;
  934.  
  935.         city_einbrech:
  936. 		set .@warpIndex,21;
  937. 		set .@use_location_array,1;
  938. 		goto main_handling;
  939. 	close;
  940.  
  941.         city_geffen:
  942. 		set .@warpIndex,22;
  943. 		set .@use_location_array,1;
  944. 		goto main_handling;
  945. 	close;
  946.  
  947.         city_gonryun:
  948. 		set .@warpIndex,23;
  949. 		set .@use_location_array,1;
  950. 		goto main_handling;
  951. 	close;
  952.  
  953.         city_hugel:
  954. 		set .@warpIndex,24;
  955. 		set .@use_location_array,1;
  956. 		goto main_handling;
  957. 	close;
  958.  
  959.         city_izlude:
  960. 		set .@warpIndex,25;
  961. 		set .@use_location_array,1;
  962. 		goto main_handling;
  963. 	close;
  964.  
  965.         city_jawaii:
  966. 		set .@warpIndex,80;
  967. 		set .@use_location_array,2;
  968. 		goto main_handling;
  969. 	close;	
  970.  
  971. 	city_juno:
  972. 		set .@warpIndex,42;
  973. 		set .@use_location_array,1;
  974. 		goto main_handling;
  975. 	close;
  976.  
  977.         city_lighthalzen:
  978. 		set .@warpIndex,26;
  979. 		set .@use_location_array,1;
  980. 		goto main_handling;
  981. 	close;
  982.  
  983.         city_louyang:
  984. 		set .@warpIndex,27;
  985. 		set .@use_location_array,1;
  986. 		goto main_handling;
  987. 	close;
  988.  
  989.         city_lutie:
  990. 		set .@warpIndex,28;
  991. 		set .@use_location_array,1;
  992. 		goto main_handling;
  993. 	close;
  994.  
  995.  
  996. 	city_malaya:
  997. 		set .@warpIndex,93;
  998. 		set .@use_location_array,2;
  999.  		goto main_handling;
  1000. 	close;
  1001.  
  1002. 	city_malangdo:
  1003. 		set .@warpIndex,75;
  1004. 		set .@use_location_array,2;
  1005.  		goto main_handling;
  1006. 	close;
  1007.  
  1008.         city_manuk:
  1009. 		set .@warpIndex,29;
  1010. 		set .@use_location_array,1;
  1011.  		goto main_handling;
  1012. 	close;
  1013.  
  1014.         city_midcamp:
  1015. 		set .@warpIndex,30;
  1016. 		set .@use_location_array,1;
  1017. 		goto main_handling;
  1018. 	close;
  1019.  
  1020.         city_mora:
  1021. 		set .@warpIndex,31;
  1022. 		set .@use_location_array,1;
  1023. 		goto main_handling;
  1024. 	close;
  1025.  
  1026.         city_morroc:
  1027. 		set .@warpIndex,32;
  1028. 		set .@use_location_array,1;
  1029. 		goto main_handling;
  1030. 	close;
  1031.  
  1032.         city_moscovia:
  1033. 		set .@warpIndex,33;
  1034. 		set .@use_location_array,1;
  1035. 		goto main_handling;
  1036. 	close;
  1037.  
  1038.         city_nameless:
  1039. 		set .@warpIndex,34;
  1040. 		set .@use_location_array,1;
  1041. 		goto main_handling;
  1042. 	close;
  1043.  
  1044.         city_niflheim:
  1045. 		set .@warpIndex,35;
  1046. 		set .@use_location_array,1;
  1047. 		goto main_handling;
  1048. 	close;
  1049.  
  1050.     	city_payon:
  1051. 		set .@warpIndex,36;
  1052. 		set .@use_location_array,1;
  1053. 		goto main_handling;
  1054. 	close;
  1055.  
  1056.         city_prontera:
  1057. 		set .@warpIndex,37;
  1058. 		set .@use_location_array,1;
  1059. 		goto main_handling;
  1060. 	close;
  1061.  
  1062. 	city_rachel:
  1063. 		set .@warpIndex,38;
  1064. 		set .@use_location_array,1;
  1065. 		goto main_handling;
  1066. 	close;
  1067.  
  1068.        	city_splendide:
  1069. 		set .@warpIndex,39;
  1070. 		set .@use_location_array,1;
  1071. 		goto main_handling;
  1072. 	close;
  1073.  
  1074.     	city_umbala:
  1075. 		set .@warpIndex,40;
  1076. 		set .@use_location_array,1;
  1077. 		goto main_handling;
  1078. 	close;
  1079.  
  1080.         city_veins:
  1081. 		set .@warpIndex,41;
  1082. 		set .@use_location_array,1;
  1083. 		goto main_handling;
  1084. 	close;
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092. 	gdun_ald:
  1093. 		setarray .@warpIndex[0],1,97;
  1094. 		setarray .@use_location_array[0],1,2;
  1095. 		setarray .@levelNames$[0],"Aldebran Stage #1","Aldebran Stage #2";
  1096. 		set .@lockDungeonAtLevel,2;
  1097. 		set .@stateName$,"state_gdun_ald";
  1098. 		setarray .@level$[0],"60-75","80-99";
  1099. 		set .@zeny_2,10000000;
  1100. 		goto dungeon_handling;
  1101. 	close;
  1102.  
  1103. 	gdun_gef:
  1104. 		setarray .@warpIndex[0],3,98;
  1105. 		setarray .@use_location_array[0],1,2;
  1106. 		setarray .@levelNames$[0],"Geffen Stage #1","Geffen Stage #2";
  1107. 		set .@lockDungeonAtLevel,2;
  1108. 		set .@stateName$,"state_gdun_gef";
  1109. 		setarray .@level$[0],"65-75","80-99";
  1110. 		set .@zeny_2,10000000;
  1111. 		goto dungeon_handling;
  1112. 	close;
  1113.  
  1114. 	gdun_prt:
  1115. 		setarray .@warpIndex[0],2,100;
  1116. 		setarray .@use_location_array[0],1,2;
  1117. 		setarray .@levelNames$[0],"Prontera Stage #1","Prontera Stage #2";
  1118. 		set .@lockDungeonAtLevel,2;
  1119. 		set .@stateName$,"state_gdun_prt";
  1120. 		setarray .@level$[0],"60-75","80-99";
  1121. 		set .@zeny_2,10000000;
  1122. 		goto dungeon_handling;
  1123. 	close;
  1124.  
  1125. 	gdun_pay:
  1126. 		setarray .@warpIndex[0],0,99;
  1127. 		setarray .@use_location_array[0],1,2;
  1128. 		setarray .@levelNames$[0],"Payon Stage #1","Payon Stage #2";
  1129. 		set .@lockDungeonAtLevel,2;
  1130. 		set .@stateName$,"state_gdun_pay";
  1131. 		setarray .@level$[0],"60-75","80-99";
  1132. 		set .@zeny_2,10000000;
  1133. 		goto dungeon_handling;
  1134. 	close;
  1135.  
  1136. 	gdun_sch:
  1137. 		set .@warpIndex,4;
  1138. 		set .@use_location_array,1;
  1139. 		goto main_handling;
  1140. 	close;
  1141.  
  1142. 	gdun_aru:
  1143. 		set .@warpIndex,5;
  1144. 		set .@use_location_array,1;
  1145. 		goto main_handling;
  1146. 	close;
  1147.  
  1148.  
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154.  
  1155. 	dun_abyss:
  1156. 		setarray .@warpIndex[0],12,13,14;
  1157. 		setarray .@use_location_array[0],1,1,1;
  1158. 		setarray .@levelNames$[0],"Abyss Dungeon 1","Abyss Dungeon 2","Abyss Dungeon 3";
  1159. 		set .@lockDungeonAtLevel,2;
  1160. 		set .@stateName$,"state_dun_abyss";
  1161. 		setarray .@level$[0],"70-80","75-90","85-95";
  1162. 		setarray .@require_items_2[0],7477,7445,7446;
  1163. 		setarray .@require_amount_2[0],20,20,10;
  1164. 		set .@zeny_2,25000;
  1165. 		setarray .@require_items_3[0],7448,7443;
  1166. 		setarray .@require_amount_3[0],30,1;
  1167. 		set .@zeny_3,50000;
  1168. 		goto dungeon_handling;
  1169. 	close;
  1170.  
  1171.  
  1172.  
  1173. 	dun_amatsu:
  1174. 		setarray .@warpIndex[0],43,44,45;
  1175. 		setarray .@use_location_array[0],1,1,1;
  1176. 		setarray .@levelNames$[0],"Amatsu Dungeon 1","Amatsu Dungeon 2","Amatsu Dungeon 3";
  1177. 		set .@lockDungeonAtLevel,2;
  1178. 		set .@stateName$,"state_dun_amatsu";
  1179. 		setarray .@level$[0],"30-50","40-50","50-70";
  1180. 		setarray .@require_items_2[0],7155,7153,549;
  1181. 		setarray .@require_amount_2[0],15,15,15;
  1182. 		set .@zeny_2,10000;
  1183. 		setarray .@require_items_3[0],7156,7159,7112;
  1184. 		setarray .@require_amount_3[0],15,30,10;
  1185. 		set .@zeny_3,25000;
  1186. 		goto dungeon_handling;
  1187. 	close;
  1188.  
  1189.  
  1190. 	dun_anthell:
  1191. 		setarray .@warpIndex[0],46,47;
  1192. 		setarray .@use_location_array[0],1,1;
  1193. 		setarray .@levelNames$[0],"Anthell Dungeon 1","Anthell Dungeon 2";
  1194. 		set .@lockDungeonAtLevel,2;
  1195. 		set .@stateName$,"state_dun_abyss";
  1196. 		set .@state,state_dun_anthell;
  1197. 		setarray .@level$[0],"15-20","20-25";
  1198. 		setarray .@require_items_2[0],1040,955,993;
  1199. 		setarray .@require_amount_2[0],10,25,3;
  1200. 		set .@zeny_2,5000;
  1201. 		goto dungeon_handling;
  1202. 	close;
  1203.  
  1204.  
  1205.  
  1206. 	dun_ayothaya:
  1207. 		setarray .@warpIndex[0],48,49;
  1208. 		setarray .@use_location_array[0],1,1;
  1209. 		setarray .@levelNames$[0],"Ayothaya Dungeon 1","Ayothaya Dungeon 2";
  1210. 		set .@lockDungeonAtLevel,2;
  1211. 		set .@stateName$,"state_dun_ayothaya";
  1212. 		setarray .@level$[0],"40-50","45-55";
  1213. 		setarray .@require_items_2[0],7301,7298;
  1214. 		setarray .@require_amount_2[0],50,15;
  1215. 		set .@zeny_2,25000;
  1216. 		goto dungeon_handling;
  1217. 	close;
  1218.  
  1219.  
  1220. 	dun_beach:
  1221. 		setarray .@warpIndex[0],51,52,50;
  1222. 		setarray .@use_location_array[0],1,1,1;
  1223. 		setarray .@levelNames$[0],"Beach Dungeon North","Beach Dungeon East","Beach Dungeon West";
  1224. 		set .@lockDungeonAtLevel,0;
  1225. 		set .@stateName$,"state_dun_beach";
  1226. 		setarray .@level$[0],"55-65","15-25","70-80";
  1227. 		goto dungeon_handling;
  1228. 	close;
  1229.  
  1230.  
  1231.  
  1232. 	dun_clock:
  1233. 		setarray .@warpIndex[0],57,58,59,60,53,54,55,56;
  1234. 		setarray .@use_location_array[0],1,1,1,1,1,1,1,1;
  1235. 		setarray .@levelNames$[0],"Clock Tower F1","Clock Tower F2","Clock Tower F3","Clock Tower F4","Clock Tower B1","Clock Tower B2","Clock Tower B3","Clock Tower B4";
  1236. 		set .@lockDungeonAtLevel,2;
  1237. 		set .@stateName$,"state_dun_clock";
  1238. 		setarray .@level$[0],"65-75","70-80","70-80","80-90","70-80","75-85","75-85","70-80";
  1239. 		setarray .@require_items_2[0],7027,1057,7015;
  1240. 		setarray .@require_amount_2[0],20,20,1;
  1241. 		set .@zeny_2,15000;
  1242. 		setarray .@require_items_3[0],1095,7026;
  1243. 		setarray .@require_amount_3[0],50,1;
  1244. 		set .@zeny_3,15000;
  1245. 		setarray .@require_items_4[0],7063,984;
  1246. 		setarray .@require_amount_4[0],20,15;
  1247. 		set .@zeny_4,15000;
  1248. 		setarray .@require_items_5[0],7006,1096;
  1249. 		setarray .@require_amount_5[0],50,30;
  1250. 		set .@zeny_5,25000;
  1251. 		setarray .@require_items_6[0],931,7009;
  1252. 		setarray .@require_amount_6[0],50,25;
  1253. 		set .@zeny_6,25000;
  1254. 		setarray .@require_items_7[0],7013,7007;
  1255. 		setarray .@require_amount_7[0],50,15;
  1256. 		set .@zeny_7,25000;
  1257. 		setarray .@require_items_8[0],1061,695;
  1258. 		setarray .@require_amount_8[0],30,1;
  1259. 		set .@zeny_8,50000;
  1260. 		goto dungeon_handling;
  1261. 	close;
  1262.  
  1263.  
  1264.  
  1265. 	dun_coal:
  1266. 		setarray .@warpIndex[0],61,62,63;
  1267. 		setarray .@use_location_array[0],1,1,1;
  1268. 		setarray .@levelNames$[0],"Coal Mines 1","Coal Mines 2","Coal Mines 3";
  1269. 		set .@lockDungeonAtLevel,2;
  1270. 		set .@stateName$,"state_dun_coal";
  1271. 		setarray .@level$[0],"15-25","50-60","50-60";
  1272. 		setarray .@require_items_2[0],1003,1017;
  1273. 		setarray .@require_amount_2[0],25,50;
  1274. 		set .@zeny_2,5000;
  1275. 		setarray .@require_items_3[0],1003,1041;
  1276. 		setarray .@require_amount_3[0],25,50;
  1277. 		set .@zeny_3,15000;
  1278. 		goto dungeon_handling;
  1279. 	close;
  1280.  
  1281.  
  1282.  
  1283. 	dun_culvert:
  1284. 		setarray .@warpIndex[0],64,65,66,67;
  1285. 		setarray .@use_location_array[0],1,1,1,1;
  1286. 		setarray .@levelNames$[0],"Culvert 1","Culvert 2","Culvert 3","Culvert 4";
  1287. 		set .@lockDungeonAtLevel,2;
  1288. 		set .@stateName$,"state_dun_culvert";
  1289. 		setarray .@level$[0],"15-25","15-25","15-25","20-45";
  1290. 		setarray .@require_items_2[0],1016,921,955;
  1291. 		setarray .@require_amount_2[0],15,15,25;
  1292. 		set .@zeny_2,5000;
  1293. 		setarray .@require_items_3[0],928,7033;
  1294. 		setarray .@require_amount_3[0],50,10;
  1295. 		set .@zeny_3,5000;
  1296. 		setarray .@require_items_4[0],928,726;
  1297. 		setarray .@require_amount_4[0],100,5;
  1298. 		set .@zeny_4,15000;
  1299. 		goto dungeon_handling;
  1300. 	close;
  1301.  
  1302.  
  1303. 	dun_abbey:
  1304. 		setarray .@warpIndex[0],92,68,69,70;
  1305. 		setarray .@use_location_array[0],2,1,1,1;
  1306. 		setarray .@levelNames$[0],"Nameless Island","Cursed Abbey 1","Cursed Abbey 2","Cursed Abbey 3";
  1307. 		set .@lockDungeonAtLevel,2;
  1308. 		set .@stateName$,"state_dun_abbey";
  1309. 		setarray .@level$[0],"70-85","70-85","75-85","85-95";
  1310. 		setarray .@require_items_2[0],7752,7753;
  1311. 		setarray .@require_amount_2[0],50,50;
  1312. 		set .@zeny_2,15000;
  1313. 		setarray .@level$[0],"70-85","75-85","85-95";
  1314. 		setarray .@require_items_3[0],7752,7753;
  1315. 		setarray .@require_amount_3[0],50,50;
  1316. 		set .@zeny_3,25000;
  1317. 		setarray .@require_items_4[0],7751,7117,958;
  1318. 		setarray .@require_amount_4[0],25,15,10;
  1319. 		set .@zeny_4,50000;
  1320. 		goto dungeon_handling;
  1321. 	close;
  1322.  
  1323.  
  1324. 	dun_dim:
  1325. 		setarray .@warpIndex[0],71,72,75;
  1326. 		setarray .@use_location_array[0],1,1,1;
  1327. 		setarray .@levelNames$[0],"Dimensional Gorge 1","Dimensional Gorge 2","Dimensional Gorge 3";
  1328. 		set .@lockDungeonAtLevel,2;
  1329. 		set .@stateName$,"state_dun_dim";
  1330. 		setarray .@level$[0],"95-99","95-99","95-99";
  1331. 		setarray .@require_items_2[0],7798,8899;
  1332. 		setarray .@require_amount_2[0],50,50;
  1333. 		set .@zeny_2,250000;
  1334. 		setarray .@require_items_3[0],1541,2129,7798;
  1335. 		setarray .@require_amount_3[0],1,1,100;
  1336. 		set .@zeny_3,500000;
  1337. 		goto dungeon_handling;
  1338. 	close;
  1339.  
  1340. 	dun_einbroch:
  1341. 		setarray .@warpIndex[0],73,74;
  1342. 		setarray .@use_location_array[0],1,1;
  1343. 		setarray .@levelNames$[0],"Einbroch Dungeon 1","Einbroch Dungeon 2";
  1344. 		set .@lockDungeonAtLevel,2;
  1345. 		set .@stateName$,"state_dun_einbroch";
  1346. 		setarray .@level$[0],"30-40","50-60";
  1347. 		setarray .@require_items_2[0],7323,7321,7317;
  1348. 		setarray .@require_amount_2[0],15,50,50;
  1349. 		set .@zeny_2,25000;
  1350. 		goto dungeon_handling;
  1351. 	close;
  1352.  
  1353.  
  1354. 	dun_gefenia:
  1355. 		setarray .@warpIndex[0],76,77,78,79;
  1356. 		setarray .@use_location_array[0],1,1,1,1;
  1357. 		setarray .@levelNames$[0],"Gefenia 1","Gefenia 2","Gefenia 3","Gefenia 4";
  1358. 		set .@lockDungeonAtLevel,2;
  1359. 		set .@stateName$,"state_dun_gefenia";
  1360. 		setarray .@level$[0],"60-75","70-80","70-80","70-80";
  1361. 		setarray .@require_items_2[0],12020,1060;
  1362. 		setarray .@require_amount_2[0],10,50;
  1363. 		set .@zeny_2,15000;
  1364. 		setarray .@require_items_3[0],12020,1064,1038;
  1365. 		setarray .@require_amount_3[0],20,5,50;
  1366. 		set .@zeny_3,15000;
  1367. 		setarray .@require_items_4[0],12020,7292,7297,7290;
  1368. 		setarray .@require_amount_4[0],30,1,1,1;
  1369. 		set .@zeny_4,25000;
  1370. 		goto dungeon_handling;
  1371. 	close;
  1372.  
  1373.  
  1374. 	dun_geffen:
  1375. 		setarray .@warpIndex[0],80,81,82,83;
  1376. 		setarray .@use_location_array[0],1,1,1,1;
  1377. 		setarray .@levelNames$[0],"Geffen Dungeon 1","Geffen Dungeon 2","Geffen Dungeon 3","Geffen Dungeon 4";
  1378. 		set .@lockDungeonAtLevel,2;
  1379. 		set .@stateName$,"state_dun_geffen";
  1380. 		setarray .@level$[0],"35-50","60-70","65-75","80-90";
  1381. 		setarray .@require_items_2[0],1062,944,958;
  1382. 		setarray .@require_amount_2[0],50,25,25;
  1383. 		set .@zeny_2,15000;
  1384. 		setarray .@require_items_3[0],944,1060,1038;
  1385. 		setarray .@require_amount_3[0],25,25,25;
  1386. 		set .@zeny_3,15000;
  1387. 		setarray .@require_items_4[0],1059,7337,996;
  1388. 		setarray .@require_amount_4[0],25,2,1;
  1389. 		set .@zeny_4,25000;
  1390. 		goto dungeon_handling;
  1391. 	close;
  1392.  
  1393.  
  1394. 	dun_glast:
  1395. 		setarray .@warpIndex[0],84,85,86,87,88,89,90,91,92,93,94,95,96,97,98;
  1396. 		setarray .@use_location_array[0],1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;
  1397. 		setarray .@levelNames$[0],"Glast Heim","Glast Heim Castle 1","Glast Heim Castle 2","Glast Heim Underprison 1","Glast Heim Underprison 2","Glast Heim Chivalry","Glast Heim Culvert 1","Glast Heim Culvert 2","Glast Heim Culvert 3","Glast Heim Culvert 4","Glast Heim Churchyard","Glast Heim Cave 1","Glast Heim Cave 2";
  1398. 		set .@lockDungeonAtLevel,2;
  1399. 		set .@stateName$,"state_dun_glast";
  1400. 		setarray .@level$[0],"50","70-80","75-85","70-80","70-80","60-70","75-85","75-85","75-85","75-85","60-70","60-70","75-85";
  1401. 		setarray .@require_items_2[0],536,734,1055;
  1402. 		setarray .@require_amount_2[0],10,10,1;
  1403. 		set .@zeny_2,15000;
  1404. 		setarray .@require_items_3[0],7054,7005;
  1405. 		setarray .@require_amount_3[0],30,30;
  1406. 		set .@zeny_3,15000;
  1407. 		setarray .@require_items_4[0],1099,1015;
  1408. 		setarray .@require_amount_4[0],30,30;
  1409. 		set .@zeny_4,15000;
  1410. 		setarray .@require_items_5[0],7053,1098,1806;
  1411. 		setarray .@require_amount_5[0],50,50;
  1412. 		set .@zeny_5,1500;
  1413. 		setarray .@require_items_6[0],958,1059;
  1414. 		setarray .@require_amount_6[0],50,30;
  1415. 		set .@zeny_6,15000;
  1416. 		setarray .@require_items_7[0],1769;
  1417. 		setarray .@require_amount_7[0],25;
  1418. 		set .@zeny_7,15000;
  1419. 		setarray .@require_items_8[0],1769,726;
  1420. 		setarray .@require_amount_8[0],25,1;
  1421. 		set .@zeny_8,15000;
  1422. 		setarray .@require_items_9[0],1769,7004;
  1423. 		setarray .@require_amount_9[0],25,25;
  1424. 		set .@zeny_9,15000;
  1425. 		setarray .@require_items_10[0],7003;
  1426. 		setarray .@require_amount_10[0],75;
  1427. 		set .@zeny_10,15000;
  1428. 		setarray .@require_items_11[0],610;
  1429. 		setarray .@require_amount_11[0],10;
  1430. 		set .@zeny_11,20000;
  1431. 		setarray .@require_items_12[0],7004,716;
  1432. 		setarray .@require_amount_12[0],50,15;
  1433. 		set .@zeny_12,20000;
  1434. 		setarray .@require_items_13[0],941,1000;
  1435. 		setarray .@require_amount_13[0],50,5;
  1436. 		set .@zeny_13,20000;
  1437. 		setarray .@require_items_14[0],1064,985,984;
  1438. 		setarray .@require_amount_14[0],15,15,15;
  1439. 		set .@zeny_14,25000;
  1440. 		setarray .@require_items_15[0],1004;
  1441. 		setarray .@require_amount_15[0],1;
  1442. 		set .@zeny_15,25000;
  1443. 		goto dungeon_handling;
  1444. 	close;
  1445.  
  1446.  
  1447. 	dun_gonryun:
  1448. 		setarray .@warpIndex[0],99,100,101;
  1449. 		setarray .@use_location_array[0],1,1,1;
  1450. 		setarray .@levelNames$[0],"Gonryun Dungeon 1","Gonryun Dungeon 2","Gonryun Dungeon 3";
  1451. 		set .@lockDungeonAtLevel,2;
  1452. 		set .@stateName$,"state_dun_gonryun";
  1453. 		setarray .@level$[0],"50-60","50-60","60-70";
  1454. 		setarray .@require_items_2[0],924,7164,7171,7162;
  1455. 		setarray .@require_amount_2[0],25,25,10,10;
  1456. 		set .@zeny_2,15000;
  1457. 		setarray .@require_items_3[0],7165,1032,7162;
  1458. 		setarray .@require_amount_3[0],25,25,25;
  1459. 		set .@zeny_3,25000;
  1460. 		goto dungeon_handling;
  1461. 	close;
  1462.  
  1463.  
  1464.  
  1465. 	dun_hidden:
  1466. 		setarray .@warpIndex[0],102,103,104;
  1467. 		setarray .@use_location_array[0],1,1,1;
  1468. 		setarray .@levelNames$[0],"Hidden Dungeon 1","Hidden Dungeon 2","Hidden Dungeon 3";
  1469. 		set .@lockDungeonAtLevel,2;
  1470. 		set .@stateName$,"state_dun_hidden";
  1471. 		setarray .@level$[0],"1-40","15-30","45-60";
  1472. 		setarray .@require_items_2[0],948,938;
  1473. 		setarray .@require_amount_2[0],50,50;
  1474. 		set .@zeny_2,10000;
  1475. 		setarray .@require_items_3[0],954,1031,7012,923;
  1476. 		setarray .@require_amount_3[0],25,25,25,5;
  1477. 		set .@zeny_3,25000;
  1478. 		goto dungeon_handling;
  1479. 	close;
  1480.  
  1481.  
  1482.  
  1483.  
  1484. 	dun_ice:
  1485. 		setarray .@warpIndex[0],105,106,107;
  1486. 		setarray .@use_location_array[0],1,1,1;
  1487. 		setarray .@levelNames$[0],"Ice Cave 1","Ice Cave 2","Ice Cave 3";
  1488. 		set .@lockDungeonAtLevel,2;
  1489. 		set .@stateName$,"state_dun_ice";
  1490. 		setarray .@level$[0],"40-50","60-75","65-75";
  1491. 		setarray .@require_items_2[0],7561,7066,1806;
  1492. 		setarray .@require_amount_2[0],35,15;
  1493. 		set .@zeny_2,15000;
  1494. 		setarray .@require_items_3[0],7561,995,749;
  1495. 		setarray .@require_amount_3[0],50,1,1;
  1496. 		set .@zeny_3,50000;
  1497. 		goto dungeon_handling;
  1498. 	close;
  1499.  
  1500.  
  1501.  
  1502. 	dun_juperos:
  1503. 		setarray .@warpIndex[0],108,109,110;
  1504. 		setarray .@use_location_array[0],1,1,1;
  1505. 		setarray .@levelNames$[0],"Juperos Dungeon 1","Juperos Dungeon 2","Juperos Core";
  1506. 		set .@lockDungeonAtLevel,2;
  1507. 		set .@stateName$,"state_dun_juperos";
  1508. 		setarray .@level$[0],"60-75","65-75","75-90";
  1509. 		setarray .@require_items_2[0],7094,7356,7357,7358,7359;
  1510. 		setarray .@require_amount_2[0],25,1,1,1,1;
  1511. 		set .@zeny_2,15000;
  1512. 		setarray .@require_items_3[0],999,7352,7353,7354,7355;
  1513. 		setarray .@require_amount_3[0],50,1,1,1,1;
  1514. 		set .@zeny_3,50000;
  1515. 		goto dungeon_handling;
  1516. 	close;
  1517.  
  1518.  
  1519.  
  1520. 	dun_kiel:
  1521. 		setarray .@warpIndex[0],111,112;
  1522. 		setarray .@use_location_array[0],1,1;
  1523. 		setarray .@levelNames$[0],"Kiel Dungeon 1","Kiel Dungeon 2";
  1524. 		set .@lockDungeonAtLevel,2;
  1525. 		set .@stateName$,"state_dun_kiel";
  1526. 		setarray .@level$[0],"50-60","70-80";
  1527. 		setarray .@require_items_2[0],7512;
  1528. 		setarray .@require_amount_2[0],50;
  1529. 		set .@zeny_2,50000;
  1530. 		goto dungeon_handling;
  1531. 	close;
  1532.  
  1533.  
  1534.  
  1535. 	dun_biolab:
  1536. 		setarray .@warpIndex[0],113,114,115,77;
  1537. 		setarray .@use_location_array[0],1,1,1,2;
  1538. 		setarray .@levelNames$[0],"Bio Lab 1","Bio Lab 2","Bio Lab 3","Bio Lab 4";
  1539. 		set .@lockDungeonAtLevel,2;
  1540. 		set .@stateName$,"state_dun_biolab";
  1541. 		setarray .@level$[0],"50-65","60-80","90-99","120-150";
  1542. 		setarray .@require_items_2[0],7319,7347,7345;
  1543. 		setarray .@require_amount_2[0],25,25,25;
  1544. 		set .@zeny_2,25000;
  1545. 		setarray .@require_items_3[0],7347,7345,678,1163;
  1546. 		setarray .@require_amount_3[0],25,25,5,1;
  1547. 		set .@zeny_3,50000;
  1548. 		setarray .@require_items_4[0],7345;
  1549. 		setarray .@require_amount_4[0],50;
  1550. 		set .@zeny_4,50000;
  1551. 		goto dungeon_handling;
  1552. 	close;
  1553.  
  1554.  
  1555. 	dun_louyang:
  1556. 		setarray .@warpIndex[0],116,117,118;
  1557. 		setarray .@use_location_array[0],1,1,1;
  1558. 		setarray .@levelNames$[0],"Louyang Dungeon 1","Louyang Dungeon 2","Louyang Dungeon 3";
  1559. 		set .@lockDungeonAtLevel,2;
  1560. 		set .@stateName$,"state_dun_louyang";
  1561. 		setarray .@level$[0],"50-60","50-60","60-70";
  1562. 		setarray .@require_items_2[0],901,7277;
  1563. 		setarray .@require_amount_2[0],25,3;
  1564. 		set .@zeny_2,15000;
  1565. 		setarray .@require_items_3[0],7038,7263,5042;
  1566. 		setarray .@require_amount_3[0],25,25,1;
  1567. 		set .@zeny_3,25000;
  1568. 		goto dungeon_handling;
  1569. 	close;
  1570.  
  1571.  
  1572.  
  1573.  
  1574. 	dun_nidhoggur:
  1575. 		setarray .@warpIndex[0],119,120,121,122;
  1576. 		setarray .@use_location_array[0],1,1,1,1;
  1577. 		setarray .@levelNames$[0],"Berserker's Scar 1","Berserker's Scar 2","Nidhoggr's Nest 1","Nidhoggr's Nest 2";
  1578. 		set .@lockDungeonAtLevel,2;
  1579. 		set .@stateName$,"state_dun_nidhoggur";
  1580. 		setarray .@level$[0],"80-85","80-85","80-90","80-90";
  1581. 		setarray .@require_items_2[0],6073,6075,6086;
  1582. 		setarray .@require_amount_2[0],25,10,5;
  1583. 		set .@zeny_2,25000;
  1584. 		setarray .@require_items_3[0],6087,6088,6089;
  1585. 		setarray .@require_amount_3[0],2,2,2;
  1586. 		set .@zeny_3,50000;
  1587. 		setarray .@require_items_4[0],6089,6087,6088,6086;
  1588. 		setarray .@require_amount_4[0],75,5,5,5;
  1589. 		set .@zeny_4,75000;
  1590. 		goto dungeon_handling;
  1591. 	close;
  1592.  
  1593. 	dun_malaya:
  1594. 		setarray .@warpIndex[0],96;
  1595. 		setarray .@use_location_array[0],2;
  1596. 		setarray .@levelNames$[0],"Malaya Dungeon 1";
  1597. 		set .@lockDungeonAtLevel,2;
  1598. 		set .@stateName$,"state_dun_malaya";
  1599. 		setarray .@level$[0],"Unknown";
  1600. 		goto dungeon_handling;
  1601. 	close;
  1602.  
  1603. 	dun_magma:
  1604. 		setarray .@warpIndex[0],123,124;
  1605. 		setarray .@use_location_array[0],1,1;
  1606. 		setarray .@levelNames$[0],"Magma Dungeon 1","Magma Dungeon 2";
  1607. 		set .@lockDungeonAtLevel,2;
  1608. 		set .@stateName$,"state_dun_magma";
  1609. 		setarray .@level$[0],"60-70","70-80";
  1610. 		setarray .@require_items_2[0],7097,1037,7125;
  1611. 		setarray .@require_amount_2[0],25,25,5;
  1612. 		set .@zeny_2,15000;
  1613. 		goto dungeon_handling;
  1614. 	close;
  1615.  
  1616.  
  1617.  
  1618. 	dun_moscovia:
  1619. 		setarray .@warpIndex[0],125,126,127;
  1620. 		setarray .@use_location_array[0],1,1,1;
  1621. 		setarray .@levelNames$[0],"Moscovia Dungeon 1","Moscovia Dungeon 2","Moscovia Dungeon 3";
  1622. 		set .@lockDungeonAtLevel,2;
  1623. 		set .@stateName$,"state_dun_moscovia";
  1624. 		setarray .@level$[0],"30-40","35-45","50-60";
  1625. 		setarray .@require_items_2[0],7100,7762,621;
  1626. 		setarray .@require_amount_2[0],25,10,2;
  1627. 		set .@zeny_2,10000;
  1628. 		setarray .@require_items_3[0],629,707;
  1629. 		setarray .@require_amount_3[0],1,1;
  1630. 		set .@zeny_3,15000;
  1631. 		goto dungeon_handling;
  1632. 	close;
  1633.  
  1634.  
  1635.  
  1636.  
  1637. 	dun_niflheim:
  1638. 		setarray .@warpIndex[0],0,1;
  1639. 		setarray .@use_location_array[0],2,2;
  1640. 		setarray .@levelNames$[0],"Niflheim Field 1","Niflheim Field 2";
  1641. 		set .@lockDungeonAtLevel,0;
  1642. 		set .@stateName$,"state_dun_niflheim";
  1643. 		setarray .@level$[0],"70-85","50-60";
  1644. 		goto dungeon_handling;
  1645. 	close;
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651. 	dun_odin:
  1652. 		setarray .@warpIndex[0],2,3,4;
  1653. 		setarray .@use_location_array[0],2,2,2;
  1654. 		setarray .@levelNames$[0],"Odin's Temple 1","Odin's Temple 2","Odin's Temple 3";
  1655. 		set .@lockDungeonAtLevel,2;
  1656. 		set .@stateName$,"state_dun_odin";
  1657. 		setarray .@level$[0],"70-80","70-80","80-90";
  1658. 		setarray .@require_items_2[0],7511,739;
  1659. 		setarray .@require_amount_2[0],50,5;
  1660. 		set .@zeny_2,25000;
  1661. 		setarray .@require_items_3[0],7511,7510;
  1662. 		setarray .@require_amount_3[0],75,1;
  1663. 		set .@zeny_3,50000;
  1664. 		goto dungeon_handling;
  1665. 	close;
  1666.  
  1667.  
  1668.  
  1669.  
  1670. 	dun_orc:
  1671. 		setarray .@warpIndex[0],5,6;
  1672. 		setarray .@use_location_array[0],2,2;
  1673. 		setarray .@levelNames$[0],"Orc Dungeon 1","Orc Dungeon 2";
  1674. 		set .@lockDungeonAtLevel,2;
  1675. 		set .@stateName$,"state_dun_orc";
  1676. 		setarray .@level$[0],"45-55","45-55";
  1677. 		setarray .@require_items_2[0],1043,1044,922;
  1678. 		setarray .@require_amount_2[0],50,50,50;
  1679. 		set .@zeny_2,5000;
  1680. 		goto dungeon_handling;
  1681. 	close;
  1682.  
  1683.  
  1684.  
  1685. 	dun_payon:
  1686. 		setarray .@warpIndex[0],9,10,11,12,13;
  1687. 		setarray .@use_location_array[0],2,2,2,2,2;
  1688. 		setarray .@levelNames$[0],"Payon Dungeon 1","Payon Dungeon 2","Payon Dungeon 3","Payon Dungeon 4","Payon Dungeon 5";
  1689. 		set .@lockDungeonAtLevel,2;
  1690. 		set .@stateName$,"state_dun_payon";
  1691. 		setarray .@level$[0],"10-25","45-55","55-60","55-60","60-70";
  1692. 		setarray .@require_items_2[0],932,7032;
  1693. 		setarray .@require_amount_2[0],25,5;
  1694. 		set .@zeny_2,5000;
  1695. 		setarray .@require_items_3[0],901,1094,7014;
  1696. 		setarray .@require_amount_3[0],50,50,1;
  1697. 		set .@zeny_3,5000;
  1698. 		setarray .@require_items_4[0],1020,1049;
  1699. 		setarray .@require_amount_4[0],50,1;
  1700. 		set .@zeny_4,15000;
  1701. 		setarray .@require_items_5[0],1022,1021,953;
  1702. 		setarray .@require_amount_5[0],50,50,25;
  1703. 		set .@zeny_5,50000;
  1704. 		goto dungeon_handling;
  1705. 	close;
  1706.  
  1707.  
  1708.  
  1709.  
  1710. 	dun_poring:
  1711. 		setarray .@warpIndex[0],14;
  1712. 		setarray .@use_location_array[0],2;
  1713. 		setarray .@levelNames$[0],"Poring Heaven";
  1714. 		set .@lockDungeonAtLevel,0;
  1715. 		set .@stateName$,"state_dun_poring";
  1716. 		setarray .@level$[0],"1-25";
  1717. 		goto dungeon_handling;
  1718. 	close;
  1719.  
  1720.  
  1721.  
  1722.  
  1723. 	dun_pyramid:
  1724. 		setarray .@warpIndex[0],15,16,17,18,19,20;
  1725. 		setarray .@use_location_array[0],2,2,2,2,2,2;
  1726. 		setarray .@levelNames$[0],"Pyramid Dungeon 1","Pyramid Dungeon 2","Pyramid Dungeon 3","Pyramid Dungeon 4","Pyramid Basement 1","Pyramid Basement 2";
  1727. 		set .@lockDungeonAtLevel,2;
  1728. 		set .@stateName$,"state_dun_pyramid";
  1729. 		setarray .@level$[0],"10-20","45-55","50-60","55-65","55-65","55-65";
  1730. 		setarray .@require_items_2[0],930,932;
  1731. 		setarray .@require_amount_2[0],30,15;
  1732. 		set .@zeny_2,5000;
  1733. 		setarray .@require_items_3[0],929,930,919;
  1734. 		setarray .@require_amount_3[0],50,25,10;
  1735. 		set .@zeny_3,5000;
  1736. 		setarray .@require_items_4[0],936,919;
  1737. 		setarray .@require_amount_4[0],25,25;
  1738. 		set .@zeny_4,5000;
  1739. 		setarray .@require_items_5[0],941,930;
  1740. 		setarray .@require_amount_5[0],30,20;
  1741. 		set .@zeny_5,15000;
  1742. 		setarray .@require_items_6[0],500,700;
  1743. 		setarray .@require_amount_6[0],50,30;
  1744. 		set .@zeny_6,50000;
  1745. 		goto dungeon_handling;
  1746. 	close;
  1747.  
  1748.  
  1749.  
  1750. 	dun_rachel:
  1751. 		setarray .@warpIndex[0],21,22,23,24,25;
  1752. 		setarray .@use_location_array[0],2,2,2,2,2;
  1753. 		setarray .@levelNames$[0],"Rachel Sanctuary 1","Rachel Sanctuary 2","Rachel Sanctuary 3","Rachel Sanctuary 4","Rachel Sanctuary 5";
  1754. 		set .@lockDungeonAtLevel,2;
  1755. 		set .@stateName$,"state_dun_rachel";
  1756. 		setarray .@level$[0],"50-65","50-65","60-70","65-80","65-80";
  1757. 		setarray .@require_items_2[0],7563,7568,7340;
  1758. 		setarray .@require_amount_2[0],25,25,5;
  1759. 		set .@zeny_2,15000;
  1760. 		setarray .@require_items_3[0],1061,7340;
  1761. 		setarray .@require_amount_3[0],25,25;
  1762. 		set .@zeny_3,15000;
  1763. 		setarray .@require_items_4[0],9567,7563;
  1764. 		setarray .@require_amount_4[0],50,30;
  1765. 		set .@zeny_4,15000;
  1766. 		setarray .@require_items_5[0],7563;
  1767. 		setarray .@require_amount_5[0],200;
  1768. 		set .@zeny_5,50000;
  1769. 		goto dungeon_handling;
  1770. 	close;
  1771.  
  1772.  
  1773.  
  1774.  
  1775. 	dun_sphinx:
  1776. 		setarray .@warpIndex[0],28,29,30,31,32;
  1777. 		setarray .@use_location_array[0],2,2,2,2,2;
  1778. 		setarray .@levelNames$[0],"Sphinx 1","Sphinx 2","Sphinx 3","Sphinx 4","Sphinx 5";
  1779. 		set .@lockDungeonAtLevel,2;
  1780. 		set .@stateName$,"state_dun_sphinx";
  1781. 		setarray .@level$[0],"55-65","60-70","65-75","75-85","70-80";
  1782. 		setarray .@require_items_2[0],958,2339;
  1783. 		setarray .@require_amount_2[0],50,1;
  1784. 		set .@zeny_2,15000;
  1785. 		setarray .@require_items_3[0],1045,7121;
  1786. 		setarray .@require_amount_3[0],50,25;
  1787. 		set .@zeny_3,15000;
  1788. 		setarray .@require_items_4[0],941,7121;
  1789. 		setarray .@require_amount_4[0],25,25;
  1790. 		set .@zeny_4,25000;
  1791. 		setarray .@require_items_5[0],7121,954,930;
  1792. 		setarray .@require_amount_5[0],50,25,15;
  1793. 		set .@zeny_5,50000;
  1794. 		goto dungeon_handling;
  1795. 	close;
  1796.  
  1797.  
  1798.  
  1799. 	dun_sunken:
  1800. 		setarray .@warpIndex[0],33,34;
  1801. 		setarray .@use_location_array[0],2,2;
  1802. 		setarray .@levelNames$[0],"Sunken Ship 1","Sunken Ship 2";
  1803. 		set .@lockDungeonAtLevel,2;
  1804. 		set .@stateName$,"state_dun_sunken";
  1805. 		setarray .@level$[0],"30-40","50-60";
  1806. 		setarray .@require_items_2[0],932,955,7013;
  1807. 		setarray .@require_amount_2[0],50,30,10;
  1808. 		set .@zeny_2,50000;
  1809. 		goto dungeon_handling;
  1810. 	close;
  1811.  
  1812.  
  1813.  
  1814. 	dun_thanatos:
  1815. 		setarray .@warpIndex[0],35,36,37,38,39,40,41,42,43,44,45,46,47;
  1816. 		setarray .@use_location_array[0],2,2,2,2,2,2,2,2,2,2,2,2,2;
  1817. 		setarray .@levelNames$[0],"Thanatos Tower 1","Thanatos Tower 2","Thanatos Tower 3","Thanatos Tower 4","Thanatos Tower 5","Thanatos Tower 6","Thanatos Tower 7","Thanatos Tower 8","Thanatos Tower 9","Thanatos Tower 10","Thanatos Tower 11","Thanatos Tower 12","Thanatos Area";
  1818. 		set .@lockDungeonAtLevel,2;
  1819. 		set .@stateName$,"state_dun_thantaos";
  1820. 		setarray .@level$[0],"60-70","65-75","65-75","70-80","70-80","75-85","80-90","80-90","80-90","85-95","85-95","85-95","99";
  1821. 		setarray .@require_items_2[0],7047,7099,7440;
  1822. 		setarray .@require_amount_2[0],5,5,1;
  1823. 		set .@zeny_2,10000;
  1824. 		setarray .@require_items_3[0],7449,722;
  1825. 		setarray .@require_amount_3[0],20,1;
  1826. 		set .@zeny_3,20000;
  1827. 		setarray .@require_items_4[0],7071,7436;
  1828. 		setarray .@require_amount_4[0],50,1;
  1829. 		set .@zeny_4,30000;
  1830. 		setarray .@require_items_5[0],7071,7449;
  1831. 		setarray .@require_amount_5[0],75,25;
  1832. 		set .@zeny_5,40000;
  1833. 		setarray .@require_items_6[0],7071,7449,715,716,717;
  1834. 		setarray .@require_amount_6[0],100,50,5,5,5;
  1835. 		set .@zeny_6,50000;
  1836. 		setarray .@require_items_7[0],7440,7441,7442,7439;
  1837. 		setarray .@require_amount_7[0],5,5,1,1;
  1838. 		set .@zeny_7,60000;
  1839. 		setarray .@require_items_8[0],7440,7441,7442,7438;
  1840. 		setarray .@require_amount_8[0],5,5,1,2;
  1841. 		set .@zeny_8,75000;
  1842. 		setarray .@require_items_9[0],7440,7441,12040,7436;
  1843. 		setarray .@require_amount_9[0],10,10,1,2;
  1844. 		set .@zeny_9,100000;
  1845. 		setarray .@require_items_10[0],7440,7441,12040,7437;
  1846. 		setarray .@require_amount_10[0],10,10,1,2;
  1847. 		set .@zeny_10,125000;
  1848. 		setarray .@require_items_11[0],7440,7441,7435,7439; 
  1849. 		setarray .@require_amount_11[0],15,15,2,2;
  1850. 		set .@zeny_11,150000;
  1851. 		setarray .@require_items_12[0],7440,7441,7435,7438;
  1852. 		setarray .@require_amount_12[0],30,30,5,5;
  1853. 		set .@zeny_12,175000;
  1854. 		setarray .@require_items_13[0],7450;
  1855. 		setarray .@require_amount_13[0],1;
  1856. 		set .@zeny_13,200000;
  1857. 		goto dungeon_handling;
  1858. 	close;
  1859.  
  1860.  
  1861.  
  1862.  
  1863. 	dun_thor:
  1864. 		setarray .@warpIndex[0],48,49,50;
  1865. 		setarray .@use_location_array[0],2,2,2;
  1866. 		setarray .@levelNames$[0],"Thor's Volcano 1","Thor's Volcano 2","Thor's Volcano 3";
  1867. 		set .@lockDungeonAtLevel,2;
  1868. 		set .@stateName$,"state_dun_thor";
  1869. 		setarray .@level$[0],"75-90","60-80","85-95";
  1870. 		setarray .@require_items_2[0],1040,7098,7122;
  1871. 		setarray .@require_amount_2[0],50,20,20;
  1872. 		set .@zeny_2,25000;
  1873. 		setarray .@require_items_3[0],7112,7097,944;
  1874. 		setarray .@require_amount_3[0],75,75,3;
  1875. 		set .@zeny_3,50000;
  1876. 		goto dungeon_handling;
  1877. 	close;
  1878.  
  1879.  
  1880.  
  1881.  
  1882. 	dun_toy:
  1883. 		setarray .@warpIndex[0],51,52;
  1884. 		setarray .@use_location_array[0],2,2;
  1885. 		setarray .@levelNames$[0],"Toy Factory 1","Toy Factory 2";
  1886. 		set .@lockDungeonAtLevel,2;
  1887. 		set .@stateName$,"state_dun_toy";
  1888. 		setarray .@level$[0],"55-65","60-70";
  1889. 		setarray .@require_items_2[0],530,539,529,538,7269;
  1890. 		setarray .@require_amount_2[0],25,25,25,25,1;
  1891. 		set .@zeny_2,15000;
  1892. 		goto dungeon_handling;
  1893. 	close;
  1894.  
  1895.  
  1896.  
  1897. 	dun_turtle:
  1898. 		setarray .@warpIndex[0],53,54,55,56;
  1899. 		setarray .@use_location_array[0],2,2,2,2;
  1900. 		setarray .@levelNames$[0],"Turtle Dungeon 1","Turtle Dungeon 2","Turtle Dungeon 3","Turtle Dungeon 4";
  1901. 		set .@lockDungeonAtLevel,2;
  1902. 		set .@stateName$,"state_dun_turtle";
  1903. 		setarray .@level$[0],"45-55","50-65","50-65","60-70";
  1904. 		setarray .@require_items_2[0],967,7066,7067;
  1905. 		setarray .@require_amount_2[0],50,25,25;
  1906. 		set .@zeny_2,15000;
  1907. 		setarray .@require_items_3[0],967,7066,7072,7068;
  1908. 		setarray .@require_amount_3[0],75,25,25,25;
  1909. 		set .@zeny_3,15000;
  1910. 		setarray .@require_items_4[0],967,7066,7072,7068,7005;
  1911. 		setarray .@require_amount_4[0],100,40,40,40,5;
  1912. 		set .@zeny_4,50000;
  1913. 		goto dungeon_handling;
  1914. 	close;
  1915.  
  1916.  
  1917.  
  1918. 	dun_umbala:
  1919. 		setarray .@warpIndex[0],57,58;
  1920. 		setarray .@use_location_array[0],2,2;
  1921. 		setarray .@levelNames$[0],"Umbala Dungeon 1","Umbala Dungeon 2";
  1922. 		set .@lockDungeonAtLevel,2;
  1923. 		set .@stateName$,"state_dun_umbala";
  1924. 		setarray .@level$[0],"30-40","45-55";
  1925. 		setarray .@require_items_2[0],7195,7189,7197,1012;
  1926. 		setarray .@require_amount_2[0],20,20,20,20;
  1927. 		set .@zeny_2,15000;
  1928. 		goto dungeon_handling;
  1929. 	close;
  1930.  
  1931.  
  1932.  
  1933. 	dun_undersea:
  1934. 		setarray .@warpIndex[0],59,60,61,62,63,85;
  1935. 		setarray .@use_location_array[0],2,2,2,2,2,2;
  1936. 		setarray .@levelNames$[0],"Undersea Tunnel F1","Undersea Tunnel F2","Undersea Tunnel F3","Undersea Tunnel F4","Undersea Tunnel F5","Undersea Tunnel F6";
  1937. 		set .@lockDungeonAtLevel,2;
  1938. 		set .@stateName$,"state_dun_undersea";
  1939. 		setarray .@level$[0],"15-35","30-40","45-55","50-60","65-75","110-120";
  1940. 		setarray .@require_items_2[0],960,1052,962,955,961;
  1941. 		setarray .@require_amount_2[0],15,15,15,15,15;
  1942. 		set .@zeny_2,5000;
  1943. 		setarray .@require_items_3[0],950,1024;
  1944. 		setarray .@require_amount_3[0],40,40;
  1945. 		set .@zeny_3,5000;
  1946. 		setarray .@require_items_4[0],1023,963,1051,951;
  1947. 		setarray .@require_amount_4[0],25,25,15,15;
  1948. 		set .@zeny_4,15000;
  1949. 		setarray .@require_items_5[0],951,1054,720;
  1950. 		setarray .@require_amount_5[0],50,50,3;
  1951. 		set .@zeny_5,15000;
  1952. 		setarray .@require_items_6[0],1024,7013,7938;
  1953. 		setarray .@require_amount_6[0],50,50,1;
  1954. 		set .@zeny_6,25000;
  1955. 		goto dungeon_handling;
  1956. 	close;
  1957.  
  1958.  
  1959.  
  1960. 	dun_scaraba:
  1961. 		setarray .@warpIndex[0],66,67,91;
  1962. 		setarray .@use_location_array[0],2,2,2;
  1963. 		setarray .@levelNames$[0],"Scaraba Hole Dungeon 1","Scaraba Hole Dungeon 2","Scaraba Hole Dungeon 3";
  1964. 		set .@lockDungeonAtLevel,2;
  1965. 		set .@stateName$,"state_dun_scaraba";
  1966. 		setarray .@level$[0],"110-120","120-130","120-130";
  1967. 		setarray .@require_items_2[0],6321;
  1968. 		setarray .@require_amount_2[0],75;
  1969. 		set .@zeny_2,50000;
  1970. 		setarray .@require_items_2[0],6321;
  1971. 		setarray .@require_amount_2[0],100;
  1972. 		set .@zeny_2,50000;
  1973. 		goto dungeon_handling;
  1974. 	close;
  1975.  
  1976.  
  1977. 	dun_mist:
  1978. 		setarray .@warpIndex[0],68;
  1979. 		setarray .@use_location_array[0],2;
  1980. 		setarray .@levelNames$[0],"Misty Forest Labyrinth";
  1981. 		set .@lockDungeonAtLevel,0;
  1982. 		set .@stateName$,"state_dun_mist";
  1983. 		setarray .@level$[0],"140-150";
  1984. 		goto dungeon_handling;
  1985. 	close;
  1986.  
  1987. 	dun_malangdo:
  1988. 		setarray .@warpIndex[0],69;
  1989. 		setarray .@use_location_array[0],2;
  1990. 		setarray .@levelNames$[0],"Malangdo Dungeon 1";
  1991. 		set .@lockDungeonAtLevel,2;
  1992. 		set .@stateName$,"state_dun_malangdo";
  1993. 		setarray .@level$[0],"50-70";
  1994. 		goto dungeon_handling;
  1995. 	close;
  1996.  
  1997.  
  1998.  
  1999. 	dun_brasilis:
  2000. 		setarray .@warpIndex[0],70,71;
  2001. 		setarray .@use_location_array[0],2,2;
  2002. 		setarray .@levelNames$[0],"Brasilis Dungeon 1","Brasilis Dungeon 2";
  2003. 		set .@lockDungeonAtLevel,2;
  2004. 		set .@stateName$,"state_dun_brasilis";
  2005. 		setarray .@level$[0],"70-85","70-85";
  2006. 		setarray .@require_items_2[0],963,950,747;
  2007. 		setarray .@require_amount_2[0],25,25,1;
  2008. 		set .@zeny_2,50000;
  2009. 		goto dungeon_handling;
  2010. 	close;
  2011.  
  2012.  
  2013. 	dun_dewata:
  2014. 		setarray .@warpIndex[0],72,73;
  2015. 		setarray .@use_location_array[0],2,2;
  2016. 		setarray .@levelNames$[0],"Dewata Dungeon 1","Dewata Dungeon 2";
  2017. 		set .@lockDungeonAtLevel,2;
  2018. 		set .@stateName$,"state_dun_dewata";
  2019. 		setarray .@level$[0],"60-70","70-85";
  2020. 		setarray .@require_items_2[0],6403,1021;
  2021. 		setarray .@require_amount_2[0],50,50;
  2022. 		set .@zeny_2,50000;
  2023. 		goto dungeon_handling;
  2024. 	close;
  2025.  
  2026. 	dun_yggdrasil:
  2027. 		setarray .@warpIndex[0],76;
  2028. 		setarray .@use_location_array[0],2;
  2029. 		setarray .@levelNames$[0],"Hvergelmir's Fountain";
  2030. 		set .@lockDungeonAtLevel,0;
  2031. 		set .@stateName$,"state_dun_yggdrasil";
  2032. 		setarray .@level$[0],"1";
  2033. 		goto dungeon_handling;
  2034. 	close;
  2035.  
  2036.  
  2037.  
  2038.  
  2039.  
  2040.  
  2041.  
  2042.  
  2043.  
  2044. 	ini_orc:
  2045. 		set .@warpIndex,83;
  2046. 		set .@use_location_array,2;
  2047. 		goto main_handling;
  2048. 	close;
  2049.  
  2050. 	ini_sealed:
  2051. 		set .@warpIndex,84;
  2052. 		set .@use_location_array,2;
  2053. 		goto main_handling;
  2054. 	close;
  2055.  
  2056. 	ini_endless:
  2057. 		set .@warpIndex,74;
  2058. 		set .@use_location_array,2;
  2059. 		goto main_handling;
  2060. 	close;
  2061.  
  2062.  
  2063.  
  2064.  
  2065.  
  2066.  
  2067.  
  2068.  
  2069.  
  2070. 	field_ama:
  2071. 		setarray .@warpIndex[0],0;
  2072. 		setarray .@use_location_array[0],3;
  2073. 		setarray .@levelNames$[0],"Amatsu Field 1";
  2074. 		setarray .@level$[0],"30-50";
  2075. 		goto dungeon_handling;
  2076. 	close;
  2077.  
  2078. 	field_ayo:
  2079. 		setarray .@warpIndex[0],0,1;
  2080. 		setarray .@use_location_array[0],4,4;
  2081. 		setarray .@levelNames$[0],"Ayotha Field 1","Ayotha Field 2";
  2082. 		setarray .@level$[0],"20-30","30-40";
  2083. 		goto dungeon_handling;
  2084. 	close;
  2085.  
  2086. 	field_bra:
  2087. 		setarray .@warpIndex[0],81;
  2088. 		setarray .@use_location_array[0],2;
  2089. 		setarray .@levelNames$[0],"Brasilis Field 1";
  2090. 		setarray .@level$[0],"40-50";
  2091. 		goto dungeon_handling;
  2092. 	close;
  2093.  
  2094. 	field_dew:
  2095. 		setarray .@warpIndex[0],82;
  2096. 		setarray .@use_location_array[0],2;
  2097. 		setarray .@levelNames$[0],"Dewata Field 1";
  2098. 		setarray .@level$[0],"40-50";
  2099. 		goto dungeon_handling;
  2100. 	close;
  2101.  
  2102. 	field_dic:
  2103. 		setarray .@warpIndex[0],87,88;
  2104. 		setarray .@use_location_array[0],2,2;
  2105. 		setarray .@levelNames$[0],"Dicastes Field 1","Dicastes Field 2";
  2106. 		setarray .@level$[0],"110-120","110-120";
  2107. 		goto dungeon_handling;
  2108. 	close;
  2109.  
  2110. 	field_cmd:
  2111. 		setarray .@warpIndex[0],1,2,3,4,5,6,7,8,9;
  2112. 		setarray .@use_location_array[0],3,3,3,3,3,3,3,3,3;
  2113. 		setarray .@levelNames$[0],"Comodo Field 1","Comodo Field 2","Comodo Field 3","Comodo Field 4","Comodo Field 5","Comodo Field 6","Comodo Field 7","Comodo Field 8","Comodo Field 9";
  2114. 		setarray .@level$[0],"40-50","60-70","55-65","60-70","35-45","25-35","10-25","40-50","10-20";
  2115. 		goto dungeon_handling;
  2116. 	close;
  2117.  
  2118. 	field_ein:
  2119. 		setarray .@warpIndex[0],10,11,12,13,14,15,16,17,18,19;
  2120. 		setarray .@use_location_array[0],3,3,3,3,3,3,3,3,3,3;
  2121. 		setarray .@levelNames$[0],"Einbroch Field 1","Einbroch Field 2","Einbroch Field 3","Einbroch Field 4","Einbroch Field 5","Einbroch Field 6","Einbroch Field 7","Einbroch Field 8","Einbroch Field 9","Einbroch Field 10";
  2122. 		setarray .@level$[0],"45-55","45-55","25-45","25-45","50-60","65-75","20-45","15-30","15-30","25-45";
  2123. 		goto dungeon_handling;
  2124. 	close;
  2125.  
  2126. 	field_gef:
  2127. 		setarray .@warpIndex[0],20,21,22,23,24,25,26,27,28,29,30,31,32,33,34;
  2128. 		setarray .@use_location_array[0],3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;
  2129. 		setarray .@levelNames$[0],"Geffen Field 0","Geffen Field 1","Geffen Field 2","Geffen Field 3","Geffen Field 4","Geffen Field 5","Geffen Field 6","Geffen Field 7","Geffen Field 8","Geffen Field 9","Geffen Field 10","Geffen Field 11","Geffen Field 12","Geffen Field 13","Geffen Field 14";
  2130. 		setarray .@level$[0],"1-15","5-15","20-35","20-35","1-15","30-40","35-50","1-10","20-35","10-20","25-35","20-30","30-40","5-15","50-60";
  2131. 		goto dungeon_handling;
  2132. 	close;
  2133.  
  2134. 	field_gon:
  2135. 		setarray .@warpIndex[0],35;
  2136. 		setarray .@use_location_array[0],3;
  2137. 		setarray .@levelNames$[0],"Gonryun Field 1";
  2138. 		setarray .@level$[0],"30-40";
  2139. 		goto dungeon_handling;
  2140. 	close;
  2141.  
  2142. 	field_hu:
  2143. 		setarray .@warpIndex[0],36,37,38,39,40,41,42;
  2144. 		setarray .@use_location_array[0],3,3,3,3,3,3,3;
  2145. 		setarray .@levelNames$[0],"Hugel Field 1","Hugel Field 2","Hugel Field 3","Hugel Field 4","Hugel Field 5","Hugel Field 6","Hugel Field 7";
  2146. 		setarray .@level$[0],"40-55","40-55","35-45","40-65","35-45","1-20","40-65";
  2147. 		goto dungeon_handling;
  2148. 	close;
  2149.  
  2150. 	field_lhz:
  2151. 		setarray .@warpIndex[0],43,44,45;
  2152. 		setarray .@use_location_array[0],3,3,3;
  2153. 		setarray .@levelNames$[0],"Lighthalzen Field 1","Lighthalzen Field 2","Lighthalzen Field 3";
  2154. 		setarray .@level$[0],"15-25","15-25","30-45";
  2155. 		goto dungeon_handling;
  2156. 	close;
  2157.  
  2158. 	field_lou:
  2159. 		setarray .@warpIndex[0],46;
  2160. 		setarray .@use_location_array[0],3;
  2161. 		setarray .@levelNames$[0],"Louyang Field 1";
  2162. 		setarray .@level$[0],"20-50";
  2163. 		goto dungeon_handling;
  2164. 	close;
  2165.  
  2166. 	field_xmas:
  2167. 		setarray .@warpIndex[0],47;
  2168. 		setarray .@use_location_array[0],3;
  2169. 		setarray .@levelNames$[0],"Lutie Field 1";
  2170. 		setarray .@level$[0],"25-35";
  2171. 		goto dungeon_handling;
  2172. 	close;
  2173.  
  2174. 	field_ma:
  2175. 		setarray .@warpIndex[0],94,95;
  2176. 		setarray .@use_location_array[0],2,2;
  2177. 		setarray .@levelNames$[0],"Malaya Field 1","Malaya Field 2";
  2178. 		setarray .@level$[0],"Unknown","Unknown";
  2179. 		goto dungeon_handling;
  2180. 	close;
  2181.  
  2182. 	field_man:
  2183. 		setarray .@warpIndex[0],48,49,86;
  2184. 		setarray .@use_location_array[0],3,3,2;
  2185. 		setarray .@levelNames$[0],"Manuk Field 1","Manuk Field 2","Manuk Field 3";
  2186. 		setarray .@level$[0],"100-110","100-110","100-110";
  2187. 		goto dungeon_handling;
  2188. 	close;
  2189.  
  2190. 	field_mjolnir:
  2191. 		setarray .@warpIndex[0],50,51,52,53,54,55,56,57,58,59,60,61;
  2192. 		setarray .@use_location_array[0],3,3,3,3,3,3,3,3,3,3,3,3;
  2193. 		setarray .@levelNames$[0],"Mjolnir Field 2","Mjolnir Field 3","Mjolnir Field 4","Mjolnir Field 5","Mjolnir Field 6","Mjolnir Field 7","Mjolnir Field 8","Mjolnir Field 9","Mjolnir Field 10","Mjolnir Field 11","Mjolnir Field 12";
  2194. 		setarray .@level$[0],"5-20","40-50","40-50","20-40","20-30","5-20","5-20","20-30","15-25","20-40","20-40","20-40";
  2195. 		goto dungeon_handling;
  2196. 	close;
  2197.  
  2198. 	field_mosk:
  2199. 		setarray .@warpIndex[0],62,63;
  2200. 		setarray .@use_location_array[0],3,3;
  2201. 		setarray .@levelNames$[0],"Moscovia Field 1","Moscovia Field 2";
  2202. 		setarray .@level$[0],"1","15-30";
  2203. 		goto dungeon_handling;
  2204. 	close;
  2205.  
  2206. 	field_pay:
  2207. 		setarray .@warpIndex[0],64,65,66,67,68,69,70,71,72,73,74;
  2208. 		setarray .@use_location_array[0],3,3,3,3,3,3,3,3,3,3,3;
  2209. 		setarray .@levelNames$[0],"Payon Field 1","Payon Field 2","Payon Field 3","Payon Field 4","Payon Field 5","Payon Field 6","Payon Field 7","Payon Field 8","Payon Field 9","Payon Field 10","Payon Field 11";
  2210. 		setarray .@level$[0],"1-15","5-20","1-10","1-15","10-20","10-20","15-25","1-10","10-25","30-45","50-60";
  2211. 		goto dungeon_handling;
  2212. 	close;
  2213.  
  2214. 	field_prt:
  2215. 		setarray .@warpIndex[0],75,76,77,78,79,80,81,82,83,84,85,86;
  2216. 		setarray .@use_location_array[0],3,3,3,3,3,3,3,3,3,3,3,3;
  2217. 		setarray .@levelNames$[0],"Prontera Field 0","Prontera Field 1","Prontera Field 2","Prontera Field 3","Prontera Field 4","Prontera Field 5","Prontera Field 6","Prontera Field 7","Prontera Field 8","Prontera Field 9","Prontera Field 10","Prontera Field 11";
  2218. 		setarray .@level$[0],"1-10","1-10","1-15","10-20","5-15","1-10","1-10","5-15","1-10","1-10","20-30","20-30";
  2219. 		goto dungeon_handling;
  2220. 	close;
  2221.  
  2222. 	field_ra:
  2223. 		setarray .@warpIndex[0],87,88,89,90,91,92,93,94,95,96,97,98,99;
  2224. 		setarray .@use_location_array[0],3,3,3,3,3,3,3,3,3,3,3,3,3;
  2225. 		setarray .@levelNames$[0],"Rachel Field 1","Rachel Field 2","Rachel Field 3","Rachel Field 4","Rachel Field 5","Rachel Field 6","Rachel Field 7","Rachel Field 8","Rachel Field 9","Rachel Field 10","Rachel Field 11","Rachel Field 12","Rachel Field 13";
  2226. 		setarray .@level$[0],"40-55","30-55","45-55","30-45","40-50","40-50","35-55","20-45","40-50","40-55","20-35","5-20","5-20";
  2227. 		goto dungeon_handling;
  2228. 	close;
  2229.  
  2230. 	field_moc:
  2231. 		setarray .@warpIndex[0],100,101,102,103,104,105,106,107,108,109,110;
  2232. 		setarray .@use_location_array[0],3,3,3,3,3,3,3,3,3,3,3;
  2233. 		setarray .@levelNames$[0],"Sograt Desert 1","Sograt Desert 2","Sograt Desert 3","Sograt Desert 7","Sograt Desert 11","Sograt Desert 12","Sograt Desert 13","Sograt Desert 16","Sograt Desert 17","Sograt Desert 18","Sograt Desert 19";
  2234. 		setarray .@level$[0],"1-10","5-20","15-25","1-10","20-30","1-10","10-25","20-35","20-30","15-25","1";
  2235. 		goto dungeon_handling;
  2236. 	close;
  2237.  
  2238. 	field_spl:
  2239. 		setarray .@warpIndex[0],114,115,116;
  2240. 		setarray .@use_location_array[0],3,3,3;
  2241. 		setarray .@levelNames$[0],"Splendide Field 1","Splendide Field 2","Splendide Field 3";
  2242. 		setarray .@level$[0],"100-110","100-110","100-110";
  2243. 		goto dungeon_handling;
  2244. 	close;
  2245.  
  2246. 	field_um:
  2247. 		setarray .@warpIndex[0],117,118,119,120;
  2248. 		setarray .@use_location_array[0],3,3,3,3;
  2249. 		setarray .@levelNames$[0],"Umbala Field 1","Umbala Field 2","Umbala Field 3","Umbala Field 4";
  2250. 		setarray .@level$[0],"40-50","35-45","45-55","30-40";
  2251. 		goto dungeon_handling;
  2252. 	close;
  2253.  
  2254. 	field_vein:
  2255. 		setarray .@warpIndex[0],121,122,123,124,125,126,127;
  2256. 		setarray .@use_location_array[0],3,3,3,3,3,3,3;
  2257. 		setarray .@levelNames$[0],"Veins Field 1","Veins Field 2","Veins Field 3","Veins Field 4","Veins Field 5","Veins Field 6","Veins Field 7";
  2258. 		setarray .@level$[0],"10-25","25-35","25-40","25-35","40-55","10-15","35-45";
  2259. 		goto dungeon_handling;
  2260. 	close;
  2261.  
  2262. 	field_yuno:
  2263. 		setarray .@warpIndex[0],2,3,4,5,6,7,8,9,10,11,12,13;
  2264. 		setarray .@use_location_array[0],4,4,4,4,4,4,4,4,4,4,4,4;
  2265. 		setarray .@levelNames$[0],"Yuno Field 1","Yuno Field 2","Yuno Field 3","Yuno Field 4","Yuno Field 5","Yuno Field 6","Yuno Field 7","Yuno Field 8","Yuno Field 9","Yuno Field 10","Yuno Field 11","Yuno Field 12";
  2266. 		setarray .@level$[0],"1-20","10-20","10-35","1-10","10-20","45-55","60-70","40-55","15-30","20-30","40-50","40-50";
  2267. 		goto dungeon_handling;
  2268. 	close;
  2269.  
  2270. 	field_mora:
  2271. 		setarray .@warpIndex[0],101,102;
  2272. 		setarray .@use_location_array[0],2,2;
  2273. 		setarray .@levelNames$[0],"Mora Field 1","Mora Field 2";
  2274. 		setarray .@level$[0],"120-130","120-130";
  2275. 		goto dungeon_handling;
  2276. 	close;
  2277.  
  2278.  
  2279. }
  2280.  
  2281. //----------------City duplicates----------------\\
  2282. alberta.gat,31,240,4	duplicate(warpagent)	Warp Agent#wa-2	721
  2283. aldebaran.gat,145,118,4	duplicate(warpagent)	Warp Agent#wa-3	721
  2284. amatsu.gat,192,81,1	duplicate(warpagent)	Warp Agent#wa-4	721
  2285. ayothaya.gat,144,117,6	duplicate(warpagent)	Warp Agent#wa-5	721
  2286. comodo.gat,194,158,4	duplicate(warpagent)	Warp Agent#wa-6	721
  2287. einbroch.gat,59,205,4	duplicate(warpagent)	Warp Agent#wa-7	721
  2288. einbroch.gat,243,189,2	duplicate(warpagent)	Warp Agent#wa-8	721
  2289. einbech.gat,135,249,4	duplicate(warpagent)	Warp Agent#wa-9	721
  2290. geffen.gat,115,66,4	duplicate(warpagent)	Warp Agent#wa-10	721
  2291. gonryun.gat,151,130,4	duplicate(warpagent)	Warp Agent#wa-11	721
  2292. izlude.gat,133,117,4	duplicate(warpagent)	Warp Agent#wa-12	721
  2293. hugel.gat,88,151,5	duplicate(warpagent)	Warp Agent#wa-13	721
  2294. lighthalzen.gat,153,85,5	duplicate(warpagent)	Warp Agent#wa-14	721
  2295. louyang.gat,210,106,4	duplicate(warpagent)	Warp Agent#wa-15	721
  2296. morocc.gat,156,95,4	duplicate(warpagent)	Warp Agent#wa-16	721
  2297. payon.gat,155,96,4	duplicate(warpagent)	Warp Agent#wa-17	721
  2298. umbala.gat,132,130,4	duplicate(warpagent)	Warp Agent#wa-18	721
  2299. xmas.gat,150,136,4	duplicate(warpagent)	Warp Agent#wa-19	721
  2300. yuno.gat,137,162,4	duplicate(warpagent)	Warp Agent#wa-20	721
  2301. rachel.gat,124,108,6	duplicate(warpagent)	Warp Agent#wa-21	721
  2302. prontera.gat,150,184,5	duplicate(warpagent)	Warp Agent#wa-22	721
  2303. manuk.gat,283,236,4	duplicate(warpagent)	Warp Agent#wa-23	721
  2304. mid_camp.gat,189,256,3	duplicate(warpagent)	Warp Agent#wa-24	721
  2305. mora.gat,113,174,5	duplicate(warpagent)	Warp Agent#wa-25	721
  2306. splendide.gat,191,176,5	duplicate(warpagent)	Warp Agent#wa-26	721
  2307. niflheim.gat,201,189,3	duplicate(warpagent)	Warp Agent#wa-27	721
  2308. veins.gat,225,127,3	duplicate(warpagent)	Warp Agent#wa-28	721
  2309. nameless_i.gat,162,176,6	duplicate(warpagent)	Warp Agent#wa-29	721
Viewed 1502 times, submitted by Guest.