Pete_AnalyzeAnimal(Animal, RunescapeHDC);
Not sure how well this works, Pete_FindAnimal works great though. It's nearly impossible to develop test the the animal screen window since you only have 14 minutes from the time when you get the random to when it ends. If you do get it, make sure to take lots of screen shots of all the animals at all angles. in true32bit color and save them as 32bit in photoshop as bmps with those options. The best way would to either look at the source for Pete_FindAnimal and possibly fix the colors if they aren't working already, I'm pretty sure it scans the object for a little while while it rotates and finds the averages color count/density of colors of the box it's in and compares them with InRange using record arrays of the min/max for that animal.
Really though, I made prisonpete.scar, and it works fine… it might not be fully functional but thats something that would only require 'fixes' not an entire routine rewrite.