Code:
//=============================================================================
// myWindowPlugin.js
//=============================================================================
/*:
* @plugindesc Gives the Player the option to change how the windows look.
*/
//this is the function that needs to be adjustable.
//plan: change 'Window' to a variable called wind
//add an option that lets the player adjust var wind.
(function myWindow() {
var wind = 'Holz'
Window_Base.prototype.loadWindowskin = function() {
this.windowskin = ImageManager.loadSystem(wind);
}
})();
1. The first Window, that says "New Game", "Load Game" and "Options" has a very dark font. After entering another Window the font turns back to white (as it should be).
My guess: the hue of the windowbox paints over the font, until the game properly reloads how windows are displayed.
2. I use a Plugin called "Olivia_StateTooltipDisplay" which I bought, so I can't share it and unfortunately its code is a oneliner without spaces, so I can't figure out, why it still uses the default "window.png".
The "SRD_WindowSkinOption"-Plugin does not have both of my issues, but it is incompatible with the "Yanly options core", that I am using.
it adjusts:
Window_Base.prototype.update
Window_Base.prototype.initialize
ConfigManager.applyData
ConfigManager.makeData
confusingly, it does not adjust the "Window_Base.prototype.loadWindowskin" function.
I tried fixing my issue for about 4 hours now, but I just can not figure out how.