I tested the before and after saves to see what values changed in stats after link trading using commit 560e471.
I used two N3DS. and two pokemon sun game version.
I believe that value 035 is the number of quick links. This number changed three times(+3) after connecting three times by quick link.
I also believe that value 027 is number of BP earned it includes those earned in battle tree and Plaza.
I'm hoping that if anyone can confirm this values as well. maybe we can identify some of the unknown stats labels.
I think Battle Royals are also included since I have a non-modified save which has 906 Wild Battles and 182 Trainer Battles for a total of 1088, but since it has tab 003 with 1089, Battle Royals are the only thing that would make sense to be accounted for to make it that number (specifically the number of wins as there are no online/link battles done in this save i have).
And i can confirm that berries are accounted for in tab 115.
Here's the Gumshoos from the first trial.
EDIT: By dumping some more Gumshoos untill I was able to find the Yungoos .pk7, I found out that all of both pokemons IV's are set to 0, except the atack, which is given a random value from 2-28 (From my samples. It may as well be 0-31)
735 - Gumshoos - 072B09C4E3AC.pk7
I figured that it's easier to track changes with a new save.
046 - 0x69CB8 = number of times you have ran away from battles.
003 - 69c0c = pokemon battles total(Trainer+wild+?). Early in the game this number is made up by wild pokemon battles(004)plus trainer battles(005). but comparing it with a post game save its off by a few numbers. There may be third value involved(battle spot?battle tree?). My post game was edited so it might not be reliable. I would have to play without cheats/or edits and document the changes to confirm.
005 - 69C14 = pokemon trainer battles total/defeated
115 - 0x69DAE = items picked up (does it include berries?,TMs?) - to be confirm
Oh really? I was under the impression that the PID was locked late in generation - Most of the greninja wc7 files I've uploaded seem to have the same pid depending on region. Thank you for your answer!
while the PID of Ash-Greninja is set from the wonder card,
it's actually generated by the Demo.
In other words, Ash-Greninja can have any non-shiny PID.
I created an account just to answer how to fix this issue so pass it on. Since Mr. Mike and Farfetch'd caught with the Trainer-Fly glitch don't appear with correct names when transferred over, simply nickname them bad words, transfer them with Poke Transporter and then the filter will automatically revert them back to the corrected name. It's very simple.
PKHeX displays the date based on the user's locale, I believe. Simmsy's computer displays it this way. PKHeX wouldn't allow you to have an invalid entry like that in the date field
As Pokemon Bank got an update to include a new feature to track your certain stats from all 6 current 3DS games I have found out some new values!
Sun & Moon
Pokemon caught fishing: 69C1C (tab 007 in PKHeX)
Pokemon evolved: 69C24 (tab 009 in PKHeX)
Fossils restored: 69DB4 (tab 118 in PKHeX)
ORAS
Wild Pokemon encountered: 1F414
Pokemon caught fishing: 1F420
Fossils restored: 1F5B4
Pokemon caught in one day: 1F5A8
Pokemon evolved in one day: 1F5B0
XY
Pokemon caught: 1E41C
Pokemon caught fishing: 1E420
Fossils restored: 1E5B4
Pokemon caught in one day: 1E5A8
Pokemon evolved in one day: 1E5B0
I've also been working on finding data in Poke Pelago for visiting wild Pokemon. One reason is so we can view the data in case there's a shiny Pokemon and it can be extracted without playing the waiting game of luck.
The Pokemon are in the 260byte encrypted format (.bin) but only use the first 232 bytes from what i've seen.
I managed to extract raw data from a Pokemon visitor by taking the first 232 bytes from the following offsets and putting it into another template Pokemon's .bin file.
Visiting Pokemon 1: 3C4AE
Visiting Pokemon 2: 3C59A
Visiting Pokemon 3: 3C686
When looked at in PKHeX the differences of the raw data compared to when captured were a blank met location, date, OT and also under Extra Bytes 0x2A had a byte of 10 and when received had 11.
Example of mine:
Lapras RAW.bin
Lapras claimed.bin
Proof of editing encounters:
http://imgur.com/ceWkzpZ
http://imgur.com/W2HmtCB