Assorted list of functions I looked at that affect the camp behavior in SWSH. All of this is from Sword 1.3.2. Most labels are mine, some are copied from BDSP.
- camp_determine_initial_behavior: used to decide what behavior a Pokémon should be doing when entering camp or leaving a curry
- camp_decide_groups: decides which Pokémon should be doing group activities prior to randomly picking initial behavior
- camp_get_random_behavior_enum: affects random behaviors when wandering around camp
- camp_check_run_up_to_player: decides if they need to run up to the player (not item-related)
- camp_item_get_success: checks if a Pokémon successfully finds an item
- [sub_710126B920](