const struct SpriteFrameImage gObjectEventPicTable_PechaBerryTree[] = {
    overworld_frame(gObjectEventPic_BerryTreeDirtPile, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 1),
    overworld_frame(gObjectEventPic_PechaBerryTree, 2, 4, 0),
    overworld_frame(gObjectEventPic_PechaBerryTree, 2, 4, 1),
    overworld_frame(gObjectEventPic_PechaBerryTree, 2, 4, 2),
    overworld_frame(gObjectEventPic_PechaBerryTree, 2, 4, 3),
    overworld_frame(gObjectEventPic_PechaBerryTree, 2, 4, 4),
    overworld_frame(gObjectEventPic_PechaBerryTree, 2, 4, 5),
};

const u8 gBerryTreePaletteSlotTable_Pecha[] = {3, 4, 4, 4, 4};

const struct SpriteFrameImage gObjectEventPicTable_KelpsyBerryTree[] = {
    overworld_frame(gObjectEventPic_BerryTreeDirtPile, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 1),
    overworld_frame(gObjectEventPic_KelpsyBerryTree, 2, 4, 0),
    overworld_frame(gObjectEventPic_KelpsyBerryTree, 2, 4, 1),
    overworld_frame(gObjectEventPic_KelpsyBerryTree, 2, 4, 2),
    overworld_frame(gObjectEventPic_KelpsyBerryTree, 2, 4, 3),
    overworld_frame(gObjectEventPic_KelpsyBerryTree, 2, 4, 4),
    overworld_frame(gObjectEventPic_KelpsyBerryTree, 2, 4, 5),
};

const u8 gBerryTreePaletteSlotTable_Kelpsy[] = {3, 4, 2, 2, 2};

const struct SpriteFrameImage gObjectEventPicTable_WepearBerryTree[] = {
    overworld_frame(gObjectEventPic_BerryTreeDirtPile, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 1),
    overworld_frame(gObjectEventPic_WepearBerryTree, 2, 4, 0),
    overworld_frame(gObjectEventPic_WepearBerryTree, 2, 4, 1),
    overworld_frame(gObjectEventPic_WepearBerryTree, 2, 4, 2),
    overworld_frame(gObjectEventPic_WepearBerryTree, 2, 4, 3),
    overworld_frame(gObjectEventPic_WepearBerryTree, 2, 4, 4),
    overworld_frame(gObjectEventPic_WepearBerryTree, 2, 4, 5),
};

const u8 gBerryTreePaletteSlotTable_Wepear[] = {3, 4, 2, 2, 2};

const struct SpriteFrameImage gObjectEventPicTable_IapapaBerryTree[] = {
    overworld_frame(gObjectEventPic_BerryTreeDirtPile, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 1),
    overworld_frame(gObjectEventPic_IapapaBerryTree, 2, 4, 0),
    overworld_frame(gObjectEventPic_IapapaBerryTree, 2, 4, 1),
    overworld_frame(gObjectEventPic_IapapaBerryTree, 2, 4, 2),
    overworld_frame(gObjectEventPic_IapapaBerryTree, 2, 4, 3),
    overworld_frame(gObjectEventPic_IapapaBerryTree, 2, 4, 4),
    overworld_frame(gObjectEventPic_IapapaBerryTree, 2, 4, 5),
};

const u8 gBerryTreePaletteSlotTable_Iapapa[] = {3, 4, 3, 3, 3};

const struct SpriteFrameImage gObjectEventPicTable_CheriBerryTree[] = {
    overworld_frame(gObjectEventPic_BerryTreeDirtPile, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 1),
    overworld_frame(gObjectEventPic_CheriBerryTree, 2, 4, 0),
    overworld_frame(gObjectEventPic_CheriBerryTree, 2, 4, 1),
    overworld_frame(gObjectEventPic_CheriBerryTree, 2, 4, 2),
    overworld_frame(gObjectEventPic_CheriBerryTree, 2, 4, 3),
    overworld_frame(gObjectEventPic_CheriBerryTree, 2, 4, 4),
    overworld_frame(gObjectEventPic_CheriBerryTree, 2, 4, 5),
};

