During Mission 18: "The Counterpart", if the player chose Irida during Mission 14: "The Trial of Lake Verity", Time Balms are used to calm the frenzied Dialga in its Origin Forme. Throwing enough Time Balms to quell it allows the player to catch it with the Origin Ball. They are also usable in post-game rematches against it. Time Balms will leave the player's satchel upon completing the fight.
Temple of Sinnoh (during Mission 19: "The Counterpart" and in post-game rematches, if the player chose Irida during Mission 14: "The Trial of Lake Verity")