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);
};