Buff/DeBuff battle icons (changing icon indices)

my iconset.png file has a lot of customization. To make things clean, I'm trying to keep similar icon types together in the file.

By default RMMZ uses 3rd and 4th rows of this png file for buff/debuff icons in the battle system. I'd like to change this to rows further down the png file. Am I correct that the easiest way to do this is to edit the rpg_objects.js file in your project folder?

I would have to make the following changes
  • Game_BattlerBase.ICON_BUFF_START = 32
    • change 32 to the new start location (eg. 144 if I wanted it to start on the 10th row)
  • Game_BattlerBase.ICON_DEBUFF_START = 48
    • change 48 to the new start location (eg. 160 if I wanted it to start on the 11th row)

Screenshot 2026-03-26 at 9.05.51 AM.png
Am I correct that the easiest way to do this is to edit the rpg_objects.js file in your project folder?
easiest? yeah. Id suggest adding a quick step though. instead of editing the file directly, make the change as a .js file and add it to your project as a plugin. itll be easier to remember what you did/where you did it, itll be easy to change later, and as MZ is still getting updates, if the core scripts for your project needs updating later you wont lose your change.
That makes more sense, and safer.

I'm not a programmer though.

Would the custom plugin .js file just read

Game_BattlerBase.ICON_BUFF_START = 144
Game_BattlerBase.ICON_DEBUFF_START = 160

Or is there more required code?
Would the custom plugin .js file just read

Game_BattlerBase.ICON_BUFF_START = 144
Game_BattlerBase.ICON_DEBUFF_START = 160
yeah, the contents can just be that.
you dont need anything further unless you want to add stuff later
Screenshot 2026-03-26 at 10.04.50 AM.png

Original thread: https://forums.rpgmakerweb.com/threads/buff-debuff-battle-icons-changing-icon-indices.183024/