Replying to @Dihuh
Yes. They wrote it so that Scar was entitled to succession while Mufasa was adopted into the pride, but Scar loses his right to rule because of his own character flaws and failings while Mufasa steps up despite being sidelined. They avoided "Scar is bad because his dad hated him"

