How could I change the graphic for dialogue of the main character based on their class option?

Title, I'm unsure of how to do so. I have the game set up so that the player chooses their class and their character changes based on their selection, namely their appearance. Would it be possible to have it check what character the player is, and display the appropriate graphic?
Without using a script, I think the only option would be to use conditional branches in the event.
How would I do so?
How would I do so?
If you don't know how to use conditional branches I strongly recommend taking a look at Andar's tutorial in my signature, it will guide you through the world of RPG Maler Events (and much more). Everything you need can be found there, there are also various links to other event-specific tutorials.
The script "Placeholder Graphics" by Hime might help you; it changes the face graphic in a dialogue box based on the face a given actor has (this also works for map sprites based on the actor's sprite). So for example if you want the dialogue box of Actor 3's face, you would choose the file "%actor3" from your faces list, and the result is the box showing the actor's face. Since you can change faces freely, the dialogue box can also change accordingly.
@Shiro-chan I think the OP is referring to the walking sprite, not the face graphic.

@JustNephi I agree with Heirukichi, if you do not know how to do conditional branches then you must stop and learn about them. You will not be able to make a game if you do not have a firm grasp of how to use the different elements of the Event Command menu. The playable tutorial in Andar's compilation will teach you more in a short time than any amount of reading or watching videos. There is the bonus that you can then open it up in the editor and see how everything was done.

Original thread: https://forums.rpgmakerweb.com/threads/how-could-i-change-the-graphic-for-dialogue-of-the-main-character-based-on-their-class-option.125248/