sweetgum83/scripts/portal/enterGym.js

18 lines
565 B
JavaScript
Raw Permalink Normal View History

2024-01-19 08:56:28 +00:00
function enter(pi) {
if (pi.isQuestStarted(21701)) {
pi.playPortalSound();
pi.warp(914010000, 1);
return true;
} else if (pi.isQuestStarted(21702)) {
pi.playPortalSound();
pi.warp(914010100, 1);
return true;
} else if (pi.isQuestStarted(21703)) {
pi.playPortalSound();
pi.warp(914010200, 1);
return true;
} else {
pi.playerMessage(5, "You will be allowed to enter the Penguin Training Ground only if you are receiving a lesson from Puo.");
return false;
}
}