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

@@ -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;
}