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

19 lines
334 B
JavaScript

/*
[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;
}