A script that changes party members during the middle of the battle (or making incompatible scripts compatible).

I know Yanfly has a script that does it (Yanfly Party System and Command Party), but I need a different, stand-alone script because Yanfly Party System and Command Party are incompatible with this script, Sakuraba's Party Storage System:


I also know that CP's battle engine allows changing battle members, but I'm not interested in this script because it modifies a lot of things that I don't wanna change.

If you can't find/do the script I need, can you at least make these Yanfly scripts compatible with this Sakuraba's script?
find/do the script I need
You didn't say what you needed? What does yanfly party system script do that you need?
I can list other party scripts but the one you linked is a party manager script so I'm confused as to what you need.
The only difference I can think of it the party size limit that you can change in yanfly's script.
I'm requesting two things, and you can choose one of them:

1- I just need a non-yanfly script that changes party members during the battle.

I only link that Sakuraba script because I'm using it and it is incompatible with the yanfly's party system and command party. This is why I need a non-yanfly script that allows me to change characters during the battle.

2- But if you can't find a non-yanfly script that changes characters during the battle, can you make the Yanfly Party System and Command Party compatible with Sakuraba script?

Sorry I'm not being clear, because I have a really bad English.
Yanfly Party Command script will work with a few lines commented out.
This is assuming you have yanfly battle script in your project
Put a # in at the beginning of lines
70
166
240

This will make the party command always shown in the party command window.

Last change is the call.
Line 204 change the
SceneManager.call(Scene_Party)
to
SceneManager.call(Scene_PartyStorageBox)
I'm not using the Yanfly battle script.

However, I forgot to show something:
Screenshot_1.png


This is the source of all problems that I'm dealing with. It happens when I put the Sakuraba party

storage system that I need to put into my project. Is there something to do to fix this error?
Ok, I just tested without and it also worked.
But I must use Yanfly Party System with Sakuraba Party Storage System. Is there a way to make both scripts compatible?
But I must use Yanfly Party System with Sakuraba Party Storage System. Is there a way to make both scripts compatible?
Why? Why do you need both?

Well Sakuraba party needs to be on top of yanfly party system
Then we just need to change one thing (in two spots) in Sakuraba script
Line 208 & 443
change Window_PartyList to Window_PartyListSB
or something to make them different.
I need both because I'm making a Digimon game where you can have hundreds of Digimon in your party, which will have a total of 6 members, the other Digimon obtained will be stored in a place.

I did the editions and it fixed that error on the screenshot when I use the storage menu, now it only appears when I change party members during battle and in the "Formation" menu option.

Is there a way to fix this now?
Using the default scripts and just making the change I mentioned two posts above works for me.
No issues at all. If you left in the other changes above that, then revert to the original script and only make the one change.
Thanks for the help, now I fix all the problems.
I made an adjustment to the Sakuraba script if you are interested.
In my testing I did a script call to add actors to the stock. And I added all the default actors, which made Eric one of the actors you could pick even though he was in the party already.
So I made a small addition that will correct this.
If the actor is in the party and in the stock then when opening the stock, the actor that is in the party is removed from the stock.
Then you don't see your actor already in your party show up in the list.
Ruby:
class Window_StockList < Window_Selectable
  def initialize
    super(160, 48, 384, 368)
    clean_list
    @pending_index = -1
    refresh
  end

  def clean_list
    $game_stock.members.each do |act|
      if $game_party.members.include?(act)
        $game_stock.remove_actor(act.id)
      end
    end
  end
end
Thanks again, you are a livesafer. Finally all problems were solved.

Original thread: https://forums.rpgmakerweb.com/threads/a-script-that-changes-party-members-during-the-middle-of-the-battle-or-making-incompatible-scripts-compatible.154195/