// auto-transcompiled — see *.dnd.json for canonical truth
if(server.jshell)
{

scuub = jokershell.lastx-jokershell.x;
jokershell.x = jokershell.lastx;
if(mplat || other.slspeed > 0 || other.srspeed > 0)
{
if(sxoff == 0) sxoff = jokershell.x;
jokershell.x = sxoff;
alarm[1] = 2;
}

if((jokershell.y+43 > y+35 || jokershell.y+43 < y+5) && jokershell.ispeed == 0)
{
scuub = jokershell.lasty-jokershell.y;
jokershell.y = jokershell.lasty;
if(mplat || other.suspeed > 0 || other.sdspeed > 0)
{
jokershell.y += scuub;
}
}

}
