Jump to content

[Suggestion/Bug?] Gen 5 Roamers block data only shows info on Roaming Thundurus


SaltedNeos

Recommended Posts

Hey, so I got bored earlier and decided to mess about with gen 5 roamer editing, long story short, I RNG'd a Roamer ages ago, was curious if the game kept its data, it doesn't but it led me to messing with the data of the active roamer.

Basically found out that the data PKHex currently shows on a roamer in the block data only accounts for the Pokemon in the slot for Thundurus, and that there's a second slot after that which is used for Tornadus with the exact same structure. Of course with only one roamer per version usually only one gets used, and that's the one that your version normally gets, so as is with PKHeX, if Black version with an active Tornadus roaming checks the encounter block for their roamer, they get no information because PKHeX seems to only account for the slot for Thundurus.

The highlighted part here is the Thundurus slot which PKHeX currently accounts for, the red is the Tornadus slot. Side note, having both active at the same time is kinda buggy, but PKHeX currently doesn't support setting them to roaming manually anyways.

I guess I'm asking if it'd be possible to add the second roamer slot to the encounter block data for gen 5?


image.png.68555151c835552ac35e075a91f46342.png

Link to comment
Share on other sites

On 5/9/2023 at 4:16 PM, Kaphotics said:

Okay, it might not be identical after all, when I said identical, I also assumed PKHeX started at the FFs and not the beginning for some reason. I wanted to verify this before the next compiled release update, but couldn't get it to build for some reason. That's my mistake.

Basically, the highlighted and red parts were the parts which were identical. As is, it looks like the data is 0x04 bytes offset on the second roamer due to the first 4 bytes. Sorry for any potential confusion. The Capture unknown and the last location are the parts that are shared based on what uses what, in the gen 5 roamer core in PKHeX.

image.png.8668b142f5a40484853596983a17bed3.png

Edited by SaltedNeos
Actually looked at the gen 5 roamer core to find which parts are shared.
Link to comment
Share on other sites

  • 4 weeks later...

In case the update got missed, bumping this. The first 4 bytes on Roamer 2 are causing it to be offset, I wasn't clear enough when I said which part of the roamer object was identical. I'm pretty sure based on what I was reading in the PKHeX Core roamer file in the GitHub that it means that the Last Location and Capture Unknown are shared between them, but other then that the rest of the roamer object is duplicated.

 

I'm aware that the new home support is absolutely is and should be a priority, I do however want to make sure that this bug is known for after that is done.

Link to comment
Share on other sites

On 6/9/2023 at 12:34 PM, SaltedNeos said:

In case the update got missed, bumping this. The first 4 bytes on Roamer 2 are causing it to be offset, I wasn't clear enough when I said which part of the roamer object was identical. I'm pretty sure based on what I was reading in the PKHeX Core roamer file in the GitHub that it means that the Last Location and Capture Unknown are shared between them, but other then that the rest of the roamer object is duplicated.

 

I'm aware that the new home support is absolutely is and should be a priority, I do however want to make sure that this bug is known for after that is done.

revised: https://github.com/kwsch/PKHeX/commit/6964d48adb652b4a13826a61d9ec00fe39388f7e

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...