Inactive hero in party?

Hi, I've been looking for a way (or a script!) to have a party system like Pokémon, where you move in overworld with a certain hero leader that can't be switched, but more importantly doesn't appear in battle. So what I'm asking is a system to make your first hero unchangeable and inactive for battles. I'd like to use a following-system such as Caterpillar and Enhanced Squad Movement, I thought it was important to mention, since the whole party would be shown on the overworld. Thanks!
There are some people who have done this, using "Events" or Scripts.

As you are using Rpg Maker XP, there is a system ready for this called "Pokémon Essentials", it contains several bugs and you need to use your own editor.

When I used Rpg Maker 2003, I made a system like this entirely for events, I created 300 heroes, all with alex's "Charset" graphic.

During the battle, if the player captured the "monster", a counting variable was added +1, and a common event assigned to the "monster" graphic for the character in the database with the ID equivalent to the variable's value.

It would not be difficult to implement this in RpgXP, besides being able to use customized menus.

Original thread: https://forums.rpgmakerweb.com/threads/inactive-hero-in-party.134957/