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
29
30
31
32
33
34
35
36
37
38
39
|
// TMW2 scripts.
// Author:
// Jesusalva
// Description:
// PUZZLES and TRAPS submodule - Sagratha's Cave - 015-8
// Uses setq3 - setq1 stage 3
// NPC_FAKIR + NPC_STATUE_FAFA
// Chasm at third seal
015-8,120,158,0 script #SaggyPuzzleChasm NPC_HIDDEN,0,4,{
end;
OnTouch:
npctalk3 l("A huge chasm you cannot cross.");
end;
}
015-8,124,158,0 script #SaggyPuzzleChasmSkip NPC_HIDDEN,0,4,{
end;
OnTouch:
slide 119, 160;
end;
}
// Controls a chest/mimic on the trap room
015-8,0,0,0 script #SaggyChestCtrl NPC_HIDDEN,{
end;
OnDelay:
initnpctimer;
end;
OnTimer80000:
stopnpctimer;
OnInit:
monster "015-8", 119+rand2(-3, 3), 35+rand2(-3, 3), "Treasure Chest", any(BronzeChest,BronzeMimic), 1, "#SaggyChestCtrl::OnDelay";
end;
}
|