From 76256aa1ec5883439268a971deb4cc4a7eb0cfa8 Mon Sep 17 00:00:00 2001 From: xian18 <44394537+xian18@users.noreply.github.com> Date: Mon, 13 Mar 2023 00:31:32 +0800 Subject: [PATCH] Enable MOG ATB MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 启用了 MOG 的 ATB 插件,但是现在缺少相应的图片. Signed-off-by: xian18 <44394537+xian18@users.noreply.github.com> --- js/plugins.js | 9 +- js/{ => plugins}/ATB.js | 0 js/{ => plugins}/ATBLine.js | 0 js/plugins/MOG_BattleHud.js | 2451 ++++++++++++++++---------------- js/plugins/SF_SkipLoadError.js | 2 +- 5 files changed, 1257 insertions(+), 1205 deletions(-) rename js/{ => plugins}/ATB.js (100%) rename js/{ => plugins}/ATBLine.js (100%) diff --git a/js/plugins.js b/js/plugins.js index 8901133..c9d6543 100644 --- a/js/plugins.js +++ b/js/plugins.js @@ -21,9 +21,12 @@ var $plugins = {"name":"YEP_CoreEngine","status":true,"description":"v1.31 [v1.0] 系统 - 引擎核心","parameters":{"---屏幕---":"","屏幕宽度":"1024","屏幕高度":"560","屏幕重置-战斗背景":"false","屏幕重置-标题":"true","屏幕重置-游戏结束":"true","控制台":"true","是否重置角色战斗位置":"true","游戏字体加载延时":"0","是否锁定实际比例":"false","是否自动释放缓存":"true","---金钱---":"","金钱最大值":"99999999","金钱字体大小":"20","金钱图标":"163","金钱超出消息":"数不尽","---物品---":"","物品最大值":"9999","物品字体大小":"20","---能力值---":"","角色等级最大值":"99","角色生命最大值":"9999","角色魔法最大值":"9999","角色属性最大值":"999","敌人生命最大值":"999999","敌人魔法最大值":"9999","敌人属性最大值":"999","---战斗---":"","动画速度":"4","是否闪烁选中目标":"false","遇敌动画是否显示角色":"false","战斗结束是否显示角色":"false","---地图优化---":"","角色生命变化时是否刷新":"true","角色魔法变化时是否刷新":"true","角色怒气变化时是否刷新":"false","---字体---":"","中文模式的字体":"SimHei, Heiti TC, sans-serif","日韩模式的字体":"Dotum, AppleGothic, sans-serif","默认模式的字体":"GameFont, Verdana, Arial, Courier New","默认字体大小":"28","默认对齐方式":"left","---窗口---":"","是否使用数字逗号分割":"true","默认行高":"36","默认图标大小":"32","默认图标高度":"32","默认脸图宽度":"144","默认脸图高度":"144","默认窗口内边距":"18","默认文本内边距":"6","默认窗口透明度":"192","YEP条是否描边":"true","默认YEP条行高":"18","是否绘制YEP怒气条":"true","---窗口颜色---":"","颜色-普通文本":"0","颜色-系统文本":"16","颜色-角色垂死":"17","颜色-角色死亡":"18","颜色-YEP条背景色":"19","颜色-生命条左":"20","颜色-生命条右":"21","颜色-魔法条左":"22","颜色-魔法条右":"23","颜色-魔法消耗":"23","颜色-强化":"24","颜色-弱化":"25","颜色-怒气条左":"28","颜色-怒气条右":"29","颜色-怒气消耗":"29"}}, {"name":"YEP_SaveCore","status":true,"description":"v1.06 存档核心☁️","parameters":{"---General---":"","Max Files":"24","Saved Icon":"231","Empty Icon":"230","Return After Saving":"false","Auto New Index":"true","---Action Window---":"","Load Command":"加载","Save Command":"保存","Delete Command":"删除","---Help Window---":"","Select Help":"请选择一个文件槽","Load Help":"加载当前进度","Save Help":"保存当前进度","Delete Help":"删除当前进度","---Delete---":"","Delete Filename":"Damage2","Delete Volume":"100","Delete Pitch":"150","Delete Pan":"0","---Info Window---":"","Show Game Title":"true","Invalid Game Text":"这是另一个游戏的保存。","Empty Game Text":"Empty","Map Display Name":"true","Party Display":"2","Party Y Position":"this.lineHeight() + Window_Base._faceHeight","Show Actor Names":"true","Name Font Size":"20","Show Actor Level":"true","Level Font Size":"20","Level Format":"\\c[16]%1 \\c[0]%3","Data Font Size":"20","Data Column 1":"empty, playtime, save count, gold count","Data Column 2":"location, variable 1, variable 2, variable 3","Data Column 3":"empty, variable 4, variable 5, variable 6","Data Column 4":"","---Vocabulary---":"","Map Location":"","Playtime":"游戏时间:","Save Count":"保存次数:","Gold Count":"%1:","---Technical---":"","Save Mode":"web","Local Config":"config.rpgsave","Local Global":"global.rpgsave","Local Save":"file%1.rpgsave","Web Config":"RPG %1 Config","Web Global":"RPG %1 Global","Web Save":"RPG %1 File%2","---Confirmation---":"","Load Confirmation":"true","Load Text":"是否要加载此保存文件?","Save Confirmation":"true","Save Text":"是否覆盖此保存文件?","Delete Confirmation":"true","Delete Text":"是否删除此保存文件?","Confirm Yes":"是","Confirm No":"否"}}, {"name":"YEP_OptionsCore","status":true,"description":"v1.01 选项核心☁️","parameters":{"---Categories---":"","OptionsCategories":"[\"{\\\"Name\\\":\\\"\\\\\\\\i[87]General\\\",\\\"---Settings---\\\":\\\"\\\",\\\"HelpDesc\\\":\\\"\\\\\\\"General settings that alter the way the game behaves.\\\\\\\"\\\",\\\"OptionsList\\\":\\\"[\\\\\\\"{\\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\i[87]Always Dash\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Settings---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"HelpDesc\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Player walks when OFF. Player dashes when ON.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nHolding SHIFT switches between walking and dashing.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Symbol\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"alwaysDash\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ShowHide\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"show = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Enable\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"enabled = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Ext\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ext = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Functions---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"MakeCommandCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"this.addCommand(name, symbol, enabled, ext);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DrawItemCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var rect = this.itemRectForText(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar statusWidth = this.statusWidth();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar titleWidth = rect.width - statusWidth;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.resetTextColor();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changePaintOpacity(this.isCommandEnabled(index));\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsName(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsOnOff(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ProcessOkCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, !value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorRightCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, true);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorLeftCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, false);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DefaultConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ConfigManager[symbol] = false;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"SaveConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"config[symbol] = ConfigManager[symbol];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"LoadConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ConfigManager[symbol] = config[symbol];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\",\\\\\\\"{\\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\i[87]Command Remember\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Settings---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"HelpDesc\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Game remembers the last command selected during battle.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Symbol\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"commandRemember\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ShowHide\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"show = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Enable\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"enabled = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Ext\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ext = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Functions---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"MakeCommandCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"this.addCommand(name, symbol, enabled, ext);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DrawItemCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var rect = this.itemRectForText(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar statusWidth = this.statusWidth();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar titleWidth = rect.width - statusWidth;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.resetTextColor();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changePaintOpacity(this.isCommandEnabled(index));\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsName(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsOnOff(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ProcessOkCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, !value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorRightCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, true);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorLeftCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, false);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DefaultConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ConfigManager[symbol] = false;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"SaveConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"config[symbol] = ConfigManager[symbol];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"LoadConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ConfigManager[symbol] = config[symbol];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\",\\\\\\\"{\\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\i[87]ATB Speed\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Settings---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"HelpDesc\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Determines how fast the ATB Gauge fills up during battle.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Symbol\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"atbSpeed\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ShowHide\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"if (Imported.YEP_X_BattleSysATB) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n show = $gameSystem.getBattleSystem() === 'atb';\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n} else {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n show = false;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Enable\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"enabled = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Ext\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ext = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Functions---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"MakeCommandCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"this.addCommand(name, symbol, enabled, ext);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DrawItemCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var rect = this.itemRectForText(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar statusWidth = this.statusWidth();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar titleWidth = rect.width - statusWidth;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.resetTextColor();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changePaintOpacity(this.isCommandEnabled(index));\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsName(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar rate = value / 10;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar gaugeColor1 = this.textColor(13);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar gaugeColor2 = this.textColor(5);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsGauge(index, rate, gaugeColor1, gaugeColor2);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawText(this.statusText(index), titleWidth, rect.y, statusWidth, 'center');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ProcessOkCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue += 1;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nif (value > 10) value = 1;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorRightCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue += 1;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nif (value > 10) value = 1;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorLeftCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue -= 1;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nif (value < 1) value = 10;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DefaultConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"SaveConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"LoadConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\",\\\\\\\"{\\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\i[87]Enemy Difficulty\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Settings---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"HelpDesc\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Determines the level strength of enemies.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Symbol\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"difficultySlider\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ShowHide\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"if (Imported.YEP_X_DifficultySlider) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n show = $gameSystem.showDifficultySlider();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n} else {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n show = false;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Enable\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"enabled = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Ext\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ext = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Functions---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"MakeCommandCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"this.addCommand(name, symbol, enabled, ext);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DrawItemCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var rect = this.itemRectForText(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar statusWidth = this.statusWidth();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar titleWidth = rect.width - statusWidth;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.resetTextColor();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changePaintOpacity(this.isCommandEnabled(index));\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsName(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar rate = value / Yanfly.Param.DSliderMaxDif;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar gaugeColor1 = this.textColor(28);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar gaugeColor2 = this.textColor(29);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsGauge(index, rate, gaugeColor1, gaugeColor2);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawText(this.statusText(index), titleWidth, rect.y, statusWidth, 'center');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ProcessOkCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue += Yanfly.Param.DSliderChange;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nif (value > Yanfly.Param.DSliderMaxDif) value = Yanfly.Param.DSliderMinDif;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue = value.clamp(Yanfly.Param.DSliderMinDif, Yanfly.Param.DSliderMaxDif);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorRightCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue += Yanfly.Param.DSliderChange;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue = value.clamp(Yanfly.Param.DSliderMinDif, Yanfly.Param.DSliderMaxDif);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorLeftCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue -= Yanfly.Param.DSliderChange;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue = value.clamp(Yanfly.Param.DSliderMinDif,\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nYanfly.Param.DSliderMaxDif);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DefaultConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"SaveConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"LoadConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\",\\\\\\\"{\\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\i[87]Message Speed\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Settings---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"HelpDesc\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Changes the speed text is displayed during messages.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Symbol\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"messageSpeed\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ShowHide\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"show = Imported.YEP_X_MessageSpeedOpt;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Enable\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"enabled = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Ext\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ext = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Functions---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"MakeCommandCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"this.addCommand(name, symbol, enabled, ext);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DrawItemCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var rect = this.itemRectForText(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar statusWidth = this.statusWidth();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar titleWidth = rect.width - statusWidth;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.resetTextColor();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changePaintOpacity(this.isCommandEnabled(index));\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsName(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar rate = ((value) / 10).clamp(0, 1);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nif (value > 10) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n var gaugeColor1 = this.textColor(14);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n var gaugeColor2 = this.textColor(6);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n} else {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n var gaugeColor1 = this.textColor(20);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n var gaugeColor2 = this.textColor(21);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsGauge(index, rate, gaugeColor1, gaugeColor2);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawText(this.statusText(index), titleWidth, rect.y, statusWidth, 'center');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ProcessOkCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue += 1;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nif (value > 11) value = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue = value.clamp(0, 11);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorRightCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue += 1;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue = value.clamp(0, 11);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorLeftCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue -= 1;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue = value.clamp(0, 11);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DefaultConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"SaveConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"LoadConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\",\\\\\\\"{\\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\i[87]Quest Window\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Settings---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"HelpDesc\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Show a window displaying the currently active\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nquest on the screen while exploring.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Symbol\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"mapQuestWindow\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ShowHide\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"show = Imported.YEP_X_MapQuestWindow;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Enable\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"enabled = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Ext\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ext = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Functions---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"MakeCommandCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"this.addCommand(name, symbol, enabled, ext);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DrawItemCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var rect = this.itemRectForText(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar statusWidth = this.statusWidth();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar titleWidth = rect.width - statusWidth;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.resetTextColor();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changePaintOpacity(this.isCommandEnabled(index));\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsName(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsOnOff(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ProcessOkCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, !value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorRightCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, true);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorLeftCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, false);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DefaultConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"SaveConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"LoadConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\",\\\\\\\"{\\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\" \\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Settings---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"HelpDesc\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Symbol\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"none\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ShowHide\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"show = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Enable\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"enabled = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Ext\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ext = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Functions---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"MakeCommandCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"this.addCommand(name, symbol, enabled, ext);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DrawItemCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ProcessOkCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorRightCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorLeftCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DefaultConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"SaveConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"LoadConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\"]\\\"}\",\"{\\\"Name\\\":\\\"\\\\\\\\i[80]Audio\\\",\\\"---Settings---\\\":\\\"\\\",\\\"HelpDesc\\\":\\\"\\\\\\\"Adjust the audio settings for the game.\\\\\\\"\\\",\\\"OptionsList\\\":\\\"[\\\\\\\"{\\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\i[80]Master Volume\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Settings---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"HelpDesc\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Adjusts the overall volume of the game.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Symbol\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"masterVolume\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ShowHide\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"show = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Enable\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"enabled = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Ext\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ext = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Functions---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"MakeCommandCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"this.addCommand(name, symbol, enabled, ext);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DrawItemCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var rect = this.itemRectForText(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar statusWidth = this.statusWidth();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar titleWidth = rect.width - statusWidth;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.resetTextColor();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changePaintOpacity(this.isCommandEnabled(index));\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsName(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar rate = value / 100;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar gaugeColor1 = this.textColor(22);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar gaugeColor2 = this.textColor(23);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsGauge(index, rate, gaugeColor1, gaugeColor2);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawText(this.statusText(index), titleWidth, rect.y, statusWidth, 'center');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ProcessOkCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue += this.volumeOffset();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nif (value > 100) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n value = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue = value.clamp(0, 100);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorRightCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue += this.volumeOffset();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue = value.clamp(0, 100);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorLeftCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue -= this.volumeOffset();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue = value.clamp(0, 100);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DefaultConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ConfigManager[symbol] = 100;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"SaveConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"config[symbol] = ConfigManager[symbol];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"LoadConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var value = config[symbol];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nif (value !== undefined) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n ConfigManager[symbol] = Number(value).clamp(0, 100);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n} else {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n ConfigManager[symbol] = 100;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\",\\\\\\\"{\\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\i[80]BGM Volume\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Settings---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"HelpDesc\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Adjusts the volume of the background music.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Symbol\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"bgmVolume\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ShowHide\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"show = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Enable\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"enabled = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Ext\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ext = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Functions---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"MakeCommandCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"this.addCommand(name, symbol, enabled, ext);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DrawItemCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var rect = this.itemRectForText(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar statusWidth = this.statusWidth();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar titleWidth = rect.width - statusWidth;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.resetTextColor();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changePaintOpacity(this.isCommandEnabled(index));\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsName(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar rate = value / 100;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar gaugeColor1 = this.textColor(30);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar gaugeColor2 = this.textColor(31);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsGauge(index, rate, gaugeColor1, gaugeColor2);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawText(this.statusText(index), titleWidth, rect.y, statusWidth, 'center');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ProcessOkCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue += this.volumeOffset();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nif (value > 100) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n value = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue = value.clamp(0, 100);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorRightCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue += this.volumeOffset();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue = value.clamp(0, 100);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorLeftCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue -= this.volumeOffset();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue = value.clamp(0, 100);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DefaultConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ConfigManager[symbol] = 100;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"SaveConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"config[symbol] = ConfigManager[symbol];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"LoadConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var value = config[symbol];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nif (value !== undefined) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n ConfigManager[symbol] = Number(value).clamp(0, 100);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n} else {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n ConfigManager[symbol] = 100;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\",\\\\\\\"{\\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\i[80]BGS Volume\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Settings---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"HelpDesc\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Adjusts the volume of the background sound effects.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Symbol\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"bgsVolume\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ShowHide\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"show = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Enable\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"enabled = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Ext\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ext = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Functions---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"MakeCommandCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"this.addCommand(name, symbol, enabled, ext);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DrawItemCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var rect = this.itemRectForText(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar statusWidth = this.statusWidth();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar titleWidth = rect.width - statusWidth;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.resetTextColor();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changePaintOpacity(this.isCommandEnabled(index));\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsName(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar rate = value / 100;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar gaugeColor1 = this.textColor(30);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar gaugeColor2 = this.textColor(31);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsGauge(index, rate, gaugeColor1, gaugeColor2);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawText(this.statusText(index), titleWidth, rect.y, statusWidth, 'center');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ProcessOkCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue += this.volumeOffset();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nif (value > 100) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n value = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue = value.clamp(0, 100);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorRightCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue += this.volumeOffset();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue = value.clamp(0, 100);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorLeftCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue -= this.volumeOffset();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue = value.clamp(0, 100);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DefaultConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ConfigManager[symbol] = 100;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"SaveConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"config[symbol] = ConfigManager[symbol];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"LoadConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var value = config[symbol];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nif (value !== undefined) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n ConfigManager[symbol] = Number(value).clamp(0, 100);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n} else {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n ConfigManager[symbol] = 100;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\",\\\\\\\"{\\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\i[80]ME Volume\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Settings---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"HelpDesc\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Adjusts the volume of the melody effects\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nsuch as fanfares.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Symbol\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"meVolume\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ShowHide\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"show = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Enable\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"enabled = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Ext\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ext = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Functions---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"MakeCommandCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"this.addCommand(name, symbol, enabled, ext);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DrawItemCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var rect = this.itemRectForText(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar statusWidth = this.statusWidth();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar titleWidth = rect.width - statusWidth;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.resetTextColor();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changePaintOpacity(this.isCommandEnabled(index));\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsName(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar rate = value / 100;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar gaugeColor1 = this.textColor(30);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar gaugeColor2 = this.textColor(31);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsGauge(index, rate, gaugeColor1, gaugeColor2);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawText(this.statusText(index), titleWidth, rect.y, statusWidth, 'center');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ProcessOkCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue += this.volumeOffset();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nif (value > 100) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n value = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue = value.clamp(0, 100);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorRightCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue += this.volumeOffset();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue = value.clamp(0, 100);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorLeftCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue -= this.volumeOffset();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue = value.clamp(0, 100);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DefaultConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ConfigManager[symbol] = 100;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"SaveConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"config[symbol] = ConfigManager[symbol];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"LoadConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var value = config[symbol];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nif (value !== undefined) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n ConfigManager[symbol] = Number(value).clamp(0, 100);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n} else {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n ConfigManager[symbol] = 100;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\",\\\\\\\"{\\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\i[80]SE Volume\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Settings---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"HelpDesc\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Adjusts the volume of the sound effects.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Symbol\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"seVolume\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ShowHide\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"show = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Enable\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"enabled = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Ext\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ext = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Functions---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"MakeCommandCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"this.addCommand(name, symbol, enabled, ext);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DrawItemCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var rect = this.itemRectForText(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar statusWidth = this.statusWidth();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar titleWidth = rect.width - statusWidth;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.resetTextColor();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changePaintOpacity(this.isCommandEnabled(index));\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsName(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar rate = value / 100;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar gaugeColor1 = this.textColor(30);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar gaugeColor2 = this.textColor(31);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsGauge(index, rate, gaugeColor1, gaugeColor2);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawText(this.statusText(index), titleWidth, rect.y, statusWidth, 'center');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ProcessOkCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue += this.volumeOffset();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nif (value > 100) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n value = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue = value.clamp(0, 100);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorRightCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue += this.volumeOffset();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue = value.clamp(0, 100);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorLeftCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue -= this.volumeOffset();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue = value.clamp(0, 100);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DefaultConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ConfigManager[symbol] = 100;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"SaveConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"config[symbol] = ConfigManager[symbol];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"LoadConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var value = config[symbol];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nif (value !== undefined) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n ConfigManager[symbol] = Number(value).clamp(0, 100);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n} else {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n ConfigManager[symbol] = 100;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\",\\\\\\\"{\\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\" \\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Settings---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"HelpDesc\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Symbol\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"none\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ShowHide\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"show = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Enable\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"enabled = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Ext\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ext = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Functions---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"MakeCommandCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"this.addCommand(name, symbol, enabled, ext);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DrawItemCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ProcessOkCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorRightCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorLeftCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DefaultConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"SaveConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"LoadConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\"]\\\"}\",\"{\\\"Name\\\":\\\"\\\\\\\\i[302]Visual\\\",\\\"---Settings---\\\":\\\"\\\",\\\"HelpDesc\\\":\\\"\\\\\\\"Settings that adjust the visual properties of the game.\\\\\\\"\\\",\\\"OptionsList\\\":\\\"[\\\\\\\"{\\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\i[309]Window Tone: Red\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Settings---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"HelpDesc\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Changes the window tone's \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\c[2]red\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\c[0] value.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nHold SHIFT while pressing LEFT/RIGHT to adjust more.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Symbol\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"windowToneRed\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ShowHide\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"show = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Enable\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"enabled = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Ext\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ext = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Functions---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"MakeCommandCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"this.addCommand(name, symbol, enabled, ext);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DrawItemCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var rect = this.itemRectForText(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar statusWidth = this.statusWidth();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar titleWidth = rect.width - statusWidth;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.resetTextColor();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changePaintOpacity(this.isCommandEnabled(index));\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsName(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = $gameSystem.windowTone()[0];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar rate = (value + 255) / 510;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar gaugeColor1 = this.textColor(2);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar gaugeColor2 = this.textColor(10);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsGauge(index, rate, gaugeColor1, gaugeColor2);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawText(value, titleWidth, rect.y, statusWidth, 'center');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ProcessOkCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = $dataSystem.windowTone[0];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeWindowTone(symbol, value, 'red');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorRightCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = $gameSystem.windowTone()[0];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar offset = this.windowToneOffset();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nif (Input.isPressed('shift')) offset *= 10;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue += offset;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeWindowTone(symbol, value, 'red');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorLeftCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = $gameSystem.windowTone()[0];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar offset = this.windowToneOffset();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nif (Input.isPressed('shift')) offset *= 10;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue -= offset;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeWindowTone(symbol, value, 'red');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DefaultConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ConfigManager[symbol] = false;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"SaveConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"config[symbol] = ConfigManager[symbol];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"LoadConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ConfigManager[symbol] = !!config[symbol];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\",\\\\\\\"{\\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\i[311]Window Tone: Green\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Settings---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"HelpDesc\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Changes the window tone's \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\c[3]green\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\c[0] value.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nHold SHIFT while pressing LEFT/RIGHT to adjust more.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Symbol\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"windowToneGreen\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ShowHide\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"show = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Enable\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"enabled = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Ext\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ext = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Functions---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"MakeCommandCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"this.addCommand(name, symbol, enabled, ext);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DrawItemCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var rect = this.itemRectForText(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar statusWidth = this.statusWidth();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar titleWidth = rect.width - statusWidth;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.resetTextColor();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changePaintOpacity(this.isCommandEnabled(index));\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsName(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = $gameSystem.windowTone()[1];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar rate = (value + 255) / 510;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar gaugeColor1 = this.textColor(3);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar gaugeColor2 = this.textColor(11);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsGauge(index, rate, gaugeColor1, gaugeColor2);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawText(value, titleWidth, rect.y, statusWidth, 'center');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ProcessOkCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = $dataSystem.windowTone[1];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeWindowTone(symbol, value, 'green');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorRightCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = $gameSystem.windowTone()[1];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar offset = this.windowToneOffset();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nif (Input.isPressed('shift')) offset *= 10;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue += offset;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeWindowTone(symbol, value, 'green');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorLeftCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = $gameSystem.windowTone()[1];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar offset = this.windowToneOffset();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nif (Input.isPressed('shift')) offset *= 10;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue -= offset;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeWindowTone(symbol, value, 'green');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DefaultConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ConfigManager[symbol] = false;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"SaveConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"config[symbol] = ConfigManager[symbol];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"LoadConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ConfigManager[symbol] = !!config[symbol];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\",\\\\\\\"{\\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\i[312]Window Tone: Blue\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Settings---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"HelpDesc\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Changes the window tone's \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\c[1]blue\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\c[0] value.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nHold SHIFT while pressing LEFT/RIGHT to adjust more.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Symbol\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"windowToneBlue\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ShowHide\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"show = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Enable\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"enabled = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Ext\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ext = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Functions---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"MakeCommandCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"this.addCommand(name, symbol, enabled, ext);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DrawItemCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var rect = this.itemRectForText(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar statusWidth = this.statusWidth();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar titleWidth = rect.width - statusWidth;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.resetTextColor();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changePaintOpacity(this.isCommandEnabled(index));\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsName(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = $gameSystem.windowTone()[2];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar rate = (value + 255) / 510;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar gaugeColor1 = this.textColor(1);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar gaugeColor2 = this.textColor(9);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsGauge(index, rate, gaugeColor1, gaugeColor2);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawText(value, titleWidth, rect.y, statusWidth, 'center');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ProcessOkCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = $dataSystem.windowTone[2];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeWindowTone(symbol, value, 'blue');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorRightCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = $gameSystem.windowTone()[2];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar offset = this.windowToneOffset();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nif (Input.isPressed('shift')) offset *= 10;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue += offset;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeWindowTone(symbol, value, 'blue');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorLeftCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = $gameSystem.windowTone()[2];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar offset = this.windowToneOffset();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nif (Input.isPressed('shift')) offset *= 10;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue -= offset;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeWindowTone(symbol, value, 'blue');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DefaultConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ConfigManager[symbol] = false;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"SaveConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"config[symbol] = ConfigManager[symbol];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"LoadConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ConfigManager[symbol] = !!config[symbol];\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\",\\\\\\\"{\\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\" \\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Settings---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"HelpDesc\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Symbol\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"none\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ShowHide\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"if (Imported.YEP_StaticTilesOption) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n show = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n} else if (Imported.YEP_BattleAniSpeedOpt) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n show = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n} else if (Imported.YEP_X_ActSeqPack3) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n show = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n} else if (Imported.YEP_SynchFpsOption) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n show = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n} else {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n show = false;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Enable\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"enabled = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Ext\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ext = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Functions---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"MakeCommandCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"this.addCommand(name, symbol, enabled, ext);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DrawItemCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ProcessOkCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorRightCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorLeftCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DefaultConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"SaveConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"LoadConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\",\\\\\\\"{\\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\i[302]Animated Tiles\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Settings---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"HelpDesc\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Turns animated tiles ON or OFF.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Symbol\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"animateTiles\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ShowHide\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"show = Imported.YEP_StaticTilesOption;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Enable\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"enabled = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Ext\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ext = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Functions---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"MakeCommandCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"this.addCommand(name, symbol, enabled, ext);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DrawItemCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var rect = this.itemRectForText(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar statusWidth = this.statusWidth();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar titleWidth = rect.width - statusWidth;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.resetTextColor();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changePaintOpacity(this.isCommandEnabled(index));\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsName(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsOnOff(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ProcessOkCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, !value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorRightCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, true);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorLeftCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, false);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DefaultConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"SaveConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"LoadConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\",\\\\\\\"{\\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\i[302]Battle Animation Speed\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Settings---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"HelpDesc\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Changes the speed of battle animations.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Symbol\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"battleAniSpeed\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ShowHide\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"show = Imported.YEP_BattleAniSpeedOpt;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Enable\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"enabled = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Ext\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ext = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Functions---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"MakeCommandCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"this.addCommand(name, symbol, enabled, ext);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DrawItemCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var rect = this.itemRectForText(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar statusWidth = this.statusWidth();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar quarterWidth = statusWidth / 4;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar titleWidth = rect.width - statusWidth;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.resetTextColor();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changePaintOpacity(this.isCommandEnabled(index));\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsName(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changePaintOpacity(value === 4);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar text = this.battleAnimationSpeedText(4);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawText(text, titleWidth + quarterWidth * 0, rect.y, quarterWidth, 'center');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changePaintOpacity(value === 3);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar text = this.battleAnimationSpeedText(3);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawText(text, titleWidth + quarterWidth * 1, rect.y, quarterWidth, 'center');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changePaintOpacity(value === 2);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar text = this.battleAnimationSpeedText(2);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawText(text, titleWidth + quarterWidth * 2, rect.y, quarterWidth, 'center');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changePaintOpacity(value === 1);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar text = this.battleAnimationSpeedText(1);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawText(text, titleWidth + quarterWidth * 3, rect.y, quarterWidth, 'center');\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ProcessOkCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue -= 1;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nif (value <= 0) value = 4;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue = value.clamp(1, 4);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorRightCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue -= 1;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue = value.clamp(1, 4);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorLeftCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue += 1;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvalue = value.clamp(1, 4);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DefaultConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"SaveConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"LoadConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\",\\\\\\\"{\\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\i[302]Battle Camera\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Settings---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"HelpDesc\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"If ON, the camera in battle will move around.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nIf OFF, the camera in battle will be locked in place.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Symbol\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"battleCamera\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ShowHide\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"show = Imported.YEP_X_ActSeqPack3;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Enable\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"enabled = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Ext\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ext = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Functions---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"MakeCommandCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"this.addCommand(name, symbol, enabled, ext);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DrawItemCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var rect = this.itemRectForText(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar statusWidth = this.statusWidth();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar titleWidth = rect.width - statusWidth;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.resetTextColor();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changePaintOpacity(this.isCommandEnabled(index));\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsName(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsOnOff(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ProcessOkCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, !value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorRightCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, true);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorLeftCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, false);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DefaultConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"SaveConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"LoadConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\",\\\\\\\"{\\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\i[302]Synch Monitor FPS\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Settings---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"HelpDesc\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Turn this ON if your monitor runs above 60 FPS\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nto synchronize the game to run at 60 FPS.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Symbol\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"synchFps\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ShowHide\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"show = Imported.YEP_SynchFpsOption;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Enable\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"enabled = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Ext\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ext = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Functions---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"MakeCommandCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"this.addCommand(name, symbol, enabled, ext);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DrawItemCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var rect = this.itemRectForText(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar statusWidth = this.statusWidth();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar titleWidth = rect.width - statusWidth;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.resetTextColor();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changePaintOpacity(this.isCommandEnabled(index));\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsName(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsOnOff(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ProcessOkCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, !value);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorRightCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, true);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorLeftCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var index = this.index();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar symbol = this.commandSymbol(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar value = this.getConfigValue(symbol);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changeValue(symbol, false);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DefaultConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"SaveConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"LoadConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\",\\\\\\\"{\\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\" \\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Settings---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"HelpDesc\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Symbol\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"none\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ShowHide\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"show = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Enable\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"enabled = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Ext\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ext = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Functions---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"MakeCommandCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"this.addCommand(name, symbol, enabled, ext);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DrawItemCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ProcessOkCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorRightCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorLeftCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DefaultConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"SaveConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"LoadConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\"]\\\"}\",\"{\\\"Name\\\":\\\"\\\\\\\\i[83]Controls\\\",\\\"---Settings---\\\":\\\"\\\",\\\"HelpDesc\\\":\\\"\\\\\\\"Change the way you can control the game.\\\\\\\"\\\",\\\"OptionsList\\\":\\\"[\\\\\\\"{\\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\i[83]Gamepad Config\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Settings---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"HelpDesc\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Configure the game's gamepad settings.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Symbol\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"gamepadConfig\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ShowHide\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"if (Imported.GamepadConfig && Input.isControllerConnected()) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n show = !Utils.isMobileDevice();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n} else {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n show = false;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Enable\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"enabled = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Ext\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ext = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Functions---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"MakeCommandCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"this.addCommand(name, symbol, enabled, ext);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DrawItemCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var rect = this.itemRectForText(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar statusWidth = this.statusWidth();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar titleWidth = rect.width - statusWidth;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.resetTextColor();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changePaintOpacity(this.isCommandEnabled(index));\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsName(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ProcessOkCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"this.playOkSound();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nSceneManager.push(Scene_GamepadConfig);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorRightCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorLeftCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DefaultConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"SaveConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"LoadConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\",\\\\\\\"{\\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\i[83]Keyboard Config\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Settings---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"HelpDesc\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Configure the game's keyboard settings.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Symbol\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"keyConfig\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ShowHide\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"if (Imported.YEP_KeyboardConfig) {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n show = !Utils.isMobileDevice();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n} else {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n show = false;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Enable\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"enabled = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Ext\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ext = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Functions---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"MakeCommandCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"this.addCommand(name, symbol, enabled, ext);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DrawItemCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"var rect = this.itemRectForText(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar statusWidth = this.statusWidth();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nvar titleWidth = rect.width - statusWidth;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.resetTextColor();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.changePaintOpacity(this.isCommandEnabled(index));\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nthis.drawOptionsName(index);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ProcessOkCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"this.playOkSound();\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nSceneManager.push(Scene_KeyConfig);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorRightCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorLeftCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DefaultConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"SaveConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"LoadConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\",\\\\\\\"{\\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\" \\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Settings---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"HelpDesc\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Symbol\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"none\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ShowHide\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"show = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Enable\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"enabled = true;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"Ext\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"ext = 0;\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"---Functions---\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"MakeCommandCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"this.addCommand(name, symbol, enabled, ext);\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DrawItemCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"ProcessOkCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorRightCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"CursorLeftCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"DefaultConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"SaveConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"LoadConfigCode\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\"}\\\\\\\"]\\\"}\"]","---Options Menu---":"","AllCommand":"\\i[160]All","AllHelpDesc":"\"游戏所有设置的列表。\"","ExitCommand":"\\i[16]Exit","ExitHelpDesc":"\"退出“选项”菜单。\"","---Options Settings---":"","CategoryWidth":"240","StatusWidth":"400","VolumeOffset":"10","WindowToneOffset":"5"}}, +{"name":"YEP_BattleEngineCore","status":false,"description":"v1.43a 战斗引擎核心☁️","parameters":{"---General---":"","Action Speed":"agi","Default System":"atb","---Escape---":"","Escape Ratio":"0.5 * $gameParty.agility() / $gameTroop.agility()","Fail Escape Boost":"0.1","---Animation---":"","Animation Base Delay":"0","Animation Next Delay":"0","Certain Hit Animation":"120","Physical Animation":"52","Magical Animation":"51","Enemy Attack Animation":"39","Reflect Animation":"42","Motion Waiting":"false","---Frontview---":"","Front Position X":"Graphics.boxWidth / 8 + Graphics.boxWidth / 4 * index","Front Position Y":"Graphics.boxHeight - 180","Front Actor Sprite":"false","Front Sprite Priority":"1","---Sideview---":"","Home Position X":"screenWidth - 16 - (maxSize + 2) * 32 + index * 32","Home Position Y":"screenHeight - statusHeight - maxSize * 48 + (index+1) * 48 - 32","Side Sprite Priority":"1","---Sprites---":"","Default X Anchor":"0.5","Default Y Anchor":"1.0","Step Distance":"48","Flinch Distance":"12","Show Shadows":"true","---Damage Popups---":"","Popup Duration":"128","Newest Popup Bottom":"true","Popup Overlap Rate":"0.9","Critical Popup":"255, 0, 0, 160","Critical Duration":"60","---Tick-Settings---":"","Timed States":"false","Timed Buffs":"false","Turn Time":"100","AI Self Turns":"true","---Window Settings---":"","Lower Windows":"true","Window Rows":"4","Command Window Rows":"4","Command Alignment":"center","Start Actor Command":"true","Current Max":"false","---Selection Help---":"","Mouse Over":"true","Select Help Window":"true","User Help Text":"用户","Ally Help Text":"队友","Allies Help Text":"全体队友","Enemy Help Text":"敌人","Enemies Help Text":"全体敌人","All Help Text":"%1","Random Help Text":"%2 随机 %1","---Enemy Select---":"","Visual Enemy Select":"true","Show Enemy Name":"true","Show Select Box":"false","Enemy Font Size":"20","Enemy Auto Select":"this.furthestRight()","---Actor Select---":"","Visual Actor Select":"true","---Battle Log---":"","Show Emerge Text":"false","Show Pre-Emptive Text":"true","Show Surprise Text":"true","Optimize Speed":"true","Show Action Text":"false","Show State Text":"false","Show Buff Text":"false","Show Counter Text":"true","Show Reflect Text":"true","Show Substitute Text":"true","Show Fail Text":"false","Show Critical Text":"false","Show Miss Text":"false","Show Evasion Text":"false","Show HP Text":"false","Show MP Text":"false","Show TP Text":"false"}}, {"name":"YEP_BuffsStatesCore","status":true,"description":"v1.12a 效果状态核心☁️","parameters":{"---Turn指示器---":"","Show Turns":"true","Font Size":"16","Turn Alignment":"right","Turn Buffer X":"-3","Turn Buffer Y":"-6","State Color":"0","Buff Color":"24","Debuff Color":"2","---敌人图标---":"","Show Enemy Icons":"true","Enemy Buff Turn":"true","Enemy State Turn":"true","Enemy State Counter":"true","---Buff设置---":"","Default Limit":"4","Maximum Limit":"8","Buff Formula":"this._buffs[paramId] * 0.25 + 1.0","Show Buff Rate":"false","---状态设置---":"","Reapply Rules":"1","Show Enemy Turns":"true","---计数器设置---":"","Counter Font Size":"16","Counter Alignment":"center","Counter Buffer X":"0","Counter Buffer Y":"8","Counter Color":"0"}}, {"name":"YEP_DamageCore","status":true,"description":"v1.06 伤害核心☁️","parameters":{"---破环上限---":"","Enable Cap":"false","Maximum Damage":"9999","Maximum Healing":"9999","---破坏步骤---":"","Damage Step 1":"baseDamage = this.modifyBaseDamage(value, baseDamage, target);","Damage Step 2":"baseDamage *= this.calcElementRate(target);","Damage Step 3":"","Damage Step 4":"","Damage Step 5":"","Damage Step 6":"critical = this.modifyCritical(critical, baseDamage, target);","Damage Step 7":"target.result().critical = critical;","Damage Step 8":"value = baseDamage;","Damage Step 9":"","Damage Step 10":"if (baseDamage > 0) {","Damage Step 11":"value = this.applyDamageRate(value, baseDamage, target);","Damage Step 12":"","Damage Step 13":"","Damage Step 14":"","Damage Step 15":"","Damage Step 16":"","Damage Step 17":"","Damage Step 18":"}","Damage Step 19":"","Damage Step 20":"if (baseDamage < 0) {","Damage Step 21":"value = this.applyHealRate(value, baseDamage, target);","Damage Step 22":"","Damage Step 23":"","Damage Step 24":"","Damage Step 25":"","Damage Step 26":"","Damage Step 27":"","Damage Step 28":"}","Damage Step 29":"","Damage Step 30":"if (critical) {","Damage Step 31":"value = this.applyCriticalRate(value, baseDamage, target);","Damage Step 32":"","Damage Step 33":"","Damage Step 34":"","Damage Step 35":"","Damage Step 36":"","Damage Step 37":"","Damage Step 38":"}","Damage Step 39":"","Damage Step 40":"if (this.isPhysical()) {","Damage Step 41":"value = this.applyPhysicalRate(value, baseDamage, target);","Damage Step 42":"","Damage Step 43":"","Damage Step 44":"","Damage Step 45":"","Damage Step 46":"","Damage Step 47":"value = this.applyFlatPhysical(value, baseDamage, target);","Damage Step 48":"}","Damage Step 49":"","Damage Step 50":"if (this.isMagical()) {","Damage Step 51":"value = this.applyMagicalRate(value, baseDamage, target);","Damage Step 52":"","Damage Step 53":"","Damage Step 54":"","Damage Step 55":"","Damage Step 56":"","Damage Step 57":"value = this.applyFlatMagical(value, baseDamage, target);","Damage Step 58":"}","Damage Step 59":"","Damage Step 60":"if (baseDamage > 0) {","Damage Step 61":"value = this.applyFlatDamage(value, baseDamage, target);","Damage Step 62":"","Damage Step 63":"","Damage Step 64":"","Damage Step 65":"","Damage Step 66":"","Damage Step 67":"","Damage Step 68":"}","Damage Step 69":"","Damage Step 70":"if (baseDamage < 0) {","Damage Step 71":"value = this.applyFlatHeal(value, baseDamage, target);","Damage Step 72":"","Damage Step 73":"","Damage Step 74":"","Damage Step 75":"","Damage Step 76":"","Damage Step 77":"","Damage Step 78":"}","Damage Step 79":"","Damage Step 80":"if (critical) {","Damage Step 81":"value = this.applyFlatCritical(value, baseDamage, target);","Damage Step 82":"","Damage Step 83":"","Damage Step 84":"","Damage Step 85":"","Damage Step 86":"","Damage Step 87":"","Damage Step 88":"}","Damage Step 89":"","Damage Step 90":"value = this.applyVariance(value, item.damage.variance);","Damage Step 91":"","Damage Step 92":"","Damage Step 93":"","Damage Step 94":"","Damage Step 95":"value = this.applyGuard(value, target);","Damage Step 96":"","Damage Step 97":"","Damage Step 98":"","Damage Step 99":"value = this.applyFlatGlobal(value, baseDamage, target);","Damage Step 100":"value = this.applyMinimumDamage(value, baseDamage, target);"}}, {"name":"YEP_SkillCore","status":true,"description":"v1.11 技能核心☁️","parameters":{"---全局---":"","Cost Padding":"4","Command Alignment":"center","Window Columns":"2","---HP 费用---":"","HP Format":"%1%2","HP Font Size":"20","HP Text Color":"18","HP Icon":"162","---MP 费用---":"","MP Format":"%1%2","MP Font Size":"20","MP Text Color":"23","MP Icon":"165","---TP 费用---":"","TP Format":"%1%2","TP Font Size":"20","TP Text Color":"29","TP Icon":"164"}}, +{"name":"YEP_X_BattleSysATB","status":false,"description":"v1.25 时间槽战斗系统☁️","parameters":{"---ATB 设置---":"","Per Tick":"user.agi","Initial Speed":"0","Full Gauge":"Math.max(5000, BattleManager.highestBaseAgi() * 100)","Charge Gauge":"Math.max(2000, BattleManager.highestBaseAgi() * 20)","Pre-Emptive Bonuses":"0.8","Surprise Bonuses":"0.8","---逃跑---":"","Escape Ratio":"0.125 * $gameParty.agility() / $gameTroop.agility()","Fail Escape Boost":"0.025","---Turn---":"","Full Turn":"Math.min(200, BattleManager.lowestBaseAgi() * 8)","Flash Enemy":"true","---Rubberband---":"","Enable Rubberband":"true","Minimum Speed":"0.5 * BattleManager.highestBaseAgi()","Maximum Speed":"1.5 * BattleManager.highestBaseAgi()","---准备音乐---":"","Ready Sound":"Decision1","Ready Volume":"90","Ready Pitch":"120","Ready Pan":"0","---选项---":"","ATB Speed Text":"ATB速度","Default ATB Speed":"10","---窗口---":"","Lock Status Window":"true","Gauge Style":"1","Gauge Text":"Turn","Gauge Text Align":"center","ATB Gauge Color 1":"13","ATB Gauge Color 2":"5","Slow Gauge Color 1":"12","Slow Gauge Color 2":"4","Fast Gauge Color 1":"26","Fast Gauge Color 2":"27","Stop Gauge Color 1":"7","Stop Gauge Color 2":"8","Full Gauge Color 1":"14","Full Gauge Color 2":"6","Charge Gauge Color 1":"2","Charge Gauge Color 2":"10"}}, +{"name":"YEP_X_VisualATBGauge","status":false,"description":"v1.03 时间槽外观☁️","parameters":{"Show Gauges":"true","Minimum Gauge Width":"144","Always Show":"true","Gauge Position":"false","Y Buffer":"-32","Use Thick Gauges":"true"}}, {"name":"--------------------","status":true,"description":"------------------------------------------------------------","parameters":{}}, {"name":"YEP_EventChasePlayer","status":true,"description":"v1.05 事件追逐☁️","parameters":{"Sight Lock":"300","See Player":"true","Alert Timer":"120","Alert Balloon":"1","Alert Sound":"Attack1","Alert Common Event":"0","Return After":"true","Return Wait":"180"}}, {"name":"--------------------","status":true,"description":"------------------------------------------------------------","parameters":{}}, @@ -38,9 +41,9 @@ var $plugins = {"name":"SF_QuestSystem","status":true,"description":"v1.0 Allows you to show quests.","parameters":{"Quest List Window":"","Quest List Window X":"260","Quest List Window Y":"90","Quest List Window Width":"120","Quest List Window Height":"370","Quest List Window Font Size":"18","Quest Detail Window":"","Quest Detail Window X":"380","Quest Detail Window Y":"90","Quest Detail Window Width":"440","Quest Detail Window Height":"370","Quest Detail Window Font Size":"18","Quest Editor":"","Quest Editor Enable":"false","Quest List Info X":"0","Quest List Info Y":"90","Quest List Info Width":"240","Quest List Info Height":"370","Quest List Info Font Size":"18"}}, {"name":"--------------------","status":true,"description":"------------------------------------------------------------","parameters":{}}, {"name":"MOG_ActorHud","status":true,"description":"(v2.0 *) Adiciona uma Hud com os parâmetros do personagem.","parameters":{"-> MAIN <<<<<<<<<<<<<<<<<<<<<<<":"","Initial Visible":"true","Hud X-Axis":"0","Hud Y-Axis":"0","Smart Fade":"true","Auto Fade":"true","":"","-> LAYOUT 2 <<<<<<<<<<<<<<<<<<<<<<<":"","Layout Overlay Visible":"false","Layout Overlay X-Axis":"0","Layout Overlay Y-Axis":"0","-> FACE <<<<<<<<<<<<<<<<<<<<<<<":"","Face Visible":"true","Face X-Axis":"51","Face Y-Axis":"50","Face Priority":"1","-> NAME <<<<<<<<<<<<<<<<<<<<<<<":"","Name Visible":"false","Name X-Axis":"5","Name Y-Axis":"20","Name Font Size":"20","Name Bold Size":"4","Name Font Italic":"false","-> HP <<<<<<<<<<<<<<<<<<<<<<<":"","HP Meter Visible":"true","HP Meter X-Axis":"110","HP Meter Y-Axis":"33","HP Meter Angle":"0","HP Meter Flow Anime":"true","HP Meter Flow Speed":"4","HP Number Visible":"false","HP Number Align":"0","HP Number X-Axis":"270","HP Number Y-Axis":"70","MaxHP Number Visible":"false","MaxHP Number X-Axis":"185","MaxHP Number Y-Axis":"40","HP Icon Visible":"false","HP Icon Half Mode":"false","HP Icon Max Colors":"2","HP Icon Max Rows":"10","HP Icon Max Columns":"2","HP Icon X-Axis":"143","HP Icon Y-Axis":"85","HP Icon Space X":"0","HP Icon Space Y":"0","HP Icon Zoom Anime":"true","-> MP <<<<<<<<<<<<<<<<<<<<<<<":"","MP Meter Visible":"true","MP Meter X-Axis":"110","MP Meter Y-Axis":"48","MP Meter Angle":"0","MP Meter Flow Anime":"true","MP Meter Flow Speed":"4","MP Number Visible":"false","MP Number Align":"0","MP Number X-Axis":"287","MP Number Y-Axis":"100","MaxMP Number Visible":"false","MaxMP Number X-Axis":"196","MaxMP Number Y-Axis":"78","MP Icon Visible":"false","MP Icon Half Mode":"false","MP Icon Max Colors":"2","MP Icon Max Rows":"10","MP Icon Max Columns":"2","MP Icon X-Axis":"143","MP Icon Y-Axis":"120","MP Icon Space X":"0","MP Icon Space Y":"0","MP Icon Zoom Anime":"true","-> TP <<<<<<<<<<<<<<<<<<<<<<<":"","TP Meter Visible":"false","TP Meter X-Axis":"143","TP Meter Y-Axis":"50","TP Meter Angle":"0","TP Meter Flow Anime":"true","TP Meter Flow Speed":"4","TP Number Visible":"false","TP Number Align":"0","TP Number X-Axis":"270","TP Number Y-Axis":"130","MaxTP Number Visible":"false","MaxTP Number X-Axis":"185","MaxTP Number Y-Axis":"116","TP Icon Visible":"false","TP Icon Half Mode":"false","TP Icon Max Colors":"2","TP Icon Max Rows":"10","TP Icon Max Columns":"2","TP Icon X-Axis":"143","TP Icon Y-Axis":"50","TP Icon Space X":"0","TP Icon Space Y":"0","TP Icon Zoom Anime":"true","-> EXP <<<<<<<<<<<<<<<<<<<<<<<":"","EXP Meter Visible":"true","EXP Meter X-Axis":"110","EXP Meter Y-Axis":"63","EXP Meter Angle":"0","Level Number Visible":"false","Level Number Align":"1","Level Number X-Axis":"65","Level Number Y-Axis":"153","-> STATES <<<<<<<<<<<<<<<<<<<<<<<":"","States Visible":"false","States X-Axis":"5","States Y-Axis":"64"}}, -{"name":"MOG_ATB","status":false,"description":"(v0.3 *) Sistema de batalha em tempo real.","parameters":{"ATB Mode":"0","ATB Max Value":"4000","Turn Duration":"480","States Duration":"180","Escape Duration":"180","Skip Emerge Message":"true","Full SE":"audio/se/Book1","Change Actor Left":"pagedown","Change Actor Right":"pageup","Escape Button":"cancel","Escape Layout X":"600","Escape Layout Y":"64","Escape Gauge X":"6","Escape Gauge Y":"16"}}, -{"name":"MOG_ATB_Gauge","status":false,"description":"(v1.0) Apresenta a Hud de ATB para MOG_ATB.","parameters":{"Hud Angle":"0","Hud X-Axis":"740","Hud Y-Axis":"45","Enemy X-Axis Offset":"16","Actor X-Axis Offset":"-16","Active X-Axis":"-3","Active Y-Axis":"30","Gauge Size":"160","Skill Visible":"true","Skill Zoom":"0.6","Skill X-Axis":"0","Skill Y-Axis":"0"}}, -{"name":"MOG_BattleHud","status":false,"description":"(v5.04 *) Permite customizar o layout de batalha.","parameters":{"-> MAIN <<<<<<<<<<<<<<<<<<<<<<<":"","Hud X-Axis":"-90","Hud Y-Axis":"500","Hud Space X":"0","Hud Space Y":"0","Hud Slide X":"0","Hud Slide Y":"0","Vertical Mode":"false","Max Battle Members":"6","":"","-> LAYOUT OVERLAY <<<<<<<<<<<<<<<<<<<<<<<":"","Layout2 Visible":"true","Layout2 X-Axis":"0","Layout2 Y-Axis":"0","-> TURN <<<<<<<<<<<<<<<<<<<<<<<":"","Turn Visible":"true","Turn X-Axis":"-5","Turn Y-Axis":"-5","Turn Rotation Speed":"0","Turn Zoom Animation":"false","-> FACE <<<<<<<<<<<<<<<<<<<<<<<":"","Face Visible":"true","Face X-Axis":"70","Face Y-Axis":"29","Face Shake Animation":"true","Face Zoom Animation":"true","Face Frame Animation":"false","Face Priority":"1","-> NAME <<<<<<<<<<<<<<<<<<<<<<<":"","Name Visible":"false","Name X-Axis":"0","Name Y-Axis":"0","Name Align":"0","Name Font Size":"20","Name Bold Size":"4","Name Font Italic":"false","-> HP <<<<<<<<<<<<<<<<<<<<<<<":"","HP Meter Visible":"true","HP Meter X-Axis":"124","HP Meter Y-Axis":"13","HP Meter Angle":"0","HP Meter Flow Anime":"false","HP Number Visible":"true","HP Number Align type":"0","HP Number X-Axis":"220","HP Number Y-Axis":"0","MaxHP Number Visible":"false","MaxHP Number X-Axis":"0","MaxHP Number Y-Axis":"0","-> MP <<<<<<<<<<<<<<<<<<<<<<<":"","MP Meter Visible":"true","MP Meter X-Axis":"124","MP Meter Y-Axis":"32","MP Meter Angle":"0","MP Meter Flow Anime":"false","MP Number Visible":"true","MP Number Align type":"0","MP Number X-Axis":"220","MP Number Y-Axis":"19","MaxMP Number Visible":"false","MaxMP Number X-Axis":"0","MaxMP Number Y-Axis":"0","-> TP <<<<<<<<<<<<<<<<<<<<<<<":"","TP Meter Visible":"true","TP Meter X-Axis":"124","TP Meter Y-Axis":"51","TP Meter Angle":"0","TP Meter Flow Anime":"false","TP Number Visible":"true","TP Number Align type":"0","TP Number X-Axis":"220","TP Number Y-Axis":"38","MaxTP Number Visible":"false","MaxTP Number X-Axis":"0","MaxTP Number Y-Axis":"0","-> ATB <<<<<<<<<<<<<<<<<<<<<<<":"","ATB Meter Visible":"true","ATB Meter X-Axis":"0","ATB Meter Y-Axis":"61","ATB Meter Angle":"0","ATB Meter Flow Anime":"false","-> STATES <<<<<<<<<<<<<<<<<<<<<<<":"","States Visible":"true","States X-Axis":"3","States Y-Axis":"24","States Mode":"0","States Max":"4","States Align":"0","-> W COMMAND <<<<<<<<<<<<<<<<<<<<<<<":"","Command Auto Adjust":"1","W Command X-Axis":"20","W Command Y-Axis":"270","W Command Width":"192","W Command Height":"180","W Command Slide X":"0","W Command Slide Y":"0","Layout Command":"true","L Command X-Axis":"-25","L Command Y-Axis":"-35","-> W PARTY <<<<<<<<<<<<<<<<<<<<<<<":"","W Party X-Axis":"325","W Party Y-Axis":"170","W Party Width":"192","W Party Height":"110","W Party Slide X":"0","W Party Slide Y":"0","Layout Party":"true","L Party X-Axis":"-325","L Party Y-Axis":"-42","-> W HELP <<<<<<<<<<<<<<<<<<<<<<<":"","W Help X-Axis":"0","W Help Y-Axis":"0","W Help Width":"816","W Help Height":"108","W Help Slide X":"0","W Help Slide Y":"0","Layout Help":"true","L Help X-Axis":"0","L Help Y-Axis":"0","-> W SKILL <<<<<<<<<<<<<<<<<<<<<<<":"","W Skill X-Axis":"0","W Skill Y-Axis":"444","W Skill Width":"816","W Skill Height":"180","W Skill maxCols":"2","W Skill Slide X":"0","W Skill Slide Y":"0","Layout Skill":"true","L Skill X-Axis":"0","L Skill Y-Axis":"-67","-> W ITEM <<<<<<<<<<<<<<<<<<<<<<<":"","W Item X-Axis":"0","W Item Y-Axis":"444","W Item Width":"816","W Item Height":"180","W Item maxCols":"2","W Item Slide X":"0","W Item Slide Y":"0","Layout Item":"true","L Item X-Axis":"0","L Item Y-Axis":"-67","-> W ACTOR <<<<<<<<<<<<<<<<<<<<<<<":"","W Actor X-Axis":"0","W Actor Y-Axis":"444","W Actor Width":"816","W Actor Height":"180","W Actor maxCols":"1","W Actor Slide X":"0","W Actor Slide Y":"0","Layout Actor":"true","L Actor X-Axis":"0","L Actor Y-Axis":"-67","-> W ENEMY <<<<<<<<<<<<<<<<<<<<<<<":"","W Enemy X-Axis":"0","W Enemy Y-Axis":"444","W Enemy Width":"816","W Enemy Height":"180","W Enemy maxCols":"2","W Enemy Slide X":"0","W Enemy Slide Y":"0","Layout Enemy":"true","L Enemy X-Axis":"0","L Enemy Y-Axis":"-67","-> SCREEN LAYOUT <<<<<<<<<<<<<<<<<<<<<<<":"","Screen Layout":"true","Screen X-Axis":"0","Screen Y-Axis":"0","-> CUSTOM POSITION <<<<<<<<<<<<<<<<<<<<<<<":"","Custom Position 1":"25,465","Custom Position 2":"290,465","Custom Position 3":"555,465","Custom Position 4":"25,545","Custom Position 5":"290,545","Custom Position 6":"555,545","Custom Position 7":"","Custom Position 8":""}}, +{"name":"MOG_ATB","status":true,"description":"(v0.3 *) Sistema de batalha em tempo real.","parameters":{"ATB Mode":"0","ATB Max Value":"4000","Turn Duration":"480","States Duration":"180","Escape Duration":"180","Skip Emerge Message":"true","Full SE":"audio/se/Book1","Change Actor Left":"pagedown","Change Actor Right":"pageup","Escape Button":"cancel","Escape Layout X":"600","Escape Layout Y":"64","Escape Gauge X":"6","Escape Gauge Y":"16"}}, +{"name":"MOG_BattleHud","status":true,"description":"(v5.04 *) Permite customizar o layout de batalha.","parameters":{"-> MAIN <<<<<<<<<<<<<<<<<<<<<<<":"","Hud X-Axis":"-90","Hud Y-Axis":"300","Hud Space X":"0","Hud Space Y":"0","Hud Slide X":"0","Hud Slide Y":"0","Vertical Mode":"true","Max Battle Members":"6","":"","-> LAYOUT OVERLAY <<<<<<<<<<<<<<<<<<<<<<<":"","Layout2 Visible":"true","Layout2 X-Axis":"0","Layout2 Y-Axis":"0","-> TURN <<<<<<<<<<<<<<<<<<<<<<<":"","Turn Visible":"true","Turn X-Axis":"-5","Turn Y-Axis":"-5","Turn Rotation Speed":"0","Turn Zoom Animation":"false","-> FACE <<<<<<<<<<<<<<<<<<<<<<<":"","Face Visible":"true","Face X-Axis":"70","Face Y-Axis":"29","Face Shake Animation":"true","Face Zoom Animation":"true","Face Frame Animation":"false","Face Priority":"1","-> NAME <<<<<<<<<<<<<<<<<<<<<<<":"","Name Visible":"false","Name X-Axis":"0","Name Y-Axis":"0","Name Align":"0","Name Font Size":"20","Name Bold Size":"4","Name Font Italic":"false","-> HP <<<<<<<<<<<<<<<<<<<<<<<":"","HP Meter Visible":"true","HP Meter X-Axis":"124","HP Meter Y-Axis":"13","HP Meter Angle":"0","HP Meter Flow Anime":"false","HP Number Visible":"true","HP Number Align type":"0","HP Number X-Axis":"220","HP Number Y-Axis":"0","MaxHP Number Visible":"false","MaxHP Number X-Axis":"0","MaxHP Number Y-Axis":"0","-> MP <<<<<<<<<<<<<<<<<<<<<<<":"","MP Meter Visible":"true","MP Meter X-Axis":"124","MP Meter Y-Axis":"32","MP Meter Angle":"0","MP Meter Flow Anime":"false","MP Number Visible":"true","MP Number Align type":"0","MP Number X-Axis":"220","MP Number Y-Axis":"19","MaxMP Number Visible":"false","MaxMP Number X-Axis":"0","MaxMP Number Y-Axis":"0","-> TP <<<<<<<<<<<<<<<<<<<<<<<":"","TP Meter Visible":"true","TP Meter X-Axis":"124","TP Meter Y-Axis":"51","TP Meter Angle":"0","TP Meter Flow Anime":"false","TP Number Visible":"true","TP Number Align type":"0","TP Number X-Axis":"220","TP Number Y-Axis":"38","MaxTP Number Visible":"false","MaxTP Number X-Axis":"0","MaxTP Number Y-Axis":"0","-> ATB <<<<<<<<<<<<<<<<<<<<<<<":"","ATB Meter Visible":"true","ATB Meter X-Axis":"0","ATB Meter Y-Axis":"61","ATB Meter Angle":"0","ATB Meter Flow Anime":"false","-> STATES <<<<<<<<<<<<<<<<<<<<<<<":"","States Visible":"true","States X-Axis":"3","States Y-Axis":"24","States Mode":"0","States Max":"4","States Align":"0","-> W COMMAND <<<<<<<<<<<<<<<<<<<<<<<":"","Command Auto Adjust":"1","W Command X-Axis":"20","W Command Y-Axis":"270","W Command Width":"192","W Command Height":"180","W Command Slide X":"0","W Command Slide Y":"0","Layout Command":"true","L Command X-Axis":"-25","L Command Y-Axis":"-35","-> W PARTY <<<<<<<<<<<<<<<<<<<<<<<":"","W Party X-Axis":"325","W Party Y-Axis":"170","W Party Width":"192","W Party Height":"110","W Party Slide X":"0","W Party Slide Y":"0","Layout Party":"true","L Party X-Axis":"-325","L Party Y-Axis":"-42","-> W HELP <<<<<<<<<<<<<<<<<<<<<<<":"","W Help X-Axis":"0","W Help Y-Axis":"0","W Help Width":"816","W Help Height":"108","W Help Slide X":"0","W Help Slide Y":"0","Layout Help":"true","L Help X-Axis":"0","L Help Y-Axis":"0","-> W SKILL <<<<<<<<<<<<<<<<<<<<<<<":"","W Skill X-Axis":"0","W Skill Y-Axis":"444","W Skill Width":"816","W Skill Height":"180","W Skill maxCols":"2","W Skill Slide X":"0","W Skill Slide Y":"0","Layout Skill":"true","L Skill X-Axis":"0","L Skill Y-Axis":"-67","-> W ITEM <<<<<<<<<<<<<<<<<<<<<<<":"","W Item X-Axis":"0","W Item Y-Axis":"444","W Item Width":"816","W Item Height":"180","W Item maxCols":"2","W Item Slide X":"0","W Item Slide Y":"0","Layout Item":"true","L Item X-Axis":"0","L Item Y-Axis":"-67","-> W ACTOR <<<<<<<<<<<<<<<<<<<<<<<":"","W Actor X-Axis":"0","W Actor Y-Axis":"444","W Actor Width":"816","W Actor Height":"180","W Actor maxCols":"1","W Actor Slide X":"0","W Actor Slide Y":"0","Layout Actor":"true","L Actor X-Axis":"0","L Actor Y-Axis":"-67","-> W ENEMY <<<<<<<<<<<<<<<<<<<<<<<":"","W Enemy X-Axis":"0","W Enemy Y-Axis":"444","W Enemy Width":"816","W Enemy Height":"180","W Enemy maxCols":"2","W Enemy Slide X":"0","W Enemy Slide Y":"0","Layout Enemy":"true","L Enemy X-Axis":"0","L Enemy Y-Axis":"-67","-> SCREEN LAYOUT <<<<<<<<<<<<<<<<<<<<<<<":"","Screen Layout":"true","Screen X-Axis":"0","Screen Y-Axis":"0","-> CUSTOM POSITION <<<<<<<<<<<<<<<<<<<<<<<":"","Custom Position 1":"25,465","Custom Position 2":"290,465","Custom Position 3":"555,465","Custom Position 4":"25,545","Custom Position 5":"290,545","Custom Position 6":"555,545","Custom Position 7":"","Custom Position 8":""}}, +{"name":"MOG_ATB_Gauge","status":true,"description":"(v1.0) Apresenta a Hud de ATB para MOG_ATB.","parameters":{"Hud Angle":"0","Hud X-Axis":"1000","Hud Y-Axis":"45","Enemy X-Axis Offset":"16","Actor X-Axis Offset":"-16","Active X-Axis":"-3","Active Y-Axis":"30","Gauge Size":"160","Skill Visible":"true","Skill Zoom":"0.6","Skill X-Axis":"0","Skill Y-Axis":"0"}}, {"name":"--------------------","status":true,"description":"------------------------------------------------------------","parameters":{}}, {"name":"XdRs_MiniMap","status":true,"description":"实景小地图 。","parameters":{"key":"77","width":"Graphics.width / 6","height":"Graphics.height / 6","miniSize":"24","dpFollower":"Y","dpHide":"Y","dpDc1":"Y","dpDc2":"Y","dpMapName":"Y","dpPlace":"Y","dpScale":"Y","color1":"200,0,200","color2":"0,200,0","color3":"0,255,200","icon1":"320","icon2":"320","icon3":"65","icon4":"324","icon5":"117","icon6":"32","icon7":"48"}}, {"name":"--------------------","status":true,"description":"------------------------------------------------------------","parameters":{}}, diff --git a/js/ATB.js b/js/plugins/ATB.js similarity index 100% rename from js/ATB.js rename to js/plugins/ATB.js diff --git a/js/ATBLine.js b/js/plugins/ATBLine.js similarity index 100% rename from js/ATBLine.js rename to js/plugins/ATBLine.js diff --git a/js/plugins/MOG_BattleHud.js b/js/plugins/MOG_BattleHud.js index 411335d..df0ee7e 100644 --- a/js/plugins/MOG_BattleHud.js +++ b/js/plugins/MOG_BattleHud.js @@ -1237,216 +1237,216 @@ * caso o personagem seja abatido na batalha anterior. * */ - + //============================================================================= // ** PLUGIN PARAMETERS //============================================================================= -  var Imported = Imported || {}; -  Imported.MOG_BattleHud = true; -  var Moghunter = Moghunter || {}; - -  Moghunter.parameters = PluginManager.parameters('MOG_BattleHud'); - - // HUD POSITION - Moghunter.bhud_pos_x = Number(Moghunter.parameters['Hud X-Axis'] || -90); - Moghunter.bhud_pos_y = Number(Moghunter.parameters['Hud Y-Axis'] || 480); - Moghunter.bhud_space_x = Number(Moghunter.parameters['Hud Space X'] || 0); - Moghunter.bhud_space_y = Number(Moghunter.parameters['Hud Space Y'] || 0); - Moghunter.bhud_pos_mode = String(Moghunter.parameters['Vertical Mode'] || false); - Moghunter.bhud_max_battle_members = Number(Moghunter.parameters['Max Battle Members'] || 4); - Moghunter.bhud_slideX = Number(Moghunter.parameters['Hud Slide X'] || 0); - Moghunter.bhud_slideY = Number(Moghunter.parameters['Hud Slide Y'] || 0); - - // Layout Overlay - Moghunter.bhud_layoverlay_visible = String(Moghunter.parameters['Layout2 Visible'] || "true"); - Moghunter.bhud_layoverlay_x = Number(Moghunter.parameters['Layout2 X-Axis'] || 0); - Moghunter.bhud_layoverlay_y = Number(Moghunter.parameters['Layout2 Y-Axis'] || 0); - - // Screen Layout - Moghunter.bhud_screen_layout = String(Moghunter.parameters['Screen Layout'] || "true"); - Moghunter.bhud_screen_layout_x = Number(Moghunter.parameters['Screen X-Axis'] || 0); - Moghunter.bhud_screen_layout_y = Number(Moghunter.parameters['Screen Y-Axis'] || 0); - - // TURN POSITION - Moghunter.bhud_turn_visible = String(Moghunter.parameters['Turn Visible'] || true); - Moghunter.bhud_turn_pos_x = Number(Moghunter.parameters['Turn X-Axis'] || -10); - Moghunter.bhud_turn_pos_y = Number(Moghunter.parameters['Turn Y-Axis'] || -10); - Moghunter.bhud_turn_rotation = Number(Moghunter.parameters['Turn Rotation Speed'] || 0.01); - Moghunter.bhud_turn_zoom = String(Moghunter.parameters['Turn Zoom Animation'] || "true"); - - // FACE POSITION - Moghunter.bhud_face_visible = String(Moghunter.parameters['Face Visible'] || true); - Moghunter.bhud_face_shake = String(Moghunter.parameters['Face Shake Animation'] || true); - Moghunter.bhud_face_zoom = String(Moghunter.parameters['Face Zoom Animation'] || true); - Moghunter.bhud_face_animated = String(Moghunter.parameters['Face Frame Animation'] || false); - Moghunter.bhud_face_pos_x = Number(Moghunter.parameters['Face X-Axis'] || 52); - Moghunter.bhud_face_pos_y = Number(Moghunter.parameters['Face Y-Axis'] || 52); - Moghunter.bhud_face_priority = Number(Moghunter.parameters['Face Priority'] || 0); - - // NAME POSITION - Moghunter.bhud_name_visible = String(Moghunter.parameters['Name Visible'] || true); - Moghunter.bhud_name_font_size = Number(Moghunter.parameters['Name Font Size'] || 20); - Moghunter.bhud_name_font_bold_size = Number(Moghunter.parameters['Name Bold Size'] || 4); - Moghunter.bhud_name_font_italic = String(Moghunter.parameters['Name Font Italic'] || false); - Moghunter.bhud_name_align = Number(Moghunter.parameters['Name Align'] || 1); - Moghunter.bhud_name_pos_x = Number(Moghunter.parameters['Name X-Axis'] || -25); - Moghunter.bhud_name_pos_y = Number(Moghunter.parameters['Name Y-Axis'] || 65); - - // HP METER POSITION - Moghunter.bhud_hp_meter_visible = String(Moghunter.parameters['HP Meter Visible'] || true); - Moghunter.bhud_hp_meter_pos_x = Number(Moghunter.parameters['HP Meter X-Axis'] || 87); - Moghunter.bhud_hp_meter_pos_y = Number(Moghunter.parameters['HP Meter Y-Axis'] || 7); - Moghunter.bhud_hp_meter_rotation = Number(Moghunter.parameters['HP Meter Angle'] || 0); - Moghunter.bhud_hp_meter_flow = String(Moghunter.parameters['HP Meter Flow Anime'] || true); - - // HP NUMBER POSITION - Moghunter.bhud_hp_number_visible = String(Moghunter.parameters['HP Number Visible'] || true); - Moghunter.bhud_hp_number_pos_x = Number(Moghunter.parameters['HP Number X-Axis'] || 170); - Moghunter.bhud_hp_number_pos_y = Number(Moghunter.parameters['HP Number Y-Axis'] || -11); - Moghunter.bhud_maxhp_number_visible = String(Moghunter.parameters['MaxHP Number Visible'] || false); - Moghunter.bhud_maxhp_number_pos_x = Number(Moghunter.parameters['MaxHP Number X-Axis'] || 245); - Moghunter.bhud_maxhp_number_pos_y = Number(Moghunter.parameters['MaxHP Number Y-Axis'] || 20); - Moghunter.bhud_hp_align_type = Number(Moghunter.parameters['HP Number Align type'] || 0); - - // MP METER POSITION - Moghunter.bhud_mp_meter_visible = String(Moghunter.parameters['MP Meter Visible'] || true); - Moghunter.bhud_mp_meter_pos_x = Number(Moghunter.parameters['MP Meter X-Axis'] || 104); - Moghunter.bhud_mp_meter_pos_y = Number(Moghunter.parameters['MP Meter Y-Axis'] || 33); - Moghunter.bhud_mp_meter_rotation = Number(Moghunter.parameters['MP Meter Angle'] || 0); - Moghunter.bhud_mp_meter_flow = String(Moghunter.parameters['MP Meter Flow Anime'] || true); - - // MP NUMBER POSITION - Moghunter.bhud_mp_number_visible = String(Moghunter.parameters['MP Number Visible'] || true); - Moghunter.bhud_mp_number_pos_x = Number(Moghunter.parameters['MP Number X-Axis'] || 187); - Moghunter.bhud_mp_number_pos_y = Number(Moghunter.parameters['MP Number Y-Axis'] || 16); - Moghunter.bhud_maxmp_number_visible = String(Moghunter.parameters['MaxMP Number Visible'] || false); - Moghunter.bhud_maxmp_number_pos_x = Number(Moghunter.parameters['MaxMP Number X-Axis'] || 196); - Moghunter.bhud_maxmp_number_pos_y = Number(Moghunter.parameters['MaxMP Number Y-Axis'] || 78); - Moghunter.bhud_mp_align_type = Number(Moghunter.parameters['MP Number Align type'] || 0); - Moghunter.bhud_mp_diagonal_number = Number(Moghunter.parameters['MP Number Diagonal'] || true); - - // TP METER POSITION - Moghunter.bhud_tp_meter_visible = String(Moghunter.parameters['TP Meter Visible'] || true); - Moghunter.bhud_tp_meter_pos_x = Number(Moghunter.parameters['TP Meter X-Axis'] || 104); - Moghunter.bhud_tp_meter_pos_y = Number(Moghunter.parameters['TP Meter Y-Axis'] || 59); - Moghunter.bhud_tp_meter_rotation = Number(Moghunter.parameters['TP Meter Angle'] || 0); - Moghunter.bhud_tp_meter_flow = String(Moghunter.parameters['TP Meter Flow Anime'] || true); - - // TP NUMBER POSITION - Moghunter.bhud_tp_number_visible = String(Moghunter.parameters['TP Number Visible'] || true); - Moghunter.bhud_tp_number_pos_x = Number(Moghunter.parameters['TP Number X-Axis'] || 187); - Moghunter.bhud_tp_number_pos_y = Number(Moghunter.parameters['TP Number Y-Axis'] || 43); - Moghunter.bhud_maxtp_number_visible = String(Moghunter.parameters['MaxTP Number Visible'] || false); - Moghunter.bhud_maxtp_number_pos_x = Number(Moghunter.parameters['MaxTP Number X-Axis'] || 185); - Moghunter.bhud_maxtp_number_pos_y = Number(Moghunter.parameters['MaxTP Number Y-Axis'] || 116); - Moghunter.bhud_tp_align_type = Number(Moghunter.parameters['TP Number Align type'] || 0); - Moghunter.bhud_tp_diagonal_number = Number(Moghunter.parameters['TP Number Diagonal'] || false); - - // AT METER POSITION - Moghunter.bhud_at_meter_visible = String(Moghunter.parameters['ATB Meter Visible'] || true); - Moghunter.bhud_at_meter_pos_x = Number(Moghunter.parameters['ATB Meter X-Axis'] || 69); - Moghunter.bhud_at_meter_pos_y = Number(Moghunter.parameters['ATB Meter Y-Axis'] || 117); - Moghunter.bhud_at_meter_rotation = Number(Moghunter.parameters['ATB Meter Angle'] || 0); - Moghunter.bhud_at_meter_flow = String(Moghunter.parameters['ATB Meter Flow Anime'] || true); - - // STATES POSITION - Moghunter.bhud_states_visible = String(Moghunter.parameters['States Visible'] || true); - Moghunter.bhud_states_pos_x = Number(Moghunter.parameters['States X-Axis'] || 102); - Moghunter.bhud_states_pos_y = Number(Moghunter.parameters['States Y-Axis'] || 76); - Moghunter.bhud_statesType = Number(Moghunter.parameters['States Mode'] || 0); - Moghunter.bhud_statesMax = Number(Moghunter.parameters['States Max'] || 4); - Moghunter.bhud_statesAlign = Number(Moghunter.parameters['States Align'] || 0); - - // COMMAND WINDOWS - Moghunter.bhud_auto_pos = Number(Moghunter.parameters['Command Auto Adjust'] || 0); - Moghunter.bhud_com_x = Number(Moghunter.parameters['W Command X-Axis'] || 0); - Moghunter.bhud_com_y = Number(Moghunter.parameters['W Command Y-Axis'] || -15); - Moghunter.bhud_com_layout = String(Moghunter.parameters['Layout Command'] || true); - Moghunter.bhud_com_lay_x = Number(Moghunter.parameters['L Command X-Axis'] || -25); - Moghunter.bhud_com_lay_y = Number(Moghunter.parameters['L Command Y-Axis'] || -35); - Moghunter.bhud_com_width = Number(Moghunter.parameters['W Command Width'] || 192); - Moghunter.bhud_com_height = Number(Moghunter.parameters['W Command Height'] || 180); - Moghunter.bhud_com_slideX = Number(Moghunter.parameters['W Command Slide X'] || 0); - Moghunter.bhud_com_slideY = Number(Moghunter.parameters['W Command Slide Y'] || 64); - - - // PARTY WINDOWS - Moghunter.bhud_party_x = Number(Moghunter.parameters['W Party X-Axis'] || 325); - Moghunter.bhud_party_y = Number(Moghunter.parameters['W Party Y-Axis'] || 170); - Moghunter.bhud_party_layout = String(Moghunter.parameters['Layout Party'] || true); - Moghunter.bhud_party_lay_x = Number(Moghunter.parameters['L Party X-Axis'] || -325); - Moghunter.bhud_party_lay_y = Number(Moghunter.parameters['L Party Y-Axis'] || -42); - Moghunter.bhud_party_width = Number(Moghunter.parameters['W Party Width'] || 192); - Moghunter.bhud_party_height = Number(Moghunter.parameters['W Party Height'] || 110); - Moghunter.bhud_party_slide_x = Number(Moghunter.parameters['W Party Slide X'] || 0); - Moghunter.bhud_party_slide_y = Number(Moghunter.parameters['W Party Slide Y'] || -150); - - // HELP WINDOW - Moghunter.bhud_help_x = Number(Moghunter.parameters['W Help X-Axis'] || 0); - Moghunter.bhud_help_y = Number(Moghunter.parameters['W Help Y-Axis'] || 0); - Moghunter.bhud_help_layout = String(Moghunter.parameters['Layout Help'] || true); - Moghunter.bhud_help_lay_x = Number(Moghunter.parameters['L Help X-Axis'] || 0); - Moghunter.bhud_help_lay_y = Number(Moghunter.parameters['L Help Y-Axis'] || 0); - Moghunter.bhud_help_width = Number(Moghunter.parameters['W Help Width'] || 816); - Moghunter.bhud_help_height = Number(Moghunter.parameters['W Help Height'] || 108); - Moghunter.bhud_help_slide_x = Number(Moghunter.parameters['W Help Slide X'] || 0); - Moghunter.bhud_help_slide_y = Number(Moghunter.parameters['W Help Slide Y'] || -150); - - // SKILL WINDOW - Moghunter.bhud_skill_x = Number(Moghunter.parameters['W Skill X-Axis'] || 0); - Moghunter.bhud_skill_y = Number(Moghunter.parameters['W Skill Y-Axis'] || 444); - Moghunter.bhud_skill_layout = String(Moghunter.parameters['Layout Skill'] || true); - Moghunter.bhud_skill_lay_x = Number(Moghunter.parameters['L Skill X-Axis'] || 0); - Moghunter.bhud_skill_lay_y = Number(Moghunter.parameters['L Skill Y-Axis'] || -67); - Moghunter.bhud_skill_width = Number(Moghunter.parameters['W Skill Width'] || 816); - Moghunter.bhud_skill_height = Number(Moghunter.parameters['W Skill Height'] || 180); - Moghunter.bhud_skill_maxcols = Number(Moghunter.parameters['W Skill maxCols'] || 2); - Moghunter.bhud_skill_slide_x = Number(Moghunter.parameters['W Skill Slide X'] || 0); - Moghunter.bhud_skill_slide_y = Number(Moghunter.parameters['W Skill Slide Y'] || 100); - - // ITEM WINDOW - Moghunter.bhud_item_x = Number(Moghunter.parameters['W Item X-Axis'] || 0); - Moghunter.bhud_item_y = Number(Moghunter.parameters['W Item Y-Axis'] || 444); - Moghunter.bhud_item_layout = String(Moghunter.parameters['Layout Item'] || true); - Moghunter.bhud_item_lay_x = Number(Moghunter.parameters['L Item X-Axis'] || 0); - Moghunter.bhud_item_lay_y = Number(Moghunter.parameters['L Item Y-Axis'] || -67); - Moghunter.bhud_item_width = Number(Moghunter.parameters['W Item Width'] || 816); - Moghunter.bhud_item_height = Number(Moghunter.parameters['W Item Height'] || 180); - Moghunter.bhud_item_maxcols = Number(Moghunter.parameters['W Item maxCols'] || 2); - Moghunter.bhud_item_slide_x = Number(Moghunter.parameters['W Item Slide X'] || 0); - Moghunter.bhud_item_slide_y = Number(Moghunter.parameters['W Item Slide Y'] || 150); - - // ACTOR WINDOWS - Moghunter.bhud_actor_x = Number(Moghunter.parameters['W Actor X-Axis'] || 0); - Moghunter.bhud_actor_y = Number(Moghunter.parameters['W Actor Y-Axis'] || 444); - Moghunter.bhud_actor_layout = String(Moghunter.parameters['Layout Actor'] || true); - Moghunter.bhud_actor_lay_x = Number(Moghunter.parameters['L Actor X-Axis'] || 0); - Moghunter.bhud_actor_lay_y = Number(Moghunter.parameters['L Actor Y-Axis'] || -67); - Moghunter.bhud_actor_width = Number(Moghunter.parameters['W Actor Width'] || 816); - Moghunter.bhud_actor_height = Number(Moghunter.parameters['W Actor Height'] || 180); - Moghunter.bhud_actor_maxcols = Number(Moghunter.parameters['W Actor maxCols'] || 1); - Moghunter.bhud_actor_slide_x = Number(Moghunter.parameters['W Actor Slide X'] || 0); - Moghunter.bhud_actor_slide_y = Number(Moghunter.parameters['W Actor Slide Y'] || 150); - - // ENEMY WINDOWS - Moghunter.bhud_enemy_x = Number(Moghunter.parameters['W Enemy X-Axis'] || 0); - Moghunter.bhud_enemy_y = Number(Moghunter.parameters['W Enemy Y-Axis'] || 444); - Moghunter.bhud_enemy_layout = String(Moghunter.parameters['Layout Enemy'] || true); - Moghunter.bhud_enemy_lay_x = Number(Moghunter.parameters['L Enemy X-Axis'] || 0); - Moghunter.bhud_enemy_lay_y = Number(Moghunter.parameters['L Enemy Y-Axis'] || -67); - Moghunter.bhud_enemy_width = Number(Moghunter.parameters['W Enemy Width'] || 816); - Moghunter.bhud_enemy_height = Number(Moghunter.parameters['W Enemy Height'] || 180); - Moghunter.bhud_enemy_maxcols = Number(Moghunter.parameters['W Enemy maxCols'] || 2); - Moghunter.bhud_enemy_slide_x = Number(Moghunter.parameters['W Enemy Slide X'] || 0); - Moghunter.bhud_enemy_slide_y = Number(Moghunter.parameters['W Enemy Slide Y'] || 150); - - // Custom Position - Moghunter.bhud_custom_pos = []; - for (var i = 0; i < 8; i++) { - Moghunter.bhud_custom_pos[i] = (Moghunter.parameters['Custom Position ' + String(i + 1)] || null); - }; - +var Imported = Imported || {}; +Imported.MOG_BattleHud = true; +var Moghunter = Moghunter || {}; + +Moghunter.parameters = PluginManager.parameters('MOG_BattleHud'); + +// HUD POSITION +Moghunter.bhud_pos_x = Number(Moghunter.parameters['Hud X-Axis'] || -90); +Moghunter.bhud_pos_y = Number(Moghunter.parameters['Hud Y-Axis'] || 480); +Moghunter.bhud_space_x = Number(Moghunter.parameters['Hud Space X'] || 0); +Moghunter.bhud_space_y = Number(Moghunter.parameters['Hud Space Y'] || 0); +Moghunter.bhud_pos_mode = String(Moghunter.parameters['Vertical Mode'] || false); +Moghunter.bhud_max_battle_members = Number(Moghunter.parameters['Max Battle Members'] || 4); +Moghunter.bhud_slideX = Number(Moghunter.parameters['Hud Slide X'] || 0); +Moghunter.bhud_slideY = Number(Moghunter.parameters['Hud Slide Y'] || 0); + +// Layout Overlay +Moghunter.bhud_layoverlay_visible = String(Moghunter.parameters['Layout2 Visible'] || "true"); +Moghunter.bhud_layoverlay_x = Number(Moghunter.parameters['Layout2 X-Axis'] || 0); +Moghunter.bhud_layoverlay_y = Number(Moghunter.parameters['Layout2 Y-Axis'] || 0); + +// Screen Layout +Moghunter.bhud_screen_layout = String(Moghunter.parameters['Screen Layout'] || "true"); +Moghunter.bhud_screen_layout_x = Number(Moghunter.parameters['Screen X-Axis'] || 0); +Moghunter.bhud_screen_layout_y = Number(Moghunter.parameters['Screen Y-Axis'] || 0); + +// TURN POSITION +Moghunter.bhud_turn_visible = String(Moghunter.parameters['Turn Visible'] || true); +Moghunter.bhud_turn_pos_x = Number(Moghunter.parameters['Turn X-Axis'] || -10); +Moghunter.bhud_turn_pos_y = Number(Moghunter.parameters['Turn Y-Axis'] || -10); +Moghunter.bhud_turn_rotation = Number(Moghunter.parameters['Turn Rotation Speed'] || 0.01); +Moghunter.bhud_turn_zoom = String(Moghunter.parameters['Turn Zoom Animation'] || "true"); + +// FACE POSITION +Moghunter.bhud_face_visible = String(Moghunter.parameters['Face Visible'] || true); +Moghunter.bhud_face_shake = String(Moghunter.parameters['Face Shake Animation'] || true); +Moghunter.bhud_face_zoom = String(Moghunter.parameters['Face Zoom Animation'] || true); +Moghunter.bhud_face_animated = String(Moghunter.parameters['Face Frame Animation'] || false); +Moghunter.bhud_face_pos_x = Number(Moghunter.parameters['Face X-Axis'] || 52); +Moghunter.bhud_face_pos_y = Number(Moghunter.parameters['Face Y-Axis'] || 52); +Moghunter.bhud_face_priority = Number(Moghunter.parameters['Face Priority'] || 0); + +// NAME POSITION +Moghunter.bhud_name_visible = String(Moghunter.parameters['Name Visible'] || true); +Moghunter.bhud_name_font_size = Number(Moghunter.parameters['Name Font Size'] || 20); +Moghunter.bhud_name_font_bold_size = Number(Moghunter.parameters['Name Bold Size'] || 4); +Moghunter.bhud_name_font_italic = String(Moghunter.parameters['Name Font Italic'] || false); +Moghunter.bhud_name_align = Number(Moghunter.parameters['Name Align'] || 1); +Moghunter.bhud_name_pos_x = Number(Moghunter.parameters['Name X-Axis'] || -25); +Moghunter.bhud_name_pos_y = Number(Moghunter.parameters['Name Y-Axis'] || 65); + +// HP METER POSITION +Moghunter.bhud_hp_meter_visible = String(Moghunter.parameters['HP Meter Visible'] || true); +Moghunter.bhud_hp_meter_pos_x = Number(Moghunter.parameters['HP Meter X-Axis'] || 87); +Moghunter.bhud_hp_meter_pos_y = Number(Moghunter.parameters['HP Meter Y-Axis'] || 7); +Moghunter.bhud_hp_meter_rotation = Number(Moghunter.parameters['HP Meter Angle'] || 0); +Moghunter.bhud_hp_meter_flow = String(Moghunter.parameters['HP Meter Flow Anime'] || true); + +// HP NUMBER POSITION +Moghunter.bhud_hp_number_visible = String(Moghunter.parameters['HP Number Visible'] || true); +Moghunter.bhud_hp_number_pos_x = Number(Moghunter.parameters['HP Number X-Axis'] || 170); +Moghunter.bhud_hp_number_pos_y = Number(Moghunter.parameters['HP Number Y-Axis'] || -11); +Moghunter.bhud_maxhp_number_visible = String(Moghunter.parameters['MaxHP Number Visible'] || false); +Moghunter.bhud_maxhp_number_pos_x = Number(Moghunter.parameters['MaxHP Number X-Axis'] || 245); +Moghunter.bhud_maxhp_number_pos_y = Number(Moghunter.parameters['MaxHP Number Y-Axis'] || 20); +Moghunter.bhud_hp_align_type = Number(Moghunter.parameters['HP Number Align type'] || 0); + +// MP METER POSITION +Moghunter.bhud_mp_meter_visible = String(Moghunter.parameters['MP Meter Visible'] || true); +Moghunter.bhud_mp_meter_pos_x = Number(Moghunter.parameters['MP Meter X-Axis'] || 104); +Moghunter.bhud_mp_meter_pos_y = Number(Moghunter.parameters['MP Meter Y-Axis'] || 33); +Moghunter.bhud_mp_meter_rotation = Number(Moghunter.parameters['MP Meter Angle'] || 0); +Moghunter.bhud_mp_meter_flow = String(Moghunter.parameters['MP Meter Flow Anime'] || true); + +// MP NUMBER POSITION +Moghunter.bhud_mp_number_visible = String(Moghunter.parameters['MP Number Visible'] || true); +Moghunter.bhud_mp_number_pos_x = Number(Moghunter.parameters['MP Number X-Axis'] || 187); +Moghunter.bhud_mp_number_pos_y = Number(Moghunter.parameters['MP Number Y-Axis'] || 16); +Moghunter.bhud_maxmp_number_visible = String(Moghunter.parameters['MaxMP Number Visible'] || false); +Moghunter.bhud_maxmp_number_pos_x = Number(Moghunter.parameters['MaxMP Number X-Axis'] || 196); +Moghunter.bhud_maxmp_number_pos_y = Number(Moghunter.parameters['MaxMP Number Y-Axis'] || 78); +Moghunter.bhud_mp_align_type = Number(Moghunter.parameters['MP Number Align type'] || 0); +Moghunter.bhud_mp_diagonal_number = Number(Moghunter.parameters['MP Number Diagonal'] || true); + +// TP METER POSITION +Moghunter.bhud_tp_meter_visible = String(Moghunter.parameters['TP Meter Visible'] || true); +Moghunter.bhud_tp_meter_pos_x = Number(Moghunter.parameters['TP Meter X-Axis'] || 104); +Moghunter.bhud_tp_meter_pos_y = Number(Moghunter.parameters['TP Meter Y-Axis'] || 59); +Moghunter.bhud_tp_meter_rotation = Number(Moghunter.parameters['TP Meter Angle'] || 0); +Moghunter.bhud_tp_meter_flow = String(Moghunter.parameters['TP Meter Flow Anime'] || true); + +// TP NUMBER POSITION +Moghunter.bhud_tp_number_visible = String(Moghunter.parameters['TP Number Visible'] || true); +Moghunter.bhud_tp_number_pos_x = Number(Moghunter.parameters['TP Number X-Axis'] || 187); +Moghunter.bhud_tp_number_pos_y = Number(Moghunter.parameters['TP Number Y-Axis'] || 43); +Moghunter.bhud_maxtp_number_visible = String(Moghunter.parameters['MaxTP Number Visible'] || false); +Moghunter.bhud_maxtp_number_pos_x = Number(Moghunter.parameters['MaxTP Number X-Axis'] || 185); +Moghunter.bhud_maxtp_number_pos_y = Number(Moghunter.parameters['MaxTP Number Y-Axis'] || 116); +Moghunter.bhud_tp_align_type = Number(Moghunter.parameters['TP Number Align type'] || 0); +Moghunter.bhud_tp_diagonal_number = Number(Moghunter.parameters['TP Number Diagonal'] || false); + +// AT METER POSITION +Moghunter.bhud_at_meter_visible = String(Moghunter.parameters['ATB Meter Visible'] || true); +Moghunter.bhud_at_meter_pos_x = Number(Moghunter.parameters['ATB Meter X-Axis'] || 69); +Moghunter.bhud_at_meter_pos_y = Number(Moghunter.parameters['ATB Meter Y-Axis'] || 117); +Moghunter.bhud_at_meter_rotation = Number(Moghunter.parameters['ATB Meter Angle'] || 0); +Moghunter.bhud_at_meter_flow = String(Moghunter.parameters['ATB Meter Flow Anime'] || true); + +// STATES POSITION +Moghunter.bhud_states_visible = String(Moghunter.parameters['States Visible'] || true); +Moghunter.bhud_states_pos_x = Number(Moghunter.parameters['States X-Axis'] || 102); +Moghunter.bhud_states_pos_y = Number(Moghunter.parameters['States Y-Axis'] || 76); +Moghunter.bhud_statesType = Number(Moghunter.parameters['States Mode'] || 0); +Moghunter.bhud_statesMax = Number(Moghunter.parameters['States Max'] || 4); +Moghunter.bhud_statesAlign = Number(Moghunter.parameters['States Align'] || 0); + +// COMMAND WINDOWS +Moghunter.bhud_auto_pos = Number(Moghunter.parameters['Command Auto Adjust'] || 0); +Moghunter.bhud_com_x = Number(Moghunter.parameters['W Command X-Axis'] || 0); +Moghunter.bhud_com_y = Number(Moghunter.parameters['W Command Y-Axis'] || -15); +Moghunter.bhud_com_layout = String(Moghunter.parameters['Layout Command'] || true); +Moghunter.bhud_com_lay_x = Number(Moghunter.parameters['L Command X-Axis'] || -25); +Moghunter.bhud_com_lay_y = Number(Moghunter.parameters['L Command Y-Axis'] || -35); +Moghunter.bhud_com_width = Number(Moghunter.parameters['W Command Width'] || 192); +Moghunter.bhud_com_height = Number(Moghunter.parameters['W Command Height'] || 180); +Moghunter.bhud_com_slideX = Number(Moghunter.parameters['W Command Slide X'] || 0); +Moghunter.bhud_com_slideY = Number(Moghunter.parameters['W Command Slide Y'] || 64); + + +// PARTY WINDOWS +Moghunter.bhud_party_x = Number(Moghunter.parameters['W Party X-Axis'] || 325); +Moghunter.bhud_party_y = Number(Moghunter.parameters['W Party Y-Axis'] || 170); +Moghunter.bhud_party_layout = String(Moghunter.parameters['Layout Party'] || true); +Moghunter.bhud_party_lay_x = Number(Moghunter.parameters['L Party X-Axis'] || -325); +Moghunter.bhud_party_lay_y = Number(Moghunter.parameters['L Party Y-Axis'] || -42); +Moghunter.bhud_party_width = Number(Moghunter.parameters['W Party Width'] || 192); +Moghunter.bhud_party_height = Number(Moghunter.parameters['W Party Height'] || 110); +Moghunter.bhud_party_slide_x = Number(Moghunter.parameters['W Party Slide X'] || 0); +Moghunter.bhud_party_slide_y = Number(Moghunter.parameters['W Party Slide Y'] || -150); + +// HELP WINDOW +Moghunter.bhud_help_x = Number(Moghunter.parameters['W Help X-Axis'] || 0); +Moghunter.bhud_help_y = Number(Moghunter.parameters['W Help Y-Axis'] || 0); +Moghunter.bhud_help_layout = String(Moghunter.parameters['Layout Help'] || true); +Moghunter.bhud_help_lay_x = Number(Moghunter.parameters['L Help X-Axis'] || 0); +Moghunter.bhud_help_lay_y = Number(Moghunter.parameters['L Help Y-Axis'] || 0); +Moghunter.bhud_help_width = Number(Moghunter.parameters['W Help Width'] || 816); +Moghunter.bhud_help_height = Number(Moghunter.parameters['W Help Height'] || 108); +Moghunter.bhud_help_slide_x = Number(Moghunter.parameters['W Help Slide X'] || 0); +Moghunter.bhud_help_slide_y = Number(Moghunter.parameters['W Help Slide Y'] || -150); + +// SKILL WINDOW +Moghunter.bhud_skill_x = Number(Moghunter.parameters['W Skill X-Axis'] || 0); +Moghunter.bhud_skill_y = Number(Moghunter.parameters['W Skill Y-Axis'] || 444); +Moghunter.bhud_skill_layout = String(Moghunter.parameters['Layout Skill'] || true); +Moghunter.bhud_skill_lay_x = Number(Moghunter.parameters['L Skill X-Axis'] || 0); +Moghunter.bhud_skill_lay_y = Number(Moghunter.parameters['L Skill Y-Axis'] || -67); +Moghunter.bhud_skill_width = Number(Moghunter.parameters['W Skill Width'] || 816); +Moghunter.bhud_skill_height = Number(Moghunter.parameters['W Skill Height'] || 180); +Moghunter.bhud_skill_maxcols = Number(Moghunter.parameters['W Skill maxCols'] || 2); +Moghunter.bhud_skill_slide_x = Number(Moghunter.parameters['W Skill Slide X'] || 0); +Moghunter.bhud_skill_slide_y = Number(Moghunter.parameters['W Skill Slide Y'] || 100); + +// ITEM WINDOW +Moghunter.bhud_item_x = Number(Moghunter.parameters['W Item X-Axis'] || 0); +Moghunter.bhud_item_y = Number(Moghunter.parameters['W Item Y-Axis'] || 444); +Moghunter.bhud_item_layout = String(Moghunter.parameters['Layout Item'] || true); +Moghunter.bhud_item_lay_x = Number(Moghunter.parameters['L Item X-Axis'] || 0); +Moghunter.bhud_item_lay_y = Number(Moghunter.parameters['L Item Y-Axis'] || -67); +Moghunter.bhud_item_width = Number(Moghunter.parameters['W Item Width'] || 816); +Moghunter.bhud_item_height = Number(Moghunter.parameters['W Item Height'] || 180); +Moghunter.bhud_item_maxcols = Number(Moghunter.parameters['W Item maxCols'] || 2); +Moghunter.bhud_item_slide_x = Number(Moghunter.parameters['W Item Slide X'] || 0); +Moghunter.bhud_item_slide_y = Number(Moghunter.parameters['W Item Slide Y'] || 150); + +// ACTOR WINDOWS +Moghunter.bhud_actor_x = Number(Moghunter.parameters['W Actor X-Axis'] || 0); +Moghunter.bhud_actor_y = Number(Moghunter.parameters['W Actor Y-Axis'] || 444); +Moghunter.bhud_actor_layout = String(Moghunter.parameters['Layout Actor'] || true); +Moghunter.bhud_actor_lay_x = Number(Moghunter.parameters['L Actor X-Axis'] || 0); +Moghunter.bhud_actor_lay_y = Number(Moghunter.parameters['L Actor Y-Axis'] || -67); +Moghunter.bhud_actor_width = Number(Moghunter.parameters['W Actor Width'] || 816); +Moghunter.bhud_actor_height = Number(Moghunter.parameters['W Actor Height'] || 180); +Moghunter.bhud_actor_maxcols = Number(Moghunter.parameters['W Actor maxCols'] || 1); +Moghunter.bhud_actor_slide_x = Number(Moghunter.parameters['W Actor Slide X'] || 0); +Moghunter.bhud_actor_slide_y = Number(Moghunter.parameters['W Actor Slide Y'] || 150); + +// ENEMY WINDOWS +Moghunter.bhud_enemy_x = Number(Moghunter.parameters['W Enemy X-Axis'] || 0); +Moghunter.bhud_enemy_y = Number(Moghunter.parameters['W Enemy Y-Axis'] || 444); +Moghunter.bhud_enemy_layout = String(Moghunter.parameters['Layout Enemy'] || true); +Moghunter.bhud_enemy_lay_x = Number(Moghunter.parameters['L Enemy X-Axis'] || 0); +Moghunter.bhud_enemy_lay_y = Number(Moghunter.parameters['L Enemy Y-Axis'] || -67); +Moghunter.bhud_enemy_width = Number(Moghunter.parameters['W Enemy Width'] || 816); +Moghunter.bhud_enemy_height = Number(Moghunter.parameters['W Enemy Height'] || 180); +Moghunter.bhud_enemy_maxcols = Number(Moghunter.parameters['W Enemy maxCols'] || 2); +Moghunter.bhud_enemy_slide_x = Number(Moghunter.parameters['W Enemy Slide X'] || 0); +Moghunter.bhud_enemy_slide_y = Number(Moghunter.parameters['W Enemy Slide Y'] || 150); + +// Custom Position +Moghunter.bhud_custom_pos = []; +for (var i = 0; i < 8; i++) { + Moghunter.bhud_custom_pos[i] = (Moghunter.parameters['Custom Position ' + String(i + 1)] || null); +}; + //============================================================================= // ** Sprite Animation //============================================================================= @@ -1455,7 +1455,7 @@ // * Update Position //============================== var _mog_bhud_sprAnim_updatePosition = Sprite_Animation.prototype.updatePosition; -Sprite_Animation.prototype.updatePosition = function() { +Sprite_Animation.prototype.updatePosition = function () { _mog_bhud_sprAnim_updatePosition.call(this) if (this._battler) { if (this._animation.position === 3 && this.x === 0 && this.y === 0) { @@ -1472,9 +1472,9 @@ Sprite_Animation.prototype.updatePosition = function() { //============================== // * BHud //============================== -ImageManager.loadBHud = function(filename) { - return this.loadBitmap('img/battlehud/', filename, 0, true); -}; +ImageManager.loadBHud = function (filename) { + return this.loadBitmap('img/battlehud/', filename, 0, true); +}; //============================================================================= // ** ImageManager @@ -1483,9 +1483,9 @@ ImageManager.loadBHud = function(filename) { //============================== // * BHud //============================== -ImageManager.loadBHud = function(filename) { - return this.loadBitmap('img/battlehud/', filename, 0, true); -}; +ImageManager.loadBHud = function (filename) { + return this.loadBitmap('img/battlehud/', filename, 0, true); +}; //============================================================================= // ** Game_Interpreter @@ -1495,13 +1495,13 @@ ImageManager.loadBHud = function(filename) { // * PluginCommand //============================== var _alias_mog_bhud_pluginCommand = Game_Interpreter.prototype.pluginCommand -Game_Interpreter.prototype.pluginCommand = function(command, args) { - _alias_mog_bhud_pluginCommand.call(this,command, args) - if (command === "bhud_disable") {$gameSystem._bhud_visible = false}; - if (command === "bhud_enable") {$gameSystem._bhud_visible = true}; +Game_Interpreter.prototype.pluginCommand = function (command, args) { + _alias_mog_bhud_pluginCommand.call(this, command, args) + if (command === "bhud_disable") { $gameSystem._bhud_visible = false }; + if (command === "bhud_enable") { $gameSystem._bhud_visible = true }; return true; }; - + //============================================================================= // ** Game_Temp //============================================================================= @@ -1510,9 +1510,9 @@ Game_Interpreter.prototype.pluginCommand = function(command, args) { // * Initialize //============================== var _alias_mog_bhud_temp_initialize = Game_Temp.prototype.initialize; -Game_Temp.prototype.initialize = function() { +Game_Temp.prototype.initialize = function () { _alias_mog_bhud_temp_initialize.call(this); - this._bhud_position = []; + this._bhud_position = []; this._bhud_position_active = null; this._bhudFaceAnime = false; this._battleEnd = false; @@ -1530,28 +1530,28 @@ Game_Temp.prototype.initialize = function() { // * Initialize //============================== var _alias_mog_bhud_sys_initialize = Game_System.prototype.initialize; -Game_System.prototype.initialize = function() { +Game_System.prototype.initialize = function () { _alias_mog_bhud_sys_initialize.call(this); this._bhud_position = []; for (var i = 0; i < 8; i++) { - this._bhud_position[i] = this.set_hudcp(Moghunter.bhud_custom_pos[i]); - }; + this._bhud_position[i] = this.set_hudcp(Moghunter.bhud_custom_pos[i]); + }; this._bhud_auto_com = false; this._bhud_pos_mode = 0; this._bhud_visible = true; this._bhudFaceBattler = String(Moghunter.bhud_face_visible) == "true" && !$dataSystem.optSideView ? true : false; - if (String(Moghunter.bhud_pos_mode) == "true") {this._bhud_pos_mode = 1}; - if (Number(Moghunter.bhud_auto_pos) == 0) {this._bhud_auto_com = true}; + if (String(Moghunter.bhud_pos_mode) == "true") { this._bhud_pos_mode = 1 }; + if (Number(Moghunter.bhud_auto_pos) == 0) { this._bhud_auto_com = true }; }; //============================== // * set Hudcp //============================== -Game_System.prototype.set_hudcp = function(value) { - if (!value) {return null}; +Game_System.prototype.set_hudcp = function (value) { + if (!value) { return null }; var s = value.split(','); - if (!s[0] || !s[1]) {return null}; - return [Number(s[0]),Number(s[1])]; + if (!s[0] || !s[1]) { return null }; + return [Number(s[0]), Number(s[1])]; } //============================================================================= @@ -1562,8 +1562,8 @@ Game_System.prototype.set_hudcp = function(value) { // * Command129 //============================== var _alias_mog_bhud_command129 = Game_Interpreter.prototype.command129; -Game_Interpreter.prototype.command129 = function() { - _alias_mog_bhud_command129.call(this); +Game_Interpreter.prototype.command129 = function () { + _alias_mog_bhud_command129.call(this); $gameTemp._refresh_Bhud = true; return true; }; @@ -1575,9 +1575,9 @@ Game_Interpreter.prototype.command129 = function() { //============================== // * max Battle Members //============================== -Game_Party.prototype.maxBattleMembers = function() { - if (Imported.MOG_ChronoEngine) {Math.min(Math.max(Number(Moghunter.ras_maxBattleMembers),1),4)}; - return Math.max(Number(Moghunter.bhud_max_battle_members),1); +Game_Party.prototype.maxBattleMembers = function () { + if (Imported.MOG_ChronoEngine) { Math.min(Math.max(Number(Moghunter.ras_maxBattleMembers), 1), 4) }; + return Math.max(Number(Moghunter.bhud_max_battle_members), 1); }; //============================================================================= @@ -1588,27 +1588,27 @@ Game_Party.prototype.maxBattleMembers = function() { // * processVictory //============================== var _alias_mog_bhud_processVictory = BattleManager.processVictory; -BattleManager.processVictory = function() { - $gameTemp._battleEnd = true; - _alias_mog_bhud_processVictory.call(this); +BattleManager.processVictory = function () { + $gameTemp._battleEnd = true; + _alias_mog_bhud_processVictory.call(this); }; //============================== // * processAbort //============================== var _alias_mog_bhud_processAbort = BattleManager.processAbort; -BattleManager.processAbort = function() { - $gameTemp._battleEnd = true; - _alias_mog_bhud_processAbort.call(this); +BattleManager.processAbort = function () { + $gameTemp._battleEnd = true; + _alias_mog_bhud_processAbort.call(this); }; //============================== // * processDefeat //============================== var _alias_mog_bhud_processDefeat = BattleManager.processDefeat; -BattleManager.processDefeat = function() { - $gameTemp._battleEnd = true; - _alias_mog_bhud_processDefeat.call(this); +BattleManager.processDefeat = function () { + $gameTemp._battleEnd = true; + _alias_mog_bhud_processDefeat.call(this); }; @@ -1620,19 +1620,19 @@ BattleManager.processDefeat = function() { // * Initialize //============================== var _alias_mog_bhud_gbat_initMembers = Game_BattlerBase.prototype.initMembers -Game_BattlerBase.prototype.initMembers = function() { +Game_BattlerBase.prototype.initMembers = function () { _alias_mog_bhud_gbat_initMembers.call(this); this.need_refresh_bhud_states = false; - this._bhud_face_data = [0,0,0,0]; - this._face_pos = [0,0]; + this._bhud_face_data = [0, 0, 0, 0]; + this._face_pos = [0, 0]; }; //============================== // * addNewState //============================== var _alias_mog_bhud_addNewState = Game_BattlerBase.prototype.addNewState -Game_BattlerBase.prototype.addNewState = function(stateId) { - _alias_mog_bhud_addNewState.call(this,stateId); +Game_BattlerBase.prototype.addNewState = function (stateId) { + _alias_mog_bhud_addNewState.call(this, stateId); this.need_refresh_bhud_states = true; }; @@ -1640,8 +1640,8 @@ Game_BattlerBase.prototype.addNewState = function(stateId) { // * eraseState //============================== var _alias_mog_bhud_eraseState = Game_BattlerBase.prototype.eraseState -Game_BattlerBase.prototype.eraseState = function(stateId) { - _alias_mog_bhud_eraseState.call(this,stateId); +Game_BattlerBase.prototype.eraseState = function (stateId) { + _alias_mog_bhud_eraseState.call(this, stateId); this.need_refresh_bhud_states = true; }; @@ -1653,40 +1653,40 @@ Game_BattlerBase.prototype.eraseState = function(stateId) { // ** iniMembers //============================== var _mog_bhud_gbattler_initMembers = Game_Battler.prototype.initMembers; -Game_Battler.prototype.initMembers = function() { +Game_Battler.prototype.initMembers = function () { _mog_bhud_gbattler_initMembers.call(this); this._bhud = {}; - this._bhud.faceBreath = false; + this._bhud.faceBreath = false; }; //============================== // * Notetags //============================== -Game_Battler.prototype.notetags = function() { - if (this.isEnemy()) {return this.enemy().note.split(/[\r\n]+/)}; -;; if (this.isActor()) {return this.actor().note.split(/[\r\n]+/)}; +Game_Battler.prototype.notetags = function () { + if (this.isEnemy()) { return this.enemy().note.split(/[\r\n]+/) }; + ;; if (this.isActor()) { return this.actor().note.split(/[\r\n]+/) }; }; //============================== // ** get Bmotion Idle //============================== -Game_Battler.prototype.checkBhudNoteTags = function() { - this.notetags().forEach(function(note) { - var note_data = note.split(': ') - if (note_data[0].toLowerCase() == "face breath effect"){ - this._bhud.faceBreath = true; - }; - },this); +Game_Battler.prototype.checkBhudNoteTags = function () { + this.notetags().forEach(function (note) { + var note_data = note.split(': ') + if (note_data[0].toLowerCase() == "face breath effect") { + this._bhud.faceBreath = true; + }; + }, this); }; //============================== // * //============================== var _mog_bhud_gactor_initMembers = Game_Actor.prototype.initMembers; -Game_Actor.prototype.initMembers = function() { +Game_Actor.prototype.initMembers = function () { _mog_bhud_gactor_initMembers.call(this); - + }; //============================================================================= @@ -1697,22 +1697,22 @@ Game_Actor.prototype.initMembers = function() { // * Apply //============================== var _alias_mog_bhud_apply = Game_Action.prototype.apply; -Game_Action.prototype.apply = function(target) { - var oldhp = target.hp - _alias_mog_bhud_apply.call(this,target); - if (target.isActor()) { - if (oldhp > target.hp) {target._bhud_face_data = [60,0,3,60]} - else if (oldhp < target.hp) {target._bhud_face_data = [0,70,1,70]}; - }; +Game_Action.prototype.apply = function (target) { + var oldhp = target.hp + _alias_mog_bhud_apply.call(this, target); + if (target.isActor()) { + if (oldhp > target.hp) { target._bhud_face_data = [60, 0, 3, 60] } + else if (oldhp < target.hp) { target._bhud_face_data = [0, 70, 1, 70] }; + }; }; //============================== // * Prepare //============================== var _alias_mog_bmhud_action_prepare = Game_Action.prototype.prepare -Game_Action.prototype.prepare = function() { +Game_Action.prototype.prepare = function () { _alias_mog_bmhud_action_prepare.call(this); - if (this.subject().isActor() && String(Moghunter.bhud_face_zoom) === "true"){this.subject()._bhud_face_data = [0,70,2,70];}; + if (this.subject().isActor() && String(Moghunter.bhud_face_zoom) === "true") { this.subject()._bhud_face_data = [0, 70, 2, 70]; }; }; //============================================================================= @@ -1722,9 +1722,9 @@ Game_Action.prototype.prepare = function() { //============================== // * Gain HP //============================== -var _alias_mog_bhud_gainHp =Game_Actor.prototype.gainHp; -Game_Actor.prototype.gainHp = function(value) { - _alias_mog_bhud_gainHp.call(this,value); +var _alias_mog_bhud_gainHp = Game_Actor.prototype.gainHp; +Game_Actor.prototype.gainHp = function (value) { + _alias_mog_bhud_gainHp.call(this, value); this._bhud_face_data[3] += 1; }; @@ -1732,7 +1732,7 @@ Game_Actor.prototype.gainHp = function(value) { // * Recover All //============================== var _alias_mog_bhud_recoverAll = Game_Actor.prototype.recoverAll; -Game_Actor.prototype.recoverAll = function() { +Game_Actor.prototype.recoverAll = function () { _alias_mog_bhud_recoverAll.call(this); this._bhud_face_data[3] += 1; }; @@ -1745,9 +1745,9 @@ Game_Actor.prototype.recoverAll = function() { // * Initialize //============================== var _alias_mog_bhud_initialize = Window_BattleStatus.prototype.initialize -Window_BattleStatus.prototype.initialize = function() { +Window_BattleStatus.prototype.initialize = function () { _alias_mog_bhud_initialize.call(this); - this.visible = false + this.visible = false }; //============================================================================= @@ -1757,15 +1757,15 @@ Window_BattleStatus.prototype.initialize = function() { //============================== // * windowWidth //============================== -Window_BattleSkill.prototype.windowWidth = function() { - return Moghunter.bhud_skill_width; +Window_BattleSkill.prototype.windowWidth = function () { + return Moghunter.bhud_skill_width; }; //============================== // * maxCols //============================== -Window_BattleSkill.prototype.maxCols = function() { - return Moghunter.bhud_skill_maxcols; +Window_BattleSkill.prototype.maxCols = function () { + return Moghunter.bhud_skill_maxcols; }; //============================================================================= @@ -1775,15 +1775,15 @@ Window_BattleSkill.prototype.maxCols = function() { //============================== // * windowWidth //============================== -Window_BattleItem.prototype.windowWidth = function() { - return Moghunter.bhud_item_width; +Window_BattleItem.prototype.windowWidth = function () { + return Moghunter.bhud_item_width; }; //============================== // * maxCols //============================== -Window_BattleItem.prototype.maxCols = function() { - return Moghunter.bhud_item_maxcols; +Window_BattleItem.prototype.maxCols = function () { + return Moghunter.bhud_item_maxcols; }; //============================================================================= @@ -1793,15 +1793,15 @@ Window_BattleItem.prototype.maxCols = function() { //============================== // * Initialize //============================== -Window_BattleActor.prototype.windowWidth = function() { - return Moghunter.bhud_actor_width; +Window_BattleActor.prototype.windowWidth = function () { + return Moghunter.bhud_actor_width; }; //============================== // * maxCols //============================== -Window_BattleActor.prototype.maxCols = function() { - return Moghunter.bhud_actor_maxcols; +Window_BattleActor.prototype.maxCols = function () { + return Moghunter.bhud_actor_maxcols; }; //============================================================================= @@ -1811,15 +1811,15 @@ Window_BattleActor.prototype.maxCols = function() { //============================== // * windowWidth //============================== -Window_BattleEnemy.prototype.windowWidth = function() { - return Moghunter.bhud_enemy_width; +Window_BattleEnemy.prototype.windowWidth = function () { + return Moghunter.bhud_enemy_width; }; //============================== // * maxCols //============================== -Window_BattleEnemy.prototype.maxCols = function() { - return Moghunter.bhud_enemy_maxcols; +Window_BattleEnemy.prototype.maxCols = function () { + return Moghunter.bhud_enemy_maxcols; }; //============================================================================= @@ -1830,14 +1830,14 @@ Window_BattleEnemy.prototype.maxCols = function() { // * initialize //============================== var _alias_mog_bhud_wActCom_initialize = Window_ActorCommand.prototype.initialize; -Window_ActorCommand.prototype.initialize = function() { - _alias_mog_bhud_wActCom_initialize.call(this); +Window_ActorCommand.prototype.initialize = function () { + _alias_mog_bhud_wActCom_initialize.call(this); this._com_mode = Number($gameSystem._bhud_pos_mode); this._force_hide_duration = 0; - this.org = [Moghunter.bhud_com_x,Moghunter.bhud_com_y]; + this.org = [Moghunter.bhud_com_x, Moghunter.bhud_com_y]; this.org2 = [ - this.org[0] + Moghunter.bhud_com_slideX, - this.org[1] + Moghunter.bhud_com_slideY + this.org[0] + Moghunter.bhud_com_slideX, + this.org[1] + Moghunter.bhud_com_slideY ]; this.slide = Moghunter.bhud_com_slideX === 0 && Moghunter.bhud_com_slideY === 0 ? false : true; this._actorVis != this._actor; @@ -1849,70 +1849,75 @@ Window_ActorCommand.prototype.initialize = function() { // * Activate //============================== var _alias_mog_bhud_wActCom_activate = Window_ActorCommand.prototype.activate; -Window_ActorCommand.prototype.activate = function() { - _alias_mog_bhud_wActCom_activate.call(this); - if (String(Moghunter.bhud_com_layout) === "true") {this._force_hide_duration = 1}; +Window_ActorCommand.prototype.activate = function () { + _alias_mog_bhud_wActCom_activate.call(this); + if (String(Moghunter.bhud_com_layout) === "true") { this._force_hide_duration = 1 }; }; //============================== // * Sprite Move To //============================== -Window_ActorCommand.prototype.sprite_move_to = function(value,real_value) { - if (value === real_value) {return value}; +Window_ActorCommand.prototype.sprite_move_to = function (value, real_value) { + if (value === real_value) { return value }; var dnspeed = 1 + (Math.abs(value - real_value) / 12); - if (value > real_value) {value -= dnspeed; - if (value < real_value) {value = real_value};} - else if (value < real_value) {value += dnspeed; - if (value > real_value) {value = real_value}; - }; + if (value > real_value) { + value -= dnspeed; + if (value < real_value) { value = real_value }; + } + else if (value < real_value) { + value += dnspeed; + if (value > real_value) { value = real_value }; + }; return Math.floor(value); }; //============================== // ** slideWindow //============================== -Window_ActorCommand.prototype.slideWindow = function(win,vmode) { - var vm = vmode ? win.active : win.visible; - if (vm) { - var np = [win.org[0],win.org[1]]; - win.contentsOpacity += 15; - } else { - var np = [win.org2[0],win.org2[1]]; - win.contentsOpacity = 0; - }; - win.x = this.sprite_move_to(win.x,np[0]); - win.y = this.sprite_move_to(win.y,np[1]); +Window_ActorCommand.prototype.slideWindow = function (win, vmode) { + var vm = vmode ? win.active : win.visible; + if (vm) { + var np = [win.org[0], win.org[1]]; + win.contentsOpacity += 15; + } else { + var np = [win.org2[0], win.org2[1]]; + win.contentsOpacity = 0; + }; + win.x = this.sprite_move_to(win.x, np[0]); + win.y = this.sprite_move_to(win.y, np[1]); }; //============================== // ** update Position //============================== -Window_ActorCommand.prototype.updatePosition = function() { +Window_ActorCommand.prototype.updatePosition = function () { if (Imported.MOG_BattleCommands) { - this.updateBattleCommands(); - } else { - if (!this.slide) { - this.updatePosN(); - } else { - this.updatePosS(); - }; - }; + this.updateBattleCommands(); + } else { + if (!this.slide) { + this.updatePosN(); + } else { + this.updatePosS(); + }; + }; }; //============================== // ** update Battle Commands //============================== -Window_ActorCommand.prototype.updateBattleCommands = function() { +Window_ActorCommand.prototype.updateBattleCommands = function () { if ($gameTemp._bhud_position_active) { this.visible = this.active; if ($gameSystem._bhud_auto_com) { - this.x = $gameTemp._bhud_position_active[0] + Moghunter.bhud_com_x; + this.x = $gameTemp._bhud_position_active[0] + Moghunter.bhud_com_x; if (this._com_mode === 0) { - this.y = $gameTemp._bhud_position_active[1] + Moghunter.bhud_com_y - this.height;} - else {this.y = $gameTemp._bhud_position_active[1] + Moghunter.bhud_com_y}; } - else { - this.x = Moghunter.bhud_com_x; - this.y = Moghunter.bhud_com_y; + this.y = $gameTemp._bhud_position_active[1] + Moghunter.bhud_com_y - this.height; + } + else { this.y = $gameTemp._bhud_position_active[1] + Moghunter.bhud_com_y }; + } + else { + this.x = Moghunter.bhud_com_x; + this.y = Moghunter.bhud_com_y; }; }; }; @@ -1920,7 +1925,7 @@ Window_ActorCommand.prototype.updateBattleCommands = function() { //============================== // ** update Position S //============================== -Window_ActorCommand.prototype.updatePosS = function() { +Window_ActorCommand.prototype.updatePosS = function () { if ($gameTemp._bhud_position_active) { this.visible = this.active; if ($gameSystem._bhud_auto_com) { @@ -1939,13 +1944,13 @@ Window_ActorCommand.prototype.updatePosS = function() { ]; if (this._actorVis != this._actor) { this.x = this.org2[0]; - this.y = this.org2[1]; - this._actorVis = this._actor; - }; + this.y = this.org2[1]; + this._actorVis = this._actor; + }; }; - this.slideWindow(this,false); - } else { - this.slideWindow(this,false); + this.slideWindow(this, false); + } else { + this.slideWindow(this, false); }; }; }; @@ -1953,17 +1958,19 @@ Window_ActorCommand.prototype.updatePosS = function() { //============================== // ** update Position N //============================== -Window_ActorCommand.prototype.updatePosN = function() { +Window_ActorCommand.prototype.updatePosN = function () { if ($gameTemp._bhud_position_active) { this.visible = this.active; if ($gameSystem._bhud_auto_com) { - this.x = $gameTemp._bhud_position_active[0] + Moghunter.bhud_com_x; + this.x = $gameTemp._bhud_position_active[0] + Moghunter.bhud_com_x; if (this._com_mode === 0) { - this.y = $gameTemp._bhud_position_active[1] + Moghunter.bhud_com_y - this.height;} - else {this.y = $gameTemp._bhud_position_active[1] + Moghunter.bhud_com_y}; } - else { - this.x = Moghunter.bhud_com_x; - this.y = Moghunter.bhud_com_y; + this.y = $gameTemp._bhud_position_active[1] + Moghunter.bhud_com_y - this.height; + } + else { this.y = $gameTemp._bhud_position_active[1] + Moghunter.bhud_com_y }; + } + else { + this.x = Moghunter.bhud_com_x; + this.y = Moghunter.bhud_com_y; }; }; }; @@ -1972,10 +1979,10 @@ Window_ActorCommand.prototype.updatePosN = function() { // * Update //============================== var _alias_mog_bhud_wcom_update = Window_ActorCommand.prototype.update; -Window_ActorCommand.prototype.update = function() { - _alias_mog_bhud_wcom_update.call(this); - this.updatePosition(); - if (this._force_hide_duration > 0) {this._force_hide_duration -= 1;this.visible = false}; +Window_ActorCommand.prototype.update = function () { + _alias_mog_bhud_wcom_update.call(this); + this.updatePosition(); + if (this._force_hide_duration > 0) { this._force_hide_duration -= 1; this.visible = false }; }; @@ -1987,53 +1994,53 @@ Window_ActorCommand.prototype.update = function() { // * Initialize //============================== var _alias_bhud_sprt_actor_initialize = Sprite_Actor.prototype.initialize -Sprite_Actor.prototype.initialize = function(battler) { - _alias_bhud_sprt_actor_initialize.call(this,battler); +Sprite_Actor.prototype.initialize = function (battler) { + _alias_bhud_sprt_actor_initialize.call(this, battler); this._sprite_face = false; - if (String(Moghunter.bhud_face_visible) == "true") {this._sprite_face = true}; + if (String(Moghunter.bhud_face_visible) == "true") { this._sprite_face = true }; }; //============================== // * Damage Offset X //============================== -Sprite_Actor.prototype.damageOffsetX = function() { - if (!$gameSystem.isSideView() && this._sprite_face) {return 0}; - return -32; +Sprite_Actor.prototype.damageOffsetX = function () { + if (!$gameSystem.isSideView() && this._sprite_face) { return 0 }; + return -32; }; //============================== // * update Position //============================== var _alias_mog_bhud_sprt_actor_updatePosition = Sprite_Battler.prototype.updatePosition; -Sprite_Battler.prototype.updatePosition = function() { +Sprite_Battler.prototype.updatePosition = function () { if (!$gameSystem.isSideView() && this._sprite_face) { if (this._battler && $gameTemp._bhud_position[this._battler.index()]) { - this.x = $gameTemp._bhud_position[this._battler.index()][0] + Moghunter.bhud_face_pos_x; - this.y = $gameTemp._bhud_position[this._battler.index()][1] + Moghunter.bhud_face_pos_y; - return; + this.x = $gameTemp._bhud_position[this._battler.index()][0] + Moghunter.bhud_face_pos_x; + this.y = $gameTemp._bhud_position[this._battler.index()][1] + Moghunter.bhud_face_pos_y; + return; }; - }; - _alias_mog_bhud_sprt_actor_updatePosition.call(this); + }; + _alias_mog_bhud_sprt_actor_updatePosition.call(this); }; //============================== // * Setup Animation //============================== var _alias_mog_bhud_sprt_actor_setupAnimation = Sprite_Battler.prototype.setupAnimation; -Sprite_Actor.prototype.setupAnimation = function() { +Sprite_Actor.prototype.setupAnimation = function () { if (!$gameSystem.isSideView() && this._sprite_face) { - while (this._battler.isAnimationRequested()) { - var data = this._battler.shiftAnimation(); - var animation = $dataAnimations[data.animationId]; - var mirror = data.mirror; - var delay = animation.position === 3 ? 0 : data.delay; - this.startAnimation(animation, mirror, delay); - for (var i = 0; i < this._animationSprites.length; i++) { - var sprite = this._animationSprites[i]; - sprite.visible = true; - } - } - return; + while (this._battler.isAnimationRequested()) { + var data = this._battler.shiftAnimation(); + var animation = $dataAnimations[data.animationId]; + var mirror = data.mirror; + var delay = animation.position === 3 ? 0 : data.delay; + this.startAnimation(animation, mirror, delay); + for (var i = 0; i < this._animationSprites.length; i++) { + var sprite = this._animationSprites[i]; + sprite.visible = true; + } + } + return; }; _alias_mog_bhud_sprt_actor_setupAnimation.call(this); }; @@ -2042,19 +2049,19 @@ Sprite_Actor.prototype.setupAnimation = function() { // * Setup Damage Popup //============================== var _alias_mog_bhud_sprt_actor_setupDamagePopup = Sprite_Battler.prototype.setupDamagePopup -Sprite_Actor.prototype.setupDamagePopup = function() { +Sprite_Actor.prototype.setupDamagePopup = function () { if (!$gameSystem.isSideView() && this._sprite_face) { - if (this._battler.isDamagePopupRequested()) { - var sprite = new Sprite_Damage(); - sprite.x = this.x + this.damageOffsetX(); - sprite.y = this.y + this.damageOffsetY(); - sprite.setup(this._battler); - this._damages.push(sprite); - this.parent.addChild(sprite); - this._battler.clearDamagePopup(); - this._battler.clearResult(); - }; - return; + if (this._battler.isDamagePopupRequested()) { + var sprite = new Sprite_Damage(); + sprite.x = this.x + this.damageOffsetX(); + sprite.y = this.y + this.damageOffsetY(); + sprite.setup(this._battler); + this._damages.push(sprite); + this.parent.addChild(sprite); + this._battler.clearDamagePopup(); + this._battler.clearResult(); + }; + return; }; _alias_mog_bhud_sprt_actor_setupDamagePopup.call(this); }; @@ -2063,10 +2070,10 @@ Sprite_Actor.prototype.setupDamagePopup = function() { // ** update Main //============================== var _mog_bhud_sprActor_updateMain = Sprite_Actor.prototype.updateMain; -Sprite_Actor.prototype.updateMain = function() { - _mog_bhud_sprActor_updateMain.call(this); +Sprite_Actor.prototype.updateMain = function () { + _mog_bhud_sprActor_updateMain.call(this); if (this.isAnimationPlaying()) { - $gameTemp._bhudFaceAnime = 3; + $gameTemp._bhudFaceAnime = 3; }; }; @@ -2078,19 +2085,19 @@ Sprite_Actor.prototype.updateMain = function() { // ** update Actors //============================== var _mog_bhud_sprbat_updateActors = Spriteset_Battle.prototype.updateActors; -Spriteset_Battle.prototype.updateActors = function() { - if (!$gameSystem.isSideView()) {return}; +Spriteset_Battle.prototype.updateActors = function () { + if (!$gameSystem.isSideView()) { return }; _mog_bhud_sprbat_updateActors.call(this); }; //============================== // * Is Busy //============================== -Spriteset_Battle.prototype.isBusy = function() { +Spriteset_Battle.prototype.isBusy = function () { if ($gameSystem._bhudFaceBattler) { return this.isAnimationPlaying() || this.isAnyoneMoving() || $gameTemp._bhudFaceAnime > 0; }; - if (Imported.YEP_BattleEngineCore) {return false}; + if (Imported.YEP_BattleEngineCore) { return false }; return this.isAnimationPlaying() || this.isAnyoneMoving(); }; @@ -2101,7 +2108,7 @@ Spriteset_Battle.prototype.isBusy = function() { //============================== // ** create Hud Field //============================== -Scene_Base.prototype.createHudField = function() { +Scene_Base.prototype.createHudField = function () { this._hudField = new Sprite(); this._hudField.z = 10; this.addChild(this._hudField); @@ -2110,15 +2117,15 @@ Scene_Base.prototype.createHudField = function() { //============================== // ** sort MZ //============================== -Scene_Base.prototype.sortMz = function() { - this._hudField.children.sort(function(a, b){return a.mz-b.mz}); +Scene_Base.prototype.sortMz = function () { + this._hudField.children.sort(function (a, b) { return a.mz - b.mz }); }; //============================== // ** create Battle Hud //============================== -Scene_Base.prototype.createBattleHud = function() { - if (String(Moghunter.bhud_screen_layout) === "true") {this.createBattleHudScreenLayout();}; +Scene_Base.prototype.createBattleHud = function () { + if (String(Moghunter.bhud_screen_layout) === "true") { this.createBattleHudScreenLayout(); }; $gameTemp.refresh_Bhud = false; $gameTemp._battleEnd = false; this._com_mode = Number($gameSystem._bhud_pos_mode) @@ -2127,19 +2134,19 @@ Scene_Base.prototype.createBattleHud = function() { this._battle_hud[i] = new Battle_Hud(i); this._battle_hud[i].mz = 110; this._hudField.addChild(this._battle_hud[i]); - }; + }; }; //============================== // ** remove Battle Hud //============================== -Scene_Base.prototype.removeBattleHud = function() { - if (!this._battle_hud) {return}; +Scene_Base.prototype.removeBattleHud = function () { + if (!this._battle_hud) { return }; if (this._screen_layout) { - this._hudField.removeChild(this._screen_layout); + this._hudField.removeChild(this._screen_layout); }; for (var i = 0; i < this._battle_hud.length; i++) { - this._hudField.removeChild(this._battle_hud[i]); + this._hudField.removeChild(this._battle_hud[i]); }; this._battle_hud = null; }; @@ -2147,7 +2154,7 @@ Scene_Base.prototype.removeBattleHud = function() { //============================== // * Create Battle Hud Screen //============================== -Scene_Base.prototype.createBattleHudScreenLayout = function() { +Scene_Base.prototype.createBattleHudScreenLayout = function () { this._screen_layout = new Sprite(ImageManager.loadBHud("Layout_Screen")); this._screen_layout.opacity = 0; this._screen_layout.x = Moghunter.bhud_screen_layout_x; @@ -2159,84 +2166,84 @@ Scene_Base.prototype.createBattleHudScreenLayout = function() { //============================== // * Update Battle Hud visible //============================== -Scene_Base.prototype.updateBattleHudVisible = function() { - if (this.isBattleHudVisible()) {this._screen_layout.opacity += 10} - else {this._screen_layout.opacity -= 10}; +Scene_Base.prototype.updateBattleHudVisible = function () { + if (this.isBattleHudVisible()) { this._screen_layout.opacity += 10 } + else { this._screen_layout.opacity -= 10 }; }; //============================== // * Is Battle Hud Visible //============================== -Scene_Base.prototype.isBattleHudVisible = function() { - if ($gameMessage.isBusy()) {return false}; - if ($gameTemp._battleEnd) {return false}; - if (!$gameSystem._bhud_visible) {return false}; +Scene_Base.prototype.isBattleHudVisible = function () { + if ($gameMessage.isBusy()) { return false }; + if ($gameTemp._battleEnd) { return false }; + if (!$gameSystem._bhud_visible) { return false }; return true }; //============================== // ** Refresh Battle Hud //============================== -Scene_Base.prototype.refreshBattleHud = function() { - if (!this._battle_hud) {return}; +Scene_Base.prototype.refreshBattleHud = function () { + if (!this._battle_hud) { return }; $gameTemp._refresh_Bhud = false; for (var i = 0; i < $gameParty.maxBattleMembers(); i++) { this._battle_hud[i].refresh_bhud(); - }; + }; }; //============================== // ** force Create Battle Hud //============================== -Scene_Base.prototype.forceCreateBattleHud = function() { - $gameTemp._forceCreateBattleHud = false; - this.forceRemoveBattleHud(); - this.createBattleHud(); - this.sortMz(); +Scene_Base.prototype.forceCreateBattleHud = function () { + $gameTemp._forceCreateBattleHud = false; + this.forceRemoveBattleHud(); + this.createBattleHud(); + this.sortMz(); }; //============================== // ** force Remove Battle Hud //============================== -Scene_Base.prototype.forceRemoveBattleHud = function() { - $gameTemp._forceRemoveBattleHud = false; - this.removeBattleHud(); +Scene_Base.prototype.forceRemoveBattleHud = function () { + $gameTemp._forceRemoveBattleHud = false; + this.removeBattleHud(); }; //============================== // ** Update Battle Hud //============================== -Scene_Base.prototype.updateBatteHud = function() { - if (this._screen_layout) {this.updateBattleHudVisible()}; - if ($gameTemp._refresh_Bhud) {this.refreshBattleHud()}; +Scene_Base.prototype.updateBatteHud = function () { + if (this._screen_layout) { this.updateBattleHudVisible() }; + if ($gameTemp._refresh_Bhud) { this.refreshBattleHud() }; }; //============================== // ** createActorsF //============================== -Scene_Base.prototype.createActorsF = function() { +Scene_Base.prototype.createActorsF = function () { if (this._actorSprites) { for (var i = 0; i < this._actorSprites.length; i++) { - this._hudField.removeChild(this._actorSprites[i]); + this._hudField.removeChild(this._actorSprites[i]); }; }; - this._actorSprites = []; - for (var i = 0; i < $gameParty.maxBattleMembers(); i++) { - this._actorSprites[i] = new Sprite_Actor(); + this._actorSprites = []; + for (var i = 0; i < $gameParty.maxBattleMembers(); i++) { + this._actorSprites[i] = new Sprite_Actor(); this._actorSprites[i].mz = 110; - this._hudField.addChild(this._actorSprites[i]); - }; + this._hudField.addChild(this._actorSprites[i]); + }; }; //============================== // ** Update //============================== var _mog_bhud_Smap_update = Scene_Map.prototype.update; -Scene_Map.prototype.update = function() { +Scene_Map.prototype.update = function () { _mog_bhud_Smap_update.call(this); - if ($gameTemp._forceCreateBattleHud) {this.forceCreateBattleHud()}; - if ($gameTemp._forceRemoveBattleHud) {this.forceRemoveBattleHud()}; - if (this._battle_hud) {this.updateBatteHud()}; + if ($gameTemp._forceCreateBattleHud) { this.forceCreateBattleHud() }; + if ($gameTemp._forceRemoveBattleHud) { this.forceRemoveBattleHud() }; + if (this._battle_hud) { this.updateBatteHud() }; }; //============================================================================= @@ -2247,45 +2254,45 @@ Scene_Map.prototype.update = function() { // ** create Spriteset //============================== var _mog_bhud_sbattle_createSpriteset = Scene_Battle.prototype.createSpriteset; -Scene_Battle.prototype.createSpriteset = function() { - _mog_bhud_sbattle_createSpriteset.call(this); - if (!this._hudField) {this.createHudField()}; +Scene_Battle.prototype.createSpriteset = function () { + _mog_bhud_sbattle_createSpriteset.call(this); + if (!this._hudField) { this.createHudField() }; this.createBattleHudSB(); }; //============================== // ** create Battle Hud SB //============================== -Scene_Battle.prototype.createBattleHudSB = function() { +Scene_Battle.prototype.createBattleHudSB = function () { this.createBattleHud(); - if (!$gameSystem.isSideView()) {this.createActorsF()}; + if (!$gameSystem.isSideView()) { this.createActorsF() }; }; //============================== // ** update Actors //============================== -Scene_Battle.prototype.updateActors = function() { - var members = $gameParty.battleMembers(); - for (var i = 0; i < this._actorSprites.length; i++) { - this._actorSprites[i].setBattler(members[i]); - } +Scene_Battle.prototype.updateActors = function () { + var members = $gameParty.battleMembers(); + for (var i = 0; i < this._actorSprites.length; i++) { + this._actorSprites[i].setBattler(members[i]); + } }; //============================== // ** create Spriteset //============================== var _mog_bhud_sMap_createSpriteset = Scene_Map.prototype.createSpriteset; -Scene_Map.prototype.createSpriteset = function() { +Scene_Map.prototype.createSpriteset = function () { _mog_bhud_sMap_createSpriteset.call(this); - if (!this._hudField) {this.createHudField()}; + if (!this._hudField) { this.createHudField() }; }; //============================== // ** createWindowLayer //============================== var _alias_mog_bhud_createWindowLayer = Scene_Battle.prototype.createWindowLayer -Scene_Battle.prototype.createWindowLayer = function() { - this.create_layout_window(); +Scene_Battle.prototype.createWindowLayer = function () { + this.create_layout_window(); _alias_mog_bhud_createWindowLayer.call(this); }; @@ -2293,99 +2300,99 @@ Scene_Battle.prototype.createWindowLayer = function() { // ** createAllWindows //============================== var _alias_mog_bhud_createAllWindows = Scene_Battle.prototype.createAllWindows; -Scene_Battle.prototype.createAllWindows = function() { +Scene_Battle.prototype.createAllWindows = function () { _alias_mog_bhud_createAllWindows.call(this); // ACTOR COMMAND --------------------------------------------------------------------- - this._actorCommandWindow.x = Moghunter.bhud_com_x; + this._actorCommandWindow.x = Moghunter.bhud_com_x; this._actorCommandWindow.y = Moghunter.bhud_com_y; this._actorCommandWindow.vis = this._actorCommandWindow.visible; this._actorCommandWindow.width = Moghunter.bhud_com_width; - this._actorCommandWindow.height = Moghunter.bhud_com_height; - if (String(Moghunter.bhud_com_layout) === "true") {this._actorCommandWindow.opacity = 0}; + this._actorCommandWindow.height = Moghunter.bhud_com_height; + if (String(Moghunter.bhud_com_layout) === "true") { this._actorCommandWindow.opacity = 0 }; // PARTY COMMAND --------------------------------------------------------------------- this._partyCommandWindow.x = Moghunter.bhud_party_x; this._partyCommandWindow.y = Moghunter.bhud_party_y; - this._partyCommandWindow.org = [Moghunter.bhud_party_x,Moghunter.bhud_party_y]; + this._partyCommandWindow.org = [Moghunter.bhud_party_x, Moghunter.bhud_party_y]; this._partyCommandWindow.org2 = [ - this._partyCommandWindow.org[0] + Moghunter.bhud_party_slide_x, - this._partyCommandWindow.org[1] + Moghunter.bhud_party_slide_y - ]; + this._partyCommandWindow.org[0] + Moghunter.bhud_party_slide_x, + this._partyCommandWindow.org[1] + Moghunter.bhud_party_slide_y + ]; this._partyCommandWindow.slide = Moghunter.bhud_party_slide_x === 0 && Moghunter.bhud_party_slide_y === 0 ? false : true; this._partyCommandWindow.vis = this._partyCommandWindow.visible; this._partyCommandWindow.width = Moghunter.bhud_party_width; - this._partyCommandWindow.height = Moghunter.bhud_party_height; - if (String(Moghunter.bhud_party_layout) === "true") {this._partyCommandWindow.opacity = 0}; + this._partyCommandWindow.height = Moghunter.bhud_party_height; + if (String(Moghunter.bhud_party_layout) === "true") { this._partyCommandWindow.opacity = 0 }; // HELP WINDOW --------------------------------------------------------------------- this._helpWindow.x = Moghunter.bhud_help_x; this._helpWindow.y = Moghunter.bhud_help_y; - this._helpWindow.org = [this._helpWindow.x,this._helpWindow.y]; + this._helpWindow.org = [this._helpWindow.x, this._helpWindow.y]; this._helpWindow.org2 = [ - this._helpWindow.org[0] + Moghunter.bhud_help_slide_x, - this._helpWindow.org[1] + Moghunter.bhud_help_slide_y + this._helpWindow.org[0] + Moghunter.bhud_help_slide_x, + this._helpWindow.org[1] + Moghunter.bhud_help_slide_y ]; this._helpWindow.slide = Moghunter.bhud_help_slide_x === 0 && Moghunter.bhud_help_slide_y === 0 ? false : true; this._helpWindow.vis = this._helpWindow.visible; this._helpWindow.width = Moghunter.bhud_help_width; - this._helpWindow.height = Moghunter.bhud_help_height; - if (String(Moghunter.bhud_help_layout) === "true") {this._helpWindow.opacity = 0}; + this._helpWindow.height = Moghunter.bhud_help_height; + if (String(Moghunter.bhud_help_layout) === "true") { this._helpWindow.opacity = 0 }; // SKILL WINDOW --------------------------------------------------------------------- this._skillWindow.x = Moghunter.bhud_skill_x; this._skillWindow.y = Moghunter.bhud_skill_y; - this._skillWindow.org = [Moghunter.bhud_skill_x,Moghunter.bhud_skill_y]; + this._skillWindow.org = [Moghunter.bhud_skill_x, Moghunter.bhud_skill_y]; this._skillWindow.org2 = [ - this._skillWindow.org[0] + Moghunter.bhud_skill_slide_x, - this._skillWindow.org[1] + Moghunter.bhud_skill_slide_y + this._skillWindow.org[0] + Moghunter.bhud_skill_slide_x, + this._skillWindow.org[1] + Moghunter.bhud_skill_slide_y ]; this._skillWindow.slide = Moghunter.bhud_skill_slide_x === 0 && Moghunter.bhud_skill_slide_y === 0 ? false : true; this._skillWindow.vis = this._skillWindow.visible; this._skillWindow.width = Moghunter.bhud_skill_width; this._skillWindow.height = Moghunter.bhud_skill_height; - if (String(Moghunter.bhud_skill_layout) === "true") {this._skillWindow.opacity = 0}; + if (String(Moghunter.bhud_skill_layout) === "true") { this._skillWindow.opacity = 0 }; // ITEM COMMAND --------------------------------------------------------------------- this._itemWindow.x = Moghunter.bhud_item_x; this._itemWindow.y = Moghunter.bhud_item_y; - this._itemWindow.org = [this._itemWindow.x,this._itemWindow.y]; + this._itemWindow.org = [this._itemWindow.x, this._itemWindow.y]; this._itemWindow.org2 = [ - this._itemWindow.org[0] + Moghunter.bhud_item_slide_x, - this._itemWindow.org[1] + Moghunter.bhud_item_slide_y + this._itemWindow.org[0] + Moghunter.bhud_item_slide_x, + this._itemWindow.org[1] + Moghunter.bhud_item_slide_y ]; this._itemWindow.slide = Moghunter.bhud_item_slide_x === 0 && Moghunter.bhud_item_slide_y === 0 ? false : true; this._itemWindow.vis = this._itemWindow.visible; this._itemWindow.width = Moghunter.bhud_item_width; - this._itemWindow.height = Moghunter.bhud_item_height; - if (String(Moghunter.bhud_item_layout) === "true") {this._itemWindow.opacity = 0}; + this._itemWindow.height = Moghunter.bhud_item_height; + if (String(Moghunter.bhud_item_layout) === "true") { this._itemWindow.opacity = 0 }; // ACTOR WINDOW --------------------------------------------------------------------- this._actorWindow.x = Moghunter.bhud_actor_x; this._actorWindow.y = Moghunter.bhud_actor_y; - this._actorWindow.org = [this._actorWindow.x,this._actorWindow.y]; + this._actorWindow.org = [this._actorWindow.x, this._actorWindow.y]; this._actorWindow.org2 = [ - this._actorWindow.org[0] + Moghunter.bhud_actor_slide_x, - this._actorWindow.org[1] + Moghunter.bhud_actor_slide_y + this._actorWindow.org[0] + Moghunter.bhud_actor_slide_x, + this._actorWindow.org[1] + Moghunter.bhud_actor_slide_y ]; this._actorWindow.slide = Moghunter.bhud_actor_slide_x === 0 && Moghunter.bhud_actor_slide_y === 0 ? false : true; this._actorWindow.vis = this._actorWindow.visible; this._actorWindow.width = Moghunter.bhud_actor_width; - this._actorWindow.height = Moghunter.bhud_actor_height; - if (String(Moghunter.bhud_actor_layout) === "true") {this._actorWindow.opacity = 0}; + this._actorWindow.height = Moghunter.bhud_actor_height; + if (String(Moghunter.bhud_actor_layout) === "true") { this._actorWindow.opacity = 0 }; // ENEMY WINDOW --------------------------------------------------------------------- this._enemyWindow.x = Moghunter.bhud_enemy_x; this._enemyWindow.y = Moghunter.bhud_enemy_y; - this._enemyWindow.org = [Moghunter.bhud_enemy_x,Moghunter.bhud_enemy_y]; + this._enemyWindow.org = [Moghunter.bhud_enemy_x, Moghunter.bhud_enemy_y]; this._enemyWindow.org2 = [ - this._enemyWindow.org[0] + Moghunter.bhud_enemy_slide_x, - this._enemyWindow.org[1] + Moghunter.bhud_enemy_slide_y + this._enemyWindow.org[0] + Moghunter.bhud_enemy_slide_x, + this._enemyWindow.org[1] + Moghunter.bhud_enemy_slide_y ]; this._enemyWindow.slide = Moghunter.bhud_enemy_slide_x === 0 && Moghunter.bhud_enemy_slide_y === 0 ? false : true; this._enemyWindow.vis = this._enemyWindow.visible; this._enemyWindow.width = Moghunter.bhud_enemy_width; this._enemyWindow.height = Moghunter.bhud_enemy_height; - if (String(Moghunter.bhud_enemy_layout) === "true") {this._enemyWindow.opacity = 0}; + if (String(Moghunter.bhud_enemy_layout) === "true") { this._enemyWindow.opacity = 0 }; }; //============================== // ** create Layout Window //============================== -Scene_Battle.prototype.create_layout_window = function() { +Scene_Battle.prototype.create_layout_window = function () { this._layoutField = new Sprite(); this.addChild(this._layoutField); if (String(Moghunter.bhud_com_layout) === "true") { @@ -2408,7 +2415,7 @@ Scene_Battle.prototype.create_layout_window = function() { this._help_layout.y = Moghunter.bhud_help_lay_y; this._help_layout.visible = false; this._layoutField.addChild(this._help_layout); - }; + }; if (String(Moghunter.bhud_skill_layout) === "true") { this._skill_layout = new Sprite(ImageManager.loadBHud("Layout_Skill")) @@ -2423,7 +2430,7 @@ Scene_Battle.prototype.create_layout_window = function() { this._item_layout.y = Moghunter.bhud_item_lay_y; this._item_layout.visible = false; this._layoutField.addChild(this._item_layout); - }; + }; if (String(Moghunter.bhud_actor_layout) === "true") { this._actor_layout = new Sprite(ImageManager.loadBHud("Layout_Actor")) this._actor_layout.x = Moghunter.bhud_actor_lay_x; @@ -2437,125 +2444,128 @@ Scene_Battle.prototype.create_layout_window = function() { this._enemy_layout.y = Moghunter.bhud_enemy_lay_y; this._enemy_layout.visible = false; this._layoutField.addChild(this._enemy_layout); - }; + }; }; //============================== // ** update //============================== var _alias_mog_bhud_scnbattle_update = Scene_Battle.prototype.update -Scene_Battle.prototype.update = function() { - if ($gameTemp._bhudFaceAnime > 0) {$gameTemp._bhudFaceAnime--}; - _alias_mog_bhud_scnbattle_update.call(this); +Scene_Battle.prototype.update = function () { + if ($gameTemp._bhudFaceAnime > 0) { $gameTemp._bhudFaceAnime-- }; + _alias_mog_bhud_scnbattle_update.call(this); this.updateBattleHud(); }; //============================== // ** update Battle Hud //============================== -Scene_Battle.prototype.updateBattleHud = function() { - if ($gameTemp._forceCreateBattleHud) {this.forceCreateBattleHud()}; - if ($gameTemp._forceRemoveBattleHud) {this.forceRemoveBattleHud()}; - if (this._screen_layout) {this.updateBattleHudVisible()}; +Scene_Battle.prototype.updateBattleHud = function () { + if ($gameTemp._forceCreateBattleHud) { this.forceCreateBattleHud() }; + if ($gameTemp._forceRemoveBattleHud) { this.forceRemoveBattleHud() }; + if (this._screen_layout) { this.updateBattleHudVisible() }; this.updateWindowSlideEffect() this.updateLayoutWindow(); - if (this._actorSprites) {this.updateActors()}; + if (this._actorSprites) { this.updateActors() }; }; //============================== // ** slideWindow //============================== -Scene_Battle.prototype.slideWindow = function(win,vmode) { - var vm = vmode ? win.active : win.visible; - if (vm) { - var np = [win.org[0],win.org[1]]; - win.contentsOpacity += 15; - } else { - var np = [win.org2[0],win.org2[1]]; - win.contentsOpacity = 0; - }; - win.x = this.sprite_move_to(win.x,np[0]); - win.y = this.sprite_move_to(win.y,np[1]); +Scene_Battle.prototype.slideWindow = function (win, vmode) { + var vm = vmode ? win.active : win.visible; + if (vm) { + var np = [win.org[0], win.org[1]]; + win.contentsOpacity += 15; + } else { + var np = [win.org2[0], win.org2[1]]; + win.contentsOpacity = 0; + }; + win.x = this.sprite_move_to(win.x, np[0]); + win.y = this.sprite_move_to(win.y, np[1]); }; //============================== // ** updateWindowSlideEffect //============================== -Scene_Battle.prototype.updateWindowSlideEffect = function() { - if (this._partyCommandWindow.slide) {this.slideWindow(this._partyCommandWindow,true)}; - if (this._helpWindow.slide) {this.slideWindow(this._helpWindow,false)}; - if (this._skillWindow.slide){this.slideWindow(this._skillWindow,false)}; - if (this._itemWindow.slide) {this.slideWindow(this._itemWindow,false)}; - if (this._actorWindow.slide){this.slideWindow(this._actorWindow,false)}; - if (this._enemyWindow.slide) {this.slideWindow(this._enemyWindow,false)}; -}; - +Scene_Battle.prototype.updateWindowSlideEffect = function () { + if (this._partyCommandWindow.slide) { this.slideWindow(this._partyCommandWindow, true) }; + if (this._helpWindow.slide) { this.slideWindow(this._helpWindow, false) }; + if (this._skillWindow.slide) { this.slideWindow(this._skillWindow, false) }; + if (this._itemWindow.slide) { this.slideWindow(this._itemWindow, false) }; + if (this._actorWindow.slide) { this.slideWindow(this._actorWindow, false) }; + if (this._enemyWindow.slide) { this.slideWindow(this._enemyWindow, false) }; +}; + //============================== // ** updateLayoutWindows //============================== -Scene_Battle.prototype.updateLayoutWindow = function() { +Scene_Battle.prototype.updateLayoutWindow = function () { if (this._com_layout) { - this._com_layout.x = Moghunter.bhud_com_lay_x + this._actorCommandWindow.x; - this._com_layout.y = Moghunter.bhud_com_lay_y + this._actorCommandWindow.y; - this._com_layout.visible = this._actorCommandWindow.isOpenAndActive(); + this._com_layout.x = Moghunter.bhud_com_lay_x + this._actorCommandWindow.x; + this._com_layout.y = Moghunter.bhud_com_lay_y + this._actorCommandWindow.y; + this._com_layout.visible = this._actorCommandWindow.isOpenAndActive(); this._com_layout.opacity = this._actorCommandWindow.contentsOpacity; - if (!this._actorCommandWindow.visible) {this._com_layout.visible = false}; - }; + if (!this._actorCommandWindow.visible) { this._com_layout.visible = false }; + }; if (this._party_layout) { - this._party_layout.x = Moghunter.bhud_party_lay_x + this._partyCommandWindow.x; - this._party_layout.y = Moghunter.bhud_party_lay_y + this._partyCommandWindow.y; - this._party_layout.visible = this._partyCommandWindow.isOpenAndActive(); + this._party_layout.x = Moghunter.bhud_party_lay_x + this._partyCommandWindow.x; + this._party_layout.y = Moghunter.bhud_party_lay_y + this._partyCommandWindow.y; + this._party_layout.visible = this._partyCommandWindow.isOpenAndActive(); this._party_layout.opacity = this._partyCommandWindow.contentsOpacity; - if (!this._partyCommandWindow.visible) {this._party_layout.visible = false}; - }; + if (!this._partyCommandWindow.visible) { this._party_layout.visible = false }; + }; if (this._help_layout) { - this._help_layout.x = Moghunter.bhud_help_lay_x + this._helpWindow.x; - this._help_layout.y = Moghunter.bhud_help_lay_y + this._helpWindow.y; - this._help_layout.visible = this._helpWindow.visible; - this._help_layout.opacity = this._helpWindow.contentsOpacity; - }; + this._help_layout.x = Moghunter.bhud_help_lay_x + this._helpWindow.x; + this._help_layout.y = Moghunter.bhud_help_lay_y + this._helpWindow.y; + this._help_layout.visible = this._helpWindow.visible; + this._help_layout.opacity = this._helpWindow.contentsOpacity; + }; if (this._skill_layout) { - this._skill_layout.x = Moghunter.bhud_skill_lay_x + this._skillWindow.x; - this._skill_layout.y = Moghunter.bhud_skill_lay_y + this._skillWindow.y; - this._skill_layout.visible = this._skillWindow.isOpenAndActive(); + this._skill_layout.x = Moghunter.bhud_skill_lay_x + this._skillWindow.x; + this._skill_layout.y = Moghunter.bhud_skill_lay_y + this._skillWindow.y; + this._skill_layout.visible = this._skillWindow.isOpenAndActive(); this._skill_layout.opacity = this._skillWindow.contentsOpacity; - if (!this._skillWindow.visible) {this._skill_layout.visible = false}; - }; + if (!this._skillWindow.visible) { this._skill_layout.visible = false }; + }; if (this._item_layout) { - this._item_layout.x = Moghunter.bhud_item_lay_x + this._itemWindow.x; - this._item_layout.y = Moghunter.bhud_item_lay_y + this._itemWindow.y; - this._item_layout.visible = this._itemWindow.isOpenAndActive(); + this._item_layout.x = Moghunter.bhud_item_lay_x + this._itemWindow.x; + this._item_layout.y = Moghunter.bhud_item_lay_y + this._itemWindow.y; + this._item_layout.visible = this._itemWindow.isOpenAndActive(); this._item_layout.opacity = this._itemWindow.contentsOpacity; - if (!this._itemWindow.visible) {this._item_layout.visible = false}; - }; + if (!this._itemWindow.visible) { this._item_layout.visible = false }; + }; if (this._actor_layout) { - this._actor_layout.x = Moghunter.bhud_actor_lay_x + this._actorWindow.x; - this._actor_layout.y = Moghunter.bhud_actor_lay_y + this._actorWindow.y; - this._actor_layout.visible = this._actorWindow.isOpenAndActive(); + this._actor_layout.x = Moghunter.bhud_actor_lay_x + this._actorWindow.x; + this._actor_layout.y = Moghunter.bhud_actor_lay_y + this._actorWindow.y; + this._actor_layout.visible = this._actorWindow.isOpenAndActive(); this._actor_layout.opacity = this._actorWindow.contentsOpacity; - if (!this._actorWindow.visible) {this._actor_layout.visible = false}; - }; + if (!this._actorWindow.visible) { this._actor_layout.visible = false }; + }; if (this._enemy_layout) { - this._enemy_layout.x = Moghunter.bhud_enemy_lay_x + this._enemyWindow.x; - this._enemy_layout.y = Moghunter.bhud_enemy_lay_y + this._enemyWindow.y; - this._enemy_layout.visible = this._enemyWindow.isOpenAndActive(); + this._enemy_layout.x = Moghunter.bhud_enemy_lay_x + this._enemyWindow.x; + this._enemy_layout.y = Moghunter.bhud_enemy_lay_y + this._enemyWindow.y; + this._enemy_layout.visible = this._enemyWindow.isOpenAndActive(); this._enemy_layout.opacity = this._enemyWindow.contentsOpacity; - if (!this._enemyWindow.visible) {this._enemy_layout.visible = false}; - }; + if (!this._enemyWindow.visible) { this._enemy_layout.visible = false }; + }; }; //============================== // * Sprite Move To //============================== -Scene_Battle.prototype.sprite_move_to = function(value,real_value) { - if (value === real_value) {return value}; +Scene_Battle.prototype.sprite_move_to = function (value, real_value) { + if (value === real_value) { return value }; var dnspeed = 1 + (Math.abs(value - real_value) / 12); - if (value > real_value) {value -= dnspeed; - if (value < real_value) {value = real_value};} - else if (value < real_value) {value += dnspeed; - if (value > real_value) {value = real_value}; - }; + if (value > real_value) { + value -= dnspeed; + if (value < real_value) { value = real_value }; + } + else if (value < real_value) { + value += dnspeed; + if (value > real_value) { value = real_value }; + }; return Math.floor(value); }; @@ -2563,7 +2573,7 @@ Scene_Battle.prototype.sprite_move_to = function(value,real_value) { // * Battle_Hud //============================================================================= function Battle_Hud() { - this.initialize.apply(this, arguments); + this.initialize.apply(this, arguments); }; Battle_Hud.prototype = Object.create(Sprite.prototype); @@ -2572,17 +2582,17 @@ Battle_Hud.prototype.constructor = Battle_Hud; //============================== // * Initialize //============================== -Battle_Hud.prototype.initialize = function(hud_id) { - Sprite.prototype.initialize.call(this); - this._data_initial_ref = [0,true]; +Battle_Hud.prototype.initialize = function (hud_id) { + Sprite.prototype.initialize.call(this); + this._data_initial_ref = [0, true]; this._hud_id = hud_id; - this._slideA = [0,Moghunter.bhud_slideX,Moghunter.bhud_slideY]; - if (this._slideA[1] != 0 || this._slideA[2] != 0) {this._slideA[0] = this._hud_id * 10}; + this._slideA = [0, Moghunter.bhud_slideX, Moghunter.bhud_slideY]; + if (this._slideA[1] != 0 || this._slideA[2] != 0) { this._slideA[0] = this._hud_id * 10 }; this.x = this._slideA[1]; this.y = this._slideA[2]; - this._hud_size = [0,0]; - this.base_parameter_clear(); - this.load_img(); + this._hud_size = [0, 0]; + this.base_parameter_clear(); + this.load_img(); this.opacity = 0; $gameTemp._bhud_position_active = null; $gameTemp._battleEnd = false; @@ -2591,118 +2601,118 @@ Battle_Hud.prototype.initialize = function(hud_id) { //============================== // * Load Img //============================== -Battle_Hud.prototype.load_img = function() { +Battle_Hud.prototype.load_img = function () { this._layout_img = ImageManager.loadBHud("Layout"); - if (String(Moghunter.bhud_layoverlay_visible) == "true") {this._layout2_img = ImageManager.loadBHud("Layout2");;}; + if (String(Moghunter.bhud_layoverlay_visible) == "true") { this._layout2_img = ImageManager.loadBHud("Layout2");; }; this._turn_img = ImageManager.loadBHud("Turn"); this._state_img = ImageManager.loadSystem("IconSet"); - if (String(Moghunter.bhud_hp_meter_visible) == "true") {this._hp_meter_img = ImageManager.loadBHud("HP_Meter");}; - if (String(Moghunter.bhud_mp_meter_visible) == "true") {this._mp_meter_img = ImageManager.loadBHud("MP_Meter");}; - if (String(Moghunter.bhud_tp_meter_visible) == "true") {this._tp_meter_img = ImageManager.loadBHud("TP_Meter");}; - if (String(Moghunter.bhud_at_meter_visible) == "true") {this._at_meter_img = ImageManager.loadBHud("ATB_Meter");}; - if (String(Moghunter.bhud_hp_number_visible) == "true") {this._hp_number_img = ImageManager.loadBHud("HP_Number");}; - if (String(Moghunter.bhud_mp_number_visible) == "true") {this._mp_number_img = ImageManager.loadBHud("MP_Number");}; - if (String(Moghunter.bhud_tp_number_visible) == "true") {this._tp_number_img = ImageManager.loadBHud("TP_Number");}; - if (String(Moghunter.bhud_maxhp_number_visible) == "true") {this._maxhp_number_img = ImageManager.loadBHud("HP_Number2");}; - if (String(Moghunter.bhud_maxmp_number_visible) == "true") {this._maxmp_number_img = ImageManager.loadBHud("MP_Number2");}; - if (String(Moghunter.bhud_maxtp_number_visible) == "true") {this._maxtp_number_img = ImageManager.loadBHud("TP_Number2");}; + if (String(Moghunter.bhud_hp_meter_visible) == "true") { this._hp_meter_img = ImageManager.loadBHud("HP_Meter"); }; + if (String(Moghunter.bhud_mp_meter_visible) == "true") { this._mp_meter_img = ImageManager.loadBHud("MP_Meter"); }; + if (String(Moghunter.bhud_tp_meter_visible) == "true") { this._tp_meter_img = ImageManager.loadBHud("TP_Meter"); }; + if (String(Moghunter.bhud_at_meter_visible) == "true") { this._at_meter_img = ImageManager.loadBHud("ATB_Meter"); }; + if (String(Moghunter.bhud_hp_number_visible) == "true") { this._hp_number_img = ImageManager.loadBHud("HP_Number"); }; + if (String(Moghunter.bhud_mp_number_visible) == "true") { this._mp_number_img = ImageManager.loadBHud("MP_Number"); }; + if (String(Moghunter.bhud_tp_number_visible) == "true") { this._tp_number_img = ImageManager.loadBHud("TP_Number"); }; + if (String(Moghunter.bhud_maxhp_number_visible) == "true") { this._maxhp_number_img = ImageManager.loadBHud("HP_Number2"); }; + if (String(Moghunter.bhud_maxmp_number_visible) == "true") { this._maxmp_number_img = ImageManager.loadBHud("MP_Number2"); }; + if (String(Moghunter.bhud_maxtp_number_visible) == "true") { this._maxtp_number_img = ImageManager.loadBHud("TP_Number2"); }; }; //============================== // * Base Parameter Clear //============================== -Battle_Hud.prototype.base_parameter_clear = function() { - this._hp_old = [-1,-1]; - this._maxhp_old = [-1,-1]; - this._hp_old_ani = [-1,-1]; - this._hp_flow = [false,0,0,0]; - this._mp_old = [-1,-1]; - this._maxmp_old = [-1,-1]; - this._mp_old_ani = [-1,-1]; - this._mp_flow = [false,0,0,0]; - this._tp_old = [-1,-1]; - this._maxtp_old = [-1,-1]; - this._tp_old_ani = -1; - this._tp_flow = [false,0,0,0]; - this._at_flow = [false,0,0,0]; - this._hp_number_old = -1; - this._mp_number_old = -1; - this._hp_number_old = -1; - this._number_align = []; - this._number_align[0] = Moghunter.bhud_hp_align_type; - this._number_align[1] = Moghunter.bhud_mp_align_type; - this._number_align[2] = Moghunter.bhud_tp_align_type; - this._diagonal_number = []; - this._diagonal_number[0] = Moghunter.bhud_hp_diagonal_number; - this._diagonal_number[1] = Moghunter.bhud_mp_diagonal_number; - this._diagonal_number[2] = Moghunter.bhud_tp_diagonal_number; - this._hp_img_data = [0,0,0]; - this._mp_img_data = [0,0,0]; - this._tp_img_data = [0,0,0]; - this._states_old = []; - this._states_data = [0,0,0]; - this._active = false; - this._hud_size = [0,0]; +Battle_Hud.prototype.base_parameter_clear = function () { + this._hp_old = [-1, -1]; + this._maxhp_old = [-1, -1]; + this._hp_old_ani = [-1, -1]; + this._hp_flow = [false, 0, 0, 0]; + this._mp_old = [-1, -1]; + this._maxmp_old = [-1, -1]; + this._mp_old_ani = [-1, -1]; + this._mp_flow = [false, 0, 0, 0]; + this._tp_old = [-1, -1]; + this._maxtp_old = [-1, -1]; + this._tp_old_ani = -1; + this._tp_flow = [false, 0, 0, 0]; + this._at_flow = [false, 0, 0, 0]; + this._hp_number_old = -1; + this._mp_number_old = -1; + this._hp_number_old = -1; + this._number_align = []; + this._number_align[0] = Moghunter.bhud_hp_align_type; + this._number_align[1] = Moghunter.bhud_mp_align_type; + this._number_align[2] = Moghunter.bhud_tp_align_type; + this._diagonal_number = []; + this._diagonal_number[0] = Moghunter.bhud_hp_diagonal_number; + this._diagonal_number[1] = Moghunter.bhud_mp_diagonal_number; + this._diagonal_number[2] = Moghunter.bhud_tp_diagonal_number; + this._hp_img_data = [0, 0, 0]; + this._mp_img_data = [0, 0, 0]; + this._tp_img_data = [0, 0, 0]; + this._states_old = []; + this._states_data = [0, 0, 0]; + this._active = false; + this._hud_size = [0, 0]; }; //============================== // * Need Refresh Bhud //============================== -Battle_Hud.prototype.need_refreh_bhud = function() { - if (this._data_initial_ref[1]) {return true}; - if (this._battler != $gameParty.battleMembers()[this._hud_id]) {return true}; +Battle_Hud.prototype.need_refreh_bhud = function () { + if (this._data_initial_ref[1]) { return true }; + if (this._battler != $gameParty.battleMembers()[this._hud_id]) { return true }; return false; }; //============================== // * Refresh Bhud //============================== -Battle_Hud.prototype.refresh_bhud = function() { - this._data_initial_ref[1] = false; - this._battler = $gameParty.battleMembers()[this._hud_id]; - if (this._battler) {this._battler.checkBhudNoteTags()} - this.opacity = 0; - this._hud_size = [0,0]; - this.base_parameter_clear(); - this.create_base_sprites(); +Battle_Hud.prototype.refresh_bhud = function () { + this._data_initial_ref[1] = false; + this._battler = $gameParty.battleMembers()[this._hud_id]; + if (this._battler) { this._battler.checkBhudNoteTags() } + this.opacity = 0; + this._hud_size = [0, 0]; + this.base_parameter_clear(); + this.create_base_sprites(); }; //============================== // * Refresh Position //============================== -Battle_Hud.prototype.refresh_position = function() { - this.set_hud_position(); - this.create_sprites(); - this._layout.x = this._pos_x; - this._layout.y = this._pos_y; - if (this._face) { - this._face.x = this._pos_x + Moghunter.bhud_face_pos_x; - this._face.y = this._pos_y + Moghunter.bhud_face_pos_y + this._face.ph; - }; - if (this._turn) { - this._turn.x = this._pos_x + (this._turn.width / 2) + Moghunter.bhud_turn_pos_x; - this._turn.y = this._pos_y + (this._turn.height / 2) + Moghunter.bhud_turn_pos_y; - }; - if (this._layout2) { - this._layout2.x = this._pos_x + Moghunter.bhud_layoverlay_x; - this._layout2.y = this._pos_y + Moghunter.bhud_layoverlay_y; - }; - if (this._face) {this._battler._face_pos = [this._face.x,this._face.y]}; +Battle_Hud.prototype.refresh_position = function () { + this.set_hud_position(); + this.create_sprites(); + this._layout.x = this._pos_x; + this._layout.y = this._pos_y; + if (this._face) { + this._face.x = this._pos_x + Moghunter.bhud_face_pos_x; + this._face.y = this._pos_y + Moghunter.bhud_face_pos_y + this._face.ph; + }; + if (this._turn) { + this._turn.x = this._pos_x + (this._turn.width / 2) + Moghunter.bhud_turn_pos_x; + this._turn.y = this._pos_y + (this._turn.height / 2) + Moghunter.bhud_turn_pos_y; + }; + if (this._layout2) { + this._layout2.x = this._pos_x + Moghunter.bhud_layoverlay_x; + this._layout2.y = this._pos_y + Moghunter.bhud_layoverlay_y; + }; + if (this._face) { this._battler._face_pos = [this._face.x, this._face.y] }; }; //============================== // * Set Hud Position //============================== -Battle_Hud.prototype.set_hud_position = function() { - this._hud_size = [this._layout.bitmap.width,this._layout.bitmap.height]; - this._members_max = $gameParty.battleMembers().length; - var ps = [Number(Moghunter.bhud_space_x) * this._hud_id, - Number(Moghunter.bhud_space_y) * this._hud_id]; - if ($gameSystem._bhud_position[this._hud_id]) { - this._pos_x = $gameSystem._bhud_position[this._hud_id][0]; - this._pos_y = $gameSystem._bhud_position[this._hud_id][1]; - } - else { +Battle_Hud.prototype.set_hud_position = function () { + this._hud_size = [this._layout.bitmap.width, this._layout.bitmap.height]; + this._members_max = $gameParty.battleMembers().length; + var ps = [Number(Moghunter.bhud_space_x) * this._hud_id, + Number(Moghunter.bhud_space_y) * this._hud_id]; + if ($gameSystem._bhud_position[this._hud_id]) { + this._pos_x = $gameSystem._bhud_position[this._hud_id][0]; + this._pos_y = $gameSystem._bhud_position[this._hud_id][1]; + } + else { if (Number($gameSystem._bhud_pos_mode) === 0) { var spc = ((Graphics.boxWidth - 14) / this._members_max); var px = (spc / 2) + (spc * this._hud_id); @@ -2714,20 +2724,20 @@ Battle_Hud.prototype.set_hud_position = function() { this._pos_x = Moghunter.bhud_pos_x + ps[0]; this._pos_y = Moghunter.bhud_pos_y + py + ps[1]; }; - }; - $gameTemp._bhud_position[this._hud_id] = [this._pos_x,this._pos_y]; + }; + $gameTemp._bhud_position[this._hud_id] = [this._pos_x, this._pos_y]; }; //============================== // * Update //============================== -Battle_Hud.prototype.update = function() { - Sprite.prototype.update.call(this); - if (this._data_initial_ref[0] < 2) {this._data_initial_ref[0] += 1; return}; - if (this.need_refreh_bhud()) {this.refresh_bhud()}; - if (!this._battler) {return}; - if (!this._layout.bitmap.isReady()) {return}; - if (this._hud_size[0] === 0) {this.refresh_position();return}; +Battle_Hud.prototype.update = function () { + Sprite.prototype.update.call(this); + if (this._data_initial_ref[0] < 2) { this._data_initial_ref[0] += 1; return }; + if (this.need_refreh_bhud()) { this.refresh_bhud() }; + if (!this._battler) { return }; + if (!this._layout.bitmap.isReady()) { return }; + if (this._hud_size[0] === 0) { this.refresh_position(); return }; this.update_sprites(); this.updateSlide(); }; @@ -2735,53 +2745,54 @@ Battle_Hud.prototype.update = function() { //============================== // * Update Slide //============================== -Battle_Hud.prototype.updateSlide = function() { - if (!this.is_hud_visible()) {return}; - if (this._slideA[0] > 0) { - this.visible = false; - this.opacity = 0; - this._slideA[0]--; - return; - }; - this.visible = true; - this.x = this.update_dif(this.x,0,20); - this.y = this.update_dif(this.y,0,20); +Battle_Hud.prototype.updateSlide = function () { + if (!this.is_hud_visible()) { return }; + if (this._slideA[0] > 0) { + this.visible = false; + this.opacity = 0; + this._slideA[0]--; + return; + }; + this.visible = true; + this.x = this.update_dif(this.x, 0, 20); + this.y = this.update_dif(this.y, 0, 20); }; //============================== // * Create Base Sprites //============================== -Battle_Hud.prototype.create_base_sprites = function() { +Battle_Hud.prototype.create_base_sprites = function () { this.create_turn(); if (Number(Moghunter.bhud_face_priority) === 0) { - this.create_face(); - this.create_layout();} + this.create_face(); + this.create_layout(); + } else { this.create_layout(); - this.create_face(); - }; + this.create_face(); + }; }; //============================== // * Create Sprites //============================== -Battle_Hud.prototype.create_sprites = function() { +Battle_Hud.prototype.create_sprites = function () { this.create_hp_meter(); this.create_mp_meter(); - this.create_tp_meter(); - this.create_at_meter(); - if (String(Moghunter.bhud_layoverlay_visible) == "true") {this.create_layoutOverlay()}; - this.create_hp_number(); + this.create_tp_meter(); + this.create_at_meter(); + if (String(Moghunter.bhud_layoverlay_visible) == "true") { this.create_layoutOverlay() }; + this.create_hp_number(); this.create_maxhp_number(); - this.create_mp_number(); - this.create_maxmp_number(); - this.create_tp_number(); + this.create_mp_number(); + this.create_maxmp_number(); + this.create_tp_number(); this.create_maxtp_number(); this._stateType = Number(Moghunter.bhud_statesType); if (this._stateType === 0) { - this.create_states(); - } else { - this.create_states2(); + this.create_states(); + } else { + this.create_states2(); }; this.create_name(); }; @@ -2789,20 +2800,20 @@ Battle_Hud.prototype.create_sprites = function() { //============================== // * Update Sprites //============================== -Battle_Hud.prototype.update_sprites = function() { - this.update_active(); +Battle_Hud.prototype.update_sprites = function () { + this.update_active(); this.update_visible(); this.update_turn(); - this.update_face(); - this.update_hp(); + this.update_face(); + this.update_hp(); this.update_mp(); - this.update_tp(); - this.update_at(); - if (this._state_icon) { + this.update_tp(); + this.update_at(); + if (this._state_icon) { if (this._stateType === 0) { - this.update_states(); + this.update_states(); } else { - this.update_states2(); + this.update_states2(); }; }; }; @@ -2810,29 +2821,29 @@ Battle_Hud.prototype.update_sprites = function() { //============================== // * Update Active //============================== -Battle_Hud.prototype.update_active = function() { - this._active = false - if (this.isChronoBattle()) { - if (this._battler == $gameTemp._chronoCom.user[1]) { - this._active = true; - $gameTemp._bhud_position_active = $gameTemp._bhud_position[this._hud_id] - }; - - } else { - if (this._battler == BattleManager.actor()) { - this._active = true; - $gameTemp._bhud_position_active = $gameTemp._bhud_position[this._hud_id] - }; - }; +Battle_Hud.prototype.update_active = function () { + this._active = false + if (this.isChronoBattle()) { + if (this._battler == $gameTemp._chronoCom.user[1]) { + this._active = true; + $gameTemp._bhud_position_active = $gameTemp._bhud_position[this._hud_id] + }; + + } else { + if (this._battler == BattleManager.actor()) { + this._active = true; + $gameTemp._bhud_position_active = $gameTemp._bhud_position[this._hud_id] + }; + }; }; //============================== // * is Chrono Battle //============================== -Battle_Hud.prototype.isChronoBattle = function() { - if (!Imported.MOG_ChronoEngine) {return false}; - if (!$gameSystem.isChronoMode()) {return false}; - if (!$gameTemp._chronoCom.user) {return false}; +Battle_Hud.prototype.isChronoBattle = function () { + if (!Imported.MOG_ChronoEngine) { return false }; + if (!$gameSystem.isChronoMode()) { return false }; + if (!$gameTemp._chronoCom.user) { return false }; return true; }; @@ -2840,20 +2851,20 @@ Battle_Hud.prototype.isChronoBattle = function() { //============================== // * Update visible //============================== -Battle_Hud.prototype.update_visible = function(sprite) { - if (this.is_hud_visible()) {this.opacity += 10} - else {this.opacity -= 10}; +Battle_Hud.prototype.update_visible = function (sprite) { + if (this.is_hud_visible()) { this.opacity += 10 } + else { this.opacity -= 10 }; }; //============================== // * Is Hud Visible //============================== -Battle_Hud.prototype.is_hud_visible = function(sprite) { - if ($gameMessage.isBusy()) {return false}; - if ($gameTemp._battleEnd) {return false}; - if (!$gameSystem._bhud_visible) {return false}; +Battle_Hud.prototype.is_hud_visible = function (sprite) { + if ($gameMessage.isBusy()) { return false }; + if ($gameTemp._battleEnd) { return false }; + if (!$gameSystem._bhud_visible) { return false }; if (Imported.MOG_ChronoEngine) { - if ($gameSystem._chronoMode.phase > 3 && $gameSystem._chronoMode.phaseEndPhaseDuration === 0) {return false} + if ($gameSystem._chronoMode.phase > 3 && $gameSystem._chronoMode.phaseEndPhaseDuration === 0) { return false } }; return true }; @@ -2861,95 +2872,99 @@ Battle_Hud.prototype.is_hud_visible = function(sprite) { //============================== // * Update Dif //============================== -Battle_Hud.prototype.update_dif = function(value,real_value,speed) { - if (value == real_value) {return value}; +Battle_Hud.prototype.update_dif = function (value, real_value, speed) { + if (value == real_value) { return value }; var dnspeed = 1 + (Math.abs(value - real_value) / speed); - if (value > real_value) {value -= dnspeed; - if (value < real_value) {value = real_value};} - else if (value < real_value) {value += dnspeed; - if (value > real_value) {value = real_value}; - }; + if (value > real_value) { + value -= dnspeed; + if (value < real_value) { value = real_value }; + } + else if (value < real_value) { + value += dnspeed; + if (value > real_value) { value = real_value }; + }; return Math.floor(value); }; //============================== // * Refresh Meter //============================== -Battle_Hud.prototype.refresh_meter = function(sprite,value,value_max,type) { +Battle_Hud.prototype.refresh_meter = function (sprite, value, value_max, type) { var ch = sprite.bitmap.height / 2; - var meter_rate = sprite.bitmap.width * value / value_max; - sprite.setFrame(0,type * ch, meter_rate, ch); + var meter_rate = sprite.bitmap.width * value / value_max; + sprite.setFrame(0, type * ch, meter_rate, ch); }; //============================== // * Refresh Flow //============================== -Battle_Hud.prototype.refresh_meter_flow = function(sprite,value,value_max,type,flow) { +Battle_Hud.prototype.refresh_meter_flow = function (sprite, value, value_max, type, flow) { var cw = sprite.bitmap.width / 3; var ch = sprite.bitmap.height / 2; - var meter_rate = cw * value / value_max; - sprite.setFrame(flow,type * ch, meter_rate, ch); + var meter_rate = cw * value / value_max; + sprite.setFrame(flow, type * ch, meter_rate, ch); }; //============================== // * Refresh Number //============================== -Battle_Hud.prototype.refresh_number = function(sprites,value,img_data,x,y,type) { - numbers = Math.abs(value).toString().split(""); +Battle_Hud.prototype.refresh_number = function (sprites, value, img_data, x, y, type) { + numbers = Math.abs(value).toString().split(""); var nx = 0; var ny = 0; var dir = 1; - for (var i = 0; i < sprites.length ; i++) {sprites[i].visible = false; - if (i > numbers.length) {return}; - var n = Number(numbers[i]); - sprites[i].setFrame(n * img_data[2], 0, img_data[2], img_data[1]); - sprites[i].visible = true; - if (this._number_align[type] === 0) { - var nx = -(img_data[2] * i) + (img_data[2] * numbers.length); - } else if (this._number_align[type] === 1) { - var nx = -(img_data[2] * i) + ((img_data[2] / 2) * numbers.length); - } else if (this._number_align[type] === 2) { - var nx = -(img_data[2] * i); - } else if (this._number_align[type] === 3) { - var nx = -(img_data[2] * i); - var ny = (img_data[3] * i); - } else { - var nx = -(img_data[2] * i) + (img_data[2] * numbers.length); - var ny = (img_data[3] / 2) * dir; - }; - sprites[i].x = x - nx; - sprites[i].y = y - ny; - dir = dir === 0 ? 1 : 0; - }; + for (var i = 0; i < sprites.length; i++) { + sprites[i].visible = false; + if (i > numbers.length) { return }; + var n = Number(numbers[i]); + sprites[i].setFrame(n * img_data[2], 0, img_data[2], img_data[1]); + sprites[i].visible = true; + if (this._number_align[type] === 0) { + var nx = -(img_data[2] * i) + (img_data[2] * numbers.length); + } else if (this._number_align[type] === 1) { + var nx = -(img_data[2] * i) + ((img_data[2] / 2) * numbers.length); + } else if (this._number_align[type] === 2) { + var nx = -(img_data[2] * i); + } else if (this._number_align[type] === 3) { + var nx = -(img_data[2] * i); + var ny = (img_data[3] * i); + } else { + var nx = -(img_data[2] * i) + (img_data[2] * numbers.length); + var ny = (img_data[3] / 2) * dir; + }; + sprites[i].x = x - nx; + sprites[i].y = y - ny; + dir = dir === 0 ? 1 : 0; + }; }; //============================== // * Need Refresh Parameter //============================== -Battle_Hud.prototype.need_refresh_parameter = function(parameter) { - switch (parameter) { - case 0: - if (this._hp_old[0] != this._battler.hp) {return true}; - if (this._hp_old[1] != this._battler.mhp) {return true}; - break; - case 1: - if (this._mp_old[0] != this._battler.mp) {return true}; - if (this._mp_old[1] != this._battler.mmp) {return true}; - break; - case 2: - if (this._tp_old[0] != this._battler.tp) {return true}; - if (this._tp_old[1] != this._battler.maxTp()) {return true}; - break; - }; - return false; +Battle_Hud.prototype.need_refresh_parameter = function (parameter) { + switch (parameter) { + case 0: + if (this._hp_old[0] != this._battler.hp) { return true }; + if (this._hp_old[1] != this._battler.mhp) { return true }; + break; + case 1: + if (this._mp_old[0] != this._battler.mp) { return true }; + if (this._mp_old[1] != this._battler.mmp) { return true }; + break; + case 2: + if (this._tp_old[0] != this._battler.tp) { return true }; + if (this._tp_old[1] != this._battler.maxTp()) { return true }; + break; + }; + return false; }; //============================== // * Create Layout //============================== -Battle_Hud.prototype.create_layout = function() { +Battle_Hud.prototype.create_layout = function () { this.removeChild(this._layout); - if (!this._battler) {return}; + if (!this._battler) { return }; this._layout = new Sprite(this._layout_img); this.addChild(this._layout); }; @@ -2957,9 +2972,9 @@ Battle_Hud.prototype.create_layout = function() { //============================== // * Create Layout Overlay //============================== -Battle_Hud.prototype.create_layoutOverlay = function() { +Battle_Hud.prototype.create_layoutOverlay = function () { this.removeChild(this._layout2); - if (!this._battler) {return}; + if (!this._battler) { return }; this._layout2 = new Sprite(this._layout2_img); this.addChild(this._layout2); }; @@ -2967,40 +2982,40 @@ Battle_Hud.prototype.create_layoutOverlay = function() { //============================== // * Create Turn //============================== -Battle_Hud.prototype.create_turn = function() { - if (String(Moghunter.bhud_turn_visible) != "true") {return}; - this.removeChild(this._turn); - if (!this._battler) {return}; +Battle_Hud.prototype.create_turn = function () { + if (String(Moghunter.bhud_turn_visible) != "true") { return }; + this.removeChild(this._turn); + if (!this._battler) { return }; this._turn = new Sprite(this._turn_img); this._turn.anchor.x = 0.5; this._turn.anchor.y = 0.5; this._turn.rt = Number(Moghunter.bhud_turn_rotation); this._turn.zt = String(Moghunter.bhud_turn_zoom) === "true" ? true : false; this._turn.vis = this._turn.visible; - this._turn_blink = [0,0]; + this._turn_blink = [0, 0]; this.addChild(this._turn); }; - + //============================== // * Update Turn //============================== -Battle_Hud.prototype.update_turn = function() { - if (!this._turn) {return}; - if (!this._active) {this._turn.visible = false;return;}; - if (this._turn.rt != 0) {this._turn.rotation += this._turn.rt}; - if (this._turn.zt) {this.updateTurnZoom()}; +Battle_Hud.prototype.update_turn = function () { + if (!this._turn) { return }; + if (!this._active) { this._turn.visible = false; return; }; + if (this._turn.rt != 0) { this._turn.rotation += this._turn.rt }; + if (this._turn.zt) { this.updateTurnZoom() }; this._turn.visible = true; this._turn_blink[0] += 1 - if (this._turn_blink[0] < 60) {this._turn_blink[1] += 2} - else if (this._turn_blink[0] < 120) {this._turn_blink[1] -= 2} - else {this._turn_blink = [0,0]}; + if (this._turn_blink[0] < 60) { this._turn_blink[1] += 2 } + else if (this._turn_blink[0] < 120) { this._turn_blink[1] -= 2 } + else { this._turn_blink = [0, 0] }; this._turn.opacity = 135 + this._turn_blink[1] -}; +}; //============================== // * Update Turn Zoom //============================== -Battle_Hud.prototype.updateTurnZoom = function() { +Battle_Hud.prototype.updateTurnZoom = function () { if (this._turn.vis != this._turn.visible) { this._turn.vis = this._turn.visible; this._turn.scale.x = 1.50; @@ -3008,49 +3023,49 @@ Battle_Hud.prototype.updateTurnZoom = function() { }; if (this._turn.scale.x > 0) { this._turn.scale.x -= 0.04; - if (this._turn.scale.x <= 1.00) {this._turn.scale.x = 1.00}; + if (this._turn.scale.x <= 1.00) { this._turn.scale.x = 1.00 }; }; this._turn.scale.y = this._turn.scale.x; }; - + //============================== // * Create Face //============================== -Battle_Hud.prototype.create_face = function() { - if (String(Moghunter.bhud_face_visible) != "true") {return}; +Battle_Hud.prototype.create_face = function () { + if (String(Moghunter.bhud_face_visible) != "true") { return }; this.removeChild(this._face); - if (!this._battler) {return}; + if (!this._battler) { return }; this._face = new Sprite(ImageManager.loadBHud("Face_" + this._battler._actorId)); this._face.anchor.x = 0.5; this._face.anchor.y = 0.5; - this._face_data = [0,0,false,false,false,-1]; + this._face_data = [0, 0, false, false, false, -1]; this._face.ph = 0; - this._face.animation = [-1,0,0,0,0,0,0,0,0]; + this._face.animation = [-1, 0, 0, 0, 0, 0, 0, 0, 0]; this._face.breathEffect = this._battler._bhud.faceBreath; this._face.scaleY = 0; - if (String(Moghunter.bhud_face_shake) === "true") {this._face_data[2] = true} - if (String(Moghunter.bhud_face_animated) === "true") {this._face_data[4] = true} - this._battler._bhud_face_data = [0,0,0,1] + if (String(Moghunter.bhud_face_shake) === "true") { this._face_data[2] = true } + if (String(Moghunter.bhud_face_animated) === "true") { this._face_data[4] = true } + this._battler._bhud_face_data = [0, 0, 0, 1] this.addChild(this._face); }; //============================== // * Update Face //============================== -Battle_Hud.prototype.update_face = function() { - if (!this._face) {return}; - if (!this._face.bitmap.isReady()) {return}; - if (this._face_data[4] && this._face_data[5] != this._battler._bhud_face_data[2]) {this.refresh_face();}; - this.update_face_animation(); - this.update_face_shake(); - this.update_face_zoom(); - if (this._face.breathEffect) {this.updateFaceEffects()}; +Battle_Hud.prototype.update_face = function () { + if (!this._face) { return }; + if (!this._face.bitmap.isReady()) { return }; + if (this._face_data[4] && this._face_data[5] != this._battler._bhud_face_data[2]) { this.refresh_face(); }; + this.update_face_animation(); + this.update_face_shake(); + this.update_face_zoom(); + if (this._face.breathEffect) { this.updateFaceEffects() }; }; //============================== // * update Face Effects //============================== -Battle_Hud.prototype.updateFaceEffects = function() { +Battle_Hud.prototype.updateFaceEffects = function () { if (this._face_data[5] == 0 || this._face_data[5] == 3) { this._face.anchor.y = 1; this._face.y = this._pos_y + Moghunter.bhud_face_pos_y + this._face.height / 2; @@ -3065,52 +3080,52 @@ Battle_Hud.prototype.updateFaceEffects = function() { //============================== // * set Breath Effect //============================== -Battle_Hud.prototype.setBreathEffect = function() { - this._face.animation[0] = 0; - var rds = Math.randomInt(100); - var rds2 = rds * 0.0000001; - this._face.animation[2] = 0.000005; - this._face.animation[3] = 0.0002; - var int = this._face.animation[3]; - var int2 = (Math.randomInt(int) * 0.0001).toFixed(4); - this._face.animation[1] = int2; - this._face.animation[8] = Math.randomInt(80) +Battle_Hud.prototype.setBreathEffect = function () { + this._face.animation[0] = 0; + var rds = Math.randomInt(100); + var rds2 = rds * 0.0000001; + this._face.animation[2] = 0.000005; + this._face.animation[3] = 0.0002; + var int = this._face.animation[3]; + var int2 = (Math.randomInt(int) * 0.0001).toFixed(4); + this._face.animation[1] = int2; + this._face.animation[8] = Math.randomInt(80) }; //============================== // * update Breath Effect //============================== -Battle_Hud.prototype.updateBreathEffect = function() { - this._face.scale.y = 1.00 + this._face.scaleY; +Battle_Hud.prototype.updateBreathEffect = function () { + this._face.scale.y = 1.00 + this._face.scaleY; if (this._face.animation[0] == -1) { - if (this._face.bitmap.isReady()) {this.setBreathEffect()} - return - } + if (this._face.bitmap.isReady()) { this.setBreathEffect() } + return + } if (this._face.animation[8] > 0) { this._face.animation[8]-- return } - if (this._face.animation[0] == 0) { + if (this._face.animation[0] == 0) { this._face.animation[1] -= this._face.animation[2] - this._face.scaleY += this._face.animation[1]; - if (this._face.animation[1] <= -this._face.animation[3]) { - this._face.animation[1] = -this._face.animation[3] - this._face.animation[0] = 1; - }; - } else { - this._face.animation[1] += this._face.animation[2] - this._face.scaleY += this._face.animation[1]; - if (this._face.animation[1] >= this._face.animation[3]) { - this._face.animation[1] = this._face.animation[3] - this._face.animation[0] = 0; - }; - }; + this._face.scaleY += this._face.animation[1]; + if (this._face.animation[1] <= -this._face.animation[3]) { + this._face.animation[1] = -this._face.animation[3] + this._face.animation[0] = 1; + }; + } else { + this._face.animation[1] += this._face.animation[2] + this._face.scaleY += this._face.animation[1]; + if (this._face.animation[1] >= this._face.animation[3]) { + this._face.animation[1] = this._face.animation[3] + this._face.animation[0] = 0; + }; + }; }; //============================== // * Refresh Face //============================== -Battle_Hud.prototype.refresh_face = function() { +Battle_Hud.prototype.refresh_face = function () { this._face_data[5] = this._battler._bhud_face_data[2]; var cw = this._face.bitmap.width / 5; var ch = this._face.bitmap.height; @@ -3120,64 +3135,69 @@ Battle_Hud.prototype.refresh_face = function() { //============================== // * Update Face Animation //============================== -Battle_Hud.prototype.update_face_animation = function() { - if (this._battler._bhud_face_data[3] > 0) {this._battler._bhud_face_data[3] -= 1; - if (this._battler._bhud_face_data[3] === 0) { - if (this._battler.isDead()) {this._battler._bhud_face_data[2] = 4} - else if (this._battler.hp <= 30 * this._battler.mhp / 100) {this._battler._bhud_face_data[2] = 3} - else {this._battler._bhud_face_data[2] = 0}; - }; +Battle_Hud.prototype.update_face_animation = function () { + if (this._battler._bhud_face_data[3] > 0) { + this._battler._bhud_face_data[3] -= 1; + if (this._battler._bhud_face_data[3] === 0) { + if (this._battler.isDead()) { this._battler._bhud_face_data[2] = 4 } + else if (this._battler.hp <= 30 * this._battler.mhp / 100) { this._battler._bhud_face_data[2] = 3 } + else { this._battler._bhud_face_data[2] = 0 }; + }; }; }; //============================== // * Update Face Zoom //============================== -Battle_Hud.prototype.update_face_zoom = function() { - if (this._battler._bhud_face_data[1] > 0) {this._battler._bhud_face_data[1] -= 1; - if (this._battler._bhud_face_data[1] == 0) {this._face.scale.x = 1.00} - else if (this._battler._bhud_face_data[1] < 35) {this._face.scale.x -= 0.005; - if (this._face.scale.x < 1.00) {this._face.scale.x = 1.00;}; - } - else if (this._battler._bhud_face_data[1] < 70){this._face.scale.x += 0.005; - if (this._face.scale.x > 1.25) {this._face.scale.x = 1.25;}; - }; - this._face.scale.y = this._face.scale.x; +Battle_Hud.prototype.update_face_zoom = function () { + if (this._battler._bhud_face_data[1] > 0) { + this._battler._bhud_face_data[1] -= 1; + if (this._battler._bhud_face_data[1] == 0) { this._face.scale.x = 1.00 } + else if (this._battler._bhud_face_data[1] < 35) { + this._face.scale.x -= 0.005; + if (this._face.scale.x < 1.00) { this._face.scale.x = 1.00; }; + } + else if (this._battler._bhud_face_data[1] < 70) { + this._face.scale.x += 0.005; + if (this._face.scale.x > 1.25) { this._face.scale.x = 1.25; }; + }; + this._face.scale.y = this._face.scale.x; }; }; //============================== // * Update Face Shake //============================== -Battle_Hud.prototype.update_face_shake = function() { +Battle_Hud.prototype.update_face_shake = function () { this._face.x = this._pos_x + Moghunter.bhud_face_pos_x; - if (this._face_data[2] && this._battler._bhud_face_data[0] > 0) {this._battler._bhud_face_data[0] -= 1; - this._face.x = this._pos_x + Moghunter.bhud_face_pos_x + ((Math.random() * 12) - 6); + if (this._face_data[2] && this._battler._bhud_face_data[0] > 0) { + this._battler._bhud_face_data[0] -= 1; + this._face.x = this._pos_x + Moghunter.bhud_face_pos_x + ((Math.random() * 12) - 6); }; }; //============================== // * Create Name //============================== -Battle_Hud.prototype.create_name = function() { - if (String(Moghunter.bhud_name_visible) != "true") {return}; +Battle_Hud.prototype.create_name = function () { + if (String(Moghunter.bhud_name_visible) != "true") { return }; this.removeChild(this._name); - if (!this._battler) {return}; - this._name = new Sprite(new Bitmap(200,48)); + if (!this._battler) { return }; + this._name = new Sprite(new Bitmap(200, 48)); this._name.x = this._pos_x + Moghunter.bhud_name_pos_x; this._name.y = this._pos_y + Moghunter.bhud_name_pos_y; this._name.bitmap.fontSize = Number(Moghunter.bhud_name_font_size); - if (String(Moghunter.bhud_name_font_italic) === "true") {this._name.bitmap.fontItalic = true}; + if (String(Moghunter.bhud_name_font_italic) === "true") { this._name.bitmap.fontItalic = true }; - this._name.bitmap.outlineWidth = Number(Moghunter.bhud_name_font_bold_size); - this.addChild(this._name); + this._name.bitmap.outlineWidth = Number(Moghunter.bhud_name_font_bold_size); + this.addChild(this._name); this.refresh_name(); }; //============================== // * Refresh Name //============================== -Battle_Hud.prototype.refresh_name = function() { +Battle_Hud.prototype.refresh_name = function () { this._name.bitmap.clear(); var align = "left" if (Moghunter.bhud_name_align === 1) { @@ -3185,29 +3205,30 @@ Battle_Hud.prototype.refresh_name = function() { } else if (Moghunter.bhud_name_align === 2) { var align = "right" }; - this._name.bitmap.drawText(this._battler._name, 0, 0, this._name.bitmap.width, this._name.bitmap.height,align); + this._name.bitmap.drawText(this._battler._name, 0, 0, this._name.bitmap.width, this._name.bitmap.height, align); }; //============================== // * Create HP Meter //============================== -Battle_Hud.prototype.create_hp_meter = function() { - if (String(Moghunter.bhud_hp_meter_visible) != "true") {return}; +Battle_Hud.prototype.create_hp_meter = function () { + if (String(Moghunter.bhud_hp_meter_visible) != "true") { return }; this.removeChild(this._hp_meter_blue); this.removeChild(this._hp_meter_red); - if (!this._battler) {return}; + if (!this._battler) { return }; this._hp_meter_red = new Sprite(this._hp_meter_img); this._hp_meter_red.x = this._pos_x + Moghunter.bhud_hp_meter_pos_x; this._hp_meter_red.y = this._pos_y + Moghunter.bhud_hp_meter_pos_y; this._hp_meter_red.rotation = Moghunter.bhud_hp_meter_rotation * Math.PI / 180; - this.addChild(this._hp_meter_red); + this.addChild(this._hp_meter_red); this._hp_meter_blue = new Sprite(this._hp_meter_img); this._hp_meter_blue.x = this._hp_meter_red.x; this._hp_meter_blue.y = this._hp_meter_red.y; this._hp_meter_blue.rotation = this._hp_meter_red.rotation; this.addChild(this._hp_meter_blue); - if (String(Moghunter.bhud_hp_meter_flow) === "true") {this._hp_flow[0] = true; - this._hp_flow[2] = this._hp_meter_img.width / 3; + if (String(Moghunter.bhud_hp_meter_flow) === "true") { + this._hp_flow[0] = true; + this._hp_flow[2] = this._hp_meter_img.width / 3; this._hp_flow[3] = this._hp_flow[2] * 2; this._hp_flow[1] = Math.floor(Math.random() * this._hp_flow[2]); }; @@ -3216,106 +3237,114 @@ Battle_Hud.prototype.create_hp_meter = function() { //============================== // * Create HP Number //============================== -Battle_Hud.prototype.create_hp_number = function() { - if (String(Moghunter.bhud_hp_number_visible) != "true") {return}; - if (this._hp_number) {for (var i = 0; i < this._hp_number.length; i++) {this.removeChild(this._hp_number[i]);}}; - if (!this._battler) {return}; +Battle_Hud.prototype.create_hp_number = function () { + if (String(Moghunter.bhud_hp_number_visible) != "true") { return }; + if (this._hp_number) { for (var i = 0; i < this._hp_number.length; i++) { this.removeChild(this._hp_number[i]); } }; + if (!this._battler) { return }; this._hp_number = []; - this._hp_img_data = [this._hp_number_img.width,this._hp_number_img.height, - this._hp_number_img.width / 10, this._hp_number_img.height / 2, - this._pos_x + Moghunter.bhud_hp_number_pos_x, - this._pos_y + Moghunter.bhud_hp_number_pos_y, - ]; + this._hp_img_data = [this._hp_number_img.width, this._hp_number_img.height, + this._hp_number_img.width / 10, this._hp_number_img.height / 2, + this._pos_x + Moghunter.bhud_hp_number_pos_x, + this._pos_y + Moghunter.bhud_hp_number_pos_y, + ]; for (var i = 0; i < 5; i++) { - this._hp_number[i] = new Sprite(this._hp_number_img); - this._hp_number[i].visible = false; - this._hp_number[i].x = this._hp_img_data[4]; - this._hp_number[i].y = this._hp_img_data[5]; - this.addChild(this._hp_number[i]); - }; + this._hp_number[i] = new Sprite(this._hp_number_img); + this._hp_number[i].visible = false; + this._hp_number[i].x = this._hp_img_data[4]; + this._hp_number[i].y = this._hp_img_data[5]; + this.addChild(this._hp_number[i]); + }; this._hp_number_old = this._battler.hp; - this.refresh_number(this._hp_number,this._hp_number_old,this._hp_img_data,this._hp_img_data[4],this._hp_img_data[5],0); + this.refresh_number(this._hp_number, this._hp_number_old, this._hp_img_data, this._hp_img_data[4], this._hp_img_data[5], 0); }; //============================== // * Create maxHP Number //============================== -Battle_Hud.prototype.create_maxhp_number = function() { - if (String(Moghunter.bhud_maxhp_number_visible) != "true") {return}; - if (this._maxhp_number) {for (var i = 0; i < this._maxhp_number.length; i++) {this.removeChild(this._maxhp_number[i]);}}; - if (!this._battler) {return}; +Battle_Hud.prototype.create_maxhp_number = function () { + if (String(Moghunter.bhud_maxhp_number_visible) != "true") { return }; + if (this._maxhp_number) { for (var i = 0; i < this._maxhp_number.length; i++) { this.removeChild(this._maxhp_number[i]); } }; + if (!this._battler) { return }; this._maxhp_number = []; - this._maxhp_img_data = [this._maxhp_number_img.width,this._maxhp_number_img.height, - this._maxhp_number_img.width / 10, this._maxhp_number_img.height / 2, - this._pos_x + Moghunter.bhud_maxhp_number_pos_x, - this._pos_y + Moghunter.bhud_maxhp_number_pos_y, - ]; + this._maxhp_img_data = [this._maxhp_number_img.width, this._maxhp_number_img.height, + this._maxhp_number_img.width / 10, this._maxhp_number_img.height / 2, + this._pos_x + Moghunter.bhud_maxhp_number_pos_x, + this._pos_y + Moghunter.bhud_maxhp_number_pos_y, + ]; for (var i = 0; i < 5; i++) { - this._maxhp_number[i] = new Sprite(this._maxhp_number_img); - this._maxhp_number[i].visible = false; - this._maxhp_number[i].x = this._maxhp_img_data[4]; - this._maxhp_number[i].y = this._maxhp_img_data[5]; - this.addChild(this._maxhp_number[i]); - }; + this._maxhp_number[i] = new Sprite(this._maxhp_number_img); + this._maxhp_number[i].visible = false; + this._maxhp_number[i].x = this._maxhp_img_data[4]; + this._maxhp_number[i].y = this._maxhp_img_data[5]; + this.addChild(this._maxhp_number[i]); + }; this._maxhp_number_old = this._battler.mhp; - this.refresh_number(this._maxhp_number,this._maxhp_number_old,this._maxhp_img_data,this._maxhp_img_data[4],this._maxhp_img_data[5],0); + this.refresh_number(this._maxhp_number, this._maxhp_number_old, this._maxhp_img_data, this._maxhp_img_data[4], this._maxhp_img_data[5], 0); }; //============================== // * Update HP //============================== -Battle_Hud.prototype.update_hp = function() { +Battle_Hud.prototype.update_hp = function () { if (this._hp_meter_blue) { - if(this._hp_flow[0]) { - this.refresh_meter_flow(this._hp_meter_blue,this._battler.hp,this._battler.mhp,0,this._hp_flow[1]); - var dif_meter = this.update_dif(this._hp_old_ani[0],this._battler.hp,160) - if (this._hp_old_ani[0] != dif_meter) {this._hp_old_ani[0] = dif_meter; - this.refresh_meter_flow(this._hp_meter_red,this._hp_old_ani[0],this._battler.mhp,1,this._hp_flow[1]); - }; - this._hp_flow[1] += 1.5; - if (this._hp_flow[1] > this._hp_flow[3]) {this._hp_flow[1] = 0}; - } + if (this._hp_flow[0]) { + this.refresh_meter_flow(this._hp_meter_blue, this._battler.hp, this._battler.mhp, 0, this._hp_flow[1]); + var dif_meter = this.update_dif(this._hp_old_ani[0], this._battler.hp, 160) + if (this._hp_old_ani[0] != dif_meter) { + this._hp_old_ani[0] = dif_meter; + this.refresh_meter_flow(this._hp_meter_red, this._hp_old_ani[0], this._battler.mhp, 1, this._hp_flow[1]); + }; + this._hp_flow[1] += 1.5; + if (this._hp_flow[1] > this._hp_flow[3]) { this._hp_flow[1] = 0 }; + } else { - if (this.need_refresh_parameter(0)) { - this.refresh_meter(this._hp_meter_blue,this._battler.hp,this._battler.mhp,0); - this._hp_old = [this._battler.hp,this._battler.mhp]; + if (this.need_refresh_parameter(0)) { + this.refresh_meter(this._hp_meter_blue, this._battler.hp, this._battler.mhp, 0); + this._hp_old = [this._battler.hp, this._battler.mhp]; }; - var dif_meter = this.update_dif(this._hp_old_ani[0],this._battler.hp,160) - if (this._hp_old_ani[0] != dif_meter) {this._hp_old_ani[0] = dif_meter; - this.refresh_meter(this._hp_meter_red,this._hp_old_ani[0],this._battler.mhp,1);}; - }; - }; + var dif_meter = this.update_dif(this._hp_old_ani[0], this._battler.hp, 160) + if (this._hp_old_ani[0] != dif_meter) { + this._hp_old_ani[0] = dif_meter; + this.refresh_meter(this._hp_meter_red, this._hp_old_ani[0], this._battler.mhp, 1); + }; + }; + }; if (this._hp_number) { - var dif_number = this.update_dif(this._hp_number_old,this._battler.hp,30) - if (this._hp_number_old != dif_number) {this._hp_number_old = dif_number; - this.refresh_number(this._hp_number,this._hp_number_old,this._hp_img_data,this._hp_img_data[4],this._hp_img_data[5],0);}; + var dif_number = this.update_dif(this._hp_number_old, this._battler.hp, 30) + if (this._hp_number_old != dif_number) { + this._hp_number_old = dif_number; + this.refresh_number(this._hp_number, this._hp_number_old, this._hp_img_data, this._hp_img_data[4], this._hp_img_data[5], 0); + }; }; - if (this._maxhp_number) { - if (this._maxhp_number_old != this._battler.mhp) {this._maxhp_number_old = this._battler.mhp; - this.refresh_number(this._maxhp_number,this._maxhp_number_old,this._maxhp_img_data,this._maxhp_img_data[4],this._maxhp_img_data[5],0);}; + if (this._maxhp_number) { + if (this._maxhp_number_old != this._battler.mhp) { + this._maxhp_number_old = this._battler.mhp; + this.refresh_number(this._maxhp_number, this._maxhp_number_old, this._maxhp_img_data, this._maxhp_img_data[4], this._maxhp_img_data[5], 0); + }; }; }; //============================== // * Create MP Meter //============================== -Battle_Hud.prototype.create_mp_meter = function() { - if (String(Moghunter.bhud_mp_meter_visible) != "true") {return}; +Battle_Hud.prototype.create_mp_meter = function () { + if (String(Moghunter.bhud_mp_meter_visible) != "true") { return }; this.removeChild(this._mp_meter_blue); this.removeChild(this._mp_meter_red); - if (!this._battler) {return}; + if (!this._battler) { return }; this._mp_meter_red = new Sprite(this._mp_meter_img); this._mp_meter_red.x = this._pos_x + Moghunter.bhud_mp_meter_pos_x; this._mp_meter_red.y = this._pos_y + Moghunter.bhud_mp_meter_pos_y; this._mp_meter_red.rotation = Moghunter.bhud_mp_meter_rotation * Math.PI / 180; - this.addChild(this._mp_meter_red); + this.addChild(this._mp_meter_red); this._mp_meter_blue = new Sprite(this._mp_meter_img); this._mp_meter_blue.x = this._mp_meter_red.x; this._mp_meter_blue.y = this._mp_meter_red.y; this._mp_meter_blue.rotation = this._mp_meter_red.rotation; this.addChild(this._mp_meter_blue); - if (String(Moghunter.bhud_mp_meter_flow) === "true") {this._mp_flow[0] = true; - this._mp_flow[2] = this._mp_meter_img.width / 3; + if (String(Moghunter.bhud_mp_meter_flow) === "true") { + this._mp_flow[0] = true; + this._mp_flow[2] = this._mp_meter_img.width / 3; this._mp_flow[3] = this._mp_flow[2] * 2; this._mp_flow[1] = Math.floor(Math.random() * this._mp_flow[2]); }; @@ -3324,107 +3353,115 @@ Battle_Hud.prototype.create_mp_meter = function() { //============================== // * Create MP Number //============================== -Battle_Hud.prototype.create_mp_number = function() { - if (String(Moghunter.bhud_mp_number_visible) != "true") {return}; - if (this._mp_number) {for (var i = 0; i < this._mp_number.length; i++) {this.removeChild(this._mp_number[i]);}}; - if (!this._battler) {return}; +Battle_Hud.prototype.create_mp_number = function () { + if (String(Moghunter.bhud_mp_number_visible) != "true") { return }; + if (this._mp_number) { for (var i = 0; i < this._mp_number.length; i++) { this.removeChild(this._mp_number[i]); } }; + if (!this._battler) { return }; this._mp_number = []; - this._mp_img_data = [this._mp_number_img.width,this._mp_number_img.height, - this._mp_number_img.width / 10, this._mp_number_img.height / 2, - this._pos_x + Moghunter.bhud_mp_number_pos_x, - this._pos_y + Moghunter.bhud_mp_number_pos_y, - ]; + this._mp_img_data = [this._mp_number_img.width, this._mp_number_img.height, + this._mp_number_img.width / 10, this._mp_number_img.height / 2, + this._pos_x + Moghunter.bhud_mp_number_pos_x, + this._pos_y + Moghunter.bhud_mp_number_pos_y, + ]; for (var i = 0; i < 5; i++) { - this._mp_number[i] = new Sprite(this._mp_number_img); - this._mp_number[i].visible = false; - this._mp_number[i].x = this._mp_img_data[4]; - this._mp_number[i].y = this._mp_img_data[5] ; - this.addChild(this._mp_number[i]); - }; + this._mp_number[i] = new Sprite(this._mp_number_img); + this._mp_number[i].visible = false; + this._mp_number[i].x = this._mp_img_data[4]; + this._mp_number[i].y = this._mp_img_data[5]; + this.addChild(this._mp_number[i]); + }; this._mp_number_old = this._battler.mp; - this.refresh_number(this._mp_number,this._mp_number_old,this._mp_img_data,this._mp_img_data[4],this._mp_img_data[5],1); + this.refresh_number(this._mp_number, this._mp_number_old, this._mp_img_data, this._mp_img_data[4], this._mp_img_data[5], 1); }; //============================== // * Create MaxMP Number //============================== -Battle_Hud.prototype.create_maxmp_number = function() { - if (String(Moghunter.bhud_maxmp_number_visible) != "true") {return}; - if (this._maxmp_number) {for (var i = 0; i < this._maxmp_number.length; i++) {this.removeChild(this._maxmp_number[i]);}}; - if (!this._battler) {return}; +Battle_Hud.prototype.create_maxmp_number = function () { + if (String(Moghunter.bhud_maxmp_number_visible) != "true") { return }; + if (this._maxmp_number) { for (var i = 0; i < this._maxmp_number.length; i++) { this.removeChild(this._maxmp_number[i]); } }; + if (!this._battler) { return }; this._maxmp_number = []; - this._maxmp_img_data = [this._maxmp_number_img.width,this._maxmp_number_img.height, - this._maxmp_number_img.width / 10, this._maxmp_number_img.height / 2, - this._pos_x + Moghunter.bhud_maxmp_number_pos_x, - this._pos_y + Moghunter.bhud_maxmp_number_pos_y, - ]; + this._maxmp_img_data = [this._maxmp_number_img.width, this._maxmp_number_img.height, + this._maxmp_number_img.width / 10, this._maxmp_number_img.height / 2, + this._pos_x + Moghunter.bhud_maxmp_number_pos_x, + this._pos_y + Moghunter.bhud_maxmp_number_pos_y, + ]; for (var i = 0; i < 5; i++) { - this._maxmp_number[i] = new Sprite(this._maxmp_number_img); - this._maxmp_number[i].visible = false; - this._maxmp_number[i].x = this._maxmp_img_data[4]; - this._maxmp_number[i].y = this._maxmp_img_data[5] ; - this.addChild(this._maxmp_number[i]); - }; + this._maxmp_number[i] = new Sprite(this._maxmp_number_img); + this._maxmp_number[i].visible = false; + this._maxmp_number[i].x = this._maxmp_img_data[4]; + this._maxmp_number[i].y = this._maxmp_img_data[5]; + this.addChild(this._maxmp_number[i]); + }; this._maxmp_number_old = this._battler.mmp; - this.refresh_number(this._maxmp_number,this._maxmp_number_old,this._maxmp_img_data,this._maxmp_img_data[4],this._maxmp_img_data[5],1); + this.refresh_number(this._maxmp_number, this._maxmp_number_old, this._maxmp_img_data, this._maxmp_img_data[4], this._maxmp_img_data[5], 1); }; //============================== // * Update MP //============================== -Battle_Hud.prototype.update_mp = function() { +Battle_Hud.prototype.update_mp = function () { if (this._mp_meter_blue) { - if(this._mp_flow[0]) { - this.refresh_meter_flow(this._mp_meter_blue,this._battler.mp,this._battler.mmp,0,this._mp_flow[1]); - var dif_meter = this.update_dif(this._mp_old_ani[0],this._battler.mp,160) - if (this._mp_old_ani[0] != dif_meter) {this._mp_old_ani[0] = dif_meter; - this.refresh_meter_flow(this._mp_meter_red,this._mp_old_ani[0],this._battler.mmp,1,this._mp_flow[1]); - }; - this._mp_flow[1] += 1.5; - if (this._mp_flow[1] > this._mp_flow[3]) {this._mp_flow[1] = 0}; - } - else { + if (this._mp_flow[0]) { + this.refresh_meter_flow(this._mp_meter_blue, this._battler.mp, this._battler.mmp, 0, this._mp_flow[1]); + var dif_meter = this.update_dif(this._mp_old_ani[0], this._battler.mp, 160) + if (this._mp_old_ani[0] != dif_meter) { + this._mp_old_ani[0] = dif_meter; + this.refresh_meter_flow(this._mp_meter_red, this._mp_old_ani[0], this._battler.mmp, 1, this._mp_flow[1]); + }; + this._mp_flow[1] += 1.5; + if (this._mp_flow[1] > this._mp_flow[3]) { this._mp_flow[1] = 0 }; + } + else { if (this.need_refresh_parameter(1)) { - this.refresh_meter(this._mp_meter_blue,this._battler.mp,this._battler.mmp,0); - this._mp_old = [this._battler.mp,this._battler.mmp]; + this.refresh_meter(this._mp_meter_blue, this._battler.mp, this._battler.mmp, 0); + this._mp_old = [this._battler.mp, this._battler.mmp]; + }; + var dif_meter = this.update_dif(this._mp_old_ani[0], this._battler.mp, 160) + if (this._mp_old_ani[0] != dif_meter) { + this._mp_old_ani[0] = dif_meter; + this.refresh_meter(this._mp_meter_red, this._mp_old_ani[0], this._battler.mmp, 1); }; - var dif_meter = this.update_dif(this._mp_old_ani[0],this._battler.mp,160) - if (this._mp_old_ani[0] != dif_meter) {this._mp_old_ani[0] = dif_meter; - this.refresh_meter(this._mp_meter_red,this._mp_old_ani[0],this._battler.mmp,1);}; }; - }; + }; if (this._mp_number) { - var dif_number = this.update_dif(this._mp_number_old,this._battler.mp,30) - if (this._mp_number_old != dif_number) {this._mp_number_old = dif_number; - this.refresh_number(this._mp_number,this._mp_number_old,this._mp_img_data,this._mp_img_data[4],this._mp_img_data[5],1);}; + var dif_number = this.update_dif(this._mp_number_old, this._battler.mp, 30) + if (this._mp_number_old != dif_number) { + this._mp_number_old = dif_number; + this.refresh_number(this._mp_number, this._mp_number_old, this._mp_img_data, this._mp_img_data[4], this._mp_img_data[5], 1); + }; }; if (this._maxmp_number) { - if (this._maxmp_number_old != this._battler.mmp) {this._maxmp_number_old = this._battler.mmp; - this.refresh_number(this._maxmp_number,this._maxmp_number_old,this._maxmp_img_data,this._maxmp_img_data[4],this._maxmp_img_data[5],1);}; - }; - + if (this._maxmp_number_old != this._battler.mmp) { + this._maxmp_number_old = this._battler.mmp; + this.refresh_number(this._maxmp_number, this._maxmp_number_old, this._maxmp_img_data, this._maxmp_img_data[4], this._maxmp_img_data[5], 1); + }; + }; + }; //============================== // * Create TP Meter //============================== -Battle_Hud.prototype.create_tp_meter = function() { - if (String(Moghunter.bhud_tp_meter_visible) != "true") {return}; +Battle_Hud.prototype.create_tp_meter = function () { + if (String(Moghunter.bhud_tp_meter_visible) != "true") { return }; this.removeChild(this._tp_meter_blue); this.removeChild(this._tp_meter_red); - if (!this._battler) {return}; + if (!this._battler) { return }; this._tp_meter_red = new Sprite(this._tp_meter_img); this._tp_meter_red.x = this._pos_x + Moghunter.bhud_tp_meter_pos_x; this._tp_meter_red.y = this._pos_y + Moghunter.bhud_tp_meter_pos_y; this._tp_meter_red.rotation = Moghunter.bhud_tp_meter_rotation * Math.PI / 180; - this.addChild(this._tp_meter_red); + this.addChild(this._tp_meter_red); this._tp_meter_blue = new Sprite(this._tp_meter_img); this._tp_meter_blue.x = this._tp_meter_red.x; this._tp_meter_blue.y = this._tp_meter_red.y; this._tp_meter_blue.rotation = this._tp_meter_red.rotation; this.addChild(this._tp_meter_blue); - if (String(Moghunter.bhud_tp_meter_flow) === "true") {this._tp_flow[0] = true; - this._tp_flow[2] = this._tp_meter_img.width / 3; + if (String(Moghunter.bhud_tp_meter_flow) === "true") { + this._tp_flow[0] = true; + this._tp_flow[2] = this._tp_meter_img.width / 3; this._tp_flow[3] = this._tp_flow[2] * 2; this._tp_flow[1] = Math.floor(Math.random() * this._tp_flow[2]); }; @@ -3433,294 +3470,306 @@ Battle_Hud.prototype.create_tp_meter = function() { //============================== // * Create TP Number //============================== -Battle_Hud.prototype.create_tp_number = function() { - if (String(Moghunter.bhud_tp_number_visible) != "true") {return}; - if (this._tp_number) {for (var i = 0; i < this._tp_number.length; i++) {this.removeChild(this._tp_number[i]);}}; - if (!this._battler) {return}; +Battle_Hud.prototype.create_tp_number = function () { + if (String(Moghunter.bhud_tp_number_visible) != "true") { return }; + if (this._tp_number) { for (var i = 0; i < this._tp_number.length; i++) { this.removeChild(this._tp_number[i]); } }; + if (!this._battler) { return }; this._tp_number = []; - this._tp_img_data = [this._tp_number_img.width,this._tp_number_img.height, - this._tp_number_img.width / 10, this._tp_number_img.height / 2, - this._pos_x + Moghunter.bhud_tp_number_pos_x, - this._pos_y + Moghunter.bhud_tp_number_pos_y, - ]; + this._tp_img_data = [this._tp_number_img.width, this._tp_number_img.height, + this._tp_number_img.width / 10, this._tp_number_img.height / 2, + this._pos_x + Moghunter.bhud_tp_number_pos_x, + this._pos_y + Moghunter.bhud_tp_number_pos_y, + ]; for (var i = 0; i < 5; i++) { - this._tp_number[i] = new Sprite(this._tp_number_img); - this._tp_number[i].visible = false; - this._tp_number[i].x = this._tp_img_data[4]; + this._tp_number[i] = new Sprite(this._tp_number_img); + this._tp_number[i].visible = false; + this._tp_number[i].x = this._tp_img_data[4]; - this._tp_number[i].y = this._tp_img_data[5] ; - this.addChild(this._tp_number[i]); - }; + this._tp_number[i].y = this._tp_img_data[5]; + this.addChild(this._tp_number[i]); + }; this._tp_number_old = this._battler.tp; - this.refresh_number(this._tp_number,this._tp_number_old,this._tp_img_data,this._tp_img_data[4],this._tp_img_data[5],2); + this.refresh_number(this._tp_number, this._tp_number_old, this._tp_img_data, this._tp_img_data[4], this._tp_img_data[5], 2); }; //============================== // * Create MaxTP Number //============================== -Battle_Hud.prototype.create_maxtp_number = function() { - if (String(Moghunter.bhud_maxtp_number_visible) != "true") {return}; - if (this._maxtp_number) {for (var i = 0; i < this._maxtp_number.length; i++) {this.removeChild(this._maxtp_number[i]);}}; - if (!this._battler) {return}; +Battle_Hud.prototype.create_maxtp_number = function () { + if (String(Moghunter.bhud_maxtp_number_visible) != "true") { return }; + if (this._maxtp_number) { for (var i = 0; i < this._maxtp_number.length; i++) { this.removeChild(this._maxtp_number[i]); } }; + if (!this._battler) { return }; this._maxtp_number = []; - this._maxtp_img_data = [this._maxtp_number_img.width,this._maxtp_number_img.height, - this._maxtp_number_img.width / 10, this._maxtp_number_img.height / 2, - this._pos_x + Moghunter.bhud_maxtp_number_pos_x, - this._pos_y + Moghunter.bhud_maxtp_number_pos_y, - ]; + this._maxtp_img_data = [this._maxtp_number_img.width, this._maxtp_number_img.height, + this._maxtp_number_img.width / 10, this._maxtp_number_img.height / 2, + this._pos_x + Moghunter.bhud_maxtp_number_pos_x, + this._pos_y + Moghunter.bhud_maxtp_number_pos_y, + ]; for (var i = 0; i < 5; i++) { - this._maxtp_number[i] = new Sprite(this._maxtp_number_img); - this._maxtp_number[i].visible = false; - this._maxtp_number[i].x = this._maxtp_img_data[4]; - this._maxtp_number[i].y = this._maxtp_img_data[5] ; - this.addChild(this._maxtp_number[i]); - }; + this._maxtp_number[i] = new Sprite(this._maxtp_number_img); + this._maxtp_number[i].visible = false; + this._maxtp_number[i].x = this._maxtp_img_data[4]; + this._maxtp_number[i].y = this._maxtp_img_data[5]; + this.addChild(this._maxtp_number[i]); + }; this._maxtp_number_old = this._battler.maxTp(); - this.refresh_number(this._maxtp_number,this._maxtp_number_old,this._maxtp_img_data,this._maxtp_img_data[4],this._maxtp_img_data[5],2); + this.refresh_number(this._maxtp_number, this._maxtp_number_old, this._maxtp_img_data, this._maxtp_img_data[4], this._maxtp_img_data[5], 2); }; //============================== // * Update TP //============================== -Battle_Hud.prototype.update_tp = function() { +Battle_Hud.prototype.update_tp = function () { if (this._tp_meter_blue) { - if(this._tp_flow[0]) { - this.refresh_meter_flow(this._tp_meter_blue,this._battler.tp,this._battler.maxTp(),0,this._tp_flow[1]); - var dif_meter = this.update_dif(this._tp_old_ani[0],this._battler.tp,160) - if (this._tp_old_ani[0] != dif_meter) {this._tp_old_ani[0] = dif_meter; - this.refresh_meter_flow(this._tp_meter_red,this._tp_old_ani[0],this._battler.maxTp(),1,this._tp_flow[1]); - }; - this._tp_flow[1] += 1.5; - if (this._tp_flow[1] > this._tp_flow[3]) {this._tp_flow[1] = 0}; - } - else { + if (this._tp_flow[0]) { + this.refresh_meter_flow(this._tp_meter_blue, this._battler.tp, this._battler.maxTp(), 0, this._tp_flow[1]); + var dif_meter = this.update_dif(this._tp_old_ani[0], this._battler.tp, 160) + if (this._tp_old_ani[0] != dif_meter) { + this._tp_old_ani[0] = dif_meter; + this.refresh_meter_flow(this._tp_meter_red, this._tp_old_ani[0], this._battler.maxTp(), 1, this._tp_flow[1]); + }; + this._tp_flow[1] += 1.5; + if (this._tp_flow[1] > this._tp_flow[3]) { this._tp_flow[1] = 0 }; + } + else { if (this.need_refresh_parameter(2)) { - this.refresh_meter(this._tp_meter_blue,this._battler.tp,this._battler.maxTp(),0); - this._tp_old = [this._battler.tp,this._battler.maxTp()]; + this.refresh_meter(this._tp_meter_blue, this._battler.tp, this._battler.maxTp(), 0); + this._tp_old = [this._battler.tp, this._battler.maxTp()]; + }; + var dif_meter = this.update_dif(this._tp_old_ani[0], this._battler.tp, 160) + if (this._tp_old_ani[0] != dif_meter) { + this._tp_old_ani[0] = dif_meter; + this.refresh_meter(this._tp_meter_red, this._tp_old_ani[0], this._battler.maxTp(), 1); }; - var dif_meter = this.update_dif(this._tp_old_ani[0],this._battler.tp,160) - if (this._tp_old_ani[0] != dif_meter) {this._tp_old_ani[0] = dif_meter; - this.refresh_meter(this._tp_meter_red,this._tp_old_ani[0],this._battler.maxTp(),1);}; + }; }; - }; if (this._tp_number) { - var dif_number = this.update_dif(this._tp_number_old,this._battler.tp,30) - if (this._tp_number_old != dif_number) {this._tp_number_old = dif_number; - this.refresh_number(this._tp_number,this._tp_number_old,this._tp_img_data,this._tp_img_data[4],this._tp_img_data[5],2);}; + var dif_number = this.update_dif(this._tp_number_old, this._battler.tp, 30) + if (this._tp_number_old != dif_number) { + this._tp_number_old = dif_number; + this.refresh_number(this._tp_number, this._tp_number_old, this._tp_img_data, this._tp_img_data[4], this._tp_img_data[5], 2); + }; }; }; //============================== // * Create AT Meter //============================== -Battle_Hud.prototype.create_at_meter = function() { - if (String(Moghunter.bhud_at_meter_visible) != "true") {return}; +Battle_Hud.prototype.create_at_meter = function () { + if (String(Moghunter.bhud_at_meter_visible) != "true") { return }; this.removeChild(this._at_meter); - if (!this._battler) {return}; + if (!this._battler) { return }; this._at_meter = new Sprite(this._at_meter_img); this._at_meter.x = this._pos_x + Moghunter.bhud_at_meter_pos_x; this._at_meter.y = this._pos_y + Moghunter.bhud_at_meter_pos_y; - this._at_meter.rotation = Moghunter.bhud_at_meter_rotation * Math.PI / 180; - this.addChild(this._at_meter); - if (String(Moghunter.bhud_at_meter_flow) === "true") {this._at_flow[0] = true; - this._at_flow[2] = this._at_meter_img.width / 3; + this._at_meter.rotation = Moghunter.bhud_at_meter_rotation * Math.PI / 180; + this.addChild(this._at_meter); + if (String(Moghunter.bhud_at_meter_flow) === "true") { + this._at_flow[0] = true; + this._at_flow[2] = this._at_meter_img.width / 3; this._at_flow[3] = this._at_flow[2] * 2; this._at_flow[1] = Math.floor(Math.random() * this._at_flow[2]); }; - this.check_compatibility_atb(); + this.check_compatibility_atb(); }; //============================== // * Check Compatibility ATB //============================== -Battle_Hud.prototype.check_compatibility_atb = function() { +Battle_Hud.prototype.check_compatibility_atb = function () { if (Imported.Ellye_ATB) { - var parameters = $plugins.filter(function(p) { - return p.description.contains(''); - })[0].parameters; - this._ellye_max_atb = Number(parameters['Full ATB Gauge'] || 50000); + var parameters = $plugins.filter(function (p) { + return p.description.contains(''); + })[0].parameters; + this._ellye_max_atb = Number(parameters['Full ATB Gauge'] || 50000); }; }; //============================== // * Update AT //============================== -Battle_Hud.prototype.update_at = function() { +Battle_Hud.prototype.update_at = function () { if (this._at_meter) { - if (!this.at === -1) {this._at_meter.visible = false; return} - else {this._at_meter.visible = true}; - if(this._at_flow[0]) { - if (this.is_casting()){ - if (this.is_max_cast()){ - this.refresh_at_meter_flow(this._at_meter,this.cast_at(),this.cast_max_at(),3,this._at_flow[1]);} + if (!this.at === -1) { this._at_meter.visible = false; return } + else { this._at_meter.visible = true }; + if (this._at_flow[0]) { + if (this.is_casting()) { + if (this.is_max_cast()) { + this.refresh_at_meter_flow(this._at_meter, this.cast_at(), this.cast_max_at(), 3, this._at_flow[1]); + } else { - this.refresh_at_meter_flow(this._at_meter,this.cast_at(),this.cast_max_at(),2,this._at_flow[1]); + this.refresh_at_meter_flow(this._at_meter, this.cast_at(), this.cast_max_at(), 2, this._at_flow[1]); }; } - else if (this.is_max_at()){ - this.refresh_at_meter_flow(this._at_meter,this.at(),this.max_at(),1,this._at_flow[1]);} + else if (this.is_max_at()) { + this.refresh_at_meter_flow(this._at_meter, this.at(), this.max_at(), 1, this._at_flow[1]); + } else { - this.refresh_at_meter_flow(this._at_meter,this.at(),this.max_at(),0,this._at_flow[1]);}; - - this._at_flow[1] += 1.5; - if (this._at_flow[1] > this._at_flow[3]) {this._at_flow[1] = 0}; - } - else { - if (this.is_casting()){ - if (this.is_max_cast()){ - this.refresh_at_meter(this._at_meter,this.cast_at(),this.cast_max_at(),3);} + this.refresh_at_meter_flow(this._at_meter, this.at(), this.max_at(), 0, this._at_flow[1]); + }; + + this._at_flow[1] += 1.5; + if (this._at_flow[1] > this._at_flow[3]) { this._at_flow[1] = 0 }; + } + else { + if (this.is_casting()) { + if (this.is_max_cast()) { + this.refresh_at_meter(this._at_meter, this.cast_at(), this.cast_max_at(), 3); + } else { - this.refresh_at_meter(this._at_meter,this.cast_at(),this.cast_max_at(),2); + this.refresh_at_meter(this._at_meter, this.cast_at(), this.cast_max_at(), 2); }; } - else if (this.is_max_at()){ - this.refresh_at_meter(this._at_meter,this.at(),this.max_at(),1);} + else if (this.is_max_at()) { + this.refresh_at_meter(this._at_meter, this.at(), this.max_at(), 1); + } else { - this.refresh_at_meter(this._at_meter,this.at(),this.max_at(),0);}; + this.refresh_at_meter(this._at_meter, this.at(), this.max_at(), 0); + }; }; - }; + }; }; //============================== // * Refresh AT Meter //============================== -Battle_Hud.prototype.refresh_at_meter = function(sprite,value,value_max,type) { +Battle_Hud.prototype.refresh_at_meter = function (sprite, value, value_max, type) { var ch = sprite.bitmap.height / 4; - var meter_rate = sprite.bitmap.width * value / value_max; - sprite.setFrame(0,type * ch, meter_rate, ch); + var meter_rate = sprite.bitmap.width * value / value_max; + sprite.setFrame(0, type * ch, meter_rate, ch); }; //============================== // * Refresh AT Meter Flow //============================== -Battle_Hud.prototype.refresh_at_meter_flow = function(sprite,value,value_max,type,flow) { +Battle_Hud.prototype.refresh_at_meter_flow = function (sprite, value, value_max, type, flow) { var cw = sprite.bitmap.width / 3; var ch = sprite.bitmap.height / 4; - var meter_rate = cw * value / value_max; - sprite.setFrame(flow,type * ch, meter_rate, ch); + var meter_rate = cw * value / value_max; + sprite.setFrame(flow, type * ch, meter_rate, ch); }; //============================== // * At //============================== -Battle_Hud.prototype.at = function() { - if (Imported.MOG_ATB) {return this._battler._atb}; - if (Imported.Ellye_ATB) {return this._battler.atb}; - if (Imported.YEP_X_BattleSysATB) {return Math.abs(this._battler._atbSpeed)}; - if (Imported['VE - Active Time Battle']) { - return this._battler.maxAtb - this._battler.atb; - }; - if (this._battler._ras && $gameSystem.isChronoMode()) { - return this._battler._chrono.atb; - }; - return -1; +Battle_Hud.prototype.at = function () { + if (Imported.MOG_ATB) { return this._battler._atb }; + if (Imported.Ellye_ATB) { return this._battler.atb }; + if (Imported.YEP_X_BattleSysATB) { return Math.abs(this._battler._atbSpeed) }; + if (Imported['VE - Active Time Battle']) { + return this._battler.maxAtb - this._battler.atb; + }; + if (this._battler._ras && $gameSystem.isChronoMode()) { + return this._battler._chrono.atb; + }; + return -1; } //============================== // * Max At //============================== -Battle_Hud.prototype.max_at = function() { - if (Imported.MOG_ATB) {return this._battler._max_atb}; - if (Imported.Ellye_ATB) {return this._ellye_max_atb}; - if (Imported.YEP_X_BattleSysATB) {return Math.abs(BattleManager._atbTarget)}; - if (Imported['VE - Active Time Battle']) {return this._battler.maxAtb}; - if (this._battler._ras && $gameSystem.isChronoMode()) { - return this._battler._chrono.maxAtb; - }; - return 1; +Battle_Hud.prototype.max_at = function () { + if (Imported.MOG_ATB) { return this._battler._max_atb }; + if (Imported.Ellye_ATB) { return this._ellye_max_atb }; + if (Imported.YEP_X_BattleSysATB) { return Math.abs(BattleManager._atbTarget) }; + if (Imported['VE - Active Time Battle']) { return this._battler.maxAtb }; + if (this._battler._ras && $gameSystem.isChronoMode()) { + return this._battler._chrono.maxAtb; + }; + return 1; }; //============================== // * Cast AT //============================== -Battle_Hud.prototype.cast_at = function() { - if (Imported.MOG_ATB) {return this._battler._cast_atb[1]}; - if (Imported.Ellye_ATB) {return this._battler.current_cast_atb}; - if (Imported.YEP_X_BattleSysATB) {return Math.abs(this._battler._atbCharge)}; - if (Imported['VE - Active Time Battle']) { - return this._battler.maxAtb - this._battler.atb; - }; - if (this._battler._ras && $gameSystem.isChronoMode()) { - return this._battler._ras.cast.duration; - }; - return 0; +Battle_Hud.prototype.cast_at = function () { + if (Imported.MOG_ATB) { return this._battler._cast_atb[1] }; + if (Imported.Ellye_ATB) { return this._battler.current_cast_atb }; + if (Imported.YEP_X_BattleSysATB) { return Math.abs(this._battler._atbCharge) }; + if (Imported['VE - Active Time Battle']) { + return this._battler.maxAtb - this._battler.atb; + }; + if (this._battler._ras && $gameSystem.isChronoMode()) { + return this._battler._ras.cast.duration; + }; + return 0; }; //============================== // * Cast Max AT //============================== -Battle_Hud.prototype.cast_max_at = function() { - if (Imported.MOG_ATB) {return this._battler._cast_atb[2]}; - if (Imported.Ellye_ATB) {return this._battler.target_cast_atb}; - if (Imported.YEP_X_BattleSysATB) {return Math.abs(BattleManager._atbCharge)}; - if (Imported['VE - Active Time Battle']) {return this._battler.maxAtb}; - if (this._battler._ras && $gameSystem.isChronoMode()) { - return this._battler._ras.cast.maxDuration; - }; - return 1; +Battle_Hud.prototype.cast_max_at = function () { + if (Imported.MOG_ATB) { return this._battler._cast_atb[2] }; + if (Imported.Ellye_ATB) { return this._battler.target_cast_atb }; + if (Imported.YEP_X_BattleSysATB) { return Math.abs(BattleManager._atbCharge) }; + if (Imported['VE - Active Time Battle']) { return this._battler.maxAtb }; + if (this._battler._ras && $gameSystem.isChronoMode()) { + return this._battler._ras.cast.maxDuration; + }; + return 1; }; //============================== // * Is Casting //============================== -Battle_Hud.prototype.is_casting = function() { - if (Imported.MOG_ATB) {if (this._battler._cast_atb[0]) {return true;}}; - if (Imported.Ellye_ATB) {if (this._battler.casting_action) {return true;}}; - if (Imported.YEP_X_BattleSysATB) {if (this._battler._atbCharging) {return true;}} ; - if (Imported['VE - Active Time Battle']) {return this._battler.isAtbCast()}; - if (this._battler._chrono && $gameSystem.isChronoMode()) { - return this._battler.isCastingC(); - }; - return false; +Battle_Hud.prototype.is_casting = function () { + if (Imported.MOG_ATB) { if (this._battler._cast_atb[0]) { return true; } }; + if (Imported.Ellye_ATB) { if (this._battler.casting_action) { return true; } }; + if (Imported.YEP_X_BattleSysATB) { if (this._battler._atbCharging) { return true; } }; + if (Imported['VE - Active Time Battle']) { return this._battler.isAtbCast() }; + if (this._battler._chrono && $gameSystem.isChronoMode()) { + return this._battler.isCastingC(); + }; + return false; }; //============================== // * Is Max Atb //============================== -Battle_Hud.prototype.is_max_at = function() { +Battle_Hud.prototype.is_max_at = function () { return this.at() >= this.max_at(); }; //============================== // * Is Max Cast //============================== -Battle_Hud.prototype.is_max_cast = function() { +Battle_Hud.prototype.is_max_cast = function () { return this.cast_at() >= this.cast_max_at(); }; //============================== // * Create States //============================== -Battle_Hud.prototype.create_states = function() { - if (String(Moghunter.bhud_states_visible) != "true") {return}; +Battle_Hud.prototype.create_states = function () { + if (String(Moghunter.bhud_states_visible) != "true") { return }; this.removeChild(this._state_icon); - if (!this._battler) {return}; - this._states_data = [0,0,0]; + if (!this._battler) { return }; + this._states_data = [0, 0, 0]; this._state_icon = new Sprite(this._state_img); this._state_icon.x = this._pos_x + Moghunter.bhud_states_pos_x; this._state_icon.y = this._pos_y + Moghunter.bhud_states_pos_y; this._state_icon.visible = false; this.addChild(this._state_icon); - this.refresh_states(); + this.refresh_states(); }; //============================== // * Create States //============================== -Battle_Hud.prototype.refresh_states = function() { +Battle_Hud.prototype.refresh_states = function () { this._states_data[0] = 0; this._states_data[2] = 0; this._state_icon.visible = false; - if (this._battler.allIcons().length == 0) {this._states_data[1] = 0;return}; - if (this._battler.allIcons()[this._states_data[1]]) { + if (this._battler.allIcons().length == 0) { this._states_data[1] = 0; return }; + if (this._battler.allIcons()[this._states_data[1]]) { this._states_data[0] = this._battler.allIcons()[this._states_data[1]]; this._state_icon.visible = true; var sx = this._states_data[0] % 16 * 32; var sy = Math.floor(this._states_data[0] / 16) * 32; this._state_icon.setFrame(sx, sy, 32, 32); - this._battler.need_refresh_bhud_states = false; - - }; + this._battler.need_refresh_bhud_states = false; + + }; this._states_data[1] += 1; if (this._states_data[1] >= this._battler.allIcons().length) { this._states_data[1] = 0 @@ -3730,82 +3779,82 @@ Battle_Hud.prototype.refresh_states = function() { //============================== // * Update States //============================== -Battle_Hud.prototype.update_states = function() { +Battle_Hud.prototype.update_states = function () { this._states_data[2] += 1; - if (this.need_refresh_states()) {this.refresh_states();}; + if (this.need_refresh_states()) { this.refresh_states(); }; }; //============================== // * Need Refresh States //============================== -Battle_Hud.prototype.need_refresh_states = function() { - if (this._battler.need_refresh_bhud_states) {return true}; - if (this._states_data[2] > 60) {return true}; +Battle_Hud.prototype.need_refresh_states = function () { + if (this._battler.need_refresh_bhud_states) { return true }; + if (this._states_data[2] > 60) { return true }; return false; }; //============================== // * Create States 2 //============================== -Battle_Hud.prototype.create_states2 = function() { - if (String(Moghunter.bhud_states_visible) != "true") {return}; +Battle_Hud.prototype.create_states2 = function () { + if (String(Moghunter.bhud_states_visible) != "true") { return }; this.removeChild(this._state_icon); - if (!this._battler) {return}; - this._states_data = [0,0,0]; + if (!this._battler) { return }; + this._states_data = [0, 0, 0]; this._stateIcons = []; this._state_icon = new Sprite(); this._state_icon.x = this._pos_x + Moghunter.bhud_states_pos_x; this._state_icon.y = this._pos_y + Moghunter.bhud_states_pos_y; - this._state_icon.visible = false; + this._state_icon.visible = false; this.addChild(this._state_icon); - this.refresh_states2(); + this.refresh_states2(); }; //============================== // * Create States //============================== -Battle_Hud.prototype.refresh_states2 = function() { +Battle_Hud.prototype.refresh_states2 = function () { this._state_icon.visible = false; this._battler.need_refresh_bhud_states = false; - for (i = 0; i < this._stateIcons.length; i++){ + for (i = 0; i < this._stateIcons.length; i++) { this._state_icon.removeChild(this._stateIcons[i]); - }; - if (this._battler.allIcons().length == 0) {return}; + }; + if (this._battler.allIcons().length == 0) { return }; this._state_icon.visible = true; this._stateIcons = []; var w = Window_Base._iconWidth; - var icons = this._battler.allIcons().slice(0,w); - var m = Math.min(Math.max(this._battler.allIcons().length,0),Moghunter.bhud_statesMax); + var icons = this._battler.allIcons().slice(0, w); + var m = Math.min(Math.max(this._battler.allIcons().length, 0), Moghunter.bhud_statesMax); var align = Moghunter.bhud_statesAlign; - for (i = 0; i < m; i++){ - this._stateIcons[i] = new Sprite(this._state_img); - var sx = icons[i] % 16 * w; - var sy = Math.floor(icons[i] / 16) * w; - this._stateIcons[i].setFrame(sx, sy, w, w); - if (align === 1) { - this._stateIcons[i].x = -((w + 4) * i); - } else if (align === 2) { - this._stateIcons[i].y = (w + 4) * i; - } else if (align === 3) { - this._stateIcons[i].y = -((w + 4) * i); - } else { - this._stateIcons[i].x = (w + 4) * i; - }; - this._state_icon.addChild(this._stateIcons[i]); + for (i = 0; i < m; i++) { + this._stateIcons[i] = new Sprite(this._state_img); + var sx = icons[i] % 16 * w; + var sy = Math.floor(icons[i] / 16) * w; + this._stateIcons[i].setFrame(sx, sy, w, w); + if (align === 1) { + this._stateIcons[i].x = -((w + 4) * i); + } else if (align === 2) { + this._stateIcons[i].y = (w + 4) * i; + } else if (align === 3) { + this._stateIcons[i].y = -((w + 4) * i); + } else { + this._stateIcons[i].x = (w + 4) * i; + }; + this._state_icon.addChild(this._stateIcons[i]); }; }; //============================== // * Update States 2 //============================== -Battle_Hud.prototype.update_states2 = function() { - if (this.need_refresh_states2()) {this.refresh_states2();}; +Battle_Hud.prototype.update_states2 = function () { + if (this.need_refresh_states2()) { this.refresh_states2(); }; }; //============================== // * Need Refresh States 2 //============================== -Battle_Hud.prototype.need_refresh_states2 = function() { - if (this._battler.need_refresh_bhud_states) {return true}; +Battle_Hud.prototype.need_refresh_states2 = function () { + if (this._battler.need_refresh_bhud_states) { return true }; return false; }; \ No newline at end of file diff --git a/js/plugins/SF_SkipLoadError.js b/js/plugins/SF_SkipLoadError.js index 9da16c0..5ae111b 100644 --- a/js/plugins/SF_SkipLoadError.js +++ b/js/plugins/SF_SkipLoadError.js @@ -92,7 +92,7 @@ var SF_Plugins = SF_Plugins || {}; if (this._errorPrinter && !this._errorShowed && SF_SkipLoadError.FileLoadErrorList.indexOf(url) === -1) { SceneManager.stop(); if (this._errorPrinter.innerHTML !== "") { - tempht = this._errorPrinter.innerHTML.match(/(.*)<\/font>/i)[1] + "
"; + let tempht = this._errorPrinter.innerHTML.match(/(.*)<\/font>/i)[1] + "
"; this._errorPrinter.innerHTML = '' + '文件加载失败,请上报问题附带截图:' + '
' + '' + tempht + 'Failed to load: ' + url + '
'; } else {