Reformat and clean up portal scripts
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
function enter(pi) {
|
||||
if (!pi.canHold(4001261,1)) {
|
||||
pi.playerMessage(5, "Please make 1 ETC room.");
|
||||
return false;
|
||||
}
|
||||
pi.gainItem(4001261,1);
|
||||
pi.playPortalSound(); pi.warp(105100100,0);
|
||||
return true;
|
||||
if (!pi.canHold(4001261, 1)) {
|
||||
pi.playerMessage(5, "Please make 1 ETC room.");
|
||||
return false;
|
||||
}
|
||||
pi.gainItem(4001261, 1);
|
||||
pi.playPortalSound();
|
||||
pi.warp(105100100, 0);
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user