this feels like it should be a simple fix but i cannot figure it out, whenever i try to overwrite a function that returns a value it doesn't do anything and never runs. specifically i wanted to change the max columns of the battleStatus window like so:
Scene_Battle.prototype.maxCols = function() {
console.log('why do i not work');
return 2;
};
this however doesn't get called since nothing gets printed to the console. i've disabled all other plugins and even removed all other functions and it still did nothing. looked at multiple other plugins and tutorials and they all seem to do it this way so i don't know what i'm missing. i've done this with many other functions and it only ever works if they don't return anything.
Scene_Battle.prototype.maxCols = function() {
console.log('why do i not work');
return 2;
};
this however doesn't get called since nothing gets printed to the console. i've disabled all other plugins and even removed all other functions and it still did nothing. looked at multiple other plugins and tutorials and they all seem to do it this way so i don't know what i'm missing. i've done this with many other functions and it only ever works if they don't return anything.