After defeating the final boss and starting the DLC in Pokemon Legends Z-A, you may traverse Hyperspace Lumoise! However, you need Hoopa's assistance, and Hoopa requires donuts to createe a portal between dimensions. Donuts usually have special powers thast are provided for the duration of your stay in Hyperspace, raise your Pokemon's maximum level up to 200, and gives you a timer proportionate to the distortion's rank and your donut's calories. This guide will focus on the technical side of donuts, including level increase formulas, berry flavors, and what powers are possible.
Unfortunately, the game autosaves whenever you make a donut, but there is a way around it. Before you make your next donuts, heal your Pokemon at a Pokemon Center. A backup save will be created, and you can return to this backup save on the game's title screen by pressing Up (On the D-Pad, not the joysticks) + X + B at the same time. However, if you save after loading a backup save, the game overrides your previous save, and you lose it forever. This is a great way to conserve berries and reroll if you get bad powers.
Donuts have five flavors (Sweet, Spicy, Sour, Bitter, and Fresh) and are created by giving 3-8 berries to Ansha. The resuting donut's flavorsd are each of the berries' flavors added together. Higher quality berries provide more flavor, especially hyper berries, and end up making better donuts that let you stay in Hyperspace for longer.
I am working on a donut power calculator that pulls a list of possible powers you might get based on what berries you select.