prontera.gat,155,171,4 script GM Castle Gatekeeper 124,{ set @gm,getgmlevel(99); if(@gm>20) goto LValid; set @mes1, rand(2); mes "[GM Castle GateKeeper]"; if(@mes1==1) mes "The GM Castle is a place that can only be accessed by GMs."; if(@mes1==2) mes "Sorry, but only GM's can enter that castle."; if(@gm<20) mes "It appears your GM level is below 20, which means you have been restriced from entering. Sorry."; close; LValid: mes "[GM Castle GateKeeper]"; mes "Hello, GM "+strcharinfo(0)+". Have you heard of the GM Castle?"; next; mes "[GM Castle GateKeeper]"; mes "The GM Castle is a place which only can be access by GMs."; next; mes "[GM Castle Gatekeeper]"; mes "There are many amazing things inside the GM Castle, but alas, it is strictly for GMs only, and you'll need the password to get in."; next; mes "[GM Castle Gatekeeper]"; mes "Would you like to enter?"; next; menu "Yes",LWarp,"No",LCancel; LWarp: mes "[GM Castle Gatekeeper]"; mes "Enjoy your visit, GM "+strcharinfo(0)+"!"; next; warp "sec_in01.gat",85,167; close; LCancel: mes "[GM Castle Gatekeeper]"; mes "Very well, GM "+strcharinfo(0)+"."; close; } sec_in01.gat,86,180,3 script Portal 723,{ set @gm,getgmlevel(99); if(@gm>20) goto LOk; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; LOk: mes "[Portal]"; mes "Would you like to exit the GM Castle, "+strcharinfo(0)+"?"; next; menu "Yes",LLeave,"No",LStay,"Functions",LFunc; LFunc: mes "Welcome, GM "+strcharinfo(0)+", to the functions area."; next; menu "View and use Current Functions",LFunclist,"Make a New Function",LMakeFunc; LFunclist: mes "These are then functions I can do currently:" query_sql "SELECT `function` FROM `GM_Castle` WHERE `function`='*'", $@function$; query_sql "SELECT `functionname` FROM `GM_Castle` WHERE `functionname`='*'", $@functionname$; query_sql "SELECT `maker` FROM `GM_Castle` WHERE `maker`='*'", $@maker$; set $@functionsize$,getarraysize($@function$); do{ mes $@functionname$[@array1]+" function by "+$@maker$[@array1]; set @array1,+1; } while(@array1<$@functionsize$); mes "So, "+strcharinfo(0)+", would you like to use one of those functions?" menu "Yes",LUseFunc,"No",LLeave,"Make a new one",LMakeFunc; LUseFunc: menu do{ $@functionname$[@array1]+" function by "+$@maker$[@array1],$@functionname$[@array1]; set @array1,+1; } while(@array1<$@functionsize$); $@functionname$[@array1]: atcommand strcharinfo(0)":"$@function$; close; LMakeFunc: mes "Please pick a name for your function."; next; input @funcname$; mes "Now, enter the acual function."; input @funcact$; query_sql "INSERT INTO `function` FROM `GM_Castle` VALUES ('$@funcact$'); query_sql "INSERT INTO `functionname` FROM `GM_Castle` VALUES ('$@funcname$'); query_sql "INSERT INTO `maker` FROM `GM_Castle` VALUES ('strcharinfo(0)'); mes "Function sucessfully added. Thank you for your contribution."; close; LLeave: mes "[Portal]"; mes "I hope to see you again soon, GM "+strcharinfo(0)+"!"; next; warp "prontera.gat",156,179; close; LStay: mes "[Portal]"; mes "Enjoy your time here, GM "+strcharinfo(0)+"!"; close; } sec_in01.gat,72,167,3 script Treasure 744,{ set @gm,getgmlevel(99); if(@gm>20) goto LOk2; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; LOk2: set Zeny,Zeny + 10000000; mes "[Treasure]"; mes "That's all you get for now, "+strcharinfo(0)+"."; next; mes "[Treasure]"; mes "Return when you have more monetary needs."; close; } sec_in01.gat,99,161,4 script Guard 105,{} sec_in01.gat,99,161,4 script Guard1TriggerArea 139,3,2,{ set @gm,getgmlevel(99); if(@gm>20) goto LOk3; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; LOk3: mes "[Guard]"; mes "I am the guard assigned to the GM Castle, "+strcharinfo(0)+"."; next; mes "[Guard]"; mes "My job is to keep that Castle safe and secure."; next; mes "[Guard]"; mes "I'll protect you, if you need it."; next; mes "[Guard]"; mes "Enjoy, and make yourself at home, GM "+strcharinfo(0)+"!"; close; } sec_in01.gat,71,161,4 script Guard 105,{} sec_in01.gat,71,161,4 script Guard2TriggerArea 139,3,2,{ set @gm,getgmlevel(99); if(@gm>20) goto LOk4; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; LOk4: mes "[Guard]"; mes "I am the guard assigned to the GM Castle, "+strcharinfo(0)+"."; next; mes "[Guard]"; mes "My job is to keep that Castle safe and secure."; next; mes "[Guard]"; mes "I'll protect you, if you need it."; next; mes "[Guard]"; mes "Enjoy, and make yourself at home, GM "+strcharinfo(0)+"!"; close; } //Prison Guard// sec_pri.gat,23,65,0 script Prison1 -1,{ OnTouch: warp "sec_pri.gat",18,60; } sec_pri.gat,22,65,0 script Prison2 -1,{ OnTouch: warp "sec_pri",18,60; } sec_pri.gat,21,65,0 script Prison3 -1,{ OnTouch: warp "sec_pri.gat",18,60; } sec_pri.gat,20,65,0 script Prison4 -1,{ OnTouch: warp "sec_pri.gat",18,60; } sec_pri.gat,24,65,0 script Prison5 -1,{ OnTouch: warp "sec_pri.gat",18,60; } sec_pri.gat,25,65,0 script Prison6 0,0,2,0 -1,{ OnTouch: warp "sec_pri.gat",18,60; } sec_pri.gat,26,65,0 script Prison7 -1,{ OnTouch: warp "sec_pri.gat",18,60; } sec_pri.gat,27,65,0 script Prison8 -1,{ OnTouch: warp "sec_pri.gat",18,24; } sec_pri.gat,22,22,1 script Prisoner Mage 792,{ mes "[Prisoner Mage]"; mes "hehehe...You've been put in prison too, eh?"; next; mes "[Prisoner Mage]"; mes "Theres no way out..."; mes "Unless..."; next; mes "You give me 20,000 Zeny."; next; mes "Wanna pay?" next; menu "Pay",LEsc,"Cancel",LApo; LEsc: if(Zeny <2000000) goto Lnope; set Zeny,Zeny-2000000; set paid,paid + 1; mes "Hehehe...I opened a portal for you...NOW SCRAM!"; close; Lnope: mes "[Prisoner Mage]"; mes "YOU DONT HAVE ENOUGH ZENY, YOU LITTLE PRICK."; mes "Your trapped until a GM decides to free you..."; mes "have fun, "+strcharinfo(0)+"."; close; LApo: mes "[Prisoner Mage]"; mes "You will not be freed until I am payed...hehehe..."; close; } sec_pri.gat,15,30,0 script Hole 723,{ if(paid <1) goto L1; mes "Welcome to the Prontera Portal..."; mes "Warping Initiated!"; set paid,paid + 1; set points,points - 0; warp "prontera.gat",155,185; L1: mes "A mysterious portal...you cant seem to use it."; close; } //Training Ground //----------------------------------------------------- sec_in01.gat,77,154,4 script GM Castle TRaining Guard 808,{ set @gm,getgmlevel(99); if(@gm>20) goto LOk4; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; LOk4: mes "[GM Castle Training Guard]"; mes "Hello, GM "+strcharinfo(0)+". I am the guard to the GM Castle Training Area."; next; mes "[GM Castle Training Guard]"; mes "Here you can summon monsters and train as much as you like."; next; mes "[GM Castle Training Guard]"; mes "Kill as many monsters as you wish, but take NO prisoners."; next; mes "[GM Castle Training Guard]"; mes "EVERYTHING is huntable."; next; mes "[GM Castle Training Guard]"; mes "Do you wish to enter the Training Area?"; next; menu "Yes, I will enter.",LFollow,"No, I'd rather not.",LNr; LFollow: warp "sec_in02.gat",138,81; close; LNr: mes "[GM Castle Training Guard]"; mes "Oh well."; next; mes "[GM Castle Training Guard]"; mes "Goodbye, "+strcharinfo(0)+"!"; close; } //Swimming Pool Warper Assistant //--------------------------------------------------------------------- sec_in02.gat,161,162,9 script NPC Assistant 732,{ set @gm,getgmlevel(99); if(@gm>20) goto LOk6; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; LOk6: mes "[NPC Assistant]"; mes "Do you want to take rest and return to the castle?"; menu "Yes, please",Lplease,"No, Not yet",Lnot; Lplease: warp "sec_in01.gat",82,154; close; Lnot: close; } //Special Warper //------------------------------------------------------------------- sec_in01.gat,85,167,4 script Super Warper 833,{ set @gm,getgmlevel(99); if(@gm>20) goto LOk7; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; LOk7: mes "[Super Warper]"; mes "Hello, "+strcharinfo(0)+", What can I do for you?"; next; menu "Heal Me.",LHeal,"Warp Me.",LWarp,"Nothing.",E; LHeal: specialeffect2 8; percentheal 100,100; close; LWarp: mes "[Super Warper]"; mes "Where would you like to go?"; next; menu "A Field.",F,"A Dungeon.",D,"A Town.",L_T,"Nothing.",E; F: mes "[Super Warper]"; mes "Please choose your destination:"; menu "Prontera Field",PrtF,"Payon Field",PayF,"Morroc Field",mocF,"Geffen Field",gefF,"Mjolnir Field",mjoF,"Comodo Field",cmdF,"Juno Field",yunoF,"Amatsu Field",amaF,"Gonryun Field",gonF,"Niflheim Field",nifF,"Umbala Field",umF,"Next...",FF; FF: menu "Lutie Field",LutF,"Yggdrasil Field",YggF,"Guild Map",GUILDY,"LouYang Field",LYYY1; LYYY1: warp "lou_fild01.gat",208,214; PrtF: menu "Prt Field 0",Prt0,"Prt Field 1",Prt1,"Prt Field 2",Prt2,"Prt Field 3",Prt3,"Prt Field 4",Prt4,"Prt Field 5",Prt5,"Prt Field 6",Prt6,"Prt Field 7",Prt7,"Prt Field 8",Prt8,"Prt Field 9",Prt9,"Prt Field 10",Prt10,"Prt Field 11",Prt11; Prt0: warp "prt_fild00.gat",208,228; close; Prt1: warp "prt_fild01.gat",306,281; close; Prt2: warp "prt_fild02.gat",336,343; close; Prt3: warp "prt_fild03.gat",126,123; close; Prt4: warp "prt_fild04.gat",230,330; close; Prt5: warp "prt_fild05.gat",280,220; close; Prt6: warp "prt_fild06.gat",130,210; close; Prt7: warp "prt_fild07.gat",240,90; close; Prt8: warp "prt_fild08.gat",105,275; close; Prt9: warp "prt_fild09.gat",105,115; close; Prt10: warp "prt_fild10.gat",100,110; close; Prt11: warp "prt_fild11.gat",104,230; close; mocF: menu "Moc Field 1",moc1,"Moc Field 2",moc2,"Moc Field 3",moc3,"Moc Field 4",moc4,"Moc Field 5",moc5,"Moc Field 6",moc6,"Moc Field 7",moc7,"Moc Field 8",moc8,"Moc Field 9",moc9,"Moc Field 10",moc10,"Moc Field 11",moc11,"Next...",mocF2; mocF2: menu "Moc Field 12",moc12,"Moc Field 13",moc13,"Moc Field 14",moc14,"Moc Field 15",moc15,"Moc Field 16",moc16,"Moc Field 17",moc17,"Moc Field18",moc18; moc1: warp "moc_fild01.gat",198,195; close; moc2: warp "moc_fild02.gat",94,101; close; moc3: warp "moc_fild03.gat",171,258; close; moc4: warp "moc_fild04.gatt",148,333; close; moc5: warp "moc_fild05.gat",205,274; close; moc6: warp "moc_fild06.gat",134,302; close; moc7: warp "moc_fild07.gat",180,346; close; moc8: warp "moc_fild08.gat",140,178; close; moc9: warp "moc_fild09.gat",214,128; close; moc10: warp "moc_fild10.gat",208,107; close; moc11: warp "moc_fild11.gat",198,214; close; moc12: warp "moc_fild12.gat",161,259; close; moc13: warp "moc_fild13.gat",160,285; close; moc14: warp "moc_fild14.gat",124,93; close; moc15: warp "moc_fild15.gat",200,175; moc16: warp "moc_fild16.gat",205,234; moc17: warp "moc_fild17.gat",107,145; close; moc18: warp "moc_fild18.gat",138,233; close; PayF: menu "Pay Field 1",pay1,"Pay Field 2",pay2,"Pay Field 3",pay3,"Pay Field 4",pay4,"Pay Field 5",pay5,"Pay Field 6",pay6,"Pay Field 7",pay7,"Pay Field 8",pay8,"Pay Field 9",pay9,"Pay Field 10",pay10,"Pay Field 11",pay11; pay1: warp "pay_fild01.gat",108,119; close; pay2: warp "pay_fild02.gat",88,129; close; pay3: warp "pay_fild03.gat",350,46; close; pay4: warp "pay_fild04.gat",159,343; close; pay5: warp "pay_fild05.gat",100,104; close; pay6: warp "pay_fild06.gat",279,120; close; pay7: warp "pay_fild07.gat",115,382; close; pay8: warp "pay_fild08.gat",100,100; close; pay9: warp "pay_fild09.gat",100,100; close; pay10: warp "pay_fild10.gat",217,223; close; pay11: warp "pay_fild11.gat",118,276; close; gefF: menu "Gef Field 0",gef0,"Gef Field 1",gef1,"Gef Field 2",gef2,"Gef Field 3",gef3,"Gef Field 4",gef4,"Gef Field 5",gef5,"Gef Field 6",gef6,"Gef Field 7",gef7,"Gef Field 8",gef8,"Gef Field 9",gef9,"Gef Field 10",gef10,"Next...",geff2; geff2: menu "Gef Field 11",gef11,"Gef Field 12",gef12,"Gef Field 14",gef14; gef0: warp "gef_fild00.gat",71,126; close; gef1: warp "gef_fild01.gat",67,85; close; gef2: warp "gef_fild02.gat",216,211; close; gef3: warp "gef_fild03.gat",297,74; close; gef4: warp "gef_fild04.gat",181,225; close; gef5: warp "gef_fild05.gat",100,100; close; gef6: warp "gef_fild06.gat",55,190; gef7: warp "gef_fild07.gat",50,158; gef8: warp "gef_fild08.gat",105,105; close; gef9: warp "gef_fild09.gat",100,100; close; gef10: warp "gef_fild10.gat",100,100; close; gef11: warp "gef_fild11.gat",274,245; close; gef12: warp "gef_fild12.gat",100,100; close; gef14: warp "gef_fild14.gat",363,220; close; mjoF: menu "Mjolnir Field 1",mjolnir1,"Mjolnir Field 2",mjolnir2,"Mjolnir Field 3",mjolnir3,"Mjolnir Field 4",mjolnir4,"Mjolnir Field 5",mjolnir5,"Mjolnir Field 6",mjolnir6,"Mjolnir Field 7",mjolnir7,"Mjolnir Field 8",mjolnir8,"Mjolnir Field 9",mjolnir9,"Mjolnir Field 10",mjolnir10,"Mjolnir Field 11",mjolnir11,"Mjolnir Field 12",mjolnir12; mjolnir1: warp "mjolnir_01.gat",135,156; close; mjolnir2: warp "mjolnir_02.gat",100,100; close; mjolnir3: warp "mjolnir_03.gat",100,100; close; mjolnir4: warp "mjolnir_04.gat",304,127; close; mjolnir5: warp "mjolnir_05.gat",149,270; close; mjolnir6: warp "mjolnir_06.gat",304,345; close; mjolnir7: warp "mjolnir_07.gat",100,100; close; mjolnir8: warp "mjolnir_08.gat",100,100; close; mjolnir9: warp "mjolnir_09.gat",101,112; close; mjolnir10: warp "mjolnir_10.gat",100,100; close; mjolnir11: warp "mjolnir_11.gat",100,100; close; mjolnir12: warp "mjolnir_12.gat",100,100; close; cmdF: menu "Cmd Field 1",cmd1,"Cmd Field 2",cmd2,"Cmd Field 3",cmd3,"Cmd Field 4",cmd4,"Cmd Field 5",cmd5,"Cmd Field 6",cmd6,"Cmd Field 7",cmd7,"Cmd Field 8",cmd8,"Cmd Field 9",cmd9; cmd1: warp "cmd_fild01.gat",100,100; close; cmd2: warp "cmd_fild02.gat",100,100; close; cmd3: warp "cmd_fild03.gat",100,100; close; cmd4: warp "cmd_fild04.gat",100,100; close; cmd5: warp "cmd_fild05.gat",231,189; close; cmd6: warp "cmd_fild06.gat",100,100; close; cmd7: warp "cmd_fild07.gat",135,342; close; cmd8: warp "cmd_fild08.gat",100,100; close; cmd9: warp "cmd_fild09.gat",201,355; close; yunoF: menu "Juno Field 1",yuno1,"Juno Field 2",yuno2,"Juno Field 3",yuno3,"Juno Field 4",yuno4; yuno1: warp "yuno_fild01.gat",207,43; close; yuno2: warp "yuno_fild02.gat",100,100; close; yuno3: warp "yuno_fild03.gat",100,100; close; yuno4: warp "yuno_fild04.gat",150,154; close; amaF: menu "Amatsu Field 1",ama1; ama1: warp "ama_fild01.gat",57,69; close; gonF: menu "Gonryun Field 1",gon1; gon1: warp "gon_fild01.gat",100,100; close; nifF: menu "Niflheim Field 1",nif1,"Niflheim Field 2",nif2; nif1: warp "nif_fild01.gat",181,320; close; nif2: warp "nif_fild02.gat",61,329; close; umF: menu "Umbala Field 1",um1,"Umbala Field 2",um2,"Umbala Field 3",um3,"Umbala Field 4",um4; um1: warp "um_fild01.gat",100,100; close; um2: warp "um_fild02.gat",215,312; close; um3: warp "um_fild03.gat",100,100; close; um4: warp "um_fild04.gat",270,177; close; LutF: menu "Lutie Field 1",xmas1; xmas1: warp "xmas_fild01.gat",100,100; close; YggF: menu "Yggdrasil Field 1",yggdrasil1; yggdrasil1: warp "yggdrasil01.gat",40,63; GUILDY: menu "Payon Castle Map",PCM111,"Geffen Castle Map",GCM111,"Aldeberan Castle Map",ACM111,"Prontera Castle Map",PCM222; PCM111: warp "pay_gld.gat",114,171; close; GCM111: warp "gef_fild13.gat",164,247; close; ACM111: warp "alde_gld.gat",72,232; close; PCM222: warp "prt_gld.gat",166,103; close; L_T: mes "[Super Warper]"; mes "Please choose your destination:"; next; menu "Prontera",prontera,"Geffen",geffen,"Payon",payon,"Morroc",morroc,"Alberta",alberta,"Adebaran",aldebaran,"Izlude",izlude,"Lutie",lutie,"Juno",yuno,"Comodo",comodo,"Amatsu",amatsu,"Next...",TT; TT: menu "Gonryun",gonryun,"Umbala",umbala,"Niflheim",niflheim,"Jawaii",HawaiiBaby,"Lou Yang",Chink111,"Ayothaya",Ayothaya; Ayothaya: warp "ayothaya.gat",153,71; close; HawaiiBaby: warp "jawaii.gat",117,205; close; Chink111: warp "louyang.gat",218,106; close; prontera: warp "prontera.gat",156,184; close; geffen: warp "geffen.gat",120,68; close; payon: warp "payon.gat",96,114; close; morroc: warp "morocc.gat",157,94; close; alberta: warp "alberta.gat",116,56; close; aldebaran: warp "aldebaran.gat",141,118; close; izlude: warp "izlude.gat",127,116; close; lutie: warp "xmas.gat",147,117; close; yuno: warp "yuno.gat",280,216; close; comodo: warp "comodo.gat",191,150; close; amatsu: warp "amatsu.gat",200,86; close; gonryun: warp "gonryun.gat",159,124; close; umbala: warp "umbala.gat",125,136; close; niflheim: warp "niflheim.gat",195,185; close; D: mes "[Super Warper]"; mes "Please choose your destination:"; next; menu "Clock Tower",CTD,"Amatsu Dungeon",AmaD,"Ant Hell",AntD,"Beach Dungeon",BeachD,"Geffen Dungeon",GefD,"Glastheim",GHD,"Guild Dungeon",GGD,"Gonryun Dungeon",GonD,"Sphinx",SphinxD,"Byalan Dungeon",ByaD,"Magma Dungeon",MagD,"Next...",DD; DD: menu "Coal Mine",CoalD,"Pyramid",PyramidD,"Orc Dungeon",OrcD,"Payon Dungeon",PayD,"Hidden Temple",HidD,"Sewers",SewD,"Sunken Ship",SSD,"Turtle Dungeon",TurtleD,"Umbala Dungeon",UmbD,"Toy Factory",TFD,"Lou Yang",LLYY12; LLYY12: menu "LouYang Dun 1",LY1110,"LouYang Dun 2",LY2220,"LouYang Dun 3",LY3330; LY1110: warp "lou_dun01.gat",113,54; close; LY2220: warp "lou_dun02.gat",88,110; close; LY3330: warp "lou_dun03.gat",166,135; close; CTD: menu "Clock Tower 1",CT1,"Clock Tower 2",CT2,"Clock Tower 3",CT3,"Clock Tower 4",CT4,"Clock Tower Dungeon 1",CTD1,"Clock Tower Dungeon 2",CTD2,"Clock Tower Dungeon 3",CTD3,"Clock Tower Dungeon 4",CTD4; CT1: warp "c_tower1.gat",100,100; close; CT2: warp "c_tower2.gat",152,94; close; CT3: warp "c_tower3.gat",100,100; close; CT4: warp "c_tower4.gat",99,100; close; CTD1: warp "alde_dun01.gat",87,242; close; CTD2: warp "alde_dun02.gat",143,228; close; CTD3: warp "alde_dun03.gat",100,100; close; CTD4: warp "alde_dun04.gat",100,100; close; AmaD: menu "Amatsu Dungeon 1",AmaD1,"Amatsu Dungeon 2",AmaD2,"Amatsu Dungeon 3",AmaD3; AmaD1: warp "ama_dun01.gat",100,100; close; AmaD2: warp "ama_dun02.gat",57,91; close; AmaD3: warp "ama_dun03.gat",100,100; close; AntD: menu "Anthell 1",Ant1,"Anthell 2",Ant2; Ant1: warp "anthell01.gat",100,100; close; Ant2: warp "anthell02.gat",49,41; close; BeachD: menu "Beach Dungeon 1",BD1,"Beach Dungeon 2",BD2,"Beach Dungeon 3",BD3; BD1: warp "beach_dun.gat",100,100; close; BD2: warp "beach_dun2.gat",31,84; close; BD3: warp "beach_dun3.gat",117,43; close; GefD: menu "Geffen Dungeon 1",Gef000,"Geffen Dungeon 2",Gef111,"Geffen Dungeon 3",Gef222,"Geffen Dungeon 4",Gef333; Gef000: warp "gef_dun00.gat",100,100; close; Gef111: warp "gef_dun01.gat",238,71; close; Gef222: warp "gef_dun02.gat",109,128; close; Gef333: warp "gef_dun03.gat",195,202; close; GHD: menu "GlastHeim Castle",GHCas,"GlastHeim Church",GHChu,"GlastHeim Dungeon",GHDun,"GlastHeim Interior",GHInt,"GlastHeim Chivalry",GHChi,"GlastHeim Prison",GHPri,"GlastHeim Serwers",GHSew,"GlastHeim Staircase",GHSte,"GlastHeim",GHeim; GHCas: menu "GlastHeim Castle 1",GHCas1,"GlastHeim Castle 2",GHCas2; GHCas1: warp "gl_cas01.gat",198,103; close; GHCas2: warp "gl_cas02.gat",100,100; close; GHChu: menu "GlastHeim St. Abbey",GHSTA,"GlastHeim Churchyard",GHCY; GHSTA: warp "gl_church.gat",157,68; close; GHCY: warp "gl_chyard.gat",147,149; close; GHDun: menu "GlastHeim Dungeon 1",GHDun1,"GlastHeim Dungeon 2",GHDun2; GHDun1: warp "gl_dun01.gat",135,267; close; GHDun2: warp "gl_dun02.gat",224,274; close; GHInt: warp "gl_in01.gat",123,124; close; GHChi: menu "GlastHeim Chivalry 1",GHCH1,"GlastHeim Chivalry 2",GHCH2; GHCH1: warp "gl_knt01.gat",150,15; close; GHCH2: warp "gl_knt02.gat",100,100; close; GHPri: menu "GlastHeim Prison 1",GHP1,"GlastHeim Prison 2",GHP2; GHP1: warp "gl_prison.gat",100,108; close; GHP2: warp "gl_prison1.gat",127,116; close; GHSew: menu "GlastHeim Sewers 1",GHS1,"GlastHeim Sewers 2",GHS2,"GlastHeim Sewers 3",GHS3,"GlastHeim Sewers 4",GHS4; GHS1: warp "gl_sew01.gat",214,108; close; GHS2: warp "gl_sew02.gat",100,100; close; GHS3: warp "gl_sew03.gat",100,100; close; GHS4: warp "gl_sew04.gat",100,100; close; GHSte: warp "gl_step.gat",98,100; close; GHeim: warp "glast_01.gat",200,131; close; GGD: menu "Guild Dungeon 1",GDGD1,"Guild Dungeon 2",GDGD2,"Guild Dungeon 3",GDGD3,"Guild Dungeon 4",GDGD4; GDGD1: warp "gld_dun01.gat",100,100; close; GDGD2: warp "gld_dun02.gat",100,100; close; GDGD3: warp "gld_dun03.gat",100,100; close; GDGD4: warp "gld_dun04.gat",150,238; close; GonD: menu "Gonryun Dungeon 1",GonD1,"Gonryun Dungeon 2",GonD2,"Gonryun Dungeon 3",GonD3; GonD1: warp "gon_dun01.gat",100,100; close; GonD2: warp "gon_dun02.gat",244,106; close; GonD3: warp "gon_dun03.gat",100,100; close; SphinxD: menu "Sphinx 1",SPX1,"Sphinx 2",SPX2,"Sphinx 3",SPX3,"Sphinx 4",SPX4,"Sphinx 5",SPX5; SPX1: warp "in_sphinx1.gat",100,100; close; SPX2: warp "in_sphinx2.gat",100,010; close; SPX3: warp "in_sphinx3.gat",100,100; close; SPX4: warp "in_sphinx4.gat",181,155; close; SPX5: warp "in_sphinx5.gat",100,100; close; ByaD: menu "Byalan Dungeon 1",BYD1,"Byalan Dungeon 2",BYD2,"Byalan Dungeon 3",BYD3,"Byalan Dungeon 4",BYD4,"Byalan Dungeon 5",BYD5; BYD1: warp "iz_dun00.gat",100,100; close; BYD2: warp "iz_dun01.gat",100,100; close; BYD3: warp "iz_dun02.gat",100,100; close; BYD4: warp "iz_dun03.gat",64,74; close; BYD5: warp "iz_dun04.gat",100,100; close; MagD: menu "Magma Dungeon 1",MAGD1,"Magma Dungeon 2",MAGD2; MAGD1: warp "mag_dun01.gat",231,63; close; MAGD2: warp "mag_dun02.gat",101,202; close; CoalD: menu "Coal Mine 1",COMI1,"Coal Mine 2",COMI2,"Coal Mine 3",COMI3; COMI1: warp "mjo_dun01.gat",114,67; close; COMI2: warp "mjo_dun02.gat",100,100; close; COMI3: warp "mjo_dun03.gat",171,74; close; PyramidD: menu "Pyramid 1",PRY1,"Pyramid 2",PRY2,"Pyramid 3",PRY3,"Pyramid 4",PRY4,"Pyramid Basement 1",PRYB1,"Pyramid Basement 2",PRYB2; PRY1: warp "moc_pryd01.gat",100,100; close; PRY2: warp "moc_pryd02.gat",102,13; close; PRY3: warp "moc_pryd03.gat",74,105; close; PRY4: warp "moc_pryd04.gat",176,116; close; PRYB1: warp "moc_pryd05.gat",166,145; close; PRYB2: warp "moc_pryd06.gat",31,197; close; OrcD: menu "Orc Dungeon 1",ORCD1,"Orc Dungeon 2",ORCD2; ORCD1: warp "orcsdun01.gat",52,105; close; ORCD2: warp "orcsdun02.gat",100,100; close; PayD: menu "Payon Dungeon 1",PAYD1,"Payon Dungeon 2",PAYD2,"Payon Dungeon 3",PAYD3,"Payon Dungeon 4",PAYD4,"Payon Dungeon 5",PAYD5; PAYD1: warp "pay_dun00.gat",50,60; close; PAYD2: warp "pay_dun01.gat",134,186; close; PAYD3: warp "pay_dun02.gat",104,79; close; PAYD4: warp "pay_dun03.gat",90,35; close; PAYD5: warp "pay_dun04.gat",84,119; close; HidD: menu "Hidden Temple 1",HIDT1,"Hidden Temple 2",HIDT2,"Hidden Temple 3",HIDT3; HIDT1: warp "prt_maze01.gat",100,100; close; HIDT2: warp "prt_maze02.gat",104,68; close; HIDT3: warp "prt_maze03.gat",100,100; close; SewD: menu "Sewers 1",SEW11,"Sewers 2",SEW22,"Sewers 3",SEW33,"Sewers 4",SEW44; SEW11: warp "prt_sewb1.gat",285,197; close; SEW22: warp "prt_sewb2.gat",100,100; close; SEW33: warp "prt_sewb3.gat",63,157; close; SEW44: warp "prt_sewb4.gat",157,135; close; SSD: menu "Sunken Ship 1",SUNSHI1,"Sunken Ship 2",SUNSHI2; SUNSHI1: warp "treasure01.gat",164,116; close; SUNSHI2: warp "treasure02.gat",100,100; close; TurtleD: menu "Turtle Dungeon 1",TURTD1,"Turtle Dungeon 2",TURTD2,"Turtle Dungeon 3",TURTD3,"Turtle Dungeon 4",TURTD4,"Turtle Dungeon 5",TURTD5; TURTD1: warp "tur_dun01.gat",100,100; close; TURTD2: warp "tur_dun02.gat",115,224; close; TURTD3: warp "tur_dun03.gat",100,100; close; TURTD4: warp "tur_dun04.gat",36,167; close; TURTD5: warp "tur_dun05.gat",80,33; close; UmbD: menu "Umbala Dungeon 1",UMBAD1,"Umbala Dungeon 2",UMBAD2; UMBAD1: warp "um_dun01.gat",139,82; close; UMBAD2: warp "um_dun02.gat",100,100; close; TFD: menu "Lutie Toy Factory 1",LUTOYFAC1,"Lutie Toy Factory 2",LUTOYFAC2; LUTOYFAC1: warp "xmas_dun01.gat",67,124; close; LUTOYFAC2: warp "xmas_dun02.gat",174,102; close; E: close; } //NPC Warp to Party Room //============================================================= sec_in01.gat,94,154,4 script Party Room Warper 803,{ set @gm,getgmlevel(99); if(@gm>20) goto LOk8; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; LOk8: mes "[Party Room Warper]"; mes "Hey GM "+strcharinfo(0)+". Do you want to go to the Party Room?"; next; menu "Sure!",L_Ok,"No thanks.",L_No; L_Ok: mes "[Party Room Warper]"; mes "Have fun GM "+strcharinfo(0)+"!"; next; warp "sec_in01.gat",169,177; close; L_No: close; } //NPC Warp back to the GM Castle //=============================================================== sec_in01.gat,170,177,4 script Warper to Castle 833,{ OnTouch: warp "sec_in01.gat",86,187; announce "Hope to see you again sometime soon, GM "+strcharinfo(0)+". Have a good one!",8; close; } //--------------------------------------------------------- //=NEW UPDATE //=August 9, 2005 //=Swimming Pool Warper By lolol123lol //=Thanks To lolol123lol //---------------------------------------------------------- sec_in01.gat,85,187,4 script GM Treasure::GMTS 831,{ set @gm,getgmlevel(99); if(@gm>20) goto LOk9; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; LOk9: mes "[GM Treasure]"; mes "Hello GM "+strcharinfo(0)+". Do you want to go to the treasure arena?"; menu "Yes, please.",Lyep,"Information.",Linfo,"Another time.",Lanother; Lyep: mes "Please wait your turn in the waiting room."; close; Linfo: mes "[GM Treasure]"; mes "You can hunt for treasure boxes while you there."; next; mes "The Treasure box will appear within a certain time."; next; mes "It contains Zeny."; emotion 18; close; Lanother: mes "[GM Treasure]"; mes "As you wish, GM "+strcharinfo+". Return when your ready."; mes "I'm always here to serve you."; close; OnWarp: warpwaitingpc "sec_in02.gat",17,174,181; disablewaitingroomevent; initnpctimer "Assistant"; end; OnInit: waitingroom "GM Treasure",20,"GMTS::OnWarp",1; end; } sec_in02.gat,0,0,0 script Assistant -1,{ end; OnTimer30000: mapannounce "sec_in02.gat","GM Treasure: Hello GM "+strcharinfo(0)+", You want to be more rich, huh?",8; end; OnTimer60000: mapannounce "sec_in02.gat","GM Treasure: Well, I will spawn a few Treasure Boxes for you in a moment.",8; end; OnTimer90000: mapannounce "sec_in02.gat","GM Treasure: Get Ready...for the treasure hunt!",8; end; OnTimer120000: mapannounce "sec_in02.gat","GM Treasure: Kill the monter and get the treasure!",8; monster "sec_in02.gat",17,174,"Treasure Box1",1325,1,"Treasure"; monster "sec_in02.gat",17,165,"Treasure Box2",1326,1,"Treasure"; monster "sec_in02.gat",17,160,"Treasure Box3",1327,1,"Treasure"; monster "sec_in02.gat",21,175,"Treasure Box4",1328,1,"Treasure"; monster "sec_in02.gat",17,156,"Treasure Box5",1329,1,"Treasure"; end; OnTimer150000: mapannounce "sec_in02.gat","GM Treasure: Kill them all...",8; monster "sec_in02.gat",23,172,"Treasure Box6",1330,1,"Treasure"; monster "sec_in02.gat",26,169,"Treasure Box7",1331,1,"Treasure"; monster "sec_in02.gat",30,164,"Treasure Box8",1332,1,"Treasure"; monster "sec_in02.gat",33,167,"Treasure Box9",1333,1,"Treasure"; monster "sec_in02.gat",35,169,"Treasure Box10",1334,1,"Treasure"; end; OnTimer180000: mapannounce "sec_in02.gat","GM Treasure: Another Treasure spawn...Kill them!",8; monster "sec_in02.gat",37,172,"Treasure Box11",1335,1,"Treasure"; monster "sec_in02.gat",38,154,"Treasure Box12",1336,1,"Treasure"; monster "sec_in02.gat",27,171,"Treasure Box13",1337,1,"Treasure"; monster "sec_in02.gat",27,173,"Treasure Box14",1338,1,"Treasure"; monster "sec_in02.gat",27,164,"Treasure Box15",1339,1,"Treasure"; monster "sec_in02.gat",27,160,"Treasure Box16",1340,1,"Treasure"; end; OnTimer19000: mapannounce "sec_in02.gat","GM Treasure: I spawn a few more Treasure...find em and kill em all!",8; monster "sec_in02.gat",76,175,"Treasure Box17",1341,1,"Treasure"; monster "sec_in02.gat",76,170,"Treasure Box18",1342,1,"Treasure"; monster "sec_in02.gat",75,179,"Treasure Box19",1343,1,"Treasure"; monster "sec_in02.gat",70,176,"Treasure Box20",1344,1,"Treasure"; monster "sec_in02.gat",81,175,"Treasure Box21",1345,1,"Treasure"; end; OnTimer210000: mapannounce "sec_in02.gat", "GM Treasure: Treasure Hunt event has ended...",8; killmonsterall "sec_in02.gat"; end; OnTimer240000: mapannounce "sec_in02.gat","GM Treasure: I will send you back to the castle now.",17; if (getareausers("sec_in02.gat",17,153,85,187) != 0) areawarp "sec_in02.gat",17,153,85,187,"sec_in01.gat",81,187; stopnpctimer; enablewaitingroomevent "GMTS"; end; } //Swimming Pool Warper by lolol123lol //---------------------------------------------------------------------- sec_in01.gat,85,154,4 script Swimming Pool Guard 809,{ set @gm,getgmlevel(99); if(@gm>20) goto LOk11; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; LOk11: mes "[GM Castle Swimming Guard]"; mes "Hello, "+strcharinfo(0)+". I am the guard to the GM Castle Swimming Pool."; next; mes "[GM Castle Swimming Guard]"; mes "You can relax in there..."; next; mes "[GM Castle Training Guard]"; mes "Do you wish to enter the Swimming pool?"; next; menu "Yes, I will enter.",LFollow1,"No, I'd rather not.",LNr1; LFollow1: warp "sec_in02.gat",158,161; close; LNr1: mes "[GM Castle Swimming Guard]"; mes "Well, have fun with whatever, "+strcharinfo(0)+"."; close; } sec_in01.gat,93,175,0 script Guards 105,{} sec_in01.gat,93,175,0 script GuardianTriggerArea 139,3,2,{ set @gm,getgmlevel(99); if(@gm>20) goto Lvalid1; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; Lvalid1: close; } sec_in01.gat,93,161,0 script Guards2 105,{} sec_in01.gat,93,161,0 script Guardian2TriggerArea 139,3,2,{ set @gm,getgmlevel(99); if(@gm>20) goto Lvalid2; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; Lvalid2: close; } sec_in01.gat,84,160,0 script Guards3 105,{} sec_in01.gat,84,160,0 script Guardian3TriggerArea 139,3,2,{ set @gm,getgmlevel(99); if(@gm>20) goto Lvalid3; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; Lvalid3: close; } sec_in01.gat,78,160,0 script Guards4 105,{} sec_in01.gat,78,160,0 script Guardian4TriggerArea 139,3,2,{ set @gm,getgmlevel(99); if(@gm>20) goto Lvalid4; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; Lvalid4: close; } sec_in01.gat,78,167,0 script Guards5 105,{} sec_in01.gat,78,167,0 script Guardian5TriggerArea 139,3,2,{ set @gm,getgmlevel(99); if(@gm>20) goto Lvalid5; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; Lvalid5: close; } sec_in01.gat,78,175,0 script Guards6 105,{} sec_in01.gat,78,175,0 script Guardian6TriggerArea 139,3,2,{ set @gm,getgmlevel(99); if(@gm>20) goto Lvalid6; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; Lvalid6: close; } sec_in01.gat,86,175,0 script Guards7 105,{} sec_in01.gat,86,175,0 script Guardian7TriggerArea 139,3,2,{ set @gm,getgmlevel(99); if(@gm>20) goto Lvalid7; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; Lvalid7: close; } sec_in01.gat,85,149,0 script Guards8 105,{} sec_in01.gat,85,149,0 script Guardian8TriggerArea 139,3,2,{ set @gm,getgmlevel(99); if(@gm>20) goto Lvalid8; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; Lvalid8: close; } sec_in01.gat,77,180,0 script Guards9 105,{} sec_in01.gat,77,180,0 script Guardian9TriggerArea 139,3,2,{ set @gm,getgmlevel(99); if(@gm>20) goto Lvalid9; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; Lvalid9: close; } sec_in01.gat,72,180,0 script Guards10 105,{} sec_in01.gat,72,180,0 script Guardian10TriggerArea 139,3,2,{ set @gm,getgmlevel(99); if(@gm>20) goto Lvalid10; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; Lvalid10: close; } sec_in01.gat,93,175,0 script Guardian11 105,{} sec_in01.gat,93,175,0 script Guardian11TriggerArea 139,3,2,{ set @gm,getgmlevel(99); if(@gm>20) goto Lallowed; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; Lallowed: close; } sec_in01.gat,93,161,0 script Guardian12 105,{} sec_in01.gat,93,175,0 script Guardian12TriggerArea 139,3,2,{ set @gm,getgmlevel(99); if(@gm>20) goto Lallowed1; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; Lallowed1: close; } sec_in01.gat,93,175,0 script Guardian13 105,{} sec_in01.gat,93,175,0 script Guardian13TriggerArea 139,3,2,{ set @gm,getgmlevel(99); if(@gm>20) goto Lallowed2; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; Lallowed2: close; } sec_in01.gat,84,160,0 script Guardian14 105,{} sec_in01.gat,84,160,0 script Guardian14TriggerArea 139,3,2,{ set @gm,getgmlevel(99); if(@gm>20) goto Lallowed3; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; Lallowed3: close; } sec_in01.gat,78,160,0 script Guardian15 105,{} sec_in01.gat,78,160,0 script Guardian15TriggerArea 139,3,2,{ set @gm,getgmlevel(99); if(@gm>20) goto Lallowed4; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; Lallowed4: close; } sec_in01.gat,78,167,0 script Guardian16 105,{} sec_in01.gat,78,167,0 script Guardian16TriggerArea 139,3,2,{ set @gm,getgmlevel(99); if(@gm>20) goto Lallowed5; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; Lallowed5: close; } sec_in01.gat,78,175,0 script Guardian17 105,{} sec_in01.gat,78,175,0 script Guardian17TriggerArea 139,3,2,{ set @gm,getgmlevel(99); if(@gm>20) goto Lallowed6; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; Lallowed6: close; } sec_in01.gat,86,175,0 script Guardian18 105,{} sec_in01.gat,93,175,0 script Guardian18TriggerArea 139,3,2,{ set @gm,getgmlevel(99); if(@gm>20) goto Lallowed7; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; Lallowed7: close; } sec_in01.gat,85,149,0 script Guardian19 105,{} sec_in01.gat,93,175,0 script Guardian19TriggerArea 139,3,2,{ set @gm,getgmlevel(99); if(@gm>20) goto Lallowed8; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; Lallowed8: close; } sec_in01.gat,77,180,0 script Guardian20 105,{} sec_in01.gat,77,180,0 script Guardian20TriggerArea 139,3,2,{ set @gm,getgmlevel(99); if(@gm>20) goto Lallowed9; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; Lallowed9: close; } sec_in01.gat,93,168,0 script Guardian21 105,{} sec_in01.gat,93,168,0 script Guardian21TriggerArea 139,3,2,{ set @gm,getgmlevel(99); if(@gm>20) goto Lallowed10; save "sec_pri.gat",24,76; warp "sec_pri.gat",24,76; percentheal -100,-100; close; Lallowed10: close; } sec_in01.gat,85,145,6 warp Mainroom 1,1,sec_in01.gat,85,124 sec_in01.gat,85,130,6 warp Maingm 1,1,sec_in01.gat,85,146 sec_in01.gat,100,127,6 warp Rightstare 1,1,sec_in01.gat,95,90 sec_in01.gat,100,90,6 warp Rightstarecb 1,1,sec_in01.gat,96,127 sec_in01.gat,85,58,6 warp 2ndroom 1,1,sec_in01.gat,85,38 sec_in01.gat,85,42,6 warp 2ndroomcb 1,1,sec_in01.gat,85,62 sec_in01.gat,72,87,6 warp DinningroomE 1,1,sec_in01.gat,121,88 sec_in01.gat,117,88,6 warp Dinningroomcb 1,1,sec_in01.gat,76,87 sec_in01.gat,148,97,6 warp MeetingroomE 1,1,sec_in01.gat,171,99 sec_in01.gat,167,99,6 warp Meetingroomcb 1,1,sec_in01.gat,143,97 sec_in01.gat,135,71,6 warp 2ndroomE2 1,1,sec_in01.gat,85,21 sec_in01.gat,85,16,6 warp MeetingroomE 1,1,sec_in01.gat,135,75 sec_in01.gat,134,115,6 warp CheckersroomE 1,1,sec_in01.gat,168,165 sec_in01.gat,168,159,6 warp CheckersroomCB 1,1,sec_in01.gat,134,111 sec_in01.gat,70,124,6 warp TortueroomE 1,1,sec_in01.gat,34,87 sec_in01.gat,38,87,6 warp StortueroomCB 1,1,sec_in01.gat,74,125 sec_in02.gat,137,86,6 warp TrainningGround 1,1,sec_in01.gat,20,80