Sword/Shield Hidden RNG


This guide explains how to RNG abuse Pokémon from Hidden encounters. It covers the entire process, from choosing a location to obtaining the desired Pokémon.

Hidden encounters aren't guaranteed to be the same species each time. The species is determined by an encounter slot value of 0-99, which changes with the weather. The weather can change every day at midnight (00:00). Be mindful of the Switch system time to avoid spawning unexpected Pokémon due to incorrect weather conditions.

From here it is assumed that you have read the initial page of this guide and have a general idea of how to use SWSH OWRNG Generator GUI.

Picked the wrong type of encounter? Click here to go back!
Getting Started:
  1. Open SWSH_OWRNG_Generator_GUI, then click on the Encounter Lookup button at the top of the window to open the Encounter Lookup tab.
  2. Type the species name into the empty search field to bring up a list of encounters for that specific Pokémon. Select a row that appeals to you by left clicking it.
  3. Confirm that the filters have been set properly inside the Main Window, encounter filters can be found on the left-hand side.
  4. Set your search filters inside the middle portion of the Main Window. You can filter for specific Marks, IVs, Shininess, etc.
  5. Fly to the correct location in-game, then set the correct weather condition using Luxray's Set function if the current weather in-game is incorrect.
  6. Save the game once you are stood directly next to some tall grass in the area, then click the Connect button inside the main window. Once connected you can begin searching for target frames.
Avoid rain or thunderstorm when picking an encounter where possible, rain causes advancements to occur at an extreme rate, making it difficult to hit target frames.

Figure 1 - Tool setup



Using Sinistea-Antique as the example:

The Encounter Lookup specifies Glimwood Tangle in any weather for this encounter. Clicking the row of the table automatically fills in all of the relevant encounter information on the left-hand side of the main window.

The search filters in the middle of the main window, were manually configured to search for any shiny with any mark. You can be more specific with the filters if you wish, such as filtering for IVs/Nature.


The Process


The end goal is to spawn the patch of shaky grass on the calculated target frame provided by the generator search results. Once a hidden encounter patch spawns in the overworld, its stats and details are fixed. Hidden encounters disappear within a few seconds, so there is little room for error.

Ensure your encounter and search filters are properly configured before continuing (see Figure 1). The advancement methods used to achieve the result are listed in the table found on the main page.

Figure 2 - Game setup



Game Setup:

For Hidden encounters, stand directly next to a patch of grass in the area that contains your desired Pokémon. Avoid areas that trigger other Static spawns, depending on your location, having spawned Pokémon present in the grass may be unavoidable for this encounter type, which makes menu close advancements less effective.

Once you have good positioning, calculate the amount of NPCs using the method described on the main page of the guide.

The location in the above image is ideal: Minimal NPCs, no extra spawned Pokémon, and standing directly next to (within 1 step of) a patch of grass.

Glimwood Tangle is notably "quiet" and has no overworld weather. Remember, advancement speed (aka noise) depends on location, NPC count, and weather. The more quiet the area, the better.

If you can't find a good spot, knock out any static spawns blocking your path. They will remain despawned until you return after a date change.

Figure 3 - Target found!



After searching a desired result, we've found a shiny, Gentle natured Sinistea-Antique in a cluster on advances 19,139 and 19,141. Target frames often appear in clusters, which are multiple frames in a row yield the same result. A larger cluster increases your chances of hitting the target frame.

Undesirable result?
  1. Disconnect from the program, and restart the game to refresh the seed.
  2. Enter the overworld, pause the game, then reconnect to the program.
  3. Search for a new target frame, repeat this process until a desirable result shows in the generator search results.

Once you have found a good position, have calibrated the NPC count, and found a desirable result, you can continue following the guide.

Trouble calibrating NPC count? Click here for the tutorial!

Advancing Towards the Target!


First, you will need to calculate the rough delay for the encounter. Doing this step will provide the best possible chances of hitting your target frame. Delay is the difference in advancements between spawning the Pokémon in the overworld and the actual frame the Pokémon was generated on.

Delay Calculation
Delay Calculation
  1. Pause the game, then disconnect and reconnect to the main window. The number inside the Curr. Adv. field should now be 0.
  2. Unpause the game and run into the grass to attempt to spawn a hidden encounter. If the encounter spawns, take note of the frame it was spawned on.
  3. Initiate the encounter before it despawns, the press the Read Encounter button to see the details of the Pokémon you are in battle with.
  4. Search with no filters to find the frame you actually hit. This should be relatively close to the frame the Pokémon was spawned on.
  5. Subtract the frame the Pokémon was spawned on from the frame you actually hit, this will be your rough delay for this encounter.

Example: If we spawned the encounter on frame 150, but the Pokémon we are in battle with was generated on frame 152, the calculated delay is 2.

Hidden encounters have a random chance of spawning per step taken in grass. Spawn the Pokémon within 1-3 steps for a more accurate delay calibration.

At this stage you should now know have calibrated both the NPC count and the delay for the encounter, take note of both of these values as they are significantly important for hitting target frames consistently.

Take note of your position after calibrating delay and NPC count as these values are subjective to change based on the positioning of the player.

After setting up your search filters and standing in the correct position in-game, you will need to calculate the amount of NPCs in the area and the base delay of the encounter. Doing both of these things will provide the best possible chances of hitting the correct target frame.

Hitting Your Target Frame:
Step-by-step tutorial:
  • Advance towards your target frame using any method listed in the table on the main page (consider date-skipping for long distance-advancements).
  • Return to the correct position in-game when you are a few thousand frames away from the desired target. Ensure the target is despawned.
  • Pause the game, then disconnect and reconnect to the Main Window, and press the search button again to set a new target frame.
At this stage, we recommend using menu close prediction & animation advancements for accurate, small, and manageable advancement increments.
  • Open the Menu Close Advances Viewer tab, and enter the number of NPCs calculated earlier in the NPCs field.
  • Enter your target frame into the empty + field, factor in your calibrated delay (e.g 1000 (target) - 3 (delay) = 997 (new target)).
  • Hit search, you should now see a list of frames in the table, see if your exact target frame, great! This means menu close prediction can be used to hit it.
  • If you do not see your target frame in the search results, use animation advancements to increment the RNG state by 1, then repeat the above steps until visible.

In rare cases, you may not be able to hit the desired frame using menu close prediction alone. Use it to get as close as possible, then use movement advances to reach your target instead.

Test how many advancements occur per movement to determine the number needed. Typically, this method advances the RNG state by 1-2 frames each time.
  • Open and close the pause menu until a single menu close lands you onto (or as close as possible) the target frame.
  • Unpause the game, then run into the grass patch to attempt to spawn an encounter, ideally within 1-3 steps
  • If grass patch spawned within a short amount of steps, quickly run into it to initiate the encounter.
If you do not land directly onto your target frame, this is the point where you should use movement advancements, do so before spawning the hidden encounter grass patch.
  • Check if you've hit the correct target frame. If the result is unexpected, recalibrate your NPC count and delay, then retry.
If the encounter did not spawn at all, you have experienced what is known as a "dead frame", these do not spawn hidden encounters, and there is currently no effective way to determine if a frame will spawn an encounter. Be prepared to take multiple attempts for this encounter type.

Figure 4 - Target frame hit!



By using menu close prediction and animations to keep track of inputs/advancements, we were able to hit out target frame.

Figure 5/6/7 - Result found!







The Sinistea-Antique matches what is expected by the tool, you should now understand how to RNG abuse Pokémon from Hidden encounters.

Head back to the main page if you wish to learn how to RNG abuse different types of encounters.