Well, I'm not sure if Inverse Battles have a similar AI to the Battle Maison, but I once had an experience where the AI 'adapted' to an ability.
I had my Manectric against a Jolteon. I wasn't sure if it had Volt Absorb, so I used Thunderbolt to test it. Sure enough, it did have Volt Absorb, but the Jolteon used Thunder on me, and my Manectric's Lightning Rod activated. From then on, it didn't use another Thunder on my Manectric after that. Then again, it might just have been chance that it didn't select the move.