const u8 gBerryTreePaletteSlotTable_Cheri[] = {3, 4, 4, 4, 4};

const struct SpriteFrameImage gObjectEventPicTable_FigyBerryTree[] = {
    overworld_frame(gObjectEventPic_BerryTreeDirtPile, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 1),
    overworld_frame(gObjectEventPic_FigyBerryTree, 2, 4, 0),
    overworld_frame(gObjectEventPic_FigyBerryTree, 2, 4, 1),
    overworld_frame(gObjectEventPic_FigyBerryTree, 2, 4, 2),
    overworld_frame(gObjectEventPic_FigyBerryTree, 2, 4, 3),
    overworld_frame(gObjectEventPic_FigyBerryTree, 2, 4, 4),
    overworld_frame(gObjectEventPic_FigyBerryTree, 2, 4, 5),
};

const u8 gBerryTreePaletteSlotTable_Figy[] = {3, 4, 3, 3, 3};

const struct SpriteFrameImage gObjectEventPicTable_MagoBerryTree[] = {
    overworld_frame(gObjectEventPic_BerryTreeDirtPile, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 1),
    overworld_frame(gObjectEventPic_MagoBerryTree, 2, 4, 0),
    overworld_frame(gObjectEventPic_MagoBerryTree, 2, 4, 1),
    overworld_frame(gObjectEventPic_MagoBerryTree, 2, 4, 2),
    overworld_frame(gObjectEventPic_MagoBerryTree, 2, 4, 3),
    overworld_frame(gObjectEventPic_MagoBerryTree, 2, 4, 4),
    overworld_frame(gObjectEventPic_MagoBerryTree, 2, 4, 5),
};

const u8 gBerryTreePaletteSlotTable_Mago[] = {3, 4, 3, 3, 3};

const struct SpriteFrameImage gObjectEventPicTable_LumBerryTree[] = {
    overworld_frame(gObjectEventPic_BerryTreeDirtPile, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 1),
    overworld_frame(gObjectEventPic_LumBerryTree, 2, 4, 0),
    overworld_frame(gObjectEventPic_LumBerryTree, 2, 4, 1),
    overworld_frame(gObjectEventPic_LumBerryTree, 2, 4, 2),
    overworld_frame(gObjectEventPic_LumBerryTree, 2, 4, 3),
    overworld_frame(gObjectEventPic_LumBerryTree, 2, 4, 4),
    overworld_frame(gObjectEventPic_LumBerryTree, 2, 4, 5),
};

const u8 gBerryTreePaletteSlotTable_Lum[] = {3, 4, 4, 4, 4};

const struct SpriteFrameImage gObjectEventPicTable_RazzBerryTree[] = {
    overworld_frame(gObjectEventPic_BerryTreeDirtPile, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 1),
    overworld_frame(gObjectEventPic_RazzBerryTree, 2, 4, 0),
    overworld_frame(gObjectEventPic_RazzBerryTree, 2, 4, 1),
    overworld_frame(gObjectEventPic_RazzBerryTree, 2, 4, 2),
    overworld_frame(gObjectEventPic_RazzBerryTree, 2, 4, 3),
    overworld_frame(gObjectEventPic_RazzBerryTree, 2, 4, 4),
    overworld_frame(gObjectEventPic_RazzBerryTree, 2, 4, 5),
};

const u8 gBerryTreePaletteSlotTable_Razz[] = {3, 4, 4, 4, 4};

const struct SpriteFrameImage gObjectEventPicTable_GrepaBerryTree[] = {
    overworld_frame(gObjectEventPic_BerryTreeDirtPile, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 1),
    overworld_frame(gObjectEventPic_GrepaBerryTree, 2, 4, 0),
    overworld_frame(gObjectEventPic_GrepaBerryTree, 2, 4, 1),
    overworld_frame(gObjectEventPic_GrepaBerryTree, 2, 4, 2),
    overworld_frame(gObjectEventPic_GrepaBerryTree, 2, 4, 3),
    overworld_frame(gObjectEventPic_GrepaBerryTree, 2, 4, 4),
    overworld_frame(gObjectEventPic_GrepaBerryTree, 2, 4, 5),
};

