10 lines
344 B
JavaScript
10 lines
344 B
JavaScript
function enter(pi) {
|
|
if (pi.getEventInstance().getIntProperty("statusStg8") == 1) {
|
|
pi.playPortalSound();
|
|
pi.warp(920011000, 0);
|
|
return true;
|
|
} else {
|
|
pi.playerMessage(5, "The storage is currently inaccessible, as the powers of the Pixies remains active within the tower.");
|
|
return false;
|
|
}
|
|
} |