Unfortunately what you're asking requires coding, Nintendo originally didn't programmed an AI for battle mode, programmin a rom doesn't have anything to do with hacking/modding you just can rearrange scenes and models and you can't add extra features with that kind of caliber.
I'm afraid it's not possible.