const u8 gBerryTreePaletteSlotTable_Grepa[] = {3, 4, 3, 3, 3};

const struct SpriteFrameImage gObjectEventPicTable_RabutaBerryTree[] = {
    overworld_frame(gObjectEventPic_BerryTreeDirtPile, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 1),
    overworld_frame(gObjectEventPic_RabutaBerryTree, 2, 4, 0),
    overworld_frame(gObjectEventPic_RabutaBerryTree, 2, 4, 1),
    overworld_frame(gObjectEventPic_RabutaBerryTree, 2, 4, 2),
    overworld_frame(gObjectEventPic_RabutaBerryTree, 2, 4, 3),
    overworld_frame(gObjectEventPic_RabutaBerryTree, 2, 4, 4),
    overworld_frame(gObjectEventPic_RabutaBerryTree, 2, 4, 5),
};

const u8 gBerryTreePaletteSlotTable_Rabuta[] = {3, 4, 4, 4, 4};

const struct SpriteFrameImage gObjectEventPicTable_NomelBerryTree[] = {
    overworld_frame(gObjectEventPic_BerryTreeDirtPile, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 1),
    overworld_frame(gObjectEventPic_NomelBerryTree, 2, 4, 0),
    overworld_frame(gObjectEventPic_NomelBerryTree, 2, 4, 1),
    overworld_frame(gObjectEventPic_NomelBerryTree, 2, 4, 2),
    overworld_frame(gObjectEventPic_NomelBerryTree, 2, 4, 3),
    overworld_frame(gObjectEventPic_NomelBerryTree, 2, 4, 4),
    overworld_frame(gObjectEventPic_NomelBerryTree, 2, 4, 5),
};

const u8 gBerryTreePaletteSlotTable_Nomel[] = {3, 4, 3, 3, 3};

const struct SpriteFrameImage gObjectEventPicTable_LeppaBerryTree[] = {
    overworld_frame(gObjectEventPic_BerryTreeDirtPile, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 1),
    overworld_frame(gObjectEventPic_LeppaBerryTree, 2, 4, 0),
    overworld_frame(gObjectEventPic_LeppaBerryTree, 2, 4, 1),
    overworld_frame(gObjectEventPic_LeppaBerryTree, 2, 4, 2),
    overworld_frame(gObjectEventPic_LeppaBerryTree, 2, 4, 3),
    overworld_frame(gObjectEventPic_LeppaBerryTree, 2, 4, 4),
    overworld_frame(gObjectEventPic_LeppaBerryTree, 2, 4, 5),
};

const u8 gBerryTreePaletteSlotTable_Leppa[] = {3, 4, 3, 3, 3};

const struct SpriteFrameImage gObjectEventPicTable_LiechiBerryTree[] = {
    overworld_frame(gObjectEventPic_BerryTreeDirtPile, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 1),
    overworld_frame(gObjectEventPic_LiechiBerryTree, 2, 4, 0),
    overworld_frame(gObjectEventPic_LiechiBerryTree, 2, 4, 1),
    overworld_frame(gObjectEventPic_LiechiBerryTree, 2, 4, 2),
    overworld_frame(gObjectEventPic_LiechiBerryTree, 2, 4, 3),
    overworld_frame(gObjectEventPic_LiechiBerryTree, 2, 4, 4),
    overworld_frame(gObjectEventPic_LiechiBerryTree, 2, 4, 5),
};

const u8 gBerryTreePaletteSlotTable_Liechi[] = {3, 4, 4, 4, 4};

const struct SpriteFrameImage gObjectEventPicTable_HondewBerryTree[] = {
    overworld_frame(gObjectEventPic_BerryTreeDirtPile, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 1),
    overworld_frame(gObjectEventPic_HondewBerryTree, 2, 4, 0),
    overworld_frame(gObjectEventPic_HondewBerryTree, 2, 4, 1),
    overworld_frame(gObjectEventPic_HondewBerryTree, 2, 4, 2),
    overworld_frame(gObjectEventPic_HondewBerryTree, 2, 4, 3),
    overworld_frame(gObjectEventPic_HondewBerryTree, 2, 4, 4),
    overworld_frame(gObjectEventPic_HondewBerryTree, 2, 4, 5),
};

