summaryrefslogtreecommitdiff
path: root/npc/000-1/exit.txt
blob: 4c8f167e597037ffcc7be40d9c7165cb927879d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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:
    ReturnTown();
    end;
}