Reformat and clean up quest scripts

This commit is contained in:
P0nk
2021-09-09 23:36:54 +02:00
parent a78ca88a02
commit 3f43fe82d0
249 changed files with 4361 additions and 4247 deletions

View File

@@ -33,17 +33,18 @@ function start(mode, type, selection) {
if (mode == -1) {
qm.dispose();
} else {
if (mode > 0)
if (mode > 0) {
status++;
else
} else {
status--;
if (status == 0)
}
if (status == 0) {
qm.sendNext("Ah, you've come... this is exhilarating. I am grateful for your decision to become a Cygnus Knight. I have been waiting a long time for someone like you. Someone that is courageous enough to face the Black Mage and not flinch...");
else if (status == 1)
} else if (status == 1) {
qm.sendNext("The battle against the evil nature of the Black Mage who wants to swallow up Maple World as a whole, the cunning nature of his disciples, and the physical battle against the crazy monsters will await you. There will also come a time where even you may turn against yourself into an enemy and torment you ...");
else if (status == 2)
} else if (status == 2) {
qm.sendOk("But I won't worry about that. I am confident that you will be able to fight through all that and protect Maple World from the Black Mage. Of course, you'll have to become a bit stronger than you are right now, right?");
else if (status == 3) {
} else if (status == 3) {
qm.gainItem(1142065, 1); // Noblesse Medal * 1
qm.gainExp(20); //gain 20 exp!!
qm.forceStartQuest();