Reformat and clean up npc scripts

This commit is contained in:
P0nk
2021-09-09 23:35:02 +02:00
parent 0c1545f81d
commit d893309b4f
665 changed files with 19932 additions and 19046 deletions

View File

@@ -31,7 +31,7 @@ var status;
var smap = 681000000;
var hv = 209000000;
var tst, b2h;
function start() {
status = -1;
action(1, 0, 0);
@@ -42,8 +42,8 @@ function action(mode, type, selection) {
cm.dispose();
} else {
if (status == 0 && mode == 0) {
cm.sendNext("Let me know if you've changed your mind!");
cm.dispose();
cm.sendNext("Let me know if you've changed your mind!");
cm.dispose();
}
if (mode == 1) {
@@ -53,14 +53,14 @@ function action(mode, type, selection) {
}
if (status == 0) {
if (cm.getMapId() == hv) {
if (cm.getMapId() == hv) {
tst = 1; //to shalom temple
cm.sendYesNo("The Shalom Temple is unlike any other place in Happyville, would you like to head to #bShalom Temple#k?"); //not GMS lol
} else if (cm.getMapId() == smap) {
cm.sendYesNo("The Shalom Temple is unlike any other place in Happyville, would you like to head to #bShalom Temple#k?"); //not GMS lol
} else if (cm.getMapId() == smap) {
b2h = 1; //back to happyville
cm.sendYesNo("Would you like to head back to Happyville?");
}
} else if (status == 1) {
cm.sendYesNo("Would you like to head back to Happyville?");
}
} else if (status == 1) {
if (tst == 1) {
cm.warp(smap, 0);
cm.dispose();