It's working now ! Thanks for fix this solution. 😀
And also working with Yanfly_MessageCore too.
And also working with Yanfly_MessageCore too.
Unfortunatelly, the message box text is read through... drawMessageFace. Thus why it needs to have a face set for the message box to work.
if (Imported["SumRndmDde Character Creator EX"]) {
const text = (this._textState) ? this._textState.text : '';
if(text.match(/<CC\s?Face:\s*(\d+)\s*>/i)) {
this._textState.text = text.replace(/<CC\s?Face:\s*(\d+)\s*>/i, '');
const id = parseInt(RegExp.$1);
this.drawCustomFace($gameActors.actor(id), dx, dy);
} else {
ctx.drawImage( face_canvas, sx, sy, sw, sh, dx, dy, dw, dh );
}
} else ctx.drawImage( face_canvas, sx, sy, sw, sh, dx, dy, dw, dh );
$gameSystem.messageWidth()
◆Text:None, Dim, Middle
: :\autoLocked from this side...
Original thread: https://forums.rpgmakerweb.com/threads/mirror-portraits-in-coversation-plugin-ww-converse.97105/