Battling competitively has pretty much conditioned me to think in terms of planning one or two steps ahead at pretty much all times. Like, if I do x move, how will my opponent respond? Do they have a plan for whatever they think I might have?
Battling against Battle Tree trainers is good practice for this because even though the AI isn't human, they still do try to do things like switching out to throw you off etc, so I try to prepare for that as well. Do I Dragon Dance/Calm Mind boost when my AI opponent is predicting an attack? These are the kinds of questions that go through my mind a lot, especially if I'm in a tight position.
This is exactly what competitive battling has caused me to do, so now when playing in game against the AI I strongly overthink. It helps sometimes, because I know when it's safe to conserve or switch.
But for example yesterday I was fighting a random swimmer with Starmie in Alpha Sapphire, and I was paranoid about it having Ice Bean or Thunderbolt so I was switching around. Then realized it didn't have any of those moves.