const u8 gBerryTreePaletteSlotTable_Hondew[] = {3, 4, 5, 5, 5};

const struct SpriteFrameImage gObjectEventPicTable_AguavBerryTree[] = {
    overworld_frame(gObjectEventPic_BerryTreeDirtPile, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 1),
    overworld_frame(gObjectEventPic_AguavBerryTree, 2, 4, 0),
    overworld_frame(gObjectEventPic_AguavBerryTree, 2, 4, 1),
    overworld_frame(gObjectEventPic_AguavBerryTree, 2, 4, 2),
    overworld_frame(gObjectEventPic_AguavBerryTree, 2, 4, 3),
    overworld_frame(gObjectEventPic_AguavBerryTree, 2, 4, 4),
    overworld_frame(gObjectEventPic_AguavBerryTree, 2, 4, 5),
};

const u8 gBerryTreePaletteSlotTable_Aguav[] = {3, 4, 4, 4, 4};

const struct SpriteFrameImage gObjectEventPicTable_WikiBerryTree[] = {
    overworld_frame(gObjectEventPic_BerryTreeDirtPile, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 1),
    overworld_frame(gObjectEventPic_WikiBerryTree, 2, 4, 0),
    overworld_frame(gObjectEventPic_WikiBerryTree, 2, 4, 1),
    overworld_frame(gObjectEventPic_WikiBerryTree, 2, 4, 2),
    overworld_frame(gObjectEventPic_WikiBerryTree, 2, 4, 3),
    overworld_frame(gObjectEventPic_WikiBerryTree, 2, 4, 4),
    overworld_frame(gObjectEventPic_WikiBerryTree, 2, 4, 5),
};

const u8 gBerryTreePaletteSlotTable_Wiki[] = {3, 4, 3, 3, 3};

const struct SpriteFrameImage gObjectEventPicTable_PomegBerryTree[] = {
    overworld_frame(gObjectEventPic_BerryTreeDirtPile, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 1),
    overworld_frame(gObjectEventPic_PomegBerryTree, 2, 4, 0),
    overworld_frame(gObjectEventPic_PomegBerryTree, 2, 4, 1),
    overworld_frame(gObjectEventPic_PomegBerryTree, 2, 4, 2),
    overworld_frame(gObjectEventPic_PomegBerryTree, 2, 4, 3),
    overworld_frame(gObjectEventPic_PomegBerryTree, 2, 4, 4),
    overworld_frame(gObjectEventPic_PomegBerryTree, 2, 4, 5),
};

const u8 gBerryTreePaletteSlotTable_Pomeg[] = {3, 4, 3, 3, 3};

const struct SpriteFrameImage gObjectEventPicTable_RawstBerryTree[] = {
    overworld_frame(gObjectEventPic_BerryTreeDirtPile, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 1),
    overworld_frame(gObjectEventPic_RawstBerryTree, 2, 4, 0),
    overworld_frame(gObjectEventPic_RawstBerryTree, 2, 4, 1),
    overworld_frame(gObjectEventPic_RawstBerryTree, 2, 4, 2),
    overworld_frame(gObjectEventPic_RawstBerryTree, 2, 4, 3),
    overworld_frame(gObjectEventPic_RawstBerryTree, 2, 4, 4),
    overworld_frame(gObjectEventPic_RawstBerryTree, 2, 4, 5),
};

const u8 gBerryTreePaletteSlotTable_Rawst[] = {3, 4, 4, 4, 4};

