//===== eAthena Script =======================================
//= War of Emperium - Prontera 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|
//============================================================
//Prontera Castle 01 - Creamhilt
prontera.gat,155,190,4 script Creamhilt#p1-1 722,{
set @GIDp1,GetCastleData("prtg_cas01.gat",1);
if (@GIDp1 != 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(@GIDp1) + "^000000 guild";
mes " ";
mes "2. The guild master of ^ff0000" + GetGuildName(@GIDp1) + "^000000 is";
mes " ^ff0000" + GetGuildMaster(@GIDp1) + "^000000. If anyone who objects to that,";
mes " raise your sword to honor yourself.";
close;
OnRecvCastleP01:
FlagEmblem GetCastleData("prtg_cas01.gat",1);
break;
}
prt_gld.gat,131,60,6 script Creamhilt#p1-2::CreamhiltW 722,{
set @GIDp1,GetCastleData("prtg_cas01.gat",1);
if (@GIDp1 != 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:
if (getcharid(2) == @GIDp1) goto LStartg2;
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(@GIDp1) + "^000000 guild";
mes " ";
mes "2. The guild master of ^ff0000" + GetGuildName(@GIDp1) + "^000000 is";
mes " ^ff0000" + GetGuildMaster(@GIDp1) + "^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 "prtg_cas01.gat",97,174;
break;
OnRecvCastleP01:
FlagEmblem GetCastleData("prtg_cas01.gat",1);
break;
}
prt_gld.gat,138,68,6 duplicate(CreamhiltW) Creamhilt#p1-3 722
prt_gld.gat,138,60,6 duplicate(CreamhiltW) Creamhilt#p1-4 722
prt_gld.gat,135,60,6 duplicate(CreamhiltW) Creamhilt#p1-5 722
prt_gld.gat,160,210,4 duplicate(CreamhiltW) Creamhilt#p1-6 722
//Prontera Castle 02 - Sbanhealt
prontera.gat,146,194,3 script Sbanhealt#p2-1 722,{
set @GIDp2,GetCastleData("prtg_cas02.gat",1);
if (@GIDp2 != 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(@GIDp2) + "^000000 guild";
mes " ";
mes "2. The guild master of ^ff0000" + GetGuildName(@GIDp2) + "^000000 is";
mes " ^ff0000" + GetGuildMaster(@GIDp2) + "^000000. If anyone who objects to that,";
mes " raise your sword to honor yourself.";
close;
OnRecvCastleP02:
FlagEmblem GetCastleData("prtg_cas02.gat",1);
break;
}
prt_gld.gat,153,213,3 script Sbanhealt#p2-2::SbanhealtW 722,{
set @GIDp2,GetCastleData("prtg_cas02.gat",1);
if (@GIDp2 != 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:
if (getcharid(2) == @GIDp2) goto LStartg2;
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(@GIDp2) + "^000000 guild";
mes " ";
mes "2. The guild master of ^ff0000" + GetGuildName(@GIDp2) + "^000000 is";
mes " ^ff0000" + GetGuildMaster(@GIDp2) + "^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 "prtg_cas02.gat",71,36;
break;
OnRecvCastleP02:
FlagEmblem GetCastleData("prtg_cas02.gat",1);
break;
}
prt_gld.gat,244,126,8 duplicate(SbanhealtW) Sbanhealt#p2-3 722
prt_gld.gat,244,128,8 duplicate(SbanhealtW) Sbanhealt#p2-4 722
prt_gld.gat,236,126,8 duplicate(SbanhealtW) Sbanhealt#p2-5 722
prt_gld.gat,236,128,8 duplicate(SbanhealtW) Sbanhealt#p2-6 722
//Prontera Castle 03 - Lazrigees
prontera.gat,143,203,2 script Lazrigees#p3-1 722,{
set @GIDp3,GetCastleData("prtg_cas03.gat",1);
if (@GIDp3 != 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(@GIDp3) + "^000000 guild";
mes " ";
mes "2. The guild master of ^ff0000" + GetGuildName(@GIDp3) + "^000000 is";
mes " ^ff0000" + GetGuildMaster(@GIDp3) + "^000000. If anyone who objects to that,";
mes " raise your sword to honor yourself.";
close;
OnRecvCastleP03:
FlagEmblem GetCastleData("prtg_cas03.gat",1);
break;
}
prt_gld.gat,150,220,2 script Lazrigees#p3-2::LazrigeesW 722,{
set @GIDp3,GetCastleData("prtg_cas03.gat",1);
if (@GIDp3 != 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:
if (getcharid(2) == @GIDp3) goto LStartg2;
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(@GIDp3) + "^000000 guild";
mes " ";
mes "2. The guild master of ^ff0000" + GetGuildName(@GIDp3) + "^000000 is";
mes " ^ff0000" + GetGuildMaster(@GIDp3) + "^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 "prtg_cas03.gat",97,174;
break;
OnRecvCastleP03:
FlagEmblem GetCastleData("prtg_cas03.gat",1);
break;
}
prt_gld.gat,147,140,4 duplicate(LazrigeesW) Lazrigees#p3-3 722
prt_gld.gat,147,136,4 duplicate(LazrigeesW) Lazrigees#p3-4 722
prt_gld.gat,158,140,4 duplicate(LazrigeesW) Lazrigees#p3-5 722
prt_gld.gat,158,136,4 duplicate(LazrigeesW) Lazrigees#p3-6 722
//Prontera Castle 04 - Squagul
prontera.gat,167,203,6 script Squagul#p4-1 722,{
set @GIDp4,GetCastleData("prtg_cas04.gat",1);
if (@GIDp4 != 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(@GIDp4) + "^000000 guild";
mes " ";
mes "2. The guild master of ^ff0000" + GetGuildName(@GIDp4) + "^000000 is";
mes " ^ff0000" + GetGuildMaster(@GIDp4) + "^000000. If anyone who objects to that,";
mes " raise your sword to honor yourself.";
close;
OnRecvCastleP04:
FlagEmblem GetCastleData("prtg_cas04.gat",1);
break;
}
prt_gld.gat,169,220,6 script Squagul#p4-2::SquagulW 722,{
set @GIDp4,GetCastleData("prtg_cas04.gat",1);
if (@GIDp4 != 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:
if (getcharid(2) == @GIDp4) goto LStartg2;
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(@GIDp4) + "^000000 guild";
mes " ";
mes "2. The guild master of ^ff0000" + GetGuildName(@GIDp4) + "^000000 is";
mes " ^ff0000" + GetGuildMaster(@GIDp4) + "^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 "prtg_cas04.gat",97,174;
break;
OnRecvCastleP04:
FlagEmblem GetCastleData("prtg_cas04.gat",1);
break;
}
prt_gld.gat,120,243,6 duplicate(SquagulW) Squagul#p4-3 722
prt_gld.gat,120,236,6 duplicate(SquagulW) Squagul#p4-4 722
prt_gld.gat,122,243,6 duplicate(SquagulW) Squagul#p4-5 722
prt_gld.gat,122,246,6 duplicate(SquagulW) Squagul#p4-6 722
//Prontera Castle 05 - Guindull
prontera.gat,165,194,5 script Guindull#p5-1 722,{
set @GIDp5,GetCastleData("prtg_cas05.gat",1);
if (@GIDp5 != 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(@GIDp5) + "^000000 guild";
mes " ";
mes "2. The guild master of ^ff0000" + GetGuildName(@GIDp5) + "^000000 is";
mes " ^ff0000" + GetGuildMaster(@GIDp5) + "^000000. If anyone who objects to that,";
mes " raise your sword to honor yourself.";
close;
OnRecvCastleP05:
FlagEmblem GetCastleData("prtg_cas05.gat",1);
break;
}
prt_gld.gat,167,213,5 script Guindull#p5-2::GuindullW 722,{
set @GIDp5,GetCastleData("prtg_cas05.gat",1);
if (@GIDp5 != 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:
if (getcharid(2) == @GIDp5) goto LStartg2;
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(@GIDp5) + "^000000 guild";
mes " ";
mes "2. The guild master of ^ff0000" + GetGuildName(@GIDp5) + "^000000 is";
mes " ^ff0000" + GetGuildMaster(@GIDp5) + "^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 "prtg_cas05.gat",97,174;
break;
OnRecvCastleP05:
FlagEmblem GetCastleData("prtg_cas05.gat",1);
break;
}
prt_gld.gat,199,243,2 duplicate(GuindullW) Guindull#p5-3 722
prt_gld.gat,199,236,2 duplicate(GuindullW) Guindull#p5-4 722
prt_gld.gat,197,243,2 duplicate(GuindullW) Guindull#p5-5 722
prt_gld.gat,197,236,2 duplicate(GuindullW) Guindull#p5-6 722