Talk:Personality value: Difference between revisions

Line 671: Line 671:
:Now that I look at it again, a separate article on the encryption constant will be/is too similar to this article. A better long-term solution might be to have an article about the Gen VI data structure instead. [[User:Chenzw|Chenzw]] ([[User talk:Chenzw|talk]]) 08:39, 16 June 2016 (UTC)
:Now that I look at it again, a separate article on the encryption constant will be/is too similar to this article. A better long-term solution might be to have an article about the Gen VI data structure instead. [[User:Chenzw|Chenzw]] ([[User talk:Chenzw|talk]]) 08:39, 16 June 2016 (UTC)
::If the encryption constant substitutes perfectly for the PID where it's been implemented, then we could perhaps just redirect encryption constant here and add a bit of detail here. Outside of a few things the PID used to do (and, obviously, encrypting the Pokemon data structure), does the encryption constant do much else? [[User:Tiddlywinks|Tiddlywinks]] ([[User talk:Tiddlywinks|talk]]) 13:42, 16 June 2016 (UTC)
::If the encryption constant substitutes perfectly for the PID where it's been implemented, then we could perhaps just redirect encryption constant here and add a bit of detail here. Outside of a few things the PID used to do (and, obviously, encrypting the Pokemon data structure), does the encryption constant do much else? [[User:Tiddlywinks|Tiddlywinks]] ([[User talk:Tiddlywinks|talk]]) 13:42, 16 June 2016 (UTC)
== The relationship between PID and gender ==
This is no longer true with the introduction of a new byte in the Pokemon's data. I extracted data from a gen VI savefile and checked against Pokemon which are known to be legit (generated in-game, and untouched), and confirmed that the PID has no effect on gender. The opposite is also true–the game does not generate a PID to "fit" the Pokemon's gender (and thresholds).
A bit more about this byte: gender is determined by a bit field in 0x1D in gen VI, presumably primarily intended to store the forme (if any) of the Pokemon. It seems that this particular byte was introduced in gen IV at offset 0x40. I don't have a gen IV savefile to check against at this moment, but I suspect, given gen IV's quirks when it comes to PID generation, while PID may not affect gender in gen IV, the opposite could be true in the sense that gender will affect the final PID generated. [[User:Chenzw|Chenzw]] ([[User talk:Chenzw|talk]]) 17:54, 30 June 2016 (UTC)
1,422

edits