Reformat and clean up npc scripts
This commit is contained in:
@@ -5,20 +5,20 @@ function start() {
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user