Cleaned up the fall damage functions