Pok\'eLLMon: A Human-Parity Agent for Pok\'emon Battles with Large Language Models