sweetgum83/scripts/npc/1063016.js

34 lines
624 B
JavaScript
Raw Permalink Normal View History

2024-01-19 08:56:28 +00:00
/* Strange Looking Statue
Puppeteer's Secret Passage (910510100)
Puppeteer JQ.
*/
var status;
function start() {
status = -1;
action(1, 0, 0);
}
function action(mode, type, selection) {
if (mode == -1) {
cm.dispose();
} else {
if (mode == 0 && type > 0) {
cm.dispose();
return;
}
if (mode == 1) {
status++;
} else {
status--;
}
if (status == 0) {
cm.sendYesNo("Will you exit this trial?");
} else {
cm.warp(105040201, 2);
cm.dispose();
}
}
}