Pony vs Pony: Battle is Magic

Original client logic with a separately marked local-service compatibility patch.