Thanks for taking the time!
First, I implemented the mega stone and the pokemon in PokeBattle_Battle, like this-
[:MEGANIUM,:MEGANIUMITE],
Then, in PItem_Items, I included the Meganiumite in the pbIsMegaStone? string like this-
And finally, in Pokemon_MegaEvolution, I implemented this...