Pokemon Essentials allows a user to create a desktop version of a Pokemon game. It gives RPG Maker XP all of the functionality needed to create a decent monster-catching game, including monster inventories, custom view battlers, etc. The problem, though, is it is not for commercial use, and it borrows heavily from the Pokemon games so much so that Nintendo actually had a very helpful web page showing how to use the program taken down.
Is there a practical way to look through the pages of code, pick out exactly what I want my game to do, and use only that to write my own code so that I don't get in trouble with the creators of the scripts? Would this be less practical than just finding free scripts to do what I want the program to do?
Pokemon Essentials was (and is) completely illegal, because the resources were stolen from the original games. That is why Nintendo was able to take it down - it wasn't made to be similar, it was actually stolen resources.
That said, reverse-engineering such a complex script is actually more difficult than to write your own.
Because programs are not "mix-and-match", you would have to replace any missing parts between copied code with your own, and would have to completely understand those parts of code you selected.
And for even asking such a question I have to assume that you are rather a beginner in programming, because otherwise you would know better.
and unfortunately, because Pokemon Essentials are illegal and this is an official company forum (which needs to follow corporate law, not civil law like a fan-website) you cannot get any help or support for that from here.
We can only help you if you decide to write something similar from scratch without using Pokemon essentials.
And that has been tried before, but the people who tried never finished their projects.
Where and how can I learn to manipulate RGSS code? Are there any tutorials available?
RGSS stands for "Ruby Game System Script".
The "learning RGSS" section of this forum should have several topics that link to internet courses where you can learn to program in Ruby, and after that you can read and modify RGSS scripts as they use mostly the same language (only some sections of Ruby have been removed, and gaming-specific functions added.
If you have no previous knowledge of programming, expect several months of work to learn Ruby.
If you have the basics of programming, learning new programming languages is easy and done in days or weeks, but the first programming language is always hard.
Also since you are using XP you want RGSS1, VX uses RGSS2 and VXACe uses RGSS3, which will have differences.
Could you include a link to the tutorials for XP?
Sadly I don't know of any. If there are any it would be under the tutorials section for XP or under the programming section.