mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 12:33:06 +00:00
Add remaining gen4 roamer slots
Co-Authored-By: Matt <17801814+sora10pls@users.noreply.github.com>
This commit is contained in:
parent
bd25312181
commit
d2115eb8b9
3 changed files with 16 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using static System.Buffers.Binary.BinaryPrimitives;
|
||||
|
||||
|
@ -158,4 +158,8 @@ public sealed class SAV4DP : SAV4Sinnoh
|
|||
public override uint SafariSeed { get => ReadUInt32LittleEndian(General.AsSpan(0x53C4)); set => WriteUInt32LittleEndian(General.AsSpan(0x53C4), value); }
|
||||
public override uint SwarmSeed { get => ReadUInt32LittleEndian(General.AsSpan(0x53C8)); set => WriteUInt32LittleEndian(General.AsSpan(0x53C8), value); }
|
||||
public override uint SwarmMaxCountModulo => 28;
|
||||
|
||||
public Roamer4 RoamerMesprit => new(General, 0x73A0);
|
||||
public Roamer4 RoamerCresselia => new(General, 0x73B4);
|
||||
public Roamer4 RoamerUnused => new(General, 0x73C8); // Darkrai
|
||||
}
|
||||
|
|
|
@ -252,7 +252,8 @@ public sealed class SAV4HGSS : SAV4
|
|||
public override uint SwarmSeed { get => ReadUInt32LittleEndian(General.AsSpan(0x68A8)); set => WriteUInt32LittleEndian(General.AsSpan(0x68A8), value); }
|
||||
public override uint SwarmMaxCountModulo => 20;
|
||||
|
||||
public Roamer4 Roamer1 => new(General, 0x68B4);
|
||||
public Roamer4 Roamer2 => new(General, 0x68C8);
|
||||
public Roamer4 Roamer3 => new(General, 0x68DC);
|
||||
}
|
||||
public Roamer4 RoamerRaikou => new(General, 0x68B4);
|
||||
public Roamer4 RoamerEntei => new(General, 0x68C8);
|
||||
public Roamer4 RoamerLatias => new(General, 0x68DC);
|
||||
public Roamer4 RoamerLatios => new(General, 0x68F0);
|
||||
}
|
||||
|
|
|
@ -128,6 +128,10 @@ public sealed class SAV4Pt : SAV4Sinnoh
|
|||
public override uint SwarmSeed { get => ReadUInt32LittleEndian(General.AsSpan(0x5664)); set => WriteUInt32LittleEndian(General.AsSpan(0x5664), value); }
|
||||
public override uint SwarmMaxCountModulo => 22;
|
||||
|
||||
public Roamer4 Roamer1 => new(General, 0x8008);
|
||||
public Roamer4 Roamer2 => new(General, 0x801C);
|
||||
public Roamer4 RoamerMesprit => new(General, 0x7FF4);
|
||||
public Roamer4 RoamerCresselia => new(General, 0x8008);
|
||||
public Roamer4 RoamerUnused => new(General, 0x801C); // Darkrai
|
||||
public Roamer4 RoamerArticuno => new(General, 0x8030);
|
||||
public Roamer4 RoamerZapdos => new(General, 0x8044);
|
||||
public Roamer4 RoamerMoltres => new(General, 0x8058);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue