Reformat and clean up portal scripts
This commit is contained in:
@@ -24,13 +24,14 @@
|
||||
* @purpose Warps to the Junior Balrog map for the Rush Skill.
|
||||
*/
|
||||
function enter(pi) {
|
||||
if(pi.isQuestStarted(6153) && pi.haveItem(4031475)) {
|
||||
if (pi.isQuestStarted(6153) && pi.haveItem(4031475)) {
|
||||
var mapobj = pi.getWarpMap(910500200);
|
||||
if(mapobj.countPlayers() == 0) {
|
||||
if (mapobj.countPlayers() == 0) {
|
||||
pi.resetMapObjects(910500200);
|
||||
mapobj.shuffleReactors();
|
||||
pi.playPortalSound(); pi.warp(910500200, "out01");
|
||||
|
||||
pi.playPortalSound();
|
||||
pi.warp(910500200, "out01");
|
||||
|
||||
return true;
|
||||
} else {
|
||||
pi.getPlayer().message("Some other player is currently inside.");
|
||||
|
||||
Reference in New Issue
Block a user