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

13 lines
291 B
JavaScript

function enter(pi) {
if (pi.getEventInstance().getIntProperty("glpq1") == 0) {
pi.getEventInstance().dropMessage(5, "This path is currently blocked.");
return false;
} else {
pi.playPortalSound();
pi.warp(610030200, 0);
return true;
}
}