Pokemon implementation, test script, and battle