public string GamePointers() { return(string.Concat( $"EG1: {SceneManagerEG1.GetPointer(Program):X} ", $"EG2: {SceneManagerEG2.GetPointer(Program):X} " )); }
public void PatchSheepRooms(bool enable) { if (!sheepRoomPatch.HasValue || enable != sheepRoomPatch.Value) { if (!IsEG2 || IsSheepObtainedHere.GetPointer(Program) == IntPtr.Zero) { return; } IsSheepObtainedHere.Write <byte>(Program, (byte)(enable ? 0x0 : 0xff)); sheepRoomPatch = enable; } }