MADS: Cleanup of direction setup, fix sprite mirroring for walking