/*
[CelticMS] Monster Carnival Reviving Field 1
*/

function enter(pi) {
    var portal = 0;
    switch (pi.getPlayer().getTeam()) {
        case 0:
            portal = 4;
            break;
        case 1:
            portal = 3;
            break;
    }
    pi.warp(980000301, portal);
    pi.playPortalSound();
    return true;
}
