Fix a typo in the Berry Exp. config setup. (#4028)

This commit is contained in:
Zimmermann Gyula 2024-01-19 23:58:58 +01:00 committed by GitHub
parent 6857497f60
commit 58102e6fe8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,7 +39,7 @@ static void AddTreeBonus(struct BerryTree *tree, u8 bonus);
#error "OW_BERRY_GROWTH_RATE must be between GEN_3 and GEN_7!"
#endif
#if OW_BERRY_YIELD_RATE < GEN_3 || (OW_BERRY_YIELD_RATE > GEN_6 && OW_BERRY_GROWTH_RATE != GEN_6_ORAS)
#if OW_BERRY_YIELD_RATE < GEN_3 || (OW_BERRY_YIELD_RATE > GEN_6 && OW_BERRY_YIELD_RATE != GEN_6_ORAS)
#error "OW_BERRY_YIELD_RATE must be between GEN_3 and GEN_6!"
#elif OW_BERRY_YIELD_RATE == GEN_5
#error "OW_BERRY_YIELD_RATE can not be GEN_5!"