Fix small error with making new FREE_MYSTERY_GIFT

This commit is contained in:
Bassoonian 2024-02-02 16:34:03 +01:00
parent 6f668fb31d
commit 016a05ba96

View file

@ -185,8 +185,10 @@ void ClearSavedWonderCardAndRelated(void)
ClearRamScript();
ClearMysteryGiftFlags();
ClearMysteryGiftVars();
ClearEReaderTrainer(&gSaveBlock2Ptr->frontier.ereaderTrainer);
#endif //FREE_MYSTERY_GIFT
#if FREE_BATTLE_TOWER_E_READER == FALSE
ClearEReaderTrainer(&gSaveBlock2Ptr->frontier.ereaderTrainer);
#endif //FREE_BATTLE_TOWER_E_READER
}
bool32 SaveWonderCard(const struct WonderCard *card)