Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.
Tried adding this but could not find static const u16 sBadgeFlags[8] = in src/battle_script_commands.c
Edit: I was told its in battle_setup.c now, are you sure this is still updated?