Russian: Update translation
This commit is contained in:
parent
812ee7c419
commit
fc698e46d6
273 changed files with 11864 additions and 623486 deletions
|
@ -64,11 +64,10 @@ Game_Interpreter.prototype.placeTool = function() {
|
|||
}
|
||||
}
|
||||
this.checkHardwareOrganization();
|
||||
/*
|
||||
console.log("Current Shelf: " + $gameVariables.value(812),
|
||||
"Index: " + $gameVariables.value(814),
|
||||
"Selected Item: " + $gameVariables.value(815),
|
||||
"Currently Held Item: " + $gameVariables.value(813));*/
|
||||
// console.log("Current Shelf: " + $gameVariables.value(812),
|
||||
// "Index: " + $gameVariables.value(814),
|
||||
// "Selected Item: " + $gameVariables.value(815),
|
||||
// "Currently Held Item: " + $gameVariables.value(813));
|
||||
}
|
||||
|
||||
Game_Interpreter.prototype.replaceTool = function() {
|
||||
|
@ -81,10 +80,10 @@ Game_Interpreter.prototype.replaceTool = function() {
|
|||
else if ($gameVariables.value(813) === LanguageManager.getMessageData("farawaytown_extras_hardwareminigame.message_7").text) $gameSystem.shelves[shelf][$gameVariables.value(814)] = 6;
|
||||
else if ($gameVariables.value(813) === LanguageManager.getMessageData("farawaytown_extras_hardwareminigame.message_8").text) $gameSystem.shelves[shelf][$gameVariables.value(814)] = 7;
|
||||
this.checkHardwareOrganization();
|
||||
/*console.log("REPLACING " + "Current Shelf: " + $gameVariables.value(812),
|
||||
"Index: " + $gameVariables.value(814),
|
||||
"Selected Item: " + $gameVariables.value(815),
|
||||
"Currently Held Item: " + $gameVariables.value(813));*/
|
||||
// console.log("REPLACING " + "Current Shelf: " + $gameVariables.value(812),
|
||||
// "Index: " + $gameVariables.value(814),
|
||||
// "Selected Item: " + $gameVariables.value(815),
|
||||
// "Currently Held Item: " + $gameVariables.value(813));
|
||||
}
|
||||
|
||||
Game_Interpreter.prototype.returnTool = function() {
|
||||
|
@ -221,11 +220,8 @@ Game_Character.prototype.getToolGraphic = function (shelfItem) {
|
|||
//=============================================================================
|
||||
var yin_WindowChoiceList_callOkHandlerShop = Window_ChoiceList.prototype.callOkHandler;
|
||||
Window_ChoiceList.prototype.callOkHandler = function () {
|
||||
const loc_yes = LanguageManager.getMessageData("XX_GENERAL.message_4").text
|
||||
const loc_no = LanguageManager.getMessageData("XX_GENERAL.message_5").text
|
||||
const nevermind = LanguageManager.getMessageData("farawaytown_extras_pizzaminigame.message_17").text
|
||||
if ($gameSwitches.value(804) && this._list[this.index()].name !== loc_yes && this._list[this.index()].name !== loc_no) {
|
||||
if (this._list[this.index()].name === nevermind) {
|
||||
if ($gameSwitches.value(804) && this._list[this.index()].name !== "YES" && this._list[this.index()].name !== "NO") {
|
||||
if (this._list[this.index()].name == "NEVERMIND") {
|
||||
$gameMap._interpreter.command115();
|
||||
} else {
|
||||
$gameVariables.setValue(814, this.index());
|
||||
|
@ -244,3 +240,19 @@ Window_ChoiceList.prototype.numVisibleRows = function () {
|
|||
}
|
||||
return yin_WindowChoiceList_numVisibleRowsHardware.call(this);
|
||||
};
|
||||
|
||||
// Override new code from 1.0.8 for OMORI 1.0.7 and lower.
|
||||
Window_ChoiceList.prototype.callOkHandler = function () {
|
||||
const loc_yes = LanguageManager.getMessageData("XX_GENERAL.message_4").text
|
||||
const loc_no = LanguageManager.getMessageData("XX_GENERAL.message_5").text
|
||||
const nevermind = LanguageManager.getMessageData("farawaytown_extras_pizzaminigame.message_17").text
|
||||
if ($gameSwitches.value(804) && this._list[this.index()].name !== loc_yes && this._list[this.index()].name !== loc_no) {
|
||||
if (this._list[this.index()].name === nevermind) {
|
||||
$gameMap._interpreter.command115();
|
||||
} else {
|
||||
$gameVariables.setValue(814, this.index());
|
||||
$gameVariables.setValue(815, this._list[this.index()].name);
|
||||
}
|
||||
}
|
||||
yin_WindowChoiceList_callOkHandlerShop.call(this);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue