Reformat and clean up npc scripts
This commit is contained in:
@@ -26,28 +26,28 @@ function start() {
|
||||
}
|
||||
|
||||
function action(mode, type, selection) {
|
||||
if (mode == 0 && type == 0) {
|
||||
status--;
|
||||
} else if (mode == -1) {
|
||||
cm.dispose();
|
||||
return;
|
||||
} else {
|
||||
status++;
|
||||
}
|
||||
if (mode == 0 && type == 0) {
|
||||
status--;
|
||||
} else if (mode == -1) {
|
||||
cm.dispose();
|
||||
return;
|
||||
} else {
|
||||
status++;
|
||||
}
|
||||
if (mode == 1) {
|
||||
status++;
|
||||
} else {
|
||||
status--;
|
||||
}
|
||||
if (status == 0) {
|
||||
cm.sendNext("Aran, you're awake! How are you feeling? Hm? You want to know what's been going on?");
|
||||
} else if (status == 1) {
|
||||
cm.sendNext("We're almost done preparing for the escape. You don't have to worry. Everyone I could possibly find has boarded the ark, and Shinsoo has agreed to guide the way. We'll head to Victoria Island as soon as we finish the remaining preparations.");
|
||||
} else if (status == 2) {
|
||||
cm.sendNext("The other heroes? They've left to fight the Black Mage. They're buying us time to escape. What? You want to fight with them? No! You can't! You're hurt. You must leave with us!");
|
||||
} else if (status == 3) {
|
||||
//cm.setQuestProgress(21002, 1);
|
||||
cm.showIntro("Effect/Direction1.img/aranTutorial/Trio");
|
||||
cm.dispose();
|
||||
}
|
||||
}
|
||||
if (status == 0) {
|
||||
cm.sendNext("Aran, you're awake! How are you feeling? Hm? You want to know what's been going on?");
|
||||
} else if (status == 1) {
|
||||
cm.sendNext("We're almost done preparing for the escape. You don't have to worry. Everyone I could possibly find has boarded the ark, and Shinsoo has agreed to guide the way. We'll head to Victoria Island as soon as we finish the remaining preparations.");
|
||||
} else if (status == 2) {
|
||||
cm.sendNext("The other heroes? They've left to fight the Black Mage. They're buying us time to escape. What? You want to fight with them? No! You can't! You're hurt. You must leave with us!");
|
||||
} else if (status == 3) {
|
||||
//cm.setQuestProgress(21002, 1);
|
||||
cm.showIntro("Effect/Direction1.img/aranTutorial/Trio");
|
||||
cm.dispose();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user