MV Trying to change text color in a plugin

Im using moghunter battle result plugin to show parameter changes when a party member level up. Everything works great but I wanna change the color of the new parameters. I tried with the changeTextColor function but that is not working, just an error popup. Can you help me with this? Please...

JavaScript:
//==============================
// * Create Parameters
//==============================
BattleResult.prototype.createParameters = function() {
    var x = Moghunter.bresult_par1_x;
    var y = Moghunter.bresult_par1_y;
    this._par = new Sprite(new Bitmap(Graphics.boxWidth,Graphics.boxHeight));
    this._par.opacity = 0;
    this._par.bitmap.drawText(this._actopar[0],x,y,100,32);
    this._par.bitmap.drawText(this._actopar[1],x,y + 32 * 1,100,32);
    this._par.bitmap.drawText(this._actopar[2],x,y + 32 * 2,100,32);
    this._par.bitmap.drawText(this._actopar[3],x,y + 32 * 3,100,32);
    this._par.bitmap.drawText(this._actopar[4],x,y + 32 * 4,100,32);   
    this._par.bitmap.drawText(this._actopar[5],x,y + 32 * 5,100,32);
    this._par.bitmap.drawText(this._actopar[6],x,y + 32 * 6,100,32);
    this._par.bitmap.drawText(this._actopar[7],x,y + 32 * 7,100,32);
    this._par.bitmap.drawText(this._actopar[8],x,y + 32 * 8,100,32);
    var x = Moghunter.bresult_par2_x;
    var y = Moghunter.bresult_par2_y;   
    this._par.bitmap.drawText(this._actor._level,x,y,100,32);
    this._par.bitmap.drawText(this._actor.mhp,x,y + 32 * 1,100,32);
    this._par.bitmap.drawText(this._actor.mmp,x,y + 32 * 2,100,32);
    this._par.bitmap.drawText(this._actor.atk,x,y + 32 * 3,100,32);
    this._par.bitmap.drawText(this._actor.def,x,y + 32 * 4,100,32);   
    this._par.bitmap.drawText(this._actor.mat,x,y + 32 * 5,100,32);
    this._par.bitmap.drawText(this._actor.mdf,x,y + 32 * 6,100,32);
    this._par.bitmap.drawText(this._actor.agi,x,y + 32 * 7,100,32);
    this._par.bitmap.drawText(this._actor.luk,x,y + 32 * 8,100,32);   
    this.addChild(this._par);
};
use this.changeTextColor(this.textColor(5)) instead and it does work.
make sure you use this.resetTextColor(); before or after if you use more
colors afterwards.
use this.changeTextColor(this.textColor(5)) instead and it does work.
make sure you use this.resetTextColor(); before or after if you use more
colors afterwards.
Its not working, I get this message error... Am I doing something wrong?

error.jpg
It seems mog's battle result is a sprite so there's no such method.
So you can just change the textcolor of the bitmap directly or try to use text color from a certain window. For example:

this._par.bitmap.textColor = 'rgb(255,0,0)';
It seems mog's battle result is a sprite so there's no such method.
So you can just change the textcolor of the bitmap directly or try to use text color from a certain window. For example:

this._par.bitmap.textColor = 'rgb(255,0,0)';
Thanks, that is working perfectly!

Original thread: https://forums.rpgmakerweb.com/threads/trying-to-change-text-color-in-a-plugin.174385/