Part 1. Editing balancing data(recommend coping all the stuff from merchant pig and then edit what u want there).
1.You need to create new birb in BirdBalancingData for me it is wizpig.
2.Create a new class(in ClassItemBalancing) and equipment(EquipmentBalancingData). Keep in mind that if u didn't create a class with skills for it, ally would be unplayble.
3.Create inventory for your ally in InventoryBalancingData(there must be headgear, offhand and mainhand otherwise the game will be softlocked after a battle).
Part2. Scripts editing
1.SocialService: Add new case in GetNPCBird(str163); make new GetPorkyBirdWithLevel(str 180) and GetPorkyFriend(str 102). Don't forget to change ids(nameid from birdbalancing, friendData.FirstName and friendData.Id).
2.FriendGameData: Add case to GetNPCFriendName(str249); add case to FriendGameData(str 185)
3.FriendInfoElement: Add case to GetNPCSprite(str 213). So, it's an icon for your bird you can add a new one by editing GenericElements.p