Clearly you never checked the rules. All battles are under standard clauses, one of which is called the Species Clause, which means you can't use two of the same Pokemon.
Anyway, it didn't matter since I win either way. I would suggest learning more about competitive battling before challenging leagues. Even in game, using Double Edge and Slash on a Regirock makes no sense.