Remove A,B,C,D... In enemy names

I'm looking for the line in .js that put up the alphabetical letters when targeting an enemy.


Those letters appear when there are multiple of the same enemy and it just doesn't have any use to me expect confusing the player.


I was able to find it back in Ace but I can't seem to find it in MV.
rpg_objects.js under Game_Troop.prototype.setup - just comment out the line that says this.makeUniqueNames()


It's line 5235 in my 1.3.1 unmodified scripts.
rpg_objects.js under Game_Troop.prototype.setup - just comment out the line that says this.makeUniqueNames()


It's line 5235 in my 1.3.1 unmodified scripts.

Removing the line in Objects didn't worked but I'm sure it's because there is a plugin somewhere that override the method.


Thanks for the help, I'll try to find the right plugin.
If it didn't work, yeah, it means there's probably a plugin that rewrites that function.


You can either do a global search (control + shift + F in Atom editor) for makeUniqueNames and see what other plugins call it.  Or you could just search for Game_Troop.prototype.makeUniqueNames and whenever you find it, insert return; prior to the first line of the function.  This means it'll still be called, but it won't actually do anything.
Nice, l instantly found out 4 methods using this, 3 in objects and 1 in a custom plugin.


I removed all of them and it worked.


Thanks for showing me this program, l wasn't aware you could do that.
I realize this is an old thread, and not trying to highjack
But I keep finding this thread when trying to find the solution to this issue. The option above does not fix it for me alone and it is not due to another mod overwrite.

I found this other line Game_Troop.prototype.makeUniqueNames which is referenced in another post but doesn't go into detail.

https://forums.rpgmakerweb.com/index.php?threads/removing-a-b-c-from-enemy-name.96736/ <-- Found here


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;

changing the end to = n + 0; Solves the issue for me removing the letters.

Just wanted to add to this thread.

Original thread: https://forums.rpgmakerweb.com/threads/remove-a-b-c-d-in-enemy-names.69574/