//===== eAthena Script =======================================
//= War of Emperium - Geffen Guild Flags
//===== By: ==================================================
//= jAthena (1.0)
//===== Current Version: =====================================
//= 1.1
//===== Compatible With: =====================================
//= eAthena 0.1+; RO Episode 4+
//===== Description: =========================================
//= Castle Guild Flags in prontera and prt_gld
//===== Additional Comments: =================================
//= 1.1 by Akaru and ho|yAnge|
//============================================================
//Geffen Castle 01 - Reprion
geffen.gat,109,123,2 script Reprion#g1-1 722,{
set @GIDg1,GetCastleData("gefg_cas01.gat",1);
if (@GIDg1 != 0) goto LStartg;
mes "[ Edict of the Divine Rune Midgard Kingdom of Prontera ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Prontera,";
mes " this guild base has not been taken by any guild yet";
mes " ";
mes "2. In order to take this guild base, you must defeat all the guardians";
mes " that are protecting the guild base and eliminate the Emperium";
close;
LStartg:
mes "[ Edict of the Divine Rune Midgard Kingdom of Prontera ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Prontera,";
mes " we approve that this base is in the private possession of ^ff0000" + GetGuildName(@GIDg1) + "^000000 guild";
mes " ";
mes "2. The guild master of ^ff0000" + GetGuildName(@GIDg1) + "^000000 is";
mes " ^ff0000" + GetGuildMaster(@GIDg1) + "^000000. If anyone who objects to that,";
mes " raise your sword to honor yourself.";
close;
OnRecvCastleG01:
FlagEmblem GetCastleData("gefg_cas01.gat",1);
break;
}
gef_fild13.gat,148,51,5 script Reprion#g1-2::ReprionW 722,{
set @GIDg1,GetCastleData("gefg_cas01.gat",1);
if (@GIDg1 != 0) goto LStartg;
mes "[ Edict of the Divine Rune Midgard Kingdom of Geffen ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Geffen,";
mes " this guild base has not been taken by any guild yet";
mes " ";
mes "2. In order to take this guild base, you must defeat all the guardians";
mes " that are protecting the guild base and eliminate the Emperium";
close;
LStartg:
if (getcharid(2) == @GIDg1) goto LStartg2;
mes "[ Edict of the Divine Rune Midgard Kingdom of Geffen ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Geffen,";
mes " we approve that this base is in the private possession of ^ff0000" + GetGuildName(@GIDg1) + "^000000 guild";
mes " ";
mes "2. The guild master of ^ff0000" + GetGuildName(@GIDg1) + "^000000 is";
mes " ^ff0000" + GetGuildMaster(@GIDg1) + "^000000. If anyone who objects to that,";
mes " raise your sword to honor yourself.";
close;
LStartg2:
mes "[ Ringing Voice ]";
mes "Brave man...";
mes "Would you return to your honorable be?";
next;
menu "Go back to your agitating point",Lenter,"Cancel",-;
close;
Lenter:
warp "gefg_cas01.gat",83,47;
break;
OnRecvCastleG01:
FlagEmblem GetCastleData("gefg_cas01.gat",1);
break;
}
gef_fild13.gat,155,54,5 duplicate(ReprionW) Reprion#g1-3 722
gef_fild13.gat,212,79,6 duplicate(ReprionW) Reprion#g1-4 722
gef_fild13.gat,211,71,6 duplicate(ReprionW) Reprion#g1-5 722
//Geffen Castle 02 - Yolbriger
geffen.gat,112,129,1 script Yolbriger#g2-1 722,{
set @GIDg2,GetCastleData("gefg_cas02.gat",1);
if (@GIDg2 != 0) goto LStartg;
mes "[ Edict of the Divine Rune Midgard Kingdom of Prontera ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Prontera,";
mes " this guild base has not been taken by any guild yet";
mes " ";
mes "2. In order to take this guild base, you must defeat all the guardians";
mes " that are protecting the guild base and eliminate the Emperium";
close;
LStartg:
mes "[ Edict of the Divine Rune Midgard Kingdom of Prontera ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Prontera,";
mes " we approve that this base is in the private possession of ^ff0000" + GetGuildName(@GIDg2) + "^000000 guild";
mes " ";
mes "2. The guild master of ^ff0000" + GetGuildName(@GIDg2) + "^000000 is";
mes " ^ff0000" + GetGuildMaster(@GIDg2) + "^000000. If anyone who objects to that,";
mes " raise your sword to honor yourself.";
close;
OnRecvCastleG02:
FlagEmblem GetCastleData("gefg_cas02.gat",1);
break;
}
gef_fild13.gat,303,243,4 script Yolbriger#g2-2::YolbrigerW 722,{
set @GIDg2,GetCastleData("gefg_cas02.gat",1);
if (@GIDg2 != 0) goto LStartg;
mes "[ Edict of the Divine Rune Midgard Kingdom of Geffen ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Geffen,";
mes " this guild base has not been taken by any guild yet";
mes " ";
mes "2. In order to take this guild base, you must defeat all the guardians";
mes " that are protecting the guild base and eliminate the Emperium";
close;
LStartg:
if (getcharid(2) == @GIDg2) goto LStartg2;
mes "[ Edict of the Divine Rune Midgard Kingdom of Geffen ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Geffen,";
mes " we approve that this base is in the private possession of ^ff0000" + GetGuildName(@GIDg2) + "^000000 guild";
mes " ";
mes "2. The guild master of ^ff0000" + GetGuildName(@GIDg2) + "^000000 is";
mes " ^ff0000" + GetGuildMaster(@GIDg2) + "^000000. If anyone who objects to that,";
mes " raise your sword to honor yourself.";
close;
LStartg2:
mes "[ Ringing Voice ]";
mes "Brave man...";
mes "Would you return to your honorable be?";
next;
menu "Go back to your agitating point",Lenter,"Cancel",-;
close;
Lenter:
warp "gefg_cas02.gat",23,66;
break;
OnRecvCastleG02:
FlagEmblem GetCastleData("gefg_cas02.gat",1);
break;
}
gef_fild13.gat,312,243,4 duplicate(YolbrigerW) Yolbriger#g2-3 722
gef_fild13.gat,290,243,4 duplicate(YolbrigerW) Yolbriger#g2-4 722
gef_fild13.gat,324,243,4 duplicate(YolbrigerW) Yolbriger#g2-5 722
//Geffen Castle 03 - Isinlife
geffen.gat,120,132,8 script Isinlife#g3-1 722,{
set @GIDg3,GetCastleData("gefg_cas03.gat",1);
if (@GIDg3 != 0) goto LStartg;
mes "[ Edict of the Divine Rune Midgard Kingdom of Geffen ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Geffen,";
mes " this guild base has not been taken by any guild yet";
mes " ";
mes "2. In order to take this guild base, you must defeat all the guardians";
mes " that are protecting the guild base and eliminate the Emperium";
close;
LStartg:
mes "[ Edict of the Divine Rune Midgard Kingdom of Geffen ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Geffen,";
mes " we approve that this base is in the private possession of ^ff0000" + GetGuildName(@GIDg3) + "^000000 guild";
mes " ";
mes "2. The guild master of ^ff0000" + GetGuildName(@GIDg3) + "^000000 is";
mes " ^ff0000" + GetGuildMaster(@GIDg3) + "^000000. If anyone who objects to that,";
mes " raise your sword to honor yourself.";
close;
OnRecvCastleG03:
FlagEmblem GetCastleData("gefg_cas03.gat",1);
break;
}
gef_fild13.gat,78,182,4 script Isinlife#g3-2::IsinlifeW 722,{
set @GIDg3,GetCastleData("gefg_cas03.gat",1);
if (@GIDg3 != 0) goto LStartg;
mes "[ Edict of the Divine Rune Midgard Kingdom of Geffen ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Geffen,";
mes " this guild base has not been taken by any guild yet";
mes " ";
mes "2. In order to take this guild base, you must defeat all the guardians";
mes " that are protecting the guild base and eliminate the Emperium";
close;
LStartg:
if (getcharid(2) == @GIDg3) goto LStartg3;
mes "[ Edict of the Divine Rune Midgard Kingdom of Geffen ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Geffen,";
mes " we approve that this base is in the private possession of ^ff0000" + GetGuildName(@GIDg3) + "^000000 guild";
mes " ";
mes "2. The guild master of ^ff0000" + GetGuildName(@GIDg3) + "^000000 is";
mes " ^ff0000" + GetGuildMaster(@GIDg3) + "^000000. If anyone who objects to that,";
mes " raise your sword to honor yourself.";
close;
LStartg3:
mes "[ Ringing Voice ]";
mes "Brave man...";
mes "Would you return to your honorable be?";
next;
menu "Go back to your agitating point",Lenter,"Cancel",-;
close;
Lenter:
warp "gefg_cas03.gat",116,89;
break;
OnRecvCastleG03:
FlagEmblem GetCastleData("gefg_cas03.gat",1);
break;
}
gef_fild13.gat,87,182,4 duplicate(IsinlifeW) Isinlife#g3-3 722
gef_fild13.gat,73,295,7 duplicate(IsinlifeW) Isinlife#g3-4 722
gef_fild13.gat,113,274,7 duplicate(IsinlifeW) Isinlife#g3-5 722
gef_fild13.gat,144,235,6 duplicate(IsinlifeW) Isinlife#g3-6 722
gef_fild13.gat,144,244,4 duplicate(IsinlifeW) Isinlife#g3-7 722
//Geffen Castle 04 - Berigel
geffen.gat,127,130,7 script Berigel#g4-1 722,{
set @GIDg4,GetCastleData("gefg_cas04.gat",1);
if (@GIDg4 != 0) goto LStartg;
mes "[ Edict of the Divine Rune Midgard Kingdom of Geffen ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Geffen,";
mes " this guild base has not been taken by any guild yet";
mes " ";
mes "2. In order to take this guild base, you must defeat all the guardians";
mes " that are protecting the guild base and eliminate the Emperium";
close;
LStartg:
mes "[ Edict of the Divine Rune Midgard Kingdom of Geffen ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Geffen,";
mes " we approve that this base is in the private possession of ^ff0000" + GetGuildName(@GIDg4) + "^000000 guild";
mes " ";
mes "2. The guild master of ^ff0000" + GetGuildName(@GIDg4) + "^000000 is";
mes " ^ff0000" + GetGuildMaster(@GIDg4) + "^000000. If anyone who objects to that,";
mes " raise your sword to honor yourself.";
close;
OnRecvCastleg04:
FlagEmblem GetCastleData("gefg_cas04.gat",1);
break;
}
gef_fild13.gat,190,283,3 script Berigel#g4-2::BerigelW 722,{
set @GIDg4,GetCastleData("gefg_cas04.gat",1);
if (@GIDg4 != 0) goto LStartg;
mes "[ Edict of the Divine Rune Midgard Kingdom of Geffen ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Geffen,";
mes " this guild base has not been taken by any guild yet";
mes " ";
mes "2. In order to take this guild base, you must defeat all the guardians";
mes " that are protecting the guild base and eliminate the Emperium";
close;
LStartg:
if (getcharid(2) == @GIDg4) goto LStartg4;
mes "[ Edict of the Divine Rune Midgard Kingdom of Geffen ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Geffen,";
mes " we approve that this base is in the private possession of ^ff0000" + GetGuildName(@GIDg4) + "^000000 guild";
mes " ";
mes "2. The guild master of ^ff0000" + GetGuildName(@GIDg4) + "^000000 is";
mes " ^ff0000" + GetGuildMaster(@GIDg4) + "^000000. If anyone who objects to that,";
mes " raise your sword to honor yourself.";
close;
LStartg4:
mes "[ Ringing Voice ]";
mes "Brave man...";
mes "Would you return to your honorable be?";
next;
menu "Go back to your agitating point",Lenter,"Cancel",-;
close;
Lenter:
warp "gefg_cas04.gat",59,70;
break;
OnRecvCastleG04:
FlagEmblem GetCastleData("gefg_cas04.gat",1);
break;
}
gef_fild13.gat,199,274,3 duplicate(BerigelW) Berigel#g4-3 722
//Geffen Castle 05 - Melsedetsu
geffen.gat,131,123,6 script Melsedetsu#g5-1 722,{
set @GIDg5,GetCastleData("gefg_cas05.gat",1);
if (@GIDg5 != 0) goto LStartg;
mes "[ Edict of the Divine Rune Midgard Kingdom of Geffen ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Geffen,";
mes " this guild base has not been taken by any guild yet";
mes " ";
mes "2. In order to take this guild base, you must defeat all the guardians";
mes " that are protecting the guild base and eliminate the Emperium";
close;
LStartg:
mes "[ Edict of the Divine Rune Midgard Kingdom of Geffen ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Geffen,";
mes " we approve that this base is in the private possession of ^ff0000" + GetGuildName(@GIDg5) + "^000000 guild";
mes " ";
mes "2. The guild master of ^ff0000" + GetGuildName(@GIDg5) + "^000000 is";
mes " ^ff0000" + GetGuildMaster(@GIDg5) + "^000000. If anyone who objects to that,";
mes " raise your sword to honor yourself.";
close;
OnRecvCastleg05:
FlagEmblem GetCastleData("gefg_cas05.gat",1);
break;
}
gef_fild13.gat,302,87,7 script Melsedetsu#g5-2::MelsedetsuW 722,{
set @GIDg5,GetCastleData("gefg_cas05.gat",1);
if (@GIDg5 != 0) goto LStartg;
mes "[ Edict of the Divine Rune Midgard Kingdom of Geffen ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Geffen,";
mes " this guild base has not been taken by any guild yet";
mes " ";
mes "2. In order to take this guild base, you must defeat all the guardians";
mes " that are protecting the guild base and eliminate the Emperium";
close;
LStartg:
if (getcharid(2) == @GIDg5) goto LStartg5;
mes "[ Edict of the Divine Rune Midgard Kingdom of Geffen ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Geffen,";
mes " we approve that this base is in the private possession of ^ff0000" + GetGuildName(@GIDg5) + "^000000 guild";
mes " ";
mes "2. The guild master of ^ff0000" + GetGuildName(@GIDg5) + "^000000 is";
mes " ^ff0000" + GetGuildMaster(@GIDg5) + "^000000. If anyone who objects to that,";
mes " raise your sword to honor yourself.";
close;
LStartg5:
mes "[ Ringing Voice ]";
mes "Brave man...";
mes "Would you return to your honorable be?";
next;
menu "Go back to your agitating point",Lenter,"Cancel",-;
close;
Lenter:
warp "gefg_cas05.gat",61,52;
break;
OnRecvCastleG05:
FlagEmblem GetCastleData("gefg_cas05.gat",1);
break;
}
gef_fild13.gat,313,83,0 duplicate(MelsedetsuW) Melsedetsu#g5-3 722
gef_fild13.gat,252,51,2 duplicate(MelsedetsuW) Melsedetsu#g5-4 722
gef_fild13.gat,26,147,2 duplicate(MelsedetsuW) Melsedetsu#g5-5 722