1 of 30

Poke’mon

We will be getting them today

In the 4th generation of pokemon videogames

2 of 30

What even is a pokemon anyway?

Simply put, a pokemon is just data. Your friends, your lifelong bonds, everythings computer. These Pokemon…. computer.

​

3 of 30

PID (Pokemon ID, Personality Value)

The PID is an 8 character Hexadecimal value that stores almost all of the information on a specific mon. 00000000 -> FFFFFFFF

PID Determines the following, and sometimes more!

  • Nature
  • Gender
  • Ability
  • Shinyness
  • The spot pattern of Spinda

4 of 30

But why does this matter?

5 of 30

SURPRISE IT’S MATH TIME!

PID is mathed together with your Trainer ID and your (normally hidden) Secret ID to determine if a pokemon is shiny or not!

The game uses a process called Bitwise Exclusive Or, to determine this.

We take the first and second halves of the Pokemons PID, and Xor them with both our TID and SID. If the remainder of that is less than 8, we get a shiny!

The overall odds of this occurring (in generation 3) are,

1/8192

​

6 of 30

My Secret ID is 2804 in this Example

So as you can see in this example, the remainder is 0, so our Latios is shiny!

Your Secret ID is, as the name suggests, is hidden from the player. You typically RNG manipulate both your TID and SID on save creation. Gens 3 and 4 also have glitches you can use to change both these values.

7 of 30

Now how game make random????

Pokemon Gen 4 Edition

8 of 30

In generation 4 the games main RNG is seeded on launch, based on the Date and Time your DS console is set to. The month, day, year, hour, minute, and second values are all important.

There is also a “Delay” value we need to hit as well. Which is a 1/30’th of a second input on launching our save file.

So if we want to hit a specific RNG Seed, we need to launch the game on a specific date, at a specific time, and also hit our desired “delay”.

9 of 30

So for this example if we launch the game on March 27th 2024, at exactly 11:56 and 57 seconds, and then launch our save file 2780 delay later. We’ll have landed on seed C20B0AF4

Delay

10 of 30

But how do we know what seed we want? How do we even find what pokemon we want to go for?

In Gen 4

11 of 30

Enter, Pokefinder 😎

This cool tool developed by Admiral Fish can let us search basically every pokemon that exists in these games, and tells us what seed we need to do to go and get them. It even tells us if it will be shiny or not, based on our Trainer and Secret ID’s.

12 of 30

Here we dial in the settings we want, based on where the pokemon appears and what stats/nature etc we want it to have. If it exists in the games rng and matches our filters, it’ll come up as a result when we click search.

We can use Modifiers such as Synchronize to help us with this.

Synch on your lead pokemon makes it more likely that pokemon of the same nature will appear, so we can take advantage of that here.

13 of 30

The results here will tell us what seed we need to hit, the PID stats, nature, level, gender and characteristic of the pokemon. It also tells us how many RNG advances we need to do from that seed, to hit our target.

(more on that in a minute)

We can right click a seed, and click “generate times for seed” in order to find out what date time, and delay we need to hit in order to land on that seed.

This was the window I showed earlier, but here’s another picture,

14 of 30

The bottom section here will also help us figure out if we are on seed when we get into the game.

15 of 30

Okay but do I just set a timer on my phone or what?

Thankfully, we have the technology. Specific RNG timers exist which will help us hit the necessary timing window, easily. If we miss, they’re also able to adjust for us, to match our reaction times. So if we’re consistent and enter everything correctly, we should hit our target seed without issue!

This is Eontimer, made by DasAmpharos. it supports a number of generations but we’ll be using the gen 4 tab.��Here we enter our target delay, and our target second.��If we miss our target, we can enter the delay we did get, and click the update button. This is commonly referred to as “calibration” we’re calibrating the timer to help get us closer to our target.

16 of 30

But how do we know what seed we got?

In HGSS we have other methods but here in Sinnoh, we flip a coin.

This is the coin flip Poketch App. When we tap the touch screen, it will land on either heads or tails (magikarp being heads in this case). This is, of course, random!

​

And when something random has to happen, the game calls the RNG to ask what the outcome should be.

​

We can log the results of about 8-10 coin flips and using that info Pokefinder should be able to tell is what seed and delay we hit.

