Reformat and clean up portal scripts
This commit is contained in:
@@ -3,11 +3,12 @@ var windowTime = 10 * 1000;
|
||||
function enter(pi) {
|
||||
var eim = pi.getEventInstance();
|
||||
var level = eim.getProperty("level");
|
||||
if(eim.getProperty("stage2b") == "0") {
|
||||
if (eim.getProperty("stage2b") == "0") {
|
||||
pi.getMap(925100202).spawnAllMonstersFromMapSpawnList(level, true);
|
||||
eim.setProperty("stage2b", "1");
|
||||
}
|
||||
|
||||
pi.playPortalSound(); pi.warp(925100202,0);
|
||||
|
||||
pi.playPortalSound();
|
||||
pi.warp(925100202, 0);
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user