Emerald: Add walda wallpaper

use block editor
f7a699c686/include/global.h (L1045)
This commit is contained in:
Kurt 2021-09-06 20:46:41 -07:00
parent b01664d518
commit d8c5c027ac

View file

@ -211,6 +211,13 @@ namespace PKHeX.Core
}
protected override int SeenOffset3 => 0x3B24;
private const int Walda = 0x3D70;
public ushort WaldaBackgroundColor { get => BitConverter.ToUInt16(Large, Walda + 0); set => BitConverter.GetBytes(value).CopyTo(Large, Walda + 0); }
public ushort WaldaForegroundColor { get => BitConverter.ToUInt16(Large, Walda + 2); set => BitConverter.GetBytes(value).CopyTo(Large, Walda + 2); }
public byte WaldaIconID { get => Large[Walda + 0x14]; set => Large[Walda + 0x14] = value; }
public byte WaldaPatternID { get => Large[Walda + 0x15]; set => Large[Walda + 0x15] = value; }
public bool WaldaUnlocked { get => Large[Walda + 0x16] != 0; set => Large[Walda + 0x16] = (byte)(value ? 1 : 0); }
#endregion
private const uint EXTRADATA_SENTINEL = 0x0000B39D;