//===== Athena Script =====================================
//= Loki Warper
//===== By ================================================
//= Loki1991
//===== Version ===========================================
//= 1.0 - First release, filled with many features and full
//= customizable configurations. For example level
//= suggestion, a lock system (player have to unlock
//= higher dungeons before they can enter), guild
//= dungeon checker and general warping dues.
//= 1.1 - Added a field warp flag. If you want to use field
//= warps just set .@field_warps to 1. More features
//= are the itemrate and the item color. In addition,
//= the Morroc warp bug has been fixed.
//= 1.2 - Critical bug fixed which happend when a user tried
//= to unlock a dungeon, where the first level was also
//= locked (.@lockDungeonAtLevel = 1). In addition,
//= the gm level will be considered on guild dungeon
//= warps. Besides, a special value for the variable
//= .@guild_dungeon_only_owner has been added which
//= allows you to general allow to warp to any guild
//= dungeons when the user guild have any castles.
//= 1.3 - .@use_location_array is in dungeon_handling now an
//= array because to allow you to add maps on diffrent
//= location arrays (for example adding Bio Lab 4).
//= 1.4 - Missing maps has been added. In addition, the
//= instances are now under serperated menu enties
//= and the player can just warp to the start. The
//= last warp checks also now if the user is currently
//= in any guild if he wants to be warped to a guild dun.
//===== Description =======================================
//= This is an advanced warper which is easy to configure
//= and to add/edit/remove new maps. In addition, you can
//= activate many functions like "suggesting level" which
//= will stick a level recommendation to each dungeon level.
//= Likewise, this script offers a lock system that means
//= that every user have to unlock a higher dungeon before
//= he can enter. Which items, zeny or at which dungeon level
//= this should come can be configured well. More Features
//= you can find at the configuration part of this script.
//=========================================================
- script Warp Agent#wa-1::warpagent 721,{
//Config Start
set @name$,"^0000FF[Warp Agent]^000000"; //Name of the NPC on dialog ::: DEFAULT "^0000FF[Warp Agent]^000000"
set @npctype$,"kafra_07"; //Cutin name http://eathena.ws/wiki/index.php/Cutin ::: DEFAULT "kafra_07"
set @locked$,"[^0000FFlocked^000000]"; //Locked information when .@use_lock_system set to 1 ::: DEFAULT "[^0000FFlocked^000000]"
set @level_color$,"^FF0000"; //The color of your recommended level information (only needed when .@recommend_level is 1) ::: DEFAULT "^FF0000"
set @item_color$,"^FF0000"; //The color of your unlock items (only needed when .@use_lock_system is 1) ::: DEFAULT "^FF0000"
set .@field_warps,0; //Set this to 1 to allow field warps ::: DEFAULT 0 (use 0 to disable)
set .@recommend_level,1; //Display recommended level on dungeons ::: DEFAULT 1 (use 0 to disable)
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)
set .@ignore_lock_system_on_gmlevel,40; //At which gm level a gm don't have to unlock a dungeon ::: DEFAULT 40
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)
set .@lockZenyMultiplier,1; //Rate unlock costs (no comma!!!). Don't overstate it... on Highrate 10-20 is enough ::: DEFAULT 1
set .@lockItemMultiplier,1; //Rate unlock items (no comma!!!). Higher rates then 10 can cause frustration! ::: DEFAULT 1
set .@warperCost,0; //The amount of zeny a player have to pay for each warp ::: DEFAULT 0 (use 0 to disable)
//Edit here the language
set .@lang_unlockMsg$,"To unlock this dungeon you have to bring me the following items:";
set .@lang_unlockGzMsg$,"Congratiulations! You unlocked this dungeon!";
set .@lang_unlock_yes$,"Unlock";
set .@lang_unlock_no$,"Cancel";
set .@lang_unlockFail$,"You don't fullfill all requirements!";
set .@lang_unlockFail2$,"First, unlock the lower dungeon level!";
set .@lang_not_enough_zeny$,"I'm sorry, but you don't have ^0000FF"+.@warperCost+"^000000 zeny!";
set .@lang_no_castles$,"You don't have any castles in";
set .@lang_no_castles_special$,"You don't have any castles.";
set .@lang_no_guild$,"You aren't in any guild!";
set .@lang_not_warped$,"I'm sorry but you didn't warped anywhere yet!";
set .@lang_begin_msg1$,"I can teleport you to any Town or Dungeon!";
set .@lang_begin_msg2$,"A warp cost only ^0000FF"+.@warperCost+"^000000 zeny!";
set .@lang_begin_msg3$,"Where do you want to go?";
set .@lang_choose_dungeon$,"Which kind of dungeon?";
set .@lang_choose_gdungeon$,"Which kind of guild dungeon?";
set .@lang_choose_woe$,"Which kind of castle area?";
set .@lang_choose_city$,"Which kind of town?";
set .@lang_choose_fields$,"Which field do you want to warp to?";
set .@lang_dungeon$,"Dungeon";
set .@lang_city$,"City";
set .@lang_gdungeon$,"Guild dungeon";
set .@lang_lastmap$,"Last map";
set .@lang_woe$,"Castle Area";
set .@lang_fields$,"Fields";
//Config End
//Don't change anything below this line, only when you know what you do
//---------------------------------------------------------------------
//Level Mapnames and coordinates
setarray .locations_1$[0],"gld_dun01", //0
"gld_dun02","gld_dun03","gld_dun04","schg_dun01","arug_dun01", //5
"alde_gld","gef_fild13","pay_gld","prt_gld","aru_gld", //10
"sch_gld","abyss_01","abyss_02","abyss_03","alberta", //15
"aldebaran","amatsu","ayothaya","comodo","einbroch", //20
"einbech","geffen","gonryun","hugel","izlude", //25
"lighthalzen","louyang","xmas","manuk","mid_camp", //30
"mora","morocc","moscovia","nameless_i","niflheim", //35
"payon","prontera","rachel","splendide","umbala", //40
"veins","yuno","ama_dun01","ama_dun02","ama_dun03", //45
"anthell01","anthell02","ayo_dun01","ayo_dun02","beach_dun", //50
"beach_dun2","beach_dun3","alde_dun01","alde_dun02","alde_dun03", //55
"alde_dun04","c_tower1","c_tower2","c_tower3","c_tower4", //60
"mjo_dun01","mjo_dun02","mjo_dun03","prt_sewb1","prt_sewb2", //65
"prt_sewb3","prt_sewb4","abbey01","abbey02","abbey03", //70
"moc_fild20","moc_fild21","ein_dun01","ein_dun02","moc_fild22", //75
"gefenia01","gefenia02","gefenia03","gefenia04","gef_dun00", //80
"gef_dun01","gef_dun02","gef_dun03","glast_01","gl_cas01", //85
"gl_cas02","gl_prison","gl_prison1","gl_chyard","gl_sew01", //90
"gl_sew02","gl_sew03","gl_sew04","gl_church","gl_dun01", //95
"gl_dun02","gl_knt01","gl_knt02","gon_dun01","gon_dun02", //100
"gon_dun03","prt_maze01","prt_maze02","prt_maze03","ice_dun01", //105
"ice_dun02","ice_dun03","juperos_01","juperos_02","jupe_core", //110
"kh_dun01","kh_dun02","lhz_dun01","lhz_dun02","lhz_dun03", //115
"lou_dun01","lou_dun02","lou_dun03","nyd_dun01","nyd_dun02", //120
"1@nyd","2@nyd","mag_dun01","mag_dun02","mosk_dun01", //125
"mosk_dun02","mosk_dun03"; //127
setarray .locations_2$[0],"nif_fild02", //0
"nif_fild01","odin_tem01","odin_tem02","odin_tem03","orcsdun01", //5
"orcsdun02","1@orcs","2@orcs","pay_dun00","pay_dun01", //10
"pay_dun02","pay_dun03","pay_dun04","pay_fild04","moc_pryd01", //15
"moc_pryd02","moc_pryd03","moc_pryd04","moc_pryd05","moc_pryd06", //20
"ra_san01","ra_san02","ra_san03","ra_san04","ra_san05", //25
"1@cata","2@cata","in_sphinx1","in_sphinx2","in_sphinx3", //30
"in_sphinx4","in_sphinx5","treasure01","treasure02","tha_t01", //35
"tha_t02","tha_t03","tha_t04","tha_t05","tha_t06", //40
"tha_t07","tha_t08","tha_t09","tha_t10","tha_t11", //45
"tha_t12","thana_boss","thor_v01","thor_v02","thor_v03", //50
"xmas_dun01","xmas_dun02","tur_dun01","tur_dun02","tur_dun03", //55
"tur_dun04","um_dun01","um_dun02","iz_dun00","iz_dun01", //60
"iz_dun02","iz_dun03","iz_dun04","1@cata","2@cata", //65
"dic_dun01","dic_dun02","1@mist","mal_dun01","bra_dun01", //70
"bra_dun02","dew_dun01","dew_dun02","e_tower","malangdo", //75
"yggdrasil01","lhz_dun04","brasilis","dewata","jawaii", //80
"bra_fild01","dew_fild01","gef_fild10","monk_test","iz_dun05", //85
"man_fild03","dic_fild01","dic_fild02","dicastes01","dicastes02", //90
"dic_dun03","nameless_n","malaya","ma_fild01","ma_fild02", //95
"ma_dun01","gld2_ald","gld2_gef","gld2_pay","gld2_prt", //100
"bif_fild01","bif_fild02"; //102
setarray .locations_3$[0],"ama_fild01", //0
"cmd_fild01","cmd_fild02","cmd_fild03","cmd_fild04","cmd_fild05", //5
"cmd_fild06","cmd_fild07","cmd_fild08","cmd_fild09","ein_fild01", //10
"ein_fild02","ein_fild03","ein_fild04","ein_fild05","ein_fild06", //15
"ein_fild07","ein_fild08","ein_fild09","ein_fild10","gef_fild00", //20
"gef_fild01","gef_fild02","gef_fild03","gef_fild04","gef_fild05", //25
"gef_fild06","gef_fild07","gef_fild08","gef_fild09","gef_fild10", //30
"gef_fild11","gef_fild12","gef_fild13","gef_fild14","gon_fild01", //35
"hu_fild01","hu_fild02","hu_fild03","hu_fild04","hu_fild05", //40
"hu_fild06","hu_fild07","lhz_fild01","lhz_fild02","lhz_fild03", //45
"lou_fild01","xmas_fild01","man_fild01","man_fild02","mjolnir_01", //50
"mjolnir_02","mjolnir_03","mjolnir_04","mjolnir_05","mjolnir_06", //55
"mjolnir_07","mjolnir_08","mjolnir_09","mjolnir_10","mjolnir_11", //60
"mjolnir_12","mosk_fild01","mosk_fild02","pay_fild01","pay_fild02", //65
"pay_fild03","pay_fild04","pay_fild05","pay_fild06","pay_fild07", //70
"pay_fild08","pay_fild09","pay_fild10","pay_fild11","prt_fild00", //75
"prt_fild01","prt_fild02","prt_fild03","prt_fild04","prt_fild05", //80
"prt_fild06","prt_fild07","prt_fild08","prt_fild09","prt_fild10", //85
"prt_fild11","ra_fild01","ra_fild02","ra_fild03","ra_fild04", //90
"ra_fild05","ra_fild06","ra_fild07","ra_fild08","ra_fild09", //95
"ra_fild10","ra_fild11","ra_fild12","ra_fild13","moc_fild01", //100
"moc_fild02","moc_fild03","moc_fild07","moc_fild11","moc_fild12", //105
"moc_fild13","moc_fild16","moc_fild17","moc_fild18","moc_fild19", //110
"moc_fild20","moc_fild21","moc_fild22","spl_fild01","spl_fild02", //115
"spl_fild03","um_fild01","um_fild02","um_fild03","um_fild04", //120
"ve_fild01","ve_fild02","ve_fild03","ve_fild04","ve_fild05", //125
"ve_fild06","ve_fild07"; //127
setarray .locations_4$[0],"ayo_fild01", //0
"ayo_fild02","yuno_fild01","yuno_fild02","yuno_fild03","yuno_fild04", //5
"yuno_fild05","yuno_fild06","yuno_fild07","yuno_fild08","yuno_fild09", //10
"yuno_fild10","yuno_fild11","yuno_fild12"; //13
setarray .coordsx_1[0],220, //0
166,165,55,199,292, //5
183,242,196,159,236, //10
287,265,275,116,27, //15
145,197,149,188,64, //20
70,119,150,96,128, //25
158,210,148,276,181, //30
120,159,168,174,192, //35
177,155,130,198,130, //40
219,168,229,35,119, //45
35,34,275,24,270, //50
154,20,297,43,277, //55
268,199,268,65,73, //60
53,381,302,126,19, //65
180,100,51,149,119, //70
280,83,22,292,52, //75
59,203,266,33,103, //80
115,106,203,370,163, //85
104,14,150,147,258, //90
29,171,101,295,225, //95
224,123,15,152,17, //100
68,99,93,182,157, //105
151,149,53,128,150, //110
4,40,18,18,140, //115
218,282,165,65,199, //120
36,200,129,47,200, //125
164,33; //127
setarray .coordsx_2[0],376, //0
340,100,23,246,32, //5
21,105,181,21,19, //10
19,155,201,346,192, //15
10,100,12,220,192, //20
139,37,73,48,150, //25
163,79,288,149,210, //30
10,100,69,102,150, //35
150,220,59,62,206, //40
30,110,20,155,50, //45
115,136,20,77,36, //50
205,17,158,148,132, //55
100,42,48,168,253, //60
236,32,26,163,79, //65
362,101,89,45,33, //70
261,97,298,76,220, //75
50,242,196,199,217, //80
84,347,241,308,141, //85
85,90,79,197,119, //90
101,259,281,66,179, //95
41,46,145,163,91, //100
162,286; //102
setarray .coordsx_3[0],190, //0
180,231,191,228,224, //5
190,234,194,172,142, //10
182,187,185,216,195, //15
272,173,207,196,46, //20
213,195,257,188,166, //25
248,195,186,221,178, //30
136,240,235,211,220, //35
268,222,232,252,196, //40
216,227,240,185,240, //45
229,115,200,206,204, //50
175,208,179,181,195, //55
235,188,205,245,180, //60
196,82,131,158,151, //65
205,186,134,193,200, //70
137,201,160,194,184, //75
190,240,190,307,239, //80
185,193,187,210,195, //85
198,192,235,202,202, //90
225,202,263,217,87, //95
277,221,175,174,219, //100
177,194,224,198,156, //105
185,206,208,209,85, //110
85,85,85,175,236, //115
188,217,223,237,202, //120
186,196,222,51,202, //125
150,149; //127
setarray .coordsx_4[0],173, //0
212,189,192,221,226, //5
223,187,231,196,183, //10
200,195,210; //13
setarray .coordsy_1[0],208, //0
163,179,124,125,143, //5
159,172,139,98,225, //10
183,272,270,27,236, //15
120,86,118,161,200, //20
95,66,130,145,111, //25
92,108,131,222,244, //30
166,93,75,183,185, //35
105,124,110,168,130, //40
126,168,12,43,14, //45
265,263,17,25,69, //50
17,261,25,24,178, //55
74,159,26,147,154, //60
23,343,262,248,19, //65
169,92,14,14,9, //70
144,310,14,290,195, //75
168,34,168,270,97, //80
236,132,200,304,191, //85
25,70,14,284,255, //90
270,283,78,46,22, //95
274,292,140,49,113, //100
9,29,20,88,15, //105
155,22,247,277,77, //110
229,198,148,148,133, //115
196,20,38,75,147, //120
50,18,72,30,268, //125
32,135; //127
setarray .coordsy_2[0],235, //0
320,145,334,38,170, //5
185,37,13,179,33, //10
63,159,204,336,9, //15
192,92,18,9,10, //20
20,21,79,113,16, //25
219,135,11,81,54, //30
222,99,25,27,39, //35
136,158,143,11,8, //40
166,42,96,100,17, //45
16,116,230,204,272, //50
129,133,35,264,189, //55
192,31,30,168,252, //60
204,63,27,219,134, //65
43,142,29,229,118, //70
261,272,29,101,130, //75
63,47,206,178,162, //80
76,215,201,145,175, //85
346,99,338,181,96, //90
139,215,357,252,221, //95
109,114,88,106,97, //100
43,252; //102
setarray .coordsy_3[0],197, //0
178,160,172,194,203, //5
223,177,175,172,225, //10
141,228,173,173,148, //15
220,214,174,200,199, //20
204,212,192,171,263, //25
158,191,183,117,218, //30
328,181,235,185,227, //35
101,193,185,189,106, //40
220,197,179,235,226, //45
187,145,210,219,120, //50
193,213,180,240,270, //55
202,215,144,223,206, //60
208,104,147,206,219, //65
148,247,204,235,177, //70
189,224,205,150,235, //75
206,206,143,252,213, //80
188,194,218,183,149, //85
164,162,166,206,208, //90
202,214,196,201,121, //95
181,185,200,197,205, //100
206,182,170,216,187, //105
263,228,238,223,97, //110
97,97,97,186,184, //115
204,206,221,215,197, //120
175,370,45,250,324, //125
223,307; //127
setarray .coordsy_4[0],134, //0
150,224,207,157,199, //5
177,232,174,203,214, //10
124,226,304; //13
//Script starts here
cutin @npctype$,2;
mes @name$;
mes "Hello ^660000" +strcharinfo(0)+ "^000000,";
mes .@lang_begin_msg1$;
if(.@warperCost > 0) mes .@lang_begin_msg2$;
mes .@lang_begin_msg3$;
next;
set .@i,0;
if(.@field_warps == 1) {
menu
.@lang_lastmap$+" [^ff0000"+getd(".locations_"+lastwarp_array+"$["+lastwarp+"]")+"^000000]",last_map,
.@lang_city$,city,
.@lang_dungeon$,dungeon,
.@lang_fields$,fields,
.@lang_gdungeon$,g_dungeon,
.@lang_woe$,woe;
} else {
menu
.@lang_lastmap$+" [^ff0000"+getd(".locations_"+lastwarp_array+"$["+lastwarp+"]")+"^000000]",last_map,
.@lang_city$,city,
.@lang_dungeon$,dungeon,
.@lang_gdungeon$,g_dungeon,
.@lang_woe$,woe;
}
cutin "",255;
close;
last_map:
if(getd(".locations_"+lastwarp_array+"$["+lastwarp+"]") == "") {
mes @name$;
mes .@lang_not_warped$;
} else {
set .@warpIndex,lastwarp;
set .@use_location_array,lastwarp_array;
goto main_handling;
}
cutin "",255;
close;
woe:
mes @name$;
mes .@lang_choose_woe$;
menu "Aldebaran",woe_alde,"Geffen",woe_geffen,"Juno",woe_juno,"Payon",woe_payon,"Prontera",woe_prontera,"Rachel",woe_rachel;
cutin "",255;
close;
city:
mes @name$;
mes .@lang_choose_city$;
menu "Alberta",city_alberta,"Aldebaran",city_aldebaran,"Amatsu",city_amatsu,"Ayothaya",city_ayothaya,"Brasilis",city_brasilis,
"Comodo",city_comodo,"Dewata",city_dewata,"Dicastes North",city_dicastes02,"Dicastes South",city_dicastes01,"Einbroch",city_einbroch,
"Einbech",city_einbrech,"Geffen",city_geffen,"Gonryun",city_gonryun,"Hugel",city_hugel,"Izlude",city_izlude,
"Jawaii",city_jawaii,"Juno",city_juno,"Lighthalzen",city_lighthalzen,"Louyang",city_louyang,"Lutie",city_lutie,
"Malangdo",city_malangdo,"Malaya",city_malaya,"Manuk",city_manuk,"Mid Camp",city_midcamp,"Mora",city_mora,
"Morroc",city_morroc,"Moscovia",city_moscovia,"Nameless",city_nameless,"Niflheim",city_niflheim,"Payon",city_payon,
"Prontera",city_prontera,"Rachel",city_rachel,"Splendide",city_splendide,"Umbala",city_umbala,
"Veins",city_veins;
cutin "",255;
close;
dungeon:
mes @name$;
mes .@lang_choose_dungeon$;
menu "Abyss Lake",dun_abyss,"Amatsu Dungeon",dun_amatsu,"Anthell",dun_anthell,"Ayothaya Dungeon",dun_ayothaya,"Beach Dungeon",dun_beach,
"Brasilis Dungeon",dun_brasilis,"Clock Tower",dun_clock,"Coal Mine",dun_coal,"Culvert",dun_culvert,"Cursed Abbey",dun_abbey,
"Dewata Dungeon",dun_dewata,"Dimensional Gorge",dun_dim,"Einbech Dungeon",dun_einbroch,"Endless Tower [^FF0000Instance^000000]",ini_endless,"Gefenia",dun_gefenia,
"Geffen Dungeon",dun_geffen,"Glast Heim",dun_glast,"Gonryun Dungeon",dun_gonryun,"Hidden Dungeon",dun_hidden,"Ice Cave",dun_ice,
"Juperos",dun_juperos,"Kiel Dungeon",dun_kiel,"Lighthalzen Bio Lab",dun_biolab,"Louyang Dungeon",dun_louyang,"Magma Dungeon",dun_magma,
"Malangdo Dungeon",dun_malangdo,"Malaya Dungeon",dun_malaya,"Misty Forest Labyrinth",dun_mist,"Moscovia Dungeon",dun_moscovia,
"Niflheim Fields",dun_niflheim,"Odin Temple",dun_odin,"Orc Dungeon",dun_orc,"Orcish Underground Caves [^FF0000Instance^000000]",ini_orc,"Payon Dungeon",dun_payon,
"Poring Heaven",dun_poring,"Pyramids",dun_pyramid,"Rachel Sanctuary",dun_rachel,"Scaraba Hole Dungeon",dun_scaraba,"Sealed Shrine [^FF0000Instance^000000]",ini_sealed,
"Sphinx",dun_sphinx,"Sunken Ship",dun_sunken,"Thanatos Tower",dun_thanatos,"Thor's Volcano",dun_thor,"Toy Factory",dun_toy,
"Turtle Dungeon",dun_turtle,"Umbala Dungeon",dun_umbala,"Undersea Tunnel",dun_undersea,"Yggdrasil Root",dun_nidhoggur,"Yggdrasil Tree",dun_yggdrasil;
cutin "",255;
close;
fields:
mes @name$;
mes .@lang_choose_fields$;
menu "Amatsu Fields",field_ama,"Ayothaya Fields",field_ayo,"Brasilis Fields",field_bra,"Comodo Fields",field_cmd,"Dewata Fields",field_dew,
"Dicastes Fields",field_dic,"Einbroch Fields",field_ein,"Geffen Fields",field_gef,"Gonryun Fields",field_gon,"Hugel Fields",field_hu,
"Lighthalzen Fields",field_lhz,"Louyang Field",field_lou,"Lutie Field",field_xmas,"Malaya Fields",field_ma,"Manuk Fields",field_man,
"Mjolnir Fields",field_mjolnir,"Mora Fields",field_mora,"Moscovia Fields",field_mosk,"Payon Forests",field_pay,"Prontera Fields",field_prt,"Rachel Fields",field_ra,
"Sograt Deserts",field_moc,"Splendide Fields",field_spl,"Umbala Fields",field_um,"Veins Fields",field_vein,"Yuno Fields",field_yuno;
cutin "",255;
close;
g_dungeon:
mes @name$;
if(getcharid(2) == 0 && .@guild_dungeon_only_owner != 0) {
mes .@lang_no_guild$;
} else {
mes .@lang_choose_gdungeon$;
if(.@guild_dungeon_only_owner == 2) {
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)
|| 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)
|| 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)
|| 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)
|| 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)
|| 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;
}
}
switch(prompt("Aldebaran","Geffen","Juno","Payon","Prontera","Rachel")) {
case 1:
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)))) {
goto gdun_ald;
} else {
next;
mes @name$;
if(.@guild_dungeon_only_owner == 2) {
mes .@lang_no_castles_special$;
} else {
mes .@lang_no_castles$+" Aldebaran!";
}
}
break;
case 2:
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)))) {
goto gdun_gef;
} else {
next;
mes @name$;
if(.@guild_dungeon_only_owner == 2) {
mes .@lang_no_castles_special$;
} else {
mes .@lang_no_castles$+" Geffen!";
}
}
break;
case 3:
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)))) {
goto gdun_sch;
} else {
next;
mes @name$;
if(.@guild_dungeon_only_owner == 2) {
mes .@lang_no_castles_special$;
} else {
mes .@lang_no_castles$+" Juno!";
}
}
break;
case 4:
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)))) {
goto gdun_pay;
} else {
next;
mes @name$;
if(.@guild_dungeon_only_owner == 2) {
mes .@lang_no_castles_special$;
} else {
mes .@lang_no_castles$+" Payon!";
}
}
break;
case 5:
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)))) {
goto gdun_prt;
} else {
next;
mes @name$;
if(.@guild_dungeon_only_owner == 2) {
mes .@lang_no_castles_special$;
} else {
mes .@lang_no_castles$+" Prontera!";
}
}
break;
case 6:
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)))) {
goto gdun_aru;
} else {
next;
mes @name$;
if(.@guild_dungeon_only_owner == 2) {
mes .@lang_no_castles_special$;
} else {
mes .@lang_no_castles$+" Rachel!";
}
}
break;
}
}
cutin "",255;
close;
warp_player:
warp getd(".locations_"+lastwarp_array+"$["+lastwarp+"]"),getd(".coordsx_"+lastwarp_array+"["+lastwarp+"]"),getd(".coordsy_"+lastwarp_array+"["+lastwarp+"]");
cutin "",255;
close;
main_handling:
if(.@guild_dungeon_only_owner != 0 && getgmlevel() < .@ignore_lock_system_on_gmlevel
&& ((.@warpIndex == 0 && .@use_location_array == 1) || (.@warpIndex == 1 && .@use_location_array == 1)
|| (.@warpIndex == 2 && .@use_location_array == 1) || (.@warpIndex == 3 && .@use_location_array == 1)
|| (.@warpIndex == 4 && .@use_location_array == 1) || (.@warpIndex == 5 && .@use_location_array == 1)
|| (.@warpIndex == 97 && .@use_location_array == 2) || (.@warpIndex == 98 && .@use_location_array == 2)
|| (.@warpIndex == 99 && .@use_location_array == 2) || (.@warpIndex == 100 && .@use_location_array == 2))
) {
if(getcharid(2) == 0) {
next;
mes @name$;
mes .@lang_no_guild$;
cutin "",255;
close;
}
if(.@guild_dungeon_only_owner == 1) {
if((.@warpIndex == 1 && .@use_location_array == 1) || (.@warpIndex == 99 && .@use_location_array == 2)) {
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;
set .@missingCastleIn$,"Aldebran";
}
if((.@warpIndex == 0 && .@use_location_array == 1) || (.@warpIndex == 97 && .@use_location_array == 2)) {
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;
set .@missingCastleIn$,"Payon";
}
if((.@warpIndex == 2 && .@use_location_array == 1) || (.@warpIndex == 100 && .@use_location_array == 2)) {
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;
set .@missingCastleIn$,"Prontera";
}
if((.@warpIndex == 3 && .@use_location_array == 1) || (.@warpIndex == 98 && .@use_location_array == 2)) {
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;
set .@missingCastleIn$,"Geffen";
}
if((.@warpIndex == 4 && .@use_location_array == 1)) {
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;
set .@missingCastleIn$,"Juno";
}
if((.@warpIndex == 5 && .@use_location_array == 1)) {
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;
set .@missingCastleIn$,"Rachel";
}
if(.@playerHasACastle != 1) {
next;
mes @name$;
mes .@lang_no_castles$+" "+.@missingCastleIn$;
cutin "",255;
close;
}
}
if(.@guild_dungeon_only_owner == 2) {
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)
|| 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)
|| 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)
|| 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)
|| 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)
|| 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;
}
if(.@playerHasACastle != 1) {
next;
mes @name$;
mes .@lang_no_castles_special$;
cutin "",255;
close;
}
}
}
if(.@warperCost > 0 && zeny < .@warperCost) {
next;
mes @name$;
mes .@lang_not_enough_zeny$;
} else {
if(.@warperCost > 0) set zeny, zeny - .@warperCost;
set lastwarp,.@warpIndex;
set lastwarp_array,.@use_location_array;
goto warp_player;
}
cutin "",255;
close;
dungeon_handling:
set .@i,0;
set .@state, getd(.@stateName$);
while(.@i < getarraysize(.@levelNames$)) {
if(.@recommend_level == 1) setarray .@info$[.@i],"["+@level_color$+.@level$[.@i]+"^000000]";
if(.@use_lock_system != 0 && getgmlevel() < .@ignore_lock_system_on_gmlevel) {
if((.@i > .@state || (.@lockDungeonAtLevel == 1 && .@state == 0)) && .@lockDungeonAtLevel != 0) {
if(.@i >= .@lockDungeonAtLevel-1 || .@i > .@state) {
if(.@lockDungeonAtLevel > 1) {
setarray .@info$[.@i],.@info$[.@i]+@locked$;
} else {
if(.@state == 0 || (.@i > .@state && .@state != .@i-1)) {
setarray .@info$[.@i],.@info$[.@i]+@locked$;
}
}
}
}
}
setarray .@levelNames$[.@i],.@levelNames$[.@i]+" "+.@info$[.@i];
set .@selectMenu$,.@selectMenu$+.@levelNames$[.@i]+":";
set .@i, .@i + 1;
}
set .@showUnlockForm,0;
set .@playerChoice, select(.@selectMenu$)-1;
set .@displayLevel,.@playerChoice+1;
if(((.@playerChoice > .@state || (.@lockDungeonAtLevel == 1 && .@state == 0)) && .@playerChoice >= .@lockDungeonAtLevel-1 && .@lockDungeonAtLevel != 0) && getgmlevel() < .@ignore_lock_system_on_gmlevel) {
if(.@lockDungeonAtLevel == 1) {
if(.@state == 0 || (.@playerChoice > .@state && .@state != .@playerChoice-1)) {
set .@showUnlockForm,1;
}
} else {
set .@showUnlockForm,1;
}
if(.@showUnlockForm == 1) {
next;
mes @name$;
if((.@lockDungeonAtLevel != 1 && .@state+1 < .@playerChoice) || (.@lockDungeonAtLevel == 1 && ((.@state == 0 && .@playerChoice > .@state) || (.@state < 0 && .@state+1 > .@playerChoice) || (.@state > 0 && .@state+1 < .@playerChoice) ))) {
mes .@lang_unlockFail2$;
} else {
mes .@lang_unlockMsg$;
set .@i,0;
while(.@i < getarraysize(getd(".@require_items_"+.@displayLevel))) {
if(getd(".@require_items_"+.@displayLevel+"["+.@i+"]") == 0) continue;
mes getd(".@require_amount_"+.@displayLevel+"["+.@i+"]")*.@lockItemMultiplier+"x"+@item_color$+" "+getitemname(getd(".@require_items_"+.@displayLevel+"["+.@i+"]"))+"^000000";
set .@i, .@i + 1;
}
if(getd(".@zeny_"+.@displayLevel) > 0) mes getd(".@zeny_"+.@displayLevel)*.@lockZenyMultiplier+" Zeny";
switch(prompt(.@lang_unlock_yes$,.@lang_unlock_no$)) {
case 1:
next;
mes @name$;
set .@i,0;
set .@error,0;
while(.@i < getarraysize(getd(".@require_items_"+.@displayLevel))) {
if(countitem(getd(".@require_items_"+.@displayLevel+"["+.@i+"]"))*.@lockItemMultiplier < getd(".@require_amount_"+.@displayLevel+"["+.@i+"]")){
set .@error,1;
}
set .@i, .@i + 1;
}
if(zeny < getd(".@zeny_"+.@displayLevel)*.@lockZenyMultiplier) set .@error,1;
if(.@error == 1) {
mes .@lang_unlockFail$;
} else {
set zeny, zeny - getd(".@zeny_"+.@displayLevel)*.@lockZenyMultiplier;
set .@i,0;
while(.@i < getarraysize(getd(".@require_items_"+.@displayLevel))) {
delitem getd(".@require_items_"+.@displayLevel+"["+.@i+"]"),getd(".@require_amount_"+.@displayLevel+"["+.@i+"]")*.@lockItemMultiplier;
set .@i, .@i + 1;
}
if(.@playerChoice == 0) set .@playerChoice,-1;
setd .@stateName$,.@playerChoice;
mes .@lang_unlockGzMsg$;
}
break;
}
}
cutin "",255;
close;
}
}
if(.@guild_dungeon_only_owner != 0 && getgmlevel() < .@ignore_lock_system_on_gmlevel
&& ((.@warpIndex[.@playerChoice] == 0 && .@use_location_array[.@playerChoice] == 1) || (.@warpIndex[.@playerChoice] == 1 && .@use_location_array[.@playerChoice] == 1)
|| (.@warpIndex[.@playerChoice] == 2 && .@use_location_array[.@playerChoice] == 1) || (.@warpIndex[.@playerChoice] == 3 && .@use_location_array[.@playerChoice] == 1)
|| (.@warpIndex[.@playerChoice] == 4 && .@use_location_array[.@playerChoice] == 1) || (.@warpIndex[.@playerChoice] == 5 && .@use_location_array[.@playerChoice] == 1)
|| (.@warpIndex[.@playerChoice] == 97 && .@use_location_array[.@playerChoice] == 2) || (.@warpIndex[.@playerChoice] == 98 && .@use_location_array[.@playerChoice] == 2)
|| (.@warpIndex[.@playerChoice] == 99 && .@use_location_array[.@playerChoice] == 2) || (.@warpIndex[.@playerChoice] == 100 && .@use_location_array[.@playerChoice] == 2))
) {
if(getcharid(2) == 0) {
next;
mes @name$;
mes .@lang_no_guild$;
cutin "",255;
close;
}
if(.@guild_dungeon_only_owner == 1) {
if((.@warpIndex[.@playerChoice] == 1 && .@use_location_array[.@playerChoice] == 1) || (.@warpIndex[.@playerChoice] == 99 && .@use_location_array[.@playerChoice] == 2)) {
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;
set .@missingCastleIn$,"Aldebran";
}
if((.@warpIndex[.@playerChoice] == 0 && .@use_location_array[.@playerChoice] == 1) || (.@warpIndex[.@playerChoice] == 97 && .@use_location_array[.@playerChoice] == 2)) {
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;
set .@missingCastleIn$,"Payon";
}
if((.@warpIndex[.@playerChoice] == 2 && .@use_location_array[.@playerChoice] == 1) || (.@warpIndex[.@playerChoice] == 100 && .@use_location_array[.@playerChoice] == 2)) {
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;
set .@missingCastleIn$,"Prontera";
}
if((.@warpIndex[.@playerChoice] == 3 && .@use_location_array[.@playerChoice] == 1) || (.@warpIndex[.@playerChoice] == 98 && .@use_location_array[.@playerChoice] == 2)) {
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;
set .@missingCastleIn$,"Geffen";
}
if((.@warpIndex[.@playerChoice] == 4 && .@use_location_array[.@playerChoice] == 1)) {
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;
set .@missingCastleIn$,"Juno";
}
if((.@warpIndex[.@playerChoice] == 5 && .@use_location_array[.@playerChoice] == 1)) {
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;
set .@missingCastleIn$,"Rachel";
}
if(.@playerHasACastle != 1) {
next;
mes @name$;
mes .@lang_no_castles$+" "+.@missingCastleIn$;
cutin "",255;
close;
}
}
if(.@guild_dungeon_only_owner == 2) {
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)
|| 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)
|| 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)
|| 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)
|| 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)
|| 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;
}
if(.@playerHasACastle != 1) {
next;
mes @name$;
mes .@lang_no_castles_special$;
cutin "",255;
close;
}
}
}
if(.@warperCost > 0 && zeny < .@warperCost) {
next;
mes @name$;
mes .@lang_not_enough_zeny$;
} else {
if(.@warperCost > 0) set zeny, zeny - .@warperCost;
set lastwarp,.@warpIndex[.@playerChoice];
set lastwarp_array,.@use_location_array[.@playerChoice];
goto warp_player;
}
cutin "",255;
close;
woe_alde:
set .@warpIndex,6;
set .@use_location_array,1;
goto main_handling;
close;
woe_geffen:
set .@warpIndex,7;
set .@use_location_array,1;
goto main_handling;
close;
woe_payon:
set .@warpIndex,8;
set .@use_location_array,1;
goto main_handling;
close;
woe_prontera:
set .@warpIndex,9;
set .@use_location_array,1;
goto main_handling;
close;
woe_rachel:
set .@warpIndex,10;
set .@use_location_array,1;
goto main_handling;
close;
woe_juno:
set .@warpIndex,11;
set .@use_location_array,1;
goto main_handling;
close;
city_alberta:
set .@warpIndex,15;
set .@use_location_array,1;
goto main_handling;
close;
city_aldebaran:
set .@warpIndex,16;
set .@use_location_array,1;
goto main_handling;
close;
city_amatsu:
set .@warpIndex,17;
set .@use_location_array,1;
goto main_handling;
close;
city_ayothaya:
set .@warpIndex,18;
set .@use_location_array,1;
goto main_handling;
close;
city_brasilis:
set .@warpIndex,78;
set .@use_location_array,2;
goto main_handling;
close;
city_comodo:
set .@warpIndex,19;
set .@use_location_array,1;
goto main_handling;
close;
city_dewata:
set .@warpIndex,79;
set .@use_location_array,2;
goto main_handling;
close;
city_dicastes01:
set .@warpIndex,89;
set .@use_location_array,2;
goto main_handling;
close;
city_dicastes02:
set .@warpIndex,90;
set .@use_location_array,2;
goto main_handling;
close;
city_einbroch:
set .@warpIndex,20;
set .@use_location_array,1;
goto main_handling;
close;
city_einbrech:
set .@warpIndex,21;
set .@use_location_array,1;
goto main_handling;
close;
city_geffen:
set .@warpIndex,22;
set .@use_location_array,1;
goto main_handling;
close;
city_gonryun:
set .@warpIndex,23;
set .@use_location_array,1;
goto main_handling;
close;
city_hugel:
set .@warpIndex,24;
set .@use_location_array,1;
goto main_handling;
close;
city_izlude:
set .@warpIndex,25;
set .@use_location_array,1;
goto main_handling;
close;
city_jawaii:
set .@warpIndex,80;
set .@use_location_array,2;
goto main_handling;
close;
city_juno:
set .@warpIndex,42;
set .@use_location_array,1;
goto main_handling;
close;
city_lighthalzen:
set .@warpIndex,26;
set .@use_location_array,1;
goto main_handling;
close;
city_louyang:
set .@warpIndex,27;
set .@use_location_array,1;
goto main_handling;
close;
city_lutie:
set .@warpIndex,28;
set .@use_location_array,1;
goto main_handling;
close;
city_malaya:
set .@warpIndex,93;
set .@use_location_array,2;
goto main_handling;
close;
city_malangdo:
set .@warpIndex,75;
set .@use_location_array,2;
goto main_handling;
close;
city_manuk:
set .@warpIndex,29;
set .@use_location_array,1;
goto main_handling;
close;
city_midcamp:
set .@warpIndex,30;
set .@use_location_array,1;
goto main_handling;
close;
city_mora:
set .@warpIndex,31;
set .@use_location_array,1;
goto main_handling;
close;
city_morroc:
set .@warpIndex,32;
set .@use_location_array,1;
goto main_handling;
close;
city_moscovia:
set .@warpIndex,33;
set .@use_location_array,1;
goto main_handling;
close;
city_nameless:
set .@warpIndex,34;
set .@use_location_array,1;
goto main_handling;
close;
city_niflheim:
set .@warpIndex,35;
set .@use_location_array,1;
goto main_handling;
close;
city_payon:
set .@warpIndex,36;
set .@use_location_array,1;
goto main_handling;
close;
city_prontera:
set .@warpIndex,37;
set .@use_location_array,1;
goto main_handling;
close;
city_rachel:
set .@warpIndex,38;
set .@use_location_array,1;
goto main_handling;
close;
city_splendide:
set .@warpIndex,39;
set .@use_location_array,1;
goto main_handling;
close;
city_umbala:
set .@warpIndex,40;
set .@use_location_array,1;
goto main_handling;
close;
city_veins:
set .@warpIndex,41;
set .@use_location_array,1;
goto main_handling;
close;
gdun_ald:
setarray .@warpIndex[0],1,97;
setarray .@use_location_array[0],1,2;
setarray .@levelNames$[0],"Aldebran Stage #1","Aldebran Stage #2";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_gdun_ald";
setarray .@level$[0],"60-75","80-99";
set .@zeny_2,10000000;
goto dungeon_handling;
close;
gdun_gef:
setarray .@warpIndex[0],3,98;
setarray .@use_location_array[0],1,2;
setarray .@levelNames$[0],"Geffen Stage #1","Geffen Stage #2";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_gdun_gef";
setarray .@level$[0],"65-75","80-99";
set .@zeny_2,10000000;
goto dungeon_handling;
close;
gdun_prt:
setarray .@warpIndex[0],2,100;
setarray .@use_location_array[0],1,2;
setarray .@levelNames$[0],"Prontera Stage #1","Prontera Stage #2";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_gdun_prt";
setarray .@level$[0],"60-75","80-99";
set .@zeny_2,10000000;
goto dungeon_handling;
close;
gdun_pay:
setarray .@warpIndex[0],0,99;
setarray .@use_location_array[0],1,2;
setarray .@levelNames$[0],"Payon Stage #1","Payon Stage #2";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_gdun_pay";
setarray .@level$[0],"60-75","80-99";
set .@zeny_2,10000000;
goto dungeon_handling;
close;
gdun_sch:
set .@warpIndex,4;
set .@use_location_array,1;
goto main_handling;
close;
gdun_aru:
set .@warpIndex,5;
set .@use_location_array,1;
goto main_handling;
close;
dun_abyss:
setarray .@warpIndex[0],12,13,14;
setarray .@use_location_array[0],1,1,1;
setarray .@levelNames$[0],"Abyss Dungeon 1","Abyss Dungeon 2","Abyss Dungeon 3";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_abyss";
setarray .@level$[0],"70-80","75-90","85-95";
setarray .@require_items_2[0],7477,7445,7446;
setarray .@require_amount_2[0],20,20,10;
set .@zeny_2,25000;
setarray .@require_items_3[0],7448,7443;
setarray .@require_amount_3[0],30,1;
set .@zeny_3,50000;
goto dungeon_handling;
close;
dun_amatsu:
setarray .@warpIndex[0],43,44,45;
setarray .@use_location_array[0],1,1,1;
setarray .@levelNames$[0],"Amatsu Dungeon 1","Amatsu Dungeon 2","Amatsu Dungeon 3";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_amatsu";
setarray .@level$[0],"30-50","40-50","50-70";
setarray .@require_items_2[0],7155,7153,549;
setarray .@require_amount_2[0],15,15,15;
set .@zeny_2,10000;
setarray .@require_items_3[0],7156,7159,7112;
setarray .@require_amount_3[0],15,30,10;
set .@zeny_3,25000;
goto dungeon_handling;
close;
dun_anthell:
setarray .@warpIndex[0],46,47;
setarray .@use_location_array[0],1,1;
setarray .@levelNames$[0],"Anthell Dungeon 1","Anthell Dungeon 2";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_abyss";
set .@state,state_dun_anthell;
setarray .@level$[0],"15-20","20-25";
setarray .@require_items_2[0],1040,955,993;
setarray .@require_amount_2[0],10,25,3;
set .@zeny_2,5000;
goto dungeon_handling;
close;
dun_ayothaya:
setarray .@warpIndex[0],48,49;
setarray .@use_location_array[0],1,1;
setarray .@levelNames$[0],"Ayothaya Dungeon 1","Ayothaya Dungeon 2";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_ayothaya";
setarray .@level$[0],"40-50","45-55";
setarray .@require_items_2[0],7301,7298;
setarray .@require_amount_2[0],50,15;
set .@zeny_2,25000;
goto dungeon_handling;
close;
dun_beach:
setarray .@warpIndex[0],51,52,50;
setarray .@use_location_array[0],1,1,1;
setarray .@levelNames$[0],"Beach Dungeon North","Beach Dungeon East","Beach Dungeon West";
set .@lockDungeonAtLevel,0;
set .@stateName$,"state_dun_beach";
setarray .@level$[0],"55-65","15-25","70-80";
goto dungeon_handling;
close;
dun_clock:
setarray .@warpIndex[0],57,58,59,60,53,54,55,56;
setarray .@use_location_array[0],1,1,1,1,1,1,1,1;
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";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_clock";
setarray .@level$[0],"65-75","70-80","70-80","80-90","70-80","75-85","75-85","70-80";
setarray .@require_items_2[0],7027,1057,7015;
setarray .@require_amount_2[0],20,20,1;
set .@zeny_2,15000;
setarray .@require_items_3[0],1095,7026;
setarray .@require_amount_3[0],50,1;
set .@zeny_3,15000;
setarray .@require_items_4[0],7063,984;
setarray .@require_amount_4[0],20,15;
set .@zeny_4,15000;
setarray .@require_items_5[0],7006,1096;
setarray .@require_amount_5[0],50,30;
set .@zeny_5,25000;
setarray .@require_items_6[0],931,7009;
setarray .@require_amount_6[0],50,25;
set .@zeny_6,25000;
setarray .@require_items_7[0],7013,7007;
setarray .@require_amount_7[0],50,15;
set .@zeny_7,25000;
setarray .@require_items_8[0],1061,695;
setarray .@require_amount_8[0],30,1;
set .@zeny_8,50000;
goto dungeon_handling;
close;
dun_coal:
setarray .@warpIndex[0],61,62,63;
setarray .@use_location_array[0],1,1,1;
setarray .@levelNames$[0],"Coal Mines 1","Coal Mines 2","Coal Mines 3";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_coal";
setarray .@level$[0],"15-25","50-60","50-60";
setarray .@require_items_2[0],1003,1017;
setarray .@require_amount_2[0],25,50;
set .@zeny_2,5000;
setarray .@require_items_3[0],1003,1041;
setarray .@require_amount_3[0],25,50;
set .@zeny_3,15000;
goto dungeon_handling;
close;
dun_culvert:
setarray .@warpIndex[0],64,65,66,67;
setarray .@use_location_array[0],1,1,1,1;
setarray .@levelNames$[0],"Culvert 1","Culvert 2","Culvert 3","Culvert 4";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_culvert";
setarray .@level$[0],"15-25","15-25","15-25","20-45";
setarray .@require_items_2[0],1016,921,955;
setarray .@require_amount_2[0],15,15,25;
set .@zeny_2,5000;
setarray .@require_items_3[0],928,7033;
setarray .@require_amount_3[0],50,10;
set .@zeny_3,5000;
setarray .@require_items_4[0],928,726;
setarray .@require_amount_4[0],100,5;
set .@zeny_4,15000;
goto dungeon_handling;
close;
dun_abbey:
setarray .@warpIndex[0],92,68,69,70;
setarray .@use_location_array[0],2,1,1,1;
setarray .@levelNames$[0],"Nameless Island","Cursed Abbey 1","Cursed Abbey 2","Cursed Abbey 3";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_abbey";
setarray .@level$[0],"70-85","70-85","75-85","85-95";
setarray .@require_items_2[0],7752,7753;
setarray .@require_amount_2[0],50,50;
set .@zeny_2,15000;
setarray .@level$[0],"70-85","75-85","85-95";
setarray .@require_items_3[0],7752,7753;
setarray .@require_amount_3[0],50,50;
set .@zeny_3,25000;
setarray .@require_items_4[0],7751,7117,958;
setarray .@require_amount_4[0],25,15,10;
set .@zeny_4,50000;
goto dungeon_handling;
close;
dun_dim:
setarray .@warpIndex[0],71,72,75;
setarray .@use_location_array[0],1,1,1;
setarray .@levelNames$[0],"Dimensional Gorge 1","Dimensional Gorge 2","Dimensional Gorge 3";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_dim";
setarray .@level$[0],"95-99","95-99","95-99";
setarray .@require_items_2[0],7798,8899;
setarray .@require_amount_2[0],50,50;
set .@zeny_2,250000;
setarray .@require_items_3[0],1541,2129,7798;
setarray .@require_amount_3[0],1,1,100;
set .@zeny_3,500000;
goto dungeon_handling;
close;
dun_einbroch:
setarray .@warpIndex[0],73,74;
setarray .@use_location_array[0],1,1;
setarray .@levelNames$[0],"Einbroch Dungeon 1","Einbroch Dungeon 2";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_einbroch";
setarray .@level$[0],"30-40","50-60";
setarray .@require_items_2[0],7323,7321,7317;
setarray .@require_amount_2[0],15,50,50;
set .@zeny_2,25000;
goto dungeon_handling;
close;
dun_gefenia:
setarray .@warpIndex[0],76,77,78,79;
setarray .@use_location_array[0],1,1,1,1;
setarray .@levelNames$[0],"Gefenia 1","Gefenia 2","Gefenia 3","Gefenia 4";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_gefenia";
setarray .@level$[0],"60-75","70-80","70-80","70-80";
setarray .@require_items_2[0],12020,1060;
setarray .@require_amount_2[0],10,50;
set .@zeny_2,15000;
setarray .@require_items_3[0],12020,1064,1038;
setarray .@require_amount_3[0],20,5,50;
set .@zeny_3,15000;
setarray .@require_items_4[0],12020,7292,7297,7290;
setarray .@require_amount_4[0],30,1,1,1;
set .@zeny_4,25000;
goto dungeon_handling;
close;
dun_geffen:
setarray .@warpIndex[0],80,81,82,83;
setarray .@use_location_array[0],1,1,1,1;
setarray .@levelNames$[0],"Geffen Dungeon 1","Geffen Dungeon 2","Geffen Dungeon 3","Geffen Dungeon 4";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_geffen";
setarray .@level$[0],"35-50","60-70","65-75","80-90";
setarray .@require_items_2[0],1062,944,958;
setarray .@require_amount_2[0],50,25,25;
set .@zeny_2,15000;
setarray .@require_items_3[0],944,1060,1038;
setarray .@require_amount_3[0],25,25,25;
set .@zeny_3,15000;
setarray .@require_items_4[0],1059,7337,996;
setarray .@require_amount_4[0],25,2,1;
set .@zeny_4,25000;
goto dungeon_handling;
close;
dun_glast:
setarray .@warpIndex[0],84,85,86,87,88,89,90,91,92,93,94,95,96,97,98;
setarray .@use_location_array[0],1,1,1,1,1,1,1,1,1,1,1,1,1,1,1;
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";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_glast";
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";
setarray .@require_items_2[0],536,734,1055;
setarray .@require_amount_2[0],10,10,1;
set .@zeny_2,15000;
setarray .@require_items_3[0],7054,7005;
setarray .@require_amount_3[0],30,30;
set .@zeny_3,15000;
setarray .@require_items_4[0],1099,1015;
setarray .@require_amount_4[0],30,30;
set .@zeny_4,15000;
setarray .@require_items_5[0],7053,1098,1806;
setarray .@require_amount_5[0],50,50;
set .@zeny_5,1500;
setarray .@require_items_6[0],958,1059;
setarray .@require_amount_6[0],50,30;
set .@zeny_6,15000;
setarray .@require_items_7[0],1769;
setarray .@require_amount_7[0],25;
set .@zeny_7,15000;
setarray .@require_items_8[0],1769,726;
setarray .@require_amount_8[0],25,1;
set .@zeny_8,15000;
setarray .@require_items_9[0],1769,7004;
setarray .@require_amount_9[0],25,25;
set .@zeny_9,15000;
setarray .@require_items_10[0],7003;
setarray .@require_amount_10[0],75;
set .@zeny_10,15000;
setarray .@require_items_11[0],610;
setarray .@require_amount_11[0],10;
set .@zeny_11,20000;
setarray .@require_items_12[0],7004,716;
setarray .@require_amount_12[0],50,15;
set .@zeny_12,20000;
setarray .@require_items_13[0],941,1000;
setarray .@require_amount_13[0],50,5;
set .@zeny_13,20000;
setarray .@require_items_14[0],1064,985,984;
setarray .@require_amount_14[0],15,15,15;
set .@zeny_14,25000;
setarray .@require_items_15[0],1004;
setarray .@require_amount_15[0],1;
set .@zeny_15,25000;
goto dungeon_handling;
close;
dun_gonryun:
setarray .@warpIndex[0],99,100,101;
setarray .@use_location_array[0],1,1,1;
setarray .@levelNames$[0],"Gonryun Dungeon 1","Gonryun Dungeon 2","Gonryun Dungeon 3";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_gonryun";
setarray .@level$[0],"50-60","50-60","60-70";
setarray .@require_items_2[0],924,7164,7171,7162;
setarray .@require_amount_2[0],25,25,10,10;
set .@zeny_2,15000;
setarray .@require_items_3[0],7165,1032,7162;
setarray .@require_amount_3[0],25,25,25;
set .@zeny_3,25000;
goto dungeon_handling;
close;
dun_hidden:
setarray .@warpIndex[0],102,103,104;
setarray .@use_location_array[0],1,1,1;
setarray .@levelNames$[0],"Hidden Dungeon 1","Hidden Dungeon 2","Hidden Dungeon 3";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_hidden";
setarray .@level$[0],"1-40","15-30","45-60";
setarray .@require_items_2[0],948,938;
setarray .@require_amount_2[0],50,50;
set .@zeny_2,10000;
setarray .@require_items_3[0],954,1031,7012,923;
setarray .@require_amount_3[0],25,25,25,5;
set .@zeny_3,25000;
goto dungeon_handling;
close;
dun_ice:
setarray .@warpIndex[0],105,106,107;
setarray .@use_location_array[0],1,1,1;
setarray .@levelNames$[0],"Ice Cave 1","Ice Cave 2","Ice Cave 3";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_ice";
setarray .@level$[0],"40-50","60-75","65-75";
setarray .@require_items_2[0],7561,7066,1806;
setarray .@require_amount_2[0],35,15;
set .@zeny_2,15000;
setarray .@require_items_3[0],7561,995,749;
setarray .@require_amount_3[0],50,1,1;
set .@zeny_3,50000;
goto dungeon_handling;
close;
dun_juperos:
setarray .@warpIndex[0],108,109,110;
setarray .@use_location_array[0],1,1,1;
setarray .@levelNames$[0],"Juperos Dungeon 1","Juperos Dungeon 2","Juperos Core";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_juperos";
setarray .@level$[0],"60-75","65-75","75-90";
setarray .@require_items_2[0],7094,7356,7357,7358,7359;
setarray .@require_amount_2[0],25,1,1,1,1;
set .@zeny_2,15000;
setarray .@require_items_3[0],999,7352,7353,7354,7355;
setarray .@require_amount_3[0],50,1,1,1,1;
set .@zeny_3,50000;
goto dungeon_handling;
close;
dun_kiel:
setarray .@warpIndex[0],111,112;
setarray .@use_location_array[0],1,1;
setarray .@levelNames$[0],"Kiel Dungeon 1","Kiel Dungeon 2";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_kiel";
setarray .@level$[0],"50-60","70-80";
setarray .@require_items_2[0],7512;
setarray .@require_amount_2[0],50;
set .@zeny_2,50000;
goto dungeon_handling;
close;
dun_biolab:
setarray .@warpIndex[0],113,114,115,77;
setarray .@use_location_array[0],1,1,1,2;
setarray .@levelNames$[0],"Bio Lab 1","Bio Lab 2","Bio Lab 3","Bio Lab 4";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_biolab";
setarray .@level$[0],"50-65","60-80","90-99","120-150";
setarray .@require_items_2[0],7319,7347,7345;
setarray .@require_amount_2[0],25,25,25;
set .@zeny_2,25000;
setarray .@require_items_3[0],7347,7345,678,1163;
setarray .@require_amount_3[0],25,25,5,1;
set .@zeny_3,50000;
setarray .@require_items_4[0],7345;
setarray .@require_amount_4[0],50;
set .@zeny_4,50000;
goto dungeon_handling;
close;
dun_louyang:
setarray .@warpIndex[0],116,117,118;
setarray .@use_location_array[0],1,1,1;
setarray .@levelNames$[0],"Louyang Dungeon 1","Louyang Dungeon 2","Louyang Dungeon 3";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_louyang";
setarray .@level$[0],"50-60","50-60","60-70";
setarray .@require_items_2[0],901,7277;
setarray .@require_amount_2[0],25,3;
set .@zeny_2,15000;
setarray .@require_items_3[0],7038,7263,5042;
setarray .@require_amount_3[0],25,25,1;
set .@zeny_3,25000;
goto dungeon_handling;
close;
dun_nidhoggur:
setarray .@warpIndex[0],119,120,121,122;
setarray .@use_location_array[0],1,1,1,1;
setarray .@levelNames$[0],"Berserker's Scar 1","Berserker's Scar 2","Nidhoggr's Nest 1","Nidhoggr's Nest 2";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_nidhoggur";
setarray .@level$[0],"80-85","80-85","80-90","80-90";
setarray .@require_items_2[0],6073,6075,6086;
setarray .@require_amount_2[0],25,10,5;
set .@zeny_2,25000;
setarray .@require_items_3[0],6087,6088,6089;
setarray .@require_amount_3[0],2,2,2;
set .@zeny_3,50000;
setarray .@require_items_4[0],6089,6087,6088,6086;
setarray .@require_amount_4[0],75,5,5,5;
set .@zeny_4,75000;
goto dungeon_handling;
close;
dun_malaya:
setarray .@warpIndex[0],96;
setarray .@use_location_array[0],2;
setarray .@levelNames$[0],"Malaya Dungeon 1";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_malaya";
setarray .@level$[0],"Unknown";
goto dungeon_handling;
close;
dun_magma:
setarray .@warpIndex[0],123,124;
setarray .@use_location_array[0],1,1;
setarray .@levelNames$[0],"Magma Dungeon 1","Magma Dungeon 2";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_magma";
setarray .@level$[0],"60-70","70-80";
setarray .@require_items_2[0],7097,1037,7125;
setarray .@require_amount_2[0],25,25,5;
set .@zeny_2,15000;
goto dungeon_handling;
close;
dun_moscovia:
setarray .@warpIndex[0],125,126,127;
setarray .@use_location_array[0],1,1,1;
setarray .@levelNames$[0],"Moscovia Dungeon 1","Moscovia Dungeon 2","Moscovia Dungeon 3";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_moscovia";
setarray .@level$[0],"30-40","35-45","50-60";
setarray .@require_items_2[0],7100,7762,621;
setarray .@require_amount_2[0],25,10,2;
set .@zeny_2,10000;
setarray .@require_items_3[0],629,707;
setarray .@require_amount_3[0],1,1;
set .@zeny_3,15000;
goto dungeon_handling;
close;
dun_niflheim:
setarray .@warpIndex[0],0,1;
setarray .@use_location_array[0],2,2;
setarray .@levelNames$[0],"Niflheim Field 1","Niflheim Field 2";
set .@lockDungeonAtLevel,0;
set .@stateName$,"state_dun_niflheim";
setarray .@level$[0],"70-85","50-60";
goto dungeon_handling;
close;
dun_odin:
setarray .@warpIndex[0],2,3,4;
setarray .@use_location_array[0],2,2,2;
setarray .@levelNames$[0],"Odin's Temple 1","Odin's Temple 2","Odin's Temple 3";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_odin";
setarray .@level$[0],"70-80","70-80","80-90";
setarray .@require_items_2[0],7511,739;
setarray .@require_amount_2[0],50,5;
set .@zeny_2,25000;
setarray .@require_items_3[0],7511,7510;
setarray .@require_amount_3[0],75,1;
set .@zeny_3,50000;
goto dungeon_handling;
close;
dun_orc:
setarray .@warpIndex[0],5,6;
setarray .@use_location_array[0],2,2;
setarray .@levelNames$[0],"Orc Dungeon 1","Orc Dungeon 2";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_orc";
setarray .@level$[0],"45-55","45-55";
setarray .@require_items_2[0],1043,1044,922;
setarray .@require_amount_2[0],50,50,50;
set .@zeny_2,5000;
goto dungeon_handling;
close;
dun_payon:
setarray .@warpIndex[0],9,10,11,12,13;
setarray .@use_location_array[0],2,2,2,2,2;
setarray .@levelNames$[0],"Payon Dungeon 1","Payon Dungeon 2","Payon Dungeon 3","Payon Dungeon 4","Payon Dungeon 5";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_payon";
setarray .@level$[0],"10-25","45-55","55-60","55-60","60-70";
setarray .@require_items_2[0],932,7032;
setarray .@require_amount_2[0],25,5;
set .@zeny_2,5000;
setarray .@require_items_3[0],901,1094,7014;
setarray .@require_amount_3[0],50,50,1;
set .@zeny_3,5000;
setarray .@require_items_4[0],1020,1049;
setarray .@require_amount_4[0],50,1;
set .@zeny_4,15000;
setarray .@require_items_5[0],1022,1021,953;
setarray .@require_amount_5[0],50,50,25;
set .@zeny_5,50000;
goto dungeon_handling;
close;
dun_poring:
setarray .@warpIndex[0],14;
setarray .@use_location_array[0],2;
setarray .@levelNames$[0],"Poring Heaven";
set .@lockDungeonAtLevel,0;
set .@stateName$,"state_dun_poring";
setarray .@level$[0],"1-25";
goto dungeon_handling;
close;
dun_pyramid:
setarray .@warpIndex[0],15,16,17,18,19,20;
setarray .@use_location_array[0],2,2,2,2,2,2;
setarray .@levelNames$[0],"Pyramid Dungeon 1","Pyramid Dungeon 2","Pyramid Dungeon 3","Pyramid Dungeon 4","Pyramid Basement 1","Pyramid Basement 2";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_pyramid";
setarray .@level$[0],"10-20","45-55","50-60","55-65","55-65","55-65";
setarray .@require_items_2[0],930,932;
setarray .@require_amount_2[0],30,15;
set .@zeny_2,5000;
setarray .@require_items_3[0],929,930,919;
setarray .@require_amount_3[0],50,25,10;
set .@zeny_3,5000;
setarray .@require_items_4[0],936,919;
setarray .@require_amount_4[0],25,25;
set .@zeny_4,5000;
setarray .@require_items_5[0],941,930;
setarray .@require_amount_5[0],30,20;
set .@zeny_5,15000;
setarray .@require_items_6[0],500,700;
setarray .@require_amount_6[0],50,30;
set .@zeny_6,50000;
goto dungeon_handling;
close;
dun_rachel:
setarray .@warpIndex[0],21,22,23,24,25;
setarray .@use_location_array[0],2,2,2,2,2;
setarray .@levelNames$[0],"Rachel Sanctuary 1","Rachel Sanctuary 2","Rachel Sanctuary 3","Rachel Sanctuary 4","Rachel Sanctuary 5";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_rachel";
setarray .@level$[0],"50-65","50-65","60-70","65-80","65-80";
setarray .@require_items_2[0],7563,7568,7340;
setarray .@require_amount_2[0],25,25,5;
set .@zeny_2,15000;
setarray .@require_items_3[0],1061,7340;
setarray .@require_amount_3[0],25,25;
set .@zeny_3,15000;
setarray .@require_items_4[0],9567,7563;
setarray .@require_amount_4[0],50,30;
set .@zeny_4,15000;
setarray .@require_items_5[0],7563;
setarray .@require_amount_5[0],200;
set .@zeny_5,50000;
goto dungeon_handling;
close;
dun_sphinx:
setarray .@warpIndex[0],28,29,30,31,32;
setarray .@use_location_array[0],2,2,2,2,2;
setarray .@levelNames$[0],"Sphinx 1","Sphinx 2","Sphinx 3","Sphinx 4","Sphinx 5";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_sphinx";
setarray .@level$[0],"55-65","60-70","65-75","75-85","70-80";
setarray .@require_items_2[0],958,2339;
setarray .@require_amount_2[0],50,1;
set .@zeny_2,15000;
setarray .@require_items_3[0],1045,7121;
setarray .@require_amount_3[0],50,25;
set .@zeny_3,15000;
setarray .@require_items_4[0],941,7121;
setarray .@require_amount_4[0],25,25;
set .@zeny_4,25000;
setarray .@require_items_5[0],7121,954,930;
setarray .@require_amount_5[0],50,25,15;
set .@zeny_5,50000;
goto dungeon_handling;
close;
dun_sunken:
setarray .@warpIndex[0],33,34;
setarray .@use_location_array[0],2,2;
setarray .@levelNames$[0],"Sunken Ship 1","Sunken Ship 2";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_sunken";
setarray .@level$[0],"30-40","50-60";
setarray .@require_items_2[0],932,955,7013;
setarray .@require_amount_2[0],50,30,10;
set .@zeny_2,50000;
goto dungeon_handling;
close;
dun_thanatos:
setarray .@warpIndex[0],35,36,37,38,39,40,41,42,43,44,45,46,47;
setarray .@use_location_array[0],2,2,2,2,2,2,2,2,2,2,2,2,2;
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";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_thantaos";
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";
setarray .@require_items_2[0],7047,7099,7440;
setarray .@require_amount_2[0],5,5,1;
set .@zeny_2,10000;
setarray .@require_items_3[0],7449,722;
setarray .@require_amount_3[0],20,1;
set .@zeny_3,20000;
setarray .@require_items_4[0],7071,7436;
setarray .@require_amount_4[0],50,1;
set .@zeny_4,30000;
setarray .@require_items_5[0],7071,7449;
setarray .@require_amount_5[0],75,25;
set .@zeny_5,40000;
setarray .@require_items_6[0],7071,7449,715,716,717;
setarray .@require_amount_6[0],100,50,5,5,5;
set .@zeny_6,50000;
setarray .@require_items_7[0],7440,7441,7442,7439;
setarray .@require_amount_7[0],5,5,1,1;
set .@zeny_7,60000;
setarray .@require_items_8[0],7440,7441,7442,7438;
setarray .@require_amount_8[0],5,5,1,2;
set .@zeny_8,75000;
setarray .@require_items_9[0],7440,7441,12040,7436;
setarray .@require_amount_9[0],10,10,1,2;
set .@zeny_9,100000;
setarray .@require_items_10[0],7440,7441,12040,7437;
setarray .@require_amount_10[0],10,10,1,2;
set .@zeny_10,125000;
setarray .@require_items_11[0],7440,7441,7435,7439;
setarray .@require_amount_11[0],15,15,2,2;
set .@zeny_11,150000;
setarray .@require_items_12[0],7440,7441,7435,7438;
setarray .@require_amount_12[0],30,30,5,5;
set .@zeny_12,175000;
setarray .@require_items_13[0],7450;
setarray .@require_amount_13[0],1;
set .@zeny_13,200000;
goto dungeon_handling;
close;
dun_thor:
setarray .@warpIndex[0],48,49,50;
setarray .@use_location_array[0],2,2,2;
setarray .@levelNames$[0],"Thor's Volcano 1","Thor's Volcano 2","Thor's Volcano 3";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_thor";
setarray .@level$[0],"75-90","60-80","85-95";
setarray .@require_items_2[0],1040,7098,7122;
setarray .@require_amount_2[0],50,20,20;
set .@zeny_2,25000;
setarray .@require_items_3[0],7112,7097,944;
setarray .@require_amount_3[0],75,75,3;
set .@zeny_3,50000;
goto dungeon_handling;
close;
dun_toy:
setarray .@warpIndex[0],51,52;
setarray .@use_location_array[0],2,2;
setarray .@levelNames$[0],"Toy Factory 1","Toy Factory 2";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_toy";
setarray .@level$[0],"55-65","60-70";
setarray .@require_items_2[0],530,539,529,538,7269;
setarray .@require_amount_2[0],25,25,25,25,1;
set .@zeny_2,15000;
goto dungeon_handling;
close;
dun_turtle:
setarray .@warpIndex[0],53,54,55,56;
setarray .@use_location_array[0],2,2,2,2;
setarray .@levelNames$[0],"Turtle Dungeon 1","Turtle Dungeon 2","Turtle Dungeon 3","Turtle Dungeon 4";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_turtle";
setarray .@level$[0],"45-55","50-65","50-65","60-70";
setarray .@require_items_2[0],967,7066,7067;
setarray .@require_amount_2[0],50,25,25;
set .@zeny_2,15000;
setarray .@require_items_3[0],967,7066,7072,7068;
setarray .@require_amount_3[0],75,25,25,25;
set .@zeny_3,15000;
setarray .@require_items_4[0],967,7066,7072,7068,7005;
setarray .@require_amount_4[0],100,40,40,40,5;
set .@zeny_4,50000;
goto dungeon_handling;
close;
dun_umbala:
setarray .@warpIndex[0],57,58;
setarray .@use_location_array[0],2,2;
setarray .@levelNames$[0],"Umbala Dungeon 1","Umbala Dungeon 2";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_umbala";
setarray .@level$[0],"30-40","45-55";
setarray .@require_items_2[0],7195,7189,7197,1012;
setarray .@require_amount_2[0],20,20,20,20;
set .@zeny_2,15000;
goto dungeon_handling;
close;
dun_undersea:
setarray .@warpIndex[0],59,60,61,62,63,85;
setarray .@use_location_array[0],2,2,2,2,2,2;
setarray .@levelNames$[0],"Undersea Tunnel F1","Undersea Tunnel F2","Undersea Tunnel F3","Undersea Tunnel F4","Undersea Tunnel F5","Undersea Tunnel F6";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_undersea";
setarray .@level$[0],"15-35","30-40","45-55","50-60","65-75","110-120";
setarray .@require_items_2[0],960,1052,962,955,961;
setarray .@require_amount_2[0],15,15,15,15,15;
set .@zeny_2,5000;
setarray .@require_items_3[0],950,1024;
setarray .@require_amount_3[0],40,40;
set .@zeny_3,5000;
setarray .@require_items_4[0],1023,963,1051,951;
setarray .@require_amount_4[0],25,25,15,15;
set .@zeny_4,15000;
setarray .@require_items_5[0],951,1054,720;
setarray .@require_amount_5[0],50,50,3;
set .@zeny_5,15000;
setarray .@require_items_6[0],1024,7013,7938;
setarray .@require_amount_6[0],50,50,1;
set .@zeny_6,25000;
goto dungeon_handling;
close;
dun_scaraba:
setarray .@warpIndex[0],66,67,91;
setarray .@use_location_array[0],2,2,2;
setarray .@levelNames$[0],"Scaraba Hole Dungeon 1","Scaraba Hole Dungeon 2","Scaraba Hole Dungeon 3";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_scaraba";
setarray .@level$[0],"110-120","120-130","120-130";
setarray .@require_items_2[0],6321;
setarray .@require_amount_2[0],75;
set .@zeny_2,50000;
setarray .@require_items_2[0],6321;
setarray .@require_amount_2[0],100;
set .@zeny_2,50000;
goto dungeon_handling;
close;
dun_mist:
setarray .@warpIndex[0],68;
setarray .@use_location_array[0],2;
setarray .@levelNames$[0],"Misty Forest Labyrinth";
set .@lockDungeonAtLevel,0;
set .@stateName$,"state_dun_mist";
setarray .@level$[0],"140-150";
goto dungeon_handling;
close;
dun_malangdo:
setarray .@warpIndex[0],69;
setarray .@use_location_array[0],2;
setarray .@levelNames$[0],"Malangdo Dungeon 1";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_malangdo";
setarray .@level$[0],"50-70";
goto dungeon_handling;
close;
dun_brasilis:
setarray .@warpIndex[0],70,71;
setarray .@use_location_array[0],2,2;
setarray .@levelNames$[0],"Brasilis Dungeon 1","Brasilis Dungeon 2";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_brasilis";
setarray .@level$[0],"70-85","70-85";
setarray .@require_items_2[0],963,950,747;
setarray .@require_amount_2[0],25,25,1;
set .@zeny_2,50000;
goto dungeon_handling;
close;
dun_dewata:
setarray .@warpIndex[0],72,73;
setarray .@use_location_array[0],2,2;
setarray .@levelNames$[0],"Dewata Dungeon 1","Dewata Dungeon 2";
set .@lockDungeonAtLevel,2;
set .@stateName$,"state_dun_dewata";
setarray .@level$[0],"60-70","70-85";
setarray .@require_items_2[0],6403,1021;
setarray .@require_amount_2[0],50,50;
set .@zeny_2,50000;
goto dungeon_handling;
close;
dun_yggdrasil:
setarray .@warpIndex[0],76;
setarray .@use_location_array[0],2;
setarray .@levelNames$[0],"Hvergelmir's Fountain";
set .@lockDungeonAtLevel,0;
set .@stateName$,"state_dun_yggdrasil";
setarray .@level$[0],"1";
goto dungeon_handling;
close;
ini_orc:
set .@warpIndex,83;
set .@use_location_array,2;
goto main_handling;
close;
ini_sealed:
set .@warpIndex,84;
set .@use_location_array,2;
goto main_handling;
close;
ini_endless:
set .@warpIndex,74;
set .@use_location_array,2;
goto main_handling;
close;
field_ama:
setarray .@warpIndex[0],0;
setarray .@use_location_array[0],3;
setarray .@levelNames$[0],"Amatsu Field 1";
setarray .@level$[0],"30-50";
goto dungeon_handling;
close;
field_ayo:
setarray .@warpIndex[0],0,1;
setarray .@use_location_array[0],4,4;
setarray .@levelNames$[0],"Ayotha Field 1","Ayotha Field 2";
setarray .@level$[0],"20-30","30-40";
goto dungeon_handling;
close;
field_bra:
setarray .@warpIndex[0],81;
setarray .@use_location_array[0],2;
setarray .@levelNames$[0],"Brasilis Field 1";
setarray .@level$[0],"40-50";
goto dungeon_handling;
close;
field_dew:
setarray .@warpIndex[0],82;
setarray .@use_location_array[0],2;
setarray .@levelNames$[0],"Dewata Field 1";
setarray .@level$[0],"40-50";
goto dungeon_handling;
close;
field_dic:
setarray .@warpIndex[0],87,88;
setarray .@use_location_array[0],2,2;
setarray .@levelNames$[0],"Dicastes Field 1","Dicastes Field 2";
setarray .@level$[0],"110-120","110-120";
goto dungeon_handling;
close;
field_cmd:
setarray .@warpIndex[0],1,2,3,4,5,6,7,8,9;
setarray .@use_location_array[0],3,3,3,3,3,3,3,3,3;
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";
setarray .@level$[0],"40-50","60-70","55-65","60-70","35-45","25-35","10-25","40-50","10-20";
goto dungeon_handling;
close;
field_ein:
setarray .@warpIndex[0],10,11,12,13,14,15,16,17,18,19;
setarray .@use_location_array[0],3,3,3,3,3,3,3,3,3,3;
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";
setarray .@level$[0],"45-55","45-55","25-45","25-45","50-60","65-75","20-45","15-30","15-30","25-45";
goto dungeon_handling;
close;
field_gef:
setarray .@warpIndex[0],20,21,22,23,24,25,26,27,28,29,30,31,32,33,34;
setarray .@use_location_array[0],3,3,3,3,3,3,3,3,3,3,3,3,3,3,3;
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";
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";
goto dungeon_handling;
close;
field_gon:
setarray .@warpIndex[0],35;
setarray .@use_location_array[0],3;
setarray .@levelNames$[0],"Gonryun Field 1";
setarray .@level$[0],"30-40";
goto dungeon_handling;
close;
field_hu:
setarray .@warpIndex[0],36,37,38,39,40,41,42;
setarray .@use_location_array[0],3,3,3,3,3,3,3;
setarray .@levelNames$[0],"Hugel Field 1","Hugel Field 2","Hugel Field 3","Hugel Field 4","Hugel Field 5","Hugel Field 6","Hugel Field 7";
setarray .@level$[0],"40-55","40-55","35-45","40-65","35-45","1-20","40-65";
goto dungeon_handling;
close;
field_lhz:
setarray .@warpIndex[0],43,44,45;
setarray .@use_location_array[0],3,3,3;
setarray .@levelNames$[0],"Lighthalzen Field 1","Lighthalzen Field 2","Lighthalzen Field 3";
setarray .@level$[0],"15-25","15-25","30-45";
goto dungeon_handling;
close;
field_lou:
setarray .@warpIndex[0],46;
setarray .@use_location_array[0],3;
setarray .@levelNames$[0],"Louyang Field 1";
setarray .@level$[0],"20-50";
goto dungeon_handling;
close;
field_xmas:
setarray .@warpIndex[0],47;
setarray .@use_location_array[0],3;
setarray .@levelNames$[0],"Lutie Field 1";
setarray .@level$[0],"25-35";
goto dungeon_handling;
close;
field_ma:
setarray .@warpIndex[0],94,95;
setarray .@use_location_array[0],2,2;
setarray .@levelNames$[0],"Malaya Field 1","Malaya Field 2";
setarray .@level$[0],"Unknown","Unknown";
goto dungeon_handling;
close;
field_man:
setarray .@warpIndex[0],48,49,86;
setarray .@use_location_array[0],3,3,2;
setarray .@levelNames$[0],"Manuk Field 1","Manuk Field 2","Manuk Field 3";
setarray .@level$[0],"100-110","100-110","100-110";
goto dungeon_handling;
close;
field_mjolnir:
setarray .@warpIndex[0],50,51,52,53,54,55,56,57,58,59,60,61;
setarray .@use_location_array[0],3,3,3,3,3,3,3,3,3,3,3,3;
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";
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";
goto dungeon_handling;
close;
field_mosk:
setarray .@warpIndex[0],62,63;
setarray .@use_location_array[0],3,3;
setarray .@levelNames$[0],"Moscovia Field 1","Moscovia Field 2";
setarray .@level$[0],"1","15-30";
goto dungeon_handling;
close;
field_pay:
setarray .@warpIndex[0],64,65,66,67,68,69,70,71,72,73,74;
setarray .@use_location_array[0],3,3,3,3,3,3,3,3,3,3,3;
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";
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";
goto dungeon_handling;
close;
field_prt:
setarray .@warpIndex[0],75,76,77,78,79,80,81,82,83,84,85,86;
setarray .@use_location_array[0],3,3,3,3,3,3,3,3,3,3,3,3;
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";
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";
goto dungeon_handling;
close;
field_ra:
setarray .@warpIndex[0],87,88,89,90,91,92,93,94,95,96,97,98,99;
setarray .@use_location_array[0],3,3,3,3,3,3,3,3,3,3,3,3,3;
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";
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";
goto dungeon_handling;
close;
field_moc:
setarray .@warpIndex[0],100,101,102,103,104,105,106,107,108,109,110;
setarray .@use_location_array[0],3,3,3,3,3,3,3,3,3,3,3;
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";
setarray .@level$[0],"1-10","5-20","15-25","1-10","20-30","1-10","10-25","20-35","20-30","15-25","1";
goto dungeon_handling;
close;
field_spl:
setarray .@warpIndex[0],114,115,116;
setarray .@use_location_array[0],3,3,3;
setarray .@levelNames$[0],"Splendide Field 1","Splendide Field 2","Splendide Field 3";
setarray .@level$[0],"100-110","100-110","100-110";
goto dungeon_handling;
close;
field_um:
setarray .@warpIndex[0],117,118,119,120;
setarray .@use_location_array[0],3,3,3,3;
setarray .@levelNames$[0],"Umbala Field 1","Umbala Field 2","Umbala Field 3","Umbala Field 4";
setarray .@level$[0],"40-50","35-45","45-55","30-40";
goto dungeon_handling;
close;
field_vein:
setarray .@warpIndex[0],121,122,123,124,125,126,127;
setarray .@use_location_array[0],3,3,3,3,3,3,3;
setarray .@levelNames$[0],"Veins Field 1","Veins Field 2","Veins Field 3","Veins Field 4","Veins Field 5","Veins Field 6","Veins Field 7";
setarray .@level$[0],"10-25","25-35","25-40","25-35","40-55","10-15","35-45";
goto dungeon_handling;
close;
field_yuno:
setarray .@warpIndex[0],2,3,4,5,6,7,8,9,10,11,12,13;
setarray .@use_location_array[0],4,4,4,4,4,4,4,4,4,4,4,4;
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";
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";
goto dungeon_handling;
close;
field_mora:
setarray .@warpIndex[0],101,102;
setarray .@use_location_array[0],2,2;
setarray .@levelNames$[0],"Mora Field 1","Mora Field 2";
setarray .@level$[0],"120-130","120-130";
goto dungeon_handling;
close;
}
//----------------City duplicates----------------\\
alberta.gat,31,240,4 duplicate(warpagent) Warp Agent#wa-2 721
aldebaran.gat,145,118,4 duplicate(warpagent) Warp Agent#wa-3 721
amatsu.gat,192,81,1 duplicate(warpagent) Warp Agent#wa-4 721
ayothaya.gat,144,117,6 duplicate(warpagent) Warp Agent#wa-5 721
comodo.gat,194,158,4 duplicate(warpagent) Warp Agent#wa-6 721
einbroch.gat,59,205,4 duplicate(warpagent) Warp Agent#wa-7 721
einbroch.gat,243,189,2 duplicate(warpagent) Warp Agent#wa-8 721
einbech.gat,135,249,4 duplicate(warpagent) Warp Agent#wa-9 721
geffen.gat,115,66,4 duplicate(warpagent) Warp Agent#wa-10 721
gonryun.gat,151,130,4 duplicate(warpagent) Warp Agent#wa-11 721
izlude.gat,133,117,4 duplicate(warpagent) Warp Agent#wa-12 721
hugel.gat,88,151,5 duplicate(warpagent) Warp Agent#wa-13 721
lighthalzen.gat,153,85,5 duplicate(warpagent) Warp Agent#wa-14 721
louyang.gat,210,106,4 duplicate(warpagent) Warp Agent#wa-15 721
morocc.gat,156,95,4 duplicate(warpagent) Warp Agent#wa-16 721
payon.gat,155,96,4 duplicate(warpagent) Warp Agent#wa-17 721
umbala.gat,132,130,4 duplicate(warpagent) Warp Agent#wa-18 721
xmas.gat,150,136,4 duplicate(warpagent) Warp Agent#wa-19 721
yuno.gat,137,162,4 duplicate(warpagent) Warp Agent#wa-20 721
rachel.gat,124,108,6 duplicate(warpagent) Warp Agent#wa-21 721
prontera.gat,150,184,5 duplicate(warpagent) Warp Agent#wa-22 721
manuk.gat,283,236,4 duplicate(warpagent) Warp Agent#wa-23 721
mid_camp.gat,189,256,3 duplicate(warpagent) Warp Agent#wa-24 721
mora.gat,113,174,5 duplicate(warpagent) Warp Agent#wa-25 721
splendide.gat,191,176,5 duplicate(warpagent) Warp Agent#wa-26 721
niflheim.gat,201,189,3 duplicate(warpagent) Warp Agent#wa-27 721
veins.gat,225,127,3 duplicate(warpagent) Warp Agent#wa-28 721
nameless_i.gat,162,176,6 duplicate(warpagent) Warp Agent#wa-29 721