const struct SpriteFrameImage gObjectEventPicTable_SpelonBerryTree[] = {
    overworld_frame(gObjectEventPic_BerryTreeDirtPile, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 1),
    overworld_frame(gObjectEventPic_SpelonBerryTree, 2, 4, 0),
    overworld_frame(gObjectEventPic_SpelonBerryTree, 2, 4, 1),
    overworld_frame(gObjectEventPic_SpelonBerryTree, 2, 4, 2),
    overworld_frame(gObjectEventPic_SpelonBerryTree, 2, 4, 3),
    overworld_frame(gObjectEventPic_SpelonBerryTree, 2, 4, 4),
    overworld_frame(gObjectEventPic_SpelonBerryTree, 2, 4, 5),
};

const u8 gBerryTreePaletteSlotTable_Spelon[] = {3, 4, 3, 3, 3};

const struct SpriteFrameImage gObjectEventPicTable_ChestoBerryTree[] = {
    overworld_frame(gObjectEventPic_BerryTreeDirtPile, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 1),
    overworld_frame(gObjectEventPic_ChestoBerryTree, 2, 4, 0),
    overworld_frame(gObjectEventPic_ChestoBerryTree, 2, 4, 1),
    overworld_frame(gObjectEventPic_ChestoBerryTree, 2, 4, 2),
    overworld_frame(gObjectEventPic_ChestoBerryTree, 2, 4, 3),
    overworld_frame(gObjectEventPic_ChestoBerryTree, 2, 4, 4),
    overworld_frame(gObjectEventPic_ChestoBerryTree, 2, 4, 5),
};

const u8 gBerryTreePaletteSlotTable_Chesto[] = {3, 4, 2, 2, 2};

const struct SpriteFrameImage gObjectEventPicTable_OranBerryTree[] = {
    overworld_frame(gObjectEventPic_BerryTreeDirtPile, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 1),
    overworld_frame(gObjectEventPic_OranBerryTree, 2, 4, 0),
    overworld_frame(gObjectEventPic_OranBerryTree, 2, 4, 1),
    overworld_frame(gObjectEventPic_OranBerryTree, 2, 4, 2),
    overworld_frame(gObjectEventPic_OranBerryTree, 2, 4, 3),
    overworld_frame(gObjectEventPic_OranBerryTree, 2, 4, 4),
    overworld_frame(gObjectEventPic_OranBerryTree, 2, 4, 5),
};

const u8 gBerryTreePaletteSlotTable_Oran[] = {3, 4, 2, 2, 2};

const struct SpriteFrameImage gObjectEventPicTable_PersimBerryTree[] = {
    overworld_frame(gObjectEventPic_BerryTreeDirtPile, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 1),
    overworld_frame(gObjectEventPic_PersimBerryTree, 2, 4, 0),
    overworld_frame(gObjectEventPic_PersimBerryTree, 2, 4, 1),
    overworld_frame(gObjectEventPic_PersimBerryTree, 2, 4, 2),
    overworld_frame(gObjectEventPic_PersimBerryTree, 2, 4, 3),
    overworld_frame(gObjectEventPic_PersimBerryTree, 2, 4, 4),
    overworld_frame(gObjectEventPic_PersimBerryTree, 2, 4, 5),
};

const u8 gBerryTreePaletteSlotTable_Persim[] = {3, 4, 2, 2, 2};

const struct SpriteFrameImage gObjectEventPicTable_SitrusBerryTree[] = {
    overworld_frame(gObjectEventPic_BerryTreeDirtPile, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 1),
    overworld_frame(gObjectEventPic_SitrusBerryTree, 2, 4, 0),
    overworld_frame(gObjectEventPic_SitrusBerryTree, 2, 4, 1),
    overworld_frame(gObjectEventPic_SitrusBerryTree, 2, 4, 2),
    overworld_frame(gObjectEventPic_SitrusBerryTree, 2, 4, 3),
    overworld_frame(gObjectEventPic_SitrusBerryTree, 2, 4, 4),
    overworld_frame(gObjectEventPic_SitrusBerryTree, 2, 4, 5),
};

const u8 gBerryTreePaletteSlotTable_Sitrus[] = {3, 4, 4, 4, 4};

