Adding Params to Menu with AltMenu2

I'm trying to edit the script in the AltMenuScreen2 that was bundled by Kadokawa in order to have attack, defense, etc in the main menu but i keep getting errors, primarily "param is undefined".

Also if somebody could help me to include the location info that would be nice too

The snippet i tried modifying is below

[Original Script] [My additions]  Window_MenuStatus.prototype.drawItemStatus = function(index) {        if(!isDisplayStatus){            return;        }        var actor = $gameParty.members()[index];        var rect = this.itemRectForText(index);        var x = rect.x;        var y = rect.y;        var width = rect.width;        var bottom = y + rect.height;        var lineHeight = this.lineHeight();        this.drawActorName(actor, x, y + lineHeight * 0, width);        //this.drawActorLevel(actor, x, y + lineHeight * 1, width);        //this.drawActorClass(actor, x, bottom - lineHeight * 4, width);        this.drawActorHp(actor, x, bottom - lineHeight * 4, width);       // this.drawActorMp(actor, x, bottom - lineHeight * 2, width);        this.drawActorIcons(actor, x, bottom - lineHeight * 1, width);        this.drawActor.param(2)(actor, x, bottom - lineHeight * 2, width);//        this.drawText(TextManager.param(2), actor, x, bottom - lineHeight * 2, width);//        this.drawText(this._actor.param(2), actor, x, bottom - lineHeight * 2, width 'right');    };Here is the console

Spoiler
230accdb5cf1613b9b48eb27a9c29e0b.png

Original thread: https://forums.rpgmakerweb.com/threads/adding-params-to-menu-with-altmenu2.50206/