mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 13:58:33 +00:00
Update event flag index for frlg
was block2+0x64 8*((0xF80-0xEE0)+0x64) = 0x820 this highlights a critical flaw in event flag reading; it expects the region to be contiguous in the savedata. it's not. that's super bad, and event flag r/w for flags >1280 won't work until I work something out
This commit is contained in:
parent
62d8abb69c
commit
a38a0fed60
1 changed files with 1 additions and 1 deletions
|
@ -410,7 +410,7 @@ namespace PKHeX.Core
|
|||
if (Version == GameVersion.FRLG)
|
||||
return 800; // dec
|
||||
if (Version == GameVersion.RS)
|
||||
return 0x807; // hex
|
||||
return 0x820; // hex
|
||||
return 0x867; // emerald
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue