YEP Party (Removing the 'Remove' actor from Party List?)

I am trying to figure out how to clean up the Party List in Yanfly's Party System scene. That is, somehow getting rid of "Remove" in the actual list. It shows up at the top and bottom of the list. I sort of understand why one might have it this way, but it's kind of getting on my nerves. Haha.

Note that I don't want to get rid of the function in the command window, just the "actor" slots that appear in the Party List window.

Example:



In terms of function, it seems to make sense. And it's a wonderful plugin. However, cosmetically? It feels somewhat redundant and seems to muddy up an otherwise neat list of available party members. I have figured out how to comment out where it draws the text for 'Remove' in the party list, but the empty slots still function the same way. Truth is, I could probably live with this but... would anyone know if there is a way to accomplish what I am attempting here?

I did a search and found an older topic related to this, but... well...

https://forums.rpgmakerweb.com/inde...ty-system-removing-the-remove-commands.74789/

I mean, to be fair, I think I'm trying to do something slightly different anyway. 🙂
@Twisted Crow Here is a quick edit of the plugin to remove the 'Removes'.
Yo! Nice. Works like a charm! Been slowly learning my Javascript but I'm still very green.

My thanks! 🙂
@Twisted Crow Ah, well, then for your information here are the sections that were removed :

Code:
// Line 1080 ~ 1084
Window_PartyList.prototype.makeItemList = function() {
    this._data = [0];  // Removed '0' item from array
    this.createActorOrder();
    this._data.push(0);  // Removed this line
};

Code:
// Line 1104 ~ 1119
Window_PartyList.prototype.drawItem = function(index) {
    var actor = $gameActors.actor(this._data[index]);
    if (actor) {
      var bitmap = ImageManager.loadCharacter(actor.characterName());
      if (bitmap.width <= 0) {
        return setTimeout(this.drawItem.bind(this, index), 5);
      }
    }
    this.clearItem(index);
    var rect = this.itemRect(index);
    if (this._data[index] === 0) {  // Removed the entire if statement
      this.drawRemove(rect);
      return;
    }  // End of Remove
    this.drawActor(actor, rect);
};

The 'makeItemList ' function of 'Window_PartyList' added in a '0' item at the first and last position of the '_data' function. A portion of the 'drawItem' function then creates the 'Remove' list item whenever the '0' item is encountered. Technically you only need to remove code from the 'makeItemList' function for the 'Remove' items to be ... removed. However, I snipped the code from the 'drawItem' function, as well.

Original thread: https://forums.rpgmakerweb.com/threads/yep-party-removing-the-remove-actor-from-party-list.114103/