Companion battle system?

Hello! 😀   I'm brand new to RPGMaker and I've been going through tutorials looking for an answer. I want to create a game where the player character has little robots they join in battle. If the robot is 'knocked out' then the player character can fight from the back row to try and try to survive. If the player is defeated (even if the robot survives) the battle will be lost.  The enemy should be able to target either the player or the robot, with the aim of defeating the player.

The robot should be customisable, and that is where I'm starting to get lost. How can I implement this? Can I restrict the Robot equipment to the Robot class only? I don't want the player equipping a robot accessory.   

This game would be a little like Pokemon, only the Pokemon can be customised with items and equipment.

Are there any scripts I could use? I've seen a million Pokemon scripts, but I don't know enough to modify them. Can anyone help, or at least point me in the right direction? I don't even know where to start with designing my combat system. ;_;
I've moved this thread to RGSS3 Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.


Remember, saying "like Pokémon" means only people familiar with Pokémon can answer your question. And yes, there are a few who aren't familiar with it.

Original thread: https://forums.rpgmakerweb.com/threads/companion-battle-system.42085/