This script allows you to merge two parties together. A merge involves transferring all of the members, inventories, and gold from one party to another. The original party will be deleted, resulting in one combined party.
Install this script below Party Manager and above Main
Assuming two parties already exist, use the script call
Where id1 and id2 are the ID’s of the parties that you want to merge. The second party will be merged into the first.
The first party will be set as the active party, and the second will be deleted.
To merge party 5 into party 3, use the script call
This script assumes that only members, inventory, and gold need to be merged.
It also assumes the default implementation of party members, inventory, and gold are used. If you have scripts that add new properties to parties, you may need to add logic to merge those as well.
You can add new logic to the Game_Party#merge method as needed.