From b56a9e62860a7c5eba7c6580cbf2f0b8d1b75665 Mon Sep 17 00:00:00 2001 From: Bassoonian Date: Thu, 4 Jan 2024 16:04:00 +0000 Subject: [PATCH] Remove unused function --- include/berry.h | 1 - src/berry.c | 6 ------ 2 files changed, 7 deletions(-) diff --git a/include/berry.h b/include/berry.h index 13cf77d4dd..ba1bbb1d12 100644 --- a/include/berry.h +++ b/include/berry.h @@ -1,7 +1,6 @@ #ifndef GUARD_BERRY_H #define GUARD_BERRY_H -void ClearEnigmaBerries(void); void SetEnigmaBerry(u8 *src); bool32 IsEnigmaBerryValid(void); const struct Berry *GetBerryInfo(u8 berry); diff --git a/src/berry.c b/src/berry.c index 88c4a16fe3..a73c9ddf12 100644 --- a/src/berry.c +++ b/src/berry.c @@ -1667,12 +1667,6 @@ const struct BerryCrushBerryData gBerryCrush_BerryData[] = { const struct BerryTree gBlankBerryTree = {}; -// unused -void ClearEnigmaBerries(void) -{ - CpuFill16(0, &gSaveBlock1Ptr->enigmaBerry, sizeof(gSaveBlock1Ptr->enigmaBerry)); -} - void SetEnigmaBerry(u8 *src) { u32 i;