Update SAV1Stadium.cs

This commit is contained in:
Kurt 2020-10-09 22:11:32 -07:00 committed by GitHub
parent bb65f2d2c2
commit 79f60d2236
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -184,7 +184,7 @@ namespace PKHeX.Core
var str = GetString(otOfs, Japanese ? 5 : 7);
if (string.IsNullOrWhiteSpace(str))
return name;
var idOfs = ofs + (Japanese ? 0xC : 0x8);
var idOfs = ofs + (Japanese ? 0x8 : 0xC);
var id = BigEndian.ToUInt16(Data, idOfs);
return $"{name} [{id:D5}:{str}]";
}