Check Pokemon Gender
This is a simple routine to check a certain Pokemon in your party's gender given a slot number.
This is really great! I've been trying forever to figure out how to implement Rivalry in my little project, and this may have just helped me crack it. It shouldn't take much to modify it to read values in-battle ^^
(If I do get it working in-battle I'll be sure to credit you for it)