Should this had been Richard Pryor's final movie?
Pryor was already past his prime at this point due to the toll that his drug abuse (presumably) and multiple sclerosis had done to him. With that being said, he still seemed relatively healthy when compared to his next movie, Another You.
Another You, which came out about a year and a half after Harlem Nights, was Richard Pryor's last starring role (it wasn't his last movie as he had a cameo in Lost Highway several years later). In Another You (the fourth and final movie that he appeared in w/ Gene Wilder), Pryor looked extremely fail, rigid (as if it was very painful and exhausting to not only walk but talk) to the point in which it immediately takes you out of the movie.
Harlem Nights isn't generally considered that great of a movie either, but it at least felt more like a suitable/dignified "swan song" (intentional or not), since Pryor pretty much serves as a mentor/officially passes the torch to Eddie Murphy (as the top black man of comedy).