I don’t think the desire to avoid being punched in the face is a moral code. Maybe you have a strong conviction that you don’t deserve to be punched in the face, but I can conceive of a situation where you feel guilty for doing something (such as previously punching a friend in the face in anger) and you actually do want to be punched in the face, to adhere to a moral code, even despite your still-extant avoidance-of-pain code.
Similarly, these two guidelines can be in parallel—a part of you just doesn’t want to be punched in the face, and another part of you agrees with that part on account of the fact you totally haven’t done anything to deserve being punched in the face.
I don’t think the desire to avoid being punched in the face is a moral code. Maybe you have a strong conviction that you don’t deserve to be punched in the face, but I can conceive of a situation where you feel guilty for doing something (such as previously punching a friend in the face in anger) and you actually do want to be punched in the face, to adhere to a moral code, even despite your still-extant avoidance-of-pain code.
Similarly, these two guidelines can be in parallel—a part of you just doesn’t want to be punched in the face, and another part of you agrees with that part on account of the fact you totally haven’t done anything to deserve being punched in the face.