Many functions reworked to use IntPtr instead of Pokemon (STILL INCOMPLETE)