I believe the way it works is whoever is placed last will use mystery first. The problem is fire main mystery cost 20 and asuma mystery is 40. Auto will always use highest chakra first. Exception to these would be if you are running someone with interrupt, the AI will wait until standard attacks start before using a mystery.