@Trihan maybe you would be better to start updating the thread and add "How to expose your variable to global window" because your example in your thread suit best for my example as of "you can not patch someone's plugin without directly edit the file" 😛
Because with IIFE is on the way, I could not make an overwrite patch that does an edit like from this
to this (a separate file plugin that must be placed directly below the plugin)
Because
There was never been a problem like this in RGSS.
Because many people would refer to your tutorial when it comes to plugin making. And not sure if they would bother to read the comments.
Because with IIFE is on the way, I could not make an overwrite patch that does an edit like from this
Code:
Scene_Map.prototype.createAllWindows = function() {
_Scene_Map_createAllWindows.call(this);
this.createMinimapWindow();
};
Code:
Scene_Map.prototype.createAllWindows = function() {
_Scene_Map_createAllWindows.call(this);
do_something_in_between()
this.createMinimapWindow();
};
_Scene_Map_createAllWindows is private in IIFE.There was never been a problem like this in RGSS.
Because many people would refer to your tutorial when it comes to plugin making. And not sure if they would bother to read the comments.