mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-11 07:04:16 +00:00
Update frlg flag/var offset
https://www.pokecommunity.com/showthread.php?t=349936 https://projectpokemon.org/home/forums/topic/47715-help-frlg-flags-research/
This commit is contained in:
parent
4a81f326eb
commit
62d8abb69c
1 changed files with 2 additions and 2 deletions
|
@ -155,7 +155,7 @@ namespace PKHeX.Core
|
|||
OFS_PouchTMHM = BlockOfs[1] + 0x0464;
|
||||
OFS_PouchBerry = BlockOfs[1] + 0x054C;
|
||||
SeenFlagOffsets = new[] { PokeDex + 0x44, BlockOfs[1] + 0x5F8, BlockOfs[4] + 0xB98 };
|
||||
EventFlag = BlockOfs[2] + 0x000;
|
||||
EventFlag = BlockOfs[1] + 0xEE0;
|
||||
EventConst = EventFlag + (EventFlagMax / 8);
|
||||
Daycare = BlockOfs[4] + 0x100;
|
||||
break;
|
||||
|
@ -261,7 +261,7 @@ namespace PKHeX.Core
|
|||
public override int OTLength => 7;
|
||||
public override int NickLength => 10;
|
||||
public override int MaxMoney => 999999;
|
||||
protected override int EventFlagMax => 8 * (RS ? 288 : 300); // 0x900 RS, else 0x960
|
||||
protected override int EventFlagMax => 8 * (E ? 300 : 288); // 0x960 E, else 0x900
|
||||
protected override int EventConstMax => EventConst > 0 ? 0x100 : int.MinValue;
|
||||
|
||||
public override bool HasParty => true;
|
||||
|
|
Loading…
Reference in a new issue