Never mind, I figured it out! For anyone who's curious I was trying to give a custom regional variant a mega form. I got it working after adding the custom mega stone in PBStuff.rb.
Thank you again to @Haru,, for your help, I really do appreciate it!