The issue is in the file:
Md_FaceChangeController.js
There are calls to a method:
setFallbackId
However, this method does not exist.
You have a few options:
1: Add a method near the top which shares the name, but doesn't do anything:
function setFallbackId() {}
2: Add a method near the top which shares the name, and just literally resets the
interactableEventId value to
0.
function setFallbackId(){ Misdynamics.interactableEventId = 0; }
3: Add a method near the top which shares the name, and does my best approximation of what I THINK the plugin author was trying to do. But I am not at that part of the game and cannot confirm it works.
JavaScript:
function setFallbackId() {
const lastKey = (map) => {
let k = 0;
for (const [id] of map) k = id | 0;
return k;
};
let id = 0;
if (lookData.size) id = lastKey(lookData);
else if (talkData.size) id = lastKey(talkData);
else if (actData.size) id = lastKey(actData);
Misdynamics.interactableEventId = id | 0;
}