I haven't made it possible to check from the RAM whether a Pokemon can Mega Evolved. The only thing stored in the RAM is whether the player has used mega evolution or not. daniilS said he had some code changes that would fix this, but never submitted a PR. I actually prefer hooking and modifying code to editing/patching bytes, so I'm reluctant to edit the scripts themselves. I'm sure the commands share a common function or something though so it shouldn't be too hard to patch. I'm also less concerned about those bugs as they are more of an unimplemented feature than an actual bug. I'm more concerned about the fact the doubles stopped working :/