//===== eAthena Script ======================================= 
//= Payon Guides
//===== By: ================================================== 
//= kobra_k88
//===== Current Version: ===================================== 
//= 1.3a
//===== Compatible With: ===================================== 
//= eAthena  0.5.2 +
//===== Description: ========================================= 
//=
//===== Additional Comments: ================================= 
//= Fully working
//= v1.1 Now using duplicate command.New Payon Locations [Darkchild]
//= 1.2 Optimized, updated common guide names [Lupus]
//= 1.3 Updated the guide according to how it is on iRO, thanks [MasterOfMuppets]
//=     to Muad_Dib
//= 1.3a Fixed some problems with duplicated text, thanks to muad_dib [MasterOfMuppets]
//============================================================


payon.gat,162,67,4	script	Guide	708,{
	cutin "pay_soldier",2;
	mes "[Payon Guide]";
	mes "Welcome to the";
	mes "mountain city of Payon.";
	mes "if you're unfammiliar with this";
	mes "area, I can help you find what";
	mes "you're looking for around here.";
L_MENU:
	next;
	menu "City Guide",L_CITY,"Remove Marks from Mini-Map",L_REMOVE,"Notice",L_NOTICE,"Cancel",L_END;
L_CITY:
	mes "[Payon Guide]";
  	mes "Please select";
  	mes "a location from";
  	mes "the following menu.";
  	mes "Would you like me";
 	mes "to mark locations";
  	mes "on your Mini-Map?";
  	next;
  	menu "Yes.",L_YES,"No.",L_NO;
L_NO:
  	set @COMPASS_CHECK,0;
	goto L_CONT;
L_YES:
  	set @COMPASS_CHECK,1;
L_CONT:
L_MENU_2:
	menu "^FF0000Archer Guild^000000",L_ARCHER,"Weapon Shop",L_WEAPON,"Tool Shop",L_TOOL,"Pub",L_PUB,"Central Palace",L_PALACE,"The Empress",L_EMPRESS,"Palace Annex",L_ANNEX,"Royal Kitchen",L_KITCHEN,"Forge",L_FORGE,"Cancel",-;
	mes "[Payon Guide]";
 	mes "Pleas ask me to Remove";
 	mes "Marks from Mini-Map if you";
 	mes "no longer wish to have the";
 	mes "location marks displayed";
 	mes "on your Mini-Map.";
 	goto L_MENU;
L_ARCHER:
	mes "[Payon Guide]";
	mes "The Archer Guild handles";
	mes "Job Changes to the Archer";
	mes "Class. You'll need to enter";
	mes "the Archer Village wich is";
	mes "to the northeast of Payon.";
	viewpoint 1,228,326,1,0xFF0000;
	next; 
	goto L_WIPE;
L_WEAPON:
	mes "[Payon Guide]";
	mes "The Weapon Shop";
	mes "can be found in the";
	mes "northwest corner of";
	mes "the city of Payon.";
	viewpoint 1,139,158,2,0xFF00FF;
	next; 
	goto L_WIPE;
L_TOOL:
	mes "[Payon Guide]";
	mes "The Tool Shop";
	mes "is located near";
	mes "the northwest";
	mes "corner of Payon.";
	viewpoint 1,144,85,3,0xFF00FF;
	next; 
	goto L_WIPE;
L_PUB:
	mes "[Payon Guide]";
	mes "The Pub can be";
	mes "found in the northeast";
	mes "part of Payon. It's the";
	mes "best place to relax after";
	mes "a long day of hunting.";
	viewpoint 1,220,117,4,0xFF00FF;
	next; 
	goto L_WIPE;
L_PALACE:
	mes "[Payon Guide]";
	mes "The Central Palace";
	mes "is located to the north";
	mes "within the city of Payon.";
	viewpoint 1,156,245,5,0x00FF00;
	next;
	goto L_WIPE;
L_EMPRESS:
	mes "[Payon Guide]";
	mes "The Empress";
	mes "can be found to the";
	mes "northwest in Payon.";
	viewpoint 1,107,327,6,0x00FF00;
	next;
	goto L_WIPE;
L_ANNEX:
	mes "[Payon Guide]";
	mes "The Palace Annex";
	mes "can be found in the";
	mes "western part of Payon.";
	viewpoint 1,127,204,7,0x00FF00;
	next;
	goto L_WIPE;
L_KITCHEN:
	mes "[Payon Guide]";
	mes "The Royal Kitchen";
	mes "is located near the";
	mes "northern end of Payon.";
	viewpoint 1,155,327,8,0x00FF00;
	next;
	goto L_WIPE;
L_FORGE:
	mes "[Payon Guide]";
	mes "The Forge is";
	mes "situaded near";
	mes "the center of Payon.";
	viewpoint 1,142,172,9,0xFFFF00;
	next;
	goto L_WIPE;	
L_WIPE:
 		if(@COMPASS_CHECK == 1)goto L_MENU_2;
		viewpoint 2,228,326,1,0xFF0000;
		viewpoint 2,139,158,2,0xFF00FF;
		viewpoint 2,144,85,3,0xFF00FF;
		viewpoint 2,220,117,4,0xFF00FF;
		viewpoint 2,156,245,5,0x00FF00;
		viewpoint 2,107,327,6,0x00FF00;
		viewpoint 2,127,204,7,0x00FF00;
		viewpoint 2,155,327,8,0x00FF00;
		viewpoint 2,142,172,9,0xFFFF00;
	goto L_MENU_2;
L_REMOVE:
		viewpoint 2,228,326,1,0xFF0000;
		viewpoint 2,139,158,2,0xFF00FF;
		viewpoint 2,144,85,3,0xFF00FF;
		viewpoint 2,220,117,4,0xFF00FF;
		viewpoint 2,156,245,5,0x00FF00;
		viewpoint 2,107,327,6,0x00FF00;
		viewpoint 2,127,204,7,0x00FF00;
		viewpoint 2,155,327,8,0x00FF00;
		viewpoint 2,142,172,9,0xFFFF00;
  	goto L_MENU;
L_NOTICE:
 	mes "[Payon Guide]";
 	mes "Advances in sorcery and";
 	mes "technology have allowed";
 	mes "us to update our information";
 	mes "system, enabling up to mark";
  	mes "locations on your Mini-Map";
  	mes "for easier navigation.";
  	next;
  	mes "[Payon Guide]";
  	mes "Your Mini-Map is located";
  	mes "in the upper right corner";
  	mes "of the screen. If you can't";
  	mes "see it, press the Ctrl + Tab";
  	mes "keys or click the 'Map' button";
  	mes "in your Basic Information Window.";
  	next;
  	mes "[Payon Guide]";
 	mes "On your Mini-Map,";
  	mes "click on the '+' and '-'";
 	mes "symbols to zoom in and";
  	mes "out of your Mini-Map. We"; 
 	mes "hope you enjoy your travels";
 	mes "here in the city of Payon.";
 	goto L_MENU;
L_END:
 	mes "[Payon Guide]";
 	mes "Be safe in";
 	mes "your travels,";
	mes "brave adventurer.";
		cutin "pay_soldier",255; 
 	close;
}

