// auto-transcompiled — see *.dnd.json for canonical truth
if(global.jid == 99)
{
if(global.p_room[global.jid] != Digital_Abyss)
{
if(duojoin == 0)
  caddline("Saved from the digital abyss. You might not be so lucky next time!",global.c_server);
}
else
{
while(global.rq_total > 0)
{
rq_collapse(global.rq_total-1);
}
caddline("You have fallen into The Digital Abyss. You were not so lucky this time.",global.c_server);
}
}

if(global.p_room[global.jid] != room)
{
online_room(global.p_room[global.jid]);
}
else
{

visible = 1;
if(global.jid != 100) sprite_index = JoinIn;
else sprite_index = TeleIn;
if(global.p_x[global.jid] == -1)
{
x = hometele.x-14+28;
y = hometele.y+25-49;
}
else
{
x = global.p_x[global.jid];
y = global.p_y[global.jid]+1;
}

change_area(global.p_area[global.jid]);
global.jid = -1;

}
