Reformat and clean up portal scripts
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
function enter(pi) {
|
||||
var map = pi.getPlayer().getSavedLocation("BOSSPQ");
|
||||
if (map == -1)
|
||||
map = 100000000;
|
||||
|
||||
pi.playPortalSound(); pi.warp(map,0);
|
||||
return true;
|
||||
var map = pi.getPlayer().getSavedLocation("BOSSPQ");
|
||||
if (map == -1) {
|
||||
map = 100000000;
|
||||
}
|
||||
|
||||
pi.playPortalSound();
|
||||
pi.warp(map, 0);
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user