From 016a05ba9620d908ade1e4a1c1625b0271c3bc27 Mon Sep 17 00:00:00 2001 From: Bassoonian Date: Fri, 2 Feb 2024 16:34:03 +0100 Subject: [PATCH] Fix small error with making new FREE_MYSTERY_GIFT --- src/mystery_gift.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mystery_gift.c b/src/mystery_gift.c index 48a6b1545f..1c1d871d66 100755 --- a/src/mystery_gift.c +++ b/src/mystery_gift.c @@ -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)