I'm not even kidding: http://www.smogon.com/forums/threads/xy-sprite-project-read-1st-post-pixel-perfect.3486712/page-117#post-5833939