sweetgum83/scripts/portal/enter_earth00.js

10 lines
250 B
JavaScript
Raw Normal View History

2024-01-19 08:56:28 +00:00
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;
}