This commit is contained in:
恍兮惚兮 2024-05-05 20:53:51 +08:00
parent 7bdfeae9a7
commit 15849bd1a1

View File

@ -7,8 +7,7 @@ function splitfonttext(transwithfont){
split = transwithfont.search('\x02') split = transwithfont.search('\x02')
return transwithfont.substr(split + 1); return transwithfont.substr(split + 1);
} }
else if(transwithfont.substr(0,magicrecv.length)==magicrecv) else if (transwithfont.substr(0, magicrecv.length) == magicrecv) {
{
transwithfont = transwithfont.substr(magicrecv.length) transwithfont = transwithfont.substr(magicrecv.length)
//magic font \x02 text //magic font \x02 text
split = transwithfont.search('\x02') split = transwithfont.search('\x02')
@ -54,8 +53,7 @@ function rpgmakerhook(){
return (this.fontItalic ? 'Italic ' : '') + return (this.fontItalic ? 'Italic ' : '') +
this.fontSize + 'px ' + fontface; this.fontSize + 'px ' + fontface;
} }
Window_Message.prototype.startMessage = function() Window_Message.prototype.startMessage = function () {
{
gametext = $gameMessage.allText(); gametext = $gameMessage.allText();
resp = clipboardsender(gametext); resp = clipboardsender(gametext);
$gameMessage._texts = [resp] $gameMessage._texts = [resp]