Reformat and clean up portal scripts

This commit is contained in:
P0nk
2021-09-09 23:35:59 +02:00
parent d893309b4f
commit a78ca88a02
435 changed files with 2712 additions and 2287 deletions

View File

@@ -1,7 +1,7 @@
function enter(pi) {
if (pi.isQuestCompleted(20404)) {
var warpMap;
if (pi.isQuestCompleted(20407)) {
warpMap = 924010200;
} else if (pi.isQuestCompleted(20406)) {
@@ -9,14 +9,14 @@ function enter(pi) {
} else {
warpMap = 924010000;
}
pi.playPortalSound();
pi.warp(warpMap, 1);
pi.warp(warpMap, 1);
return true;
} else {
pi.playerMessage(5, "I shouldn't go here.. it's creepy!");
pi.playerMessage(5, "I shouldn't go here.. it's creepy!");
return false;
}
}