const struct SpriteFrameImage gObjectEventPicTable_AspearBerryTree[] = {
    overworld_frame(gObjectEventPic_BerryTreeDirtPile, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 1),
    overworld_frame(gObjectEventPic_AspearBerryTree, 2, 4, 0),
    overworld_frame(gObjectEventPic_AspearBerryTree, 2, 4, 1),
    overworld_frame(gObjectEventPic_AspearBerryTree, 2, 4, 2),
    overworld_frame(gObjectEventPic_AspearBerryTree, 2, 4, 3),
    overworld_frame(gObjectEventPic_AspearBerryTree, 2, 4, 4),
    overworld_frame(gObjectEventPic_AspearBerryTree, 2, 4, 5),
};

const u8 gBerryTreePaletteSlotTable_Aspear[] = {3, 4, 3, 3, 3};

const struct SpriteFrameImage gObjectEventPicTable_PamtreBerryTree[] = {
    overworld_frame(gObjectEventPic_BerryTreeDirtPile, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 1),
    overworld_frame(gObjectEventPic_PamtreBerryTree, 2, 4, 0),
    overworld_frame(gObjectEventPic_PamtreBerryTree, 2, 4, 1),
    overworld_frame(gObjectEventPic_PamtreBerryTree, 2, 4, 2),
    overworld_frame(gObjectEventPic_PamtreBerryTree, 2, 4, 3),
    overworld_frame(gObjectEventPic_PamtreBerryTree, 2, 4, 4),
    overworld_frame(gObjectEventPic_PamtreBerryTree, 2, 4, 5),
};

const u8 gBerryTreePaletteSlotTable_Pamtre[] = {3, 4, 2, 2, 2};

const struct SpriteFrameImage gObjectEventPicTable_CornnBerryTree[] = {
    overworld_frame(gObjectEventPic_BerryTreeDirtPile, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 1),
    overworld_frame(gObjectEventPic_CornnBerryTree, 2, 4, 0),
    overworld_frame(gObjectEventPic_CornnBerryTree, 2, 4, 1),
    overworld_frame(gObjectEventPic_CornnBerryTree, 2, 4, 2),
    overworld_frame(gObjectEventPic_CornnBerryTree, 2, 4, 3),
    overworld_frame(gObjectEventPic_CornnBerryTree, 2, 4, 4),
    overworld_frame(gObjectEventPic_CornnBerryTree, 2, 4, 5),
};

const u8 gBerryTreePaletteSlotTable_Cornn[] = {3, 4, 2, 2, 2};

const struct SpriteFrameImage gObjectEventPicTable_LansatBerryTree[] = {
    overworld_frame(gObjectEventPic_BerryTreeDirtPile, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 1),
    overworld_frame(gObjectEventPic_LansatBerryTree, 2, 4, 0),
    overworld_frame(gObjectEventPic_LansatBerryTree, 2, 4, 1),
    overworld_frame(gObjectEventPic_LansatBerryTree, 2, 4, 2),
    overworld_frame(gObjectEventPic_LansatBerryTree, 2, 4, 3),
    overworld_frame(gObjectEventPic_LansatBerryTree, 2, 4, 4),
    overworld_frame(gObjectEventPic_LansatBerryTree, 2, 4, 5),
};

const u8 gBerryTreePaletteSlotTable_Lansat[] = {3, 4, 2, 2, 2};

const struct SpriteFrameImage gObjectEventPicTable_DurinBerryTree[] = {
    overworld_frame(gObjectEventPic_BerryTreeDirtPile, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 1),
    overworld_frame(gObjectEventPic_DurinBerryTree, 2, 4, 0),
    overworld_frame(gObjectEventPic_DurinBerryTree, 2, 4, 1),
    overworld_frame(gObjectEventPic_DurinBerryTree, 2, 4, 2),
    overworld_frame(gObjectEventPic_DurinBerryTree, 2, 4, 3),
    overworld_frame(gObjectEventPic_DurinBerryTree, 2, 4, 4),
    overworld_frame(gObjectEventPic_DurinBerryTree, 2, 4, 5),
};

const u8 gBerryTreePaletteSlotTable_Durin[] = {3, 4, 4, 4, 4};

