Talk:Characteristic: Difference between revisions
No edit summary |
Codemonkey85 (talk | contribs) No edit summary |
||
Line 11: | Line 11: | ||
Guys, I figured it out. Take the PID Mod 6, and that gives you the index number of a stat in this order: HP, Attack, Defense, Speed, Special Attack, Special Defense. In the event of a tie in IVs, the first IV checked is the result of the PID Mod 6. If that IV is not part of the tie, it moves on to the next index number in the aforementioned order. If it goes past 5 (Special Defense), it wraps around back to 0 (HP). When it finds an IV that is part of the tie, that is the IV that will determine the Characteristic displayed. --[[User:Codemonkey85|Codemonkey85]] 15:15, 11 June 2009 (EST) | Guys, I figured it out. Take the PID Mod 6, and that gives you the index number of a stat in this order: HP, Attack, Defense, Speed, Special Attack, Special Defense. In the event of a tie in IVs, the first IV checked is the result of the PID Mod 6. If that IV is not part of the tie, it moves on to the next index number in the aforementioned order. If it goes past 5 (Special Defense), it wraps around back to 0 (HP). When it finds an IV that is part of the tie, that is the IV that will determine the Characteristic displayed. --[[User:Codemonkey85|Codemonkey85]] 15:15, 11 June 2009 (EST) | ||
:Should this be on the page? [[User:Lnodiv|Lnodiv]] 11:25, 3 September 2009 (UTC) | :Should this be on the page? [[User:Lnodiv|Lnodiv]] 11:25, 3 September 2009 (UTC) | ||
::Most likely, but I never got around to adding it. I guess I could do that now. --[[User:Codemonkey85|Codemonkey85]] 23:27, 03 September 2009 (EST) |
Revision as of 03:28, 4 September 2009
What happens with the same IVs in multiple stats? My Houndour has IVs of 31 in both HP and Special Attack, but it's got the Mischievous characteristic. TTEchidna 06:27, 23 April 2009 (UTC)
- If I remember correctly from Smogon's breeding guide, it seems random, and no-one has been able to figure out a pattern for multiple-31-IV Pokémon. Werdnae 06:37, 23 April 2009 (UTC)
- Would anyone care to help me figure this out? I'd really like to know how ties in highest IVs are handled, because I am writing a program to view (and soon edit) Pokémon DS save files, and I am aiming for 100% accuracy.
- I'm not so great at discerning mathematical patterns in binary files, but it seems to me that if we take a "control" Pokémon and iterate through different values for the PID and IVs (leaving everything else alone), we might spot a pattern. My guess is the PID is at the core of this whole thing.
- Either way, even if the number is selected at random, since every game that views the Pokémon agrees on the Characteristic, it has to be stored somewhere in the Pokémon data. So it would be neat to find that as well. Codemonkey85 09:45, 19 May 2009 (EST)
Guys, I figured it out. Take the PID Mod 6, and that gives you the index number of a stat in this order: HP, Attack, Defense, Speed, Special Attack, Special Defense. In the event of a tie in IVs, the first IV checked is the result of the PID Mod 6. If that IV is not part of the tie, it moves on to the next index number in the aforementioned order. If it goes past 5 (Special Defense), it wraps around back to 0 (HP). When it finds an IV that is part of the tie, that is the IV that will determine the Characteristic displayed. --Codemonkey85 15:15, 11 June 2009 (EST)
- Should this be on the page? Lnodiv 11:25, 3 September 2009 (UTC)
- Most likely, but I never got around to adding it. I guess I could do that now. --Codemonkey85 23:27, 03 September 2009 (EST)