diff --git a/www/data/CommonEvents.json b/www/data/CommonEvents.json index febcff6..4484a93 100644 --- a/www/data/CommonEvents.json +++ b/www/data/CommonEvents.json @@ -341198,7 +341198,7 @@ "code": 355, "indent": 2, "parameters": [ - "var version = \"【ver1.03】\"" + "var version = \"【ver1.06】\"" ] }, { @@ -341247,7 +341247,7 @@ "code": 355, "indent": 3, "parameters": [ - "var version = \"【ver1.03】\"" + "var version = \"【ver1.06】\"" ] }, { @@ -341285,7 +341285,7 @@ "code": 355, "indent": 3, "parameters": [ - "var version = \"【ver1.03】\"" + "var version = \"【ver1.06】\"" ] }, { diff --git a/www/data/Map039.json b/www/data/Map039.json index 3d42a45..6136042 100644 --- a/www/data/Map039.json +++ b/www/data/Map039.json @@ -684,6 +684,41 @@ "parameters": [ "$gameVariables._data[16] = level" ] + }, + { + "code": 655, + "indent": 2, + "parameters": [ + "if (Array.isArray($gameVariables._data[663][23])) {" + ] + }, + { + "code": 655, + "indent": 2, + "parameters": [ + " for (var i = 0; i < 8; i++) {" + ] + }, + { + "code": 655, + "indent": 2, + "parameters": [ + " $gameActors.actor(1).addParam(i, $gameVariables._data[663][23][i]);" + ] + }, + { + "code": 655, + "indent": 2, + "parameters": [ + " }" + ] + }, + { + "code": 655, + "indent": 2, + "parameters": [ + "}" + ] }, { "code": 101, @@ -699,7 +734,7 @@ "code": 401, "indent": 2, "parameters": [ - "\\>\\C[1][!]\\C[0]Carried over clear data level (Lv.1 →\nLv.\\V[16])" + "\\>\\C[1][!]\\C[0]Carried over level & stats from clear data\n(Lv.1 → Lv.\\V[16])" ] }, { @@ -934,6 +969,95 @@ "indent": 2, "parameters": [] }, + { + "code": 412, + "indent": 1, + "parameters": [] + }, + { + "code": 111, + "indent": 1, + "parameters": [ + 12, + "$gameVariables._data[663][22] !== undefined && $gameVariables._data[663][22][0] >= 1" + ] + }, + { + "code": 250, + "indent": 2, + "parameters": [ + { + "name": "Chime1", + "volume": 90, + "pitch": 100, + "pan": 0 + } + ] + }, + { + "code": 355, + "indent": 2, + "parameters": [ + "var itemIds = [362, 363, 364, 367, 368, 369, 372, 373, 374, 377, 378, 379, 382, 383, 384];" + ] + }, + { + "code": 655, + "indent": 2, + "parameters": [ + "" + ] + }, + { + "code": 655, + "indent": 2, + "parameters": [ + "itemIds.forEach(function(itemId, index) {" + ] + }, + { + "code": 655, + "indent": 2, + "parameters": [ + " var restoredAmount = $gameVariables._data[663][22][index]; " + ] + }, + { + "code": 655, + "indent": 2, + "parameters": [ + " $gameParty.gainItem($dataItems[itemId], restoredAmount);" + ] + }, + { + "code": 655, + "indent": 2, + "parameters": [ + "});" + ] + }, + { + "code": 101, + "indent": 2, + "parameters": [ + "", + 0, + 0, + 2 + ] + }, + { + "code": 401, + "indent": 2, + "parameters": [ + "\\>\\C[1][!]\\C[0]Carried over special move materials from clear data.\n\\>   \\fs[16]\\C[16]*Materials spent when obtaining the moves have also\nbeen added back to your inventory." + ] + }, + { + "code": 0, + "indent": 2, + "parameters": [] + }, { "code": 412, "indent": 1, @@ -1003,6 +1127,28 @@ "parameters": [ "\\>Carried over clear data ero status." ] + }, + { + "code": 122, + "indent": 2, + "parameters": [ + 116, + 116, + 0, + 0, + 0 + ] + }, + { + "code": 122, + "indent": 2, + "parameters": [ + 114, + 114, + 0, + 0, + 0 + ] }, { "code": 0, @@ -2876,6 +3022,29 @@ 0, 30 ] + }, + { + "code": 311, + "indent": 1, + "parameters": [ + 0, + 1, + 0, + 0, + 9999, + false + ] + }, + { + "code": 312, + "indent": 1, + "parameters": [ + 0, + 1, + 0, + 0, + 9999 + ] }, { "code": 0, diff --git a/www/data/Map065.json b/www/data/Map065.json index d6f03a6..d4c215a 100644 --- a/www/data/Map065.json +++ b/www/data/Map065.json @@ -225633,7 +225633,7 @@ "code": 401, "indent": 0, "parameters": [ - "\\>Level carryover is currently ON." + "\\>Level & stats carryover is currently ON." ] }, { @@ -225650,7 +225650,7 @@ "code": 401, "indent": 0, "parameters": [ - "\\>Do you want to disable level carryover?" + "\\>Do you want to disable level & stats carryover?\n\\>\\fs[16]\\C[16]* \"Stats\" here refers to stats obtained via\nitems / shrines etc." ] }, { @@ -225689,6 +225689,20 @@ "parameters": [ "$gameVariables._data[663][0] = -1" ] + }, + { + "code": 655, + "indent": 1, + "parameters": [ + "if (!Array.isArray($gameVariables._data[663][22])) $gameVariables._data[663][22] = Array(15).fill(0);" + ] + }, + { + "code": 655, + "indent": 1, + "parameters": [ + "$gameVariables._data[663][23] = Array.isArray($gameVariables._data[663][23]) ? $gameVariables._data[663][23].map(() => 0) : Array(8).fill(0);" + ] }, { "code": 655, @@ -225711,7 +225725,7 @@ "code": 401, "indent": 1, "parameters": [ - "\\>Levels will no longer carry over to the second\nplaythrough." + "\\>Levels & stats will no longer carry over to the second\nplaythrough." ] }, { @@ -225809,7 +225823,7 @@ "code": 401, "indent": 0, "parameters": [ - "\\>Level carryover is currently set to OFF." + "\\>Level & stats carryover is currently set to OFF." ] }, { @@ -225826,7 +225840,7 @@ "code": 401, "indent": 0, "parameters": [ - "\\>Would you like to carry over your level?" + "\\>Would you like to carry over your level & stats?\n\\>\\fs[16]\\C[16]* \"Stats\" here refers to stats obtained via\nitems / shrines etc." ] }, { @@ -225865,10 +225879,87 @@ "parameters": [ "$gameVariables._data[663][0] = $gameActors.actor(1).level" ] + }, + { + "code": 355, + "indent": 1, + "parameters": [ + "var actor = $gameActors.actor(1);" + ] }, { "code": 655, "indent": 1, + "parameters": [ + "var pureStats = [actor.paramBase(0),actor.paramBase(1),actor.paramBase(2),$gameActors.actor(1).paramBase(3),actor.paramBase(4),actor.paramBase(5),actor.paramBase(6),actor.paramBase(7)]" + ] + }, + { + "code": 655, + "indent": 1, + "parameters": [ + "var equipStatusWithoutEffect = [0, 1, 2, 3, 4, 5, 6, 7].map(function(i) {" + ] + }, + { + "code": 655, + "indent": 1, + "parameters": [ + " var equipBonus = 0;" + ] + }, + { + "code": 655, + "indent": 1, + "parameters": [ + " actor.equips().forEach(function(equip) {" + ] + }, + { + "code": 655, + "indent": 1, + "parameters": [ + " if (equip)equipBonus += equip.params[i];" + ] + }, + { + "code": 655, + "indent": 1, + "parameters": [ + " });" + ] + }, + { + "code": 655, + "indent": 1, + "parameters": [ + " return actor.param(i) - equipBonus; " + ] + }, + { + "code": 655, + "indent": 1, + "parameters": [ + "});" + ] + }, + { + "code": 655, + "indent": 1, + "parameters": [ + "var dopingEffect = equipStatusWithoutEffect.map(function(param, index) {return param - pureStats[index];});" + ] + }, + { + "code": 655, + "indent": 1, + "parameters": [ + "$gameVariables._data[663][23] = dopingEffect" + ] + }, + { + "code": 355, + "indent": 1, "parameters": [ "console.log($gameVariables._data[663])" ] @@ -225887,7 +225978,7 @@ "code": 401, "indent": 1, "parameters": [ - "\\>Your level will now carry over to the second playthrough." + "\\>Your level & stats will now carry over to the second\nplaythrough." ] }, { @@ -226989,7 +227080,7 @@ "code": 401, "indent": 0, "parameters": [ - "\\>SP carryover is currently ON." + "\\>SP & special move materials carryover is currently ON." ] }, { @@ -227006,7 +227097,7 @@ "code": 401, "indent": 0, "parameters": [ - "\\>Do you want to disable SP carryover?" + "\\>Do you want to disable SP & special move materials\ncarryover?" ] }, { @@ -227045,6 +227136,13 @@ "parameters": [ "$gameVariables._data[663][3] = -1" ] + }, + { + "code": 655, + "indent": 1, + "parameters": [ + "$gameVariables._data[663][22] = Array.isArray($gameVariables._data[663][22]) ? $gameVariables._data[663][22].map(() => 0) : Array(15).fill(0);" + ] }, { "code": 655, @@ -227067,7 +227165,7 @@ "code": 401, "indent": 1, "parameters": [ - "\\>SP will no longer carry over to the second playthrough." + "\\>SP & special move materials will no longer carry over\nto the second playthrough." ] }, { @@ -227165,7 +227263,7 @@ "code": 401, "indent": 0, "parameters": [ - "\\>SP carryover is currently set to OFF." + "\\>SP & special move materials carryover is currently\nset to OFF." ] }, { @@ -227182,7 +227280,7 @@ "code": 401, "indent": 0, "parameters": [ - "\\>Would you like to carry over SP?" + "\\>Would you like to carry over SP & special move materials?" ] }, { @@ -227284,10 +227382,94 @@ "parameters": [ "$gameVariables._data[663][3] +=totalSkillPointsUsed" ] + }, + { + "code": 355, + "indent": 1, + "parameters": [ + "var newData = [];" + ] }, { "code": 655, "indent": 1, + "parameters": [ + "var sums = [0, 1, 3, 6, 10, 15]; // 総和の配列(1から5まで)" + ] + }, + { + "code": 655, + "indent": 1, + "parameters": [ + "[132, 133, 134, 135, 136].forEach(function(v, i) {" + ] + }, + { + "code": 655, + "indent": 1, + "parameters": [ + " for (var j = 0; j < 3; j++) {" + ] + }, + { + "code": 655, + "indent": 1, + "parameters": [ + " var itemId = 362 + i * 5 + j;" + ] + }, + { + "code": 655, + "indent": 1, + "parameters": [ + " var amount = $gameParty.numItems($dataItems[itemId]) + (sums[$gameVariables.value(v)] || 0);" + ] + }, + { + "code": 655, + "indent": 1, + "parameters": [ + " newData.push(amount);" + ] + }, + { + "code": 655, + "indent": 1, + "parameters": [ + " }" + ] + }, + { + "code": 655, + "indent": 1, + "parameters": [ + "});" + ] + }, + { + "code": 655, + "indent": 1, + "parameters": [ + "$gameVariables._data[663] = $gameVariables._data[663] || [];" + ] + }, + { + "code": 655, + "indent": 1, + "parameters": [ + "while ($gameVariables._data[663].length < 23) $gameVariables._data[663].push(null);" + ] + }, + { + "code": 655, + "indent": 1, + "parameters": [ + "$gameVariables._data[663][22] = newData;" + ] + }, + { + "code": 355, + "indent": 1, "parameters": [ "console.log($gameVariables._data[663])" ] @@ -227306,7 +227488,7 @@ "code": 401, "indent": 1, "parameters": [ - "\\>SP will now be carried over to your second playthrough.\n\\>\\fs[16]*Both your current SP and the amount spent on\nskills will be carried over." + "\\>SP & special move materials will now be carried over\nto your second playthrough.\n\\>\\fs[16]*Both your current SP and the amount spent on\nskills will be carried over.\n\\>\\fs[16]*Your currently owned materials and the materials you've\nspent to unlock moves will both be carried over." ] }, { @@ -228587,10 +228769,171 @@ "parameters": [ "$gameVariables._data[663][3] +=totalSkillPointsUsed" ] + }, + { + "code": 355, + "indent": 0, + "parameters": [ + "var newData = [];" + ] }, { "code": 655, "indent": 0, + "parameters": [ + "var sums = [0, 1, 3, 6, 10, 15]; // 総和の配列(1から5まで)" + ] + }, + { + "code": 655, + "indent": 0, + "parameters": [ + "[132, 133, 134, 135, 136].forEach(function(v, i) {" + ] + }, + { + "code": 655, + "indent": 0, + "parameters": [ + " for (var j = 0; j < 3; j++) {" + ] + }, + { + "code": 655, + "indent": 0, + "parameters": [ + " var itemId = 362 + i * 5 + j;" + ] + }, + { + "code": 655, + "indent": 0, + "parameters": [ + " var amount = $gameParty.numItems($dataItems[itemId]) + (sums[$gameVariables.value(v)] || 0);" + ] + }, + { + "code": 655, + "indent": 0, + "parameters": [ + " newData.push(amount);" + ] + }, + { + "code": 655, + "indent": 0, + "parameters": [ + " }" + ] + }, + { + "code": 655, + "indent": 0, + "parameters": [ + "});" + ] + }, + { + "code": 655, + "indent": 0, + "parameters": [ + "$gameVariables._data[663] = $gameVariables._data[663] || [];" + ] + }, + { + "code": 655, + "indent": 0, + "parameters": [ + "while ($gameVariables._data[663].length < 23) $gameVariables._data[663].push(null);" + ] + }, + { + "code": 655, + "indent": 0, + "parameters": [ + "$gameVariables._data[663][22] = newData;" + ] + }, + { + "code": 355, + "indent": 0, + "parameters": [ + "var actor = $gameActors.actor(1);" + ] + }, + { + "code": 655, + "indent": 0, + "parameters": [ + "var pureStats = [actor.paramBase(0),actor.paramBase(1),actor.paramBase(2),$gameActors.actor(1).paramBase(3),actor.paramBase(4),actor.paramBase(5),actor.paramBase(6),actor.paramBase(7)]" + ] + }, + { + "code": 655, + "indent": 0, + "parameters": [ + "var equipStatusWithoutEffect = [0, 1, 2, 3, 4, 5, 6, 7].map(function(i) {" + ] + }, + { + "code": 655, + "indent": 0, + "parameters": [ + " var equipBonus = 0;" + ] + }, + { + "code": 655, + "indent": 0, + "parameters": [ + " actor.equips().forEach(function(equip) {" + ] + }, + { + "code": 655, + "indent": 0, + "parameters": [ + " if (equip)equipBonus += equip.params[i];" + ] + }, + { + "code": 655, + "indent": 0, + "parameters": [ + " });" + ] + }, + { + "code": 655, + "indent": 0, + "parameters": [ + " return actor.param(i) - equipBonus; " + ] + }, + { + "code": 655, + "indent": 0, + "parameters": [ + "});" + ] + }, + { + "code": 655, + "indent": 0, + "parameters": [ + "var dopingEffect = equipStatusWithoutEffect.map(function(param, index) {return param - pureStats[index];});" + ] + }, + { + "code": 655, + "indent": 0, + "parameters": [ + "$gameVariables._data[663][23] = dopingEffect" + ] + }, + { + "code": 355, + "indent": 0, "parameters": [ "console.log($gameVariables._data[663])" ] diff --git a/www/data/Map164.json b/www/data/Map164.json index c8a8213..c0e5653 100644 --- a/www/data/Map164.json +++ b/www/data/Map164.json @@ -54254,7 +54254,7 @@ "code": 401, "indent": 1, "parameters": [ - "\\n\"Haa... haa... If I don't want this bitch to get fucked by\nother guys, I have to keep fucking her myself...♡\"" + "\\n\"Haa... haa... If I don't want this bitch to get fucked by\nother guys, I have to keep fucking her myself...♡\"" ] }, { diff --git a/www/data/Map262.json b/www/data/Map262.json index 5476dfa..1616979 100644 --- a/www/data/Map262.json +++ b/www/data/Map262.json @@ -19541,7 +19541,7 @@ "directionFix": true, "image": { "tileId": 0, - "characterName": "よく使う奴", + "characterName": "!Flame", "direction": 8, "pattern": 1, "characterIndex": 7 diff --git a/www/data/System.json b/www/data/System.json index 3c859d4..71f99a5 100644 --- a/www/data/System.json +++ b/www/data/System.json @@ -133,7 +133,7 @@ "Accessory [Demon World]", "Accessory [Demon World]" ], - "gameTitle": "v1.02a | TL: DazedAnon & O&M [Skip Speech Bubble: Z | Erase Message: Shift | Skip Text: CTRL | Backlog: PageUp | Restart: F5]", + "gameTitle": "v1.06 | TL: DazedAnon & O&M [Skip Speech Bubble: Z | Erase Message: Shift | Skip Text: CTRL | Backlog: PageUp | Restart: F5]", "gameoverMe": { "name": "Gameover1", "pan": 0, @@ -2494,7 +2494,7 @@ "", "" ], - "versionId": 94921720, + "versionId": 95455793, "victoryMe": { "name": "[Battle]Win1", "pan": 0, diff --git a/www/js/plugins/MW_CallScript.js b/www/js/plugins/MW_CallScript.js index e505e18..d10964e 100644 --- a/www/js/plugins/MW_CallScript.js +++ b/www/js/plugins/MW_CallScript.js @@ -2414,19 +2414,19 @@ id = 2928;//就寝イベ後、ポスターに出るやつ }else if(35<=$gameVariables.value(297) && $gameVariables.value(297)<40 && $gameSwitches.value(883)){ if(id == 0)id = 2960; - }else if($gameVariables.value(297)<100 && $gameSwitches.value(885)){ + }else if($gameVariables.value(297)==40 && $gameSwitches.value(883)){ + id = 2928; + }else if(50<=$gameVariables.value(297) && $gameVariables.value(297)<100 && $gameSwitches.value(885)){ id = 2928; }else if($gameVariables.value(297)<110){ //id = 0; - }else if($gameVariables.value(297)<140 && $gameSwitches.value(887)){ + }else if(110<=$gameVariables.value(297) && $gameVariables.value(297)<140 && $gameSwitches.value(887)){ if(id == 0)id = 2960; - }else if($gameVariables.value(297)<150 && $gameSwitches.value(887)){ + }else if(140<=$gameVariables.value(297) && $gameVariables.value(297)<150 && $gameSwitches.value(887)){ id = 2928; - }else if($gameVariables.value(297)<160 && $gameSwitches.value(889)){ + }else if(150<=$gameVariables.value(297) && $gameVariables.value(297)<200 && $gameSwitches.value(889)){ id = 2928; - }else if($gameVariables.value(297)<200 && $gameSwitches.value(889)){ - id = 2928; - }else if($gameVariables.value(297)<240 && $gameSwitches.value(891)){ + }else if(200<=$gameVariables.value(297) && $gameVariables.value(297)<240 && $gameSwitches.value(891)){ if(id == 0)id = 2960; } } diff --git a/www/js/plugins/SZLimitEquip.js b/www/js/plugins/SZLimitEquip.js index 361e8e8..13a1515 100644 --- a/www/js/plugins/SZLimitEquip.js +++ b/www/js/plugins/SZLimitEquip.js @@ -127,7 +127,7 @@ } // ブラックリスト制御を追加 - if ($gameSwitches.value(toggleSwitch) && blacklist.includes(item.id)) { + if (item.etypeId==2 && $gameSwitches.value(toggleSwitch) && blacklist.includes(item.id)) { return false; } diff --git a/www/js/plugins/SaveFileLoadOnly.js b/www/js/plugins/SaveFileLoadOnly.js new file mode 100644 index 0000000..58c65a7 --- /dev/null +++ b/www/js/plugins/SaveFileLoadOnly.js @@ -0,0 +1,143 @@ +//============================================================================= +// SaveFileLoadOnly.js +// ---------------------------------------------------------------------------- +// Copyright (c) 2015-2017 Triacontane +// This software is released under the MIT License. +// http://opensource.org/licenses/mit-license.php +// ---------------------------------------------------------------------------- +// Version +// 1.0.0 2017/08/09 初版 +// ---------------------------------------------------------------------------- +// [Blog] : https://triacontane.blogspot.jp/ +// [Twitter]: https://twitter.com/triacontane/ +// [GitHub] : https://github.com/triacontane/ +//============================================================================= + +/*: + * @plugindesc SaveFileLoadOnlyPlugin + * @author triacontane + * + * @help SaveFileLoadOnly.js + * + * 特定のセーブファイルを読み取り専用にできます。 + * セーブができないので、作者側であらかじめセーブファイルを用意してください。 + * + * パラメータでロード専用条件を指定します。 + * 指定例: + * fileId === 1 # ファイルID[1]を読み取り専用にします。 + * fileId === \v[1] # ファイルID[変数[1]の値]を読み取り専用にします。 + * fileId >= 1 && fileId <= 3 # ファイルID[1-3]を読み取り専用にします。 + * + * このプラグインにはプラグインコマンドはありません。 + * + * This plugin is released under the MIT License. + */ +/*:ja + * @plugindesc セーブファイルのロード専用化プラグイン + * @author トリアコンタン + * + * @param ロード専用条件 + * @desc ロード専用対象の判定式です。制御文字\v[n]が使用できます。 + * @default fileId === 1 + * + * @param ロード専用アイコンID + * @desc セーブファイルウィンドウで、ロード専用ファイルにのみ描画されるアイコンIDです。 + * @default 195 + * @type number + * + * @help SaveFileLoadOnly.js + * + * 特定のセーブファイルを読み取り専用にできます。 + * パラメータでロード専用条件を指定してください。指定には計算式が使えます。 + * 指定例: + * fileId === 1 # ファイルID[1]を読み取り専用にします。 + * fileId === \v[1] # ファイルID[変数[1]の値]を読み取り専用にします。 + * fileId >= 1 && fileId <= 3 # ファイルID[1-3]を読み取り専用にします。 + * + * このプラグインにはプラグインコマンドはありません。 + * + * 利用規約: + * 作者に無断で改変、再配布が可能で、利用形態(商用、18禁利用等) + * についても制限はありません。 + * このプラグインはもうあなたのものです。 + */ + +(function() { + 'use strict'; + var pluginName = 'SaveFileLoadOnly'; + + //============================================================================= + // ローカル関数 + // プラグインパラメータやプラグインコマンドパラメータの整形やチェックをします + //============================================================================= + var getParamString = function(paramNames) { + if (!Array.isArray(paramNames)) paramNames = [paramNames]; + for (var i = 0; i < paramNames.length; i++) { + var name = PluginManager.parameters(pluginName)[paramNames[i]]; + if (name) return name; + } + return ''; + }; + + var getParamNumber = function(paramNames, min, max) { + var value = getParamString(paramNames); + if (arguments.length < 2) min = -Infinity; + if (arguments.length < 3) max = Infinity; + return (parseInt(value) || 0).clamp(min, max); + }; + + var convertEscapeCharacters = function(text) { + if (isNotAString(text)) text = ''; + var windowLayer = SceneManager._scene._windowLayer; + return windowLayer ? windowLayer.children[0].convertEscapeCharacters(text) : text; + }; + + var isNotAString = function(args) { + return String(args) !== args; + }; + + //============================================================================= + // パラメータの取得と整形 + //============================================================================= + var param = {}; + param.conditionRoadOnly = getParamString(['ConditionRoadOnly', 'ロード専用条件']); + param.roadOnlyIconId = getParamNumber(['RoadOnlyIconId', 'ロード専用アイコンID'], 0); + + //============================================================================= + // Window_SavefileList + // ロード専用ファイルの判定を追加定義します。 + //============================================================================= + var _Window_SavefileList_isCurrentItemEnabled = Window_SavefileList.prototype.isCurrentItemEnabled; + Window_SavefileList.prototype.isCurrentItemEnabled = function() { + return _Window_SavefileList_isCurrentItemEnabled.apply(this, arguments) && !this.isCurrentItemLoadOnly(); + }; + + Window_SavefileList.prototype.isCurrentItemLoadOnly = function() { + return this.isModeSave() && this.isLoadOnly(this._index + 1); + }; + + Window_SavefileList.prototype.isLoadOnly = function(fileId) { + var conditionFormula = convertEscapeCharacters(param.conditionRoadOnly); + var result; + try { + result = !!eval(conditionFormula); + } catch (e) { + console.error(e.toString()); + throw new Error('Failed To Execute Script :' + conditionFormula); + } + return result; + }; + + var _Window_SavefileList_drawFileId = Window_SavefileList.prototype.drawFileId; + Window_SavefileList.prototype.drawFileId = function(id, x, y) { + _Window_SavefileList_drawFileId.apply(this, arguments); + if (this.isLoadOnly(id) && param.roadOnlyIconId > 0) { + this.drawIcon(param.roadOnlyIconId, x + 188 - Window_Base._iconWidth, y + 2); + } + }; + + Window_SavefileList.prototype.isModeSave = function() { + return this._mode === 'save'; + }; +})(); +