mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-22 20:13:06 +00:00
parent
276a1952fb
commit
5334f1ef78
1 changed files with 2 additions and 2 deletions
|
@ -527,14 +527,14 @@ public sealed class SAV2 : SaveFile, ILangDeviantSave, IEventFlagArray, IEventWo
|
|||
}
|
||||
}
|
||||
|
||||
public bool MysteryGiftIsUnlocked
|
||||
public bool IsMysteryGiftUnlocked
|
||||
{
|
||||
get
|
||||
{
|
||||
int ofs = Offsets.MysteryGiftIsUnlocked;
|
||||
if (ofs == -1)
|
||||
return false;
|
||||
return Data[ofs] == 0x00;
|
||||
return (sbyte)Data[ofs] >= 0x00; // -1 is disabled; [0,5] is unlocked
|
||||
}
|
||||
set
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue