mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-12-26 21:24:12 +08:00
format
This commit is contained in:
parent
7bdfeae9a7
commit
15849bd1a1
@ -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]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user