private int fnLeaveSection(SwordObject cpt, int id, int oldScreen, int d, int e, int f, int z, int x)
{
if (oldScreen >= ObjectMan.TOTAL_SECTIONS)
throw new InvalidOperationException($"mega {id} leaving section {oldScreen}");
_objMan.MegaLeaving((ushort) oldScreen, id);
return SCRIPT_CONT;
}