Use the original code
This commit is contained in:
parent
63a2c46c6f
commit
d7ad911d08
1 changed files with 10 additions and 1 deletions
|
|
@ -4511,7 +4511,16 @@
|
|||
}
|
||||
|
||||
// 文章表示の設定
|
||||
if (!!args.label && args.label !== '') {
|
||||
// 優先順位: コメント > ラベル参照 > 直接テキスト
|
||||
if (!!args.comment && args.comment.length > 0) {
|
||||
// イベントコマンド357の備考欄(コメント)をそのまま使用
|
||||
$gameMessage.add(args.comment);
|
||||
if (args.useVoice && !!args.label) {
|
||||
$gameMessage.setVoice('voice/' + args.label);
|
||||
} else if (args.voice) {
|
||||
$gameMessage.setVoice(args.voice);
|
||||
}
|
||||
} else if (!!args.label && args.label !== '') {
|
||||
Logger.d(`set message: label = ${args.label}, use voice = ${args.useVoice}`);
|
||||
$gameMessage.add(TextResource.getText(args.label));
|
||||
if (args.useVoice) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue