11 lines
299 B
JavaScript
11 lines
299 B
JavaScript
//Author: kevintjuh93
|
|
|
|
function enter(pi) {
|
|
if (pi.getPlayer().getEvents().get("rescueGaga").fallAndGet() > 3) {
|
|
pi.playPortalSound(); pi.warp(922240200, 0);
|
|
pi.getPlayer().cancelEffect(2360002);
|
|
} else
|
|
pi.playPortalSound(); pi.warp(pi.getPlayer().getMapId(), 0);
|
|
|
|
return true;
|
|
} |