mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-01 05:56:41 -05:00
Fix gen3 jp OT editing breaking jp detection
Thanks ajxpk!
This commit is contained in:
@@ -269,7 +269,11 @@ private uint SecurityKey
|
||||
public override string OT
|
||||
{
|
||||
get => GetString(BlockOfs[0], 0x10);
|
||||
set => SetString(value, OTLength, PadWith:0xFF).CopyTo(Data, BlockOfs[0]);
|
||||
set
|
||||
{
|
||||
int len = Japanese ? 5 : OTLength;
|
||||
SetString(value, len, PadWith: 0xFF, PadToSize: len).CopyTo(Data, BlockOfs[0]);
|
||||
}
|
||||
}
|
||||
public override int Gender
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user