summaryrefslogtreecommitdiff
path: root/npc/001-6/warp.txt
blob: 35ff5613c50387fbbbfda9a93e3aeb43b86d54c1 (plain) (blame)
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
// TMW2 Scripts
// Author:
//   Jesusalva
// Description:
//   TODO


001-6,159,157,0	script	Soren Village	NPC_SUMMONING_CIRC,0,0,{
    end;

OnTouch:
    dispbottom l("Loading warp, be at this spot in 15 seconds.");
    addtimer 15000, "Soren Village::OnWarper";
    end;

OnWarper:
    if (isin("001-6", 159, 157, 159, 157)) {
      if (!ispcdead())
        warp "soren", 179, 76;
    } else {
        dispbottom l("Failed to warp to Soren Village.");
    }
    end;

OnInit:
    .sex = G_OTHER;
    end;
}