summaryrefslogtreecommitdiff
path: root/npc/000-1/exit.txt
blob: 788ef0bc6b4c52543bcdfabbb242ee4eca2a78c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// TMW2 scripts.
// Author:
//    Jesusalva
// Description:
//    Special Soul Menhir which only allows leaving the map.

000-1,22,22,0	script	Emergency Exit	NPC_SOUL_CURSED,2,2,{
OnTouch:
OnTalk:
OnTalkNearby:
    if (getsavepoint(0) != "000-1") warp "SAVE";
    if (getsavepoint(0) != "000-1") end;
    savepoint "002-1", 53, 38;
    warp "002-1", 53, 38;
    end;

}