Thanks for the update.
One bug seems to be completely resolved.
Can you fix another bug, the calculation of the current stats value set in the pkm data is wrong?
e.g. Stats
Lv:5 HP:18, Atk:9, Def:6, Spe:12, SpA:8, SpD:8
0x54 to 0x63
Pokémon Box ROM outputs
05 ff 10 00 10 00 08 00 06 00 0b 00...