pay_arche.gat,85,30,2	script	Guide	708,{
	cutin "pay_soldier",2;
	mes "[Payon Guide]";
	mes "Welcome to the";
	mes "mountain city of Payon.";
	mes "if you're unfammiliar with this";
	mes "area, I can help you find what";
	mes "you're looking for around here.";
L_MENU:
	next;
	menu "City Guide",L_CITY,"Remove Marks from Mini-Map",L_REMOVE,"Notice",L_NOTICE,"Cancel",L_END;
L_CITY:
	mes "[Payon Guide]";
  	mes "Please select";
  	mes "a location from";
  	mes "the following menu.";
  	mes "Would you like me";
 	mes "to mark locations";
  	mes "on your Mini-Map?";
  	next;
  	menu "Yes.",L_YES,"No.",L_NO;
L_NO:
  	set @COMPASS_CHECK,0;
	goto L_CONT;
L_YES:
  	set @COMPASS_CHECK,1;
L_CONT:
L_MENU_2:
	menu "^FF0000Archer Guild^000000",L_ARCHER,"Tool Shop",L_TOOL,"Payon Dungeon",L_DUNGEON,"Cancel",-;
	mes "[Payon Guide]";
 	mes "Pleas ask me to Remove";
 	mes "Marks from Mini-Map if you";
 	mes "no longer wish to have the";
 	mes "location marks displayed";
 	mes "on your Mini-Map.";
 	goto L_MENU;
L_ARCHER:
	mes "[Payon Guide]";
	mes "The Archer Guild,";
	mes "found northeast in";
	mes "the Archer Village,";
	mes "handles Job Changes";
	mes "to the Archer Class.";
	viewpoint 1,144,164,1,0xFF0000;
	next; 
	goto L_WIPE;
L_TOOL:
	mes "[Payon Guide]";
	mes "The Tool Shop";
	mes "is located near";
	mes "the northwest";
	mes "corner of Payon.";
	viewpoint 1,71,156,2,0xFF00FF;
	next; 
	goto L_WIPE;
L_DUNGEON:
	mes "[Payon Guide]";
	mes "The entrance to";
	mes "the Payon Dungeon";
	mes "is located at the west";
	mes "end of the village.";
	viewpoint 1,34,132,3,0xFFFFFF;
	next; 
	goto L_WIPE;
L_WIPE:
 		if(@COMPASS_CHECK == 1)goto L_MENU_2;
		viewpoint 2,144,164,1,0xFF0000;
		viewpoint 2,71,156,2,0xFF00FF;
		viewpoint 2,34,132,3,0xFFFFFF;
	goto L_MENU_2;
L_REMOVE:
		viewpoint 2,144,164,1,0xFF0000;
		viewpoint 2,71,156,2,0xFF00FF;
		viewpoint 2,34,132,3,0xFFFFFF;
  	goto L_MENU;
L_NOTICE:
 	mes "[Payon Guide]";
 	mes "Advances in sorcery and";
 	mes "technology have allowed";
 	mes "us to update our information";
 	mes "system, enabling up to mark";
  	mes "locations on your Mini-Map";
  	mes "for easier navigation.";
  	next;
  	mes "[Payon Guide]";
  	mes "Your Mini-Map is located";
  	mes "in the upper right corner";
  	mes "of the screen. If you can't";
  	mes "see it, press the Ctrl + Tab";
  	mes "keys or click the 'Map' button";
  	mes "in your Basic Information Window.";
  	next;
  	mes "[Payon Guide]";
 	mes "On your Mini-Map,";
  	mes "click on the '+' and '-'";
 	mes "symbols to zoom in and";
  	mes "out of your Mini-Map. We"; 
 	mes "hope you enjoy your travels";
 	mes "here in the city of Payon.";
 	goto L_MENU;
L_END:
 	mes "[Payon Guide]";
 	mes "Be safe in";
 	mes "your travels,";
	mes "brave adventurer.";
	cutin "pay_soldier",255; 
 	close;
}

