Reformat and clean up portal scripts
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
function enter(pi) {
|
||||
if (pi.isQuestStarted(21701)) {
|
||||
pi.playPortalSound();
|
||||
@@ -9,11 +8,11 @@ function enter(pi) {
|
||||
pi.warp(914010100, 1);
|
||||
return true;
|
||||
} else if (pi.isQuestStarted(21703)) {
|
||||
pi.playPortalSound();
|
||||
pi.warp(914010200, 1);
|
||||
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.");
|
||||
pi.playerMessage(5, "You will be allowed to enter the Penguin Training Ground only if you are receiving a lesson from Puo.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user