Reformat and clean up portal scripts
This commit is contained in:
@@ -2,9 +2,10 @@ function enter(pi) {
|
||||
if (pi.getEventInstance().getIntProperty("glpq1") == 0) {
|
||||
pi.getEventInstance().dropMessage(5, "This path is currently blocked.");
|
||||
return false;
|
||||
|
||||
|
||||
} else {
|
||||
pi.playPortalSound(); pi.warp(610030200, 0);
|
||||
pi.playPortalSound();
|
||||
pi.warp(610030200, 0);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user