In case you are wondering, in OR/AS there is the DexNav feature which allows you to find potential encounters with hidden abilities, egg moves and up to three guaranteed perfect IVs. It takes time but if you DexNav search Darmanitan at certain Mirage Island or Mirage Mountain locations, you should be able to get the HA Darmanitan. Good luck!