Basic fixes to badge number function

Adds back in the ability to handle multiple badge assignments at once
and asserts SHIFT_CUSTOM_BADGES inside the shift_badges function.