Question: do abilities work while dynamaxed?
Answer: Moves and Abilities that replace the target's Ability with the user's, including Skill Swap, Entrainment, and Wandering Spirit, have no effect on Dynamax Pokémon. However, moves that change or suppress the Dynamax Pokémon's Ability altogether, such as Gastro Acid and Worry Seed, still work.