Okay, copy the event from Brawly (the cave in essentials) on to your event. Then, go to your database, go to common events, and choose the Brawly Dependent Event. go to the bottom, where it says DeRegisterPartner (Brawly), and copy it onto your event below the previous part. It should delete the partner trainer, but keep event following you.