HOW TO STOP A SPECIFIC ENEMY FROM BEING CALLED "A" OR "B" AFTER THEIR NAME?
Posts
Pages:
1
So a boss I'm making revolves around him transforming into a stronger form every few turns, then reverting to normal, which works pretty well.
The problem is that every time he transforms, the letter after his name keeps going up...
Like, he starts out as "Razorclaw", then into "Were-Razorclaw"....Then to "Razorclaw B", "were-Razorclaw B", "razorclaw c", etc...
Is there a way to stop that from happening, JUST for this one guy? Or do I have to disable the entire numbering mechanic for new enemies to stop this silliness from happening?
The problem is that every time he transforms, the letter after his name keeps going up...
Like, he starts out as "Razorclaw", then into "Were-Razorclaw"....Then to "Razorclaw B", "were-Razorclaw B", "razorclaw c", etc...
Is there a way to stop that from happening, JUST for this one guy? Or do I have to disable the entire numbering mechanic for new enemies to stop this silliness from happening?
The quick way would be this.
Change the 1 here to the ID of the enemy you want the original name only for.
While perfect for a single instance it would limit you to a single ID unless you add more to the conditional or add more conditionals.
Let me know if it works for you and if you want anything changed or added.
Have a nice day.
#============================================================================== # ** Game_Enemy #------------------------------------------------------------------------------ # This class handles enemies. It used within the Game_Troop class # ($game_troop). #============================================================================== class Game_Enemy < Game_Battler #-------------------------------------------------------------------------- # * Get Display Name #-------------------------------------------------------------------------- def name return @original_name if @enemy_id == 1 return @original_name + (@plural ? letter : "") end end
Change the 1 here to the ID of the enemy you want the original name only for.
return @original_name if @enemy_id == 1
While perfect for a single instance it would limit you to a single ID unless you add more to the conditional or add more conditionals.
Let me know if it works for you and if you want anything changed or added.
Have a nice day.
Pages:
1














