summaryrefslogtreecommitdiff
path: root/npc/021-3/doors.txt
blob: 012b95104e5cdeda82a1ae2b71618a148fb93a20 (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.
// Authors:
//    The Mana World Team
//    Jesusalva
// Description:
//    Cave logic

021-3,24,123,0	script	#0213_Logic	NPC_NO_SPRITE,1,0,{
    if ($@CINDY_STATE > gettimetick(2) || $@CINDY_STATE == 0) goto L_Safe;
    if ($@CINDY_STATE % 2 == 0) goto L_Blocked;
    warp "021-4", 0, 0;
    end;

L_Blocked:
    dispbottom l("This place is reeking blood. We better come again later.");
    end;

L_Safe:
    dispbottom l("Are you crazy - the Yeti King could be there!");
    end;
}