//===== eAthena Script =======================================
//= War of Emperium - Al de Baran Guild Flags
//===== By: ==================================================
//= jAthena (1.0)
//===== Current Version: =====================================
//= 1.1
//===== Compatible With: =====================================
//= eAthena 0.1+; RO Episode 4+
//===== Description: =========================================
//= Castle Guild Flags in aldebaran and alde_gld
//===== Additional Comments: =================================
//= 1.1 by Akaru and ho|yAnge|
//============================================================
//Al de Baran Castle 01 - Noisyubantian
aldebaran.gat,155,190,4 script Noisyubantian#a1-1 722,{
set @GIDa1,GetCastleData("aldeg_cas01.gat",1);
if (@GIDa1 != 0) goto LStartg;
mes "[ Edict of the Divine Rune Midgard Kingdom of Al de Baran ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Al de Baran,";
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 Al de Baran ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Al de Baran,";
mes " we approve that this base is in the private possession of ^ff0000" + GetGuildName(@GIDa1) + "^000000 guild";
mes " ";
mes "2. The guild master of ^ff0000" + GetGuildName(@GIDa1) + "^000000 is";
mes " ^ff0000" + GetGuildMaster(@GIDa1) + "^000000. If anyone who objects to that,";
mes " raise your sword to honor yourself.";
close;
OnRecvCastleA01:
FlagEmblem GetCastleData("aldeg_cas01.gat",1);
break;
}
alde_gld.gat,61,87,6 script Noisyubantian#a1-2::NoisyubantianW 722,{
set @GIDa1,GetCastleData("aldeg_cas01.gat",1);
if (@GIDa1 != 0) goto LStartg;
mes "[ Edict of the Divine Rune Midgard Kingdom of Al de Baran ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Al de Baran,";
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) == @GIDa1) goto LStartg2;
mes "[ Edict of the Divine Rune Midgard Kingdom of Al de Baran ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Al de Baran,";
mes " we approve that this base is in the private possession of ^ff0000" + GetGuildName(@GIDa1) + "^000000 guild";
mes " ";
mes "2. The guild master of ^ff0000" + GetGuildName(@GIDa1) + "^000000 is";
mes " ^ff0000" + GetGuildMaster(@GIDa1) + "^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 "aldeg_cas01.gat",218,170;
break;
OnRecvCastleA01:
FlagEmblem GetCastleData("aldeg_cas01.gat",1);
break;
}
alde_gld.gat,61,79,6 duplicate(NoisyubantianW) Noisyubantian#a1-3 722
alde_gld.gat,45,87,8 duplicate(NoisyubantianW) Noisyubantian#a1-4 722
alde_gld.gat,51,87,8 duplicate(NoisyubantianW) Noisyubantian#a1-5 722
//Al de Baran Castle 02 - Hohensyubangawoo
aldebaran.gat,146,194,3 script Hohensyubangawoo#a2-1 722,{
set @GIDa2,GetCastleData("aldeg_cas02.gat",1);
if (@GIDa2 != 0) goto LStartg;
mes "[ Edict of the Divine Rune Midgard Kingdom of Al de Baran ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Al de Baran,";
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 Al de Baran ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Al de Baran,";
mes " we approve that this base is in the private possession of ^ff0000" + GetGuildName(@GIDa2) + "^000000 guild";
mes " ";
mes "2. The guild master of ^ff0000" + GetGuildName(@GIDa2) + "^000000 is";
mes " ^ff0000" + GetGuildMaster(@GIDa2) + "^000000. If anyone who objects to that,";
mes " raise your sword to honor yourself.";
close;
OnRecvCastleA02:
FlagEmblem GetCastleData("aldeg_cas02.gat",1);
break;
}
alde_gld.gat,93,250,5 script Hohensyubangawoo#a2-2::HohensyubangawooW 722,{
set @GIDa2,GetCastleData("aldeg_cas02.gat",1);
if (@GIDa2 != 0) goto LStartg;
mes "[ Edict of the Divine Rune Midgard Kingdom of Al de Baran ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Al de Baran,";
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) == @GIDa2) goto LStartg2;
mes "[ Edict of the Divine Rune Midgard Kingdom of Al de Baran ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Al de Baran,";
mes " we approve that this base is in the private possession of ^ff0000" + GetGuildName(@GIDa2) + "^000000 guild";
mes " ";
mes "2. The guild master of ^ff0000" + GetGuildName(@GIDa2) + "^000000 is";
mes " ^ff0000" + GetGuildMaster(@GIDa2) + "^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 "aldeg_cas02.gat",84,74;
break;
OnRecvCastleA02:
FlagEmblem GetCastleData("aldeg_cas02.gat",1);
break;
}
alde_gld.gat,98,250,5 duplicate(HohensyubangawooW) Hohensyubangawoo#a2-3 722
//Al de Baran Castle 03 - Nyirenverk
aldebaran.gat,143,203,2 script Nyirenverk#a3-1 722,{
set @GIDa3,GetCastleData("aldeg_cas03.gat",1);
if (@GIDa3 != 0) goto LStartg;
mes "[ Edict of the Divine Rune Midgard Kingdom of Al de Baran ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Al de Baran,";
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 Al de Baran ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Al de Baran,";
mes " we approve that this base is in the private possession of ^ff0000" + GetGuildName(@GIDa3) + "^000000 guild";
mes " ";
mes "2. The guild master of ^ff0000" + GetGuildName(@GIDa3) + "^000000 is";
mes " ^ff0000" + GetGuildMaster(@GIDa3) + "^000000. If anyone who objects to that,";
mes " raise your sword to honor yourself.";
close;
OnRecvCastleA03:
FlagEmblem GetCastleData("aldeg_cas03.gat",1);
break;
}
alde_gld.gat,139,83,1 script Nyirenverk#a3-2::NyirenverkW 722,{
set @GIDa3,GetCastleData("aldeg_cas03.gat",1);
if (@GIDa3 != 0) goto LStartg;
mes "[ Edict of the Divine Rune Midgard Kingdom of Al de Baran ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Al de Baran,";
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) == @GIDa3) goto LStartg2;
mes "[ Edict of the Divine Rune Midgard Kingdom of Al de Baran ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Al de Baran,";
mes " we approve that this base is in the private possession of ^ff0000" + GetGuildName(@GIDa3) + "^000000 guild";
mes " ";
mes "2. The guild master of ^ff0000" + GetGuildName(@GIDa3) + "^000000 is";
mes " ^ff0000" + GetGuildMaster(@GIDa3) + "^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 "aldeg_cas03.gat",118,76;
break;
OnRecvCastleA03:
FlagEmblem GetCastleData("aldeg_cas03.gat",1);
break;
}
alde_gld.gat,145,83,1 duplicate(NyirenverkW) Nyirenverk#a3-3 722
//Al de Baran Castle 04 - Byirtsburi
aldebaran.gat,167,203,6 script Byirtsburi#a4-1 722,{
set @GIDa4,GetCastleData("aldeg_cas04.gat",1);
if (@GIDa4 != 0) goto LStartg;
mes "[ Edict of the Divine Rune Midgard Kingdom of Al de Baran ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Al de Baran,";
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 Al de Baran ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Al de Baran,";
mes " we approve that this base is in the private possession of ^ff0000" + GetGuildName(@GIDa4) + "^000000 guild";
mes " ";
mes "2. The guild master of ^ff0000" + GetGuildName(@GIDa4) + "^000000 is";
mes " ^ff0000" + GetGuildMaster(@GIDa4) + "^000000. If anyone who objects to that,";
mes " raise your sword to honor yourself.";
close;
OnRecvCastleA04:
FlagEmblem GetCastleData("aldeg_cas04.gat",1);
break;
}
alde_gld.gat,239,247,1 script Byirtsburi#a4-2::ByirtsburiW 722,{
set @GIDa4,GetCastleData("aldeg_cas04.gat",1);
if (@GIDa4 != 0) goto LStartg;
mes "[ Edict of the Divine Rune Midgard Kingdom of Al de Baran ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Al de Baran,";
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) == @GIDa4) goto LStartg2;
mes "[ Edict of the Divine Rune Midgard Kingdom of Al de Baran ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Al de Baran,";
mes " we approve that this base is in the private possession of ^ff0000" + GetGuildName(@GIDa4) + "^000000 guild";
mes " ";
mes "2. The guild master of ^ff0000" + GetGuildName(@GIDa4) + "^000000 is";
mes " ^ff0000" + GetGuildMaster(@GIDa4) + "^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 "aldeg_cas04.gat",45,88;
break;
OnRecvCastleA04:
FlagEmblem GetCastleData("aldeg_cas04.gat",1);
break;
}
alde_gld.gat,234,247,1 duplicate(ByirtsburiW) Byirtsburi#a4-3 722
//Al de Baran Castle 05 - Rotenburk
aldebaran.gat,165,194,5 script Rotenburk#a5-1 722,{
set @GIDa5,GetCastleData("aldeg_cas05.gat",1);
if (@GIDa5 != 0) goto LStartg;
mes "[ Edict of the Divine Rune Midgard Kingdom of Al de Baran ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Al de Baran,";
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 Al de Baran ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Al de Baran,";
mes " we approve that this base is in the private possession of ^ff0000" + GetGuildName(@GIDa5) + "^000000 guild";
mes " ";
mes "2. The guild master of ^ff0000" + GetGuildName(@GIDa5) + "^000000 is";
mes " ^ff0000" + GetGuildMaster(@GIDa5) + "^000000. If anyone who objects to that,";
mes " raise your sword to honor yourself.";
close;
OnRecvCastleA05:
FlagEmblem GetCastleData("aldeg_cas05.gat",1);
break;
}
alde_gld.gat,266,92,7 script Rotenburk#a5-2::RotenburkW 722,{
set @GIDa5,GetCastleData("aldeg_cas05.gat",1);
if (@GIDa5 != 0) goto LStartg;
mes "[ Edict of the Divine Rune Midgard Kingdom of Al de Baran ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Al de Baran,";
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) == @GIDa5) goto LStartg2;
mes "[ Edict of the Divine Rune Midgard Kingdom of Al de Baran ]";
mes " ";
mes "1. Honoring the ordinance of the Divine Rune Midgard Kingdom of Al de Baran,";
mes " we approve that this base is in the private possession of ^ff0000" + GetGuildName(@GIDa5) + "^000000 guild";
mes " ";
mes "2. The guild master of ^ff0000" + GetGuildName(@GIDa5) + "^000000 is";
mes " ^ff0000" + GetGuildMaster(@GIDa5) + "^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 "aldeg_cas05.gat",31,190;
break;
OnRecvCastleA05:
FlagEmblem GetCastleData("aldeg_cas05.gat",1);
break;
}
alde_gld.gat,266,88,7 duplicate(RotenburkW) Rotenburk#a5-3 722