How can I make a characters face update based on a variable without lots of eventing

I am working on a game where the characters appearance changes based on a variable, and I've been trying to find out how I can change it without manually adding in all possible alternate faces for every text box.

I heard it is possible using Yanfly extended messages pack 1 but I would ideally want to do it for free. And someone did say somewhere that it can be done with the message core but I cannot seem to figure out how,

If a free plugin isn't possible, then I am willing to try using common events to change the faceset used in a dialogue box.
I wrote this tutorial in MZ, but I think it should work the same way in MV (the commands might be different, but you can get them from the linked script call list:
I am sorry for the extremely late reply, but I cant seem to figure out how to call it for a dialogue
I've made a script being $gameMessage.setFaceImage("AliciaNeutral", $gameVariables.value(5));
but i have no idea how to incorporate it into a dialogue box. Im assuming I am suppose to put it in the dialogue box

and it doesnt seem to be an mz to mv problem, looking at the doc both of the script is $gameMessage.setFaceImage(faceName, faceIndex);

variable 5 should be at 0, but only show nothing if there is no possible face to show, and I do have a face at 0
Screenshot 2026-01-22 180401.png
Screenshot 2026-01-22 180459.png


if it matters, im getting a profile error thing when i test my game, but i heard that it is fine to ignore it (this has existed prior to attempting this)

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-make-a-characters-face-update-based-on-a-variable-without-lots-of-eventing.182036/