To be clear, was this set using the editor or the plugin parameters?
Viewing post in RPG Maker MV/MZ: Menu Builder comments
Hey, sorry for the slow response. This was set using plugin parameters. I tweaked the function below to fix it:
Window_SynMenuSelcData.prototype.drawPicture = function(data){
const window_data = this._window_data;
const draw_pic = eval(window_data['Draw Picture']);
if(!draw_pic)return;
//const pic_names = JSON.parse(data['Pictures'] || []); edited by Icosa for Thread, 2025
const pic_names = data['Pictures'] || [];
const pic_index = eval(window_data['Picture Index']);
const pic_name = pic_names[pic_index];
if(!pic_name)return;
const bitmap = ImageManager.loadPicture(pic_name);
const bx = 0;
const by = 0;
const bw = bitmap.width;
const bh = bitmap.height;
const dx = eval(window_data['Picture X']);
const dy = eval(window_data['Picture Y']);
const dw = eval(window_data['Picture Width']);
const dh = eval(window_data['Picture Height']);
this.contents.blt(bitmap,bx,by,bw,bh,dx,dy,dw,dh);
}rmmz_managers.js:2080 SyntaxError: Unexpected token A in JSON at position 0
at JSON.parse (<anonymous>)
at Window_SynMenuSelc.drawPicture (Synrec_MenuBuilder.js:5198)
at Window_SynMenuSelc.drawItem (Synrec_MenuBuilder.js:5182)
at Window_SynMenuSelc.Window_Selectable.drawAllItems (rmmz_windows.js:1365)
at Window_SynMenuSelc.Window_Selectable.paint (rmmz_windows.js:1416)
at Window_SynMenuSelc.Window_Selectable.refresh (rmmz_windows.js:1409)
at Window_SynMenuSelc.initialize (Synrec_MenuBuilder.js:5075)
at new Window_SynMenuSelc (Synrec_MenuBuilder.js:5052)
at Scene_SynrecMenu.createSelectionWindow (Synrec_MenuBuilder.js:6915)
at Scene_SynrecMenu.createWindows (Synrec_MenuBuilder.js:6901)
