Fixed pet Snail not expiring properly (being removed from inventory when the time's up). Broadcasted code update for most of the missing portal sound effects for portal scripts. It is expected for all scripted portals now to play the sound effect when traversing it.
9 lines
216 B
JavaScript
9 lines
216 B
JavaScript
//Author: Ronan
|
|
|
|
function enter(pi) {
|
|
if(pi.hasItem(4031495)) pi.warp(921100301);
|
|
else pi.playPortalSound(); pi.warp(211040100);
|
|
|
|
pi.getWarpMap(921100300).clearMapObjects();
|
|
return true;
|
|
} |