Reformat and clean up portal scripts
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user