17 of 30

We log our heads and tails results, until the tool tells us we have only 1 possible result, and click OK. It will then highlight the row we’re on. If it’s not our target delay, we’ll go back a few steps and enter that as our “delay hit” into Eon Timer, and let it update so our next attempt will be closer.

18 of 30

Okay so what if we hit our target seed? Now what? How do we getta’da pokemon??

If you recall our target Murkrow in this example is on advance 36. How do we get to advance 36? And what does that mean?

​

A lot of things advance the RNG, but a lot of them do it in ways which are not convenient or very predictable. Coin flips use a different RNG algorithm, so we can’t just flip coins 36 times and then get into a battle.

We’ll need a different, and much louder method…..

19 of 30

UHHHHHHHH AAAAAAHHHHAAAA

This is chatot. As a fun bit, because he’s supposed to be a parrot. They let you record a custom cry for him using the DS microphone. To make it sound weird and not just like your voice, they randomize the pitch of the cry when it plays back. Oh boy! Random, that’s good! This is the good kind of random too It advances the games main rng every time it has to decide what the pitch of the cry should be. So with a couple of these guys, we can listen to his cry and track the pitch until we’ve advanced the rng enough to land on our target. To make the pitch easier to hear we typically make the custom cry something monotone. Pokefinders generator tab will tell us what pitch corresponds to what rng advance.

20 of 30

The pitch goes from 0-99, and the H M and L will tell you roughly if it is a high, medium, or low sound. We want to stop 1 advance before our target, so we’d be playing chatot cries and stopping on that High 89 sound, which should be very distinct.

21 of 30

Now let's go get the thing

Here I’m saved in the correct location, with an adamant Abra (that has synchronize) in my lead spot. I have two Chatot with a custom recorded chatter, and a Gloom that has Sweet Scent, which can trigger a wild encounter on demand.

22 of 30

I set my date to march 27th 2024 like the tool says, and I’ve got my eon timer set up with my target delay and target second, from the previous step.

Here’s where we’ll start the timer. On pressing A to confirm the the time, we’ll also start Eon Timer.

The DS will prompt us to restart the system, and we’ll restart and launch the game when the timer beeps at us.

One more important detail to mention, is that Eon Timer is telling us to leave an additional minute before our target time, so we’ll set the clock to 11:54 instead of 11:55

23 of 30

Eon timer does a series of 6 beeps with the final beep being when you should press the button. This is similar to a metronome, and the audio queue helps peoples timing. Gen 4 is not very precise but it is a good habit to get into the rhythm and tap along with the beeps.

Once we launch the game on the first set of beeps, we’ll wait for the second stage of the timer on the file select screen.

​

Here’s where we’ll press A on the second stage of our timer, to confirm our Delay.

24 of 30

Once we are in the game, we will log our coin flips to see if we hit our target seed.

We hit delay 2808, which was not our target delay. Our date, time, and seconds match however, so all we should have to do is enter our Delay Hit into eon timer and click the update button once.

This changes the calibration value, and our next attempt should be much closer. I’ll reset and try again.

25 of 30

You fool you forgot something important!

Maybe you noticed before I did….

Murkrow is a night time spawn, it doesn’t show up at 11:55AM!

26 of 30

Yep I fucked up!

We need to find a seed that produces our desired target AND the time associated with that seed also needs to be between 8PM and 3:59AM (20:00-3:59) second set of two digits in the seed correspond to the hour, when converted from hex to decimal, so we don’t need to check them all individually thankfully.

​

​

27 of 30

With our new target seed and advances we’re good to try again until our coin flips match up.

We’re on seed, so now it’s time to head over to Pokefinders Generator tab, and advance with Chatot cries until we’re 1 before our target.

​

That was the hard part, now our shiny is almost guaranteed. Assuming we don’t have a horrible counting accident…

28 of 30

29 of 30

There we go!

5iv Adamant Shiny Murkrow in Pokemon Diamond.

You can manipulate nearly anything that’s supposed to be random in these games including,

Pokemon Lotto, Battle Tower Opponents, Even pokemon catching can be manipped.

30 of 30

Now for a live demo, on Shinx

Alex get your ds out and bring up the programs