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
|
// TMW2 scripts.
// Authors:
// Jesusalva
// Description:
// Access to Eternal Swamps
014-2,58,103,0 script Guard Jennifer NPC_GUARD2,{
mesn;
mesq l("Halt! Beyond this gate, is the Great River and the Eternal Swamps.");
next;
mesn;
mesq l("Was not it only flooded constantly, the graveyard is not too far. If you stray away from the path, you'll get lost.");
next;
.@fd=!(getmapmask("011-3")&1024); // .@fd - is flooded?
if (!.@fd) {
mesn;
mesq l("Various people already went missing, including GMs. This is why if you plan to cross, @@.", l(b("You won't be allowed to walk sideways, except to avoid a monster or two.")));
mesc l("If you try to walk west or east too much, you'll hit an \"invisible wall\" to prevent you from getting lost.");
next;
select
l("I'm fine, thanks."),
l("My equipment is good, let me through!");
mes "";
if (@menu == 2) {
warp "011-3", 38, 21;
closedialog;
close;
}
} else {
mesn;
mesq l("In fact, it is flooded at the moment. Come back later.");
}
close;
OnInit:
.sex = G_FEMALE;
.distance = 5;
end;
}
|