Started library_workaround functions for Pokehack bitfields