if (parent_rail == noone)
return;
else if (parent_rail == obj_mc_rails)
image_index = parent_rail.image_index
else if (parent_rail == obj_mc_rail_horizontal)
{
}