MZ Need help changing this part of the core script

Have no idea what i'm doing here, so I need help changing this part of the core script in game objects
I want to make the amount of TP one gains from value either 0 or 1, not sure which yet. Already changed the max value of TP to a low number to make this work, but i'm sure if i touch this without knowing what i'm doing the script will break. so someone help please? thanks in advance

Game_Battler.prototype.gainTp = function(value) {
this._result.tpDamage = -value;
this.setTp(this.tp + value);
};
I think that is the wrong place to change, because "value" is set before that function is entered.
you should search for the place where that function is called and change the value there, especially if you are not sure if you want to replace it with 0 or 1.
Thanks @Andar i think you saved me from f'ing something up. I'll do that, and post here again if needed or ask for the thread to be closed if i find a solution

Original thread: https://forums.rpgmakerweb.com/threads/need-help-changing-this-part-of-the-core-script.132381/