Use implicilt berry indexes in arrays

This commit is contained in:
DizzyEggg
2019-04-14 13:22:37 +02:00
committed by huderlem
parent 065c60544d
commit dc764698c9
6 changed files with 228 additions and 146 deletions

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);