How does RMMV actually handle and process Characters, Classes, and Skills?

I'm just getting into using RMMV and I have a bit of background in programming to build from, however I'm having a bit of trouble understanding how the RMMV JS code actually function and interact with one another, and I can't find many resources that actually cover this. The project I'm working on requires a lot of custom scripting which I'll have to develop on my own, but it would help immensely if I can find a run down on how the original base code functions so I can figure out where and how to make my edits. Do y'all know where I can find resources that cover this?

I've moved this thread to Learning Javascript. Thank you.

Check out my Jump into Javascript series (link in my sig). It's literally a breakdown and explanation of the default code and how it works.
Check out my Jump into Javascript series (link in my sig). It's literally a breakdown and explanation of the default code and how it works.
Checking it out now, thank you!
I think the most important thing to understand is the difference between $data.. and $game.. objects. Anything starting with $data (e.g. $dataSkills) represents persisted and permanent data as you have it in the Maker, e.g. actor has this initial name, initial class, skill has this type and this damage formula, etc. Objects starting with $game (e.g. $gamePlayer) represent game objects as they are in the game, right now, e.g. actor has xy HP right now, character is at position x y.
I think the most important thing to understand is the difference between $data.. and $game.. objects. Anything starting with $data (e.g. $dataSkills) represents persisted and permanent data as you have it in the Maker, e.g. actor has this initial name, initial class, skill has this type and this damage formula, etc. Objects starting with $game (e.g. $gamePlayer) represent game objects as they are in the game, right now, e.g. actor has xy HP right now, character is at position x y.
Question about the $gameVars, I had the JS console pulled up looking at the variables, and i noticed that the agi, atk, hp, ect... stats listed for the $gameActors all required an Invoke Property Getter, but scanning through the code I didn't see any function? Could you explain how that works?
Check out my Jump into Javascript series (link in my sig). It's literally a breakdown and explanation of the default code and how it works.
Hey I'm still looking through the series, but do you know if there's a way I can step through the code as its running to watch how different events are handled in real time? One of the things I want to be able to do is create a summoning skill for players to summoner creatures to fight for them, and looking at how the process unfolds might help me figure out how i need to set it up.
If you go to the sources tab on the dev tools you can set breakpoints and step through when it hits one.
Question about the $gameVars, I had the JS console pulled up looking at the variables, and i noticed that the agi, atk, hp, ect... stats listed for the $gameActors all required an Invoke Property Getter, but scanning through the code I didn't see any function? Could you explain how that works?
That's very common practice for object-oriented languages. The actual variables that store the values of the parameters are within the actor structures, but you use getter functions in your code to access those values. The Game_Actor.param() function is inherited from the Game_BattlerBase one in rpg_objects.js, line 2450.

One of the things I want to be able to do is create a summoning skill for players to summoner creatures to fight for them, and looking at how the process unfolds might help me figure out how i need to set it up.
You're certainly welcome to spend your time writing your own, but there is already a plugin by SumRndmDde that does this.

Original thread: https://forums.rpgmakerweb.com/threads/how-does-rmmv-actually-handle-and-process-characters-classes-and-skills.136185/