summaryrefslogtreecommitdiff
path: root/include/save.h
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-10-19 16:30:00 -0400
committerGriffinR <griffin.g.richards@gmail.com>2021-10-19 16:30:00 -0400
commitbc409baeff4ef2ec9ab774e0ecd1d0cca991eaaf (patch)
treede381d11365450825fdf0990d6d54f8989825c6d /include/save.h
parent934a7e7a5d2074e9f80294ac8f538a2b038061b1 (diff)
Fix incorrect NUM_SECTORS_PER_SLOT define
Diffstat (limited to 'include/save.h')
-rw-r--r--include/save.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/save.h b/include/save.h
index 4eaa72458..406e2e492 100644
--- a/include/save.h
+++ b/include/save.h
@@ -34,8 +34,6 @@ struct SaveSectionOffsets
#define SECTOR_FOOTER_SIZE 128
#define SECTOR_SIZE (SECTOR_DATA_SIZE + SECTOR_FOOTER_SIZE)
-// Emerald changes this definition to be the sectors per slot.
-#define NUM_SECTORS_PER_SLOT 16
#define NUM_SAVE_SLOTS 2
#define UNKNOWN_CHECK_VALUE 0x8012025
@@ -66,7 +64,7 @@ enum
#define SECTOR_ID_SAVEBLOCK1_END 4
#define SECTOR_ID_PKMN_STORAGE_START 5
#define SECTOR_ID_PKMN_STORAGE_END 13
-#define SECTOR_SAVE_SLOT_LENGTH 14
+#define NUM_SECTORS_PER_SLOT 14
// Save Slot 1: 0-13; Save Slot 2: 14-27
#define SECTOR_ID_HOF_1 28
#define SECTOR_ID_HOF_2 29