mirror of https://github.com/pret/pokeemerald.git
Fakematch resolved
This commit is contained in:
parent
3746efb9c2
commit
abae52a017
|
@ -648,12 +648,10 @@ static void UpdateSaveAddresses(void)
|
||||||
gRamSaveSectionLocations[i].size = sSaveSectionOffsets[i].size;
|
gRamSaveSectionLocations[i].size = sSaveSectionOffsets[i].size;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = SECTOR_ID_PKMN_STORAGE_START; i <= SECTOR_ID_PKMN_STORAGE_END; i++)
|
for (; i <= SECTOR_ID_PKMN_STORAGE_END; i++) //i = SECTOR_ID_PKMN_STORAGE_START; in the initialization clause does not match
|
||||||
{
|
{
|
||||||
gRamSaveSectionLocations[i].data = (void*)(gPokemonStoragePtr) + sSaveSectionOffsets[i].toAdd;
|
gRamSaveSectionLocations[i].data = (void*)(gPokemonStoragePtr) + sSaveSectionOffsets[i].toAdd;
|
||||||
gRamSaveSectionLocations[i].size = sSaveSectionOffsets[i].size;
|
gRamSaveSectionLocations[i].size = sSaveSectionOffsets[i].size;
|
||||||
|
|
||||||
i++;i--; // needed to match
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue