Reformat and clean up quest scripts
This commit is contained in:
@@ -1,34 +1,34 @@
|
||||
var status = -1;
|
||||
|
||||
function start(mode, type, selection) {
|
||||
if(mode == -1 || mode == 0 && type > 0) {
|
||||
if (mode == -1 || mode == 0 && type > 0) {
|
||||
qm.dispose();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if (mode == 1) {
|
||||
status++;
|
||||
status++;
|
||||
} else {
|
||||
if (status == 2) {
|
||||
qm.sendNext("What? I don't think there are any suspects besides that kid. Please think again.");
|
||||
qm.dispose();
|
||||
return;
|
||||
}
|
||||
status--;
|
||||
if (status == 2) {
|
||||
qm.sendNext("What? I don't think there are any suspects besides that kid. Please think again.");
|
||||
qm.dispose();
|
||||
return;
|
||||
}
|
||||
status--;
|
||||
}
|
||||
if (status == 0) {
|
||||
qm.sendNext("What did #p1032112# say?", 8);
|
||||
qm.sendNext("What did #p1032112# say?", 8);
|
||||
} else if (status == 1) {
|
||||
qm.sendNextPrev("#b(You tell her what #p1032112# observed.)#k", 2);
|
||||
qm.sendNextPrev("#b(You tell her what #p1032112# observed.)#k", 2);
|
||||
} else if (status == 2) {
|
||||
qm.sendAcceptDecline("A kid with a puppet? That seems very suspicious. I am sure that kid is the reason the Green Mushrooms have suddenly turned violent.");
|
||||
qm.sendAcceptDecline("A kid with a puppet? That seems very suspicious. I am sure that kid is the reason the Green Mushrooms have suddenly turned violent.");
|
||||
} else if (status == 3) {
|
||||
qm.forceStartQuest();
|
||||
qm.sendNext("How dare this kid wreak havoc in the South Forest. Who knows how long it will take to restore the forest... I'll have to devote most of my time cleaning up the mess.", 2);
|
||||
qm.forceStartQuest();
|
||||
qm.sendNext("How dare this kid wreak havoc in the South Forest. Who knows how long it will take to restore the forest... I'll have to devote most of my time cleaning up the mess.", 2);
|
||||
} else if (status == 4) {
|
||||
qm.sendPrev("#b(You were able to find out what caused the changes in the Green Mushrooms. You should report #p1002104# and deliver the information you've collected.)#k", 2);
|
||||
qm.sendPrev("#b(You were able to find out what caused the changes in the Green Mushrooms. You should report #p1002104# and deliver the information you've collected.)#k", 2);
|
||||
} else if (status == 5) {
|
||||
qm.dispose();
|
||||
qm.dispose();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user