MV Unique Enemy Names JS Override (A, B, C, D)

Hi, I just came back to a project after a hiatus and my MV updated and it reset
the edits I made to the .js to remove the "unique enemy names (A,B,C,D) etc for duplicate battlers

Now for the life of me I cannot figure out how I got rid of them the first time.

I've removed " this.makeUniqueNames() " line from rpg_objects.js
I've Atom checked all mods for additional lines; and nothing so I'm sure its this file.

I've and have tried https://forums.rpgmakerweb.com/index.php?threads/removing-a-b-c-from-enemy-name.96736/
adding a return to before Game_Troop.prototype.makeUniqueNames and/or Game_Enemy.prototype.name but doesn't seem to anything and larger edits just crash me when trying to boot a test battle.



Could someone share a script that could be added as a plugin that would override the additional letter name add to duplicate battlers, please?

Very many thanks.

Apologies if this is the incorrect place to post this request.
i think you only need to overwrite the Game_Troop.prototype.makeUniqueNames
to make it do nothing.
Code:
Game_Troop.prototype.makeUniqueNames = function() {
 
};

or you can also overwrite the Game_Enemy.prototype.name
to return original name (without plural)
Code:
Game_Enemy.prototype.name = function() {
    return this.originalName();
};
hope this help
I have that function in my TF plugin, not updated though, but it works nice.
duplicates name with A, B, C, D, E looks weird.

still need to update my plugin for it, but keep forgetting it 😛
because it seems usefull though =)
Thanks y'all,
All use the above info to hopefully change this to a plugin so I don't get this overwritten again.


Not sure if this helps any of you but with making or editing a plugins you have that do this function but I finally fixed it after some fiddling by removing: this.makeUniqueNames()

and

Then under this line changing the to = n + 0;

Game_Troop.prototype.makeUniqueNames = function() {
var table = this.letterTable();
this.members().forEach(function(enemy) {
if (enemy.isAlive() && enemy.isLetterEmpty()) {
var name = enemy.originalName();
var n = this._namesCount[name] || 0;
enemy.setLetter(table[n % table.length]);
this._namesCount[name] = n + 1;

I'm not great with reading JS but I think this is just preventing the function from using the letter table and that: n = 0 I think is preventing the counting of duplicate names so they all get the original name.

Original thread: https://forums.rpgmakerweb.com/threads/unique-enemy-names-js-override-a-b-c-d.130709/