Fix a bunch of pet battle stuff.