blob: d4a6821ad778b819522d3a66af1c89e875ad2f57 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// TMW2 scripts.
// Author:
// Jesusalva
// Description:
// Special Soul Menhir which only allows leaving the map.
000-1,22,22,0 script Emergency Exit NPC_NO_SPRITE,2,2,{
OnTouch:
OnTalk:
OnTalkNearby:
if (LOCATION$ != "") goto L_ToLoc;
if (Sex)
warp "029-2", 25, 24;
else
warp "029-2", 22, 24;
end;
L_ToLoc:
// Possibly could warp to "Save" as well?
ReturnTown();
end;
}
|