sweetgum83/scripts/portal/MCrevive4.js

19 lines
334 B
JavaScript
Raw Normal View History

2024-01-19 08:56:28 +00:00
/*
[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(980000401, portal);
pi.playPortalSound();
return true;
}