Changing an actors notes in-game

I want to know how to change the notes of an actor in-game. I'm using YED_SideviewBattler and I can't change the actors's spritesheet using common events because all the data is held within an actor's notes
So we might be able to do a workaround. Why do you need to change the graphic?
So we might be able to do a workaround. Why do you need to change the graphic?
My game has skins for some characters, but since I can't change a character's battle spritesheet in-game it just becomes useless
Unfortunately this isn't as simple as you think it is.

The problem is the question "when are the notes read?"
Because in a lot of cases, the notes are only read once at the beginning of the game and transferred into variables that are never updated. Changing the notes after that will have no effect on the game.

The better solution would be to check the specific plugin you need this for and find out where it stores the information, and then use script commands to change that directly.
As far as I remember, the notes are read on the title screen, that is, before starting a new game or loading a save. So, if you modify it during the game and return to the Title Screen, the same modification will appear for the other Savefiles or if you start a New Game.

For actor 1:
$dataActors[1].note = "line1\nline2\nline3"
(\n -> Breakline)

For a member in a specific position in the game:
$dataActors[$gameParty._actors[0]].note

The notes are not copied to $gameActors like other data. It would be necessary to modify the title to always reload the data, or rather, copy the notes when starting a New Game in the Game_Actor.prototype.setup

The notes come as Strings with line breaks, so you would need to create a method that transforms them into objects, similar to what happens with map notes (meta) using the DataManager.extractMetadata function.

In recent months I have been creating plugins based on the RMMV and MZ APIs themselves to avoid conflicts with third-party plugins as much as possible, however I don't have time available until Sunday. You can wait for a more experienced programmer to solve this for you or try it yourself.

Original thread: https://forums.rpgmakerweb.com/threads/changing-an-actors-notes-in-game.183001/