const struct SpriteFrameImage gObjectEventPicTable_TamatoBerryTree[] = {
    overworld_frame(gObjectEventPic_BerryTreeDirtPile, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 0),
    overworld_frame(gObjectEventPic_BerryTreeSprout, 2, 2, 1),
    overworld_frame(gObjectEventPic_TamatoBerryTree, 2, 4, 0),
    overworld_frame(gObjectEventPic_TamatoBerryTree, 2, 4, 1),
    overworld_frame(gObjectEventPic_TamatoBerryTree, 2, 4, 2),
    overworld_frame(gObjectEventPic_TamatoBerryTree, 2, 4, 3),
    overworld_frame(gObjectEventPic_TamatoBerryTree, 2, 4, 4),
    overworld_frame(gObjectEventPic_TamatoBerryTree, 2, 4, 5),
};

const u8 gBerryTreePaletteSlotTable_Tamato[] = {3, 4, 2, 2, 2};

const u8 gDeadBerryTreeObjectEventGraphicsIdTable[] = {OBJ_EVENT_GFX_BERRY_TREE_EARLY_STAGES, OBJ_EVENT_GFX_BERRY_TREE_EARLY_STAGES, OBJ_EVENT_GFX_BERRY_TREE_EARLY_STAGES, OBJ_EVENT_GFX_BERRY_TREE_EARLY_STAGES, OBJ_EVENT_GFX_BERRY_TREE_EARLY_STAGES};

const u8 gBerryTreeObjectEventGraphicsIdTable[] = {OBJ_EVENT_GFX_BERRY_TREE_EARLY_STAGES, OBJ_EVENT_GFX_BERRY_TREE_EARLY_STAGES, OBJ_EVENT_GFX_BERRY_TREE_LATE_STAGES, OBJ_EVENT_GFX_BERRY_TREE_LATE_STAGES, OBJ_EVENT_GFX_BERRY_TREE_LATE_STAGES};

