Change your preferences here.
Enemy Pokémon cannot switch out unless they have the Levitate ability or are part Flying. Pokémon can escape by using Baton Pass.
When a Pokémon with this ability is first in the party, wild encounters have a higher chance of occurring.
Shadow Tag is almost identical, but prevents any foe from escaping.