Use implicilt berry indexes in arrays

This commit is contained in:
DizzyEggg authored and huderlem committed 2019-04-14 10:15:18 -05:00
1 parent 065c60544d
commit dc764698c9
6 files changed
+228 -146

No files matched your search

-6
View File
@@ -34,12 +34,6 @@ enum
BERRY_STAGE_SPARKLING = 0xFF,
};
#define NUM_BERRIES 44
extern const u8 *const gBerryTreeEventObjectGraphicsIdTablePointers[];
extern const struct SpriteFrameImage *const gBerryTreePicTablePointers[];
extern const u8 *const gBerryTreePaletteSlotTablePointers[];
void ClearEnigmaBerries(void);
void SetEnigmaBerry(u8 *src);
bool32 IsEnigmaBerryValid(void);