I used OriginalWij's script, but it only allows the pet to join the battle when your party member amounts to less than 4. When I have a 4-man party, the pet vanishes.
IS there a script around that can allow me to have a pet who will participate in battle AND a 4-man party?
you need to increase the maximum number of battlers in the party - by default all actors above 4 are automatically placed in the reserve.
There are several scripts on the master script list that do this, or you can simply modify the number in the default engine itself.
I don't know where the critical line is, but one of the scripts that do this is Yanfly's Party System - which is unfortunately a big script because it does a lot more than only modifying the battler number (which would require only one number to be changed in the default scripts)
I see. So which part of the script I have to modify? I don't need the complicated scripts, really. I just need the battling members to be a total of 5. The pet is a pet. You're not supposed to assign it skills or give it armour. It just helps you fight as-is.
But just in case, I might look at Yanfly's scripts too. Is there a link to it? I can only find the Ace ones, but not the VX ones.