Do you have a savestate before phreak? This happens because you made 64kb save files instead of 128kb save files. If you don't have a savestate or a backup of your save I don't know how to help you.
It is a common issue and I'm others will have a solution here on pokecommunity.
It is a common issue and I'm others will have a solution here on pokecommunity.