// auto-transcompiled — see *.dnd.json for canonical truth
if(other.vspeed == 0 && other.alarm[0] > 15)
{

lspeed = vspeed;
if(mplattcheck(mplatparent))
{
if(stouch)
{
server.y -= vspeed;
stouch = 0;
}
y = other.y + 40;
vspeed = 0
}
else if(mplatbcheck(mplatparent))
{
if(stouch)
{
server.y -= vspeed;
stouch = 0;
}
y = other.y - 40;
vspeed = 0
}
if(alarm[0] <= 0)
{
alarm[0] = other.alarm[0];
}

}
