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

10 lines
250 B
JavaScript

function enter(pi) {
if (!pi.haveItem(4031890)) {
pi.getPlayer().dropMessage(6, "You need a warp card to activate this portal.");
return false;
}
pi.playPortalSound();
pi.warp(221000300, "earth00");
return true;
}