14 lines
369 B
JavaScript
14 lines
369 B
JavaScript
var windowTime = 10 * 1000;
|
|
|
|
function enter(pi) {
|
|
var eim = pi.getEventInstance();
|
|
var level = eim.getProperty("level");
|
|
if (eim.getProperty("stage2b") == "0") {
|
|
pi.getMap(925100202).spawnAllMonstersFromMapSpawnList(level, true);
|
|
eim.setProperty("stage2b", "1");
|
|
}
|
|
|
|
pi.playPortalSound();
|
|
pi.warp(925100202, 0);
|
|
return true;
|
|
} |