sweetgum83/scripts/portal/davy3_hd1.js
2024-01-19 03:56:28 -05:00

14 lines
369 B
JavaScript

var windowTime = 10 * 1000;
function enter(pi) {
var eim = pi.getEventInstance();
var level = eim.getProperty("level");
if (eim.getProperty("stage3b") == "0") {
pi.getMap(925100302).spawnAllMonstersFromMapSpawnList(level, true);
eim.setProperty("stage3b", "1");
}
pi.playPortalSound();
pi.warp(925100302, 0);
return true;
}