After unlocking more Mystic Codes, you can change your active Mystic Code by going to the Formation menu, then to the Party Setup screen, and clicking the small “Master Equip” icon on the bottom left. This takes you to the Mystic Code setup screen, where you can swipe left or right to choose a Mystic Code to equip.