summaryrefslogtreecommitdiff
path: root/src/save.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-12-28 18:07:41 -0500
committerGriffinR <griffin.g.richards@gmail.com>2021-12-28 18:07:41 -0500
commitaadab8b0167f1f74a28d4234509faffd8dca7bc2 (patch)
tree878fb05106e02de42183eb29e5688cfe5077f87d /src/save.c
parentaba5264260d023686a08f406651256de324cdf4d (diff)
Move pokemon and easy chat constants to global, misc clean-up
Diffstat (limited to 'src/save.c')
-rw-r--r--src/save.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/save.c b/src/save.c
index b53956438..dafc20868 100644
--- a/src/save.c
+++ b/src/save.c
@@ -428,7 +428,7 @@ static u8 CopySectorSecurityByte(u16 sectorId, const struct SaveSectorLocation *
}
else
{
- // Succeded
+ // Succeeded
SetDamagedSectorBits(DISABLE, sector);
return SAVE_STATUS_OK;
}
@@ -734,7 +734,7 @@ u8 HandleSavingData(u8 saveType)
WriteSaveSectorOrSlot(FULL_SAVE_SLOT, gRamSaveSectorLocations);
break;
case SAVE_LINK:
- case SAVE_LINK2:
+ case SAVE_EREADER: // Dummied, now duplicate of SAVE_LINK
// Used by link / Battle Frontier
// Write only SaveBlocks 1 and 2 (skips the PC)
CopyPartyAndObjectsToSave();