Fixed Neo City area, now playable. Overhauled the EllinPQ mechanics, such as the "CLEAR" effect when passing maps, and some bug fixes along the way. Refactored a lot of out-of-place classes and properly renamed a few others through the project. Updated readme and licenses through the source, preparing the stage for the new release.
16 lines
545 B
JavaScript
16 lines
545 B
JavaScript
function enter(pi) {
|
|
var eim = pi.getEventInstance();
|
|
|
|
if (eim.isEventCleared()) {
|
|
if(pi.isEventLeader()) {
|
|
eim.warpEventTeam(930000800);
|
|
return true;
|
|
} else {
|
|
pi.playerMessage(5, "Wait for the leader to pass through the portal.");
|
|
return false;
|
|
}
|
|
} else {
|
|
pi.playerMessage(5, "Please eliminate the Poison Golem.");
|
|
return false;
|
|
}
|
|
} |