Awesome job, Kazo!
So, I was tinkering around with the "unknown" value on the individual pokemon tab and found out some fairly simple things relating to gender/abilities. While the vast majority of trainers have all of their pokemons' unknown value set to 0, many of the harder trainers have it at either 16 or 32. I didn't get a chance to actually test this out by modding a random trainer's pokemon then checking with Synchronize, but I did cross-reference the values of every single Rival, Villain, Gym Leader and E4 member's pokemon with their pages on Serebii. With only two exceptions, all pokemon with an unknown value of 16 use their first ability, and those with 32 use their second one.
As for the exceptions, Elesa's Emolga/Emolga/Zebstrika were male/female/male and had values of 1/2/1. This one I actually tested out - pokemon will be male with an unknown value of 1 and female with a value of 2. The other exception was Shauntal's Jellicent, with an unknown value of 34. It's a female with Cursed Body (Jellicent's second ability). This most likely has something to do with Jellicent's differing male/female forms.
One final thing I noticed was that Grimsley's two Scrafty both have Moxie and the same unknown value, though one's a dude and the other's a chick.
For the record, I have no clue about the Scrafty case.
Is there a way to know what each trainer class is when you change it without guessing, because PKMN Trainer 001, PKMN Trainer 065, ect doesn't really help me figure it out.
Edit: Got it working now, I forgot to delete the original NARC files, tahts what it was. Great program man. So far, used it to replace Marshal with Blue's team (assuming Charizard, but swapping Charizard with Ho-Oh) from Fire Led/Leaf Green. Can't wait to really experiment And I can do the gym leaders too, since with AR, we can rematch people.
Last edited by RobbieNewton; Mar 28th, 2011 at 04:53 AM.
Are you sure this 250 value sets the difficulty? (2nd pic)
Seems like I can't actually rematch Leaders, ah well. Gonna put Pseudo-Leaders in Black City in that case, already replaced youngster Robbie (>_>)'s team with Misty's team. Also, anyone worked out what the Unknown value for Shiny will be? I have Lance in the E4 >_>
Looking at these unknowns, it screams bit flags. How so?
Code:5th and 6th bits - Ability 16 - Ability 1 -- 010000 32 - Ability 2 -- 100000 48 - Ability 3 -- 110000 (Dream World) Both being 0 would result in an unset (random???) ability. Untested!Combining these...Code:1st and 2nd bits - Gender 1 - Male - 01 2 - Female - 10 Both being 0/1 would result in an unset (random???) gender. 87 (11) is female. Is 00 male?
1,2,5,6 bits explained. I haven't fiddled with this thing at all (just observing from afar) -- So I ask you all this:Code:34 - 100010 -- Ability 2 and Female Cursed body female Jellicent as reported by Abacus 87 - 1010111 -- Ability 1, Female. It has a 7th bit, no clue what that does!
Would IVs and EVs be set by these different bits? Max or Zero, or Max, 20, 0 or random??
250 = 11111010
For a slow Cofagrigus, it'd have a max everything except speed.
Uppermost bits might be the IV max/min toggle, HP/A/D/SA/SD/Sp. Sp being untoggled, zero! No clue what those lowest 2 are for (smarts?) Just theorizing.
Seeing a Chandelure with the same 250, it might not be in that exact order after all.
Just trying to do some pattern recognition!Code:255 = 31/31/31/31/31/31 -- 11111111 250 = 30/30/30/30/30/30 -- 11111010 0 = 0/ 0/ 0/ 0/ 0/ 0 -- 00000000 -- Assuming this is the case. 5 bits for IVs (76543) 31 -- 11111 30 -- 11110 0 -- 00000
On the middle values, you might have it misplaced. I did difficulty value 151, which gave me 18 IV's. So, 151 is 1001011. 18 is 10010. It would appear that the IV number is only the first five.
OH YEAH!!! Also changed the unknown value to 62, which is 111110. It correctly gave me the dream world ability, and also changed the gender to female (originally male). AND it changed the nature to Docile when it was originally Timid.