1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
|
//================= Hercules Script =======================================
//= _ _ _
//= | | | | | |
//= | |_| | ___ _ __ ___ _ _| | ___ ___
//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
//= | | | | __/ | | (__| |_| | | __/\__ \
//= \_| |_/\___|_| \___|\__,_|_|\___||___/
//================= License ===============================================
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
//= Copyright (C) 2012-2015 Hercules Dev Team
//= Copyright (C) Samuray22
//= Copyright (C) erKURITA
//= Copyright (C) MasterOfMuppets
//= Copyright (C) Lupus
//= Copyright (C) L0ne_W0lf
//= Copyright (C) kobra_k88
//=
//= Hercules is free software: you can redistribute it and/or modify
//= it under the terms of the GNU General Public License as published by
//= the Free Software Foundation, either version 3 of the License, or
//= (at your option) any later version.
//=
//= This program is distributed in the hope that it will be useful,
//= but WITHOUT ANY WARRANTY; without even the implied warranty of
//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//= GNU General Public License for more details.
//=
//= You should have received a copy of the GNU General Public License
//= along with this program. If not, see <http://www.gnu.org/licenses/>.
//=========================================================================
//= Alberta Guides (Pre-Renewal)
//================= Description ===========================================
//= Guides for the city of Alberta
//================= Current Version =======================================
//= 1.5a
//=========================================================================
alberta,23,238,4 script Guide#alb::AlbGuide 8W_SOLDIER,{
cutin "prt_soldier",2;
mes "[Alberta Guide]";
mes "Welcome to Alberta,";
mes "the Port City. Feel free";
mes "to ask me if you're having";
mes "trouble finding anything in";
mes "town, or if you just need";
mes "guidance around the city.";
.@loop1 = 1;
while (.@loop1) {
next;
switch(select("City Guide", "Remove Marks from Mini-Map", "Notice", "Cancel")) {
case 1:
mes "[Alberta Guide]";
mes "Please select";
mes "a location from";
mes "the following menu.";
if (.@compass_check == 0) {
mes "Would you like me";
mes "to mark locations";
mes "on your Mini-Map?";
next;
if (select("Yes", "No") == 1) .@compass_check = 1;
}
.@loop2 = 1;
while (.@loop2) {
if (.@wait_button_chk == 0) .@wait_button_chk = 1;
else next;
switch(select("^FF0000Merchant Guild^000000", "Weapon Shop", "Tool Shop", "Inn", "Forge", "Cancel")) {
case 1:
mes "[Alberta Guide]";
mes "The Merchant Guild";
mes "handles Job Changes";
mes "to the Merchant Class,";
mes "and is located in the";
mes "southwest corner";
mes "of Alberta.";
if (.@compass_check)
viewpoint 1,33,41,2,0xFF0000;
break;
case 2:
mes "[Alberta Guide]";
mes "The Weapon Shop";
mes "can be found in the";
mes "southern end of Alberta.";
if (.@compass_check)
viewpoint 1,117,37,3,0xFF00FF;
break;
case 3:
mes "[Alberta Guide]";
mes "The Tool Shop";
mes "is kind of close";
mes "to the center of";
mes "Alberta. It shouldn't";
mes "be too hard to find.";
if (.@compass_check)
viewpoint 1,98,154,4,0xFF00FF;
break;
case 4:
mes "[Alberta Guide]";
mes "There's an Inn";
mes "at the northern";
mes "end of Alberta";
mes "where you can rest.";
if (.@compass_check)
viewpoint 1,65,233,5,0xFF00FF;
break;
case 5:
mes "[Alberta Guide]";
mes "The Forge in Alberta";
mes "is in the same building";
mes "as the Merchant Guild.";
mes "It's to the southwest.";
if (.@compass_check)
viewpoint 1,35,41,6,0xFF00FF;
break;
case 6:
mes "[Alberta Guide]";
mes "Please 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.";
.@loop2 = 0;
}
}
break;
case 2:
viewpoint 2,237,41,2,0xFF0000;
viewpoint 2,237,41,3,0xFF00FF;
viewpoint 2,46,345,4,0xFF00FF;
viewpoint 2,175,220,5,0xFF00FF;
viewpoint 2,175,220,6,0xFF00FF;
.@compass_check = 0;
break;
case 3:
mes "[Alberta 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 "[Alberta 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 in your Basic Info Window.";
next;
mes "[Alberta Guide]";
mes "On your Mini-Map,";
mes "click on the ''+'' and ''-''";
mes "symbols to zoom in and";
mes "our of your Mini-Map. We";
mes "hope you enjoy your travels";
mes "here in the city of Alberta.";
break;
case 4:
mes "[Alberta Guide]";
mes "Be safe when you";
mes "travel and don't hesitate";
mes "to ask me if you have any";
mes "questions about Alberta.";
close2;
.@loop1 = 0;
}
}
cutin "prt_soldier",255;
end;
}
alberta,120,60,3 duplicate(AlbGuide) Guide#2alb 8W_SOLDIER
|