diff --git a/src/script_pokemon_util.c b/src/script_pokemon_util.c index 86eed19143..9916181733 100644 --- a/src/script_pokemon_util.c +++ b/src/script_pokemon_util.c @@ -368,7 +368,7 @@ u32 ScriptGiveMonParameterized(u16 species, u8 level, u16 item, u8 ball, u8 natu SetMonData(&mon, MON_DATA_ABILITY_NUM, &abilityNum); // ball - if (ball >= POKEBALL_COUNT) + if (ball > LAST_BALL) ball = ITEM_POKE_BALL; SetMonData(&mon, MON_DATA_POKEBALL, &ball);