sweetgum83/scripts/npc/1013001.js

24 lines
583 B
JavaScript
Raw Normal View History

2024-01-19 08:56:28 +00:00
var status = -1;
function start() {
action(1, 0, 0);
}
function action(mode, type, selection) {
if (mode == 0 && type == 0) {
status--;
} else if (mode == -1) {
cm.dispose();
return;
} else {
status++;
}
if (status == 0) {
cm.sendNext("You, who are destined to be a Dragon Master... You have finally arrived.", 1);
} else if (status == 1) {
cm.sendNextPrev("Go and fulfill your duties as the Dragon Master...", 1);
} else if (status == 2) {
cm.warp(900090101, 0);
cm.dispose();
}
}