SAV3E: Max Item ID +2

Closes #4033
This commit is contained in:
Kurt 2023-10-11 19:30:26 -07:00
parent b6a42d414b
commit 0491ab2372
3 changed files with 3 additions and 1 deletions

View file

@ -21,6 +21,7 @@ public static class Legal
internal const int MaxSpeciesID_3 = 386; internal const int MaxSpeciesID_3 = 386;
internal const int MaxMoveID_3 = 354; internal const int MaxMoveID_3 = 354;
internal const int MaxItemID_3 = 374; internal const int MaxItemID_3 = 374;
internal const int MaxItemID_3_E = 376;
internal const int MaxItemID_3_COLO = 547; internal const int MaxItemID_3_COLO = 547;
internal const int MaxItemID_3_XD = 593; internal const int MaxItemID_3_XD = 593;
internal const int MaxAbilityID_3 = 77; internal const int MaxAbilityID_3 = 77;

View file

@ -160,7 +160,7 @@ public abstract class SAV3 : SaveFile, ILangDeviantSave, IEventFlag37
public sealed override ushort MaxMoveID => Legal.MaxMoveID_3; public sealed override ushort MaxMoveID => Legal.MaxMoveID_3;
public sealed override ushort MaxSpeciesID => Legal.MaxSpeciesID_3; public sealed override ushort MaxSpeciesID => Legal.MaxSpeciesID_3;
public sealed override int MaxAbilityID => Legal.MaxAbilityID_3; public sealed override int MaxAbilityID => Legal.MaxAbilityID_3;
public sealed override int MaxItemID => Legal.MaxItemID_3; public override int MaxItemID => Legal.MaxItemID_3;
public sealed override int MaxBallID => Legal.MaxBallID_3; public sealed override int MaxBallID => Legal.MaxBallID_3;
public sealed override int MaxGameID => Legal.MaxGameID_3; public sealed override int MaxGameID => Legal.MaxGameID_3;

View file

@ -27,6 +27,7 @@ public sealed class SAV3E : SAV3, IGen3Hoenn, IGen3Joyful, IGen3Wonder
protected override int EventFlag => 0x1270; protected override int EventFlag => 0x1270;
protected override int EventWork => 0x139C; protected override int EventWork => 0x139C;
public override int MaxItemID => Legal.MaxItemID_3_E;
private void Initialize() private void Initialize()
{ {