const struct SpriteFrameImage *const gBerryTreePicTablePointers[] = {
    [ITEM_CHERI_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_CheriBerryTree,
    [ITEM_CHESTO_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_ChestoBerryTree,
    [ITEM_PECHA_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_PechaBerryTree,
    [ITEM_RAWST_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_RawstBerryTree,
    [ITEM_ASPEAR_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_AspearBerryTree,
    [ITEM_LEPPA_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_LeppaBerryTree,
    [ITEM_ORAN_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_OranBerryTree,
    [ITEM_PERSIM_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_PersimBerryTree,
    [ITEM_LUM_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_LumBerryTree,
    [ITEM_SITRUS_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_SitrusBerryTree,
    [ITEM_FIGY_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_FigyBerryTree,
    [ITEM_WIKI_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_WikiBerryTree,
    [ITEM_MAGO_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_MagoBerryTree,
    [ITEM_AGUAV_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_AguavBerryTree,
    [ITEM_IAPAPA_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_IapapaBerryTree,
    [ITEM_RAZZ_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_RazzBerryTree,
    [ITEM_BLUK_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_RazzBerryTree,
    [ITEM_NANAB_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_MagoBerryTree,
    [ITEM_WEPEAR_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_WepearBerryTree,
    [ITEM_PINAP_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_IapapaBerryTree,
    [ITEM_POMEG_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_PomegBerryTree,
    [ITEM_KELPSY_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_KelpsyBerryTree,
    [ITEM_QUALOT_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_WepearBerryTree,
    [ITEM_HONDEW_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_HondewBerryTree,
    [ITEM_GREPA_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_GrepaBerryTree,
    [ITEM_TAMATO_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_TamatoBerryTree,
    [ITEM_CORNN_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_CornnBerryTree,
    [ITEM_MAGOST_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_PomegBerryTree,
    [ITEM_RABUTA_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_RabutaBerryTree,
    [ITEM_NOMEL_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_NomelBerryTree,
    [ITEM_SPELON_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_SpelonBerryTree,
    [ITEM_PAMTRE_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_PamtreBerryTree,
    [ITEM_WATMEL_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_RabutaBerryTree,
    [ITEM_DURIN_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_DurinBerryTree,
    [ITEM_BELUE_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_HondewBerryTree,
    [ITEM_LIECHI_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_LiechiBerryTree,
    [ITEM_GANLON_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_HondewBerryTree,
    [ITEM_SALAC_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_AguavBerryTree,
    [ITEM_PETAYA_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_PomegBerryTree,
    [ITEM_APICOT_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_GrepaBerryTree,
    [ITEM_LANSAT_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_LansatBerryTree,
    [ITEM_STARF_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_CornnBerryTree,
    [ITEM_ENIGMA_BERRY - FIRST_BERRY_INDEX] = gObjectEventPicTable_DurinBerryTree,
};

const u8 *const gBerryTreePaletteSlotTablePointers[] = {
    [ITEM_CHERI_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Cheri,
    [ITEM_CHESTO_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Chesto,
    [ITEM_PECHA_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Pecha,
    [ITEM_RAWST_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Rawst,
    [ITEM_ASPEAR_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Aspear,
    [ITEM_LEPPA_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Leppa,
    [ITEM_ORAN_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Oran,
    [ITEM_PERSIM_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Persim,
    [ITEM_LUM_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Lum,
    [ITEM_SITRUS_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Sitrus,
    [ITEM_FIGY_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Figy,
    [ITEM_WIKI_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Wiki,
    [ITEM_MAGO_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Mago,
    [ITEM_AGUAV_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Aguav,
    [ITEM_IAPAPA_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Iapapa,
    [ITEM_RAZZ_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Razz,
    [ITEM_BLUK_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Razz,
    [ITEM_NANAB_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Mago,
    [ITEM_WEPEAR_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Wepear,
    [ITEM_PINAP_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Iapapa,
    [ITEM_POMEG_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Pomeg,
    [ITEM_KELPSY_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Kelpsy,
    [ITEM_QUALOT_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Wepear,
    [ITEM_HONDEW_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Hondew,
    [ITEM_GREPA_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Grepa,
    [ITEM_TAMATO_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Tamato,
    [ITEM_CORNN_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Cornn,
    [ITEM_MAGOST_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Pomeg,
    [ITEM_RABUTA_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Rabuta,
    [ITEM_NOMEL_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Nomel,
    [ITEM_SPELON_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Spelon,
    [ITEM_PAMTRE_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Pamtre,
    [ITEM_WATMEL_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Rabuta,
    [ITEM_DURIN_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Durin,
    [ITEM_BELUE_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Hondew,
    [ITEM_LIECHI_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Liechi,
    [ITEM_GANLON_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Hondew,
    [ITEM_SALAC_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Aguav,
    [ITEM_PETAYA_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Pomeg,
    [ITEM_APICOT_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Grepa,
    [ITEM_LANSAT_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Lansat,
    [ITEM_STARF_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Cornn,
    [ITEM_ENIGMA_BERRY - FIRST_BERRY_INDEX] = gBerryTreePaletteSlotTable_Durin,
};

const u8 *const gBerryTreeObjectEventGraphicsIdTablePointers[] = {
    [ITEM_CHERI_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_CHESTO_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_PECHA_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_RAWST_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_ASPEAR_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_LEPPA_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_ORAN_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_PERSIM_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_LUM_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_SITRUS_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_FIGY_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_WIKI_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_MAGO_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_AGUAV_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_IAPAPA_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_RAZZ_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_BLUK_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_NANAB_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_WEPEAR_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_PINAP_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_POMEG_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_KELPSY_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_QUALOT_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_HONDEW_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_GREPA_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_TAMATO_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_CORNN_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_MAGOST_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_RABUTA_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_NOMEL_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_SPELON_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_PAMTRE_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_WATMEL_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_DURIN_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_BELUE_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_LIECHI_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_GANLON_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_SALAC_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_PETAYA_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_APICOT_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_LANSAT_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_STARF_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_ENIGMA_BERRY - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    // 3 unused berries.
    [ITEM_0B0 - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_0B1 - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
    [ITEM_0B2 - FIRST_BERRY_INDEX] = gBerryTreeObjectEventGraphicsIdTable,
};
