mirror of
https://github.com/pret/pokeemerald.git
synced 2026-09-09 11:36:32 -05:00
Prevent unused variable error with Gen3 Shedinja config. (#3720)
This commit is contained in:
@@ -542,7 +542,9 @@ static void CB2_TradeEvolutionSceneUpdate(void)
|
||||
static void CreateShedinja(u16 preEvoSpecies, struct Pokemon *mon)
|
||||
{
|
||||
u32 data = 0;
|
||||
u16 ball = ITEM_POKE_BALL;
|
||||
#if P_SHEDINJA_BALL >= GEN_4
|
||||
u16 ball = ITEM_POKE_BALL;
|
||||
#endif
|
||||
const struct Evolution *evolutions = GetSpeciesEvolutions(preEvoSpecies);
|
||||
|
||||
if (evolutions == NULL)
|
||||
|
||||
Reference in New Issue
Block a user