"In accordance with the general principles laid down: (1) No plot theme should definitely side with evil and against good. (2) Comedies and farces should not make fun of good, innocence, morality or justice. (3) No plot should be so constructed as to leave the question of right or wrong in doubt or fogged. (4) No plot should by its treatment throw sympathy of the audience with sin, crime, wrong-doing or evil. (5) No plot should present evil alluringly."
January 1, 1970
https://en.wikiquote.org/wiki/Hays_Code