MZ Editing In-Battle Item/Skill Menus

I've been playing around with rmmz_windows and I've managed to get the actor menu looking just about how I want it, but I'm a little confused about some adjustments I need to make to the item/skill menus. For starters I need to remove icons and their indentations and left-align the text:

1692023904617.png

1692023986613.png


How would I go about doing that?
you should not edit the core files, but make the changes as a plugin.

all edits to all core files are automatically removed whenever the project is updated, and MZ is still current and can receive further updates (in fact the last update was only one or two months ago)
What Andar said is really good advice - you should have all of your edits in a plugin, not in anything in the js folder.

So I'm a little confused by your question, because the skill list appears to already look the way you describe. What do you need to change?

If you don't want them to have icons, you can just not assign an icon in the database.

Aside from that, Window_SkillList.drawItem() is what defines how the skill is drawn in the list. That's where you'd adjust the x/y positioning of the text.

Looking inside there, you can see drawItemName() is inherited from Window_Base. So you can make a copy of that function, redefine it to be just for this window - e.g. Window_BattleSkill.prototype.drawItemName - and omit the portion with the icon.
I have moved this thread to JavaScript/Plug-in Support. Thank you.
you should not edit the core files, but make the changes as a plugin.

all edits to all core files are automatically removed whenever the project is updated, and MZ is still current and can receive further updates (in fact the last update was only one or two months ago)
Oh wow, thanks for making me aware of this. So to turn these changes into a plugin, do I just copy the exact code I modified and save it as a separate JS file under /plugins, or?

So I'm a little confused by your question, because the skill list appears to already look the way you describe. What do you need to change?

If you don't want them to have icons, you can just not assign an icon in the database.

Aside from that, Window_SkillList.drawItem() is what defines how the skill is drawn in the list. That's where you'd adjust the x/y positioning of the text.

Looking inside there, you can see drawItemName() is inherited from Window_Base. So you can make a copy of that function, redefine it to be just for this window - e.g. Window_BattleSkill.prototype.drawItemName - and omit the portion with the icon.
Removing the icon in the database makes the icon blank, but it doesn't remove the blank space reserved for the icon. I needed this space gone and all of the text moved to the left. I was able to fix it thanks to the scripting insight you provided, thanks.
do I just copy the exact code I modified and save it as a separate JS file under /plugins, or?
Correct. Copy the entire function, paste it into a new file, make your changes. Save it as a *.js file, include as a plugin.

Original thread: https://forums.rpgmakerweb.com/threads/editing-in-battle-item-skill-menus.160301/