- Joined
- Sep 14, 2019
- Messages
- 59
- Reaction score
- 25
- First Language
- Korean
- Primarily Uses
- RMMV
I've been making changes in the window.js file to make my save screen look a little different.
How can I change the text I've highlighted red?
I don't want any change in font or size, I just want to write something else like "Memories" or "Record your memories" instead of "Save to which file?".
There is my window.js file below the picture.
[ code ]

[ code ]
// Window_SavefileList
//
// The window for selecting a save file on the save and load screens.
function Window_SavefileList() {
this.initialize.apply(this, arguments);
}
Window_SavefileList.prototype = Object.create(Window_Selectable.prototype);
Window_SavefileList.prototype.constructor = Window_SavefileList;
Window_SavefileList.prototype.initialize = function(x, y, width, height) {
Window_Selectable.prototype.initialize.call(this, x, y, width, height);
this.activate();
this._mode = null;
};
Window_SavefileList.prototype.setMode = function(mode) {
this._mode = mode;
};
Window_SavefileList.prototype.maxItems = function() {
return DataManager.maxSavefiles();
};
Window_SavefileList.prototype.maxVisibleItems = function() {
return 3;
};
Window_SavefileList.prototype.itemHeight = function() {
var innerHeight = this.height - this.padding * 2;
return Math.floor(innerHeight / this.maxVisibleItems());
};
Window_SavefileList.prototype.drawItem = function(index) {
var id = index + 1;
var valid = DataManager.isThisGameFile(id);
var info = DataManager.loadSavefileInfo(id);
var rect = this.itemRectForText(index);
this.resetTextColor();
if (this._mode === 'load') {
this.changePaintOpacity(valid);
}
this.drawFileId(id, rect.x, rect.y + 20);
if (info) {
this.changePaintOpacity(valid);
this.drawContents(info, rect, valid);
this.changePaintOpacity(true);
}
};
Window_SavefileList.prototype.drawFileId = function(id, x, y) {
this.drawText(id + '번째 기억', x, y, 180);
};
Window_SavefileList.prototype.drawContents = function(info, rect, valid) {
var bottom = rect.y + rect.height;
if (rect.width >= 420) {
this.drawGameTitle(info, rect.x + 192, rect.y, rect.width - 192);
if (valid) {
this.drawPartyCharacters(info, rect.x + 220, bottom - 35);
}
}
var lineHeight = this.lineHeight();
var y2 = bottom - lineHeight;
if (y2 >= lineHeight) {
this.drawPlaytime(info, rect.x, y2 - 100, rect.width);
}
};
Window_SavefileList.prototype.drawGameTitle = function(info, x, y, width) {
if (info.title) {
this.drawText(info.title, x, y, width);
}
};
Window_SavefileList.prototype.drawPartyCharacters = function(info, x, y) {
if (info.characters) {
for (var i = 0; i < info.characters.length; i++) {
var data = info.characters;
this.drawCharacter(data[0], data[1], x + i * 48, y);
}
}
};
Window_SavefileList.prototype.drawPlaytime = function(info, x, y, width) {
if (info.playtime) {
this.drawText(info.playtime, x, y, width, 'right');
}
};
Window_SavefileList.prototype.playOkSound = function() {
};
[/ code]
How can I change the text I've highlighted red?
I don't want any change in font or size, I just want to write something else like "Memories" or "Record your memories" instead of "Save to which file?".
There is my window.js file below the picture.
[ code ]

[ code ]
// Window_SavefileList
//
// The window for selecting a save file on the save and load screens.
function Window_SavefileList() {
this.initialize.apply(this, arguments);
}
Window_SavefileList.prototype = Object.create(Window_Selectable.prototype);
Window_SavefileList.prototype.constructor = Window_SavefileList;
Window_SavefileList.prototype.initialize = function(x, y, width, height) {
Window_Selectable.prototype.initialize.call(this, x, y, width, height);
this.activate();
this._mode = null;
};
Window_SavefileList.prototype.setMode = function(mode) {
this._mode = mode;
};
Window_SavefileList.prototype.maxItems = function() {
return DataManager.maxSavefiles();
};
Window_SavefileList.prototype.maxVisibleItems = function() {
return 3;
};
Window_SavefileList.prototype.itemHeight = function() {
var innerHeight = this.height - this.padding * 2;
return Math.floor(innerHeight / this.maxVisibleItems());
};
Window_SavefileList.prototype.drawItem = function(index) {
var id = index + 1;
var valid = DataManager.isThisGameFile(id);
var info = DataManager.loadSavefileInfo(id);
var rect = this.itemRectForText(index);
this.resetTextColor();
if (this._mode === 'load') {
this.changePaintOpacity(valid);
}
this.drawFileId(id, rect.x, rect.y + 20);
if (info) {
this.changePaintOpacity(valid);
this.drawContents(info, rect, valid);
this.changePaintOpacity(true);
}
};
Window_SavefileList.prototype.drawFileId = function(id, x, y) {
this.drawText(id + '번째 기억', x, y, 180);
};
Window_SavefileList.prototype.drawContents = function(info, rect, valid) {
var bottom = rect.y + rect.height;
if (rect.width >= 420) {
this.drawGameTitle(info, rect.x + 192, rect.y, rect.width - 192);
if (valid) {
this.drawPartyCharacters(info, rect.x + 220, bottom - 35);
}
}
var lineHeight = this.lineHeight();
var y2 = bottom - lineHeight;
if (y2 >= lineHeight) {
this.drawPlaytime(info, rect.x, y2 - 100, rect.width);
}
};
Window_SavefileList.prototype.drawGameTitle = function(info, x, y, width) {
if (info.title) {
this.drawText(info.title, x, y, width);
}
};
Window_SavefileList.prototype.drawPartyCharacters = function(info, x, y) {
if (info.characters) {
for (var i = 0; i < info.characters.length; i++) {
var data = info.characters;
this.drawCharacter(data[0], data[1], x + i * 48, y);
}
}
};
Window_SavefileList.prototype.drawPlaytime = function(info, x, y, width) {
if (info.playtime) {
this.drawText(info.playtime, x, y, width, 'right');
}
};
Window_SavefileList.prototype.playOkSound = function() {
};
[/ code]
Last edited:
