//Author: Ronan

function enter(pi) {
    if (pi.hasItem(4031495)) {
        pi.playPortalSound();
        pi.warp(921100301);
    } else {
        pi.playPortalSound();
        pi.warp(211040100);
    }

    return true;
}