Admiral-Fish / CitraRNG

GNU General Public License v3.0
4 stars 7 forks source link

[Gen 6] Fishing / PokeRadar wild missing. #14

Open RichardPaulAstley opened 2 years ago

RichardPaulAstley commented 2 years ago

Hi boi, So pretty much in Gen 6, the data about some wilds isn't stored the same way.

For X/Y it's Fishing + PokeRadar For ORAS it's only Fishing iirc.

(I might be wrong about that, since i'm using my memory for that, but it's sure that these are affected)

I did a bad fix on my own version to make it work (really bad) for some case.

In X/Y the offset for PokeRadar stuff is : wild_offset - 0x198 - 0xA1C Doing that allowed me to display PokeRadar stuff.

image

But with my edit basic wild doesn't work anymore. So I guess you'd have to add some methods to display them ?

Fishing doesn't have the same offset as PokeRadar.

Thanks <3

Lincoln-LM commented 2 years ago

adding on to this, to be more specific the pokeradar mon should be stored at self.getWildOffset() - 0x198 and fishing should be stored at self.getWildOffset() + 0xaa8 (fishing only tested on X)