They're separate bytes; just ignore the language portion.
0x12 = language
0x13 = flags
Example of an unmodified wild Dratini:
02 is for 'FlagHasSpecies', which is true, the data does contain a species.
This is essentially the equivalent of 'sanity' data for future games, as the data is outside of the encrypted&shuffled region, allowing for quick checking if the slot has data or not.