summaryrefslogtreecommitdiff
path: root/src/save.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-12-29 00:57:37 -0500
committerGitHub <noreply@github.com>2021-12-29 00:57:37 -0500
commit4192a40adf85e4825775f16a33df6e84d6ec0bcb (patch)
tree276dec6b4672931232c9ec6e1134b463cc773abd /src/save.c
parentf554f09aedeea7478e650d263a40a9949bc898d6 (diff)
parentaadab8b0167f1f74a28d4234509faffd8dca7bc2 (diff)
Merge pull request #1583 from GriffinRichards/renametilemaps
Give less generic names to some tilemaps, some misc fixes
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();