Use the original code

This commit is contained in:
dazedanon 2025-08-28 11:43:58 -05:00
parent 63a2c46c6f
commit d7ad911d08

View file

@ -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) {