| 赞 | 37 |
| VIP | |
| 好人卡 | |
| 积分 | 33 |
| 经验 | |
| 最后登录 | 2026-10-1 |
| 在线时间 | 777 小时 |
- 梦石
- 0
- 星屑
- 3264
- 在线时间
- 777 小时
- 注册时间
- 2023-5-18
- 回帖
- 154
|
发表于 2024-3-10 15:29:50
|
显示全部楼层
可能是这个
[pre lang="javascript"]Window_Base.prototype.convertEscapeCharacters = function(text) {
text = text.replace(/\\/g, '\x1b');
text = text.replace(/\x1b\x1b/g, '\\');
text = text.replace(/\x1bV\[(\d+)\]/gi, function() {
return $gameVariables.value(parseInt(arguments[1]));
}.bind(this));
text = text.replace(/\x1bV\[(\d+)\]/gi, function() {
return $gameVariables.value(parseInt(arguments[1]));
}.bind(this));
text = text.replace(/\x1bN\[(\d+)\]/gi, function() {
return this.actorName(parseInt(arguments[1]));
}.bind(this));
text = text.replace(/\x1bP\[(\d+)\]/gi, function() {
return this.partyMemberName(parseInt(arguments[1]));
}.bind(this));
text = text.replace(/\x1bG/gi, TextManager.currencyUnit);
return text;
};[/pre]
|
|