示例#1
0
 public string GamePointers()
 {
     return(string.Concat(
                $"EG1: {SceneManagerEG1.GetPointer(Program):X} ",
                $"EG2: {SceneManagerEG2.GetPointer(Program):X} "
                ));
 }
示例#2
0
        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;
            }
        }